Commit graph

1130 commits

Author SHA1 Message Date
Benjamin Smedberg
4df1abc2c0 Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium
MozReview-Commit-ID: CQv1UrSaw4D

--HG--
rename : xpcom/build/nsXREAppData.h => xpcom/build/XREAppData.h
rename : xpcom/glue/AppData.cpp => xpcom/glue/XREAppData.cpp
extra : rebase_source : c909ee206d31b110c6a38cc466ef24a465ee2ae5
extra : histedit_source : e86c3900412229f99ade29c5b8e3943d943ec718
2016-12-02 09:07:24 -05:00
Marco Castelluccio
5cd305b7b3 Bug 1315213 - Add "CurrentPatchLevel" to the list of possible values where the microcode version is stored. r=milan 2016-12-01 09:31:46 +01:00
Marco Castelluccio
bb7c32f517 Bug 1315213 - Support reading microcode version from the registry when it is a REG_DWORD value (sometimes used for AMD CPUs). r=milan 2016-12-01 09:31:14 +01:00
Carsten "Tomcat" Book
dd36826044 Merge mozilla-central to mozilla-inbound 2016-11-24 16:46:19 +01:00
Bob Owen
6b86819989 Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-24 15:08:31 +00:00
Sylvestre Ledru
197c2c53d8 Bug 1318004 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
MozReview-Commit-ID: lk5eJXUno9

--HG--
extra : rebase_source : b8d2fe8df709e19412593f4825ec10cb559eff7e
2016-11-16 17:12:13 +01:00
Sebastian Hengst
e44f8e0dfe Backed out changeset 360c780c0a95 (bug 1147911) 2016-11-23 18:32:54 +01:00
Bob Owen
b85bbccedd Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-23 13:36:58 +00:00
Wes Kocher
9cd626a6a3 Backed out 4 changesets (bug 1318004) for xpcshell failures a=backout CLOSED TREE
Backed out changeset a3fe53641526 (bug 1318004)
Backed out changeset a5d1676b6f88 (bug 1318004)
Backed out changeset b56b37f0f4d7 (bug 1318004)
Backed out changeset fb5254baf1cb (bug 1318004)
2016-11-21 16:15:38 -08:00
Sylvestre Ledru
4133efb733 Bug 1318004 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
MozReview-Commit-ID: lk5eJXUno9

--HG--
extra : rebase_source : b222c4a47e5b7b0d758f9436d172d905168db164
2016-11-16 17:12:13 +01:00
Wes Kocher
e9f743f2af Backed out 4 changesets (bug 1318004) for xpcshell failures a=backout
Backed out changeset 6995bd33872b (bug 1318004)
Backed out changeset 9be5c856bc78 (bug 1318004)
Backed out changeset 365b0b7f289a (bug 1318004)
Backed out changeset 2f2ebf176eac (bug 1318004)
2016-11-21 12:23:17 -08:00
Sylvestre Ledru
9c80f7b6f2 Bug 1318004 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Ehsan
MozReview-Commit-ID: lk5eJXUno9

--HG--
extra : rebase_source : b222c4a47e5b7b0d758f9436d172d905168db164
2016-11-16 17:12:13 +01:00
Eric Rahm
4ec2c95fa7 Bug 1316729 - Pass command-line args to gtest. r=ted
MozReview-Commit-ID: 8Xs52E9NnCq
2016-11-16 13:04:11 -08:00
Sebastian Hengst
ea96126bb8 Backed out changeset 1a72c4919371 (bug 1147911) 2016-11-18 00:58:51 +01:00
Bob Owen
fb53b5987c Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-17 15:48:52 +00:00
Jim Mathies
b30144022d Bug 1312100 - Enable a11y with e10s for Linux/OSX on all channels. r=felipe
MozReview-Commit-ID: Ex7T5S6MNJR
2016-11-02 07:26:41 -05:00
Carsten "Tomcat" Book
40cbfabd47 Backed out changeset e71702af187b (bug 1312100) for bustage
--HG--
extra : rebase_source : 7ed159ca1a2cb6d6247bc8860ac5f9e53142f95a
2016-11-02 12:36:31 +01:00
Jim Mathies
e3f5b0ff43 Bug 1312100 - Enable a11y with e10s for Linux/OSX on all channels. r=felipe
MozReview-Commit-ID: ByOtfJ4HmMO

--HG--
extra : rebase_source : 639d8433430392beda41c5e3bd13a56ce5b5bb52
2016-10-25 08:40:21 -05:00
Manuel Griessmayr
0628b97521 Bug 1311783 - Pretty print firefox -h. r=bsmedberg 2016-10-28 07:40:00 -04:00
Jed Davis
13fea0b617 Bug 1268733 - Move sandbox telemetry / crash annotation code from mozsandbox to libxul. r=haik 2016-10-26 16:57:10 -06:00
aleth
3393f980e5 Backed out changeset 028b297ddba4 (Bug 1311783) for eslint failures. rs=bustage-fix
--HG--
extra : rebase_source : 2b601136f1e3b28d11a7c47d29c5fc36f96366c0
extra : amend_source : 1fd328e51326cd1ac4cb670cbe93ef1160db2a24
2016-10-26 19:41:20 +02:00
Manuel Griessmayr
31a011d1d4 Bug 1311783 - Pretty print firefox -h. r=bsmedberg
--HG--
extra : amend_source : 0fa054832c397bcff54892a8eee357540db45df3
2016-10-20 11:51:00 +02:00
Aaron Klotz
d65e835225 Bug 1310788: Modify e10s check to allow a11y on Windows Vista and newer; r=jimm
MozReview-Commit-ID: 19OzVHDcsNM

--HG--
extra : rebase_source : 5d3ee4a83ac4eb5e7b0f4816e5e1548ccc9d5b67
2016-10-17 13:07:51 -06:00
Sebastian Hengst
c4a0ba38de Bug 1304829 - Rename nsXULAppInfo's isReleaseBuild to isReleaseOrBeta. r=ted
MozReview-Commit-ID: J4F27Z1Hy7h
2016-10-14 13:31:39 +02:00
Jim Mathies
5cb37c2745 Bug 1309599 - Turn e10s on for RTL linux users. r=felipe
MozReview-Commit-ID: IY4YIcYayKB
2016-10-12 15:12:04 -05:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Ryan VanderMeulen
1fe97cdbbb Bug 1308385 - Make sure CrashReporter::AnnotateCrashReport usage is guarded by MOZ_CRASHREPORTER in nsAppRunner.cpp. r=froydnj
--HG--
extra : rebase_source : d2b9ce60889def291eaccdcbefb7d0b89ce327cc
2016-10-07 10:42:56 -04:00
Milan Sreckovic
9624c5aac5 Bug 1305120: CPU microcode as a separate field in the crash report. r=ted.mielczarek
MozReview-Commit-ID: 9g8ku4Et6sM

--HG--
extra : rebase_source : 9f6dec72efc99b7d3a8b14e11b00509d2d3fc656
2016-10-05 18:23:38 -04:00
Tom Tromey
7bc8491bea Bug 1067547 - unify ScopedLogging implementations and use in nsEmbedFunctions; r=bsmedberg
MozReview-Commit-ID: 6hDZDaBsNFM

--HG--
extra : rebase_source : 9422c235ebdffd84e06137bb2c63ce106cb39f0b
2016-09-26 11:06:38 -06:00
David Anderson
4c2e28b8b6 Add XRE_IsGPUProcess. (bug 1301266 part 1, r=billm) 2016-09-21 22:38:40 -07:00
Luca Niccoli
dda95d5cd3 Bug 921063 - Lock and (potentially) wait for remote service startup. r=glandium
MozReview-Commit-ID: 5MRX9TtxTLo

--HG--
extra : rebase_source : d836573b16aa52199750f50208710294e921bfa1
2016-09-20 11:14:12 +02: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
Benoit Girard
28e74a12c1 Bug 1278325 - Hook exit to catch early 3rd party exits in crash reports. r=ted
MozReview-Commit-ID: 6x6DLcqqkAe

--HG--
extra : rebase_source : 658ec6d15a23aa731a5a89d805dc38b2c9075c04
2016-06-07 15:58:14 -04:00
Sebastian Hengst
5aaa326c3d merge mozilla-central to mozilla-inbound to fix spidermonkey bustage. r=merge a=merge 2016-09-07 18:49:04 +02:00
Sebastian Hengst
a66df0b0c2 Backed out changeset 95e68b473e91 (bug 1289194) for failure to process moz.build file. r=backout a=backout
MozReview-Commit-ID: GhfzNoiE808
2016-09-07 18:45:40 +02:00
Michael Layzell
e12728495c Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
Christian Holler (:decoder)
055c4fb1dd Bug 1289194 - Experimental LibFuzzer integration. r=glandium
--HG--
extra : histedit_source : a632f3ff76e07562d1854bc68b50499e4b4667a0
2016-09-01 15:07:01 +02:00
Bobby Holley
90de39d448 Bug 1300287 - Move Servo_Shutdown call to nsAppRunner.cpp. r=emilio
This mirrors the location of Servo_Init. This is important because xpcshell runs
don't use nsAppRunner, and so we end up with an unpaired call to Servo_Shutdown,
which crashes.
2016-09-02 23:48:45 -07:00
Jim Mathies
42b6caf0b9 Bug 1296353 - Enable e10s with accelerated gfx for XP Users. r=felipe
MozReview-Commit-ID: 2VHpBAVbiQ0

--HG--
extra : rebase_source : a568b41b0d62ed71b9220774e2ab5d35ee78ef45
2016-09-01 14:28:04 -05:00
Stephen A Pohl
a72d356fc5 Bug 1250901: Relaunch applications using NSTask instead of posix_spawnp on OSX. r=mstange 2016-08-31 18:56:45 -04:00
Iris Hsiao
114e53ff4e Backed out changeset 4a42968b790d (bug 1250901) for Mochitest M(oth) failures on OS X 2016-08-30 16:54:29 +08:00
Stephen A Pohl
172ae502d6 Bug 1250901: Relaunch applications using NSTask instead of posix_spawnp on OSX. r=mstange 2016-08-29 21:14:36 -04:00
Nicholas Nethercote
71feae1420 Bug 1295934 - Add a "StartupCrash" crash report annotation. r=ted.
--HG--
extra : rebase_source : 8a1b487cc85047b4cb1ab43ae3371940ea5792d7
2016-08-25 11:16:49 +10:00
Kan-Ru Chen
0f742e202c Bug 1297030 - Fix AnnotateLSBRelease includes. r=jrmuizel
MozReview-Commit-ID: 8Szu4LjIyT5

--HG--
extra : rebase_source : 1f482a0b2727579bef773190fc896a25156a7ea9
2016-08-22 02:52:00 -04:00
Kan-Ru Chen
b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Nicholas Nethercote
8f84642d03 Bug 1296164 (part 2) - Use [must_use] on nsIFile.open{NSPR,ANSI}FileDesc(). r=froydnj.
The patch also changes RemoteOpenFileChild::OpenNSPRFileDesc() so that it
cannot succeed with a null fd, so that checking just the return value is
sufficient.

--HG--
extra : rebase_source : cc40bbcf2a9991edc9d3da3fb624d27db50b4996
2016-08-18 15:27:16 +10:00
Nicholas Nethercote
04be8d005a Bug 1296164 (part 1) - Use [must_use] on nsIFile.{create,createUnique}. r=froydnj.
And fix numerous missing checks that this change identifies.

--HG--
extra : rebase_source : 97b0a6e8f9375c937dadb59c1110bb54b7633134
2016-08-18 13:30:12 +10:00
Rob Wu
a342c4d816 Bug 1287626 - Add globally unique nsIXULAppinfo.uniqueProcessID r=billm
MozReview-Commit-ID: 3bcW1CjTpjT

--HG--
extra : rebase_source : fdde98684957139e412c5f664ebeab655fee883d
2016-08-10 16:07:40 -07:00
Jim Mathies
118ac04293 Bug 1286306 - Add an app info property exposing the state of the Windows dll blocklist, and test the value during browser test runs. r=bsmedberg
MozReview-Commit-ID: H7206wTh8YM
2016-07-27 15:20:58 -05:00
Carsten "Tomcat" Book
389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Bobby Holley
ba66557dc5 Bug 1291885 - Rejigger init hook and add shutdown hook. r=emilio 2016-08-03 18:31:01 -07:00
Andrew Comminos
e1bf608589 Bug 1289561 - Implement LSB release annotation in crash reports. r=jrmuizel
MozReview-Commit-ID: IEcH6K5D27H

--HG--
extra : rebase_source : bf16658e19d8a058d27cb3a0caf0f0a1400fa1cf
2016-07-26 14:23:47 -04:00
Alexandre Lissy
0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Nicholas Nethercote
0917ac7c50 No bug. Add a short but helpful comment to nsXULAppInfo::Callback. r=me.
DONTBUILD because it's a comment-only change.
2016-08-02 16:30:11 +10:00
Haik Aftandilian
8f7ffc84b7 Bug 1274540 - Record sandboxing status in crash reports; r=gcp
Adds content sandbox metadata to parent and child crash reports:
Includes the value of pref security.sandbox.content.level,
whether or not the system is capable of sandboxing, if the
sandbox was successfully turned on, and (on Linux systems)
the sandbox capabilities flags.

New crash report keys:
"ContentSandboxLevel" in parent and content
"ContentSandboxCapable" in parent
"ContentSandboxEnabled" in content
"ContentSandboxCapabilities" in content on Linux
2016-07-25 13:21:00 +02:00
Jim Chen
ce45a595ab Bug 1287946 - Update existing code to use mozilla::java; r=me 2016-07-21 13:49:04 -04:00
Carsten "Tomcat" Book
4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
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
Aaron Klotz
cdbff654d0 Bug 1277075: Modify parent and child process startup to use mscom::MainThreadRuntime; r=jimm
MozReview-Commit-ID: DpRPrxtgMoO

--HG--
extra : rebase_source : 1fa666a88f90540da1a2d9d52e85031b3eb52e0e
2016-06-04 01:42:40 -06:00
Iris Hsiao
5f7ab9c8f9 Backed out changeset 8feb113aaba7 (bug 1277075) 2016-07-20 14:13:35 +08:00
Aaron Klotz
6dffd31f7b Bug 1277075: Modify parent and child process startup to use mscom::MainThreadRuntime; r=jimm
MozReview-Commit-ID: DpRPrxtgMoO

--HG--
extra : rebase_source : 139f56773ba4ea2df1ad2b16442242a4dbd05c62
2016-06-04 01:42:40 -06:00
Iris Hsiao
2b63a49098 Backed out changeset 0a12376c8ba5 (bug 1277075) 2016-07-19 12:36:39 +08:00
Aaron Klotz
273f08913c Bug 1277075: Modify parent and child process startup to use mscom::MainThreadRuntime; r=jimm
MozReview-Commit-ID: HvO9eVt1PTz

--HG--
extra : rebase_source : a06ff8cd96f83c59b466ba57f67ffad8cc9b6f26
2016-06-04 01:42:40 -06:00
Xidorn Quan
41183dd2dc Bug 1287069 - Add --disable-e10s for mach run. r=gps, a=KWierso
MozReview-Commit-ID: 2rIEsYwxZj5

--HG--
extra : amend_source : a9ce0e812cf1fb43641e8bb6a608806a383210f9
extra : transplant_source : %EA%97%EC%EC%7Dc%E9%3C%01%93%A4%3F%95X%864R/%1B%96
2016-07-15 20:20:49 +10:00
Nicholas Nethercote
a913f99107 Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more

--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00
stefanh@inbox.com
49a3815a8b Bug 1282251 - Remove nsCocoaFeatures::OnLionOrLater(), OnMountainLionOrLater() and OnMavericksOrLater(). r=spohl. 2016-07-11 21:19:36 +02:00
Chris Peterson
43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Haik Aftandilian
844a01c384 Bug 1270018 - NS_APP_CONTENT_PROCESS_TEMP_DIR should only return the sandbox writeable temp. r=bobowen, r=bsmedberg
MozReview-Commit-ID: 5L9zCR4ExWD

--HG--
extra : transplant_source : %B8%90%A3%1C%A4G%A5%95%0C%B7J%B6%A4%FAC%1A%9B%FA0%EE
2016-07-05 14:48:25 -07:00
Milan Sreckovic
5aaebd5499 Bug 1282584: If we're not in the parent process, E10S must be on. r=jimm
MozReview-Commit-ID: LtWxnZAzxCl

--HG--
extra : rebase_source : bf09afcf3687ebfc387a874d2f83e8ba30913081
2016-06-30 12:53:48 -04:00
Julian Seward
731eb09566 Bug 1279614 - 2,000 instances of "XPCOM objects created/destroyed from static ctor/dtor" emitted from xpcom/base/nsTraceRefcnt.cpp during linux64 debug testing. r=gfritzsche,jmathies. 2016-06-30 14:04:15 +02:00
Kirk Steuber
5b3eba1f2b Bug 1263774 - Include memory reports in content process crash reports. r=mccr8, r=aklotz
MozReview-Commit-ID: 7y3GFBZxjsS

--HG--
extra : rebase_source : 9d5aaaa6caad336c85c42002df321b382c90c8a9
2016-06-21 11:45:25 -07:00
Carsten "Tomcat" Book
3c9bce3256 merge mozilla-inbound to mozilla-central a=merge 2016-06-22 13:44:52 +02:00
Oliver Henshaw
56d2a2ea3a Bug 694570 - (2/4) - Annotate deliberate leak in SaveToEnv. r=karlt
Required now because the setenv calls in nsNativeAppSupportUnix::Start somehow
prevent the leak in putenv from occurring. These setenv calls will be removed
in the next patch.
2016-06-20 08:11:00 +02:00
Jim Mathies
2fa7406cfc Bug 1277831 - Enable e10s for RTL users on Windows and OSX. r=felipe
MozReview-Commit-ID: 4B2zLIQu8RE
2016-06-09 07:35:37 -05:00
Jeff Gilbert
446b37421d Bug 1280383 - Fix EOL whitespace.
MozReview-Commit-ID: KAkt2BcsSS9
2016-06-21 13:50:19 -07:00
George Wright
4d8fda4c00 Bug 1280383 - Enable separate content processes via envvar, for developer use. - r=ted
MozReview-Commit-ID: DtIXOffbl10
2016-06-21 13:50:19 -07:00
David Anderson
52270601eb Add GeckoProcessType_GPU. (bug 1271180 part 3, r=billm)
--HG--
extra : rebase_source : e983b161bf4d26dfc0de0e0da523a66ab25d7baa
2016-06-10 21:54:44 -04:00
Phil Ringnalda
5e0adb7d56 Back out 5 changesets (bug 1271180) for static analysis bustage
CLOSED TREE

Backed out changeset cfb53b780b18 (bug 1271180)
Backed out changeset 204b084385f8 (bug 1271180)
Backed out changeset 353da876be33 (bug 1271180)
Backed out changeset 4472dfbc1dc6 (bug 1271180)
Backed out changeset 81079e787b8a (bug 1271180)

--HG--
rename : ipc/glue/TaskFactory.h => dom/plugins/ipc/TaskFactory.h
2016-06-11 00:46:09 -07:00
David Anderson
39defbc2f7 Add GeckoProcessType_GPU. (bug 1271180 part 3, r=billm)
--HG--
extra : rebase_source : 30353c82c34e03996ff0551330ebe86e2010cbaf
2016-06-10 21:54:44 -04:00
Jim Mathies
112a78c7a3 Bug 1278568 - Enable e10s with accessibility in Nightly and local builds. r=tbsaunde
MozReview-Commit-ID: Gu9zRuJImYb
2016-06-07 15:58:42 -05:00
Julian Seward
e00ffcdc37 Bug 1258183 - TSan: data race toolkit/components/telemetry/Telemetry.cpp in CanRecordBase (part 2, derace). r=chutten.
--HG--
extra : rebase_source : 403c8ec419ee8ac2ece248a8395480dbd3018c74
2016-06-08 17:46:24 +02:00
Bob Owen
7144380893 Bug 1278547: Don't attempt to delete the content process temp directory when it is the normal temp. r=jimm
MozReview-Commit-ID: t0rLIuFVMj
2016-06-08 07:46:57 +01:00
Jim Mathies
f40dcc79b5 Bug 1277882 - Disable e10s on Linux when recent accessibility use is detected. r=felipe
MozReview-Commit-ID: 6RTPJedwwzh
2016-06-05 07:59:38 -05:00
Jed Davis
78e49e2efb Bug 1114647 - Use firefox for child processes instead of plugin-container. r=ted
Disabled on Mac (content processes need to use plugin-container.app for
UI reasons) and on Linux unless --disable-sandboxing (build issues).

Based on work by George Wright <george@mozilla.com>.

--HG--
extra : amend_source : 43986e25743de21e3ddfb7893e3ed550fe6eef76
2016-06-03 12:49:39 -07:00
Carsten "Tomcat" Book
834b1d77f0 Backed out changeset f7481a586899 (bug 1258183) 2016-06-03 15:14:51 +02:00
Julian Seward
71f85a0741 Bug 1258183 - TSan: data race toolkit/components/telemetry/Telemetry.cpp in CanRecordBase (part 2, derace). r=chutten.
--HG--
extra : rebase_source : 322f4fb1826a1182d2b4f0450e013eaef5858398
2016-06-03 12:13:53 +02:00
Felipe Gomes
9a2dca63da Bug 1275791 - Remove E10S_ADDONS_BLOCKER_RAN telemetry probe. r=chutten
MozReview-Commit-ID: CJfYXWqFnHJ

--HG--
extra : rebase_source : 77c03b03f56e8fdc18a22c98f1129aeb3af0e1ca
2016-06-01 15:46:21 -03:00
Felipe Gomes
5cd245e0dc Bug 1275040 - Actually block e10s on OS X 10.8. r=jimm
MozReview-Commit-ID: 6In98yvkk8s
2016-05-31 13:10:38 -03:00
Thomas Zimmermann
f8cbb19d49 Bug 1276185: Don't invoke |SandboxInfo::SubmitTelemetry| on Android, r=gfritzsche
The header file "mozilla/SandboxInfo.h" isn't included on Android
devices, so use its interfaces.

MozReview-Commit-ID: DJRMNsqsjLZ
2016-05-27 12:17:02 +02:00
Felipe Gomes
cbfaaa6b4b Bug 1275040 - Block e10s from being activated in OS X 10.6 - 10.8 in all channels. r=jimm
MozReview-Commit-ID: HOXJgZ4b10x
2016-05-25 18:51:51 -03:00
Felipe Gomes
5dea447448 Bug 1275039 - Block e10s from being activated for release users on Windows XP. r=jimm
There's some reorganization of the code in aboutSupport to support displaying Windows XP as a string without needing to be localized, as this will require an uplift to Aurora.

MozReview-Commit-ID: IqLjEIKq0VI
2016-05-25 18:51:48 -03:00
Gian-Carlo Pascutto
e8fd20fdcf Bug 1098428 - Add Linux sandboxing information to Telemetry. r=gfritzsche
MozReview-Commit-ID: 6Un4yNzxGgg

--HG--
extra : rebase_source : fc8762b9802fab071cb194513a5ad390ae7984f3
2016-05-18 18:37:44 +02:00
Carsten "Tomcat" Book
be11014a2b Backed out changeset 767f65379fdf (bug 1098428) for causing linux crashes on a CLOSED TREE 2016-05-24 13:03:00 +02:00
Gian-Carlo Pascutto
42b1907a65 Bug 1098428 - Add Linux sandboxing information to Telemetry. r=gfritzsche
MozReview-Commit-ID: GtIPsRqq5hr

--HG--
extra : rebase_source : 6b918e5119f15536c9437c27cfee413577268b78
2016-05-18 18:37:44 +02:00
Felipe Gomes
21e5a502a9 Bug 1272751 - Remove block of GTK+ 3.20+ from e10s on release builds. r=jimm
MozReview-Commit-ID: FAeUxCKKmfQ

--HG--
extra : rebase_source : 5e519cf22f4607af8b3a0066c25f3097c4ea8e26
2016-05-16 14:53:44 -03:00
Bob Owen
e809e9f918 Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3

--HG--
extra : rebase_source : 40966d98ca6c37f30884639d648907b4760ae240
2016-05-15 16:41:40 +01:00
Felipe Gomes
918237b0ca Bug 1227230 - Remove all of the e10s prompting code. r=jimm
This removes all of the e10s-related prompting code, including:
- doorhanger offering to opt-in into e10s
- pref and telemetry probe used to measure the number of users who remained opted-in
- dialog that shows up when unchecking the e10s checkbox saying that a tab will open, requesting feedback
- tab opening requesting feedback
- all related strings

The checkbox in the preferences window remains (nightly/aurora only), as well as the message saying that e10s requires a restart.

The e10s accessibility doorhanger remains. and chrome://browser/skin/e10s-64@2x.png remains too because it's also used in the a11y doorhanger.

MozReview-Commit-ID: aOdvnbeHOa

--HG--
extra : rebase_source : e89cc42dddcb376bece435138611b364d3477fa8
2016-05-12 20:31:52 -03:00
Gijs Kruitbosch
88ffc8d332 Bug 1265368 - enable refresh to be used with the -p switch, r=MattN
MozReview-Commit-ID: 7LAkVljrlAS

--HG--
extra : rebase_source : d2c8e237de0809d571d83cf6658fda150863b0b3
extra : histedit_source : 5289b6c7fa764443f4c3a139cce4e4c1e7d1bc78
2016-04-18 13:46:47 +01:00
Gijs Kruitbosch
939515d3cc Bug 1265368 - enable resetting non-default profiles, r=MattN
MozReview-Commit-ID: KpW9JgghFkn

--HG--
extra : rebase_source : e1a6ce0a05ccd6ef94026c6fdeaf6421d5cffe03
extra : histedit_source : ca0ed957aa68ed495cc2d8897aae3e553dd2ebff%2C8ce1e45de095401a6cc85f912cfebacd384eb989
2016-05-05 21:38:49 +01:00
Felipe Gomes
ecb4d04f74 Bug 1266213 - Temporarily block users of GTK+ 3.20+ from e10s on Beta. r=jimm
MozReview-Commit-ID: 56UiL3MiiUy
2016-04-22 13:42:57 -03:00
Stephen A Pohl
1a3d3bc4a3 Bug 711670: Setup the Mac Application Delegate earlier to respond to URLs clicked in external applications when updates are pending. r=mstange 2016-04-21 16:04:59 -04:00
Andrea Marchesini
909571c54d Bug 1264469 - reset the string gAbsoluteArgv0Path when the main-loop is completed, CLOSED TREE, r=me 2016-04-19 14:26:31 +02:00
Andrea Marchesini
9f18f1f8d1 Bug 1264469 - Would be nice to be able to open 2 firefox sessions with a different profiles from about:profiles, r=smaug 2016-04-19 12:00:59 +02:00
Carsten "Tomcat" Book
eae4a312af Bug 1261751 - Problems with OS X Sandboxed TempDir and Rules. r=bobowen r=gcp
--HG--
extra : amend_source : 2011128c7e5406d7865da2b24f81facf7889cb0e
2016-04-16 09:00:29 +02:00
Bob Owen
907939a278 Bug 1256992 Part 2: Move SandboxBroker Initialization earlier and add telemetry and extra null checks. r=aklotz
MozReview-Commit-ID: Fu05wLn27UG
2016-04-07 08:28:14 +01:00
George Wright
5d010a6843 Bug 1237769 - Disable e10s on Windows XP if layers acceleration is requested r=milan 2016-04-06 13:30:46 -04:00
Felipe Gomes
6fae6b4557 Bug 1260190 - Disable e10s for accessibility users on OS X. r=jimm
MozReview-Commit-ID: 35KZiKcSFqL

--HG--
extra : rebase_source : 090237eb0d6e6c6912b39ba71e8b3f6ffe31f56c
2016-04-01 15:54:33 -03:00
Bob Owen
db4259c176 Bug 1256992: Initialize Windows sandbox BrokerServices before any child processes are created. r=aklotz, r=bholley 2016-03-23 08:10:43 +00:00
Markus Stange
8a772acd42 Bug 1068674 - Don't turn off e10s if hardware acceleration is disabled. r=jimm
MozReview-Commit-ID: 8NIUSSHy2dt

--HG--
extra : rebase_source : d34c4721af319e6f8632940a4105534f8c8c4a01
2016-03-22 15:09:24 -04:00
Carsten "Tomcat" Book
417d5d9533 Backed out changeset 0fedfd441a06 (bug 1256992) for gtest failures 2016-03-22 09:54:55 +01:00
Tooru Fujisawa
fc9cc29e33 Bug 1153978 - Part 0: Separate nsIPlatformInfo from nsIXULAppInfo. r=jst,gps 2016-02-04 06:12:45 +09:00
Bob Owen
72e4566fa4 Bug 1256992: Initialize Windows sandbox BrokerServices before any child processes are created. r=aklotz, r=bholley 2016-03-22 07:40:03 +00:00
Felipe Gomes
cfc7a4fb43 Bug 1257242 - Improve RTL checks to actually check for RTL instead of using a hardcoded list. r=jimm
This does the much more correct check instead of relying on the list proposed in bug 1234673.

MozReview-Commit-ID: 5yRd4NhwjSd
2016-03-16 17:31:31 -03:00
Felipe Gomes
7ff0e41628 Bug 1257242 - Split the ::BrowserTabsRemoteAutostart() function into two parts, to allow for the blocking policies to be checked independently from the prefs checks. r=jimm
The behavior of ::BrowserTabsRemoteAutostart() shouldn't change, meaning that every result remains the same. The new getter can be accessed by JS through Services.appinfo.multiprocessBlockPolicy

MozReview-Commit-ID: 62PpbeJcMCI
2016-03-16 17:31:14 -03:00
Benjamin Smedberg
702c087507 Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : 0ae9efbce919efcd0f20314bd89848da017b7e57
2016-03-14 09:31:19 -04:00
Daniel Holbert
58e5e16c44 backout d85b18faba72 (bug 1187270) for build bustage. 2016-03-15 15:51:56 -07:00
Benjamin Smedberg
42e1362b4d Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : fae01778b3afbe6ca9dfcf774cead01eeac50445
extra : histedit_source : 98c0c070effca99711e35b4b4c3124a9fbdba089
2016-03-14 09:31:19 -04:00
Jim Mathies
ee3a95d698 Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz
MozReview-Commit-ID: 2LuYciKfsWn
2016-03-13 08:25:23 -05:00
Patrick Cloke
0483614806 Bug 1254774 - error: member access into incomplete type 'nsIUUIDGenerator' after bug 1237847. r=aklotz 2016-03-09 08:46:03 -05:00
Aaron Klotz
547732227b Bug 1236108: Modify sandbox initialization code to use directory service to obtain content process temp directory; r=bobowen,haik
The previous patch in this series creates a new directory service entry
specifically for obtaining the content process temp directory.

This patch converts everything else to reference that entry. It also sets
appropriate environment variables in the content processes so that system
APIs automatically pick up the directory. This is necessary for the crash
reporter to be able to call those APIs in exception handling contexts.

MozReview-Commit-ID: DF6aNKrWnWp

--HG--
extra : rebase_source : 3cc914f5d369dbc70f03fa4cb68a7eab0cc1be59
2016-03-08 11:02:27 -08:00
Aaron Klotz
183fd9cb81 Bug 1240315: Add startup crash report annotation for AppInit_DLLs; r=jimm
--HG--
extra : rebase_source : e96da444713515a12520969c34731db244d844e2
2016-01-16 14:09:28 -07:00
Haik Aftandilian
3cdbeb2bd6 Bug 1237847 - [e10s] Null deref crash when running test_pluginstream_newstream.html; r=bobowen
Modify the Mac sandbox to allow temporary files to be created in a
parent-specified subdirectory of NS_OS_TEMP_DIR. This is similar to the
Windows approach. The parent provides a UUID in a preference which is
used by the content process to form the subdirectory name.

MozReview-Commit-ID: 6BONpfZz8ZI

--HG--
extra : rebase_source : ad18e091918356a1a40c13f1453972b4512ad476
2016-02-25 15:26:13 -08:00
Felipe Gomes
72055b2f27 Bug 1251334 - Create a disposable pref to force-disable e10s in an emergency. r=jimm 2016-02-25 18:16:47 -03:00
Joel Maher
101eaf5c3d Bug 1250602 - remove ENABLE-TESTS from toolkit/xre/nsAppRunner.cpp. r=BenWa
MozReview-Commit-ID: 5vN0ZGXsn9f

--HG--
extra : rebase_source : cbaa47ff9419d108ce85d1d4e8f9fb3d301d3dcf
2016-02-23 11:15:08 -08:00
Felipe Gomes
2a82ecf425 Bug 1248796 - Store on Telemetry whether the e10s blocking code successfully ran. r=gftrizsche data-r=bsmedberg 2016-02-18 00:53:48 -02:00
Mike Hommey
fd36539df9 Bug 1246881 - Generate a header defining MOZ_BUILDID. r=mshal 2016-02-12 07:15:55 +09:00
Mike Hommey
5554e09add Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Felipe Gomes
5cae0e50dd Bug 1230196 - Allow release channel to run e10s. r=billm
--HG--
extra : commitid : 7rKp9YfaaUC
2016-02-05 13:27:12 -02:00
Felipe Gomes
3ca7b9f357 Bug 1243882 - Block e10s for locales based on Firefox's locale, not the OS. r=ehsan 2016-02-02 21:13:26 -02:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bob Owen
43abe7ef49 Bug 1165818: Remove temporary Nightly only MozTemp-* clean-up code. r=jimm 2016-01-27 11:00:09 +00:00
Felipe Gomes
8e514bfba2 Bug 1241959 - Add a description of e10s blocked status to about:support. r=jimm
--HG--
extra : commitid : 5r0m9Ql2GBC
2016-01-22 14:42:30 -08:00
Wes Kocher
72f3b982cf Backed out changeset e7cfbfa5847c (bug 1241959) for browser_Troubleshoot.js failures
--HG--
extra : commitid : LCOKRflYyYB
2016-01-22 14:42:04 -08:00
Felipe Gomes
b5abf5a2ab Bug 1241959 - Add a description of e10s blocked status to about:support. r=jimm 2016-01-22 17:34:29 -02:00
Gabor Krizsanits
1255d4d9f5 Bug 1234675 - Ability to disable e10s for users with addons. r=Mossop 2016-01-22 10:10:17 +01:00
Felipe Gomes
6dd019d2f4 Bug 1241294 - Update E10S_AUTOSTART_STATUS telemetry probe (and rename it to E10S_STATUS). r=vladan
--HG--
extra : commitid : Ahunb6R9U6s
2016-01-20 21:06:04 -02:00
Felipe Gomes
ad2e2d9c43 Bug 1234673 - Avoid users from locales ar, fa, he, ur for e10s rollout to beta. r=jimm
--HG--
extra : commitid : 6ZauY3HGT1T
2016-01-20 21:04:57 -02:00
Felipe Gomes
67436d086c Bug 1239520 - Enabled e10s on all configurations except release. r=billm 2016-01-14 16:37:55 -02:00
brendan
f03b1753ac Bug 1111701 - Remove E10S_AUTOSTART histogram. r=dexter 2016-01-12 13:50:38 -05:00
Martin Stransky
7fc8db5949 Bug 1215078 - [Wayland] Configure display for Wayland session. r=karlt
--HG--
extra : rebase_source : d9173bda51ac03aba423d1e7101b2ab2c2cc0d83
2016-01-08 01:25:00 -05:00
Arthur Edelstein
3345f3b6d9 Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey 2015-12-29 13:56:00 +01:00
Kearwood (Kip) Gilbert
cc29c10dc2 Bug 1182048 - Part 1: Allow e10s to be enabled,r=vlad
- Removed code that disabled e10s when the dom.vr.enabled pref was
  set to true.
2015-09-17 14:23:07 -07:00
Nigel Babu
d7f551baae Backed out changeset b45ee8d3233f (bug 867501) for build bustage
--HG--
extra : commitid : Lek3ilQVsmK
2015-12-29 15:28:48 +05:30
Arthur Edelstein
ae80b093a6 Bug 867501 - Pref allows JS locale to be set to US English/C. r=khuey
--HG--
extra : rebase_source : 66cefc1fb5bc407280e3707de1fc8387965d20bf
2015-12-17 16:15:00 +01:00
Shane Caraveo
ffff16ffeb Bug 1233837 support migration wizard override from distribution.ini, r=bsmedberg 2015-12-21 17:18:07 -08:00
Jed Davis
48de284e31 Bug 1222500 - Handle unexpected thread creation better on desktop Linux. r=gdestuynder 2015-11-30 18:21:00 +01:00
Jim Mathies
0fd0d13368 Bug 1198459 - Update telemetry data based on the use of the forced enable pref. r=felipe
--HG--
extra : transplant_source : q%EC%82gwe%B9%84%BD%14%97%20%F9x%CAK%96%7FE%C6
2015-12-10 17:11:03 -05:00
Jim Mathies
25edd04661 Bug 1198459 - Add support for disabling e10s if a11y was run in the previous session, or run in a session over the previous week. r=felipe
--HG--
extra : transplant_source : %3CH%D86a%91%C5%3B%82%86%23dHZ%24%D7%0D%0B%3D%8F
2015-12-10 14:28:33 -05:00
Jim Mathies
114d93fb4c Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
--HG--
extra : transplant_source : %A0R%E2Nhk%25%F7%BE%9D%E1%96W_%AD%27%DEC%F2%AC
2015-12-10 14:28:33 -05:00
Carsten "Tomcat" Book
8431613ae5 Backed out changeset bcb4ebf6ffac (bug 1198459) for bustage 2015-12-10 11:14:27 +01:00
Carsten "Tomcat" Book
7265490919 Backed out changeset 4b1d470d9f98 (bug 1198459) 2015-12-10 11:14:15 +01:00
Carsten "Tomcat" Book
0dbae93f68 Backed out changeset b3a52644af28 (bug 1198459) 2015-12-10 11:14:12 +01:00
Jim Mathies
9973bfb69c Bug 1198459 - Update telemetry data based on the use of the forced enable pref. r=felipe
--HG--
extra : transplant_source : 2u%F3O%9F%20%94%B6f%A3J%23w%9B%F8%E5%9A%F3%8F%FC
2015-12-09 08:56:50 -05:00
Jim Mathies
cecee8b5fa Bug 1198459 - Add support for disabling e10s if a11y was run in the previous session, or run in a session over the previous week. r=felipe
--HG--
extra : transplant_source : %3B_OS%DB%83%3E%8D%B9%A4h%19%90%5C%12/%23%A3%21c
2015-12-09 08:35:06 -05:00
Jim Mathies
33f95db847 Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
--HG--
extra : transplant_source : %BA%D2uF7%D5%C1jg%0E%BA%9B%84u%3D%10n%C0%93%8B
2015-12-09 08:35:06 -05:00
Milan Sreckovic
8aa11a9056 Bug 634063 - Use gfxPrefs for some layers acceleration prefs. r=nical
--HG--
extra : rebase_source : 1b61dbf88d361f8a697c3ba70d83b6d92c4de513
2015-11-24 09:35:00 +01:00
Felipe Gomes
e94f5becc6 Bug 1226487 - Allow e10s to run on Beta. r=mconley 2015-11-23 23:59:47 -02:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Bob Owen
96010550f8 Bug 1207972: Move to using USER_INTERACTIVE and JOB_INTERACTIVE by default for the Windows content sandbox. r=tabraldes 2015-10-05 11:10:46 +01:00
Andrew Comminos
5286aa4d1f Bug 1207973 - Add envvar MOZ_USE_XINPUT2 to enable XInput 2 on GTK3. r=karlt 2015-09-24 15:54:41 -07:00
Michael Layzell
66779b6bb0 Backout "Bug 1183355 - Annotate crash reports triggered by MOZ_CRASH in release builds, r=froydnj" for OOM concerns
This reverts commit 5ca16aeadfea27afc9939e39d8a6f0a39802c066.
2015-09-24 17:58:34 -04:00
Michael Layzell
3103a27863 Bug 1183355 - Annotate crash reports triggered by MOZ_CRASH in release builds, r=froydnj 2015-09-24 17:12:44 -04:00
Andrew Comminos
e5e5f9d99f Bug 1170342 - Disable XInput2 by default on GTK3. r=karlt 2015-09-22 22:25:22 -07:00
Georg Fritzsche
77f63b071b Bug 1193038: Purposely leak StatisticsReport object and suppress the leak report r=glandium,mccr8,njn 2015-08-18 19:21:40 +02:00
Phil Ringnalda
4875425b65 Backed out 2 changesets (bug 1193038) for Valgrind bustage
Backed out changeset 9a09b707e39b (bug 1193038)
Backed out changeset 2c9fe69fd9b4 (bug 1193038)
2015-09-10 12:26:00 -07:00
Randell Jesup
9ea9681ef2 Bug 1193038: unused bustage fix rs=philor on a CLOSED TREE 2015-09-10 14:00:52 -04:00
Georg Fritzsche
cfd08de5b6 Bug 1193038: Purposely leak StatisticsReport object and suppress the leak report r=glandium,mccr8 2015-08-18 19:21:40 +02:00
Richard Newman
6a2c4aba3f Bug 1132273 - Report general.useragent.locale correctly regardless of whether it's a simple or localized string. r=mfinkle
--HG--
extra : commitid : L4ISIeLBArl
2015-08-13 14:46:13 -07:00
Mike Hommey
e32873b594 Bug 1182395 - Don't error out when -p is not given an argument in RemoteCommandLine. r=bsmedberg
Leave it to the normal command line handling to handle the situation and display
the profile manager.
2015-07-17 06:23:50 +09:00
Benoit Girard
fe3dfcf5b2 Bug 1182516 - Add Chaos Mode environment variable MOZ_CHAOSMODE. r=roc
--HG--
extra : commitid : qfYBMvxZ7k
extra : rebase_source : 4c7098464712d7e5fa88ba1d8fba7c044772b0d6
2015-07-14 17:29:23 -04:00
Jeff Muizelaar
7bc6837af6 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Mike Hommey
7fdec3adb1 Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt
Using g_slice_set_config() fails with newer glib because the slice allocator
now has a static constructor that runs when glib is loaded, consequently
emitting a noisy error message which confuses people into believing it's the
root of their problems.

The only way left to force the slice allocator to use "system" malloc (in
practice, jemalloc) is to set the G_SLICE environment variable to
always-malloc, and that needs to happen before glib is loaded.

Fortunately, the firefox and plugin-container executables don't depend on
glib. Unfortunately, webapprt does, so the problem remains for web apps
running through it. xpcshell and other executables that depend on libxul
directly (as opposed to loading it dynamically) are not covered either.
2015-07-10 09:56:05 +09:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Mike Hommey
f2057d31b4 Backout changeset f70b74488807 (bug 833117) for gtest bustage on Linux 2015-07-01 16:41:20 +09:00
Mike Hommey
6535b630b6 Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt
Using g_slice_set_config() fails with newer glib because the slice allocator
now has a static constructor that runs when glib is loaded, consequently
emitting a noisy error message which confuses people into believing it's the
root of their problems.

The only way left to force the slice allocator to use "system" malloc (in
practice, jemalloc) is to set the G_SLICE environment variable to
always-malloc, and that needs to happen before glib is loaded.

Fortunately, the firefox and plugin-container executables don't depend on
glib. Unfortunately, webapprt does, so the problem remains for web apps
running through it. xpcshell and other executables that depend on libxul
directly (as opposed to loading it dynamically) are not covered either.
2015-07-01 15:29:46 +09:00
David Major
0ce20c191e Bug 1175039: Sync XUL_APP_FILE between the various CRT environments. r=ted 2015-06-26 11:00:52 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Benoit Girard
40e622a937 Backout b8601df335c1 (Bug 1174857) for bustage on a CLOSED TREE
--HG--
extra : rebase_source : 58bd3abea6a6d1439bb40fc98cae0ddd0f3dc505
2015-06-17 11:44:48 -04:00
Benoit Girard
495a19e156 Bug 1174857 - Propagate safemode to the child process. r=billm
--HG--
extra : rebase_source : 21e31bec462fa2966f5450ca2a69358219249186
2015-06-16 17:16:51 -04:00
Milan Sreckovic
a9bc8bd121 Bug 1171677 - Part 1. Safe mode exposed in crash reporter. r=tmielczarek
--HG--
extra : rebase_source : 7a1bc686a238ced963507c89cdb18951cea4a940
2015-06-05 16:07:45 -04:00
Mike Conley
95c56c5e05 Bug 1172491 - Let e10s be enabled in safe mode. r=felipe
--HG--
extra : commitid : FhJhFS1UGt7
extra : rebase_source : b82acf1a38794ef0bd390f676c4d8ab7ca1af64b
extra : amend_source : b611c7900d9d2621a0646358cf9d0735574cb792
2015-06-10 13:21:21 -04:00
Eric Rahm
4d3dc04b59 Bug 1172138 - Call PR_LogInit before profiler_init. r=froydnj 2015-06-09 17:44:46 -07:00
Daniel Holbert
d51649d86a Bug 1171171: Move nsAppRunner's gfxPrefs #include out of windows-specific section. r=milan a=KWierso 2015-06-09 14:07:08 -07:00
Milan Sreckovic
0f04052e65 Bug 1171171 - Make sure the graphics preferences are initialized early enough. r=billm 2015-06-04 14:44:30 -04:00
Robert Strong
344665f8f5 Bug 1168720 - Remove use of test env var MOZ_NO_REPLACE_FALLBACK and associated tests that are covered by other tests. r=spohl 2015-06-04 09:20:00 -07:00
Bob Owen
3ed5cce4c6 Bug 1167083: Fix memory leak in Windows low integrity temp clean up code. r=billm 2015-05-22 07:50:54 +01:00
Felipe Gomes
851909f27e Bug 1164640 - Reset the flag for disabling e10s when an a11y tool is active. r=mconley
There's now a blacklist in place for the tools that should be disabled, so we want to give another change for users with tools that are not blacklisted to test e10s.
2015-05-22 15:01:57 -03:00
Bob Owen
636e6bf95a Bug 1166316: Move temporary clean up code for old low integrity temps, so it actually gets called in non-debug builds. r=billm 2015-05-20 09:58:32 +01:00
Eric Rahm
4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Bob Owen
f1a00623b7 Bug 1162327 Part 1: Change low integrity temp to a fixed dir per profile and improve clean-up. r=jimm, r=froydnj 2015-05-18 11:51:07 +01:00
Martin Stransky
bb77c3fc69 Bug 884831 - GTK3 - crash at browser end [@ XFreeColormap() ], r=karlt 2015-05-13 11:54:13 +09:00
David Major
feedc37548 Bug 1160148: Also block AVX2 in Win7RTM, and move the code to mozglue. r=froydnj
--HG--
extra : rebase_source : b956777750a2fea7dc6f436e8540bec782ce4d2a
2015-05-11 16:12:45 -04:00
David Major
acf8d9dad0 Bug 1160148 followup - need the fix in libxul too
--HG--
extra : rebase_source : 5a165dd784ee9f11210df5b2a9a6a93a0083a421
2015-05-08 23:04:49 -04:00
Ryan VanderMeulen
9440cb5e32 Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
extra : amend_source : f158ed522808c8be66f918e7cd2d674a93e9e8b8
2015-05-01 10:50:07 -04:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Jim Mathies
2ff558b0ac Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde 2015-04-30 16:43:19 -05:00
Ryan VanderMeulen
8c2f9c9b09 Backed out changeset 31297813dd26 (bug 1159327) for bustage on a CLOSED TREE. 2015-04-30 16:08:29 -04:00
Jim Mathies
588accccdc Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde 2015-04-30 14:42:43 -05:00
Felipe Gomes
5f485af9d6 Bug 1156613 - Fix e10s ifdef NIGHTLY_BUILD blocks with E10S_TESTING_ONLY. r=billm 2015-04-30 18:52:08 -03:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Bryan Quigley
7859f17e44 Bug 1155943 - Drop checks for the presence of glib2.2 and gtk2.2 functions since they are already deps anyway. r=karlt
--HG--
extra : rebase_source : aae2620509a3d2a780a041c6b58f50ec7fc75608
2015-04-20 07:11:00 -04:00
Chris Lord
2b3b00dfd3 Bug 994541 - Enable BasicCompositor OMTC on linux. r=Bas 2015-03-12 14:01:23 +01:00
Robert Strong
91cf4cb89f Bug 1152997 - Cleanup app update build to exclude android. r=glandium, r=mossop
--HG--
rename : toolkit/mozapps/update/moz.build => toolkit/components/timermanager/moz.build
rename : toolkit/mozapps/update/nsIUpdateTimerManager.idl => toolkit/components/timermanager/nsIUpdateTimerManager.idl
rename : toolkit/mozapps/update/nsUpdateTimerManager.js => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/mozapps/update/nsUpdateTimerManager.manifest => toolkit/components/timermanager/nsUpdateTimerManager.manifest
rename : toolkit/mozapps/update/tests/unit_timermanager/consumerNotifications.js => toolkit/components/timermanager/tests/unit/consumerNotifications.js
rename : toolkit/mozapps/update/tests/unit_timermanager/xpcshell.ini => toolkit/components/timermanager/tests/unit/xpcshell.ini
2015-04-14 17:00:02 -07:00
Jim Mathies
72d7ffe0fb Bug 1100501 - Avoid a late shutdown of chromium's StatisticsRecorder. r=georg 2015-04-11 07:02:07 -05:00
Carsten "Tomcat" Book
394fd4eee8 Backed out changeset 9a6acb756ed5 (bug 1100501) for OSX XPCshell Test failures
--HG--
extra : rebase_source : ae89392aed27a9945efa0405ab3cd6339821fa91
2015-04-10 12:33:56 +02:00
Jim Mathies
5f28b71aad Bug 1100501 - Avoid a late shutdown of chromium's StatisticsRecorder. r=georg
--HG--
extra : rebase_source : 07b4333bee19033dc099cb2b90370ad24f787939
2015-04-09 15:41:53 -05:00
Bill McCloskey
17aef946bf Bug 1150708 - Gather telemetry on e10s block reason (r=jimm) 2015-04-06 18:25:44 -07:00
Felipe Gomes
8beb4c1fa1 Bug 1147156 - Re-enable e10s by default for Nightly users who may have disabled it. r=poirot,mconley 2015-04-06 15:06:46 -03:00
Aaron Klotz
6d8475512b Bug 1150684: Remove XPCOM.h from IOInterposer.h; r=froydnj
--HG--
extra : rebase_source : a714c7ca5836d5e3a2c1b9da740795e653477cf1
2015-04-02 14:51:18 -06:00
Vladimir Vukicevic
22acc69566 Bug 1149566; disable e10s if dom.vr.enabled is true; r=mconley 2015-04-01 16:02:20 -04:00
Makoto Kato
444c4a55bc Bug 1147722 - Part 2. Remove keyboardMayHaveIME method. r=wmccloskey 2015-03-30 11:58:32 +09:00
Makoto Kato
1d712f16ac Bug 1147722 - Part 1. Turn off TSF when e10s auto start is enabled. r=masayuki,wmccloskey 2015-03-30 11:58:03 +09:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Michael Ratcliffe
2b45132b59 Bug 1046234 - Add more DevTools Telemetry measures (display size etc.) r=pbrosset, r=gijs 2015-03-13 11:52:45 +00:00
Mike Hommey
a15008f587 Bug 1141439 - Exit with an error code instead of falling through the REMOTE_NOT_FOUND code path when the X-remote returns an explicit command line handler error. r=bsmedberg 2015-03-13 07:44:30 +09:00
Mike Hommey
68b1796240 Bug 486172 - Don't ignore a -p command line argument when using the Xremote protocol. r=bsmedberg
On X11, when running firefox -p foo http://mozilla.org, and a window for another
profile is already open, the -p argument is ignored and a new tab or window is
opened in the unrelated session.

Previously, the equivalent firefox -p foo -remote openurl(http://mozilla.org)
would see that there is no window for the profile foo, complain about it, and
abort. If a window for the profile foo was open, however, a new tab or windows
would open in that session.

Here, we modify the behaviour such that firefox -p foo http://mozilla.org never
ignores the -p argument, and does the sensible thing depending on the context:
- if a window is already open for the profile, use that session.
- otherwise, open a new window for that profile.

When no -p argument is given, the behaviour is unchanged.

As RemoteCommandLine, which first attempts to open a connection with an existing
firefox, falls through when there is no existing firefox, the -p argument must be
kept in the command line. It turns out CheckArg didn't handle the case properly,
so fix this as well.

The changes in RemoteCommandLine otherwise match what used to be in
HandleRemoteArgument before bug 1080319.
2015-03-10 10:01:54 +09:00
Felipe Gomes
d89cb536f7 Bug 1115956 - Improve notice string for when e10s was disabled for accessibility. r=mconley 2015-03-06 15:47:35 -03:00
Martin Stransky
d15abcbc8c Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt
--HG--
extra : rebase_source : 18486b689a7ff1560830e63900af1d60348ccabb
2015-03-05 03:56:00 +01:00
Jesse Ruderman
93c76859ec Bug 1140183 - Don't enter safe mode on opt/shift if environment variable MOZ_DISABLE_SAFE_MODE_KEY is set. r=ehsan 2015-03-06 04:27:32 -08:00
Stephen Pohl
1703a43dcf Bug 1101331: Modify directory structure of B2G.app to conform with Apple's v2 signature requirements. r=rstrong 2015-03-04 21:29:44 -05:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Chris Peterson
92e95883b2 Bug 1126376 - Fix non-NIGHTLY_BUILD warnings-as-errors in toolkit/xre. r=Mossop 2015-01-27 10:11:08 -08:00
Jim Mathies
516bfc595a Bug 1092525 - Enable e10s for Windows systems that activate accessibility through UIA. r=trev 2015-01-23 15:41:55 -06:00
Wes Kocher
cb32041b4d Backed out changeset 39c78d4281d5 (bug 1101331) for intermittently breaking gaia-ui tests on OSX on a CLOSED TREE 2015-01-22 12:23:12 -08:00
Stephen Pohl
c9ae0626e2 Bug 1101331: Modify directory structure of B2G.app to conform with Apple's v2 signature requirements. r=rstrong 2015-01-21 14:40:45 -05:00
Benoit Girard
9b8c2dc37d Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange 2015-01-14 17:24:09 -05:00
Jim Chen
db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Nicholas Nethercote
97b5d348cc Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
--HG--
extra : rebase_source : 771710c5427141d738eef112fab00951eb8e20e3
2015-01-07 16:13:03 -08:00
Mason Chang
9fae9e4367 Bug 1108613. Create an XRE_IsParentProcess to detect if code is running in the parent process. r=roc 2014-12-09 11:21:47 -08:00
Nathan Froyd
970fc0e8a3 Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc 2014-11-14 13:12:51 -05:00
Jim Mathies
c2d741db42 Bug 1089008 - Enable e10s on Windows when acceleration is disabled. r=Mossop, r=felipe 2014-11-14 10:51:19 -06:00
Cameron McCormack
b18906567e Back out 8be2344dcff3 (bug 1089008) for OS X bustage. 2014-11-14 09:50:54 +11:00
Jim Mathies
d92f45cf3d Bug 1089008 - Enable e10s on Windows when acceleration is disabled. r=Mossop, r=felipe
--HG--
extra : rebase_source : f24efd7b76e111390de71d74ccace735dc9bbb88
2014-11-13 14:14:51 -06:00
Blake Kaplan
fef0b8cb56 bug 1092163 - Allow e10s to be enabled with tracking protection. r=blassey 2014-11-11 15:05:55 -08:00
Dave Townsend
20f0d0ddbc Bug 1095559: Fix logic error in HW acceleration tests for e10s. r=jimm 2014-11-07 09:18:28 -08:00
Gavin Sharp
480767e56b Bug 1094409 - Explain in the preferences UI the reason when e10s is disabled. r=felipe 2014-11-05 17:01:25 -08:00
Ryan VanderMeulen
4af93d7500 Merge fx-team to m-c. a=merge 2014-11-03 16:47:18 -05:00
Panos Astithas
ee1d6fecc6 Bug 1090967 part 2 - Don't use "default" as the name of the default profile on Aurora. r=bsmedberg 2014-11-03 16:38:54 +02:00
Gavin Sharp
f3ac90a91d Re-land patch from bug 1088904 2014-11-02 14:56:17 -08:00
Panos Astithas
bd868bfd71 Don't use the aurora-specific profile by default, if this is not aurora (bug 1090967). r=bsmedberg
--HG--
extra : rebase_source : 5bfd3551ed6305e0a58ad1be98e60d210ba78730
2014-10-31 17:25:34 +02:00
Brad Lassey
700f51942f bug 1092163 - back out changeset a6240694a609 (bug 1088904) for causing bug 1092163 r=jimm 2014-10-31 12:45:50 -04:00
Masatoshi Kimura
46dd5e3c28 Bug 1091608 - Attach the console if the process is running the GTest. r=ted 2014-11-03 22:22:39 +09:00