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

3368 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book e8bc59a87a Backed out changeset 684888aeee81 (bug 1287946) 2016-07-21 08:07:12 +02:00
Jim Chen 78f67d1f6f Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 00:42:26 -04:00
Wes Kocher 3bba9b339e Backed out 5 changesets (bug 1287623) for static build bustage CLOSED TREE
Backed out changeset a48daec87ec9 (bug 1287623)
Backed out changeset 248153344e15 (bug 1287623)
Backed out changeset 8aa409c9b1ce (bug 1287623)
Backed out changeset 602d4d88e806 (bug 1287623)
Backed out changeset 114da8bdc0b0 (bug 1287623)
2016-07-20 15:40:33 -07:00
Andrew McCreight 155e619376 Bug 1287623, part 3 - Add more methods involving StaticRefPtr. r=froydnj
This patch adds a number of standard conversions to and from RefPtr<>
and already_AddRefed<>.
2016-07-20 15:19:00 -07:00
Michael Kaply a3203be2b0 Bug 1284921- Hardcode Android version for non-numeric releases. r=nfroyd
--HG--
extra : rebase_source : b9627b902df8ae0a1e32fa608067455c9ef8aa82
2016-07-13 10:31:26 -05:00
Yoshi Huang e24cc195d9 Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois 2016-07-11 16:11:32 +08:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Boris Zbarsky eb139d85bf Bug 1279313 part 1. Simplify AutoEntryScript to not make callers pass in a JSContext. r=bholley 2016-07-07 20:08:25 -04:00
Carsten "Tomcat" Book 486d248cca Merge mozilla-central to mozilla-inbound 2016-07-07 11:44:06 +02:00
Carsten "Tomcat" Book 1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Jan de Mooij 900af968f3 Bug 1283855 part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence
--HG--
extra : rebase_source : c2d35b5d45cad074b9a9a144bc25ea4a32b8b246
2016-07-07 09:56:09 +02:00
Jan de Mooij 7ec38687c8 Bug 1283855 part 27 - Make more GC APIs take JSContext instead of JSRuntime. r=jonco
--HG--
extra : rebase_source : b666bd88d0247b58f7311f81e5116199779cc806
2016-07-07 09:55:45 +02:00
Jan de Mooij 1ffe7cc891 Bug 1283855 part 26 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence,mccr8
--HG--
extra : rebase_source : 68e6c63b179094f2441f01df58e0bdd68620ed09
2016-07-07 09:55:41 +02:00
Jan Beich 06c382c7df Bug 1284167 - /proc is unreliable on non-Linux. r=milan
MozReview-Commit-ID: 1B9bxjuRj6k

--HG--
extra : transplant_source : %DF%D8J%3A%1DY%23%FDW%A9%FB%2A%7C%92%29%FC%3F%84-%03
2016-07-04 00:30:22 +00:00
Nathan Froyd 2c2b9296bc Bug 1283616 - part 2 - micro-optimize inserting microtask runnables into the queue; r=khuey
We can save an AddRef/Release pair by passing in the reference to the queue.
2016-07-05 18:49:06 -04:00
Jan de Mooij 4ca08a4466 Bug 1283855 part 15 - Make {Get,Set}DOMCallbacks, SetWindowProxyClass take JSContext instead of JSRuntime. r=h4writer 2016-07-05 14:35:28 +02:00
Jan de Mooij fb15cb143c Bug 1283855 part 14 - Make more callback setters take JSContext instead of JSRuntime. r=shu 2016-07-05 14:35:26 +02:00
Jan de Mooij c8334f438a Bug 1283855 part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink 2016-07-05 14:35:21 +02:00
Jan de Mooij 4ba1239131 Bug 1283855 part 11 - Make some GC callback APIs take JSContext instead of JSRuntime. r=terrence,mccr8 2016-07-05 14:35:19 +02:00
Jan de Mooij 185fef3784 Bug 1283855 part 10 - Make some GC callback APIs take JSContext instead of JSRuntime. r=jonco 2016-07-05 14:35:16 +02:00
Jan de Mooij b6c8bdd67a Bug 1283855 part 9 - Make asm.js/buildId op setters take JSContext instead of JSRuntime. r=bbouvier 2016-07-05 11:06:06 +02:00
Jan de Mooij 31f7512e9f Bug 1283855 part 5 - Make warning reporter APIs take JSContext instead of JSRuntime. r=arai 2016-07-05 11:06:05 +02:00
Jan de Mooij 7c1a1cec44 Bug 1283855 part 2 - Make some callback setters take JSContext instead of JSRuntime. r=luke 2016-07-05 11:06:05 +02:00
Jan de Mooij cd41339786 Bug 1283855 part 24 - Make js::DumpHeap take JSContext instead of JSRuntime. r=sfink 2016-07-06 11:40:20 +02:00
Jan de Mooij 28662f4214 Bug 1283855 part 23 - Make more callback setters take JSContext instead of JSRuntime. r=evilpie 2016-07-06 11:40:20 +02:00
Jan de Mooij 79865aba2a Bug 1283855 part 17 - Make {Get,Set}DebuggerMallocSizeOf take JSContext instead of JSRuntime. r=jimb 2016-07-06 11:40:20 +02:00
Jan de Mooij c1ed92b71b Bug 1283855 part 3 - Make some callback setters take JSContext instead of JSRuntime. r=efaust 2016-07-06 11:40:20 +02:00
Andrew McCreight 18f3a1c60a Bug 1284599, part 2 - Add some more comments for #endif. r=froydnj
This doesn't add comments for all of them, just some of those spread
out over many lines. The lack of these comments made writing part 1
more annoying.
2016-07-05 12:03:18 -07:00
Andrew McCreight 698720a6db Bug 1284599, part 1 - Get rid of NS_IMPL_REFCNT_LOGGING. r=froydnj
This is unconditionally true, going back to maybe the removal of #ifdef WINCE code.
2016-07-05 12:03:18 -07:00
Till Schneidereit 14a62c9039 Bug 911216 - Part 27: Properly set up incumbent and current globals for Promise reaction jobs. r=efaust,bz 2016-07-02 02:00:47 +02:00
Boris Zbarsky 759bad9a0b Bug 767938 part 11. Move the "safe JS context" to where it belongs: the CycleCollectedJSRuntime. r=bholley 2016-06-24 14:19:51 -04:00
Nathan Froyd ea2b81ece8 Bug 1281257 - part 2 - make WalkTheStackCached an internal implementation detail; r=erahm
Nothing needs to call this outside nsTraceRefcnt, and given the
potential memory concerns, keeping it private is a better idea anyway.
2016-06-23 17:21:27 -04:00
Nathan Froyd d98797b821 Bug 1281257 - part 1 - remove nsTraceRefcnt::DemangleSymbol; r=erahm
This function is unused, and the symbol demangling should all be handled
someplace else.
2016-06-23 17:21:27 -04:00
Wei-Cheng Pan ba7d93dbef Bug 1261143 - Hack recursion depth in metastable state for Mac OS. r=khuey 2016-06-20 23:11:00 +02:00
Nathan Froyd 93107fb765 Bug 1281207 - delete unneeded contract and CIDs for nsTraceRefcnt; r=erahm
Nothing references these, so we might as well delete them.
2016-06-22 01:00:03 -04:00
Andrew McCreight a9c0939624 Bug 1278796, part 5 - Move InitNextPointers into the PurpleBlock ctor. r=smaug
This makes sure that it will always happen, and should placate static
analyses.
2016-06-10 09:17:58 -07:00
Andrew McCreight 4877f53ebf Bug 1278796, part 4 - Move InitNextPointers out of InitBlocks. r=smaug
This clears the way for the next patch.
2016-06-10 09:17:58 -07:00
Andrew McCreight 21a0cf7d40 Bug 1278796, part 3 - Inline StartBlock. r=smaug
This method doesn't do much, and in a later patch it will do even
less.
2016-06-10 09:17:57 -07:00
Andrew McCreight 6e83659330 Bug 1278796, part 2 - Initialize PurpleBlock next pointers in a method. r=smaug 2016-06-10 09:17:57 -07:00
Andrew McCreight c1b7175950 Bug 1278796, part 1 - Inline |entries| in StartBlock. r=smaug
It is used inconsistently, which is confusing. A later patch will move
these into a PurpleBlock method, so the length shouldn't be an issue.
2016-06-10 09:17:57 -07:00
Till Schneidereit b0d2250794 Bug 911216 - Part 24: Use promise rejection tracking to report unhandled rejections to the console. r=bz,Paolo 2016-03-22 16:22:24 +01:00
Jan de Mooij 8c1aaa3154 Bug 1278947 part 1 - Stop using JSContext callback in XPConnect. r=bz
--HG--
extra : rebase_source : 1e971a2a2a2a2b9068bd59d98156fa84b8f4b105
2016-06-10 09:27:14 +02:00
Nicholas Nethercote 5592622f09 Bug 1277104 - Add strings to high-frequency MOZ_CRASH() occurrences. mccr8.
Some of these are guesses; it's not always clear from a crash report stack
trace which MOZ_CRASH() was hit.
2016-06-09 13:09:58 +10:00
Jan de Mooij dad997a833 Bug 1277278 part 3 - Rename error reporter callback to warning reporter, assert it's only used for warnings. r=luke
--HG--
extra : rebase_source : ac1febc5220d649853f35c29de89a5e9ffb4fe98
2016-06-07 20:30:48 +02:00
Nicholas Nethercote a6bf1a62c2 Bug 1276837 (part 2) - Rename the CC Block structs. r=mccr8.
nsCycleCollector.cpp has three different structs named "Block", which makes it
hard to read. This patch renames them as EdgeBlock, NodeBlock, and PurpleBlock.

--HG--
extra : rebase_source : cae17ba925559b625f65a4741ae0bb4bee99d078
2016-06-01 09:18:33 +10:00
Nicholas Nethercote 9fe123f601 Bug 1276837 (part 1) - Shrink NodePool::Block. r=mccr8.
15% of our "small" OOM crashes are allocations of this struct. Halving its size
will hopefully help reduce that.

--HG--
extra : rebase_source : 5480a540a9584899def045c1401a5aa9a271d72c
2016-06-01 09:13:21 +10:00
Boris Zbarsky 89b93668b8 Bug 1276112. Stop using GetScriptContextFromJSContext in CycleCollectedJSRuntime::UsefulToMergeZones. r=mccr8 2016-05-27 13:28:26 -04:00
Carsten "Tomcat" Book 81eb193787 Backed out changeset e8af287d0d10 (bug 1276112) for causing windows gl crashes 2016-05-30 10:29:44 +02:00
Boris Zbarsky 74ebb7940f Bug 1276112. Stop using GetScriptContextFromJSContext in CycleCollectedJSRuntime::UsefulToMergeZones. r=mccr8 2016-05-27 13:28:26 -04:00