Commit Graph

985 Commits

Author SHA1 Message Date
Chris Jones
bdd1e7b305 Bug 540004, part 3: Add a ShouldContinue() interface to IPDL actors that allows them to decide how a hang should be treated. r=bent 2010-02-09 18:02:55 -06:00
Chris Jones
87f19e3cc8 Bug 540004, part 2: Detect hangs while awaiting synchronous IPC replies (on POSIX). r=bent 2010-02-09 18:02:54 -06:00
Chris Jones
f0297f6eef Bug 540004, part 1: Various and sundry trivial refactorings. r=bent 2010-02-09 18:02:53 -06:00
Chris Jones
b1f7c77df7 Fix linux bustage. 2010-02-09 17:04:06 -06:00
Jim Mathies
69719d7efc Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones. 2010-02-09 16:34:38 -06:00
Chris Jones
b8bdb19755 Follow-up to bug 540886: address review comments I forgot to before pushing. 2010-01-27 02:17:17 -06:00
Chris Jones
a0d47c0f05 Bug 540886, part 3: IPDL/C++ test for BlockChild()/UnblockChild(). r=bnewman 2010-01-27 00:41:33 -06:00
Chris Jones
ab07171c3c Bug 540886, part 2: Offer a BlockChild() interface to RPC protocols that allows parents to prevent children from sending messages back of their own volition until the parent calls UnblockChild(). r=bent 2010-01-27 00:41:32 -06:00
Chris Jones
21f7f22853 Bug 540886, part 1: Refactor "special message" dispatch in AsyncChannel. r=bent 2010-01-27 00:41:31 -06:00
Chris Jones
fb39d60f38 Bug 540111, part 5: IPDL/C++ test of multi-managers. r=bnewman 2010-01-26 22:56:14 -06:00
Chris Jones
1c9d02a487 Bug 540111, part 4: IPDL-only tests of multi-managers. 2010-01-26 22:56:13 -06:00
Chris Jones
83102766dd Bug 540111, part 3: Allow IPDL actors to be managed by one of a set of possible managers. r=bent 2010-01-26 22:56:12 -06:00
Chris Jones
297e277d4d Bug 540111, part 2: Subsume direct calls to manager->Dealloc*() into RemoveManagee(). r=bent 2010-01-26 22:56:11 -06:00
Chris Jones
48abcec969 Bug 540111, part 1: Add a new IProtocolManager::RemoveManagee interface to break reliance on the |Manager()| interface. r=bent 2010-01-26 22:56:09 -06:00
Benjamin Smedberg
7ac1988bbe Commit remaining piece of bug 543788, r=jimm 2010-02-11 15:50:32 -05:00
Jason Duell
af4d1f0cda Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07:00
Chris Jones
cce1ee683f bug 516798: fix busted actor-as-return-value handling in IPDL 2009-09-16 21:49:41 -05:00
Chris Jones
02be163163 fix mismatched expectations of generated vars arrays 2009-09-16 17:41:04 -05:00
Ben Turner
8e535c6e1c Initialize managers asap in child actors 2009-09-16 15:01:00 -07:00
Ben Turner
63146a834d Further fixes for unions 2009-09-14 19:26:17 -07:00
Ben Turner
100dad33b8 Fix union type stuff for linux too 2009-09-14 17:55:00 -07:00
Ben Turner
ca30cf78d0 Fix union type constructors to be explicit to avoid msvc choosing cheaper code paths 2009-09-14 14:44:06 -07:00
Ben Turner
05769a8081 Fix mem corruption from our different use of ChildProcessHost when child processes crash 2009-09-14 13:02:32 -07:00
Ben Turner
b84bc59f4f Fix recursive locking when unblocking an RPC channel for a sync message and add minimal error handling for sync messages. 2009-09-14 13:00:31 -07:00
Ben Turner
efe01d1b64 Fix nsTArray deserialization 2009-09-14 12:58:33 -07:00
Chris Jones
4ae5104573 modify the generated C++ enum representing the constituent types of IPDL unions so that they can represent a "not assigned" state 2009-09-12 17:18:56 -05:00
Chris Jones
49bf27b065 fix the internal C++ union of generated IPDL unions so that they can contain non-POD types 2009-09-12 15:40:26 -05:00
Chris Jones
ed9f513fea fix isUnion/isUnionType schizophrenia introduced by d3e90292fd30 2009-09-12 15:11:35 -05:00
Benjamin Smedberg
4f5efe392c Followup to changeset d3e90292fd30, discriminated union types: bustage fix when passing an actor 2009-09-11 12:05:26 -04:00
Chris Jones
0beb0f3ce6 unblock RPC waiters for async messages, for realz 2009-09-11 02:28:09 -05:00
Chris Jones
d6674f7056 fix bug introduced by d0d751ed8c3e where receiving multiple async messages while awaiting an RPC reply could screw things up. async messages no longer unblock RPC waiters. 2009-09-11 01:05:42 -05:00
Chris Jones
920904d7c4 add discriminated union types to IPDL 2009-09-10 23:55:03 -05:00
Chris Jones
13e950f139 make RPC unblock for async and sync, as it supposed to have 2009-09-10 18:54:37 -05:00
Ben Turner
df5a61685f Remove 'Protocol' suffix from IPDL-generated files 2009-09-09 15:59:06 -07:00
Ben Turner
ce3ffecf52 Rename remaining protocols 2009-09-09 15:00:14 -07:00
Chris Jones
d33dfc4a09 bug 515365: fix actor types as message params. also refactor actor naming so that the "Protocol" suffix can be removed. 2009-09-09 15:25:05 -05:00
Chris Jones
231058bee3 bug 515242: finish FE support for actor types specified to be in "any" state (by adding State.ANY). fix IPDL handling of carriage return, remove them from new code 2009-09-09 01:58:08 -05:00
Ben Turner
6548df948f Fix crashing iframes due to gtk_init, stop using windows in xpcshell tests 2009-09-08 13:35:12 -07:00
Ben Turner
2c31c6c760 Fix linux builds by giving them a better idea of the executable location 2009-09-04 00:23:06 -07:00
Chris Jones
f1e10238c6 make failed exec() print a loud error message 2009-09-03 17:12:57 -05: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
a41e6d8f2f Enable ipcshell tests 2009-09-02 12:35:15 -07:00
Ben Turner
94760cf4a1 Disable tests until they work 2009-09-01 15:36:38 -07:00
Ben Turner
acb212562f Basic xpcshell test for testing IPDL 2009-09-01 15:17:24 -07:00
Chris Jones
6e00da594f bug 513920: synchronously "connect" to parent process from child process 2009-09-01 11:27:09 -05:00
Chris Jones
5298e7628b fix build bustage; include prtime.h in IPDL code and avoid conflicting CaseInsensitiveCompare decls 2009-09-01 10:01:50 -05:00
Ben Turner
2ab4c579a2 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Chris Jones
2f610095d1 bug 511440: leak count the protocol actor classes. Patch from robin_bb, thanks! r=cjones 2009-08-31 12:54:25 -05: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