Ben Turner
|
5a0e09b701
|
Remove 'Protocol' suffix from IPDL-generated files
|
2009-09-09 15:59:06 -07:00 |
Chris Jones
|
1c592e46b5
|
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
|
258569f503
|
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 |
Chris Jones
|
db8283a880
|
fix build bustage; include prtime.h in IPDL code and avoid conflicting CaseInsensitiveCompare decls
|
2009-09-01 10:01:50 -05:00 |
Chris Jones
|
a4b5dabdd8
|
bug 511440: leak count the protocol actor classes. Patch from robin_bb, thanks! r=cjones
|
2009-08-31 12:54:25 -05:00 |
Chris Jones
|
8b66e45495
|
drop the banhammer on sync parent-to-child messages
|
2009-08-25 18:52:12 -05:00 |
Chris Jones
|
24b18f8473
|
add IPDL front-end support for transitioning to one of a set of states
|
2009-08-19 21:21:46 -05:00 |
Chris Jones
|
809d7382e0
|
add real front-end support for multiple start states in IPDL
|
2009-08-19 18:35:22 -05:00 |
Chris Jones
|
3480e9a0e0
|
enable the actor before calling the ctor hook
|
2009-08-19 18:14:24 -05:00 |
Chris Jones
|
8a9bf731f2
|
add RecvCtor() hooks to match RecvDtor()
|
2009-08-19 17:54:54 -05:00 |
Chris Jones
|
bf3e025358
|
require IPDL filename Foo.ipdl to define protocol Foo
|
2009-08-19 16:08:21 -05:00 |
Chris Jones
|
a9da331f2d
|
allow empty sub-protocols
|
2009-08-19 15:50:46 -05:00 |
Chris Jones
|
e818dde5b1
|
add "power-user" ctor interface method that accepts pre-constructed actors
|
2009-08-19 15:39:10 -05:00 |
Chris Jones
|
de1432007f
|
allow implementations to be notified when a dtor message is received
|
2009-08-14 16:46:49 -05:00 |
Chris Jones
|
6c48795ddf
|
add dummy |start state| syntax
|
2009-08-14 15:38:25 -05:00 |
Chris Jones
|
3d6f398809
|
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
|
bfa6bff11f
|
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
|
d7b02fbeea
|
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
|
6a2a26a706
|
forward-declare non-managed actors
|
2009-08-12 15:51:39 -05:00 |
Chris Jones
|
f1aae4a7b5
|
fix regression from refactoring error message construction
|
2009-08-12 13:59:00 -05:00 |
Chris Jones
|
b5797704ff
|
fix typos in type error format args
|
2009-08-12 13:46:05 -05:00 |
Chris Jones
|
6e92a85059
|
generate C++ typdefs for namespaced protocols
|
2009-08-12 13:40:09 -05:00 |
Chris Jones
|
a318445e26
|
bug 509588: in actor ctor skeleton, return null instead of NS_ERROR_NYI
|
2009-08-11 17:26:06 -05:00 |
Chris Jones
|
165a6d7976
|
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
|
28d1cd83ea
|
backout bad fix
|
2009-08-11 17:12:42 -05:00 |
Chris Jones
|
42822e89de
|
bug 509581: only generate dispatch statement if we have a non-default case
|
2009-08-11 17:09:13 -05:00 |
Chris Jones
|
d374705a1d
|
bug 509579: use ALLOW_THIS() macro to squash msvc warnings
|
2009-08-11 16:52:37 -05:00 |
Chris Jones
|
01ffe0160b
|
make it easier to control whether logging code is emitted
|
2009-08-07 16:10:57 -05:00 |
Ben Turner
|
ff67e8afc3
|
Use mozilla strings instead of std::string in IPDL
|
2009-07-29 14:12:15 -07:00 |
Chris Jones
|
51cb11cdc2
|
bug 506983: allow template types in param lists
|
2009-07-28 17:04:01 -05:00 |
Chris Jones
|
db0fd936da
|
bug 506983: bare minimum support for C++ template types in IPDL
|
2009-07-28 16:26:14 -05:00 |
Chris Jones
|
2cf6bcf459
|
bug 506788: fix stupid typo
|
2009-07-27 20:49:32 -05:00 |
Chris Jones
|
94c6eaa73b
|
Bug 506075: eliminate handshaking async constructor protocol, use smarter routing ID assignment
|
2009-07-24 18:24:27 -05:00 |
Chris Jones
|
204e23429f
|
bug 506075: shoehorn support for async ctors/dtors into IPDL.
|
2009-07-23 20:31:56 -05:00 |
Chris Jones
|
b003459955
|
add message logging, as far as is possible with current build setup; -fshort-char breaks it. reinstate async/sync message dispatchers. fix 64-bit int printf bug in chromium.
|
2009-07-21 01:14:58 -05:00 |
Chris Jones
|
e516ddf1a1
|
implement protocol manager support for all channel types, not just RPC
|
2009-07-20 11:59:51 -05:00 |
Chris Jones
|
c383d96f98
|
stop flirting with MSVC8 name resolution bug.
|
2009-07-20 11:37:18 -05:00 |
Chris Jones
|
77e8929151
|
fix small parser regression. edit test-harness code to match online guide
|
2009-07-17 23:00:01 -05:00 |
Chris Jones
|
0ed5c19802
|
check that protocol state machines are race-free. fix race in test-harness (whoops).
|
2009-07-17 18:10:10 -05:00 |
Chris Jones
|
2c6a8fd8a3
|
check reachability of states in IPDL protocols. clean up type checking a little.
|
2009-07-17 14:22:18 -05:00 |
Chris Jones
|
3fe0052c3e
|
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 |
Chris Jones
|
9c6618c46e
|
first cut at AsyncChannel and SyncChannel. only RPCChannel is currently under warranty.
|
2009-07-13 16:55:04 -05:00 |
Chris Jones
|
9e97c71486
|
fix build bustage
|
2009-07-13 12:16:40 -05:00 |
Chris Jones
|
88634d747a
|
IPDL: add colons back to state declarations
|
2009-07-13 12:10:02 -05:00 |
Benjamin Smedberg
|
fc924865a3
|
Build system for .ipdl files.
|
2009-07-13 12:14:56 -04:00 |
Chris Jones
|
807f1ea1f2
|
make parse errors behave like type errors
|
2009-07-13 11:12:08 -05:00 |
Chris Jones
|
f787806790
|
change state declaration syntax to be more different than parent:/child:/both: labels
|
2009-07-10 19:40:17 -05:00 |
Chris Jones
|
8354e23734
|
remove in/out/inout syntax in favor of parent:, child:, and both: labels
|
2009-07-10 19:19:54 -05:00 |
Chris Jones
|
51d8168a20
|
generate skeleton IPDL actor impls, like the IDL compiler does for interfaces. also fix the C++ visitor.
|
2009-07-10 15:56:40 -05:00 |
Chris Jones
|
433c336e5f
|
final frontend support for protocol state machines. patch includes a minor refactoring as well.
|
2009-07-09 13:11:52 -05:00 |
Chris Jones
|
06af384fd3
|
add parsing and type-checking of protocol state machines in preparation for codegen of dynamic FSM checker. fix a couple of bugs here and there.
|
2009-07-08 18:03:56 -05:00 |
Chris Jones
|
9026ee09d1
|
check that ctors and dtors have been declared for managed protocols
|
2009-07-08 10:37:32 -05:00 |
Chris Jones
|
bbe448b3ef
|
add gcc-like -I include dir options to ipdl compiler
|
2009-07-07 17:52:38 -05:00 |
Chris Jones
|
a2cbe6d182
|
bug 502921: check NS_FAILED when calling into implementor code
|
2009-07-07 16:45:27 -05:00 |
Chris Jones
|
1db701964c
|
bugs 502003, 502634: compile multiple IPDL specs in one invocation
--HG--
rename : ipc/ipdl/ipdlc => ipc/ipdl/ipdl.py
|
2009-07-07 15:52:10 -05:00 |
Benjamin Smedberg
|
05e9e26706
|
Windows fixup: write files in binary mode so we have consistent Unix-style line endings, and always use forward slashes instead of os.path.sep
|
2009-07-07 11:17:48 -04:00 |
Chris Jones
|
63e6c7f868
|
port IFrame protocol to new interface. fix small IPDL bug.
|
2009-07-02 19:24:02 -05:00 |
Chris Jones
|
bb1ba690e0
|
use static_cast instead of dynamic_cast. silly cjones.
|
2009-07-02 19:02:06 -05:00 |
Chris Jones
|
22e9e1dee6
|
merge plugin work from libchromiumipc. add env var check for OOP iframe. a few small bugfixes here and there.
|
2009-07-02 11:54:22 -05:00 |
Chris Jones
|
7aded61394
|
add initial support for protocol management in IPDL. small changes to existing protocols in preparation for merge from libchromiumipc.
|
2009-07-02 00:45:19 -05:00 |
Benjamin Smedberg
|
40fee97f07
|
Import IPDL from cjones' working repo, revision 282b4211d881. New IPDL work will take place in electrolysis.
|
2009-06-30 15:38:59 -04:00 |