Commit Graph

207 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 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
ca49d7244e 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
Brad Lassey
99e21866e1 bug 1161166 - Use mach shared memory for shared memory on OSX r=billm 2015-06-17 00:38:38 -04:00
Eric Rahm
ee07644116 Bug 1172138 - Call PR_LogInit before profiler_init. r=froydnj 2015-06-09 17:44:46 -07:00
Wes Kocher
2a932fffd8 Backed out changeset 1be05715932f (bug 1161166) 2015-06-09 15:12:21 -07:00
Brad Lassey
3aef53f002 Bug 1161166 - Use mach shared memory for shared memory on OSX. r=billm 2015-06-09 09:56:50 -04:00
Jim Mathies
55c963f75c Bug 1156857 - Properly init telemetry histogram data for child processes. r=bsmedberg 2015-05-27 12:59:13 -05:00
Ryan VanderMeulen
20d108240c Backed out changeset 41b2612eba71 (bug 1156857) for regressing bug 1100501. 2015-04-30 11:08:27 -04:00
Georg Fritzsche
ad9f9965f5 Bug 1156857 - Fix StatisticsRecorder not being initialized in content processes. r=jimm 2015-04-30 14:00:58 +02:00
Kartikaya Gupta
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Bob Owen
7517f0b07d Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Nicolas Silva
b149521604 Bug 1014355 - Init X with thread-safe mode in child processes. r=karlt 2015-03-30 13:30:36 +02:00
David Major
5373df94d2 Bug 1132663 - Part 1: Use the DLL blocklist in plugin-container processes. r=bsmedberg 2015-02-18 14:09:32 +13:00
Nicholas Nethercote
0247de46d8 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Chris Peterson
2e9f1cad00 Bug 1120312 - Fix -Wunused-variable warning in toolkit/xre and mark directory as FAIL_ON_WARNINGS. r=tlee 2015-01-07 19:35:19 -08:00
Jim Mathies
6c61f07913 Bug 1117140 - Avoid allocating some resources in the gmp child process which we have no use for. r=bsmedberg 2015-01-07 17:35:04 -06:00
James Willcox
bd96362ef8 Bug 1110271 - Use the default message pump for GMP children r=joshmoz 2014-12-15 16:04:21 -06:00
Bob Owen
fbf7d6754b Bug 928044 Part 2: Enable the content sandbox by default on Windows with an open policy. r=tabraldes,glandium,jimm 2014-11-29 17:12:18 +00:00
Chris Pearce
6a99bb1eb8 Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium 2014-11-14 21:26:24 +13:00
Bob Owen
87d90d8b96 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Carsten "Tomcat" Book
5a27daa088 Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen
39525b95e4 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Ehsan Akhgari
16c19a6627 Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug 2014-08-31 21:12:55 -04:00
Kershaw Chang
0e228c6e96 Bug 1020204 - Allow creating nested oop MozApp iframe. r=khuey, r=kanru 2014-08-13 02:18:00 -04:00
Bill McCloskey
7f97b1cf2a Bug 1045847 - Fix review comments 2014-08-08 17:55:22 -07:00
Bill McCloskey
2bb98a1ad0 Bug 1045847 - Initialize sProcessType really, really early (r=khuey) 2014-08-08 17:52:12 -07:00
Thinker K.F. Li
a123cd01f3 Bug 977026 - Part 3: Preload XPT before calling fork. r=bsmedberg 2014-07-25 20:52:00 -04:00
Mike Hommey
e0dac91a96 Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE. 2014-07-29 14:50:41 +09:00
Thinker K.F. Li
c0b21ef5dc Bug 977026 - part 3: preload XPT before calling fork. r=bsmedberg 2014-07-25 20:52:00 +02:00
Jan de Mooij
1d6a780efe Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Martin Stransky
00652c1427 Bug 968196 - Use GDK error handler for X window error events. r=karlt 2014-06-16 04:54:00 -04:00
Victor Porof
298ca2ed1b Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Bas Schouten
b55c6b1c2f Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent 2014-05-18 05:16:51 +02:00
Josh Aas
ee4490b792 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Phil Ringnalda
bca0fd4369 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
63bc459aba Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
Kyle Huey
ea94e7d568 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Blake Kaplan
c7a7f5c81f Bug 980097 - Make copying the PID easier. r=khuey 2014-03-06 08:52:54 -05:00
Jacek Caban
1ff8afb08c Bug 944913 - Fixed char16_t/wchar_t mismatch in tollkit/. r=ehsan 2013-12-03 16:07:22 +01:00
Cervantes Yu
520e8829eb Bug 890870 - Start freezing the Nuwa process after PreloadSlowThings(). r=khuey 2013-10-01 19:28:44 +08:00
Birunthan Mohanathas
b902f0393c Bug 784739 - Switch from NULL to nullptr in toolkit/; r=ehsan 2013-10-10 16:36:42 -04:00
Thinker Lee
78f0aca31a Bug 771765 - Support template content process, part 8: process initialization flow changes. r=khuey
Changes initialization code for the template process:
* Let the process run for NUWA_PREPARATION_TIME ms and then start freezing the threads.
* Delay android binder thread pool creation after the content process is forked from the template and other thread recreation has finished.
* Poke the app shell after the content process is forked from the template.
2013-06-03 18:14:46 +08:00
Mark Hammond
35905e18d6 Bug 904323 - use NS_DebugBreak() on Windows instead of sleeping to debug child processes. r=bent 2013-08-17 09:38:17 +10:00
Mike Shal
81180a4479 Bug 889787 - Define XP_LINUX globally; r=ted 2013-07-16 17:10:10 -04:00
David Anderson
0fb025f184 Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug). 2013-07-03 00:24:32 -07:00
Mark Hammond
eb86e46e23 Bug 875214 - child processes on Windows now attach to the parent's console. r=aklotz 2013-05-30 23:23:50 +10:00
Julian Seward
3b5fdeee03 Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard. 2013-05-28 14:03:38 +02:00
Ehsan Akhgari
e2693c7e4d Bug 871312 - Fix rooting hazards in nsEmbedFunctions.cpp; r=till 2013-05-12 16:58:02 -04:00