Commit Graph

10122 Commits

Author SHA1 Message Date
Shu-yu Guo
d7c1565c57 Bug 584264 - Whitespace cleanup for narcissus and small fix for parser. r=pwalton 2010-08-04 12:07:41 -07:00
Ginn Chen
41d11b7d84 Bug 584219 Sun Studio doesn't support __attribute__ packed for enum r=lw 2010-08-04 19:40:39 +08:00
Luke Wagner
c650a3d7e3 Bug 584168 - consider canonicalizing nans passed to the JSAPI (r=brendan) 2010-08-04 04:13:19 -07:00
Luke Wagner
70799ce02c Bug 584158 - ensure that typed arrays cannot produce non-canonical nans (r=gal) 2010-08-03 22:06:44 -07:00
Tom Austin
7aea5118ff Bug 584265 - Fix Narcissus error message format. r=gal. 2010-08-03 21:14:49 -07:00
Nicholas Nethercote
787502bbde Update nanojit-import-rev stamp. 2010-08-03 20:48:34 -07:00
Andreas Gal
00c966f8e3 Bug 580534 - implement LIR_cmovd. r=nnethercote.
--HG--
extra : convert_revision : 186f3f376d662375ff9182cf0b470468335ef442
2010-08-03 20:39:21 -07:00
William Maddox
356836d1b5 Bug 570276 - Fix code generation for address load on SPARC (r=leon.sha+)
Special case code for LEA formerly fell through to the general case,
resulting in generation of redundant "junk" code.

--HG--
extra : convert_revision : 639cf2aa65734e43194b8b62f4c95f462c918cf0
2010-07-29 19:10:27 -07:00
Nicholas Nethercote
bdd9c63662 Bug 582191 - nanojit: fix formatImm[IQ] bogons. r=edwsmith.
--HG--
extra : convert_revision : ce704edcab9d092627ad29e60efc0991ee2682e0
2010-07-28 17:06:14 -07:00
Edwin Smith
06143a5acb Fixed initialization of Assembler::nHints (bug 581702, r=nnethercote+)
--HG--
extra : convert_revision : d8dccd548db136e88ea1a8be0627088b6a78cc78
2010-07-28 11:24:25 -04:00
Jacek Caban
f504194cd6 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith
--HG--
extra : convert_revision : 85b2cf98c09be7ba490c85f2ffcf8dd38cfa4929
2010-07-28 13:44:01 +02:00
Jacek Caban
ea42f28b0d Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
--HG--
extra : convert_revision : bb90a35c6382aeb519a789e1f018d52000a4d6fe
2010-07-28 13:40:37 +02:00
Tom Austin
e4536e1112 Refactored Narcissus to use the module pattern (bug 583913, r=pwalton) 2010-08-03 17:15:02 -07:00
Neil
5846822884 Bug 581909 - Don't pass -safeseh to ml64 because the behaviour is buggy. r=dwitte 2010-08-03 14:05:54 -07:00
Eli Friedman
dc13880547 Bug 579686 - StringToInteger not declared before first use in CTypes.cpp. r=dwitte, a=blocking 2010-08-03 14:01:47 -07:00
Jeff Walden
7b1b9cb9db Fix trace-test bustage from bug 583925. r=smokeythebear 2010-08-03 08:26:20 -07:00
Jim Blandy
0201054fcc Bug 583925: parseInt should not depend on its caller's strictness. r=waldo 2010-08-02 18:04:29 -07:00
Dave Herman
f5415ad358 bug 582999, r=gal: putstr function for JS shell 2010-08-02 15:02:15 -07:00
Jeff Walden
b22a1c4599 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
a38463c8a4 Bug 577536 - parseInt() uses radix 8 if the string starts with '0' but not 0x or 0X, and the digit string should be stringified before the radix is integerized. r=jorendorff 2010-07-23 02:29:44 -05:00
Jason Orendorff
7947f2514c Make CheckScopeChainValidity local to jsobj.cpp. No bug#, rs=gal on IRC. 2010-07-29 16:25:06 -05:00
Jason Orendorff
90eb236531 jsapi-tests: Remove unnecessary #include that causes warnings on MSVC. no_r=me.
--HG--
extra : rebase_source : 687fcbb5901d4484750665189afeec284db759f0
2010-07-29 15:55:22 -05:00
Chris Leary
de4f1f12a2 Fix trace-test.py to work on symlinks. (r=self). 2010-07-29 11:02:54 -07:00
David Zbarsky
f1c4604ccc Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
91c644282f Remove unneeded nsIDOMNSHTMLOptionElement interface by merging it into nsIDOMHTMLOptionElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Benjamin Smedberg
ced3d9c3f2 Revert bug 578478 because of issues in parallel builds (generating the yacc/lex tables), and because of a conflict with fatvals 2010-08-09 15:22:40 -04:00
Benjamin Smedberg
ad169ffd0f Bug 578478 part B - Create and use dependencies from the python IDL parser, r=khuey 2010-08-09 14:38:44 -04:00
Benjamin Smedberg
afbda24a70 Bug 578478 - Make header.py process the following new attributes: deprecated, optional_argc, implicit_jscontext, r=jorendorff 2010-08-09 14:38:44 -04:00
Mark Banner
acb2967879 Bug 585628 Shared builds broken building xpcshell by bug 579178 - manifest enumeration changes - link xpcshell against libxul as well. r+a=bsmedberg 2010-08-09 19:34:41 +01:00
Benjamin Smedberg
ccb16680db Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted 2010-08-09 10:04:10 -04:00
Benjamin Smedberg
c622433f07 Merge mozilla-central into single-chrome-manifest. 2010-08-04 14:23:04 -04:00
Robert Sayre
dec08d2ceb Merge tracemonkey to mozilla-central. (CLOSED TREE) 2010-08-04 00:47:26 -07:00
Alan Pierce
0c38ca9fee Fix alignment issue causing Bug 583779 - 8/2 Android Nightly Build does not open on start-up. r=vlad (CLOSED TREE) 2010-08-03 20:31:48 -07:00
Benjamin Smedberg
df60ea581b Bug 579178 part C - Allow xpcshell to register additional manifests from the command line, and use this to load httpd.manifest in the xpcshell test harness, r=jwalden 2010-07-22 10:42:43 -04:00
Benjamin Smedberg
1815abc007 Bug 579718 part B - packaging and build changes to ship a single chrome.manifest from which other manifests are read. r=khuey See long-form commit details below:
In a nonpackaged build, we have the following manifests:
* chrome.manifest is just a series of manifest directives for all the other manifests, generated in rules.mk using buildlist.py
** components/interfaces.manifest is also generated in rules.mk using buildlist.py
** components/components.manifest contains only the *binary* components. JS components each have their own manifest which is installed to dist/bin/components
** Each chrome/jarfile.jar has a matching chrome/jarfile.manifest, and JarMaker.py inserts this filename into the root chrome.manifest by importing buildlist.py

In a packaged build, we end up with the following manifests:

* chrome.manifest lists the four manifests below
** components/interfaces.manifest
** components/components.manifest
** chrome/nonlocalized.manifest
** chrome/localized.manifest

In the future it should be possible to integrate the three non-localized manifests directly into the root chrome.manifest for increased performance, but this is slightly tricky because it involves rewriting some manifest instructions which may include relative JAR URIs. That is left for a future followup.

When we repackage a l10n build, we only have to replace chrome/localized.manifest.
2010-07-22 10:38:59 -04:00
Johnny Stenback
19253e0ece Disable tests on 64-bit systems where they don't behave. r=bclary@bclary.com 2010-07-21 01:34:14 -07:00
Bob Clary
d7a8bf3550 Fixing orange caused by fix for bug 572190. r=jst 2010-07-21 00:22:52 -07:00
Johnny Stenback
0615a5aa7c Fixing at least part of bug 572190. Make JS stack size a factor of size_t so that roughly as much fits on the stack whether we're on a 32 or 64 bit system. r=mrbkap@gmail.com 2010-06-29 18:25:56 -07:00
Rail Aliev
18907551f2 Bug 580010, bump versions to Fx4.0b3pre/Gecko 2.0b3pre, r=nthomas (CLOSED TREE) 2010-07-21 12:49:22 +12:00
Benjamin Smedberg
b16a03ab95 Back out bug 578751 to help solve bug 580360 (all dynamic components fail to load). The patch was not properly reviewed to begin with :-( 2010-07-20 17:52:27 -04:00
Benjamin Smedberg
736a902d51 Backed out changeset 0c116ba35956 2010-07-20 17:49:10 -04:00
Mitchell Field
fc426c6d37 Clean up configure.in a bit. r=khuey 2010-07-20 15:43:54 +10:00
Ted Mielczarek
337fe01582 Bug 578751: Use @loader_path instead of @executable_path on Mac OS X. Committing as a bustage fix, still needs review. 2010-07-20 01:41:22 -04:00
Blake Kaplan
2f0d8f1b3a Bug 582100 - Only enumerate exposed properties. r=gal
--HG--
extra : rebase_source : 462b9167d01a699ae67effae1c1a710a8f7bece1
2010-08-02 18:45:19 -07:00
Dan Witte
552a61eec8 Bug 583846 - ctypes assertion when using readString() on zero-length arrays. r=jorendorff, a=dolske 2010-08-02 13:48:24 -07:00
Kyle Huey
2dd5c7a553 Fix TestWindowsDND bustage (fallout from fakelibs)
--HG--
extra : rebase_source : e64dd9e1ad4e60ad2a1fe8968c309b13726760bd
2010-08-02 00:08:38 -07:00
Robert O'Callahan
b88214cae4 Backed out changeset edd01aafe372 2010-08-02 15:20:05 +12:00
David Zbarsky
ae961dd518 Bug 582303. Move nsIDOMNSHTMLImageElement into nsIDOMHTMLImageElement. r=jst 2010-08-02 15:07:06 +12:00
Ginn Chen
f57e198f42 Bug 580590 js/src/xpconnect/wrappers failed to compile with Sun Studio r=bsmedberg a=NPOTB 2010-08-06 15:04:09 +08:00
Craig Topper
8972b3e08e Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
L. David Baron
cdb8da9eca Make nsIDOMSVGCSS2Properties use the specialized shorter quickstubs. (Bug 584301) r=bzbarsky 2010-08-05 21:59:18 -07:00
Kyle Huey
4414156fcc Bustage fix on a CLOSED TREE. r=bz 2010-08-05 19:15:11 -07:00
Boris Zbarsky
ff911ada1d Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
Boris Zbarsky
04e7ae7395 Bug 584287. Speed up unwrapping for nsIDOMHTMLElement quickstubs. r=peterv 2010-08-05 17:59:35 -04:00
Robert Sayre
d05da4930e Bug 584252 - disallow non-standard extensions to float syntax (r=jorendorff) (CLOSED TREE) 2010-08-05 14:33:34 -07:00
Blake Kaplan
a79111f6e6 Bug 584551 - Do things that require entering a request on the old compartment before entering a request on the new one. r=igor a=blocking-beta3
--HG--
extra : rebase_source : 6480bb872de3268230813d2bddda27a4d552daba
2010-08-05 12:38:07 -07:00
Boris Zbarsky
ce8e88bc2b Bug 583839. Also skip the string buffer refcounting for traceable native quickstubs, not just fastnative ones. r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
de6582a359 Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
9f2162a376 Remove unneeded nsIDOMNSHTMLImageElement interface by merging it into nsIDOMHTMLImageElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
David Zbarsky
ad200f8dad Remove unneeded nsIDOMNSHTMLAnchorElement interface by merging it into nsIDOMHTMLAnchorElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
Zack Weinberg
4eb7f5f0e0 Bug 568863 follow-up: add reset() to the JavaScript API. r=waldo a2.0=sayrer 2010-08-04 17:22:26 -07:00
Kyle Huey
c5fc54ad89 Bug 518136: Use -showIncludes to generate dependencies for MSVC for a substantial build performance win. r=ted 2010-08-04 16:59:23 -07:00
Robert Sayre
377ebdefe1 Merge backout. 2010-08-04 13:45:02 -07:00
Robert Sayre
02b2a7ec6d Backed out changeset c6131ed87e9c. Jason Orendorff — Bug 583262 - Remove security checks on f.prototype.constructor property at last. r=mrbkap. Causing nightly topcrash. 2010-08-04 13:44:48 -07:00
Dave Herman
484e1a2751 bug 533874, r=jimb: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Igor Bukanov
2019c722fb bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Nicholas Nethercote
16044c576a Fix GCC warning. No bug, r=sayrer via IRC. 2010-07-28 17:48:52 -07:00
Dan Witte
593ae31d51 Bug 582521 - Fix xpconnect 'char' conversions in DEBUG builds. r=bz, a=sayrer 2010-07-28 12:10:27 -07:00
Andreas Gal
69df940a4e Back out bug 580803. 2010-07-28 11:20:19 -07:00
Gregor Wagner
c026160d8e Bug 582471 - TM: followup for Bug 579100 (r=igor) 2010-07-28 10:48:28 -07:00
Igor Bukanov
181c2cdf3a Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Igor Bukanov
a69fd0a49f bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Brendan Eich
6ae55f3819 Bug 582479 - TM: "Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction()." 2010-07-28 01:41:50 -07:00
Andreas Gal
988aed587b Don't read past capacity in js_IsDensePrimitiveArray (582451, r=brendan). 2010-07-27 22:43:49 -07:00
Nicholas Nethercote
9dfbe8877d Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3, TM-specific part). r=gal. 2010-07-27 22:33:42 -07:00
Nicholas Nethercote
fa8162041e Update nanojit-import-rev stamp. 2010-07-27 21:37:31 -07:00
Nicholas Nethercote
c591888546 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3). r=edwsmith.
--HG--
extra : convert_revision : 962916dc590fe3f55d15f00ac91b13e4ec4409a2
2010-07-27 21:28:02 -07:00
Alan Pierce
c34904d121 Bug 578171 - Keep a static table of all length-2 strings (r=lw) 2010-07-27 21:14:31 -07:00
Gregor Wagner
97974d7867 Bug 582424 - TM: JSRopeNodeIterator warning (r=apierce) 2010-07-27 18:39:47 -07:00
Jeff Walden
d81f0c30eb Back out b17c8b926585, seems to not work any more. :-\ 2010-07-27 18:23:30 -07:00
Jeff Walden
ffaaf06153 Followup patch for bug 581744 to remove uses of JSFUN_GETTER and JSFUN_SETTER from the tree, now that they've been removed. r=redness 2010-07-27 17:10:54 -07:00
Jeff Walden
561338434b Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
27898e866f Bug 581744 - Deprecate JSFUN_GETTER and JSFUN_SETTER; they never did much, and they're very nearly dead code already. r=brendan 2010-07-26 16:11:37 -07:00
Andreas Gal
d23600e449 Bug 582081 - Dense array patches regressed empty Array creation on Dromaeo. r=jwalden 2010-07-27 16:42:58 -07:00
Robert Sayre
3b1c4d70d7 Merge 2010-07-27 13:09:42 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Luke Wagner
4cb99f6493 Bug 582162 - assignment needs to ignore the setter's result (r=brendan) 2010-07-27 11:40:19 -07:00
Neil Rashbrook
ee7000c1b2 Bug 581903 Make --enable-xterm-updates work with PARALLEL_DIRS r=khuey 2010-07-27 12:44:21 +01:00
Takanori Matsuura
7d9279646c Bug 580175: Make --with-ccache more powerful. r=khuey 2010-07-26 12:31:52 -07:00
Ted Mielczarek
01a35302ce bug 542504 - SIMPLE_PROGRAMS (and CPP_UNIT_TESTS) don't get re-linked in a PGO build. r=mitch, a=mossop
--HG--
extra : rebase_source : b33997adcd4567057adf01d8d3e4ac857e4df502
2010-07-26 15:21:55 -04:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Neil Rashbrook
b573c81af3 Bug 581151 Make 'make chrome' work again (regression from bug 466492) r=khuey 2010-07-25 17:57:22 +01:00
Jacek Caban
ea46c1e1f9 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02:00
Jacek Caban
f6ed6f676b Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Luke Wagner
d6d1d9681f Merge 2010-07-26 22:20:09 -07:00
Luke Wagner
4d78015a11 Backed out changeset 89dc3a238da0 2010-07-26 22:19:04 -07:00
Luke Wagner
05a3a958d0 Move jsprvtd.h above jshashtable.h include in jscntxt.h to hopefully fix msvc bustage 2010-07-26 21:52:00 -07:00
Luke Wagner
d5094d4883 Bug 581875 - use js::HashSet in JSAtomState (r=igor) 2010-07-26 21:09:23 -07:00
Luke Wagner
3d018beb23 Bug 581784 - Update this in the tracker (r=gal) 2010-07-26 20:55:15 -07:00
Luke Wagner
aa7965a17e Bug 581769 - fix JS_ValueToId on xml object. remove spurious iterator assert (r=waldo)
--HG--
extra : rebase_source : e3485c5d7b586303a35d169cd2e51413f85c33c5
2010-07-26 17:05:17 -07:00
Jeff Walden
8dd21fe50e Bug 562448 - Function.prototype.apply should accept any arraylike arguments. r=brendan
--HG--
extra : rebase_source : 1c6fc72b2b6a30d18e15c30ff84fa529e70709b0
2010-07-16 14:53:37 -05:00
Jeff Walden
173c4d1adf Bug 531675 - Ignore the second argument of eval, except to warn once per JSScript (per function, or per global script for uses not in functions) that it's not supported. (Again.) r=mrbkap
--HG--
extra : rebase_source : 2a0b9670e7c2c90ab0c41d37e3ab99c3bbc4c819
2010-07-23 11:27:07 -05:00
Jason Orendorff
b1284554d5 Bug 566637 - TM: "this.a" reads from stale global object slots after global variable "a" changes value. r=gal.
--HG--
extra : rebase_source : 7f6cce244ea8cdf429e9467eef4f3feb31978d27
2010-07-26 18:19:23 -05:00
Andreas Gal
56d9d112e9 Use LIR_qasd for 64-bit unbox code (582076, r=luke). 2010-07-26 14:41:44 -07:00
Jason Orendorff
66e365186f Bug 581356 - Silence another MSVC warning. (dmandelin just checked in half of the patch in the bug.) r=Waldo. 2010-07-26 13:46:13 -05:00
David Mandelin
3125a566c7 No bug, fix MSVC warnings, no_r=me 2010-07-26 12:04:53 -07:00
Igor Bukanov
5a2d54d6b1 bug 552266 - followup to fix jslock.cpp to use cx->thread->requestContext, not cx->requestDepth, when claiming titles. 2010-07-26 21:02:10 +02:00
Igor Bukanov
248a67333b bug 579100 - various GC cleanups. r=anygregor 2010-07-26 20:44:04 +02:00
Chris Leary
4c5fd024ab Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
Nicholas Nethercote
be11c2f1c9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
a5a53b1d2e Update nanojit-import-rev stamp. 2010-07-25 23:47:10 -07:00
Nicholas Nethercote
da850ce005 Backout the last four patches for bug 552812 due to downstream Windows assertion failures on TM. Argh.
--HG--
extra : convert_revision : eb7dfecbdf2fd32d78673e10eb2289129966f6ce
2010-07-25 23:42:51 -07:00
Nicholas Nethercote
13a120823a Fix Win2003 bustage for bug 552812. 2010-07-25 22:29:20 -07:00
Nicholas Nethercote
73f4f96e19 Bustage fix for bug 552812. 2010-07-25 22:02:18 -07:00
Nicholas Nethercote
03a540e016 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Nicholas Nethercote
91f9fc9591 Update nanojit-import-rev stamp. 2010-07-25 21:17:28 -07:00
Nicholas Nethercote
dc9e1d9cf8 One more Windows fix, this time get it right, sigh.
--HG--
extra : convert_revision : a02f8611cec9efe5feb8d7ccb19f03b9b86e0b68
2010-07-25 19:58:45 -07:00
Nicholas Nethercote
ddd6c611f8 Fix more (unrelated) Windows breakage.
--HG--
extra : convert_revision : a9c4abf9041e1a0190c0f4788d0df7a242593601
2010-07-25 19:53:27 -07:00
Nicholas Nethercote
21a5ae4df8 Try to force MSVC to pack bit-fields properly, argh.
--HG--
extra : convert_revision : 09d69292e4ade9c77ce88f32e1840bd06071e2d6
2010-07-25 19:49:58 -07:00
Nicholas Nethercote
e82972a6ac Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 2). r=edwsmith.
--HG--
extra : convert_revision : 7e11df137a4d30bd8411cf3b35cb26a003188f86
2010-07-25 19:17:39 -07:00
Nicholas Nethercote
5272ac360b Backout last three patches for bug 552812 due to further Windows breakage, sigh.
--HG--
extra : convert_revision : 1909331461436f43dad16a22e502f332e7ad3488
2010-07-25 18:39:41 -07:00
Nicholas Nethercote
3013ab8162 Groan, fix syntax error.
--HG--
extra : convert_revision : 8dd52f216fd251c7ae0d250f64afdfade4892fbc
2010-07-25 18:32:15 -07:00
Nicholas Nethercote
c179be068c Fix Windows bustage from bug 552812.
--HG--
extra : convert_revision : bd1e180e8836da69c228bac3bb8e268020ccaba4
2010-07-25 18:27:49 -07:00
Nicholas Nethercote
208a727c1b Bug 552812 - nanojit: factor out AccSet differences into TM and TR. r=edwsmith.
--HG--
extra : convert_revision : 2d211c925ffabfc0a5dcc6ba9a6eaf02a32b47d4
2010-07-25 18:20:42 -07:00
Edwin Smith
0e52940a92 Fix Sparc bustage (just add unreachable return statement)
--HG--
extra : convert_revision : 27cc2c4bbcb9b103bed3c5803078f7d7ee58f599
2010-07-24 10:01:18 -04:00
Edwin Smith
e90975d4e7 Whitespace cleanup.
--HG--
extra : convert_revision : 1781d2187c43ed282a061efb7d945eafefed5ef9
2010-07-21 10:33:02 -04:00
Luke Wagner
618736ad26 Shark says some js::Vector ops were not being inlined. Fix. (no bug) 2010-07-25 17:17:44 -07:00
Alan Pierce
879d3e777d Bug 578205 - Keep string characters inline for small strings (r=gal) 2010-07-24 20:26:34 -07:00
Alan Pierce
e951ce56be Bug 578189 - Add the invariant that dependent strings must have a flat string as the base (r=gal) 2010-07-24 20:22:35 -07:00
Andreas Gal
3eefbea893 Move GC triggering into the runtime (580803 part 2, r=igor). 2010-07-24 15:30:33 -07:00
Makoto Kato
514a532f7b Bug 580904 - remove jsval_layout.debugView in msvc x64 (r=lw) 2010-07-24 09:10:31 -07:00
Luke Wagner
b4626a511d Bug 581574 - Remove JSVAL_IS_UNDERLYING_TYPE_OF_PRIVATE (r=mrbkap) 2010-07-23 17:20:12 -07:00
Luke Wagner
5f73207275 Remove js::Value default ctor (jsval doesn't have one) (no bug) 2010-07-23 17:16:00 -07:00
Andreas Gal
404cbee80f Don't lock the GC if its already locked (follow-up for 580803). 2010-07-23 20:02:13 -07:00
Paul Biggar
1504032238 Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Jeff Walden
aef4ed93a4 Followup to bug 465199: properly perform ToInteger rather than just ToNumber when determining lastIndex in RegExp.prototype.exec; could have sworn I did this already...
--HG--
extra : rebase_source : c63fa22c169751610bc09e7d2c91858ec9cd56b5
2010-07-23 18:30:34 -05:00
Andreas Gal
2588647cb3 Remove leftover use of js_NewArrayObjectWithCapacity (follow-up for bug 581264). 2010-07-23 16:05:36 -07:00
Andreas Gal
c9bde05bd6 Always allocate dslots for dense arrays (580877, r=njn). 2010-07-23 15:29:02 -07:00
Andreas Gal
a5591066f8 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Andreas Gal
d1c3d893c1 Trigger all operation callbacks from triggerGC (follow-up for 580803). 2010-07-23 15:21:13 -07:00
Andreas Gal
ff0430908b Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Igor Bukanov
6b8de5f2a8 bug 576596 - follow up to rename js_HasInstance into HasInstance
--HG--
extra : rebase_source : 2f4d4db7a849d3683a85f971e88855b1e72d8398
2010-07-23 23:56:16 +02:00
Jeff Walden
bb1681a89f Bug 580200 - Assertion failure, or duplicated enumeration, enumerating own properties of proxy returning duplicated property names. r=jorendorff
--HG--
extra : rebase_source : 19d4bf112e0dfdb5ed619f9d6e1f72b72a3e0801
2010-07-20 12:46:58 -05:00
Jeff Walden
496e7515a9 Bug 581067 - U+FEFF should be a WhiteSpace character (change in ES5 from ES3). r=cdleary
--HG--
extra : rebase_source : 38947caa8d4f21d0867137d0933495061a88d052
2010-07-22 22:28:33 -05:00
Jeff Walden
e009ebc027 Bug 465199 - RegExp.lastIndex setting shouldn't coerce to integer (should happen during internal use of the property instead). r=cdleary
--HG--
extra : rebase_source : d2f32831a11a4e88dbed927a9a17e96f2a9561b3
2010-07-12 15:40:44 -05:00
Brendan Eich
1813531fe8 Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -07:00
Brendan Eich
72e638d9ef arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Jason Orendorff
cdfa6b4210 Fix debug non-threadsafe builds. rs=brendan. 2010-07-23 11:32:50 -05:00
Jacek Caban
f55478a89b Bug 578340 - Sync jschar and PRUnichar on Windows r=jorendorff 2010-07-23 17:03:43 +02:00
Igor Bukanov
6eb0fa7807 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
Igor Bukanov
8e449d33fb bug 580458 - trigger operation callback once per thread, not once per cx. r=gal,mrbkap 2010-07-22 22:59:59 +02:00
Andreas Gal
817e9fe04a Remove hole count from dense arrays (580846, r=njn). 2010-07-22 18:45:21 -07:00
Alan Pierce
76244684a9 Bug 579173 - Use ropes to avoid large copies in simple string replace cases (r=lw) 2010-07-22 17:54:39 -07:00
Luke Wagner
131d736cea Bug 578922 - remove wasteful store/load in box_value_for_native_call on x64 (r=njn) 2010-07-22 17:47:59 -07:00
Dan Witte
1d912899b3 Fix build. 2010-07-22 15:30:03 -07:00
Dan Witte
39e10d599b Bug 573841 - Assertion of non-null-terminated string on returning a ctypes array.readString(). r=mrbkap, a=sayrer 2010-07-22 15:01:17 -07:00
Dan Witte
3babb202bc Marshal small integer return values through ffi_arg to avoid invalid writes. b=564739, r=bsmedberg, a=blocking2.0 2010-07-22 14:55:49 -07:00
Luke Wagner
3a499b8646 Bug 579183 - CallStack was a confusing name, CallStackSegment is more accurate (r=dvander) 2010-07-22 13:46:43 -07:00
Jason Orendorff
6f5fe37ae7 Bug 580411 - AutoCompartment and JS_Enter/LeaveCrossCompartmentCall should support the trivial case of not changing compartments. r=mrbkap. 2010-07-20 18:59:29 -05:00
Igor Bukanov
246300e968 bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Jacek Caban
2655d7d62e Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Jacek Caban
618928dd9b Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02:00
Ginn Chen
1e8dd96599 Bug 580549 NativeSparc.cpp failed to compile r=leon.sha 2010-07-22 15:07:07 +08:00
Luke Wagner
d232049628 Fix jshashtable.h bustage 2010-07-21 19:47:02 -07:00
Luke Wagner
3dfee16b90 Bug 580633 - Do less copying when adding elements to HashMap (r=bz) 2010-07-21 19:01:33 -07:00
Sean Stangl
71a64382fa Bug 580745 - Add JSValueShiftedTag (r=lw) 2010-07-21 18:57:01 -07:00
Nicholas Nethercote
efc24067fd Update nanojit-import-rev stamp. 2010-07-20 21:10:57 -07:00
Nicholas Nethercote
e56dfae6ff Bug 574969 - add LIR_qasd / LIR_dasq. r=edwsmith.
--HG--
extra : convert_revision : 06774ab0e7e002b4fe6f4091a5dd59904fb6b080
2010-07-20 21:04:21 -07:00
Luke Wagner
53a742ae98 Bug 579598 - Help GCC out in array_splice (r=waldo) 2010-07-20 20:27:15 -07:00
Luke Wagner
d4e0a53756 Bug 578044 - fix setterOrUndefined (r=waldo) 2010-07-20 19:33:51 -07:00
Luke Wagner
0fd878fe59 Bug 580051 - Catch ints-as-doubles in JSOP_TABLESWITCH (r=jorendorff) 2010-07-20 19:32:11 -07:00
Luke Wagner
890c4cda11 Bug 580187 - Pass vp to ComputeThisFromVp (r=dvander) 2010-07-20 19:32:04 -07:00
Luke Wagner
de91418c20 Mark some inline JSString members as JS_ALWAYS_INLINE 2010-07-20 19:31:55 -07:00
Robert Sayre
ec27ccd212 Merge. 2010-07-20 15:49:14 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Jason Orendorff
02f46a123c Bug 580084 - JS_InitClass with no methods or properties breaks JSScope::emptyScope invariant. r=brendan. 2010-07-20 16:57:12 -05:00
Dan Witte
19ef0aac72 Fix warning. 2010-07-20 10:13:54 -07:00
Jason Orendorff
a1ade780e3 Merge backout. 2010-07-20 11:57:51 -05:00
Jason Orendorff
7282960790 Backed out changeset a8d0c83fe7c7 due to debug-mode assertions in mochitests. 2010-07-20 11:57:29 -05:00
Gregor Wagner
8bd7a472cd Bug 579586 - TM: remove doubles from GCTIMER (r=jorendorff) 2010-07-20 09:52:02 -07:00
Jason Orendorff
62b592404f Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal.
--HG--
extra : rebase_source : e063e91c61f159c98ac4f8f0e3bb74eceee069e6
2010-07-19 18:04:50 -05:00
Andreas Gal
c8091508b9 Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Dimitrios Vardoulakis
0a1b9ea452 Incorporating patch recommendations for changeset 669386771b5e (bug 579564, r=gal) 2010-07-19 18:41:36 -07:00
Dimitrios Vardoulakis
b5325aea84 Allow more LHS values in for/in loops and fixed yield to take 0 or 1 args. (bug 579564, r=gal) 2010-07-19 17:07:29 -07:00
Tom Austin
31a5964734 Updated and sorted narcissus failures list (bug 579564, r=gal) 2010-07-19 17:02:47 -07:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Luke Wagner
9870b95ead Fix testBug579646.js in opt trace-tests 2010-07-19 16:06:42 -07:00
Luke Wagner
6f0a0727b9 Bug 579646 - Avoid recording when negating double(0) (r=gal) 2010-07-19 14:24:09 -07:00
Andreas Gal
4b4fb2fced Move the cycle collector out of the GC callback (573060, r=peterv). 2010-07-15 18:08:47 -07:00
Jeff Walden
8b99528a95 Bug 568786 - Fix a bad assertion defining an accessor property over a method-valued property. r=brendan
--HG--
extra : rebase_source : 88fc1934f4be3516ace8b006c4296931dfef7a5f
2010-07-19 12:39:57 -05:00
Luke Wagner
015cd3448d Bug 579647 - use canonical nan in js_dmod (r=dvander) 2010-07-19 11:28:13 -07:00
Dan Witte
8c1b9cb83f Remove redundant checks in CClosure::Trace. No bug, r=luke 2010-07-19 11:23:24 -07:00
Tom Austin
2ad03dfa62 Remove special constructs no longer needed for Narcissus (bug 579137, r=gal) 2010-07-16 18:16:07 -07:00
Luke Wagner
a0bece7dbb Forgot to add test case for 26c99d5891c1 2010-07-17 02:10:40 -07:00
Luke Wagner
ea9b4a6d39 Bug 579602 - desc.getter/setter can be null; finish what 8956606e0b49 started 2010-07-17 01:51:07 -07:00
Andreas Gal
852209f576 Bug 579524 - DEBUG_CC broken by fatval. r=sayrer 2010-07-16 20:41:28 -07:00
Alan Pierce
52ba5c3616 Bug 571579 - Implement ropes (r=gal) 2010-07-16 17:41:22 -07:00
Luke Wagner
0af67efcd9 Bug 579140 - address various minor change requests for fatvals
--HG--
extra : rebase_source : 02091a75071469c9f6148a5221be9333655bb832
2010-07-16 15:34:00 -07:00
Jeff Walden
688bdd2c80 Followup fix for cyclic-proto exception change, r=orange
--HG--
extra : rebase_source : eb71da4a4b83bfd35d94f51618b68272985e32eb
2010-07-16 16:53:15 -05:00
Luke Wagner
9d7fef353a Bug 579279 - GCC sometimes chooses to use signed < on enumerations whose underlying type is uint32 (r=dmandelin) 2010-07-16 14:00:41 -07:00
Jeff Walden
151b088ab6 Bug 578273 - ES5: Properly detect cycles in JSON.stringify (throw TypeError, check for cycles rather than imprecisely rely on recursion limits). r=sayrer
--HG--
extra : rebase_source : ce0005b1b7a69b12f89ad33420ac543c4d09777b
2010-07-13 23:32:28 -05:00
Jeff Walden
e26b5f2fa5 Bug 562446 - ES5: Array.prototype.toString and Array.prototype.toLocaleString should be generic. r=igor
--HG--
extra : rebase_source : 003f392af828817cba1d1153c2ed5d4e5402f5c3
2010-07-15 12:33:33 -05:00
Jeff Walden
31e6cfd5e7 Er, really fix DEBUG_jwalden code. r=tpyo
--HG--
extra : rebase_source : 957de112c57250d4244883eada9561cc76b49006
2010-07-16 14:10:47 -05:00
Luke Wagner
cb2a8dd8dc Bug 579273 - Remove JSObject*-to-jsval union-cast in jswrapper.cpp; use CastAsObjectJsval (r=dmandelin) 2010-07-16 11:47:29 -07:00
Luke Wagner
165d33e232 Bug 578015 - desc.getter/setter can be null (r=dmandelin) 2010-07-16 11:14:05 -07:00
Blake Kaplan
6987d9bc17 Bug 579275 - Don't treat null as a primitive this value. r=luke 2010-07-16 00:44:26 -07:00
Igor Bukanov
d7aedab4b6 bug 552266 - Allow for only one JSContext to be in a request on a given thread. r=mrbkap 2010-06-26 22:31:54 +02:00
Luke Wagner
fdd5b33385 Bug 579140 - Address review comments in xdr and xpconnect (r=igor,mrbkap) 2010-07-15 18:19:50 -07:00
Andreas Gal
4e11d941dd Disentangle cycle collector and JS GC (549806, r=peterv/igor). 2010-07-15 17:58:36 -07:00
Andreas Gal
f8afdf22b4 Backed out bug 549806. Very frustrating. 2010-07-15 15:39:06 -07:00
Dimitris Vardoulakis
e246dfb71d Extension to the narcissus parser to handle Mozilla-specific extensions to JS (572014, r=pwalton). 2010-07-02 10:29:24 -07:00
Andreas Gal
483a33d003 Backed out bug 573060. 2010-07-15 14:14:26 -07:00
Luke Wagner
549bdba685 fatval tweaks: bump XDR version, remove spurious comment and #defines, realign JSStackFrame 2010-07-15 13:18:12 -07:00
Jeff Walden
eb0c1f7fb0 Fix DEBUG_jwalden code for fatvals. r+sr+ui-r+a=mconnor per firebot2 (an evil doppelgänger?) 2010-07-15 14:28:56 -05:00
Andreas Gal
124d968d35 Move the cycle collector our of the GC callback (573060, r=peterv). 2010-07-15 10:30:37 -07:00
Andreas Gal
a148529929 Disentangle cycle collector and JS GC (549806, r=peterv, igor). 2010-07-15 10:21:34 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Tom Austin
977f814b83 Enable __call__ to work without special extensions (bug=578518, r=gal) 2010-07-14 19:06:09 -07:00
Tom Austin
79dbdce42d Eliminate use of __applyConstructor__ (bug=573792, r=gal) 2010-07-14 18:24:42 -07:00
Andreas Gal<gal@uci.edu>
2da4da2ed6 Make narcissus use ES5 defineProperty (bug 546532, r=dherman) 2010-07-14 16:23:21 -07:00
Tom Austin
92fae79774 Merge 2010-07-14 15:17:34 -07:00
Tom Austin
1dda2b0b6a Create shell for Narcissus JS (bug 572879, r=gal) 2010-07-14 15:02:51 -07:00
Jeff Walden
cc3ad09ad3 Fix orange from bug 509733 changes. r=lumpy 2010-07-14 15:04:02 -05:00
Dave Herman
45865473ec dherman bug 578590, r=brendan : extraneous dereference in JSAtomList::rawLookup 2010-07-14 10:37:42 -07:00
Nicholas Nethercote
931c4fdc17 Update nanojit-import-rev stamp. 2010-07-13 18:20:11 -07:00
Nicholas Nethercote
d49c159b29 Bug 578290 - nanojit: fold constant 64-bit integer expressions. r=stejohns.
--HG--
extra : convert_revision : 94aa179ec87c6a6c0949f1a6b2b6134074eef29b
2010-07-13 18:10:42 -07:00
Nicholas Nethercote
67fb75fb9e Bug 578292 - TM: remove constant equality comparisons occurring for JSOP_ARGUMENTS on 64-bit. r=gal. 2010-07-13 18:03:59 -07:00
Andreas Gal
885c8c4cd0 Compartments can get GCed while we allocate the first object inside of them (576722, r=mrbkap). 2010-07-13 16:22:45 -07:00
Andreas Gal
56feb20e14 Merge for backout. 2010-07-12 23:18:54 -07:00
Andreas Gal
7e4c61ce49 Backed out changeset 864b37b4c91c. Missing bug# and review. 2010-07-12 23:18:18 -07:00
taustin@Thomas-Austins-Computer.local
1669cc32d4 merging changes 2010-07-12 22:44:32 -07:00
Robert Sayre
38029f43fa Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
taustin@host-6-61.mv.mozilla.com
2f0222e5ec Remove Narcissus's dependencies on features available only in special builds 2010-07-12 16:58:38 -07:00
Chris Jones
7204a29e23 Compile with -D__STDC_LIMIT_MACROS to avoid having to fight with system headers over which includes stdint.h first. irc-r=jimb,Waldo 2010-07-12 18:06:23 -05:00
Blake Kaplan
585582ee3a Bug 576351 - Make this assertion not fire if the caller has UniversalXPConnect. r=jorendorff 2010-07-12 14:11:14 -07:00
Ben Turner
46309e70df Bug 575517 - 'Optional jsvals that are not specified should be JSVAL_VOID, not JSVAL_NULL'. r=jst 2010-07-12 10:04:59 -04:00
Nicholas Nethercote
e8ffc335c1 Bug 577764 - TM: avoid a dead guard at the end of loop fragments. r=dvander. 2010-07-12 11:01:58 +10:00
Robert Sayre
951426beed Merge mozilla-central to tracemonkey. 2010-07-11 16:23:48 -07:00
Chris Leary
94f23c0a06 Arena pool macros don't want to die. 2010-07-11 00:09:34 -07:00
Chris Leary
48398c7423 Bug 559408: Arena macros to methods. (r=galish) 2010-07-10 23:19:14 -07:00
Eli Friedman
13ea715e27 Bug 576359 - Remove unused function from jstracer.cpp (which breaks building with clang) r=brendan 2010-07-12 11:57:11 +02:00
Raul Porcel
be36109c38 Bug 577319 - Fixed OS_TEST case for ARM r=khuey 2010-07-12 11:56:09 +02:00
Igor Bukanov
fe84ed0d56 bug 572494 - removal of JSObjectOps::defaultValue, r=jorendorff 2010-07-07 09:53:47 +02:00
Robert Sayre
2a902f1084 Merge. 2010-07-08 18:18:36 -07:00
Robert Sayre
34b4182b78 Merge mozilla-central to tracemonkey. 2010-07-08 18:15:52 -07:00
Andreas Gal
9f011207b0 re-seed PRNG when clearing the scope (577512, r=bz). 2010-07-08 16:00:54 -07:00
Jeff Walden
1cb8edcb96 Bug 577375 - Make CPOWs handle all-properties enumeration correctly. r=gal 2010-07-07 15:11:17 -07:00
Andreas Gal
b890c190fb Make sure proxy objects always have a parent (576714, r=jorendorff). 2010-07-07 12:32:36 -07:00
Robert Sayre
1ae649adc3 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Jason Orendorff
52ec4ddc8d Bug 576755 - JS_Assert on Windows produces a stack MSVS 2010 debugger can't decipher. r=dmandelin. 2010-07-06 04:29:45 -05:00
Wes Garland
c0cab6c84e Bug 575379 jsapi-test for JSClass::getProperty. r=jorendorff 2010-07-05 12:27:04 -04:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Mark Banner
f83652490d Bustage fix follow up to changeset d92fd4a1ddf5 (part of bug 568691) - remove unnecessary semi-colons that are causing bustage on non-libxul Linux builds 2010-07-05 08:36:36 +01:00
Nicholas Nethercote
ecd4996a85 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig (TM-specific part). r=gal. 2010-07-04 20:00:33 -07:00
Nicholas Nethercote
a267ea146c Update nanojit-import-rev stamp. 2010-07-04 19:52:07 -07:00
Nicholas Nethercote
588cb18fca Fix ARM bustage for bug 553962. r=me.
--HG--
extra : convert_revision : bb74ad1990fc0299c107c6d44a04c3682e8cb9fe
2010-07-04 19:45:53 -07:00
Nicholas Nethercote
a901c621f3 Bug 553962 - nanojit: finish adding get/set methods for CallInfo::_typesig. r=edwsmith.
--HG--
extra : convert_revision : cfbed237877f0939423d9c1ac591c0a7edb5b0c0
2010-07-04 19:39:09 -07:00
Eli Friedman
c7b36cb9f6 Bug 576363 - Qualify accesses to dependent base in js. r=nnethercote.
--HG--
extra : convert_revision : 5c5cacef53d6a42f6226636c0fa71c13e428b52f
2010-07-04 19:12:15 -07:00
Jason Orendorff
c46ef62c01 Merge fix for bug 575208. 2010-07-03 08:10:46 -05:00
Chris Leary
4d381b0e29 One more changeset to back out. (r=red) 2010-07-03 02:06:14 -07:00
Chris Leary
1101ca3628 Back out Yarr until I can unbreak ARM build. (r=red) 2010-07-03 01:54:21 -07:00
Chris Leary
3df5948663 Push-and-pray to try to fix ARM build breaks. (r=red). 2010-07-02 23:57:51 -07:00
Chris Leary
4ec22b4904 Bug 564953: Port of Yarr regexp engine and Nitro macroassembler. No PPC support. (r=gal,lw) 2010-07-02 22:25:37 -07:00
Andreas Gal
b352f081cf Only check for proxy handler if we are sure its a proxy (fallout bug 574924, r=orange). 2010-07-02 18:53:00 -07:00
Robert Sayre
fd390f1273 Fix ObjectWrapperChild bustage 2010-07-02 18:17:06 -07:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Andreas Gal
1f9000189f Move wrappers directory in a desperate attempt to make our build system build bug 574924.
--HG--
rename : js/src/xpconnect/src/wrappers/AccessCheck.cpp => js/src/xpconnect/wrappers/AccessCheck.cpp
rename : js/src/xpconnect/src/wrappers/AccessCheck.h => js/src/xpconnect/wrappers/AccessCheck.h
rename : js/src/xpconnect/src/wrappers/CrossOriginWrapper.cpp => js/src/xpconnect/wrappers/CrossOriginWrapper.cpp
rename : js/src/xpconnect/src/wrappers/CrossOriginWrapper.h => js/src/xpconnect/wrappers/CrossOriginWrapper.h
rename : js/src/xpconnect/src/wrappers/FilteringWrapper.cpp => js/src/xpconnect/wrappers/FilteringWrapper.cpp
rename : js/src/xpconnect/src/wrappers/FilteringWrapper.h => js/src/xpconnect/wrappers/FilteringWrapper.h
rename : js/src/xpconnect/src/wrappers/Makefile.in => js/src/xpconnect/wrappers/Makefile.in
rename : js/src/xpconnect/src/wrappers/WrapperFactory.cpp => js/src/xpconnect/wrappers/WrapperFactory.cpp
rename : js/src/xpconnect/src/wrappers/WrapperFactory.h => js/src/xpconnect/wrappers/WrapperFactory.h
rename : js/src/xpconnect/src/wrappers/XrayWrapper.cpp => js/src/xpconnect/wrappers/XrayWrapper.cpp
rename : js/src/xpconnect/src/wrappers/XrayWrapper.h => js/src/xpconnect/wrappers/XrayWrapper.h
2010-07-02 15:26:27 -07:00
Jason Orendorff
bc777c6d16 Bug 575208 - Crash [@ js::ExecuteFrameGuard::~ExecuteFrameGuard] or "Assertion failure: origin != destination". r=gal. 2010-07-02 16:51:42 -05:00
Andreas Gal
43c2871713 Makefile fix for bug 574924. 2010-07-02 14:45:52 -07:00
Andreas Gal
eb1fce2bf5 Missing files for bug 574924. 2010-07-02 14:09:48 -07:00
Andreas Gal
38966949eb Implement remaining cross compartment wrappers (574924, r=mrbkap). 2010-07-02 13:54:53 -07:00
Chris Leary
aa4f41d836 Bug 576148: Factor out js::UpvarCookie. (r=mrbkap, dvander) 2010-07-02 13:37:39 -07:00
Jason Orendorff
d5b786b24f Bug 576295 - Fix tests.py to work on Windows. r=dmandelin. Re-landing. 2010-07-02 12:08:46 -05:00
timeless@mozdev.org
2445345373 Bug 576386 - AddPropertyHelper builtin would crash under JS_UNLOCK_SCOPE if js_GetMutableScope fails. r=jorendorff. 2010-07-02 09:57:19 -05:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Vladimir Vukicevic
3a3fe786d8 sync up js/src/build/autoconf/make-makefile 2010-07-02 12:09:37 -07:00
Benjamin Smedberg
76af4cae87 Fix --disable-libxul from bug 568691. r=Mossop 2010-07-02 14:23:41 -04:00
Jeff Walden
c626757f95 Bug 574474 - Eliminate a gratuitous property-name copy from the implementation of Object.keys. r=gal 2010-06-24 15:03:54 -07:00
Jeff Walden
b13001e602 Bug 509733 - ES5: arguments.toString() === "[object Arguments]". r=brendan 2010-07-13 16:39:03 -05:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Eli Friedman
a01afdd9d5 Bug 576355 - Make configure work with clang. r=ted 2010-07-04 20:27:33 +02:00
Chris Jones
d37c23f270 Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
wfernandom2004@gmail.com,
d36a8cb1ee Bug 577479 - Quickstub nsIWebSocket, r=smaug
--HG--
extra : rebase_source : 7b667e60a07c80ed1ff121a4777bbc274f297718
2010-07-19 15:45:18 +03:00
Olli Pettay
9f4bc1b358 Bug 577472 - Quickstub string handling shouldn't addref/release the string buffer, r=mrbkap
--HG--
extra : rebase_source : 5c343f210f3fb4a0aca5fc5f8b9b2d492248d3f3
2010-07-19 13:34:23 +03:00
Walter Meinl
4183c3cdef Bug 576606 - [OS/2] Fix registration follow-up to bug568691 r=dragtext
--HG--
extra : rebase_source : ff548f598f1e3e7c7b3b70e1f7d683011b238dd2
2010-07-18 11:22:01 +02:00
Eli Friedman
87a30182c7 Bug 579689 - Fix cases of return without expression in a function returning "int". r=khuey 2010-07-18 11:19:48 +02:00
Brad Lassey
9a6159a1f7 reverting change from 0f1fddce41e1 because buildbots have CC set in bash profile 2010-07-16 16:11:31 -04:00
Brad Lassey
e4414742e9 bug 579477 - get android platform's arch from target r=khuey 2010-07-16 16:11:31 -04:00
Brad Lassey
0591ba2021 bug 577635 - android_stub.h broken for android platform version 8 r=khuey 2010-07-16 12:11:09 -04:00
Brad Lassey
720e2a59f7 bug 577636 - add configure option to use ccache r=khuey 2010-07-16 11:50:13 -04:00
Vladimir Vukicevic
aa1924e856 b=576020; type check in typed array slice; r=jorendorff 2010-07-15 13:17:56 -07:00
timeless@mozdev.org
7380639751 Bug 577457 warning: comparison between signed and unsigned integer expressions in ObjectWrapperChild::AnswerNewEnumerateNext
r=cjones

--HG--
extra : rebase_source : ea67589475f27b04f3e038069e62a4581ef001b8
2010-07-08 13:34:40 +03:00
Benjamin Smedberg
1bd930635b Bug 577684 - Jetpack should push the JS context on to the XPConnect stack when running message receivers, r=mrbkap 2010-07-15 10:40:33 -04:00
Boris Zbarsky
f68fc1c61f Bug 577505. Quickstub nsIDOMCSSStyleDeclaration.*. r=peterv 2010-07-15 09:59:24 -04:00
Zack Weinberg
63f91528d4 Bug 558235 part 2: Kill CSS2PropertiesTearoff. r=dbaron 2010-07-14 13:58:56 -07:00
Benjamin Smedberg
813e927120 Bug 577638 - Outdated comments in XPCOMUtils.jsm after bug 568691 2010-07-14 13:09:42 -04:00
Robert Sayre
4ed4f1f76a merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Ted Mielczarek
4d63535946 bug 577589 bustage fix - define DLL_PREFIX and DLL_SUFFIX as strings in the Makefile to handle empty values 2010-07-13 12:03:41 -04:00
Ted Mielczarek
c45d8e580b add a ctypes.libraryName utility function to get shared library names per-platform. r=dwitte
--HG--
extra : rebase_source : f0585aa0332c2146bee375584a69af4eaed7ed77
2010-07-13 08:53:16 -04:00
Dan Witte
d4ac905845 Back out bug 520309 part 2. a=#developers for checkin on CLOSED TREE. 2010-08-24 07:59:27 -07:00
Dan Witte
2d6527e305 Merge e10s -> m-c. a=wecanhazbeta 2010-08-23 21:18:09 -07:00
Dan Witte
f2000be3eb Merge. 2010-08-23 17:30:33 -07:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Benedict Hsieh
c1283a6328 bug 520309, startupcache client mozJSComponentLoader, r=dwitte a=bsmedberg 2010-08-12 12:37:52 -07:00
Robert Sayre
1f8d21e1c1 Merge tracemonkey to mozilla-central. 2010-08-01 16:00:36 -07:00
Jacek Caban
e8f6daf69e Bug 583584: Fakelibs breaks cross-compiles, even on this CLOSED TREE. r=khuey 2010-08-01 10:42:41 -07:00
Jeff Walden
f9d4e3da72 Bug 564621 - Add some documentation for JSONParserState enum values, so that future changes here don't have to lack docs or be the odd man out. r=sayrer
--HG--
extra : rebase_source : c2ce6322c17ec125f216dd0dc00dcec68585431f
2010-05-12 15:03:04 -07:00
Michael Kohler
dab190d2bc Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
timeless@mozdev.org
2338f1f744 Bug 575024 JSObject::resizeDenseArrayElements comparison is always false due to limited range of data type
r=dvander

--HG--
extra : rebase_source : 2be13535bf494080eb098ab4c4f9008d7a6feb88
2010-06-28 13:22:52 +03:00
timeless@mozdev.org
3530aac334 Bug 555686 scope is never used in JS_NextProperty
r=jorendorff

--HG--
extra : rebase_source : 65aaf4e7c50880e467fec4397bf9a514eee5dd38
2010-05-25 04:11:48 +03:00
timeless@mozdev.org
5e3697c1db Bug 564717 warning: functions defined but not used in xpcmodule.cpp
r=mrbkap

--HG--
extra : rebase_source : e8a15a17c5210b3ad17c6af79f1e2443f3eeb0b3
2010-05-25 17:34:13 +03:00
timeless@mozdev.org
13b3346876 Bug 564763 ReservedSlotIndexOK and js_GetReservedSlot-limit are unused in nondebug builds
r=jorendorff

--HG--
extra : rebase_source : 417ac35e2aefbfe029dae891d551c71ef456712e
2010-07-07 17:22:26 +03:00
timeless@mozdev.org
6ef8003e9c Bug 552686 JS_GetFrameThis seems to require a JSContext these days when it calls some xpconnect wrapper that gets a thisObject
r=jorendorff

--HG--
extra : rebase_source : 7db05ad444219ffd5dbb64a86ac7470aa8095ace
2010-05-25 04:11:47 +03:00
Peter Van der Beken
54a3679793 Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Benjamin Smedberg
2afb186ba8 Bug 578809 - Jetpack .callMessage should be RPC, not sync, so that handles created during the reply are available correctly, r=bent 2010-07-23 17:11:33 -04:00
Benjamin Smedberg
43e0394bf5 Bug 578773 - Jetpack processes should send messages about uncaught exceptions to the parent, r=bent 2010-07-23 17:11:33 -04:00
Stefan Hundhammer
5dab5f8dd0 Bug 581318: Qt moc calls need DEFINES and ACDEFINES for conditional compilation. r=khuey 2010-07-23 10:56:19 -07:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Mounir Lamouri
e812cbd8fd Bug 581021 - js_RestoreRegExpStatics has too many arguments. r=jorendorff a=blocking-2.0+ 2010-07-22 16:55:11 +02:00
ffxbld
8a9a3a9ad4 Bug 583967. Beta3 version bump. r=nthomas 2010-08-04 11:38:06 -07:00
Doug Turner
864b48be6e Bug 517655 - Support for libProxy - Part 3. More Build Changes. js system headers update r=dougt
--HG--
extra : rebase_source : 96b00eda4a079f041b86a6679dbdb8db6bb216f8
2010-08-03 13:22:41 -07:00
Taras Glek
9991834117 Bug 576399 - GCC 4.5 -Os bustage workaround r=khuey 2010-07-01 16:20:39 -07:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
2f6bb59008 Fix packaging of test-only XPT files for crashreporter and httpserver.
--HG--
extra : rebase_source : 27abb29f16e071a7c08220d46f9cbef4ded08fc4
2010-06-30 12:42:24 -04:00
Benjamin Smedberg
6da9e8c26a Require XPT files to be loaded explicitly: they are never auto-registered when found in a components/ directory. 2010-06-29 18:16:48 -04:00
Neil Rashbrook
84258324f3 Bug 572996 Compiler dependencies don't work for debug-only includes r=ted 2010-06-30 12:44:18 +01:00
Benjamin Smedberg
a4bcbea743 Add a classID check in generateNSGetFactory, from bug 568691 comment 62. 2010-06-27 21:05:47 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
225030afcc Sync js/src/{config,rules}.mk 2010-06-25 11:11:56 -04:00
Benjamin Smedberg
abf280675d Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Ben Newman
91ca5c2718 Disable hanging jetpack XPCShell tests. r=sdwilsh 2010-06-25 11:42:34 -07:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ben Turner
a283994c5f Bug 553413 - 'Implement Asynchronous parts of the Indexed Database API.' p=sdwilsh+bent, r=jst. 2010-06-23 12:46:08 -07:00
Benjamin Smedberg
6344332d14 Revert accidental change to XPCOMUtils.jsm introduced in revision 731d52e5b732 2010-06-23 15:19:18 -04:00
Benjamin Smedberg
c072919b32 Remove hard tabs which I accidentally introduced into nsComponentManager.{h,cpp}. 2010-06-23 13:36:53 -04:00
Benjamin Smedberg
bea2c316a7 Sync js/src/rules.mk from bug 568691 2010-06-22 13:05:06 -04:00
Benjamin Smedberg
202aa47626 Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
fcd5c36e9b Bug 568691 - Fix XPCOMUtils.jsm to generate NSGetFactory, and fix nsSample.js to use XPCOMUtils 2010-06-21 14:29:32 -04:00
Benjamin Smedberg
ed3a49c9a2 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Benjamin Smedberg
492155b10e Bug 568691 part C - Register all components based on reading .manifest files from the components directories. Binary components auto-register using "binary-component name.dll". JS components register using "component CID file.js" "contract @mozilla.org/contract;1 CID" and "category categoryname keyname value".
This patch has some bugs, specifically we stop looking for .manifest files in chrome/. I will fix that in a followup. It also probably breaks non-libxul builds because of ordering issues.

Another followup will actually fix our in-tree JS components and add build machinery for creating a proper components.manifest file.
2010-06-11 16:13:26 -04:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Rail Aliev
5e9f91ea2b bug 569426: Tracking bug for build and release of Firefox 3.7a5 - Version bump for default branch. r=bhearsum 2010-06-10 10:35:42 -04:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Nick Thomas
59d3d880aa Bug 570022, bump Firefox/Gecko version to 4.0b2pre/2.0b2pre after 4.0b1 tagging, r=jhford, a=beltzner, CLOSED TREE 2010-06-29 15:09:55 +12:00
Ben Turner
1d8ac7be25 Bug 575399 - 'IndexedDB: Remove XPConnect slow paths from some IndexedDB methods'. r=sdwilsh 2010-06-28 15:22:41 -07:00