Commit Graph

29898 Commits

Author SHA1 Message Date
Chris Jones
be1ba467e4 check that protocol state machines are race-free. fix race in test-harness (whoops). 2009-07-17 18:10:10 -05:00
Benjamin Smedberg
48ed871d69 Disable IPC on mac PPC, probably permanently 2009-07-17 16:19:01 -04:00
Chris Jones
af893a5060 check reachability of states in IPDL protocols. clean up type checking a little. 2009-07-17 14:22:18 -05:00
Benjamin Smedberg
855263eb48 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
d2a3bbd884 BAND-AID: compile chromium base lib with -fno-inline to fix linker bustage. bye bye performance. 2009-07-16 14:59:49 -07:00
Benjamin Smedberg
34a84a4c40 Because XRE_API hides function pointer declarations when XPCOM_GLUE is defined, don't use default values for function parameters 2009-07-16 12:23:33 -04:00
Benjamin Smedberg
e81e707c7e Link against dbghelp.lib on Windows to satisfy requirements of chromium/src/base/debug_util_win.cc (SymInitialize etc). This means the build requires Windows XP at runtime (or the user has to install the debugging tools for Windows, but I'm pretty sure we're ok with dropping Windows 2000 support). 2009-07-16 11:41:19 -04:00
Chris Jones
957ee2b153 >--> @ MSVC8, v4 2009-07-15 17:33:37 -05:00
Chris Jones
5e2cfbac7f another stab at fixing MSVC8 build bustage. 2009-07-15 17:06:30 -05:00
Chris Jones
7662f0b63a 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
1f2aa76f62 attempt to fix build bustage when using MSVC8. 2009-07-15 13:41:09 -05:00
Chris Jones
457f6ad505 fix gcc <= 4.1 builds by removing mysterious template syntax 2009-07-15 13:21:06 -05:00
Benjamin Smedberg
b0713f0d38 IPCMessageStart.h shouldn't be checked in... should fix Windows build bustage. 2009-07-14 10:37:38 -04:00
Chris Jones
1de39e3ef4 update rgnrectallocator changes to match pending m-c patch. 2009-07-14 03:09:23 -05:00
Chris Jones
14b0696047 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
4f43a36d99 preview of bug 504034: allow nsRegion to be used (only) on a non-main thread without it spuriously complaining about thread-safety violations 2009-07-14 02:31:10 -05:00
Chris Jones
d7947d5455 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
65a5143fa4 first cut at AsyncChannel and SyncChannel. only RPCChannel is currently under warranty. 2009-07-13 16:55:04 -05:00
Chris Jones
e1802878a2 fix build bustage 2009-07-13 12:16:40 -05:00
Chris Jones
f4fb7e72d9 IPDL: add colons back to state declarations 2009-07-13 12:10:02 -05:00
Benjamin Smedberg
28d4675b23 Build system for .ipdl files. 2009-07-13 12:14:56 -04:00
Chris Jones
e97dd63901 make parse errors behave like type errors 2009-07-13 11:12:08 -05:00
Ben Turner
8c59b524c4 Linux bustage fix? 2009-07-11 03:04:20 -04:00
Ben Turner
44bc13e3b6 Linux bustage fix? 2009-07-11 02:42:31 -04:00
Ben Turner
011769cbf2 Adds the ipcshell application to test IPC 2009-07-11 02:33:10 -04:00
Chris Jones
75cbcb8d79 change state declaration syntax to be more different than parent:/child:/both: labels 2009-07-10 19:40:17 -05:00
Chris Jones
c73832e4e0 remove in/out/inout syntax in favor of parent:, child:, and both: labels 2009-07-10 19:19:54 -05:00
Chris Jones
ca80c305cb 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
452523bbf6 add files that should have been in last cset 2009-07-10 14:58:14 -05:00
Chris Jones
e6c73d1542 use a single binary, mozilla-runtime, for all child processes 2009-07-10 14:03:09 -05:00
Benjamin Smedberg
1292d2280d Bug 463417 - import the nsinstall.exe source from CVS buildtools repository: make it capable of copying files with very long names, build it by default on Windows hosts, and stop using the moztools version, r?timeless 2009-07-09 14:48:45 -04:00
Chris Jones
03d2126057 final frontend support for protocol state machines. patch includes a minor refactoring as well. 2009-07-09 13:11:52 -05:00
Chris Jones
7929ffa13d 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
d3e2234d01 check that ctors and dtors have been declared for managed protocols 2009-07-08 10:37:32 -05:00
Chris Jones
a3e9f6ddbf add gcc-like -I include dir options to ipdl compiler 2009-07-07 17:52:38 -05:00
Chris Jones
d748ddb837 bug 502921: check NS_FAILED when calling into implementor code 2009-07-07 16:45:27 -05:00
Chris Jones
82d3d94aca 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
d072272ca2 Windows build fixup. I haven't really tested whether tabs actually *work* in this scenario (widget sizing and parenting might be interesting), but it's at least enough to allow other people to start really working on code. 2009-07-07 12:26:49 -04:00
Benjamin Smedberg
0990ded365 Goodbye, NO_NSPR_10 weirdness. 2009-07-07 12:25:00 -04:00
Benjamin Smedberg
6b72e92e31 Minor fixups... not sure why we needed unistd.h here, but Windows doesn't have it. 2009-07-07 12:22:21 -04:00
Benjamin Smedberg
cd0e1bbae2 Need to link with psapi.lib for GetProcessMemoryInfo (and skip -lrt on non-Linux) 2009-07-07 12:21:10 -04:00
Benjamin Smedberg
5a197c4735 Windows fixup: Windows does actually have 2-byte wchar_t. Also there was a possible missing PR_BEGIN_EXTERN_C that we really did need. 2009-07-07 12:20:02 -04:00
Benjamin Smedberg
0cf96b07ba Commit new versions of generated headers. 2009-07-07 11:20:51 -04:00
Benjamin Smedberg
2c8fc7fd77 Use PRUint32 instead of uint32_t since we don't have uint32_t on Windows (yet). 2009-07-07 11:18:48 -04:00
Benjamin Smedberg
5091399e83 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
00958eff01 port IFrame protocol to new interface. fix small IPDL bug. 2009-07-02 19:24:02 -05:00
Chris Jones
9a867c549d use static_cast instead of dynamic_cast. silly cjones. 2009-07-02 19:02:06 -05:00
Ben Turner
67ac5c13b2 Some windows build fixup 2009-07-02 13:48:33 -07:00
Ben Turner
73f03dff53 merge bent's changes from libchromiumipc. Gtk plugins now drawing 2009-07-01 14:19:32 -07:00
Chris Jones
8aa21b1e90 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