Chris Jones
|
a0897fc29d
|
bug 521845: expand protocol space by 4x (temporarily)
|
2009-10-12 14:04:40 -05:00 |
|
Chris Jones
|
024372f081
|
fix bugs in RPC race resolution
|
2009-10-09 01:21:39 -05:00 |
|
Chris Jones
|
264a18bfdc
|
hack around lack of C99 format specifiers on Windows
|
2009-10-08 18:07:24 -05:00 |
|
Chris Jones
|
0f4bfc1b8d
|
followup to RPC race resolution --- convert RPC_DEBUGABORT into RPC_ASSERT, and pre-emptively fix potential spurious race detector alarms
|
2009-10-08 17:41:18 -05:00 |
|
Chris Jones
|
6c79e4bbd2
|
add racy RPC resolution. also add better debugging info and fix two shared-memory-race bugs.
|
2009-10-08 16:44:43 -05:00 |
|
Ben Turner
|
d8f6fca3ab
|
Add threadsafety assertions to plugin code
|
2009-10-08 12:11:13 -07:00 |
|
Ben Turner
|
63699d2cd3
|
Two tiny IPDL fixes.
|
2009-10-07 16:52:41 -07:00 |
|
Chris Jones
|
8bd9efc8e7
|
bug 518425: C++ unit test for bug
|
2009-10-06 13:05:47 -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 |
|
Ben Turner
|
fe26eff4e3
|
More bustage fix
|
2009-10-05 18:43:46 -07:00 |
|
Chris Jones
|
fb35538a29
|
bug 518425, part 2: lessen routing ID collisions
|
2009-09-24 13:38:04 -05:00 |
|
Chris Jones
|
714b015109
|
bug 518126: part 1 --- test the IPDL compiler in isolation. r=bsmedberg
|
2009-09-23 11:00:37 -05:00 |
|
Chris Jones
|
4c587f8e45
|
bug 517977: require actor impls to override AllocPFoo/DeallocPFoo instead of PFooConstructor/PFooDestructor
|
2009-09-22 12:31:11 -05:00 |
|
Chris Jones
|
89fff610ce
|
bug 518032: fix messed-up dtor code gen
|
2009-09-22 11:03:54 -05:00 |
|
Chris Jones
|
3ecb69991d
|
fix sync/RPC deadlock bug that came to me in a dream. r=mr.sandman
|
2009-09-22 10:23:29 -05:00 |
|
Chris Jones
|
d484a65e38
|
bug 517923: support serializing ns*Strings that represent NULL, use this mechanism in PluginInstanceParent/PluginModuleChild. also add basic crash-handling to *Channel code and some NS_OVERRIDE annotations.
|
2009-09-21 21:02:15 -05:00 |
|
Chris Jones
|
90a2666dff
|
fix lingering cruft from the nsresult-to-bool conversion
|
2009-09-18 16:35:53 -05:00 |
|
Chris Jones
|
20d86c434b
|
make actor param/return types nullable. use decl initializers where possible for more concise code
|
2009-09-18 12:28:37 -05:00 |
|
Chris Jones
|
fef237688e
|
fix bug in IPDL race detector causing it not to detect certain patterns involving async messages where parent/child state machines could get more than 1 state out of sync
|
2009-09-18 11:10:48 -05:00 |
|
Chris Jones
|
03947f0bf3
|
switch message handler nsresult return types to bool. appears to break test plugin, will be temporary
|
2009-09-17 18:09:20 -05:00 |
|
Ben Turner
|
5927a0e5fb
|
Landing the first part of NPRuntime support for plugin-side objects. Not hooked up yet.
|
2009-09-17 15:15:12 -07:00 |
|
Jason Duell
|
7b9643e8c3
|
Necko init patch, with modeline fixes
|
2009-08-18 12:05:15 -07:00 |
|
Chris Jones
|
8ef0c1d0d8
|
bug 516798: fix busted actor-as-return-value handling in IPDL
|
2009-09-16 21:49:41 -05:00 |
|
Chris Jones
|
d50f580e04
|
fix mismatched expectations of generated vars arrays
|
2009-09-16 17:41:04 -05:00 |
|
Ben Turner
|
6767c1e151
|
Initialize managers asap in child actors
|
2009-09-16 15:01:00 -07:00 |
|
Ben Turner
|
cce28b953f
|
Further fixes for unions
|
2009-09-14 19:26:17 -07:00 |
|
Ben Turner
|
ebf1496aa4
|
Fix union type stuff for linux too
|
2009-09-14 17:55:00 -07:00 |
|
Ben Turner
|
c3980cd06f
|
Fix union type constructors to be explicit to avoid msvc choosing cheaper code paths
|
2009-09-14 14:44:06 -07:00 |
|
Ben Turner
|
b9c58a3347
|
Fix mem corruption from our different use of ChildProcessHost when child processes crash
|
2009-09-14 13:02:32 -07:00 |
|
Ben Turner
|
4c2446fda0
|
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
|
c8cd3d9e05
|
Fix nsTArray deserialization
|
2009-09-14 12:58:33 -07:00 |
|
Chris Jones
|
4adeb30006
|
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
|
af6b29815d
|
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
|
657a5413be
|
fix isUnion/isUnionType schizophrenia introduced by d3e90292fd30
|
2009-09-12 15:11:35 -05:00 |
|
Benjamin Smedberg
|
0129b07555
|
Followup to changeset d3e90292fd30, discriminated union types: bustage fix when passing an actor
|
2009-09-11 12:05:26 -04:00 |
|
Chris Jones
|
eac97adcbe
|
unblock RPC waiters for async messages, for realz
|
2009-09-11 02:28:09 -05:00 |
|
Chris Jones
|
f628e59149
|
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
|
e20692ab9b
|
add discriminated union types to IPDL
|
2009-09-10 23:55:03 -05:00 |
|
Chris Jones
|
88d2f89607
|
make RPC unblock for async and sync, as it supposed to have
|
2009-09-10 18:54:37 -05:00 |
|
Ben Turner
|
c6ad60ed4d
|
Remove 'Protocol' suffix from IPDL-generated files
|
2009-09-09 15:59:06 -07: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 |
|
Chris Jones
|
f9ec84bb5f
|
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
|
9b4c68bafb
|
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
|
962f9e024d
|
Fix crashing iframes due to gtk_init, stop using windows in xpcshell tests
|
2009-09-08 13:35:12 -07:00 |
|
Ben Turner
|
68e41ae4f9
|
Fix linux builds by giving them a better idea of the executable location
|
2009-09-04 00:23:06 -07:00 |
|
Chris Jones
|
29002d8ee4
|
make failed exec() print a loud error message
|
2009-09-03 17:12:57 -05: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
|
6e6fa8eaec
|
Enable ipcshell tests
|
2009-09-02 12:35:15 -07:00 |
|
Ben Turner
|
268851a3c4
|
Disable tests until they work
|
2009-09-01 15:36:38 -07:00 |
|
Ben Turner
|
a8e29d16e8
|
Basic xpcshell test for testing IPDL
|
2009-09-01 15:17:24 -07:00 |
|
Chris Jones
|
7ede298e42
|
bug 513920: synchronously "connect" to parent process from child process
|
2009-09-01 11:27:09 -05:00 |
|
Chris Jones
|
fb7a868fa4
|
fix build bustage; include prtime.h in IPDL code and avoid conflicting CaseInsensitiveCompare decls
|
2009-09-01 10:01:50 -05:00 |
|
Ben Turner
|
99f1c34f15
|
Rework ipcshell to become xpcshell
|
2009-08-28 16:16:19 -07:00 |
|
Chris Jones
|
fead1e7116
|
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
|
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
|
e4dd7bb6ff
|
Rework chromium initialization, revert accidental change
|
2009-08-27 14:17:01 -07:00 |
|
Ben Turner
|
8e88b405d2
|
Rework chromium initialization
|
2009-08-27 14:11:10 -07:00 |
|
Chris Jones
|
c39afb1faf
|
drop the banhammer on sync parent-to-child messages
|
2009-08-25 18:52:12 -05:00 |
|
Ben Turner
|
1521c7b109
|
Fix testshell to use the new callback commands, and shut down properly
|
2009-08-25 16:07:22 -07:00 |
|
Chris Jones
|
84a5be73c6
|
add IPDL front-end support for transitioning to one of a set of states
|
2009-08-19 21:21:46 -05:00 |
|
Chris Jones
|
42f8bccd1d
|
add real front-end support for multiple start states in IPDL
|
2009-08-19 18:35:22 -05:00 |
|
Chris Jones
|
569858dd00
|
enable the actor before calling the ctor hook
|
2009-08-19 18:14:24 -05:00 |
|
Chris Jones
|
da80f6aaa1
|
add RecvCtor() hooks to match RecvDtor()
|
2009-08-19 17:54:54 -05:00 |
|
Chris Jones
|
36b0a7b68e
|
require IPDL filename Foo.ipdl to define protocol Foo
|
2009-08-19 16:08:21 -05:00 |
|
Chris Jones
|
a02df7b5d1
|
allow empty sub-protocols
|
2009-08-19 15:50:46 -05:00 |
|
Chris Jones
|
2c1f6f0ee8
|
add "power-user" ctor interface method that accepts pre-constructed actors
|
2009-08-19 15:39:10 -05: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 |
|
Chris Jones
|
d9919b3117
|
simplify some *Channel code. enforce more SyncChannel invariants
|
2009-08-19 10:44:56 -05:00 |
|
Chris Jones
|
0a08700f4a
|
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
|
43593314df
|
s/String/nsCString/ for IPDL example
|
2009-08-18 11:08:38 -05:00 |
|
Chris Jones
|
77d8bb116e
|
allow implementations to be notified when a dtor message is received
|
2009-08-14 16:46:49 -05:00 |
|
Chris Jones
|
f55e41544a
|
add dummy |start state| syntax
|
2009-08-14 15:38:25 -05:00 |
|
Chris Jones
|
752addc386
|
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
|
3727beac48
|
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
|
c077cb9ee4
|
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
|
5fdc15d93a
|
forward-declare non-managed actors
|
2009-08-12 15:51:39 -05:00 |
|
Chris Jones
|
ca83130e42
|
fix regression from refactoring error message construction
|
2009-08-12 13:59:00 -05:00 |
|
Chris Jones
|
2c2245395b
|
fix typos in type error format args
|
2009-08-12 13:46:05 -05:00 |
|
Chris Jones
|
1b2a01962c
|
generate C++ typdefs for namespaced protocols
|
2009-08-12 13:40:09 -05:00 |
|
Chris Jones
|
f09e5b1b04
|
build on 64-bit linux
|
2009-08-12 00:41:55 -05:00 |
|
Chris Jones
|
fc4f1b8507
|
bug 509588: in actor ctor skeleton, return null instead of NS_ERROR_NYI
|
2009-08-11 17:26:06 -05:00 |
|
Chris Jones
|
4a80615b13
|
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
|
bb36d29db4
|
backout bad fix
|
2009-08-11 17:12:42 -05:00 |
|
Chris Jones
|
be276f51f5
|
bug 509581: only generate dispatch statement if we have a non-default case
|
2009-08-11 17:09:13 -05:00 |
|
Chris Jones
|
973633505a
|
bug 509579: use ALLOW_THIS() macro to squash msvc warnings
|
2009-08-11 16:52:37 -05:00 |
|
Ben Turner
|
1088815043
|
Add extremely basic support for unblocking in the event of a bad message
|
2009-08-07 16:13:20 -07:00 |
|
Chris Jones
|
a225933c92
|
make it easier to control whether logging code is emitted
|
2009-08-07 16:10:57 -05:00 |
|
Ben Turner
|
2f24daa576
|
Add test plugin for ipc, make sure it works
|
2009-08-05 15:36:33 -07:00 |
|
Ben Turner
|
d4bb2883d3
|
Use mozilla strings instead of std::string in IPDL
|
2009-07-29 14:12:15 -07:00 |
|
Ben Turner
|
f120ae185f
|
Fix chromium statics for apps that don't run through XRE_Main
|
2009-07-29 14:11:42 -07:00 |
|
Chris Jones
|
bdd002ffe7
|
bug 506983: allow template types in param lists
|
2009-07-28 17:04:01 -05:00 |
|
Chris Jones
|
76fb6c8a37
|
bug 506983: bare minimum support for C++ template types in IPDL
|
2009-07-28 16:26:14 -05:00 |
|
Chris Jones
|
d8a8dca284
|
bug 506788: fix stupid typo
|
2009-07-27 20:49:32 -05:00 |
|
Chris Jones
|
9d6b44828f
|
Bug 506075: eliminate handshaking async constructor protocol, use smarter routing ID assignment
|
2009-07-24 18:24:27 -05:00 |
|
Chris Jones
|
beee1565fe
|
bug 506075: shoehorn support for async ctors/dtors into IPDL.
|
2009-07-23 20:31:56 -05:00 |
|
Ben Turner
|
018b1a724f
|
Allow ipcshell to receive a response from its child process
|
2009-07-23 15:27:17 -07:00 |
|
Chris Jones
|
bde223e936
|
windows build fix, v2
|
2009-07-21 09:28:36 -05:00 |
|
Chris Jones
|
aeec2c150f
|
windows build fix
|
2009-07-21 08:58:28 -05:00 |
|