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
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
Luke Wagner
df74b15a74
Bug 740259 - Assert that dynamic binding access is expected (r=bhackett)
2012-03-16 12:02:37 -07:00
Luke Wagner
2fd1b31a43
Bug 740259 - Tighten assertions around closed-var noting (r=bhackett)
2012-03-28 16:36:57 -07:00
Brian Hackett
82d6dfefe1
Treat FILTER and ENDFILTER as unknown ops, bug 740595. r=luke
2012-04-10 12:59:38 -07:00
Brian Hackett
f07d7134e6
Remove bogus assert, bug 727476. r=luke
2012-04-10 12:56:59 -07:00
Brian Hackett
ff26f41a91
Avoid assert botch in makeLazyType after types have been nuked, bug 734978. r=luke
2012-04-10 12:36:26 -07:00
Brian Hackett
0f2b8a2a2b
Don't botch assert after OOM while constructing object's lazy type, bug 735016. r=luke
2012-04-10 12:27:13 -07:00
Brian Hackett
8f6d99798b
Bail out from on calling functions if an OOM occurs while during initial bytecode analysis, bug 727341. r=luke
2012-04-10 12:24:46 -07:00
Brian Hackett
8bd6082ef9
Preserve invariant between saved array and lifetime variables' saved fields on OOM during analysis, bug 735045. r=luke
2012-04-10 12:16:42 -07:00
Brian Hackett
2f124d21ed
Nuking types should be recognized as a recompilation by enclosing monitors, bug 735012. r=dvander
2012-04-10 12:10:04 -07:00
Brian Hackett
1ff7271386
Don't botch assert after OOM while linking ICs, bug 727344. r=dvander
2012-04-10 12:07:26 -07:00
Terrence Cole
ae810f2b36
Bug 744052 - Restructure HashTable::checkOverflow for easier reading; r=luke
...
When I added this function, I just copied the existing logical structure. It
makes more sense here to check overflowed and return early, since we can do this
now.
2012-04-10 09:51:48 -07:00
Ehsan Akhgari
54572a4311
Merge mozilla-central into mozilla-inbound
2012-04-10 11:12:26 -04:00
Ehsan Akhgari
0e0d82c20e
Merge the last PGO-green changeset from mozilla-inbound into mozilla-central
2012-04-10 11:11:37 -04:00
Igor Bukanov
b600b7db2f
Bug 743559 - Remove unused JSRuntime::xml_singleton fields. r=:Waldo
...
The patch removes unused anynameObject and functionNamespaceObject fields in JSRuntime.
2012-04-10 11:57:29 +02:00
Terrence Cole
49d3da6509
Bug 743885 - Fix OOM handling regression in HashTable; r=luke
...
Introduced by me in bug 722946.
2012-04-09 19:07:11 -07:00
Kyle Huey
a321486239
Refix bug 741248 harder. r=me
2012-04-09 17:41:22 -07:00
Brian Hackett
dc3c33f7c6
Don't disable call ICs with the callee frame still on the stack, bug 743088. r=luke
2012-04-09 17:33:42 -07:00
Nicholas Nethercote
69aced89c8
Bug 742163 (follow-up) - Unbreak --disable-methodjit. r=Ms2ger.
2012-04-09 16:41:27 -07:00
Nicholas Nethercote
2e5124c468
Bug 739512 - Patch 2b: rename nClosed{Args,Vars}() as numClosed{Args,Vars}(). r=luke.
2012-04-09 16:37:16 -07:00
Matt Brubeck
0f3bc5ceb0
Merge last green changeset from inbound to mozilla-central
2012-04-09 10:05:48 -07:00
Takanori MATSUURA
714abf89d4
Bug 743433 - Remove .orig files which were accidentally added by bug 680246. r=khuey
2012-04-07 08:48:23 -04: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
Mike Hommey
f486d1cc20
Backout bug 644608 for subtly breaking layout/media build
2012-04-06 13:57:24 +02: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
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
6082453572
Bug 738279 - Change 'pc' to match 'sp' in forced return path (r=bhackett)
...
--HG--
extra : rebase_source : 24cecb569cdb5df33737877bc3f02a5ceea342b1
2012-04-09 09:12:44 -07:00
Luke Wagner
1ec6909fdb
Bug 723445 - StackIter should ExpandInlineFrames in all compartments, not just the current one (r=bhackett)
...
--HG--
extra : rebase_source : 4dfa9962367f0cc6cf3b5657c9fbc5a425f15f41
2012-04-09 09:11:26 -07:00
Takanori MATSUURA
011721457f
Bug 743630 - Remove unsed variable XPIDL_COMPILE. r=khuey
2012-04-09 13:36:14 -07:00
David Mason
a5f5de9c0a
Bug 732779 - Update Date.prototype.set{Second,Minute,Hour,etc} methods to not short-circuit argument evaluation when this date is invalid or a leading argument converts to NaN. r=jwalden
...
--HG--
extra : rebase_source : cd10ac2d8a4cc5a55d971692def76cadaf4c4bd1
2012-04-06 18:06:14 -07:00
Ms2ger
22e29fc829
Merge m-c to m-i.
2012-04-09 09:32:28 +02:00
Josh Matthews
5978c3b66a
Bug 704147 - Make ctypes function pointers callable via call and apply. r=bholley
2012-02-14 16:26:05 -05:00
Jim Blandy
71296c2439
Bug 741615: Replace Debugger.prototype.wrap with Debugger.Object.prototype.makeDebuggeeValue. r=jorendorff
2012-04-05 12:30:35 -07:00
Bobby Holley
6d5b3754f7
Bug 739796 - Make same-origin cross-compartment Location object access go through the LW in the host compartment. r=gal
...
--HG--
extra : rebase_source : d5e07d4628bfd5990d127b4316219a43c4e0de88
2012-04-05 12:21:12 -07:00
Bobby Holley
5c79d2757f
Bug 739796 - Make js_TransplantObjectWithWrapper and GetSameCompartmentSecurityWrapper play nicely together. r=mrbkap
...
--HG--
extra : rebase_source : c132069987b4cae121dfcf1b19ffacaee845df1e
2012-04-05 12:21:12 -07:00
Bobby Holley
a3abb07ffe
Bug 739796 - Move same-compartment security wrapping into a method on XPCWrappedNative. r=gal
...
--HG--
extra : rebase_source : 48c61d699d27d390be2bcfb006f12264345f9d49
2012-04-05 12:21:12 -07:00
Daniel Holbert
223d54613a
Bug 742788: Fix two 'warning: comparison of unsigned expression >= 0 is always true' in js. r=luke
2012-04-05 10:56:22 -07:00
Ehsan Akhgari
b74a7df1cf
Merge mozilla-inbound and mozilla-central
2012-04-05 13:41:51 -04:00
Ehsan Akhgari
e130fd8945
Merge the last green PGO changeset from mozilla-inbound to mozilla-central
2012-04-05 13:40:53 -04:00
Boris Zbarsky
c251fe869d
Bug 738356. Add JSAPI for doing the equivalent of Function.prototype.bind. r=jorendorff
2012-04-05 13:14:52 -04:00
Mike Hommey
46646a522a
Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey
2012-04-05 09:20:53 +02:00
Nicholas Nethercote
161176956a
Bug 742163 - Clean up JSScript::jitArityCheck{Normal,Ctor}. r=dvander.
2012-04-05 00:02:02 -07:00
Chris Cooper
ab4a917101
Merge build-system to mozilla-central
2012-04-04 14:02:07 -04:00
Joey Armstrong
ffd562b9b7
Bug 738404 - Makefile.in edits to use threadsafe mkdir (bug 680246) - r=ted
2012-04-03 16:08:16 -04:00
Joey Armstrong
8f462b32df
Bug 735638 - add utility function checkIfEmpty - r=khuey
2012-04-03 13:34:04 -04:00
Joey Armstrong
d4a56dfb3b
Bug 734121 - helper macros for writing make user functions - r=khuey
2012-04-03 13:32:46 -04:00
Phil Ringnalda
05a63495cd
Merge m-c to b-s
2012-04-03 08:27:38 -07:00
Nicholas Nethercote
517f27753a
Backout 2f9b6bdf63f7 (bug 739512) due to a bad V8 regression. r=me.
2012-04-02 18:02:54 -07:00
Bill McCloskey
5019ff0713
Bug 716142 - Multi-compartment GC (r=igor,jorendorff)
2012-04-02 17:02:25 -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
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
Luke Wagner
09b32d7e62
Fix semicolon warning in js/src (no bug, r=me)
...
--HG--
extra : rebase_source : 698de99375bcba9438a73460db3e04082d7ca0a9
2012-04-04 18:23:21 -07:00
Bobby Holley
8682c50a00
Bug 737251 - Reuse the throwing code in jsobj.cpp for jsproxy.cpp. r=luke
2012-04-04 17:26:21 -07:00
Bobby Holley
d602c19f48
Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part3. r=luke
2012-04-05 09:39:41 +10:00
Bobby Holley
726caa9a7c
Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part2. r=luke
2012-04-05 09:39:25 +10:00
Bobby Holley
75a3219ca6
Bug 737245 - Typed Arrays should handle cross-compartment wrappers; part1. r=luke
2012-04-05 09:38:47 +10: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
Bobby Holley
da79fb87b2
Bug 733984 - Use the Location security policy even for content accessing chrome. r=mrbkap
...
I'm adding asserts about when we do and don't have a Location object behind the wrapper, and this case was hitting them. What we do here doesn't so much matter given how this stuff all works. On the one hand, statically using a restrictive policy is slightly more defense-in-depth. On the other hand, if this stuff is broken we're screwed in much more serious ways than content reading chrome locations, and using a consistent wrapper scheme allows us to make stronger asserts and assumptions.
I opted for stronger assumptions and more understandable security code. If Blake feels strongly though, I could go the other way and sprinkle '|| isChrome(obj)' throughout the asserts though.
2012-03-23 14:59:19 -07:00
Bobby Holley
1b0610af05
Bug 733984 - Clarify the security characteristics of Location objects. r=mrbkap
...
I was getting confused by some of the naming and lack of comments here.
2012-03-23 14:59:07 -07:00
Bobby Holley
ac2c44ee09
Bug 733984 - Stop specializing createHolder, and simplify holder creation in WrapperFactory::Rewrap. r=mrbkap
2012-03-23 14:59:04 -07:00
Ginn Chen
53a34220fd
Bug 737344 make the jsval_layout field in JS::Value public on SPARC for binary compatibility across C and C++ r=luke
2012-03-27 10:51:49 +08:00
Bill McCloskey
34b8d204cc
Bug 737997 - Ensure we never do compartment GCs if preference is unset (r=igor)
2012-03-26 16:29:08 -07:00
Gregor Wagner
ec5cd78551
Bug 678695 - Settings API. r=sicking, fabrice, smaug
2012-03-26 14:49:38 -07:00
Jeff Walden
16c13e16cb
Bug 738075 - Remove the unnecessary Class* argument from GlobalObject::createConstructor. r=dmandelin
2012-03-21 13:32:43 -07:00
Jared Wein
3c05f07191
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:11:31 -07:00
Mike Hommey
1cfe016bf0
Bug 734050 - Build stlport as part of our build process. r=ted
2012-03-23 17:35:09 +01:00
Makoto Kato
3c8dc78903
Bug 684138 - Remove unused GARBAGE from configure.in. r=khuey
2012-03-23 14:45:51 +09:00
Nicholas Nethercote
1c90ec2f58
Bug 738153 - Remove JSScript::inlineData. r=luke.
...
--HG--
extra : rebase_source : f003203fbe0219735655d334192fca14cc434736
2012-03-21 23:05:23 -07:00
Jared Wein
61ab14237c
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-22 13:53:59 -07:00
Mike Hommey
bd6a8730b3
Bug 736959 - Don't wrap PR_Malloc and other NSPR allocation functions. r=khuey
2012-03-22 08:01:27 +01:00
Nicholas Nethercote
6ae6850783
merge
2012-03-21 21:48:40 -07:00
Nicholas Nethercote
c4ee2f9bdc
Backed out changeset 0124795a8cbb (bug 711895) due to i10n build bustage. r=me.
2012-03-21 21:46:27 -07:00
Pranav Ravichandran
c6ac0d8892
Bug 535594 - Fix/Clean-up 'security.enable_java' preference references. r=bsmedberg
2012-03-21 19:52:23 -04:00
Peter Van der Beken
6fd0c1b877
Bug 738593 - Rename IsProxy to IsDOMBinding; r=mrbkap
2012-03-16 16:44:09 +01:00
Ms2ger
679b93a7ba
Bug 736619 - remove the unused struct ClearedGlobalObject from XPCJSRuntime; r=bholley
2012-03-24 09:18:22 +01:00
Jared Wein
3f49c23fdd
Backed out changeset 5f79a3dd45ff (bug 730318) r=bustage
2012-03-23 11:46:12 -07:00
Nicholas Nethercote
5524d35c04
Bug 711895 - Tweak the warning options used for GCC builds (2nd attempt). r=waldo,derf,khuey,mhommey,jwatt.
2012-03-15 19:40:00 -07:00
David Mandelin
e602973e64
Bug 726794: clean up some WTF Platform.h macros, r=dvander
...
--HG--
extra : rebase_source : 1969660fdeda9c426c9e37a68fc067786ef79d58
2012-03-16 17:02:52 -07:00
Bill McCloskey
2898570725
Bug 736643 - Add timestamp support to GC/CC JSON output (r=terrence)
2012-03-16 16:36:26 -07:00
Jim Blandy
d3ae4a11e2
Bug 734454: Use a table to declare atoms. r=waldo
2012-03-16 16:15:31 -07:00
Jim Blandy
d437ab862a
Bug 734454: Minor cleanups to atom declarations and definitions, in preparation for conversion to a table. r=waldo
2012-03-16 16:15:31 -07:00
Jeff Walden
c47c965e9c
Bug 738075 - Remove JSFunction::u::n::clasp, and change associated code accordingly. r=dmandelin
2012-03-12 16:16:40 -07:00
Jeff Walden
81709e7dd8
Bug 738072 - Slot numbers are uint32_t, so use uint32_t rather than unsigned for slot numbers, slot counts, and so on. r=dmandelin
...
--HG--
extra : rebase_source : f67146dbd510e1e94b1298344d8335c35350b7c8
2012-03-22 11:50:49 -07:00
Jeff Walden
6c0e0d27b1
Bug 728411 - Move private data bits from JSObject to ObjectImpl. r=bhackett
...
--HG--
extra : rebase_source : 69aa2fae9e9a3a43496329ed939468214ee7c9d1
2012-03-21 13:32:55 -07:00
Bill McCloskey
fd165164dd
Bug 737384 - Use reserve rather than resize for iterator wrapping (r=luke)
2012-03-26 11:06:49 -07:00
Andrew McCreight
b2648dcd9f
Bug 708825 - set mIdentity to null if compartment enter fails. r=bholley
2012-03-09 18:41:13 -08:00
Doug Turner
372d681311
Backout of fd4b5485c24f (Bug 704147)
2012-04-04 14:31:09 -07:00
Jeff Walden
82fef5e2c3
Windows build bustage fix -- looks like Windows doesn't recognize nested method definitions with const, implicitly namespace-nested argument types (?). No bug, r=red, all hail MSVC
2012-03-21 14:55:12 -07:00
Jeff Walden
030a6aa172
Warning patrol. No bug, r=themaid
...
--HG--
extra : rebase_source : 49934cb03e1cde5ea44bda525d2502227117aa2a
2012-03-21 14:12:51 -07:00
Jeff Walden
5cc35226b4
Bug 728411 - Move a couple more slot methods over to ObjectImpl. r=bhackett
...
--HG--
extra : rebase_source : e9e872a9557d87cb545c1c209a946a6b87d85e4d
2012-02-24 20:01:05 -08:00
Jeff Walden
04138b6238
Bug 728411 - Move checkShapeConsistency into ObjectImpl. r=bhackett
...
--HG--
extra : rebase_source : 92525ff32e1d27c335eb0d2c73a8b54b0d5b8a54
2012-02-23 15:45:01 -08:00
Jeff Walden
800c0e5af6
Bug 728411 - Move most other slot-access methods into ObjectImpl. r=bhackett
...
--HG--
extra : rebase_source : 34a66226584835cdedc5958d0475606de972180a
2012-02-23 15:39:35 -08:00
Jeff Walden
8b9d875ceb
Bug 728411 - Move slot range operations into ObjectImpl. r=bhackett
...
--HG--
extra : rebase_source : 704d67267923e019df82de7f77f60b48c6c62128
2012-02-23 15:39:32 -08:00
Jeff Walden
e6976ebef4
Bug 737996 - Remove some essentially-obsolete configuration options from jsversion.h. r=luke
...
--HG--
extra : rebase_source : 4b54a0ab0a6fcdb15ee671ee8c1b460d4b4f4180
2012-03-21 12:23:07 -07:00
Terrence Cole
8904116cef
Bug 735761 - Fix a cosmetic error in the test suite; r=dmandelin
...
This patch pushes our null results for non-run tests before running other tests
so that when we do not try to update the progress bar after we finish running.
--HG--
extra : rebase_source : 02e53cddcab4c5898ef2636f78c806509ae33dcf
2012-03-21 11:49:01 -07:00
Igor Bukanov
9ba9747e3a
bug 730221 - followup to bump XDR version number as the previously landed changeset made incompatible changes to xdr format. r=bugzilla_comment
2012-03-21 19:14:42 +01:00
Hessam Salehi
25b8143afe
Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg
2012-03-21 14:07:31 -04:00
Luke Wagner
c97b610edb
Bug 737388 - Put back piece of prologue accidentally removed earlier (r=bhackett)
2012-03-21 01:51:11 -07:00
Brian Hackett
0baaf796f4
Use singleton types for global object initializers, bug 731398. r=dvander
2012-03-21 07:37:43 -06:00
Brian Hackett
d660ec709a
Update type sets persistently for arithmetic on objects, bug 733979. r=billm
2012-03-21 06:32:18 -06:00
Luke Wagner
1e24ec622e
Bug 736555 - don't use magic values to implement deleted args (r=bhackett)
...
--HG--
extra : rebase_source : f4e3f63512acb2ff8ee874de2d718bd7877932d6
2012-03-14 17:19:17 -07:00
Luke Wagner
527cb08cee
Bug 737575 - fix arguments['integer'] (r=dvander)
...
--HG--
extra : rebase_source : 5cb580a47187f2a88a98efc3fa8a88ee4c8bc551
2012-03-20 17:21:58 -07:00
Terrence Cole
73512b7fd7
Bug 737221 - Add a missing pre barrier on jsid strings; r=billm
...
--HG--
extra : rebase_source : 970b91446c7703966aa6f397ac40d8d9d486f796
2012-03-20 16:03:50 -07:00
Steve Fink
bfb79fbda2
Fix --enable-dtrace build failure from bug 737195. r=npotb, DONTBUILD
2012-03-20 12:48:43 -07:00
Terrence Cole
74008eefc7
Bug 737195 - Add barriers to JSFunction::atom; r=billm
...
This is only ever initialized, so it needs generational barriers, but not
incremental barriers.
2012-03-19 17:24:05 -07:00
Terrence Cole
dbe94b8be8
Bug 740673 - Simplify the C++ WeakMap implementation; r=jimb
...
It exposes way more configurability than we use at the moment.
2012-03-29 17:35:46 -07:00
Terrence Cole
ed16bd1b59
Bug 740153 - Don't expose Entry directly through HashMap; r=luke
...
HashMap and HashSet only expose Entries through Ptr and Range, except for one
variant of put. They also don't expose the default size they use if you call
init() without an argument. These weirdnesses seem to be interface carried over
from the old jsdhash.
The first oddness is unused and can be removed, the second should simply get
exposed to make it easier to wrap HashMap and HashSet.
--HG--
extra : rebase_source : e1432a9af189229f379158ba0529956ddbf5f234
2012-03-30 11:01:58 -07:00
Luke Wagner
ba933e8a39
Bug 740654 - Hoist recursion checks out of Interpret into callers so that Interpret does not throw when trying to rejoin from mjit (r=bhackett)
...
--HG--
extra : rebase_source : f85c12860d9172e5167e5952352b02d367e53057
2012-04-02 08:57:27 -07:00
Justin Lebar
155a287d43
Bug 738624 - Add ghost windows to about:compartments. r=njn
...
--HG--
extra : rebase_source : a486e644351af72a4276f26de2e4588ee851426f
2012-04-02 10:37:04 -04:00
Bobby Holley
e3df69dd0f
Bug 738874 - Don't allow non-classinfo XPCWNs to be wrapped cross-compartment. r=mrbkap
2012-03-25 22:35:50 -07:00
Makoto Kato
a41e6dd26b
Bug 716333 - get rid of WithConversion (xpconnect part). r=bholley
2012-03-26 14:12:15 +09:00
Igor Bukanov
7296e0408c
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
extra : rebase_source : f8f1536a86b7c3fe7296a16b6677bd21664af98a
2012-02-20 11:58:00 +01:00
Matt Brubeck
f83a9ab93e
Merge mozilla-central and mozilla-inbound
2012-03-24 09:05:27 -07:00
Masatoshi Kimura
9177b368f2
Bug 736686 - Part 1: Make dictionary initializers callable off main thread. r=khuey
2012-03-24 12:33:49 +01:00
Dão Gottwald
766a2b3244
Backed out changeset 30798fdc5bad
2012-03-24 12:33:30 +01:00
Igor Bukanov
f8a4496d31
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
2012-02-20 11:58:00 +01:00
Ms2ger
8775c56114
Backed out changeset f33e1e959036; r=bustage
2012-03-24 11:04:34 +01:00
Igor Bukanov
8e97874303
bug 737624 - memory-only encoding/decoding of scripts and functions. r=:luke
...
The patch shrinks the API presented in jsxdrapi.h down to 4 functions to
encode/decode scripts and interpreted functions to/from the memory. The
newly introduced implementation header vm/Xdr.h replaces the former
JSXDRState with the template class XDRState parametrized by the enum
type with two constants, XDR_ENCODE and XDR_DECODE. This way a compiler
can fully eliminate the former runtime checks for the decoding/encoding
mode. As a drawback this required to explicitly instantiate the xdr
implementation as I do not want to put all the xdr code to header files.
The memory-only XDR allows to avoid coping filename and to-be-atomized
chars to a temporary buffer as the code can just access the buffer
directly. Another change is that new XDRScript takes as a parameter its
parent script. This allowed to avoid keeping filename in XDRState and
simplify the filename management.
Another change is the removal of JS_HAS_HDR. As CloneScript uses XDR to
copy a script, JS_HAS_XDR cannot be disabled.
--HG--
rename : js/src/jsxdrapi.cpp => js/src/vm/Xdr.cpp
2012-02-20 11:58:00 +01:00
Jeff Walden
ced20c2644
Remove an unnecessary declaration that seems to be causing link errors only on Windows with some compilers. Followup to bug 739380, r=bustage
2012-04-03 09:10:22 -07:00
Justin Lebar
c7747cbafe
Bug 738624 - Add ghost windows to about:compartments. r=njn
...
--HG--
extra : rebase_source : c16cdfc4c06b363f54f1d0f37bb006cf977b079a
2012-04-02 22:28:05 -04:00
Josh Matthews
ee611c89d9
Bug 704147 - Make ctypes function pointers callable via call and apply. r=bholley
2012-02-14 16:26:05 -05:00
Daniel Holbert
6fdccfb996
Bug 742438: Fix straggling bool-vs-NULL comparison after HashSet::put return-type change. r=terrence
2012-04-04 11:18:18 -07:00
Igor Bukanov
2f97ce3e53
bug 737365 - followup to fix !JS_THREADSAFE build. r=none
...
--HG--
extra : rebase_source : 949296487fa23ae991adc29a9ecf66d79d7fbef0
2012-04-04 18:05:51 +02:00
Igor Bukanov
45bee87157
Bug 737365 - stop using the cx during finalization, part 3.
...
This part removes the usage of JSContext* during the finalization and
when sweeping the compartments. That required to change quite a few
methods in type inference, jit and debugger implementation to take a
FreeOp rather than JSContext pointer. In turn that also often required
to replace cx->compartment usage with extracting the compartment from
the passed objects or pass the compartment explicitly. On the plus side
it allowed to remove fallible compartment enter code in methods that
could be called during finalization.
2012-03-20 11:22:05 +01:00
Igor Bukanov
637a51f167
Bug 737365 - stop using the cx during finalization, part 2.
...
This parts removes the usage of JSContext* during the finalization in
Web Workers and JS shells implementations. With this chnages JSContext * is only
accessed during the finalization in the SpiderMonkey implementation.
2012-03-19 15:34:58 +01:00
Igor Bukanov
83623b313c
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
Igor Bukanov
fbeb82e29f
bug 730221 - delegating serialization of script principals to the embedding. r=:luke,:bz
...
Currently to serialize principals stored in JSScript we have a rather complex
schema. First there is the transcode callback that the embedding must provide
to transcode principals using XDR API. Second we use rather complex glue code
to implement that callback in terms of writing/reading nsIObjectOutputStream/
nsIObjectInputStream. This glue code is duplicated in 3 places. All this can
be avoided if we simply delegate transcoding of principals to the caller. In
addition, at least in the case of the cached startup scripts we do not even
need to transcode the principals as the the cached scripts always have the
system principal so we can skip all the transcode complexity there.
The patch implemnts this idea. In particular, the code in JS engine
responsible for transcoding of principals is replaced by the single API
function JS_XDRSetPrincipals that the embedding can use to set principals for
decoded scripts and functions. Then the startup cache uses this to set the
principals for the decoded script to the system principals. The other two
places in nsJSContext::Serialize and XBL_SerializeFunction that need to
serialize principals together with a function or script now uses common
utilities in nsXPConnect so the serialization complexity resides in the single
place.
2012-02-13 14:10:04 +01:00
Matt Brubeck
3141d23221
Merge mozilla-central and mozilla-inbound
2012-03-19 16:47:00 -07:00
Luke Wagner
2f1cc78598
Bug 736807 - Fix test added by fc8534cfca3d to test for gczeal (r=orange)
2012-03-19 11:47:23 -07:00
Luke Wagner
9c7fbf2d72
Bug 736807 - InitExnPrivate needs to root values since they can now be wrapped (r=bholley)
...
--HG--
extra : rebase_source : 4aeb6c6b271588c57c4b6e166c630a72c8c7d0d5
2012-03-19 10:49:12 -07:00
Mike Hommey
f6255df92e
Bug 733773 - Reset default values for thumb, float-abi, etc. when --with-arch is specified. r=ted
2012-03-13 09:47:03 +01:00
Jesse Ruderman
3a63956918
Bug 736795 - Some shell help() messages have extra periods
2012-03-17 22:24:07 -07:00
Jeff Walden
18b2aec6c5
Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits
2012-01-23 03:43:16 -08:00
Mark Capella
1a44f1208f
Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
...
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
Tom Schuster
fef9c89dba
Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw]
2012-01-14 09:43:00 -08:00
Christian Holler
bec1b98b9c
Bug 746951 - Avoid inlining js::MarkRangeConservatively with ASan, r=billm, a=npotb
...
--HG--
extra : rebase_source : 6742f35f23b37b08a966fff52040cec1a7fd55f6
2012-04-20 16:06:07 -07:00
Boris Zbarsky
a3e1420cf0
Bug 726949. Instead of using the given proto for the sandbox directly, use a proxy that forwards to the given proto but rebinds all getters/setters/methods to use the given proto, not the sandbox global, as this. r=bholley, a=tracking-firefox
...
The code in XPCQuickStubs.h just moved from XPCQuickStubs.cpp.
2012-04-19 14:19:41 -04:00
Igor Bukanov
877dee50e1
bug 736978 - remove JS_FinalizeStub. r=:billm
...
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.
To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
Prabindh Sundareson
b62d17df9a
Bug 735594 - Add check for MOZ_JSDEBUGGER so that --enable-jsd=no works. r=bholley+khuey
2012-03-15 20:12:45 -04:00
Justin Lebar
ea5c5dab79
Bug 741652 - On Linux, make JS_StartProfiling start the |perf| profiler. r=sfink
2012-04-24 13:12:32 -04:00
Luke Wagner
3df006c487
Bug 746843 - change StackFrame::scopeChain() to return a HandleObject (r=bhackett)
...
--HG--
extra : rebase_source : 8306a740d784a6f8cb7d8160125fb37e3270a64e
2012-04-13 18:06:40 -07:00
Matt Brubeck
955934c3d9
Bug 743325 - Back out 554ab0a2f470 (bug 734503) because it broke touch events in XUL Fennec [r=peterv]
2012-04-24 07:51:56 -07:00
Jared Wein
883053cd10
Bug 730318 - Implement a way for chrome js to enumerate the plugin objects on a page for activation. r=khuey
2012-03-27 13:50:50 -07:00
Andrew McCreight
d1c47fdce5
Bug 736563 - mark global objects held by live windows black during GC. r=smaug
2012-03-27 12:22:10 -07:00
Bobby Holley
ff990375c6
Bug 738956 - Wrap values in nsStructuredCloneContainer::InitFromVariant before passing them to JS_WriteStructuredClone. r=khuey
2012-03-27 11:43:11 -07:00
Bill McCloskey
ad804cbc84
Bug 738841 - Fix handling of 'this' in methodjit without TI (r=bhackett)
2012-03-27 10:54:04 -07:00
Luke Wagner
4098eb7793
Bug 739494 - rm JSOP_DEFLOCALFUN (r=bhackett)
...
--HG--
extra : rebase_source : bb055d312548d6f04096e2320838addfbffd65fc
2012-03-26 22:08:03 -07:00
Luke Wagner
e58143c4c1
Bug 737552 - Remove 'funargs' (r=jimb)
...
--HG--
extra : rebase_source : 768b5b36503747a7ab95cc745439be4c36e64168
2012-03-20 11:18:37 -07:00
Luke Wagner
d523a82ac7
Bug 737570 - Fix handling of overwritten arguments via non-toplevel function statement named 'arguments' (r=waldo)
...
--HG--
extra : rebase_source : 91a45e78412a86f647375485fcd038505a134f0d
2012-03-19 19:22:59 -07:00
Bill McCloskey
97d5ffd408
Bug 736605 - Add more timers to GC statistics (r=terrence)
2012-03-16 14:55:56 -07:00
Bobby Holley
ab0445c528
Bug 596351 - Proxies should throw TypeErrors for assignments to read-only properties in ES5 strict mode. r=luke
2012-03-16 12:47:21 -07:00
Bobby Holley
7aa891a8c8
Bug 734475 - Take the full union of native sets when bringing non-PreCreate XPWNs across compartments. r=mrbkap
2012-03-16 12:47:20 -07:00
Luke Wagner
6c8e2f8935
Bug 736012 - Unwind current frame on failure to enter jit code from loop header (r=bhackett)
...
--HG--
extra : rebase_source : 5dcfb53368a6f816b44d26cf43b564f1525d74bb
2012-03-16 10:04:17 -07:00
Terrence Cole
7f9923f96d
Bug 730961 - Make internal marking interface indirect; r=billm
...
Now that all of the marking interface users use indirect marking, we can pass
through the indirection internally and stop passing every object through the
stack.
2012-03-14 14:07:16 -07:00
Peter Van der Beken
526e189372
Fix for bug 736229 (Stop storing expando objects in the wrapper cache, store the proxy instead). r=jst.
2012-03-14 15:22:10 +01:00
Marco Bonardo
ff249f47c5
Merge inbound and central
2012-03-16 13:42:16 +01:00
Ms2ger
126a61ae1e
Bug 722154 - Part f: Remove custom quickstubs for vertexAttrib[1-4]fv; r=bjacob
2012-03-16 10:53:41 +01:00
Ms2ger
0fa822c551
Bug 722154 - Part e: Remove custom quickstubs for uniform[1-4][i,f]v and uniformMatrix[2-4]fv; r=bjacob
2012-03-16 10:52:42 +01:00
Ms2ger
6c8b1e6b1c
Bug 722154 - Part d: Remove custom quickstub for readPixels; r=bjacob
2012-03-16 10:50:51 +01:00
Ms2ger
9fe057f15e
Bug 722154 - Part c: Remove custom quickstubs for compressedTexImage2D and compressedTexSubImage2D; r=bjacob
2012-03-16 10:50:33 +01:00
Ms2ger
475f50510f
Bug 722154 - Part b: Remove custom quickstub for bufferSubData; r=bjacob
2012-03-16 10:50:18 +01:00