Commit Graph

9279 Commits

Author SHA1 Message Date
Jason Orendorff
b891ed049a Fix really dumb C++ error in shell/js.cpp. no bug, r=red.
--HG--
extra : rebase_source : 0e22db3a690a24820c8d02087cb12fde16e6db76
2010-06-23 17:45:36 -05:00
Blake Kaplan
78d9a8bac6 Bug 572233 - Don't accidentally wrap an object on the prototype chain. r=jst
--HG--
extra : rebase_source : ff4c32ed65dde104f2630d9d435888b12298a29f
2010-06-23 16:56:28 -05:00
Blake Kaplan
68ab0034ba Bug 569022 - XPCNativeWrapper is a proper MakeSOW candidate. r=jst
--HG--
extra : rebase_source : a4de66029f47e1f400eed3822132fd45ff98558a
2010-06-10 15:49:22 -07:00
Jason Orendorff
c1a1fb9be1 Bug 563099 - Compartments and wrappers API. r=gal.
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
Brendan Eich
e672f52623 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Jason Orendorff
c7000f4f86 Bug 574013 - Change JSObjectOps::call to compute this even later in certain cases. (This will also facilitate implementint ES5 primitive this.) r=gal.
--HG--
extra : rebase_source : 2f588a571cc7970ae2119338e4abfc34bdd6fdc8
2010-06-23 12:08:34 -05:00
Gregor Wagner
80ca0e83eb Bug 519949 - TM: remove LocalRootScopes r=igor 2010-06-23 11:37:35 -05:00
Nicholas Nethercote
1acb98c5ab Bug 551885 - TM: avoid stupid stack loads/stores at the end of fragments. r=dvander. 2010-06-22 20:09:11 -07:00
Brendan Eich
bacdc9d75e Assertion failure: slot < (uint32)dslots[-1] (571744, r=dvander). 2010-06-22 14:31:17 -07:00
Igor Bukanov
0b52b79b4d bug 572428 - fixing detection of live things in GC arena for conservative GC. r=wagnerg 2010-06-22 11:19:04 +02:00
Nicholas Nethercote
6f97ec3b23 Bug 572945 - TM: dense arrays specify the wrong number of reserved slots (2
vs 3).  r=gal.
2010-06-22 00:18:51 -07:00
Robert Sayre
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Blake Kaplan
c1498e0eab Add test. 2010-06-21 16:51:55 -07:00
Blake Kaplan
c0c914d70f Bug 561279 - Don't assume there is only one stack frame in global code. r=jorendorff 2010-05-28 16:01:04 -07:00
Wesley W. Garland
620032b563 Bug 573510 - jsapi-test harness could use a print() function. r=jorendorff. 2010-06-21 15:27:48 -05:00
Jason Orendorff
46fecd5674 Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal.
--HG--
extra : rebase_source : eaa2aee559527dbca94c3279d256833d2293ca67
2010-06-16 16:13:28 -05:00
Andreas Gal
56f83ce367 Slow arrays don't need custom objectops (571810, r=mrbkap). 2010-06-21 12:19:36 -07:00
Blake Kaplan
4d411a583b Merge backout of 5e948055cc43. 2010-06-21 11:40:48 -07:00
Blake Kaplan
7ee058443a Backed out changeset 5e948055cc43 2010-06-21 11:40:35 -07:00
David Mandelin
63421f8622 Bug 571595: make sure dense_grow always gets inlined, r=nnethercote
--HG--
extra : rebase_source : 14d00cd5356a3dc1fbc88fd305a2244584ac6889
2010-06-21 11:23:39 -07:00
Jason Orendorff
9988b38a60 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal. (Part 2 is to follow; my apologies for crummy numbering.) 2010-06-16 16:13:50 -05:00
Nicholas Nethercote
3dd0b2f480 Bug 564117 - TM: negative index check for GETELEM on 64-bit platforms is bogus. r=gal. 2010-06-20 18:46:43 -07:00
Igor Bukanov
9960173867 bug 572991 - replacing JSXMLArray locals with autoclasses. r=gal
--HG--
extra : rebase_source : b0f13006282537b671d4b410fd9849215154ae18
2010-06-19 20:58:00 +02:00
Blake Kaplan
731acc336b Bug 565230 - Don't try to resolve standard classes if an XPCNativeWrapper is resolving through us. r=gal 2010-06-10 14:48:19 -07:00
Blake Kaplan
a2ac6b938e Remove incorrect return. rs=lumpy 2010-06-18 17:45:33 -07:00
Brendan Eich
734c3a1ba9 Back out a81f2aed9c9b due to orange. 2010-06-18 17:39:22 -07:00
Jeff Walden
06de83b720 Bug 572577 - Generate only a proxy's enumerable properties by filtering a vector of all its properties in-place, without copying properties to a second vector. r=gal 2010-06-17 14:37:33 -07:00
Brendan Eich
157c408713 Eliminate JSClass::reserveSlots and reserve fixed-per-class slots lazily (535416, r=gal). 2010-06-15 10:06:40 -07:00
Brendan Eich
95bae4afbc Skip tests that fail always on 64-bit targets. 2010-06-18 16:39:22 -07:00
Jason Orendorff
a77184c334 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst.
--HG--
extra : rebase_source : dc17a29e8f4e8d174064df5ead078bce2970ff95
2010-06-18 15:29:21 -05:00
Ginn Chen
4fae667754 Bug 562281 - libffi configure failed if env var CFLAGS is set in ksh93 on OpenSolaris. r=ted 2010-06-18 10:30:44 -07:00
Luke Wagner
d984311efe Bug 572625 - create call object only after new frame is pushed (r=dvander) 2010-06-16 23:14:02 -07:00
Brendan Eich
9469e07029 Cherry-pick patch from bug 561674 to not define DEBUG_USERNAME. 2010-06-17 19:48:25 -07:00
Brendan Eich
4b502c156f Fix warnings due to constant JS_MAX size params in MAX_DSLOTS_LENGTH (r=gal).
--HG--
extra : rebase_source : eb93aa51f3ee12ff4711170093434910ff19a125
2010-06-13 06:08:50 +01:00
Andreas Gal
a92e115145 Move proto out of fslots and make it JSObject* (572820, r=jorendorff). 2010-06-17 15:23:17 -07:00
Jeff Walden
ff125e1ca1 Hm, didn't realize JS_LIKELY required a numeric (not nearly bool-ish) argument. r=red 2010-06-17 15:02:38 -07:00
Jeff Walden
e3d1dba2a3 Followup fix for iteration over null, misread a caller and thus missed that we could be asked to snapshot properties of null. r=orange 2010-06-17 14:45:55 -07:00
Wesley W. Garland
55cf36b68a Bug 572600 - Skip jstests which scatter. r=jorendorff.
--HG--
extra : rebase_source : cef99af144d165f54c2216641670832b61f5e1fd
2010-06-17 15:56:36 -05:00
Jeff Walden
5fbb5b9367 Bug 572577 - Change NativeIterator::allocate to accept a vector of ids rather than separate pointer/length. r=gal
--HG--
extra : rebase_source : a7b3993ec46a83e3f70bb1c2975028e1273bb044
2010-06-16 16:17:45 -07:00
Jeff Walden
e993047657 Bug 572577 - Convert proxy name-enumerating APIs to fill in vectors of names, rather than return JSIdArrays. r=gal
--HG--
extra : rebase_source : 5df8f88b785d5c2974bcc89cf285f9791dfbb0c9
2010-06-16 16:11:13 -07:00
Jeff Walden
054bf6ca45 Bug 572577 - Make property enumeration mechanisms fill in a provided vector of names, rather than return a JSIdArray. r=gal
--HG--
extra : rebase_source : 20994eb4c76aad9fe570b8dcfce1f5b6ceeef0fc
2010-06-16 14:12:21 -07:00
Blake Kaplan
eeece03cc6 Bug 572149 - Deal with an abort when about to *start* executing an imacro. r=gal
--HG--
extra : rebase_source : 916ec03b814d9e31134546a910eb329639c0b389
2010-06-16 20:29:52 -07:00
Andreas Gal
d79abfd782 Bug 572774 - NULL deref due to bug in js_Call, regression from bug 572495. r=jorendorff. 2010-06-17 13:15:18 -05:00
Igor Bukanov
5b76e21662 bug 516832 follow up - better assert coverage with conservative gc 2010-06-17 15:35:52 +02:00
Igor Bukanov
a3a94a3484 bug 572411 - removal of JSObjectOps::checkAccess. r=mrbkap 2010-06-17 14:32:26 +02:00
Chris Leary
1d03ae0f11 Fix jstests.py --valgrind-args flag. (r=jorendorff) 2010-06-16 18:34:57 -07:00
Jason Orendorff
c80c81124a Merge backout. 2010-06-16 20:03:30 -05:00
Jason Orendorff
c1e349137a Back out changeset 4c1fbfcf1d0d due to orange. 2010-06-16 20:03:11 -05:00
Jason Orendorff
07430a1bcd Back out changeset fdaff211cb8f due to orange. 2010-06-16 20:02:53 -05:00
Jason Orendorff
e4eacf8d04 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal.
--HG--
extra : rebase_source : cfe0da3aa979b24ba331fbc2622970767b06ad58
2010-06-16 16:13:50 -05:00