Bobby Holley
85a6735f8c
Bug 1044205 - Detach the XPCWrappedNativeScope from the CompartmentPrivate during forcible shutdown. r=billm
2014-07-29 08:48:32 -07:00
Luke Wagner
43734ba31b
Bug 1040390 - Integrate JS::ProfilingFrameIterator with the profiler (r=bgirard)
...
--HG--
extra : rebase_source : 7f9a022fb16a353d22242f60cfae4e5659798752
2014-07-29 09:56:22 -05:00
Luke Wagner
aa6f30446c
Bug 1040390 - Replace ad hoc methods with JS::ProfilingFrameIterator::label() (r=dougc)
...
--HG--
extra : rebase_source : 396c7925edac39e39d16dea7a53da3ba34f68ddf
2014-07-29 09:56:21 -05:00
Luke Wagner
a2f63f6a3e
Bug 1040390 - Add JS::ProfilingFrameIterator::stackAddress (r=dougc)
...
--HG--
extra : rebase_source : a5f1823e8e9fb96aeb2813ce5105dc9096a054d7
2014-07-29 09:56:21 -05:00
Luke Wagner
af5aaec4de
Bug 1040390 - Make js::RunScript push an isCpp frame (r=djvj)
...
--HG--
extra : rebase_source : 66f8e50977cb172d0b888aca382227fc252c8410
2014-07-29 09:56:21 -05:00
Luke Wagner
64f34df966
Bug 1027885 - Don't clobber arg registers in the profiling builtin thunk on ARM (r=dougc)
...
--HG--
extra : rebase_source : e735dfac5a1e6652049d13145e165dcc98b97b5c
2014-07-29 09:56:06 -05:00
Nicolas B. Pierron
2a97bc46d6
Bug 1034349 - Skip Float32 specialization for int32 operations. r=bbouvier
2014-07-29 04:49:19 -07:00
Mike Hommey
1e79fe55c2
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Bobby Holley
fd6bf2c90c
Bug 1042996 - Remove the special JSContext for Sandboxes. r=bobowen,r=gabor
2014-07-28 14:55:51 -07:00
Bobby Holley
0ac3502f9a
Bug 1042996 - Always set an explicit version in evalInSandbox. r=gabor
...
If setVersion() is not invoked on compileOptions, it ends up with
JSVERSION_UNKNOWN, which invokes findVersion() on the JSContext, which does a
bunch of crazy hunting of previous scripted stack frames that we most certainly
don't want for sandboxes, which are supposed to be controlled environments.
Using a separate JSContext in evalInSandbox isolates us from these effects, so
once we stop doing that we need to be more explicit here.
2014-07-28 14:55:51 -07:00
Brian Hackett
2e2abbaafe
Bug 1042833 - Add 'none' architecture used in --disable-ion builds, r=jandem.
2014-07-28 11:37:48 -08:00
Bobby Holley
c77cb31ac4
Bug 1042840
- Remove evalInWindow. r=gabor
2014-07-28 11:19:25 -07:00
Bobby Holley
50b9c0b895
Bug 1042824 - Remove implicit cloning behavior in function forwarders. r=gabor
2014-07-28 11:19:25 -07:00
Bobby Holley
11aa4b0a97
Bug 1042824 - Borrow the JSID_VOID handling from the cloning forwarding. r=gabor
2014-07-28 11:19:25 -07:00
Bobby Holley
f977f7061f
Bug 1042824 - Manually do the cross-compartment call in NonCloningFunctionForwarder. r=gabor
2014-07-28 11:19:24 -07:00
Bobby Holley
8bcc146804
Bug 1042824 - Do a security check on the callee in ExportFunction. r=gabor
...
It would be nice to enforce this in New*FunctionForwarder, but we're already
in the target compartment at that point. :-(
We don't need to worry about this at the other callsites of
New*FunctionForwarder because:
* The stuff in XPCComponents is always invoked by System Principaled code.
* The stuff in StackScopedCloneRead only gets invoked when we're already done a
successful CheckedUnwrap inside the JS engine.
2014-07-28 11:19:24 -07:00
Benjamin Bouvier
d39eb74e72
Bug 1042244: Make FuncWith return the same type as their inputs; r=nmatsakis
2014-07-28 19:27:52 +02:00
Benjamin Bouvier
84fdb9a299
Bug 1042244: Instantiate operators template arguments in users; r=nmatsakis
2014-07-28 19:27:48 +02:00
Benjamin Bouvier
7b9a7f0ecc
Bug 1042244: Simplify and generalize FuncShuffle; r=nmatsakis
2014-07-28 19:27:46 +02:00
Benjamin Bouvier
50c643e060
Bug 1042244: Remove return template parameter in SIMD operators; r=nmatsakis
2014-07-28 19:27:42 +02:00
Benjamin Bouvier
68e0e44c0b
Bug 1042244: Make comparison operators always return int32_t; r=nmatsakis
2014-07-28 19:27:34 +02:00
Ehsan Akhgari
022f2f1142
Bug 1045092 - Fix some bad implicit constructors in xpconnect; r=bholley
2014-07-28 13:20:14 -04:00
Andrea Marchesini
8e6f92ea03
Bug 1030917 - xpc::GlobalProperties object ignores the 'aPromise' param., r=bholley
2014-07-28 15:42:57 +01:00
Nicolas B. Pierron
13078b60ea
Bug 1040194 - Keep recoverOnBailout instruction for resume point operands. r=h4writer
2014-07-28 05:46:26 -07:00
Nicolas B. Pierron
dae837c304
no bug - Fix order of namespace comments. r=me
2014-07-28 05:46:26 -07:00
Benjamin Bouvier
a838adcacf
Bug 1043898: Remove num() methods and use input() instead, remove MComputeThis' overriding input(); r=nbp
2014-07-28 13:18:46 +02:00
Benjamin Bouvier
e92f13bf2e
Bug 1043898: Remove MNot's operand() and use input() instead; r=nbp
2014-07-28 13:18:42 +02:00
Jon Coppeard
fe8bcdd001
Bug 1043888 - Make GetObjetZone() work on nursery objects and rename GetGCThingZone() to GetTenuredGCThingZone() r=terrence
2014-07-28 10:39:36 +01:00
David Zbarsky
57223393ac
Bug 1044305: Remove Location classinfo r=bz
2014-07-26 13:28:48 -04:00
Jim Blandy
e35255f747
Bug 1012456: Use 'using namespace' in DebuggerMemory.cpp, to avoid wrapping top-level definitions in a namespace { ... } form. r=sfink
2014-07-25 22:17:34 -07:00
Jim Blandy
0fbb454c44
Bug 1012456: Use 'using namespace' in DebuggerMemory.cpp, to avoid wrapping top-level definitions in a namespace { ... } form. r=sfink
2014-07-25 22:10:51 -07:00
Andy Anderson
162f77b1b8
Bug 369778 - RegExp capturing groups that aren't matched during a match (because of, say, a *?+{n}{n,m} quantifier that means they're never used) should be matched as |undefined|, not as the empty string. r=jwalden
...
--HG--
extra : rebase_source : cf5710ee19dbdc0ee9b50d9a75d94e4e04584ec4
2014-07-25 14:34:10 -07:00
Jeff Walden
7b38606210
Bug 1043683 - Make RegExpStatics::makeMatch sane about not taking two arguments, one of which is always double the other (yet has its parity tested). r=ae.anderson0@gmail.com
...
--HG--
extra : rebase_source : 13b576c6e15b8f4f0ad7e639ccdcaaf609bc10b5
2014-07-25 14:34:10 -07:00
Jeff Walden
9204f25f64
Bug 1037609 - Remove the js_strdup(cx, jschars) method entirely, seeing as there are so few other uses of it. r=jimb
...
--HG--
extra : rebase_source : 1a611dccabaddccebc522943559a2ea1f1703811
2014-07-11 14:24:34 -07:00
Luke Wagner
49cca32cc2
Bug 1043453 - OdinMonkey: fix bugs in interrupt handling (r=dougc)
...
--HG--
extra : rebase_source : 79fc33173590bde7e80f2960115361cb21c27cba
2014-07-25 11:01:35 -05:00
Tom Schuster
5f98bf8180
Bug 1043588 - Remove some unused functions from OldDebugAPI. r=jimb
2014-07-25 14:26:40 +02:00
Tom Schuster
5641840326
Bug 1031878 - Remove JS_SetWatchPoint and friends. r=jimb
2014-07-25 14:26:40 +02:00
Tom Schuster
0c81b4ab09
Bug 1043577 - Remove PropertyDescArray stuff. r=jimb
2014-07-25 14:26:40 +02:00
Tom Schuster
8703e4f327
Bug 1043578 - Remove JS_SetDebuggerHandler and friends. r=jimb
2014-07-25 14:26:40 +02:00
Tom Schuster
55ca76bc2e
Bug 1031876 - Remove JS_SetTrap and friends. r=jimb
2014-07-25 14:26:39 +02:00
Benjamin Bouvier
c7b04b8954
Bug 1028580: remove multi-line comment warning; r=Ms2ger
2014-07-25 10:21:50 +02:00
Ms2ger
369b3ac3f7
Bug 1043281 - Remove JS_ClearNonGlobalObject; r=luke
...
This has always been a somewhat wonky API, which only existed because of
existing consumers in the DOM. The last consumer went away in bug 660237.
2014-07-25 08:59:40 +02:00
Gou Lingfeng
21b75c90da
Bug 977400 - Fixed WeakMapPtr visibility, r=sfink
...
--HG--
extra : rebase_source : 404dabdbaa3056988f922ce711292ded7f77f7dc
2014-07-24 16:57:42 -07:00
Nicholas Nethercote
fc41c3c0c1
Bug 1039965 (attempt 2) - Avoid slop in JS arrays. r=bhackett,terrence.
...
This patch changes JS array resizing to prefer power-of-two sized slot
requests. Previously it would mostly make slightly-more-than-power-of-two sized
requests that cause lots of slop.
Also, shrinkElements() now only does a reallocation if it would result in going
down a size class. E.g. if you pop all the elements from a 1000-element array,
it would realloc 999, then 998, then 997, all the way down the minimum size.
Now it does 512, then 256, down to the minimum size (which is 8).
I confirmed with DMD that the element allocations now have zero slop. This
reduces peak RSS loading a couple of large PDF files (four times each) with
pdf.js by 10s of MiBs.
--HG--
extra : rebase_source : c10fd4efd8ab80df5bbe14815009edb8eed3f23f
2014-07-24 18:41:09 -07:00
Terrence Cole
963a4ecc4e
Backed out changeset 554e549aab67 (bug 1033442) for build failures on a CLOSED TREE.
...
--HG--
extra : rebase_source : 984dcabe44674d73bcadbce89899d683db96449e
2014-07-24 11:22:48 -07:00
Terrence Cole
fd151d5d0c
Bug 1033442 - Split out GC scheduling tunables to make Zone GC heap triggers clearer; r=sfink
...
--HG--
extra : rebase_source : 43d48180eae9d4753dba22078b4c66061a9380d2
2014-07-22 16:24:28 -07:00
Nathan Froyd
d6641186a2
Bug 1043417 - don't check for X headers in js/src; r=mshal
2014-07-24 09:59:55 -04:00
Terrence Cole
3184079621
Bug 1029648 - Fix a typo; r=jonco
2014-07-22 11:25:22 -07:00
Hannes Verschore
2182869dc6
Bug 1039976 - IonMonkey: Improve generated code of MTypeObjectDispatch with one case, r=jandem
2014-07-24 16:40:11 +02:00
Hannes Verschore
63ea4bc881
Bug 1039542 - TraceLogger: Reset the lastChildId when resuming the tracelogger, r=bbouvier
2014-07-24 16:40:10 +02:00