Commit Graph

985 Commits

Author SHA1 Message Date
Ben Turner
1381ed868d Fix build bustage? 2009-08-27 15:54:05 -07:00
Ben Turner
1392df94e2 Rework chromium initialization, revert accidental change 2009-08-27 14:17:01 -07:00
Ben Turner
90f57f225f Rework chromium initialization 2009-08-27 14:11:10 -07:00
Chris Jones
2a473769d9 drop the banhammer on sync parent-to-child messages 2009-08-25 18:52:12 -05:00
Ben Turner
7c4b307c02 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Chris Jones
957f53b921 add IPDL front-end support for transitioning to one of a set of states 2009-08-19 21:21:46 -05:00
Chris Jones
de241306fa add real front-end support for multiple start states in IPDL 2009-08-19 18:35:22 -05:00
Chris Jones
1b4e935278 enable the actor before calling the ctor hook 2009-08-19 18:14:24 -05:00
Chris Jones
4c82365f80 add RecvCtor() hooks to match RecvDtor() 2009-08-19 17:54:54 -05:00
Chris Jones
ac3c40641e require IPDL filename Foo.ipdl to define protocol Foo 2009-08-19 16:08:21 -05:00
Chris Jones
c7f54f575f allow empty sub-protocols 2009-08-19 15:50:46 -05:00
Chris Jones
8f19492955 add "power-user" ctor interface method that accepts pre-constructed actors 2009-08-19 15:39:10 -05: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
Chris Jones
d995a3e75a simplify some *Channel code. enforce more SyncChannel invariants 2009-08-19 10:44:56 -05:00
Chris Jones
f54228bce7 add race detection to RPC channels. simplify message processing, be stricter about layering guarantees. add more comments and assertions to channel code. 2009-08-19 00:22:01 -05:00
Chris Jones
6ac5fd2a54 s/String/nsCString/ for IPDL example 2009-08-18 11:08:38 -05:00
Chris Jones
66c4053e2b allow implementations to be notified when a dtor message is received 2009-08-14 16:46:49 -05:00
Chris Jones
fe2e21396e add dummy |start state| syntax 2009-08-14 15:38:25 -05:00
Chris Jones
a08567fd0b bug 510344: each translation unit needs its own symbol table. also fixed some parser error reporting and removed debugging |print|s 2009-08-13 21:22:55 -05: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
Chris Jones
8d1ec56d03 bug 510041: subprotocols should implement the toplevel-protocols listener interface even if they do not need that send semantics. dummy methods that error out are generated 2009-08-12 17:53:08 -05:00
Chris Jones
e345f3993a forward-declare non-managed actors 2009-08-12 15:51:39 -05:00
Chris Jones
d69cfe1f42 fix regression from refactoring error message construction 2009-08-12 13:59:00 -05:00
Chris Jones
b55c36640f fix typos in type error format args 2009-08-12 13:46:05 -05:00
Chris Jones
cbdd03709d generate C++ typdefs for namespaced protocols 2009-08-12 13:40:09 -05:00
Chris Jones
21b0a43cf8 build on 64-bit linux 2009-08-12 00:41:55 -05:00
Chris Jones
93ef2456c3 bug 509588: in actor ctor skeleton, return null instead of NS_ERROR_NYI 2009-08-11 17:26:06 -05:00
Chris Jones
d71a171f2c bug 509581: generate direct error return stmt instead of switch stmt with only default case when there are no dispatched messages. 2009-08-11 17:20:28 -05:00
Chris Jones
2714066971 backout bad fix 2009-08-11 17:12:42 -05:00
Chris Jones
92dd53f1de bug 509581: only generate dispatch statement if we have a non-default case 2009-08-11 17:09:13 -05:00
Chris Jones
5bd51a3671 bug 509579: use ALLOW_THIS() macro to squash msvc warnings 2009-08-11 16:52:37 -05:00
Ben Turner
c3be91497c Add extremely basic support for unblocking in the event of a bad message 2009-08-07 16:13:20 -07:00
Chris Jones
0a2df5c47a make it easier to control whether logging code is emitted 2009-08-07 16:10:57 -05:00
Ben Turner
b698234d48 Add test plugin for ipc, make sure it works 2009-08-05 15:36:33 -07:00
Chris Jones
763e5cab04 Fix Windows build busted by 2e3e142612b1. 2010-01-20 22:58:47 -06:00
Chris Jones
873c26fc56 Bug 538239: Guard against async messages unblocking sync message waits. r=bent 2010-01-20 21:50:36 -06:00
Chris Jones
8f4f3ae907 Test for bug 538239. 2010-01-20 21:50:07 -06:00
Chris Jones
c817bd3cd4 bug 539552 - Add a GetMinidump() method to top-level, parent-side IPDL classes. r=bent 2010-01-13 20:17:00 -05:00
Chris Jones
6ba8dc264d Followup to bug 539856: Save actors' IDs in all message handlers to avoid use-after-free when the actor is deleted above the handler in the stack. IRC r=bent 2010-01-15 15:15:52 -06:00
Chris Jones
c005338007 Test for followup to bug 539856. 2010-01-15 15:15:51 -06:00
Chris Jones
1137292ba8 Bug 539343: Call DeallocSubtree() on subprotocol actors after being __delete__-ed. r=bent 2010-01-13 21:08:36 -06:00
Chris Jones
8dfe9f54c0 Test for bug 539343. 2010-01-13 21:08:35 -06:00
Ben Turner
2b79758740 Bug 539061 - 'OOPP: ASSERTION: Received "nonqueued" message 31, 10'. r=jimm. 2010-01-15 12:35:53 -08:00
Chris Jones
01ea65d8aa Bug 539856: Avoid use-after-free of |mId| when constructing replies to destructor messages by saving |mId| on the stack. no r=, minor 2010-01-14 23:25:57 -06:00
Chris Jones
9fc2419985 Test for bug 539856. 2010-01-14 23:25:56 -06:00
Chris Jones
42b2e597bc Bug 539295: Use lenient child reaping in NS_BUILD_REFCNT_LOGGING builds. r=bsmedberg 2010-01-13 14:57:52 -06:00
Chris Jones
fcdf084f91 Bug 539295: Add an extra EnsureProcessTerminated() parameter to control how lenient to be wrt child shutdown. r=bent 2010-01-13 14:57:51 -06:00
Benjamin Smedberg
f3451af0e6 Followup to bug 516759 (multi-process crash reporting), make childCrashNotificationPipe a leaked char* instead of a leaked nsString, so that it doesn't show up in leakstats. r=ted (Filed bug 539451 as a followup.) 2010-01-13 10:44:10 -05:00
Chris Jones
22673401fe Bustage fix: work around XRE hackery. 2010-01-12 17:42:58 -06:00
Chris Jones
65721e4fc8 Bug 516759: Use OOP crash reporting in Gecko. r=luser 2010-01-12 15:14:38 -06:00