Commit Graph

50 Commits

Author SHA1 Message Date
Benjamin Smedberg
5b878f3ca5 Bug 534701 - Make linkage work even in static builds (where nsEmbedFunctions.cpp is not built) r=cjones, a=bz for a CLOSED TREE 2009-12-14 14:13:00 -08:00
Benjamin Smedberg
5faa191658 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Chris Jones
c9ba01cf14 bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Chris Jones
28113062c3 fix some leaks found by valgrind. r=trivial 2009-12-04 18:15:44 -06:00
Benjamin Smedberg
f71b584702 Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch. 2009-12-04 11:42:28 -05:00
Chris Jones
2a7a132a2b bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06:00
Benjamin Smedberg
3bc3f5794a Remove makefile and glue bits which support out of process tabs on the electrolysis-plugins-only branch. 2009-11-30 14:44:38 -05:00
Benjamin Smedberg
08cb5e93c2 Don't use a static nsCString (causing leaks in the plugin process). Also, use NS_LogInit/NS_LogTerm for the child process so that leaks are reported at the right time. 2009-11-19 17:57:56 -05:00
Chris Jones
399ce026c7 fix brain-dead cjones bug. no r=, trivial 2009-11-17 16:18:06 -06:00
Chris Jones
cb1e6b8a5a bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Jonathan Griffin
ef71a8f1ce Bug 519570. Log leaks for child processes in separate files, and handle them in automation.py. r=bsmedberg 2009-11-10 11:16:12 -08:00
Ben Turner
0841fe0b22 Fix command line initialization on windows 2009-11-04 17:34:22 -08:00
Chris Jones
0b760ccd32 a non-MOZ_IPC function fell in with the wrong crowd 2009-11-04 10:50:13 -06:00
Chris Jones
721cf9e02e bug 526397: fix up command line init. no r=, minor 2009-11-03 23:12:18 -06:00
Chris Jones
66697f2d9f bug 525169: remove superfluous test-harness. no r=, removing testing code only 2009-10-29 00:56:24 -05:00
Chris Jones
48b3bff0d1 bug 523761: give top-level IPDL actors handles to each others' processes. r=bent 2009-10-27 16:52:37 -05:00
Ben Turner
01288dba98 Fix lingering error from changing IPDL methods from returning nsresult to bool 2009-10-19 13:03:22 -07:00
Benjamin Smedberg
617a77d2b2 Bug 523097 - Turn off MOZ_IPC for platforms where we currently don't build, and fix up ifdefs so that everything builds 2009-10-19 09:55:03 -04:00
Chris Jones
12dc755bdb bug 521324: call the multi-threaded GLib initialization function. r=karlt 2009-10-19 11:28:42 -05:00
Chris Jones
f6c18a6067 bug 521445: band-aid to stop an assertion failure when plugin processes shut down 2009-10-09 13:05:51 -05:00
Chris Jones
4fa64c34b7 bug 518126, part 2: add infrastructure for C++ tests of IPDL-generated code. r=ted,bsmedberg 2009-10-06 13:02:26 -05:00
Ben Turner
ce3ffecf52 Rename remaining protocols 2009-09-09 15:00:14 -07:00
Ben Turner
d4a7c525c1 Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Ben Turner
2ab4c579a2 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Ben Turner
820e5917bc Rework chromium initialization, r=beast 2009-08-28 12:46:21 -07:00
Ben Turner
f945fcf86f Backing out stuff that doesn't work 2009-08-27 16:05:38 -07:00
Ben Turner
1381ed868d Fix build bustage? 2009-08-27 15:54:05 -07:00
Ben Turner
90f57f225f Rework chromium initialization 2009-08-27 14:11:10 -07:00
Ben Turner
63178f2e5f Fix build bustage 2009-08-25 16:39:30 -07:00
Ben Turner
7c4b307c02 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Robin Bate Beorop
934eece862 Bug 507218 - Expose the process type (chrome/content) to client code via XRE_GetProcessType and nsIXULRuntime, r=bent 2009-08-19 13:09:51 -04:00
Benjamin Smedberg
0ef6e47329 Bug 510025 - make TestShell a subprotocol of ContentProcess so that it is useful for prototyping 2009-08-12 14:31:48 -04:00
Benjamin Smedberg
0d153eb5cd Bug 509798 - Create a ContentProcess protocol which manages IFrameEmbedding. ContentProcessChild is a globally-accessible singleton in the content process. For the moment, ContentProcessParent is a global singleton in the parent process, but that will change once we have process-per-domain or something similar. 2009-08-12 12:18:08 -04:00
Ben Turner
856a5078cf Allow ipcshell to receive a response from its child process 2009-07-23 15:27:17 -07:00
Ben Turner
30f70bab8a Fix ipcshell for newest changes to GeckoChildProcessHost 2009-07-21 11:41:02 -04:00
Benjamin Smedberg
3924a1e194 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Chris Jones
db2dd9dca4 add SyncLaunch() method to GeckoChildProcess class. remove much newly obseleted code. 2009-07-20 13:14:41 -05:00
Chris Jones
6172abb16d check that protocol state machines are race-free. fix race in test-harness (whoops). 2009-07-17 18:10:10 -05:00
Chris Jones
8706be873a add IPDL test harness and the mountains of code that entails. add |bool| type to IPDL. fix bugs in nascent async/sync channels. 2009-07-14 00:12:50 -05:00
Ben Turner
4e7ec508d2 Linux bustage fix? 2009-07-11 02:42:31 -04:00
Ben Turner
d037cbb144 Adds the ipcshell application to test IPC 2009-07-11 02:33:10 -04:00
Chris Jones
0a986dd277 use a single binary, mozilla-runtime, for all child processes 2009-07-10 14:03:09 -05:00
Benjamin Smedberg
c39ec69145 Windows build fixup. I haven't really tested whether tabs actually *work* in this scenario (widget sizing and parenting might be interesting), but it's at least enough to allow other people to start really working on code. 2009-07-07 12:26:49 -04:00
Benjamin Smedberg
fae1f3c8fa Land the remote-tab code from tmp-electrolysis. 2009-06-30 16:39:22 -04:00
Benjamin Smedberg
3f82651a10 Hook up the tab child process 2009-06-30 15:21:25 -04:00
darin@meer.net
0700b87ece landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
bsmedberg@covad.net
f5c2310daa Bug 321359 - Give embedders the ability to lock and use profiles through the XRE_InitEmbedding API, r=darin 2006-01-12 15:29:10 +00:00
bsmedberg@covad.net
16f7548134 Bug 321237 - Make NS_OS_CURRENT_PROCESS_DIR point to the application directory for XULRunner apps, r=robstrong 2005-12-23 14:51:39 +00:00
bsmedberg@covad.net
8fa36655b6 Bug 302099 - XRE_InitEmbedding (xulrunner-only) - r=darin 2005-09-01 13:21:55 +00:00
bsmedberg@covad.net
3420d780e0 Bug 302099 - Embedding libxul (part 1) - XRE_GetStaticComponents - r=darin 2005-08-29 19:27:16 +00:00