Commit Graph

985 Commits

Author SHA1 Message Date
Benjamin Smedberg
35c6b0b17e Merge mozilla-central into electrolysis 2010-01-14 09:01:59 -05:00
Chris Jones
87b9c7f485 Bug 539343: Call DeallocSubtree() on subprotocol actors after being __delete__-ed. r=bent 2010-01-13 21:08:36 -06:00
Chris Jones
c609ba6adc Test for bug 539343. 2010-01-13 21:08:35 -06:00
Chris Jones
0845bb5ab8 Bug 539295: Use lenient child reaping in NS_BUILD_REFCNT_LOGGING builds. r=bsmedberg 2010-01-13 14:57:52 -06:00
Chris Jones
02b954d36d Bug 539295: Add an extra EnsureProcessTerminated() parameter to control how lenient to be wrt child shutdown. r=bent 2010-01-13 14:57:51 -06:00
Benjamin Smedberg
09987ae349 Followup to bug 516759 (multi-process crash reporting), make childCrashNotificationPipe a leaked char* instead of a leaked nsString, so that it doesn't show up in leakstats. r=ted (Filed bug 539451 as a followup.) 2010-01-13 10:44:10 -05:00
Chris Jones
381aea6547 Bustage fix: work around XRE hackery. 2010-01-12 17:42:58 -06:00
Chris Jones
321e87950f Bug 516759: Use OOP crash reporting in Gecko. r=luser 2010-01-12 15:14:38 -06:00
Chris Jones
b30d85e2a0 Small edit to comment. No r=, just want another set of talos runs. 2010-01-12 02:25:18 -06:00
Chris Jones
cdd44ce23d Bug 538586: Notify clients of channel errors if they call Close() before deleting themselves, but before the error notification event is delivered from the IO thread. r=bent 2010-01-12 00:14:32 -06:00
Chris Jones
35e2712fe8 Test for bug 538586. 2010-01-12 00:14:31 -06:00
Chris Jones
55c33793bd Don't run TestLatency if the timing resolution is too low and use the new TimeDuration::ToSecondsSigDigits() method to display durations to humans. No r=, test only. 2010-01-11 23:46:17 -06:00
Jim Mathies
6165cac78c Bug 538990 - Add a resource manifest to mozilla-runtime.exe. r=ted. 2010-01-13 19:44:34 -06:00
Benjamin Smedberg
dd6260695e Merge mozilla-central to electrolysis 2009-12-21 10:22:07 -05:00
Makoto Kato
23570715d0 Bug 534813 - ipc_message_utils.h causes build error on Windows x64 build. r=jones.chris.g 2009-12-21 18:28:28 +09:00
Chris Jones
a0a148a9cc bug 535867: fix threadsafety problem causing windows tinderbox error. r=trivial 2009-12-18 18:09:56 -06:00
Benjamin Smedberg
d067927a45 Bug 535298: Cancel the NotifyMaybeChannelError event if the AsyncChannel is destroyed, and allow AsyncChannel::Close() to be called after a channel error (e.g. child process crash). r=cjones 2009-12-17 18:12:03 -06:00
Chris Jones
bffd84411e bug 535298: IPDL unit test for use-after-free crashes after RPC errors. r=test-only 2009-12-17 18:12:01 -06:00
Benjamin Smedberg
ebaf2772c2 Bug 534736, and perhaps some others: parent crash within mozilla::plugins::PPluginInstanceParent::DestroySubtree, r=cjones 2009-12-17 16:39:22 -05:00
Chris Jones
07c008c89d fix syntax error. r=trivial 2009-12-15 16:15:39 -06:00
Chris Jones
2233257994 bug 533507: improve IPC "race condition" error message. frontend only, r=me 2009-12-09 20:01:46 -06:00
Chris Jones
e0d167611f bug 533587: process RPC in-calls deferred because of races until "later". in-person r=bent 2009-12-09 17:15:01 -06:00
Chris Jones
4126927416 add missing makefile dep. r=trivial 2009-12-09 14:53:52 -06:00
Chris Jones
2d8afb8fce bug 532973: add a check-valgrind target that runs IPDL unit tests under valgrind. r=luser 2009-12-07 01:10:52 -06:00
Chris Jones
b7f17274a2 bug 533034: fix race condition that led to use-after-free. thanks valgrind! 2009-12-07 00:04:00 -06:00
Chris Jones
c9ba01cf14 bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Chris Jones
28113062c3 fix some leaks found by valgrind. r=trivial 2009-12-04 18:15:44 -06:00
Chris Jones
9edc2d2538 bug 521949: make valgrind stop complaining about a false-positive uninitialized memory read 2009-12-04 16:45:23 -06:00
Chris Jones
3015d46a4f Fix MSVC warning 2009-12-04 16:27:59 -06:00
Chris Jones
6cddec82cb bug 523175: follow-up to 82549dbf71d8, fully enables the C++/IPDL side of Shmem and adds unit tests. r=bent 2009-12-04 12:45:21 -06:00
Chris Jones
06a75f149c bug 523174: add a higher-level Shmem class that implements exclusive access rights between parent/child actors and does over/underflow checking. (Also adds a stop-gap lower-level SharedMemory class in lieu of bug 523172.) r=joedrew 2009-12-04 12:45:15 -06:00
Benjamin Smedberg
6768906b1c Bug 532659 - PluginScriptableObjectParent gets double-deleted when the plugin crashes, and fix the IPDL bug where we delete the actor if construction fails, instead of calling Deallocate on it, r=bent 2009-12-03 15:30:05 -05:00
Chris Jones
2a7a132a2b bug 529005: detect child process shutdowns vs. crashes, and expose this information to IPDL actors in a new |ActorDestroy(why)| interface. also ensure that subprotocol actors are notified of shutdown and cleaned up properly. r=bsmedberg r=bent 2009-12-03 02:16:28 -06:00
Chris Jones
18ab400406 bug 521272: add C++ interfaces allowing IPDL manager actors to iterate over managees. r=trivial 2009-12-03 02:16:21 -06:00
Chris Jones
f40a90e249 bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Chris Jones
197eed7013 bug 525172: from IPDL specs generate .cpp files with method definitions instead of everything in .h files. r=bsmedberg 2009-12-03 02:16:09 -06:00
Chris Jones
b46d9f3718 bug 525483: simple check for IPDL actor use-after-free. also refactors some error handling code 2009-12-03 02:16:03 -06:00
Chris Jones
1c2f35cfb0 bug 524220: add a |nullable| type qualifier denoting whether C++ actor params are allowed to be NULL. r=bent 2009-12-03 00:35:22 -06:00
Chris Jones
c458caa102 bug 523175: preliminary front-end-only support for shmem. r=bent 2009-12-03 00:35:15 -06:00
Chris Jones
acef05ce5b bug 532333: part 2: implement an alternate EnsureChildTerminated() that listens for SIGCHLD (with a timeout) on the IO thread, instead of spawning a cleanup thread 2009-12-02 21:09:47 -06:00
Chris Jones
cecab83caa bug 532333: part 1: expose libevent signal events through chromium wrappers 2009-12-02 21:09:24 -06:00
Ben Turner
fb78a8f2ac Add WM_MOUSEACTIVATE to list of deferred messages 2009-12-02 18:51:29 -08:00
Ben Turner
0515afeb2e Add WM_CAPTURECHANGED to the list of delayed messages. 2009-12-01 15:09:33 -08:00
Ben Turner
ae9563aff7 Bug 531821 - Add chromium LICENSE file. 2009-12-01 14:18:27 -08:00
Benjamin Smedberg
750a8d5b0c Bug 528367 - generate ipdl_{lex,yacc}tab.py in the objdir, not the srcdir 2009-11-24 10:34:38 -05:00
Ben Turner
4c93556994 Fix PostDelayedTask in the message loop 2009-11-23 16:01:12 -05:00
Benjamin Smedberg
ef02ccf604 Do full shutdown, instead of _exit(0) shutdown in the plugin process when we're doing leak checking. 2009-11-20 13:49:15 -05:00
Chris Jones
9896b39cdf include some headers missing in newer gcc/libc builds. r=trivial 2009-11-19 20:08:39 -06:00
Benjamin Smedberg
123a474f6b Followup to bug 525090 - log new processes to a file based on the environment, instead of unconditionally to stdout, r=cjones 2009-11-19 14:52:11 -05:00
Chris Jones
902e3ff6a1 bug 529234: make sure to cleanup child processes 2009-11-19 13:03:30 -06:00