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
Chris Jones
6174e331a9
Bug 564086, part c: Remove dependency on XPCOM in subprocesses-spawning code. r=bsmedberg
2011-06-03 13:33:55 -05:00
Steven Michaud
34429e3cad
Bug 621117 - Support native cursor manipulation from OOP plugins on OS X. r=josh,bsmedberg a=sheriff
2011-05-24 01:58:28 -05:00
Mike Hommey
ce31148f1b
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Mike Hommey
73acccdaca
Bug 620931 part 2.5 - Properly quote arguments on Windows when starting child processes. r=rstrong
2011-05-12 15:44:35 +02:00
Chris Jones
8ae6313c8a
Bug 556214, part 3: IPC code wants to be using non-reentrant Monitor. r=bent
2011-04-29 14:21:57 -05:00
Chris Jones
4b3bb04878
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
2011-04-29 14:21:57 -05:00
Jason Duell
d3db1237fa
Bug 534764. Allow separate NSPR logs if requested, in case of interleaving issues; r=mayhemer,wtc
2011-03-25 19:40:50 -04:00
L. David Baron
31bd671bd8
Backout changeset b9e6454362ef (Bug 620931 part 3) for causing bug 644790.
2011-03-24 21:07:05 -07:00
Mike Hommey
1561ccdd70
Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg
...
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.
We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.
We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).
The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.
Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-03-24 15:28:14 +01:00
Brian Crowder
ba135dc7d8
Bug 606074: removing bogus include, r=me, a=cleanup, DONTBUILD
2011-01-20 09:17:42 -08:00
Brian Crowder
aa2dbb18fb
Bug 606074: ensure that we share the Android system properties memory-map with the child process, r=cjones, a=blocking-fennec:2.0:mfinkle
2011-01-20 09:01:31 -08:00
Michael Wu
bdc61e4778
Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec
2010-10-29 12:22:28 -07:00
Mark Finkle
f601a9f0c7
Bug 608239: Backout changeset 99233ad2ff70 a=fennec-should-load-pages
2010-10-29 10:07:54 -04:00
Michael Wu
cc8506fb52
Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec
2010-10-28 23:45:46 -07:00
Josh Aas
9a739b63f6
Bug 586584: Enable OOPP testing for x86_64 Mac OS X. r=bsmedberg a=blocking2.0beta8+
2010-10-14 15:07:38 -04:00
Josh Aas
53cb3f2c59
Bug 590057: Add support for loading plugins of a different architecture than the host browser on Mac OS X. r=cjones a=blocking-b7
2010-09-15 23:09:19 -07:00
Josh Aas
d3dd4f1ef3
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-10 13:09:30 -04:00
Josh Aas
5b495e2349
Backed out changeset 52388a9a6337, bug 592951. a=me
2010-09-08 18:19:51 -04:00
Josh Aas
e2d98bbc66
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-08 16:24:30 -04:00
Ted Mielczarek
e1db9e0ca0
bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking
2010-08-27 09:32:45 -04:00