Граф коммитов

43873 Коммитов

Автор SHA1 Сообщение Дата
Nicolas B. Pierron 18a8f55541 Bug 1034349 - Skip Float32 specialization for int32 operations. r=bbouvier 2014-07-29 04:49:19 -07:00
Mike Hommey 5f6ba110e6 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Bobby Holley c6baf63480 Bug 1042996 - Remove the special JSContext for Sandboxes. r=bobowen,r=gabor 2014-07-28 14:55:51 -07:00
Bobby Holley 64bceb7f48 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 8081742abe Bug 1042833 - Add 'none' architecture used in --disable-ion builds, r=jandem. 2014-07-28 11:37:48 -08:00
Bobby Holley 6aa5f09145 Bug 1042840 - Remove evalInWindow. r=gabor 2014-07-28 11:19:25 -07:00
Bobby Holley 2df92a8d49 Bug 1042824 - Remove implicit cloning behavior in function forwarders. r=gabor 2014-07-28 11:19:25 -07:00
Bobby Holley 09c0ef15f5 Bug 1042824 - Borrow the JSID_VOID handling from the cloning forwarding. r=gabor 2014-07-28 11:19:25 -07:00
Bobby Holley 9950c68fc8 Bug 1042824 - Manually do the cross-compartment call in NonCloningFunctionForwarder. r=gabor 2014-07-28 11:19:24 -07:00
Bobby Holley 5098fe4f1c 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 16d023b146 Bug 1042244: Make FuncWith return the same type as their inputs; r=nmatsakis 2014-07-28 19:27:52 +02:00
Benjamin Bouvier d51e9bfd76 Bug 1042244: Instantiate operators template arguments in users; r=nmatsakis 2014-07-28 19:27:48 +02:00
Benjamin Bouvier 5376e804c3 Bug 1042244: Simplify and generalize FuncShuffle; r=nmatsakis 2014-07-28 19:27:46 +02:00
Benjamin Bouvier c25aaa24ad Bug 1042244: Remove return template parameter in SIMD operators; r=nmatsakis 2014-07-28 19:27:42 +02:00
Benjamin Bouvier 6d493a0fb0 Bug 1042244: Make comparison operators always return int32_t; r=nmatsakis 2014-07-28 19:27:34 +02:00
Ehsan Akhgari a82c63e0e4 Bug 1045092 - Fix some bad implicit constructors in xpconnect; r=bholley 2014-07-28 13:20:14 -04:00
Andrea Marchesini 260cd0b990 Bug 1030917 - xpc::GlobalProperties object ignores the 'aPromise' param., r=bholley 2014-07-28 15:42:57 +01:00
Nicolas B. Pierron 0701665f10 Bug 1040194 - Keep recoverOnBailout instruction for resume point operands. r=h4writer 2014-07-28 05:46:26 -07:00
Nicolas B. Pierron e3e1051046 no bug - Fix order of namespace comments. r=me 2014-07-28 05:46:26 -07:00
Benjamin Bouvier f562a1b043 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 2b15d7fd44 Bug 1043898: Remove MNot's operand() and use input() instead; r=nbp 2014-07-28 13:18:42 +02:00
Jon Coppeard c71e29bdb6 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 21dba40d04 Bug 1044305: Remove Location classinfo r=bz 2014-07-26 13:28:48 -04:00
Jim Blandy 4f3cd7994a 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 4522e28875 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 1c83a33297 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 bda9831bdf 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 06f969d251 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 c0637d54c2 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 e8621763d5 Bug 1043588 - Remove some unused functions from OldDebugAPI. r=jimb 2014-07-25 14:26:40 +02:00
Tom Schuster f74881d526 Bug 1031878 - Remove JS_SetWatchPoint and friends. r=jimb 2014-07-25 14:26:40 +02:00
Tom Schuster 55129cf4f1 Bug 1043577 - Remove PropertyDescArray stuff. r=jimb 2014-07-25 14:26:40 +02:00
Tom Schuster 1bc16cea39 Bug 1043578 - Remove JS_SetDebuggerHandler and friends. r=jimb 2014-07-25 14:26:40 +02:00
Tom Schuster caaba7d772 Bug 1031876 - Remove JS_SetTrap and friends. r=jimb 2014-07-25 14:26:39 +02:00
Benjamin Bouvier da0e3a690e Bug 1028580: remove multi-line comment warning; r=Ms2ger 2014-07-25 10:21:50 +02:00
Ms2ger 728327cc1b 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 5a014d3b2b Bug 977400 - Fixed WeakMapPtr visibility, r=sfink
--HG--
extra : rebase_source : 404dabdbaa3056988f922ce711292ded7f77f7dc
2014-07-24 16:57:42 -07:00
Nicholas Nethercote 06b9fdd2e1 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 87eb6d002c 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 c6ca65f0b0 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 192498ad38 Bug 1043417 - don't check for X headers in js/src; r=mshal 2014-07-24 09:59:55 -04:00
Terrence Cole 9f9f5c5ae2 Bug 1029648 - Fix a typo; r=jonco 2014-07-22 11:25:22 -07:00
Hannes Verschore 2106be49d6 Bug 1039976 - IonMonkey: Improve generated code of MTypeObjectDispatch with one case, r=jandem 2014-07-24 16:40:11 +02:00
Hannes Verschore 2e4e35adee Bug 1039542 - TraceLogger: Reset the lastChildId when resuming the tracelogger, r=bbouvier 2014-07-24 16:40:10 +02:00
Nicolas B. Pierron b4ee99ad39 Bug 1039607 - Scalar Replacement support dynamic slots. r=h4writer 2014-07-24 04:30:50 -07:00
Jan de Mooij bda138eba2 Bug 1031529 part 4 - Remove getBuildConfiguration().threadsafe. r=bhackett 2014-07-24 11:56:47 +02:00
Jan de Mooij b1697f7931 Bug 1031529 part 3 - Step defining JS_THREADSAFE, remove --disable-threadsafe. r=glandium 2014-07-24 11:56:45 +02:00
Jan de Mooij 9dd0f57269 Bug 1031529 part 2 - Remove JS_THREADSAFE #ifdefs everywhere. r=bhackett 2014-07-24 11:56:43 +02:00
Jan de Mooij 24bccfb24b Bug 1031529 part 1 - Add a --no-threads shell flag. r=bhackett 2014-07-24 11:56:41 +02:00
Nick Fitzgerald 36cb6e7809 Bug 1035287 - Part 2: Refactor js::SavedStacks::insertFrames to use iteration instead of recursion. r=shu 2014-07-23 09:15:00 +02:00