Commit Graph

154 Commits

Author SHA1 Message Date
Chris Jones
6e91459a40 bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Chris Jones
ba122c592e fix some leaks found by valgrind. r=trivial 2009-12-04 18:15:44 -06:00
Benjamin Smedberg
b55b15dccf Merge additional changes from electrolysis and mozilla-central into the electrolysis-plugins-only tracking branch.
--HG--
branch : electrolysis-plugins-only
2009-12-04 11:42:28 -05:00
Chris Jones
4572a1920a 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
c9f41df4e3 Remove makefile and glue bits which support out of process tabs on the electrolysis-plugins-only branch.
--HG--
branch : electrolysis-plugins-only
2009-11-30 14:44:38 -05:00
Benjamin Smedberg
8f0adb5fe2 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
59177d397f fix brain-dead cjones bug. no r=, trivial 2009-11-17 16:18:06 -06:00
Chris Jones
0807e5c7e2 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
ffd9106373 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
312e78c79d Fix command line initialization on windows 2009-11-04 17:34:22 -08:00
Chris Jones
728e83ca1a a non-MOZ_IPC function fell in with the wrong crowd 2009-11-04 10:50:13 -06:00
Chris Jones
affe2a4e94 bug 526397: fix up command line init. no r=, minor 2009-11-03 23:12:18 -06:00
Chris Jones
bbf04a4991 bug 525169: remove superfluous test-harness. no r=, removing testing code only 2009-10-29 00:56:24 -05:00
Chris Jones
4f942a96f2 bug 523761: give top-level IPDL actors handles to each others' processes. r=bent 2009-10-27 16:52:37 -05:00
Ben Turner
e17ebd68f9 Fix lingering error from changing IPDL methods from returning nsresult to bool 2009-10-19 13:03:22 -07:00
Benjamin Smedberg
47962706bf Bug 523097 - Turn off MOZ_IPC for platforms where we currently don't build, and fix up ifdefs so that everything builds
--HG--
extra : rebase_source : 9da68ad54e7c378a4c9bbaac7b2166630827ec60
2009-10-19 09:55:03 -04:00
Chris Jones
373c019990 bug 521324: call the multi-threaded GLib initialization function. r=karlt 2009-10-19 11:28:42 -05:00
Chris Jones
be2f5f8cbe bug 521445: band-aid to stop an assertion failure when plugin processes shut down 2009-10-09 13:05:51 -05:00
Chris Jones
826a18e082 bug 518126, part 2: add infrastructure for C++ tests of IPDL-generated code. r=ted,bsmedberg 2009-10-06 13:02:26 -05:00
Chris Jones
2cf5171772 Bug 540116: By default, unblock the parent process if a child crashes in a DEBUG build that uses ah_crap_handler(). Set MOZ_DONT_UNBLOCK_PARENT_ON_CHILD_CRASH=1 to restore old behavior. r=bsmedberg 2010-01-27 22:23:16 -06:00
Benjamin Smedberg
30bd4e4e51 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Ben Turner
dccb0805dd Rename remaining protocols
--HG--
rename : dom/ipc/ContentProcess.ipdl => dom/ipc/PContentProcess.ipdl
rename : dom/ipc/IFrameEmbedding.ipdl => dom/ipc/PIFrameEmbedding.ipdl
rename : ipc/test-harness/Test.ipdl => ipc/test-harness/PTest.ipdl
rename : ipc/testshell/TestShell.ipdl => ipc/testshell/PTestShell.ipdl
rename : ipc/testshell/TestShellCommand.ipdl => ipc/testshell/PTestShellCommand.ipdl
2009-09-09 15:00:14 -07:00
Ben Turner
0f1d5c36a0 Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Ben Turner
99f1c34f15 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Ben Turner
7821c5b1ba Rework chromium initialization, r=beast 2009-08-28 12:46:21 -07:00
Ben Turner
7c25b1ea27 Backing out stuff that doesn't work 2009-08-27 16:05:38 -07:00
Ben Turner
5b7e1a569b Fix build bustage? 2009-08-27 15:54:05 -07:00
Ben Turner
8e88b405d2 Rework chromium initialization 2009-08-27 14:11:10 -07:00
Ben Turner
b5348a3322 Fix build bustage 2009-08-25 16:39:30 -07:00
Ben Turner
1521c7b109 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Robin Bate Beorop
b7c4e982b3 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
3727beac48 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
0e0931b400 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.
--HG--
rename : dom/ipc/TabThread.cpp => dom/ipc/ContentProcessThread.cpp
rename : dom/ipc/TabThread.h => dom/ipc/ContentProcessThread.h
2009-08-12 12:18:08 -04:00
Chris Jones
88b2d3c3d3 bug 539552 - keep track of child process minidumps, offer pid based lookup API, write out .extra data in child minidump callback. r=ted,bsmedberg
--HG--
extra : transplant_source : %C2x%AA%8C%9E%FF%05%9A%9A%86aw%09L%A1%FAQ%DATG
2010-01-14 17:38:00 -05:00
Chris Jones
e8012b2b92 Bug 516759: Use OOP crash reporting in Gecko. r=luser
--HG--
extra : rebase_source : 1949d23a5ce0c15c266d9e67e6a6be7d650a51df
2010-01-12 15:14:38 -06:00
Ben Newman
713e822c3c Build and IPDL groundwork for the multi-process Jetpack API (bug 556846). r=bsmedberg 2010-06-25 08:00:35 -07:00
Ben Turner
018b1a724f Allow ipcshell to receive a response from its child process 2009-07-23 15:27:17 -07:00
Ben Turner
d125f2e7bb Fix ipcshell for newest changes to GeckoChildProcessHost 2009-07-21 11:41:02 -04:00
Benjamin Smedberg
0501b7a589 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Chris Jones
cc9c58dbcb add SyncLaunch() method to GeckoChildProcess class. remove much newly obseleted code. 2009-07-20 13:14:41 -05:00
Chris Jones
be1ba467e4 check that protocol state machines are race-free. fix race in test-harness (whoops). 2009-07-17 18:10:10 -05:00
Chris Jones
d7947d5455 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
44bc13e3b6 Linux bustage fix? 2009-07-11 02:42:31 -04:00
Ben Turner
011769cbf2 Adds the ipcshell application to test IPC 2009-07-11 02:33:10 -04:00
Chris Jones
e6c73d1542 use a single binary, mozilla-runtime, for all child processes 2009-07-10 14:03:09 -05:00
Benjamin Smedberg
d072272ca2 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
cdf4b869dc Land the remote-tab code from tmp-electrolysis. 2009-06-30 16:39:22 -04:00
Benjamin Smedberg
5a4dce8f48 Hook up the tab child process 2009-06-30 15:21:25 -04:00
Benjamin Smedberg
a4fc9676b2 Followup to bug 535802, make it work on Linux too by passing around the program name from argv[0] 2009-12-18 17:14:53 -05:00
Benjamin Smedberg
b916205fe7 Bug 535802 - disable the Windows JIT crash dialog when running mochitests, r=ted 2009-12-18 16:16:38 -05:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Oleg Romashin
494639846e Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
--HG--
extra : rebase_source : 2a018b5f9c74a713e493643e611b330e08e1afd8
2010-04-20 21:43:51 +03:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00