Commit Graph

136 Commits

Author SHA1 Message Date
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
f02911c98e build on 64-bit linux 2009-08-12 00:41:55 -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
Ben Turner
37f6bdca20 Add extremely basic support for unblocking in the event of a bad message 2009-08-07 16:13:20 -07:00
Chris Jones
01ffe0160b make it easier to control whether logging code is emitted 2009-08-07 16:10:57 -05:00
Ben Turner
a6cb8553d3 Add test plugin for ipc, make sure it works 2009-08-05 15:36:33 -07:00
Ben Turner
ff67e8afc3 Use mozilla strings instead of std::string in IPDL 2009-07-29 14:12:15 -07:00
Ben Turner
12d174469f Fix chromium statics for apps that don't run through XRE_Main 2009-07-29 14:11:42 -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
Ben Turner
e5cab3444c Allow ipcshell to receive a response from its child process 2009-07-23 15:27:17 -07:00
Chris Jones
50b01f1178 windows build fix, v2 2009-07-21 09:28:36 -05:00
Chris Jones
0a5e27f76d windows build fix 2009-07-21 08:58:28 -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
Benjamin Smedberg
3f76d197c8 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04:00
Chris Jones
69604af50f add SyncLaunch() method to GeckoChildProcess class. remove much newly obseleted code. 2009-07-20 13:14:41 -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
Benjamin Smedberg
62478d8e8a Use a different hack to make the Linux tinderboxes green until we can upgrade to GCC 4.3 2009-07-17 13:39:40 -04:00
cjones@dm-oink01.mozilla.org
a9ad21732a BAND-AID: compile chromium base lib with -fno-inline to fix linker bustage. bye bye performance. 2009-07-16 14:59:49 -07:00
Chris Jones
08fc1b6880 >--> @ MSVC8, v4 2009-07-15 17:33:37 -05:00
Chris Jones
057ed3ad8e another stab at fixing MSVC8 build bustage. 2009-07-15 17:06:30 -05:00
Chris Jones
90e549a263 another stab in the dark at fixing MSVC8 bustage: put Result code enum in anonymous namespace 2009-07-15 16:38:55 -05:00
Chris Jones
5a07425e89 attempt to fix build bustage when using MSVC8. 2009-07-15 13:41:09 -05:00
Chris Jones
fd025df45e fix gcc <= 4.1 builds by removing mysterious template syntax 2009-07-15 13:21:06 -05:00
Benjamin Smedberg
f9e74ef747 IPCMessageStart.h shouldn't be checked in... should fix Windows build bustage. 2009-07-14 10:37:38 -04:00
Chris Jones
ddf91bd30e update rgnrectallocator changes to match pending m-c patch. 2009-07-14 03:09:23 -05:00
Chris Jones
98f8639f7b fix up phase 1 browser: (i) suppress spurious RgnRectAlloc error msgs; (ii) make IFrameEmbedding protocol sync/async instead of rpc; (iii) fix bug that prevented child iframe from drawing 2009-07-14 02:33:50 -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
Ben Turner
d952bdebc8 Linux bustage fix? 2009-07-11 03:04:20 -04:00
Ben Turner
896d5d4ea3 Adds the ipcshell application to test IPC 2009-07-11 02:33:10 -04:00