David Anderson
40bd766a50
Move SnapshotIterator to IonFrameIterator (bug 732852 part 4, r=pierron).
2012-04-02 13:27:07 -07:00
David Anderson
109fbbe387
Refactor SnapshotIterator and remove IonBailoutIterator (bug 732852 part 3, r=pierron).
2012-04-02 13:25:05 -07:00
Nicolas Pierron
c792478c00
Fix StackIter iteration over empty Ion activations (Bug 739901 part 2, r=dvander)
2012-04-02 12:38:03 -07:00
Joey Armstrong
b987443424
Bug 680246 - add missing files from import - r=khuey
2012-04-02 15:28:37 -04:00
Joey Armstrong
fc0e131cb1
Bug 680246 - add a makefile library rule to support thread safe directory creation - r=khuey
2012-04-02 13:06:06 -04:00
David Mandelin
60a558fc76
Bug 737780: diagnostic for crashes in GetNameFromBytecode, r=luke
2012-04-02 11:31:37 -07:00
Mike Hommey
63b2524d81
Bug 644608 - Implement full dependencies for expandlibs. r=ted
2012-03-31 09:24:39 +02:00
Mike Hommey
a4aae87aec
Bug 741287 - Make expandlibs_gen.py error out when given a missing file. r=ted
2012-04-06 10:16:25 +02:00
Terrence Cole
efc8bb37f1
Bug 730452 - Trigger post barriers on moveDenseArrayElements; r=billm
...
We cannot do this per-element because it is too slow. Instead we have a special
storebuffer entry for this case so we can do all work at gc time.
--HG--
extra : rebase_source : 7e48184d38b442b2bdba38553cf93f9d629debf1
2012-04-05 17:56:53 -07:00
Jim Blandy
7fd66f3128
Bug 733461: Implement the 'query' parameter of Debugger.prototype.findScripts. r=jorendorff
2012-04-05 17:10:44 -07:00
Bill McCloskey
2811c81de8
Bug 739899 - Fix clang warning (rs=terrence)
2012-04-05 17:05:34 -07:00
Bill McCloskey
83c4e91ed6
Bug 739899 - Fix orange
2012-04-05 16:50:40 -07:00
Terrence Cole
73120263f6
no bug: Warning fix at predeclaration of AutoCompartment; r=jorendorff
2012-04-05 16:31:26 -07:00
Bill McCloskey
65a72b84c2
Bug 742570 - Improve shell control of incremental GC (r=igor)
2012-04-04 15:07:36 -07:00
Bill McCloskey
6e3982b839
Bug 742570 - Improve GC testing functions (r=igor)
2012-04-03 14:07:38 -07:00
Bill McCloskey
90e65d2fdb
Bug 742570 - Change API for compartment GCs (r=igor)
2012-04-03 12:23:11 -07:00
Bill McCloskey
3ace6566fe
Bug 742570 - Remove the compartment option for gczeal (r=igor)
2012-04-03 11:41:56 -07:00
Bill McCloskey
1eff4f5687
Bug 739899 - Eliminate the distinction between full and compartment GCs (r=igor)
2012-04-02 18:29:11 -07:00
Luke Wagner
7c8c1d4b3f
Bug 743034 - Fix script proto exec. r=bholley
2012-04-05 15:44:55 -07:00
Gabor Krizsanits
c306ffc838
Bug 733035 - postMessage support for sandboxes. r=khuey
2012-04-05 18:33:20 -04:00
Bobby Holley
5fdde2f486
Bug 739825 - Push principals when entering compartments in structured clone. r=mrbkap
2012-04-05 14:02:34 -07:00
Terrence Cole
1affc4df58
Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=Waldo
...
We still have to continue building and linking jsdhash.cpp for XPConnect, but
this kills the remaining users in SpiderMonkey proper.
2012-03-30 10:33:20 -07:00
Terrence Cole
f55deb7328
Bug 741005 - Remove XPCNativeWrapperMap; r=bholley
...
This appears to be completely unused.
2012-03-30 15:56:35 -07:00
Matt Brubeck
6b29960c06
Back out bug 738011, bug 738624, and bug 737857 because of WinXP debug reftest log errors
...
--HG--
extra : rebase_source : 965c755f6416e2ca102b38633fe7a2c7267e956e
2012-04-02 12:44:31 -07:00
Andrew McCreight
0f2d884b02
Bug 744272. disable test_watchpoints due to bogus failures. rs=billm
2012-04-10 18:43:22 -07:00
Nicholas Nethercote
3f9ad62aaf
Bug 739512 - Patch 7: move scriptCounts into a table (attempt 2). r=bhackett.
2012-04-10 18:41:42 -07:00
Nicholas Nethercote
5d6764adf5
Backed out changeset fdd10e0e6e5e (bug 739512) due to 32-bit bustage.
2012-04-10 18:36:08 -07:00
Nicholas Nethercote
05656f8fc7
Bug 739512 - Patch 7: move scriptCounts into a table. r=bhackett.
2012-04-09 19:50:06 -07:00
Jeff Walden
23a4858cfa
Bug 743878 - Move uint8_clamped and associated machinery into ObjectImpl.h, so that the new object representation can use it as well. r=sfink
2012-04-09 15:14:59 -07:00
Terrence Cole
766f061885
Backed out changeset a43eb4a2d2fd
2012-04-10 17:03:25 -07:00
Terrence Cole
431a41bf56
Bug 744192 - Assert that Vectors do not contain implicitly postbarriered types; r=luke
...
Since vectors move their memory around outside the control of the GC, it is not
valid to store an implicitly post-barriered item in a Vector.
2012-04-10 16:43:54 -07:00
Luke Wagner
b17d72e8f5
Fix --disable-methodjit bustage (no bug, r=red)
2012-04-10 14:57:15 -07:00
Igor Bukanov
5220367ed1
Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
...
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.
The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Kyle Huey
e680841744
Fix Bug 743376. r=bz
2012-04-06 17:44:50 -07:00
Igor Bukanov
050d51e5ff
Bug 737364 - part 1 - stop using the cx in the GC implementation
...
This part removes JSContext::gcBackgroundFree, moves all mark-related
cleanup code to run right after the marking is done for clear mark/sweep
separation and eliminates all JSContext references in the GC
implementation. That allowed to remove a wait for the bakground
finalization to finish in js_DestroyContext. As a followup for the bug
737365 the patch also replaces in few cases the JSContext argument with
FreeOp in infallible code that only free/destroy things.
2012-03-25 09:48:45 +02:00
Jason Orendorff
76ffc19650
Fix "Assertion failure: srcArgs.callee().toFunction()->native() == native || srcArgs.callee().toFunction()->native() == js_generic_native_method_dispatcher, at jswrapper.cpp:788." Bug 743101, r=djvj.
2012-04-06 16:58:43 -05:00
Jason Orendorff
c20ca750fe
Debugger.Environment.getVariable and setVariable. Bug 692984, r=jimb.
...
--HG--
extra : rebase_source : fb68abbd27b3ca0809b20d99411ac797b337d227
2012-04-06 16:48:38 -05:00
Jason Orendorff
5995b7b117
Comment class js::FreeOp. No bug, no_r=me.
...
--HG--
extra : rebase_source : cd664de1c5aeca650b904f3ffc780c237c7044f3
2012-04-04 12:03:14 -05:00
Terrence Cole
017ac4b582
Bug 737258 - Provide the real thing location to the marker callback; r=billm
...
In debug builds only, this adds a new void* to the JSTracer struct so that users
that would have to lie about their address in order to mark safely can still
provide the real location to users that care.
--HG--
extra : rebase_source : 3e64c975a97f6f22b94e1bab522a18eb37ceb906
2012-04-05 16:10:53 -07:00
Terrence Cole
e6cabfa3d1
Bug 743047 - Make the script atoms HeapPointers; r=billm
...
These are only initialized and then read from, but we need to barrier the init
so that we will have a remembered set entry for atoms that are in the nursery.
--HG--
extra : rebase_source : 9a5a1eb3e0c76d4624a978627ff901d336b0c540
2012-04-05 15:54:57 -07:00
Takanori MATSUURA
6ba21f9576
Bug 737006 - Use internal ply only if needed. r=khuey
2012-04-06 14:06:52 -04:00
Luke Wagner
398d1b2cdc
Bug 740259 - add ALIASEDVAR ops, assert they are used iff the variable is aliased (r=bhackett,waldo,jorendorff,dherman)
2012-03-24 12:29:36 -07:00
Luke Wagner
7b63a166b8
Bug 740446 - make 'arguments' more like a normal local binding (r=bhackett)
2012-04-02 08:58:30 -07:00
Nicholas Nethercote
85b9728d6c
Bug 711895 - Tweak the warning options used for GCC builds (3rd attempt). r=waldo,derf,khuey,mhommey.
...
--HG--
extra : rebase_source : 20540c9b838ee3be6cb0847c1b90fdc3bd44059d
2012-03-21 22:21:16 -07:00
Phil Ringnalda
747b3f94e9
Back out 6c435c96f10a (bug 736591) for Mac jsreftest orange
2012-04-03 21:03:30 -07:00
Terrence Cole
f59cad57a1
Bug 742114 - Remove duplicate marking of TypeObject::interpretedFunction; r=billm
...
This looks like a merge conflict that I didn't resolve correctly. I also took
the liberty of re-ordering the marking here to match what's in MarkChildren and
the declaration ordering of TypeObject.
--HG--
extra : rebase_source : 33beeb5ea33f8238f6d4d17c223d29acdbfa9457
2012-04-03 18:33:41 -07:00
Jeff Walden
46af83cd2e
Bug 736591 - Ensure that StringBuffer never allocates more memory than is needed to represent a maximum-sized string. Thanks for the technique/idea go to Luke. r=luke
...
--HG--
extra : rebase_source : 3c35b6ac2541425812c57bc76374a43c3a554bbe
2012-04-03 17:18:46 -07:00
Masatoshi Kimura
658c5c654e
Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke
2012-04-03 20:08:28 -04:00
David Rajchenbach-Teller
5e7c5be79b
Bug 684017 - Implement ctypes.errno and ctypes.winLastError. r=jorendorff
2012-04-02 15:38:20 +02:00
Jeff Walden
45d2b24110
Bug 739380 - Begin to implement element definition. r=bhackett
...
--HG--
extra : rebase_source : 25fff9bc91610457feaaf45faa8d42dfec162384
2012-03-21 13:32:55 -07:00
Jeff Walden
9d6d3d9a2e
Bug 739380 - Define an ElementsHeader base class for all element subtypes, and define meaningful subclasses through which to use an ElementsHeader. r=bhackett
...
--HG--
extra : rebase_source : adb6feb2278c3130ec890d0e38b7bf1dd9e7e1e1
2012-03-21 13:32:55 -07:00
Matt Brubeck
ee9f4c7f0f
Merge mozilla-central to mozilla-inbound
2012-04-02 11:03:29 -07:00
Matt Brubeck
82e8c9aa19
Merge last green changeset from inbound to mozilla-central
2012-04-02 10:41:37 -07:00
Nicholas Nethercote
4ba621903e
Bug 739512 - Patch 6: improving naming of PCCount-related stuff. r=bhackett.
2012-04-01 13:24:56 -07:00
Nicholas Nethercote
d4cf675fb5
Bug 739512 - Patch 5: remove JITScript::arityCheckEntry. r=dvander.
2012-04-01 13:24:52 -07:00
Kyle Huey
8a52e3998a
Bug 722671: Components.utils.getWeakReference should get a reference to the underlying native object if possible. r=mrbkap
2012-04-01 19:21:13 -07:00
Ed Morley
7b8f9d67b3
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12
Bug 641821, MutationObserver, r=sicking
...
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Ed Morley
3fd9c7c059
Backout 82c315c0bd14 (bug 644608) for suspected SHARED_LIBRARY_LIBS_DEPS issues on a CLOSED TREE
2012-03-31 13:18:29 +01:00
Mike Hommey
3d4817cf81
Bug 644608 - Implement full dependencies for expandlibs. r=ted
2012-03-31 09:24:39 +02:00
Peter Van der Beken
c2e642fbcc
Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
...
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Terrence Cole
b1a071267e
Backout 00f2e1e9adc2 after mq malfunction.
2012-03-29 17:52:45 -07:00
Terrence Cole
f39a8777a1
Bug 738868 - Switch JSObject2JSObjectMap to new HashTable; r=mrbkap
2012-03-27 09:55:55 -07:00
Peter Van der Beken
42c9f22f81
Fix for bug 740064 (Refactor XrayWrapper). r=bholley.
...
--HG--
extra : rebase_source : 60559d74b10761a794d83a0a63dc60a92b2d48eb
2012-03-27 16:31:37 -07:00
Nicholas Nethercote
09e440360c
Bug 739512 - Patch 2: space-optimize representation of closedArgs and closedVars. r=dvander.
...
--HG--
extra : rebase_source : 8738fae7581265ba464899c9a7b6c53c118740b8
2012-03-25 17:07:33 -07:00
Terrence Cole
196698e430
Bug 549683 - Remove final JSDHashTable users from SpiderMonkey; r=?
...
This does not build jsdhash.cpp for SpiderMonkey, but does keep it in tree for
the remaining users in xpconnect.
--HG--
extra : rebase_source : 5780e1e024a247d619a548541ad84cbeeba6c75b
2012-03-23 16:00:01 -07:00
Bobby Holley
9dd40d82fa
Bug 740469 - JSNative->JSFunction fixup should happen in DefinePropertyById, not DefineProperty. r=luke
2012-03-29 13:34:36 -07:00
Dão Gottwald
82a7617222
Backed out changeset 6cb9adc02c12
2012-03-29 20:35:49 +02:00
Masatoshi Kimura
a899025dda
Bug 739659 - Try duck typing in js_ReportUncaughtException. r=luke
2012-03-29 19:49:21 +02:00
Doug Turner
1971e5dc9f
Bug 739760 - doubles and floats can't be used in dictionaries. r=khuey
2012-03-29 00:05:44 -07:00
Luke Wagner
bcfb0e3bd1
Bug 733793 - Check for null return from JS_ObjectToOuterObject (r=bholley)
...
--HG--
extra : rebase_source : 2b7fbb3a72f641785de7f7707e9b6e8013b4eb6d
2012-03-28 16:15:38 -07:00
Andrew McCreight
a59c979d1b
Bug 738700 - unmark wrapped gray objects from nsISupports. r=smaug
2012-03-28 21:51:46 -07:00
Andrew McCreight
6b700b5814
Bug 712735 - Don't add JS holders with no gray children as XPConnect roots. r=smaug
2012-03-28 21:23:01 -07:00
Nicholas Nethercote
ad6b9f4dc9
Bug 739512 - Patch 1: remove JSScript::cookie[12] and reorder JSScript members. r=wccloskey.
...
--HG--
extra : rebase_source : 825a78faae71c837fca3a3b9c9bee3a1d1ba85ab
2012-03-22 18:26:34 -07:00
Jim Blandy
3261f95478
Bug 740542: Implement Debugger.prototype.wrap. r=jorendorff
2012-03-31 23:26:37 -07:00
Boris Zbarsky
102b2ce8c9
Bug 739541. Add faster versions of JS_ValueToNumber and JS_ValueToECMAInt32. r=dmandelin
2012-03-28 16:35:21 -07:00
Ben Turner
f41653e7d9
Bug 737911 - 'Shrink bits for CACHED_PROTO_KEYs and add two new JSClass flags for the new DOM bindings'. r=lukew.
2012-03-28 14:50:31 -07:00
Luke Wagner
f2fca55413
Fix warnings in js/src (no bug, r=me)
2012-03-28 09:11:54 -07:00
Luke Wagner
cc8061b8c9
Bug 739520 - rm JSOP_SETLOCALPOP (r=bhackett)
...
--HG--
extra : rebase_source : d81a637b6b8ba873a78ea6971b3ef5010a0823a3
2012-03-26 22:29:55 -07:00
Luke Wagner
5d91eeef9f
Bug 736742 - Fix decompiler precedence for destructuring assignment with comma-expression (r=jorendorff)
...
--HG--
extra : rebase_source : d38dc6e2eec3a90e5bf1d86862da4734d374e6e2
2012-03-27 14:48:10 -07:00
Luke Wagner
1ee15c5ea7
Bug 739685 - rm useless makeAtom calls in BindNameToSlot (r=dvander)
...
--HG--
extra : rebase_source : 9c057d2e9a07738cdc2b6530c3d5aae79f6cb095
2012-03-26 22:33:28 -07:00
Luke Wagner
f23d473933
Bug 739532 - don't malloc BytecodeEmitter (r=jorendorff)
...
--HG--
extra : rebase_source : e831aeba4813e6a7eea7c0dedf9b3946525518ce
2012-03-23 11:29:30 -07:00
Jared Wein
ac11ea4de6
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-28 08:53:56 -07:00
Phil Ringnalda
4df8ed665b
Merge m-c to m-i
2012-03-27 21:21:11 -07:00
Tim Taubert
6b4733bdff
merge m-c to fx-team
2012-03-28 00:33:42 +02:00
Robert Strong
81a7bfd672
Bug 491947 - Disable DDE shell integration. r=jmathies
2012-03-26 12:45:29 -07:00
Ed Morley
6d495ce936
Merge mozilla-central and mozilla-inbound
2012-03-25 11:39:22 +01:00
David Mandelin
5287c89131
Bug 739808: Remove method cloning optimization and method barrier, r=luke
...
--HG--
extra : rebase_source : d383c3704c3efd08f9fbf1324433a94fc4a8dbb8
2012-03-23 17:59:56 -07:00
Jeff Walden
6acfc155bf
Bug 736591 - Check for exceeding the operation limit when iteratively matching a global regexp against a string. r=luke
...
--HG--
extra : rebase_source : 2a24b4a15909cfd2c04347b60131175fe77e83fe
2012-03-27 12:13:13 -07:00
Andreas Gal
a2952d31b2
Build changes to support gonk-ics (bug 737167, r=cjones, patch by mwu).
2012-03-25 03:13:35 +02:00
Ed Morley
6ac240de86
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-24 16:05:07 +00:00
Jared Wein
a80b6db592
Backed out changeset 8e42ba558f07 (bug 730318) CLOSED TREE
2012-03-27 15:23:53 -07:00
Bill McCloskey
ee49c9a7eb
Bug 739694 - Fix script filename saving in exception traces (r=luke)
2012-03-27 14:41:50 -07:00
Bill McCloskey
e429b441ae
Bug 703474 - Fix memory leak in GC write barrier verifier (r=igor)
2012-03-23 17:18:09 -07:00
Bill McCloskey
61a95b7336
Bug 737573 - Fix leak in SaveScriptFilename (r=igor)
2012-03-23 17:11:51 -07:00
Bobby Holley
5213bf72dd
Bug 733984 - Explicitly disallow shadowing on location wrappers. r=mrbkap
...
This was taken care of in other ways before, but we need to be more explicit about it now that we're doing more Xray stuff with Location wrappers.
2012-03-23 15:58:18 -07:00
Bobby Holley
8189f58fdd
Bug 667388 - Handle wrappers during structured clone. r=mrbkap
...
We also remove the declared-but-never-implemented JSObject::getWrapperHandler.
2012-03-23 14:59:27 -07:00
Bobby Holley
f8fe97314f
Bug 667388 - Introduce the PUNCTURE wrapper action. r=mrbkap
2012-03-23 14:59:27 -07:00
Bobby Holley
563b97de8f
Bug 667388 - Make the chrome-to-content Xray wrapper derive CrossCompartmentWrapper. r=mrbkap
...
The current situation seems incorrect, especially given the behavior of CrossOriginWrapper and XrayProxy. Currently it doesn't matter, but it probably will in the future.
2012-03-23 14:59:27 -07:00
Bobby Holley
4a0cc78ae2
Bug 733984 - Apply Location wrappers for same-origin cross-compartment wrapping. r=mrbkap
...
This isn't an issue right now, since it can't ever happen outside of sandboxes, which content can't use. But if it could, it could get a pure CrossCompartmentWrapper to a Location object, which is bad.
2012-03-23 14:59:23 -07:00