Commit Graph

68641 Commits

Author SHA1 Message Date
Gregor Wagner
b087efb463 Bug 655175 - Add entrance and exit time to GCTimer. r=igor 2011-05-06 13:59:37 -07:00
Igor Bukanov
0370e3ab43 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
1e266b7afb 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
e7d653fb45 Add a "binary" argument to snarf (bug 655168, r=cdleary). 2011-05-05 17:59:47 -07:00
Andrew McCreight
5d31eb0d55 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
9c143b391d 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
c16987745d 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
36e9afa970 Bug 653959 - Fix warning spam by using consistent declaration for js_DeclEnvClass. r=luke 2011-05-05 17:53:36 +02:00
Jeff Walden
849fe0bfd1 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
e625314785 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
ca1b251411 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
eabb72c0f4 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
9361f3bfc8 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
e9bdd399b1 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
685d432db1 Bug 652931 - Proper handling of large mark stack insertion. r=billm 2011-05-04 12:54:48 -07:00
Chris Leary
e5b4259e5a Bug 654792: Give Shape::shape and Shape::id better names for great justice. (r=jorendorff) 2011-05-04 12:01:39 -07:00
Phil Ringnalda
fdd335309f Bug 654700 - Disable Profile Guided Optimization on Linux/Linux64. 2011-05-04 09:47:28 -07:00
Igor Bukanov
212be881c3 Bug 600648 - faster GC mark bitmap operations. r=billm 2011-04-22 00:29:24 +02:00
Paul Biggar
4d87b14d7d 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
b0902374f8 Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm). 2011-05-03 04:26:40 -07:00
Luke Wagner
05bfe5cb0b Bug 653631 - Fix faulty inlining of js_GetScriptedCaller (r=mrbkap) 2011-04-30 14:31:13 +07:00
Luke Wagner
4023060e30 Bug 653396 - Include JS_ARGS_LENGTH_MAX check in SplatApplyArgs (r=waldo) 2011-05-03 17:34:07 +07:00
Chris Leary
0e70d84970 Merge mozilla-central and tracemonkey. (CLOSED TREE on tracemonkey side) 2011-05-02 15:47:41 -07:00
Wes Johnston
b1615f62b0 Bug 650965 - Additional test logging. r=stechz 2011-05-02 14:32:39 -07:00
Cameron McCormack
9d526d1a90 Bug 645268 - Random orange fix try for browser_webconsole_bug_595934_message_categories.js; make sure we listen for the right load event. r=msucan 2011-05-03 09:14:49 +12:00
Brad Lassey
81dd6cbe78 bug 644943 - nsHandlerService should not be used in the content or plugin processes because it requires access to the profile directory r=bz 2011-05-02 16:59:24 -04:00
Matt Brubeck
ec0601dc8e Bug 653772 - Add a minimum velocity to start kinetic panning [r=stechz] DONTBUILD (mobile only) 2011-05-02 13:34:00 -07:00
Matt Brubeck
01a58f3c9c Bug 653990 - preventDefault on touchmove does not completely prevent panning [r=wesj] 2011-05-02 12:57:22 -07:00
Zack Weinberg
bfba1f66e2 Bug 653179: fix a call to nsRenderingContext::GetWidth(). r=dholbert 2011-05-02 12:27:36 -07:00
Olli Pettay
a4d206d66a Bug 654182, svgnumberlist keeps a strong pointer to element, r=dholbert 2011-05-02 22:19:20 +03:00
Chris Leary
55f7c6409e Merge mozilla-central to tracemonkey. (CLOSED TREE) 2011-05-02 10:55:34 -07:00
Matt Brubeck
09cf38f1e6 Bug 654127 - Cache "contentMightCaptureMouse" attribute per tab instead of globally [r=wesj] 2011-05-02 10:43:28 -07:00
Matt Brubeck
1c285487e5 Bug 653990 - Minor bustage fixes for touch events [r=wesj] 2011-05-02 10:43:25 -07:00
Igor Bukanov
5164b785fd bug 605029 - followup to fix inconsequel typo 2011-04-29 14:11:23 +02:00
Paul Biggar
b005c6c2d4 Merge backout. 2011-04-29 04:01:23 -07:00
Paul Biggar
15828cd649 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
faf48eb1e7 Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm). 2011-04-27 16:09:00 -07:00
Paul Biggar
0a4b3c92dd 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
4011ba8b50 Backed out changeset 2919a6aa1ab7 (bug 652449) - jstests in |make check| bounces again. 2011-04-28 07:46:33 -07:00
Paul Biggar
a987ff3fd1 Bug 652449 - Turn on jstests in |make check| on linux only (r=jimb) 2011-04-28 06:45:18 -07:00
Paul Biggar
e4d6748cc4 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
3eb02c1b43 Bug 564577 - __noSuchMethod__ no longer invoked for defined non-function properties (r=igor) 2011-04-22 04:38:24 +09:30
Igor Bukanov
8b0d367736 bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey 2011-04-20 07:30:10 +02:00
Chris Jones
a61c26e2c0 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
6fd4cbff2d Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke 2011-04-28 17:48:51 -05:00
Chris Jones
0adf6af157 Bug 642381, part 1: Remove js::Conditionally. r=luke 2011-04-28 17:48:51 -05:00
Jeff Walden
76a4343e93 Bug 652215 - Add a js::StringObject subtype of JSObject. r=njn
--HG--
extra : rebase_source : 7cdfe72d0932b51408b9ec5dc38219605e1925ce
2011-04-20 16:33:05 -04:00
Marco Zehe
09ec7104b8 Bug 649929 - Improve screen reader readability of the Help/About window, r=gavin 2011-04-14 11:18:48 +02:00
Mark Finkle
046c065377 Bug 651947 - Build error on Windows in winEmbed.cpp:171 - missing type specifier - int assumed [r=bsmedberg] 2011-04-28 09:50:00 -04:00
Mark Finkle
e1c1ce4a9b Bug 653780 - Use real MouseEvents, not simple Events for TapDow, TapMove and TapUp [r=wjohnston] 2011-05-02 11:42:40 -04:00