Nicholas Nethercote
d258fef2cf
Bug 648490 - Remove the "heap-used/js/string-data" memory reporter because it is totally bogus. r=gal.
2011-05-11 16:09:50 -07:00
Jason Orendorff
c0b826d646
Bug 645160 - jsdIStackFrame is incorrectly truncated at indirect eval calls. r=mrbkap.
2011-05-11 11:11:40 -05:00
Michael Wu
90fb74e443
Merge backout (to fix bug 656172)
2011-05-10 19:10:01 -07:00
Michael Wu
899d3b6b5d
Back out parts 3-7 of bug 620931 which caused bug 656172, r=killer
2011-05-10 18:27:51 -07:00
Chris Leary
4d3c7b1eb9
Merge mozilla-central and tracemonkey. (CLOSED TREE)
2011-05-10 14:55:52 -07:00
Ed Morley
97cc9c4eea
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Chris Leary
613529c295
Merge mozilla-central to tracemonkey.
2011-05-09 14:27:44 -07:00
Paul Biggar
8597b8a7b1
Backed out changeset 0c6254cb818d (bug 652593) due to PROCESS-CRASH orange in M(oth).
2011-05-09 09:50:36 -07:00
Paul Biggar
376c36615a
Bug 652593: Remove compound GET*PROP opcodes, to fix strict warnings (r=bhackett,dao)
...
The undefined property strict-mode warning was missed under some compound
opcodes. JM had removed those opcodes, and so the warnings appeared. This
ports the opcode remove to TM, fixing the warnings.
Bug 647626 removed the compound opcodes from JM, as they made type-inference
and the JITs more complex, for a minor speed impact (see
https://bugzilla.mozilla.org/show_bug.cgi?id=647626#c6 for benchmarks).
This also fixes the strict mode warnings that appeared in the browser as a
result of the fix.
2011-05-09 07:37:37 -07:00
Tom Schuster
664e0d73c8
Bug 654685: add reportCompare to fix warnings, no_r=
2011-05-08 00:11:03 +02:00
Tom Schuster
e440d0c7fb
Bug 654685: Remove Boolean.prototype.toJSON r=pbiggar
2011-05-07 22:34:44 +02:00
Tom Schuster
5302b73dc6
Bug 652154: Fix path reversal on windows in jstest r=pbiggar
2011-05-07 19:20:31 +02:00
Makoto Kato
683c13486d
Bug 654873 - ARM target (gcc 4.5.2 or later) should use built-in atomic function instead of arm-kuser. r=gal
2011-05-08 00:47:13 +09:00
Paul Biggar
b94ccc7ec3
Bug 653153: Fix the parseInt fast path doubles above 1e21 (r=jwalden)
...
The spec says parseInt needs to convert to a string before being converted to
an integer. For 1e+21 (and greater), ToString uses exponential notation:
"1e+21", which get's parsed as 1. The existing parseInt fast path for doubles
converted it directly into an integer, giving the result 1e21. The fix adds a
bounds check to see if the exponential notation is triggered, and still uses
the fast path if not.
2011-05-07 05:31:59 -07:00
Gregor Wagner
719f6b9f07
Bug 655175 - Add entrance and exit time to GCTimer. r=igor
2011-05-06 13:59:37 -07:00
Mike Hommey
3d7ead6f2e
Bug 620931 part 6 - Add a -a option to xpcshell to set an application directory. r=bsmedberg
2011-05-06 10:40:51 +02:00
Igor Bukanov
5fb08df182
bug 652416 - race fixes and other cleanups for background finalization. r=anygregor
...
--HG--
extra : rebase_source : b1685fff8fa5dab43b9b595daa6118249d3ef891
2011-04-25 22:05:30 +02:00
Josh Matthews
3a7c1ecbeb
Bug 652803 - Check for existing proxy operations before attempting to fix a proxy object. r=gal
2011-05-05 21:55:25 +02:00
Andreas Gal
807d7bee6f
Add a "binary" argument to snarf (bug 655168, r=cdleary).
2011-05-05 17:59:47 -07:00
Andrew McCreight
02359464cb
Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
...
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Blake Kaplan
51e2d8c1a9
Bug 651298 - Remove this assertion because document.domain makes it false. r=luke
...
--HG--
extra : rebase_source : 32cdb0b90074c7c7abe8a4d76de518bfc2757798
2011-04-28 15:40:21 -07:00
Blake Kaplan
006aca24cc
Bug 653309 - Don't break compartment rules. Hold the XPCWrappedNative pointer directly in the holder. r=gal
...
--HG--
extra : rebase_source : f59294302611044458748c76adcd4343ebaada54
2011-04-29 14:51:49 -07:00
Ryan VanderMeulen
a98fbd434c
Bug 653959 - Fix warning spam by using consistent declaration for js_DeclEnvClass. r=luke
2011-05-05 17:53:36 +02:00
Jeff Walden
41a554ec6e
Backed out changeset 83ae6e7c572e, maybe caused an orange, trying a backout of the most likely regressor. r=orange
2011-05-04 23:10:16 -04:00
Jeff Walden
cc9f0e8145
Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar
...
--HG--
extra : rebase_source : 6d2004b0d6089c0c6d85bdaf4d4b0c8240840109
2011-04-30 03:22:48 -04:00
Jeff Walden
4183e83140
Bug 653847 - JSON.parse should properly handle omitted arguments. r=pbiggar
...
--HG--
extra : rebase_source : 4ac9654d421a2504dbe24767fd5ffc0cbf52592e
2011-04-30 03:22:36 -04:00
Jeff Walden
c516b0ce16
Bug 653782 - Properly handle JSON.stringify(_, replacer) when replacer isn't callable or an array. r=pbiggar
...
--HG--
extra : rebase_source : fed45c114091f45c0573f6d3cafef4ab0dd442b1
2011-04-30 03:22:11 -04:00
Jeff Walden
180d9e56f6
Bug 653782 - Remove js_IndexToId, replace with an inline js::IndexToId. Also removes the redundant IndexToId in jsxml.cpp. r=igor
...
--HG--
extra : rebase_source : 4cb2b69a8f3d1877ca6514c8f9dfb3dc1af551b7
2011-04-30 03:19:26 -04:00
Jeff Walden
e61d3de540
Move GlobalObject.* into vm/. rs=cdleary
...
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
rename : js/src/GlobalObject.h => js/src/vm/GlobalObject.h
extra : rebase_source : 724ae53fda5a1c74a71b01f3d44796536d413a45
2011-04-28 19:08:22 -04:00
Gregor Wagner
c958dece01
Bug 652931 - Proper handling of large mark stack insertion. r=billm
2011-05-04 12:54:48 -07:00
Chris Leary
b4a0b2d486
Bug 654792: Give Shape::shape and Shape::id better names for great justice. (r=jorendorff)
2011-05-04 12:01:39 -07:00
Igor Bukanov
51d5dd40d1
Bug 600648 - faster GC mark bitmap operations. r=billm
2011-04-22 00:29:24 +02:00
Paul Biggar
1b6610df76
Bug 654073: Mark StopIteration as a class with no prototype. (r=jwalden)
...
This prevents infinite recursion when trying to initialize StopIteration.
2011-05-03 12:31:02 -07:00
Christian Holler
bfb3d790b3
Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm).
2011-05-03 04:26:40 -07:00
Luke Wagner
f08365f631
Bug 653631 - Fix faulty inlining of js_GetScriptedCaller (r=mrbkap)
2011-04-30 14:31:13 +07:00
Luke Wagner
89ab1b8024
Bug 653396 - Include JS_ARGS_LENGTH_MAX check in SplatApplyArgs (r=waldo)
2011-05-03 17:34:07 +07:00
Chris Leary
d8a23919cc
Merge mozilla-central to tracemonkey. (CLOSED TREE)
2011-05-02 10:55:34 -07:00
Igor Bukanov
6ba82bb313
bug 605029 - followup to fix inconsequel typo
2011-04-29 14:11:23 +02:00
Paul Biggar
89d0aeee78
Merge backout.
2011-04-29 04:01:23 -07:00
Paul Biggar
1a9c89b991
Backed out changeset 334ada87e329 (bug 628332) - those a11y errors arrived at the same time as this landing, so backing this out to see if that fixes it.
2011-04-29 04:00:57 -07:00
Christian Holler
16f3d5c486
Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm).
2011-04-27 16:09:00 -07:00
Paul Biggar
6996d452cb
Bug 651864 - Extract magic slot formula into inline functions (r=jwalden)
...
The global object has special slots for built-in objects' prototypes,
constructors and properties. This makes explicit the formula to calculate the
slot number for these special slots.
2011-04-28 07:18:11 -07:00
Paul Biggar
0a51a758dd
Backed out changeset 2919a6aa1ab7 (bug 652449) - jstests in |make check| bounces again.
2011-04-28 07:46:33 -07:00
Paul Biggar
5f49148d38
Bug 652449 - Turn on jstests in |make check| on linux only (r=jimb)
2011-04-28 06:45:18 -07:00
Paul Biggar
003f619b7f
Bug 642772: Don't recreate a class during enumeration, if it has been deleted (r=bhackett)
...
In SM, classes are lazily resolved. If we detect that a class about to be used
has not yet been resolved, then we resolve it. However, the way that we decided
that they were resolved was broken. If the global object had a String property,
then it had been resolved. So what happened when we deleted the String
property? Well, it got resolved again.
Instead of using the String property of the global object, we now use the
contructor slot on the global object. This works fine for String, but some
classes don't have a constructor, like Math and JSON. For those classes, we set
the constructor slot to True. In either case, we can now tell that a class is
resolved if the constructor slot in not Undefined.
2011-04-27 04:13:56 -07:00
Matthew Draper
fd6f614374
Bug 564577 - __noSuchMethod__ no longer invoked for defined non-function properties (r=igor)
2011-04-22 04:38:24 +09:30
Igor Bukanov
679fd56357
bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey
2011-04-20 07:30:10 +02:00
Chris Jones
d737e982f8
Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke
2011-04-28 17:48:52 -05:00
Chris Jones
91abf226cc
Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke
2011-04-28 17:48:51 -05:00
Chris Jones
17bacd3dcf
Bug 642381, part 1: Remove js::Conditionally. r=luke
2011-04-28 17:48:51 -05:00