Commit Graph

158 Commits

Author SHA1 Message Date
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
Dave Hylands
6cf3897d1b Bug 988410 - Move directory service calls onto MainThread. r=bent 2014-04-04 12:16:16 -07:00
Jed Davis
f48dfc43a5 Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg 2014-03-21 08:50:07 -04:00
Honza Bambas
4713ff87dd Bug 977339 - Do GECKO_SEPARATE_NSPR_LOGS=1 by default, r=jduell 2014-03-05 14:01:09 +01:00
Josh Aas
33a8e2e2e2 Bug 957883: Handle channel errors during process launch such that we don't sit on a dead channel for the full time-out (e.g. 45 secs for NPAPI), and allow us to detect when an error happens during child process init. Also, now that it's possible, actually check for an error during NPAPI child process init. r=bsmedberg 2014-01-11 21:51:00 -06:00
Ehsan Akhgari
b900d74d59 Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent 2013-12-17 13:26:45 -05:00
Jacek Caban
bb5cc03789 Bug 945245 - Fixed misc char16_t/wchar_t mismatches. r=ehsan 2013-12-03 16:09:50 +01:00
Brian R. Bondy
5623af46d0 Bug 928042 - Add an environment variable to disable content processes sandboxing even when MOZ_CONTENT_SANDBOX is defined. r=aklotz 2013-11-01 19:09:45 -07:00
Brian R. Bondy
15b3a86a60 Bug 925571 - Initial Windows content process sandbox broker code. r=aklotz 2013-10-30 16:58:52 -07:00
Thinker Lee
00c70ec1af Bug 771765 - Support template content process, part 2: IPC and glue changes. r=bent
Changes include:
* Getting/resetting platform thread ID.
* Creating an IPC channel with existing file descriptor sent from the template process.
* Child process host with existing process forked from the template.
2013-05-31 21:16:54 +08:00
Ryan VanderMeulen
41a70f9005 Backed out changeset 09274cc38453 (bug 869167) for OSX crashes. 2013-08-16 16:56:06 -04:00
Andrey Zaytsev
d2176afebf Bug 869167 - Firefox hangs on Mac when ASan-built plugin is used in non-ASan build. r=bsmedberg 2013-08-16 15:31:03 -04:00
Mark Hammond
5b33b00fe3 Bug 902790 - prevent browser crash if child process fails to start. r=jlebar 2013-08-09 16:23:24 +10:00
Mike Shal
81180a4479 Bug 889787 - Define XP_LINUX globally; r=ted 2013-07-16 17:10:10 -04:00
Shelly Lin
46dcfa24cb Bug 811636 - Close the child FD in the parent asap in order to detect when the child closes its FD. r=dhylands 2013-07-09 10:37:33 +08:00
Mike Hommey
ff00010a46 Bug 859763 - Remove more remains of the old linker. r=blassey 2013-04-10 09:02:32 +02:00
Chris Jones
e2b4f73e00 Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar 2013-01-17 12:06:36 -08:00
Chris Jones
1fecf6f0f2 Back out bug 786631 2013-01-17 12:49:56 -08:00
Chris Jones
f64899ba3d Bug 786631, part 2: Make the prelaunch process totipotent and specialize when it's taken. r=jlebar 2013-01-17 12:06:36 -08:00
Landry Breuil
e4f65d03e7 Bug 830303 - Fix plugin-container LD_LIBRARY_PATH on BSD (regression from 753046) r=cjones 2013-01-14 22:38:17 +01:00
Chris Jones
107c71b7e1 Rollup of bug 821192: Ensure that content processes don't see an inconsistent app dir. r=bent,dhylands
Bug 821192, part 1: Fix the watchdog timeout code. r=dhylands
Bug 821192, part 2: Add an interface to join all live content processes. r=bent
Bug 821192, part 3: Join all subprocesses before restarting the main process, when we're e.g. about to apply an update. r=dhylands
2012-12-28 01:45:16 -08:00
Jim Mathies
ab65b99a3f Bug 820200 - Pass application directory to XRE_InitEmbedding2 in content process. r=bsmedberg 2012-12-18 10:24:42 -06:00
Ms2ger
934e7c6e7a Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Chris Jones
0cd5880283 Bug 782456, part 1: Let clients of GeckoChildProcessHost specify privileges. r=bent 2012-08-29 09:24:48 -03:00
Martin Husemann
8c997ead0f Bug 753046 - Add IPC support for BSDs, ipc/glue part. r=cjones 2012-08-28 23:16:29 +02:00
Michael Wu
b778a65e51 Bug 784858: Pass LD_PRELOAD to child processes. r=cjones 2012-08-22 18:50:25 -07:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Chris Jones
976a733d1d Bug 774131, part 2: Add GeckoChildProcessHost::LaunchAndWaitForProcessHandle() to do that, use it in ContentParent, and share more process-launching code. r=bent 2012-08-07 16:29:32 -07:00
Chris Jones
e7daba0ea5 Bug 774131, part 1: Refactor GeckoChildProcessHost to use a state enum and eagerly create a ProcessHandle. r=bent 2012-08-07 16:29:32 -07:00
Guillaume Destuynder
b087741da7 Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Chris Jones
6d2147a020 Backed out changeset 201612a0b133 2012-07-26 21:55:41 -07:00
Guillaume Destuynder
55e28f244a Bug 776647: Add support for dropping to a "nobody" user after fork()ing, and use that on gonk. r=cjones 2012-07-26 21:42:56 -07:00
Chris Jones
28538e2e95 Bug 745148, part 2: GeckoChildProcessHost can't drop messages on the floor. Queue them and hand them off to the *Channel. r=bent 2012-07-14 14:21:32 -07:00
Chris Jones
3a94318def Bug 773830: Check GetEnabled() before OOPInit(). r=ted 2012-07-13 17:47:23 -07:00
Ryan VanderMeulen
8143bd3c4a Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Benjamin Smedberg
540dd8a6ee Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Tim Abraldes
288fceba35 Bug 771090 - Use NS_GRE_DIR instead of current process dir when looking up plugin container. r=bsmedberg 2012-07-10 18:31:04 -04:00
Chris Jones
90527aa973 Bug 765734, part 0.1: Gecko subprocesses on Gonk want propdb too. r=mwu 2012-07-12 05:51:57 -07:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mike Hommey
9db662d323 Bug 711144 - Prepend LD_LIBRARY_PATH instead of appending to it when starting plugin-container. r=bsmedberg 2011-12-28 08:23:42 +01:00
Michael Wu
21ff4d9ef1 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Jeremy Huddleston
1adaf0536d Bug 691138 - ipc: fails to build darwin/x11. r=smichaud 2011-10-14 16:54:46 +09:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Josh Aas
74591953f9 Bug 669036: Fix bad path to child process binary that caused assertions. r=bsmedberg 2011-09-07 00:51:38 -04:00
Mike Hommey
5ace174f42 Bug 573958 - Extend LD_LIBRARY_PATH instead of replacing it during plugin-container initialization. r=bsmedberg 2011-07-21 09:53:29 +02:00
Neil Rashbrook
ce93514d6a Bug 660535 Remove useless use of PromiseFlatCString r=cjones 2011-06-09 21:15:10 +01:00
Chris Jones
edef60cf4e Bug 564086, part c.1: Allow non-XPCOM processes (which don't use omnijar) to spawn other non-XPCOM subprocesses. r=glandium 2011-06-03 13:33:55 -05:00