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

37742 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote c040e15088 Bug 909597 (part 1) - Make jsdbgapi.h not depend on jsapi.h. r=luke.
--HG--
extra : rebase_source : b5f604153b34856a19852158fc67eb20b1aaffc3
2013-08-26 19:05:19 -07:00
Luke Wagner d6fb8b7b4a Bug 900669 - OdinMonkey: store relative offsets in AsmJSModule::{Exit,ExportedFunction} (r=bbouvier) 2013-08-23 17:51:46 -05:00
Luke Wagner bf5ad9f470 Bug 900669 - OdinMonkey: un-HeapPtr more AsmJSModule property names (r=terrence)
--HG--
extra : rebase_source : 1411a2f8deb7422aac36add0bf20cdabc539930d
2013-08-23 17:32:47 -05:00
Luke Wagner 77513c81ef Bug 900669 - OdinMonkey: put memcpy-able data in 'pod' fields of AsmJSModule (r=bbouvier)
--HG--
extra : rebase_source : a724fd33913db2f5610771bc97ffb19fa6f9777d
2013-08-12 18:40:52 -05:00
Ryan VanderMeulen ed2d647b4b Merge m-c to inbound on a CLOSED TREE. 2013-08-27 22:40:49 -04:00
Ryan VanderMeulen 6f0d3838c9 Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Ryan VanderMeulen 1f9cf546ef Merge m-c to fx-team. 2013-08-27 20:38:23 -04:00
Ryan VanderMeulen 4d9889b6ac Merge inbound to m-c. 2013-08-27 20:36:23 -04:00
Nicolas Pierron 702e2628d5 Bug 908903 - Add testing function to toggle jit compiler options. r=jandem 2013-08-27 16:32:04 -07:00
Shu-yu Guo 7e5e997fd9 Bug 908939 - Use the original function to construct the |this| type set in inline dispatch in Ion. (r=jandem) 2013-08-27 16:01:54 -07:00
Shu-yu Guo 919cee288f Bug 903028 - Do not allocate type sets off main thread. (r=bhackett) 2013-08-27 16:01:53 -07:00
Shu-yu Guo 85986cc967 Bug 909599 - Initialize PerThreadData for ForkJoinSlice. (r=nmatsakis) 2013-08-27 16:01:53 -07:00
Andrew McCreight f8bde121bd Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz 2013-08-27 15:39:02 -07:00
Luke Wagner ece611f447 Bug 909534 - tidy up AsmJSSignalHandler, remove unnecessary SIGBUS handling (r=bhackett)
--HG--
extra : rebase_source : a02fa6e374ea610db1e964181b84e251e5e44cbf
2013-08-27 17:33:32 -05:00
Luke Wagner 01b593e712 Bug 909534 - don't call exit as a backstop in AsmJSSignalHandler (r=bhackett)
--HG--
extra : rebase_source : 12f00124b6c1806e0628d3eda0a47e474b24327d
2013-08-27 17:32:58 -05:00
Kannan Vijayan 0c7d1b6114 Bug 906781 - Optimize JSOP_FUNAPPLY with Array argument in Baseline. r=bhackett r=jandem 2013-08-27 18:32:40 -04:00
Bobby Holley 3ef78b339d Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-08-27 15:21:40 -07:00
Bobby Holley 0542144683 Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley 4233a4030a Bug 899367 - Remove JSOPTION_UNROOTED_GLOBAL. r=luke,mccr8
\o/
2013-08-27 15:21:39 -07:00
Bobby Holley 0a90738ba7 Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley 66f5004091 Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8 2013-08-27 15:21:38 -07:00
Bobby Holley ba547f42c5 Bug 899367 - Add an API to opt out of default compartment objects. r=luke
We need this explicit API because otherwise the default compartment object will
get set implicitly during the first call to InitClasses.
2013-08-27 15:21:38 -07:00
Bobby Holley d8ec53aa09 Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley a9a3af4e97 Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8 2013-08-27 15:21:37 -07:00
Bobby Holley 7b3e5052cd Bug 899367 - Add an API to determine if we're marking gray. r=billm
This allows us to assert that certain callbacks get invoked during the gray
phase of a marking GC.
2013-08-27 15:21:37 -07:00
Bobby Holley ba0f5bdd30 Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Terrence Cole 2c55942556 Bug 909866 - Fix an exact rooting hazard in JSCompartment::wrap; r=sfink
--HG--
extra : rebase_source : 637cea3f6c93a333bfe9000f0837663fd0905853
2013-08-27 15:16:03 -07:00
Justin Lebar 35a65ed466 Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Fabrice Desré c2af499d35 Bug 864932 - Rewrite wifi workers in c++ r=mrbkap 2013-08-27 13:54:51 -07:00
Ed Morley 6bad2f722c Merge mozilla-central and b2g-inbound 2013-08-27 15:20:08 +01:00
Szu-Yu Chen [:aknow] 16c6da04b2 Bug 882983 - Part 1: Add ota status event (idl, webidl). r=hsinyi, sr=smaug 2013-08-27 08:25:53 -04:00
Ryan VanderMeulen 58040264ee Bug 908920 - Don't assume suspended generator activations have a script. r=jorendorff
This patch makes legacy (JS 1.7) and star (ES6) generators have
different classes, avoiding the need to poke through to the frame's
script to see which kind they are.  This steps around a failure to get
a frame's script after GC, when the script was thrown away, while also
preparing for bug 907744.

To detect errors in the future, also make accesses to gen->fp->script()
cause a null pointer deref in debug mode.  This caught another bug in
generator_close_impl(), in which with GGC it could be possible to
reference a return value from the recently dead frame.  This was easily
fixed because that value is always undefined.
2013-08-27 14:01:11 -04:00
Irving Reid 3a4427f7dd Bug 905315: Work around android ADT path naming scheme change; r=nalexander 2013-08-26 11:16:18 -04:00
Jeff Walden ad2c8f9a98 Bug 905947 - Don't assert when redefining an array's length to be configurable via the JSAPI. r=jorendorff
--HG--
extra : rebase_source : 4729e0aca6ea7addb56fd12a280eb2b1b4469ad7
2013-08-20 17:06:51 -07:00
Gregory Szorc 3bfcccec9b Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium 2013-08-27 14:40:07 -07:00
Jeff Walden cc30becaee Bug 908898 - Move the JS_PS{G,GS,_END} macros from jsobj.h into jsapi.h for general use. r=jorendorff 2013-08-21 15:33:11 -07:00
Jeff Walden abbd8841db Bug 907958 - Disallow |function function() {}| and similar unreadabilities. r=jorendorff, r=wingo for the yield interactions, r=luke for the asm.js interactions 2013-08-15 10:07:40 -07:00
Jeff Walden 44c33af702 Bug 907958 - Change a test to not expect exact error messages, only that the errors are SyntaxErrors. r=simple-test-fixup
--HG--
extra : rebase_source : 106e9f5be720a0d781db3e4a94bc07926b02bf2e
2013-08-26 14:05:17 -07:00
Jan de Mooij 7fb625dfce Bug 909505 - Fix IonBuilder to set the Folded flag on the instanceof rhs if needed. r=bhackett 2013-08-27 19:50:00 +02:00
Brian Hackett ab9cf1c836 Bug 908301 - Remove dedicated source compression thread, use JS worker threads instead, allow saving source when parsing off thread, r=benjamin. 2013-08-27 11:48:55 -06:00
Luke Wagner 644765265a Also recognize Inlines.h as a inlines header suffix in check-style (no bug, r=bustage)
--HG--
extra : rebase_source : 876ee986c8533afa0a3ba5b67c0a8efd588bd083
2013-08-26 12:21:06 -05:00
Luke Wagner 3852a8bde0 Bug 858551 - Add jsscriptinlines.h to fix 'used by not defined' warnings (r=themaid) 2013-08-26 11:50:04 -05:00
Luke Wagner 1b7ec73c80 Bug 907937 - Move JSCompartment::wrap again to avoid 'used but not defined' warnings (r=themaid) 2013-08-26 11:46:21 -05:00
Steve Fink da7e9c8bbc Bug 909363 - Mark redirect() as unsafe for fuzzing. r=till
--HG--
extra : rebase_source : bb748d87138e71afe3bcfdaedc958e5b0ef20fd5
2013-08-26 09:04:09 -07:00
Mike Hordecki c834c1d2bf Bug 908918 - Fix an XPConnect typo. r=bholley 2013-08-26 11:28:26 -04:00
Mike Hommey cc89d5af4a Fixup for bug 904743, thanks to cl.py running without assertions. r=me 2013-08-26 16:59:53 +09:00
Geoff Brown fd9a8160b1 Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Boris Zbarsky 1be13ddcad Bug 908576 part 6. Expose just a NativePropertyHooks pointer, not the object itself, so we can forward-declare it in bindings headers. r=smaug 2013-08-23 22:42:41 -04:00
Boris Zbarsky 30987641e2 Bug 908530 part 3. Stop including xpcpublic.h in DOMJSProxyHandler.h. r=khuey 2013-08-23 22:42:40 -04:00
Boris Zbarsky 7393f81fff Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00