Commit Graph

15190 Commits

Author SHA1 Message Date
Mike Shal
33dd807e8a Bug 1304131 - list xpidl.stub as the first output for header.py; r=gps
Since xpidllex.py and xpidlyacc.py are created deep in the
other-licenses/ply code, we can't easily pass in our FileAvoidWrite
handle from the mozbuild action. As a result, when ply writes out
xpidllex.py, the mozbuild action overwrites the contents of the file
with a new 0-length xpidllex.py. This causes future xpidl invocations to
write out a new xpidllex.py rather than using the pre-built one.

MozReview-Commit-ID: NOC1Wr3MZO

--HG--
extra : rebase_source : a364a0f6f47e1c652bd41c90548fe7cbaf516374
2016-09-19 13:43:39 -04:00
Carsten "Tomcat" Book
d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
David Anderson
4c2e28b8b6 Add XRE_IsGPUProcess. (bug 1301266 part 1, r=billm) 2016-09-21 22:38:40 -07:00
Eric Faust
121151ec67 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Nathan Froyd
a9c993ccd1 Bug 1298855 - part 2 - remove prcpucfg.h #include from xpt_arena.h; r=erahm
Nothing else in this code requires prcpucfg.h at this point, and we
might as well remove nspr.h from xpt_xdr.cpp while we're at it.
2016-09-21 18:16:10 -04:00
Nathan Froyd
c0268e7859 Bug 1298855 - part 1 - use EndianUtils.h in xpt_xdr.cpp; r=erahm
More obvious, slightly more efficient, and dispensing with NSPR macro
goo is always a good thing.
2016-09-21 18:16:10 -04:00
Andrea Marchesini
d62e084ce0 Bug 1288997 - memory blob should not be shared across processes - part 2 - SlicedInputStream, r=froydnj 2016-07-25 22:41:02 +02:00
Matt Woodrow
64a71f90da Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander 2016-09-21 21:24:43 +12:00
Matt Woodrow
74b953d168 Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-21 21:24:43 +12:00
Carsten "Tomcat" Book
f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
97147af527 Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander
--HG--
extra : rebase_source : fd702b96f36645a2b0d8a7a4e4afc74c063a68c4
2016-09-21 15:36:09 +12:00
Matt Woodrow
4caf5b9aa0 Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley
--HG--
extra : rebase_source : 38596e6ebfc7eb2fb863e242cee718060abe470c
2016-09-21 15:36:09 +12:00
Michael Layzell
030fcbd018 Bug 1303472 - Add a move constructor to nsCOMPtr, r=froydnj
MozReview-Commit-ID: 6ECLDmA9Ol
2016-09-20 11:36:14 -04:00
Michael Layzell
0f0181c55e Bug 1295762 - Part 2: Add tests to ensure that the layout of rust's ns[C]String matches C++'s, r=froydnj
MozReview-Commit-ID: FH18iSXkhX5
2016-09-20 11:26:43 -04:00
Michael Layzell
dace0b2e39 Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-09-20 11:26:43 -04:00
Carsten "Tomcat" Book
2c29ecf6ea Merge mozilla-central to autoland
--HG--
rename : browser/themes/shared/controlcenter/conn-degraded.svg => browser/themes/shared/controlcenter/connection.svg
rename : browser/themes/shared/identity-block/identity-mixed-active-loaded.svg => browser/themes/shared/identity-block/connection-mixed-active-loaded.svg
rename : browser/themes/shared/identity-block/identity-mixed-passive-loaded.svg => browser/themes/shared/identity-block/connection-mixed-passive-loaded.svg
rename : browser/themes/shared/identity-block/identity-secure.svg => browser/themes/shared/identity-block/connection-secure.svg
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/ANRReporter.java => mobile/android/base/java/org/mozilla/gecko/ANRReporter.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoJavaSampler.java => mobile/android/base/java/org/mozilla/gecko/GeckoJavaSampler.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/widget/SwipeDismissListViewTouchListener.java => mobile/android/base/java/org/mozilla/gecko/widget/SwipeDismissListViewTouchListener.java
rename : taskcluster/ci/signing/signing.yml => taskcluster/ci/build-signing/android-signing.yml
rename : taskcluster/ci/signing/kind.yml => taskcluster/ci/build-signing/kind.yml
extra : rebase_source : d069a089538d77ef97a2ea10095f66eb814879eb
2016-09-21 12:10:25 +02:00
Cervantes Yu
41c36d9c23 Bug 1303940 - MessageLoop::PostDelayedTask() should schedule the runnable on the target thread instead of the current thread. r=froydnj
MozReview-Commit-ID: 8yCY9WSwbAJ

--HG--
extra : rebase_source : 126184b84868977df8b9864eb158a3ad14052365
2016-09-20 14:00:18 +08:00
Andi-Bogdan Postelnicu
9b7638bfd4 Bug 1301333 - mark Initialize as initialisation function for CycleCollectedJSContext. r=mccr8
MozReview-Commit-ID: BRO2gsJRNjk

--HG--
extra : rebase_source : 22f027261538bf1a3e39d8bd02fd93cda61fe693
2016-09-16 13:31:37 +03:00
Wes Kocher
da7b1c61a1 Merge inbound to central, a=merge 2016-09-19 15:51:39 -07:00
Valentin Gosu
c0e2f75813 Bug 1239686 - Add method to set logging file at runtime r=nfroyd
* Only allows setting the log file at runtime if not set by an Env Var
* LogModulePrefWatcher will watch logging.config. prefs and call into Logging.cpp to set the log file, sync or timestamp
* Log files set by pref will have a -main.PID or -child.PID suffix
* If the logging.config.clear_on_startup pref is true, prefs will be reset upon restart.
MozReview-Commit-ID: CWJujX4jm2A
2016-09-19 17:39:47 +02:00
ffxbld
857d1ac980 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-09-19 09:45:57 -04:00
Andi-Bogdan Postelnicu
cbfe4ec772 Bug 1282408 - Add ignore-initialization-check annotation to mCurrPi from CCGraphBuilder. r=mccr8
MozReview-Commit-ID: FFgmluIyvbs
2016-09-19 16:23:40 +03:00
Xidorn Quan
7d4ca9c88b Bug 1303302 - Add IsDestructible trait in TypeTraits and use it for refcounted type static check. r=froydnj
MozReview-Commit-ID: G3YFhrJngq0

--HG--
extra : rebase_source : da0aa325eb7772c1a156440ed46be9d0d429c91e
2016-09-16 17:23:55 +10:00
Phil Ringnalda
6beabc555f Backed out changeset 48694b762a84 (bug 1263595) for -Werror bustage
CLOSED TREE
2016-09-15 22:04:50 -07:00
Eric Faust
c725e729c5 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Eric Rahm
395fa9e2ed Bug 1301742 - Improve UTF-16 to UTF-8 conversion speed. r=froydnj
This adds an SSE2 optimized path for UTF-16 strings that can be trivially
converted to UTF-8 (they contain no characters > 0X7F). It has a
speedup for the case where many of the leading characters are < 0X80 and
should have the same performance in the worst-case scenario where the first
character is > 0X7F.
2016-09-15 15:46:29 -07:00
Terrence Cole
1a8989f3c0 Bug 1004276 - Assert that we do not GC in the wrong parts of the CC; r=mccr8
--HG--
extra : rebase_source : f5a339a1c7e356e5d726b5323b860f3cbe490ec3
2014-04-30 16:06:25 -07:00
Boris Zbarsky
0fd831e559 Bug 1302304. Remove IDL bits that reference nsIDOMMediaError; it's not needed anymore. r=bkelly 2016-09-15 11:41:35 -04:00
Carsten "Tomcat" Book
571b01b867 Backed out changeset fdee8d1538b0 (bug 1288618) 2016-09-15 16:34:10 +02:00
Carsten "Tomcat" Book
6155a378e7 Backed out changeset 30e2b2eea845 (bug 1288618) 2016-09-15 16:34:09 +02:00
Matt Woodrow
0f949621e5 Bug 1288618 - Part 7: Initialize AbstractThread in the GPU process. r=dvander 2016-09-15 23:17:59 +12:00
Matt Woodrow
9c7f101c32 Bug 1288618 - Part 6: Avoid unnecessarily allocating a TailDispatcher for XPCOMThreadWrapper. r=bholley 2016-09-15 23:17:59 +12:00
Christian Holler (:decoder)
3c7149e85d Bug 1289194 - Experimental LibFuzzer integration. r=glandium
MozReview-Commit-ID: 9njDcbltyow

--HG--
extra : rebase_source : 774d25f2ac4e4b1a876e48159333188bc722f940
2016-09-01 15:07:01 +02:00
Jan de Mooij
7f794780e0 Bug 1302448 part 2 - Rename XPCJSRuntime to XPCJSContext. r=mrbkap
--HG--
rename : js/xpconnect/src/XPCJSRuntime.cpp => js/xpconnect/src/XPCJSContext.cpp
extra : rebase_source : e6b435ab1ca2739e340669195dff77c561ea573e
2016-09-14 15:48:17 +02:00
Jan de Mooij
a53986bf29 Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Gabriele Svelto
6a9ddd1201 Bug 1301667 - Increase the low memory threshold under Windows and clean up the available memory tracker r=njn 2016-09-14 13:52:45 +02:00
Carsten "Tomcat" Book
d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Ben Kelly
ae456e0d5c Bug 1300118 P5 Expose the TaskQueue backlog ImpreciseLengthForHeuristics(). r=bholley 2016-09-13 20:12:15 -07:00
Ben Kelly
48310e4429 Bug 1300118 P4 Make nsThread expect NS_DISPATCH_AT_END similar to nsThreadPool. r=bholley 2016-09-13 20:12:15 -07:00
Ben Kelly
11d56a06f0 Bug 1300118 P3 Fix TaskQueue sCurrentThread TLS handling for nsIEventTarget targets. r=jwwang 2016-09-13 20:12:15 -07:00
Ben Kelly
e03450312b Bug 1300118 P2 Make TaskQueue implement nsIEventTarget. r=bholley 2016-09-13 20:12:15 -07:00
Ben Kelly
f0d440f9d1 Bug 1300118 P1 Make TaskQueue deliver runnables to nsIEventTarget. r=bholley 2016-09-13 20:12:15 -07:00
Ben Kelly
46960c09a1 Bug 1300118 P0 Rename NS_DISPATCH_TAIL to NS_DISPATCH_AT_END to avoid confusion with AbstractThread::TailDispatch. r=bholley 2016-09-13 20:12:15 -07:00
Ryan VanderMeulen
739f3dac5a Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
David Anderson
f80736e0c8 Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
--HG--
extra : rebase_source : 9579e1ca6ec1af2fac7cd0fc4574b849cc8b8e12
2016-09-13 16:30:57 -07:00
Andrew McCreight
f9e6d19361 Bug 1299934 - Run shutdown collection in workers in opt builds. r=froydnj,smaug
We skip running shutdown collection on the main thread, because we're
exiting right after, but the process still continues when we shut down
a worker, so we should always do collections there.

MozReview-Commit-ID: IQZItm1qWXW

--HG--
extra : rebase_source : 4fd89e36db124a524c240e806a885dee3b68979e
2016-09-08 13:04:30 -07:00
Andrew McCreight
d9ec3221fa Bug 1301796 - Remove racy code in nsCycleCollector::RegisterJSRuntime. r=smaug
MozReview-Commit-ID: 18MW4EYbaC8

--HG--
extra : rebase_source : a8e4b2fbf14f5ffd6acde32bf3ba96443c8ab5d4
2016-09-09 15:14:15 -07:00
Jean-Yves Avenard
2dbf4a63af Bug 1299072: P2. Add media decoding error types. r=gerald
MozReview-Commit-ID: KW2pWsXtffp

--HG--
extra : rebase_source : 0d8878c00d165250a25a6be0fd9c965539a077ce
2016-09-09 23:08:45 +10:00
Terrence Cole
6af2f7d660 Bug 1257387 - Move OOM callback annotation to the common runtime for workers; r=mccr8
--HG--
extra : rebase_source : 3278a5bc32ce245003b890fbfbbf4f32e3d42944
2016-09-13 10:57:07 -07:00
Jon Coppeard
d97a19687b Bug 1298639 - Use bytecode offsets rather than direct pointer in profiling API r=shu 2016-09-13 14:06:46 +02:00