Commit Graph

91 Commits

Author SHA1 Message Date
Chris Jones
5629855e23 mac builds and runs with --enable-ipc, but the subprocess nsAppShell dies for an apparently Cocoa-related reason. IPC is fine though 2009-11-10 20:25:10 -06:00
Benjamin Smedberg
698d60225c Followup to last patch: using the ternary operator doesn't shortcut creating the temporary object, and I can't figure out why it was a ternary anyway: make it an if. 2009-11-09 12:57:32 -05:00
Benjamin Smedberg
77e06791ca Fix the chromium logging stuff: make CHECK/LOG release-and-debug (DCHECK/DLOG are debug-only), and make it print warning/error/abort using NS_DebugBreak, which is especially important for release aborts. 2009-11-09 12:03:48 -05:00
Chris Jones
52c9dd6f55 build fix for gcc <= 4.2 2009-11-06 22:57:13 -06:00
Chris Jones
cb36d1b489 fix build bustage and test SEGFAULTs 2009-11-06 17:07:52 -06:00
Benjamin Smedberg
4824f760d5 Followup to the previous patch: give arguments to CHECK also, to fix Maemo build bustage and be consistent. 2009-11-06 14:45:38 -05:00
Benjamin Smedberg
007228edf0 Bug 526868 - Drop the dependency on GLIBCXX_3.4.9 by hacking Chromium logging to use NSPR logging instead of ostream. Pending r+ from cjones, but I wanted to get this landed to see what it did to the Linux testerboxes. 2009-11-05 17:47:09 -05:00
Chris Jones
fb5e908958 bug 525677: shuffle some headers to appease gcc 4.2. IRC r=fred23,bsmedberg 2009-11-04 23:11:33 -06:00
Benjamin Smedberg
03dcbb1ee5 Update chromium code to newer versions (rev 23304) to avoid tr1/function which doesn't compile without RTTI on, and disable RTTI by default. 2009-11-04 15:46:27 -05:00
Jonathan Griffin
2e50906674 Bug 525090. Log the PID's of launched processes. r=cjones
--HG--
extra : rebase_source : 69365c5d2f3a96b21efdeea876389027fca6feb5
2009-11-02 14:41:46 -08:00
Ben Turner
c650170292 Don't let people get the order of includes wrong in this horrifying patchwork of chromium and mozilla types 2009-10-21 16:01:16 -07:00
Chris Jones
8cb71b94bf bug 518914: make sure that Messages are fully deserialized. fix fencepost error in chromium code 2009-10-19 16:06:13 -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
Chris Jones
fb35538a29 bug 518425, part 2: lessen routing ID collisions 2009-09-24 13:38:04 -05: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
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
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
1521c7b109 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07: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
f09e5b1b04 build on 64-bit linux 2009-08-12 00:41:55 -05: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
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
Chris Jones
f349133c54 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
0501b7a589 Make --disable-ipc work... mac-ppc now builds by default. 2009-07-20 15:04:52 -04: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
Chris Jones
457f6ad505 fix gcc <= 4.1 builds by removing mysterious template syntax 2009-07-15 13:21:06 -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
Benjamin Smedberg
28d4675b23 Build system for .ipdl files. 2009-07-13 12:14:56 -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
Ben Turner
67ac5c13b2 Some windows build fixup 2009-07-02 13:48:33 -07:00
Benjamin Smedberg
cc94d1bdc5 Require Windows XP SP2, and disable a compile-time check which doesn't make much sense in the chromium code. 2009-07-02 11:57:55 -04:00
Benjamin Smedberg
95fa1bb9af Build fixes: * enable RTTI by default when building with GCC to work around the tr1/functional error * link with -lrt * Tell chromium that it's always using wide wchar on Linux 2009-06-30 13:21:26 -04:00
Benjamin Smedberg
34f5d65570 Hook up the event loop changes and fix the build
--HG--
rename : ipc/chromium/src/base/file_version_info_linux.h.version => ipc/chromium/base/file_version_info_linux.h
2009-06-30 12:02:37 -04:00
Benjamin Smedberg
14ce29cc49 ipc/glue imported verbatim from http://hg.mozilla.org/users/bturner_mozilla.com/libchromiumipc/ 2009-06-29 14:38:29 -04:00
Benjamin Smedberg
5fc7659bb1 Mozilla-specific changes to the Chromium code, imported verbatim from http://hg.mozilla.org/users/bturner_mozilla.com/libchromiumipc/ 2009-06-29 14:37:52 -04:00
Benjamin Smedberg
596636b2ed Build the pieces of the chromium code we actually need. Many thanks to bent for doing this the first time: I redid the Makefile to be all in one directory and use vpath directives so that dependencies work correctly. 2009-06-29 14:31:58 -04:00
Benjamin Smedberg
d4f21f823b Import Chromium sources r15462 2009-06-29 08:35:58 -04:00