Commit Graph

17844 Commits

Author SHA1 Message Date
Igor Bukanov
afb57a37a5 bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
David Mandelin
c3adffee41 Bug 723728: use calloc again in allocateArrayBufferSlots because it's faster, r=jwalden 2012-02-03 15:02:39 -08:00
David Mandelin
02ff01199a Bug 714616 followup: add assertions to moveDenseArrayElements unbarriered, r=billm 2012-02-03 13:47:39 -08:00
Terrence Cole
ade66a269c Bug 716069 - Add missing post barriers to newObjectFromHit; r=billm
When we copy in the new object, we need to trigger barriers on the shape and
type pointers.  Note: all value immediates in the object are guaranteed to be
uninitialized.
2012-01-12 19:03:25 -08:00
Jonathan Kew
d5eafc2a16 backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts. 2012-02-03 14:01:35 +00:00
Luke Wagner
864734648c Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary)
--HG--
extra : rebase_source : 52e43bfbd134f8afcff15b354fcb777d9b0e71ba
2012-02-01 13:36:48 -08:00
Luke Wagner
bd5e43de5a Bug 688069 - Use CallArgs typey-ness throughout jsstr (r=waldo)
--HG--
extra : rebase_source : e07b03a817dff4193762ae7d134765e05065fc31
2012-01-27 15:32:53 -08:00
Luke Wagner
1f69b3025f Bug 688069 - remove spurious call to zeroLastIndex, bringing us to parity with jsc/v8. This allows removing RegExpPair and several other cleanups (r=cdleary)
--HG--
extra : rebase_source : ae6497b500e93019ecc06ba2668fbdbe70b15417
2012-01-27 15:32:53 -08:00
Luke Wagner
b78ff5f631 Bug 722594 - Remove xpc_CreateMTGlobalObject and mMTCompartmentMap (r=mrbkap)
--HG--
extra : rebase_source : 6dd76009eb8029499efcbe6bbb0b74d58000612c
2012-02-01 13:36:51 -08:00
Luke Wagner
492489ef53 Bug 692269 - Remove jsstr.h, vm/String.h, jsautokw.h, jsclone.h, jsopcode.tbl, jsopcode.h, jsstdint.h from INSTALLED_HEADERS (r=billm)
--HG--
extra : rebase_source : f9e20f1d52987251ad3d58c76531dcd5135076ad
2012-01-30 09:17:38 -08:00
Matt Brubeck
41d849e98d Merge mozilla-central to inbound 2012-02-02 20:49:06 -08:00
Olli Pettay
9aeadab10e Bug 716014 - Use CompartmentGC more often, r=billm,mccr8 2012-02-02 22:34:53 +02:00
Terrence Cole
712ce49b25 Bug 716136 - Add a configure flag to enable Generational GC; r=billm
These are already in the tree in several places to protect (empty) post write
barriers.  This will make it easier to test this functionality on more
platforms going forward.

--HG--
extra : rebase_source : d9c7f4f46392abbd608da94d02a7bc45f9fe8613
2012-01-06 17:05:33 -08:00
Matthew Gregan
99c543fe5d Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey 2012-01-13 14:38:39 +13:00
Andrew McCreight
e182241389 Bug 721933 - add way to do compartment GC with a reason. r=billm 2012-02-01 17:55:09 -08:00
Jeff Walden
24da30a0ce Bug 723249 - Implement a dump() function on JSString, JSAtom, and JSObject, for easier typing than js_Dump*. Also implement JSString::equals. r=luke
--HG--
extra : rebase_source : 0bb078d0ded8aa52753261605bc72a5eef45e65e
2012-01-31 18:03:41 -08:00
Igor Bukanov
08ee5eda35 bug 723021 - moving native stack limits into runtime. r=luke 2012-01-31 23:28:22 +01:00
Jeff Walden
ff29c96ecd Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke 2012-01-31 16:49:27 -08:00
Jeff Walden
1a25de04fc Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff 2012-01-19 17:15:33 -08:00
Steve Fink
5ca9ce3486 Bug 717104 - test that an unreachable global does not keep its Debuggers alive. r=woof!
--HG--
extra : rebase_source : 6249095c7501ba1e1647ea01998de685fe0a278e
2012-01-26 11:55:39 -08:00
Steve Fink
8a99995255 Bug 717104 - unreachable debuggee globals should not keep their debuggers alive. r=jorendorff
--HG--
extra : rebase_source : e1b4bc44adea1fa0bb94188ccaccc156c194dfbb
2012-01-16 17:02:15 -08:00
Phil Ringnalda
23ca89ddfb Back out 9aac714775b9 (bug 723111) for make check orange 2012-02-01 10:25:04 -08:00
Blake Kaplan
7cce8db259 Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
--HG--
extra : rebase_source : 51216cf21b63554e50633c89f393c5888241dee2
2012-01-26 14:55:27 +01:00
Terrence Cole
179a3ea391 Bug 716042 - Add missing barriers to JSObject::TradeGuts; r=billm
Add a manual post barrier to match the existing pre-barrier.
2012-01-06 14:00:35 -08:00
Brian Hackett
61062f7710 Catch some opcodes which return directly from a script, bug 723099. r=dvander 2012-02-02 16:09:47 -08:00
Brian Hackett
75773d6f67 Remove bogus assert, bug 722021. r=jandem 2012-02-02 16:06:41 -08:00
Blake Kaplan
2718588789 Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky 2012-01-26 14:55:27 +01:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
b34f83251c Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Jason Orendorff
0492762a38 Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb. 2012-01-27 14:16:22 -06:00
Jason Orendorff
e0f3a848e0 Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke. 2012-01-27 14:14:01 -06:00
Peter Van der Beken
5be8d4ae29 Fix for bug 717009 (Inline ListBase<LC>::instanceIsListObject and ListBase<LC>::getListObject). r=bz.
--HG--
extra : rebase_source : 368514fa942cb31751e5c6b4ff9d206c1bb609bc
2011-11-09 11:37:47 +01:00
Landry Breuil
46d9c1c541 Bug 653551 - Jaegermonkey Sparc back-end broken on sparc64. r=leon.sha 2012-02-02 15:31:56 +09:00
Peter Van der Beken
8f4abab950 Fix for bug 716997 (Allow new DOM bindings with 0 methods or properties). r=jst.
--HG--
extra : rebase_source : 2b16fa38254362cdedc136a8a4b07261ab2f6a76
2011-10-14 23:21:39 +02:00
Peter Van der Beken
0fc6b252db Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap.
--HG--
extra : rebase_source : 5baa4b1afeecf64e7f1945869e9cd2ae9045b44c
2011-10-14 23:29:36 +02:00
Boris Zbarsky
a16c2d5b2f Bug 722729. Expose a public API for LinkConstructorAndPrototype. r=bhackett 2012-01-31 22:40:49 -05:00
Nicholas Nethercote
2806f8e46a Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Matt Brubeck
477166b9cd Back out 08f4fc94e27b f3ceed05f6b7 f87d25461d6c 317e842f6c65 57adfe804b56 (bug 720316, bug 722260) 2012-01-31 17:34:26 -08:00
Jeff Walden
087f6661bf Add END_CASE_LEN7 for Windows support, and add two forgotten manifest lists. Bug 722260 for the latter, no bug for the former, r=bustage 2012-01-31 16:49:27 -08:00
Brian Hackett
3fad42139d Don't run compile-and-go scripts on globals with a cleared scope, bug 680456. r=dmandelin 2012-01-31 16:36:07 -08:00
Jeff Walden
aca6a8d43b Backed out changeset f87d25461d6c -- seems js_DumpString (at least) is only exposed in vm/String.cpp #ifdef DEBUG. Still no bug, r=bustage 2012-01-31 16:32:02 -08:00
Jeff Walden
3063cb25ed Add dump() to JSString, JSAtom, and JSObject as an easier-to-type alias to js_Dump*. Also add equals(const char*) methods to JSAtom and JSString. These methods are all to be used *only* while debugging. No bug, rs=luke over IRC 2012-01-31 15:48:27 -08:00
Jeff Walden
39fe0fb11b Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke
--HG--
extra : rebase_source : 54ac2dccb9c1cb5c53f726939c988c4abfd74ab7
2012-01-30 17:08:34 -08:00
Jeff Walden
1742f079e4 Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff
--HG--
extra : rebase_source : 179deea8ca29b157b88658ccde6eabd6df48fab2
2012-01-19 17:15:33 -08:00
Sander van Veen
b8326718a6 Bug 681556 - Default sandboxName to the caller's filename. r=mrbkap. 2012-01-30 20:06:41 -08:00
Boris Zbarsky
51674030be Bug 722734. Add const signatures for converting back and forth between JS::Class and JSClass. r=mrbkap 2012-01-31 17:14:56 -05:00
Ed Morley
5ff5a6b689 Merge mozilla-central to mozilla-inbound 2012-01-31 21:20:50 +00:00
Jim Blandy
a5ad7d84a9 Bug 722551: Once a function proxy has been frozen, operating on it should not cause its trap handlers to be called. 2012-01-31 12:48:14 -08:00
Jim Blandy
41478149c4 Bug 722622: Remove custom trace function from js_NoSuchMethodClass. r=waldo
Since js_NoSuchMethodClass is a native class, the normal slot traversal
will reach the function and id slots.
2012-01-31 12:38:19 -08:00
Alex Keybl
945a2f1348 Bug 700000 - Version bump 2012-01-31 10:57:49 -08:00
David Mandelin
0df5a8f252 Bug 714616: fix write barrier in Array.shift, r=billm
--HG--
extra : rebase_source : 2fd10ab4cc3a93aee188ef6f9bbc388f66da2d37
2012-01-30 17:13:07 -08:00