Граф коммитов

735 Коммитов

Автор SHA1 Сообщение Дата
Josh Matthews 517fdc8f94 Bug 552117 - Print current test name in IPDL tests. r=cjones
--HG--
extra : rebase_source : 45b554a05e8a9e3ca627b10f633a955cec4f0f05
2010-03-13 13:23:50 +13:00
Chris Jones 1d734b93e8 Bug 552014 - Treat RPC replies received in an event loop nested inside the one from which the call was made as if they had arrived out of order. r=jimm. 2010-03-19 01:57:00 -05:00
Chris Jones b3ace4bc37 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones fed9cef751 Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones b3ef4ccf41 Bug 551392: Remove subprocess minidumps after they're grabbed to avoid spurious crash detection. r=ted 2010-03-18 17:52:36 -05:00
Chris Jones 0b70b611cf Bug 552014: Test 2010-03-18 17:52:34 -05:00
Chris Jones c43514fb32 Bug 552014: Don't run OnMaybeDequeueOne from a nested context. r=bent 2010-03-18 17:52:33 -05:00
Chris Jones e15df582cd Bug 533055: Part 3: Track |Message|s being processed on the C++ stack and offer a DumpRPCStack() method to print them. r=bent 2010-03-18 17:52:32 -05:00
Chris Jones 83622b0ddc Bug 533055: Part 2: Set Message names in IPDL-generated code. r=bent 2010-03-18 17:52:31 -05:00
Chris Jones 06ebb04eb0 Bug 533055: Part 1: Add a name field to IPC::Message. r=bent 2010-03-18 17:52:29 -05:00
Chris Jones dd6a0c56f1 Bug 552294: *Channel::OnError must run atomically. r=bent 2010-03-18 17:52:28 -05:00
Josh Aas 83e606ce40 Update Mac OS X message pump code for child processes. b=552878 rs=cjones 2010-03-17 20:10:42 -04:00
Josh Aas 7415ddde42 Allow Gecko to build and run on Mac OS X with MOZ_IPC defined. b=552862 r=cjones 2010-03-17 14:38:28 -04:00
Doug Turner 3c6b433eb6 Bug 542053 - OOPP do not work in XR builds. Use NS_GRE_DIR when determining exe path of child process. r=bsmedberg
--HG--
extra : rebase_source : abc95f4e1b496b552caa1341ef4b72534c43d3ee
2010-03-15 10:08:27 -07:00
Chris Jones 27d68eeed4 b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg 2010-03-08 09:16:02 +13:00
Chris Jones d9e3230839 Bug 550026: Don't deliver NotifyError() when RPCChannel code is on the stack. r=bent 2010-03-11 23:21:58 -06:00
Chris Jones 352b298673 Followup to bug 545342: atomically refcount the dequeue task. r=bent 2010-03-11 16:24:15 -06:00
Benjamin Smedberg 66aa2629e1 Bug 545342 - Remove the RPCChannel assertions about mismatched RPC stacks because mismatched stacks are normal when asynchronous messages are pending which cause secondary RPC messages, r=cjones 2010-03-11 17:17:35 -08:00
Doug Turner fd0bcfee98 Merge with m-c 2010-03-18 21:53:17 -07:00
Jason Duell 80d2609d87 Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again. 2010-03-18 14:59:34 -07:00
Doug Turner f4215966ff Merge with mc 2010-03-17 10:37:32 -07:00
Doug Turner 7d99e9efdd Merge 2010-03-12 15:20:36 -08:00
Doug Turner ddf80a42b7 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Jim Mathies 8c27ee3b6d Bug 551242 - [OOPP] Hang (caught by hang detector) with flash and alt key. r=bent. 2010-03-10 19:16:44 -06:00
Jim Mathies adb1f31b28 Bug 550784 - [OOPP] Flash deadlocks during script evals that trigger focus related events. r=bent. 2010-03-10 19:15:55 -06:00
Chris Jones c043cf2f4d Fix some merge bustage. 2010-03-08 14:16:41 -06:00
Doug Turner 02a3a11d33 Merge with mc 2010-03-08 10:09:55 -08:00
Chris Jones 82e46b0742 b=550026 Don't call PluginCrashed while plugin code is still on the stack r=bsmedberg 2010-03-08 09:16:02 +13:00
Doug Turner 122766f8d7 Merge 2010-03-01 15:36:51 -08:00
Chris Jones 071f61d5f9 Fix merge problems 2010-02-23 00:08:29 -06:00
Chris Jones b4affb74dd Merge from mozilla-central 2010-02-22 21:31:18 -06:00
Benjamin Smedberg 75322f964e Bug 546492 - Provide a resource description for mozilla-runtime.exe, r=ted with altered text suggested by dolske
--HG--
extra : rebase_source : fa926b11f4e7bb2ec45a9f404afe6f22538c19ca
2010-02-24 11:41:34 -05:00
Chris Jones 89cf500fde Bug 545455: IPDL/C++ test. 2010-02-16 12:44:23 -06:00
Chris Jones 4684d13633 Bug 545455, part 2: Expose override-able hooks for top-level IPDL actors to be notified on stack entrance/exit. r=bent 2010-02-16 12:44:22 -06:00
Chris Jones ae01fe7d41 Bug 545455, part 1: Track when RPCChannel code is first pushed on the C++ stack and last popped. r=bent 2010-02-16 12:44:21 -06:00
Saint Wesonga 7674a5ab7c Bug 523417 - "warning: invoking macro NS_ENSURE_SUCCESS argument 2: empty macro arguments are undefined in ISO C90 and ISO C++98" in DOM worker code. r=jst 2010-02-22 18:41:21 +01:00
Ben Turner 9f15762144 Bug 547247 - '[OOPP] Crash [@ RtlEnterCriticalSection ] when ending mozilla-runtime on a page that does not contain a plugin'. Bustage fix 2010-02-19 12:45:47 -08:00
Ben Turner 230c72032e Bug 547247 - '[OOPP] Crash [@ RtlEnterCriticalSection ] when ending mozilla-runtime on a page that does not contain a plugin'. r=bsmedberg. 2010-02-19 12:39:38 -08:00
Ben Turner c71afaa23b Bug 543764 - '[OOPP] Crash [@ PR_Unlock] when ending mozilla-runtime at lastfm.com/listen'. r=bsmedberg+cjones. 2010-02-18 14:21:15 -08:00
Oleg Romashin 990bb64f58 Bug 544190 - QCore version needed to replace message_pump_glib.cc. r=dougt 2010-02-18 23:48:50 +02:00
Ben Turner cc86971905 Bug 546797 - '[OOPP] Assertion in RPCChannel's EnqueuePendingMessages: ABORT: expected mDeferred to have 0 or 1 items' r=jimm 2010-02-18 12:12:54 -08:00
Ben Turner 142d0b0f80 Bug 543942 - 'crash at [@ free | mozilla::ipc::windows::DeferredSettingChangeMessage::~DeferredSettingChangeMessage() ]' r=jimm. 2010-02-18 12:12:44 -08:00
Ben Turner 48038b40eb Bug 545760 - '[OOPP] Fix a few bad DefWindowProc messages that slipped through'. WM_SETICON. r=jimm. 2010-02-18 12:11:31 -08:00
Ben Turner ece57f08b7 Bug 545760 - '[OOPP] Fix a few bad DefWindowProc messages that slipped through'. WM_STYLECHANGED. r=jimm. 2010-02-18 12:11:31 -08:00
Benjamin Smedberg fb63479e2a Backed out changeset 4d8d4fd97c4f - bug 543764, because of deadlocks. 2010-02-18 10:27:07 -05:00
Ben Turner 67025c757e Bug 543764 - Crash at PR_Unlock when mozilla-runtime exits/crashes. Ensure that NotifyMaybeChannelError waits until OnChannelError is completely finished running, r=cjones 2010-02-18 09:24:03 -05:00
Benjamin Smedberg d2bfdbb2ca Bug 528250 - Unify all the intermediate tiers (xpcom/necko/external/gecko/toolkit) into one tier_platform, r=ted sr=vlad 2009-11-12 14:37:34 -05:00
Chris Jones b4f85e6dbc Bug 545455: IPDL/C++ test.
--HG--
extra : rebase_source : 9fae2c3f3192633834166b863f7ab0c1ed2f0e40
2010-02-16 12:44:23 -06:00
Chris Jones 5225241793 Bug 545455, part 2: Expose override-able hooks for top-level IPDL actors to be notified on stack entrance/exit. r=bent
--HG--
extra : rebase_source : e50ede6dbffc9d864ba62eda6d2a622c8b99dece
2010-02-16 12:44:22 -06:00
Chris Jones 40a5e9f8b9 Bug 545455, part 1: Track when RPCChannel code is first pushed on the C++ stack and last popped. r=bent
--HG--
extra : rebase_source : 1bf50aac0f5da1c4322347b42b24e72215543915
2010-02-16 12:44:21 -06:00
Chris Jones a523566173 Bug 548214: Extended IPDL/C++ test. 2010-02-24 15:59:24 -06:00
Chris Jones 90cd893581 Bug 548214: Seqno's go up in the parent, down in the child. r=bsmedberg 2010-02-24 15:59:23 -06:00
Chris Jones 283e765a0d Merge backout 2010-03-11 05:07:51 -06:00
Chris Jones 25cffd7381 Backing out bug 550026 due to orange 2010-03-11 05:07:42 -06:00
Chris Jones 7132d5b029 Bug 549888: Test 2010-03-11 01:35:32 -06:00
Chris Jones c9b2213be5 Bug 549888: Part 1: Let the channel listener decide how to mediate RPC races, defaulting to "child wins". r=bent 2010-03-11 01:35:30 -06:00
Chris Jones ac65c720e6 Bug 546035: Test 2010-03-11 01:35:28 -06:00
Chris Jones 640d54d3d3 Bug 546035: Check if we're still connected before dispatching a received message. r=bsmedberg 2010-03-11 01:35:26 -06:00
Chris Jones 60005eaec9 b=550026 Don't call PluginCrashed while plugin code is still on the stack r=bsmedberg 2010-03-08 09:16:02 +13:00
Chris Jones 8d3f396415 Bug 545342: Test 2010-03-11 01:35:21 -06:00
Josh Matthews 392ec3b467 Bug 545342: Cancel dequeue task on channel error. r=cjones 2010-02-15 20:47:00 +13:00
Chris Jones 7ec95f927b Followup to bug 559898: fix cycle checker to allow self-loop special case. 2010-04-27 02:12:39 -05:00
Olli Pettay 8e654f06b0 Bug 555573 - [e10s] IPDL generates code which may not compile on Windows, r=cjones 2010-03-29 23:29:07 +03:00
Chris Jones 41a2ea3d54 No bug: Test RPC round-trip times and warn before sleep()ing. no r=, test only 2010-02-04 21:40:42 -06:00
Thomas Lee 0084f05433 Bug 541126: Error out if there are manager/managee cycles in protocol graphs. r=cjones 2010-02-01 12:44:54 -06:00
Dan Witte d020c86c3a Bug 562198: Namespace NSS & NSPR functions in ipc/chromium code, to avoid stomping on their Mozilla counterparts. r=bsmedberg 2010-06-11 11:03:07 -07:00
Josh Aas 62b8e418d4 Bug 555234: Enable OOPP for x86 OS X and don't export mochitests conditional on MOZ_IPC. r=bsmedberg,ted 2010-04-02 20:19:31 -05:00
Chris Jones 63bf8467cd Bug 556198: Build jemalloc into mozilla-runtime. r=bsmedberg 2010-04-01 15:51:49 -05:00
Chris Jones 1205a65069 Stub out OOP crashreporter on OS X. b=555714 r=josh 2010-03-30 13:32:53 -04:00
Chris Jones a43fbff31a Bug 545757: Don't post replies to the IO thread after a connection error. r=bent 2010-02-11 17:33:53 -06:00
Chris Jones f441f333a1 Bug 545053: IPDL/C++ test of hang detector. 2010-02-11 14:32:17 -06:00
Ben Turner c0974d59b2 Bug 545053: Implement IPC hang detection for windows. r=jimm 2010-02-11 12:19:21 -08:00
Jim Mathies e30a161986 Bug 538918 - Fix for bug 545338, don't drop into WaitForNotify() when spin loop unwinds. r=bent. 2010-02-11 14:03:24 -06:00
Jim Mathies e7a3be493d Bug 538918 - Move Init() above mutex unlock - attempted test hang fix. 2010-02-11 11:25:39 -06:00
Chris Jones 660de085ef Bug 545591: Temporary workaround. 2010-02-11 00:48:33 -06:00
Jim Mathies 5a91863f49 Bug 538918 - Don't delete gNeuteredWindows until the stack unwinds. 2010-02-10 22:51:05 -06:00
Chris Jones 2c958bbc72 Bug 544882, bug 545312: Only tell glib that work is pending if there has been a pollin or timer expiration. Merged from chromium latest, r=chromium 2010-02-10 22:04:56 -06:00
Jim Mathies e0a83f8901 Bug 538918 - Don't test the stack depth on entering WaitForNotify(). r=cjones. 2010-02-10 20:30:21 -06:00
Benjamin Smedberg f057709d70 Followup to bug 538918 - Don't leak gNeuteredWindows, r=jimm 2010-02-10 17:18:19 -05:00
Chris Jones a235c5a69b Bug 545338: Make the IPC hang detector tolerate spurious wake-ups. Possibly temporary. irc-r=jimm 2010-02-10 15:41:44 -06:00
Jim Mathies dc5264506a Bug 538918 - follow up patch: IsMessagePending should use PeekMessage, not the stacks for detection. 2010-02-09 22:47:44 -06:00
Ben Turner b646ef9187 Bustage fix 2010-02-09 16:12:41 -08:00
Chris Jones 512e6a3823 Bug 540004, part 3: Add a ShouldContinue() interface to IPDL actors that allows them to decide how a hang should be treated. r=bent 2010-02-09 18:02:55 -06:00
Chris Jones 2527075771 Bug 540004, part 2: Detect hangs while awaiting synchronous IPC replies (on POSIX). r=bent 2010-02-09 18:02:54 -06:00
Chris Jones 92c35205ad Bug 540004, part 1: Various and sundry trivial refactorings. r=bent 2010-02-09 18:02:53 -06:00
Chris Jones fb3d1e104d Fix linux bustage. 2010-02-09 17:04:06 -06:00
Jim Mathies 6103dd696a Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones. 2010-02-09 16:34:38 -06:00
Benjamin Smedberg 53eb4dfd36 Bug 543788 - Infinite loop in CallUpdateWindow/WM_PAINT messages when switching tabs with a windowed plugin (Acrobat and sometimes Flash), r=jimm 2010-02-09 11:57:03 -05:00
Benjamin Smedberg 8ee5aea6fc Merge mozilla-central into electrolysis 2010-02-09 11:39:28 -05:00
Chris Jones 882d5ca185 No bug: Test RPC round-trip times and warn before sleep()ing. no r=, test only 2010-02-04 21:40:42 -06:00
Ben Turner 1b8509ce1b Bug 542821 - 'Process startup event gets dropped on the floor by deferred messaging'. r=jimm. 2010-02-03 13:09:55 -08:00
Benjamin Smedberg 8a8d9b2174 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
rename : ipc/glue/GeckoThread.cpp => ipc/glue/MozillaChildThread.cpp
rename : ipc/glue/GeckoThread.h => ipc/glue/MozillaChildThread.h
2010-01-31 22:19:21 -05:00
Benjamin Smedberg b10320361a Electrolysis bustage, fix up testshell from bug 543696, Remove unused nsIScriptSecurityManager::CheckConnect 2010-02-03 13:45:54 -05:00
Benjamin Smedberg d6b2c74d12 Merge mozilla-central into electrolysis. 2010-02-01 15:30:27 -05:00
Thomas Lee 4fcdfcedbc Error out if there are manager/managee cycles in protocol graphs. r=cjones 2010-02-01 12:44:54 -06:00
Ben Turner 21eeaccbb4 Bug 542617 - 'Deferred message loop mishandles WM_NCCALCSIZE'. r=jimm. 2010-01-28 10:03:37 -08:00
Benjamin Smedberg 2ccdf8ae92 Merge mozilla-central into electrolysis. 2010-01-27 09:56:07 -05:00
Chris Jones 099fbe6aac Follow-up to bug 540886: address review comments I forgot to before pushing. 2010-01-27 02:17:17 -06:00
Chris Jones 885ffdf2d5 Bug 540886, part 3: IPDL/C++ test for BlockChild()/UnblockChild(). r=bnewman 2010-01-27 00:41:33 -06:00
Chris Jones 8f6cb86037 Bug 540886, part 2: Offer a BlockChild() interface to RPC protocols that allows parents to prevent children from sending messages back of their own volition until the parent calls UnblockChild(). r=bent 2010-01-27 00:41:32 -06:00
Chris Jones 5ddf1ec50c Bug 540886, part 1: Refactor "special message" dispatch in AsyncChannel. r=bent 2010-01-27 00:41:31 -06:00
Chris Jones b5354060b3 Bug 540111, part 5: IPDL/C++ test of multi-managers. r=bnewman 2010-01-26 22:56:14 -06:00
Chris Jones e9b6d7923f Bug 540111, part 4: IPDL-only tests of multi-managers. 2010-01-26 22:56:13 -06:00
Chris Jones ff09f10f7e Bug 540111, part 3: Allow IPDL actors to be managed by one of a set of possible managers. r=bent 2010-01-26 22:56:12 -06:00
Chris Jones a49ff578cc Bug 540111, part 2: Subsume direct calls to manager->Dealloc*() into RemoveManagee(). r=bent 2010-01-26 22:56:11 -06:00
Chris Jones e342e7332c Bug 540111, part 1: Add a new IProtocolManager::RemoveManagee interface to break reliance on the |Manager()| interface. r=bent 2010-01-26 22:56:09 -06:00
Chris Jones 5a9fac09c2 Final merge of debug-spew backout 2010-01-26 20:09:07 -06:00
Chris Jones 685c8787e3 Backout 8d0ad9632fd2 2010-01-26 20:09:04 -06:00
Chris Jones 07b0086457 Intermediate merge of debug-spew backout 2010-01-26 20:08:59 -06:00
Chris Jones c9b6286e1c Backout f861b6e0a364 2010-01-26 20:08:56 -06:00
Chris Jones fa75dde744 Intermediate merge of debug-spew backout 2010-01-26 20:08:52 -06:00
Chris Jones 25c2e48fca Backout b0fee4f9b8c7 2010-01-26 20:08:48 -06:00
Chris Jones 788b7914ff Intermediate merge of debug-spew backout 2010-01-26 20:08:44 -06:00
Chris Jones 6c1a49a2be Backout 76bf173816e8 2010-01-26 20:08:41 -06:00
Chris Jones d8f28e94dd Intermediate merge of debug-spew backout 2010-01-26 20:08:38 -06:00
Chris Jones 6df227154f Backout d87a958aab73 2010-01-26 20:08:35 -06:00
Chris Jones 48e68a58d7 Intermediate merge of debug-spew backout 2010-01-26 20:08:31 -06:00
Chris Jones d92ce8059f Backout 581822324d75 2010-01-26 20:08:28 -06:00
Chris Jones cbb3883968 Intermediate merge of debug-spew backout 2010-01-26 20:08:25 -06:00
Chris Jones 8532c1fcc5 Backout 23ee84dbd7b5 2010-01-26 20:08:22 -06:00
Chris Jones 2b05c4748e IPC socketpair()s should be CLOEXEC (dup2() unsets the flag for the new fd in the child process). irc-r=bsmedberg 2010-01-26 18:13:43 -06:00
Chris Jones f21201bf38 Yet more temporary debug spew for diagnosing mochitest hang. 2010-01-26 14:57:16 -06:00
Chris Jones 015264a56a Temporary mochitest debugging: eliminate race condition between parent exit and child minidump request. 2010-01-26 09:40:42 -08:00
Benjamin Smedberg 1704008465 Bug 535564 - automation.py: WindowsError: [Error 13] The process cannot access the file because it is being used by another process. Don't keep the PID log open all the time, but only open it when it is needed. r?griffin
--HG--
extra : rebase_source : 1072e20feb1db8a98f99de5617e416ca23efb511
2010-01-26 09:53:32 -05:00
Chris Jones 4074b529ad More temporary mochitest hang diagnostics: kill the plugin process with SIGSEGV if it doesn't shut down within 30 seconds. 2010-01-25 18:49:02 -06:00
Chris Jones a983993393 More temporary debug spew to sort linux mochitest hang. 2010-01-25 14:10:12 -06:00
Benjamin Smedberg 2567923b2d Printf-debugging to help figure out bug 535564 2010-01-25 14:33:50 -05:00
Chris Jones b1db628178 More debug spew for sorting mochitest-plain hang. 2010-01-22 18:03:38 -06:00
Chris Jones bf1fdf46e1 Temporary spew part 2: convert fprintf(stderr into printf( so that child output shows up in the log. 2010-01-22 15:31:56 -06:00
Chris Jones f6a25b2c48 Temporary debug spew for diagnosing Linux mochitest hang. 2010-01-22 12:53:18 -06:00
Benjamin Smedberg 64f0218c20 Bug 540967 - "missing output line for total leaks" because the parent process isn't waiting for the child process to clean up/write leak logs, r=cjones 2010-01-22 10:21:33 -05:00
Benjamin Smedberg 3495fc6611 Bug 540868 part 2: keep all NPObjects (not just those with actors) in mObjectMap, and invalidate/deallocate them when we destroy the associated instance, r=bent 2010-01-22 10:06:13 -05:00
Chris Jones b4495455ca Bug 521929, part 3: IPDL/C++ test. 2010-01-21 20:04:11 -06:00
Chris Jones 4697d43abc Bug 521929, part 2: Save racy RPC replies onto a special stack until they're the reply to the right out-call. r=bent 2010-01-21 20:04:10 -06:00
Chris Jones ff50562ff0 Bug 521929, part 1: Add a "seqno" field to synchronous messages. r=bent 2010-01-21 20:04:09 -06:00
Chris Jones 564d52370b Fix Windows build busted by 2e3e142612b1. 2010-01-20 22:58:47 -06:00
Chris Jones 4c3da32b76 Bug 538239: Guard against async messages unblocking sync message waits. r=bent 2010-01-20 21:50:36 -06:00
Chris Jones 15782113a9 Test for bug 538239. 2010-01-20 21:50:07 -06:00
Oleg Romashin 559c0b1090 Bug 534644 - e10s: implement Qt ipc/chromium backend, part 2. r=benjamin. 2010-01-29 08:50:44 +02:00
Chris Jones 70af7dbf05 bug 539552 - Add a GetMinidump() method to top-level, parent-side IPDL classes. r=bent 2010-01-13 20:17:00 -05:00
Chris Jones 172163cfe2 Followup to bug 539856: Save actors' IDs in all message handlers to avoid use-after-free when the actor is deleted above the handler in the stack. IRC r=bent 2010-01-15 15:15:52 -06:00
Chris Jones 1f163ff151 Test for followup to bug 539856. 2010-01-15 15:15:51 -06:00
Ben Turner 1be3c6c424 Bug 539061 - 'OOPP: ASSERTION: Received "nonqueued" message 31, 10'. r=jimm. 2010-01-15 12:35:53 -08:00
Chris Jones 78350389ee Bug 539856: Avoid use-after-free of |mId| when constructing replies to destructor messages by saving |mId| on the stack. no r=, minor 2010-01-14 23:25:57 -06:00
Chris Jones c83054db68 Test for bug 539856. 2010-01-14 23:25:56 -06:00
Benjamin Smedberg b1be9e88cf Merge mozilla-central into electrolysis 2010-01-14 09:01:59 -05:00
Chris Jones 7827d7b519 Bug 539343: Call DeallocSubtree() on subprotocol actors after being __delete__-ed. r=bent 2010-01-13 21:08:36 -06:00
Chris Jones 98962c9484 Test for bug 539343. 2010-01-13 21:08:35 -06:00
Chris Jones a6f7796c11 Bug 539295: Use lenient child reaping in NS_BUILD_REFCNT_LOGGING builds. r=bsmedberg 2010-01-13 14:57:52 -06:00
Chris Jones 3848436880 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 6a942f9824 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 c3f4f838fa Bustage fix: work around XRE hackery. 2010-01-12 17:42:58 -06:00
Chris Jones 09869bd409 Bug 516759: Use OOP crash reporting in Gecko. r=luser 2010-01-12 15:14:38 -06:00
Chris Jones 34616c2ef6 Small edit to comment. No r=, just want another set of talos runs. 2010-01-12 02:25:18 -06:00
Chris Jones 2112682d90 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 807babad31 Test for bug 538586. 2010-01-12 00:14:31 -06:00
Chris Jones c7e9147ef6 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 11ed886448 Bug 538990 - Add a resource manifest to mozilla-runtime.exe. r=ted. 2010-01-13 19:44:34 -06:00
Benjamin Smedberg 6f663c59a0 Merge mozilla-central to electrolysis 2009-12-21 10:22:07 -05:00
Makoto Kato e4dcea27bb 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 5bc3ddfb6f bug 535867: fix threadsafety problem causing windows tinderbox error. r=trivial 2009-12-18 18:09:56 -06:00
Benjamin Smedberg 447ac2b560 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 a7490ef84a 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 f5ff732569 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 61a1110dac fix syntax error. r=trivial 2009-12-15 16:15:39 -06:00
Chris Jones 3ab5913e7d bug 533507: improve IPC "race condition" error message. frontend only, r=me 2009-12-09 20:01:46 -06:00
Chris Jones 4789db9117 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 4c6f62b0e8 add missing makefile dep. r=trivial 2009-12-09 14:53:52 -06:00
Chris Jones efeb847d3c 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 8947a6d799 bug 533034: fix race condition that led to use-after-free. thanks valgrind! 2009-12-07 00:04:00 -06:00
Chris Jones 00b8eeb384 bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg 2009-12-07 00:03:49 -06:00
Chris Jones eae0a4d1cb fix some leaks found by valgrind. r=trivial 2009-12-04 18:15:44 -06:00
Chris Jones fc2adfc593 bug 521949: make valgrind stop complaining about a false-positive uninitialized memory read 2009-12-04 16:45:23 -06:00
Chris Jones af05884ad7 Fix MSVC warning 2009-12-04 16:27:59 -06:00
Chris Jones 1c25f716be 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 e17f4a3fa8 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 886a4835ae 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
--HG--
extra : rebase_source : dbe9a100735b1e0d0a8b07f4421e1ccb6055a78a
2009-12-03 15:30:05 -05:00
Chris Jones 588f9c3710 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 9180a48f88 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 dfa19ba299 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 adf54bbb48 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 2bad53b3cd 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 f8e4f3e6a0 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 dacad4ef6f bug 523175: preliminary front-end-only support for shmem. r=bent 2009-12-03 00:35:15 -06:00
Chris Jones fd9beb4c8f 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 b27946bfce bug 532333: part 1: expose libevent signal events through chromium wrappers 2009-12-02 21:09:24 -06:00
Ben Turner b63465ed03 Add WM_MOUSEACTIVATE to list of deferred messages 2009-12-02 18:51:29 -08:00
Ben Turner c16a5303f4 Add WM_CAPTURECHANGED to the list of delayed messages. 2009-12-01 15:09:33 -08:00
Ben Turner a15731e7c4 Bug 531821 - Add chromium LICENSE file. 2009-12-01 14:18:27 -08:00
Benjamin Smedberg fb68e68eef Bug 528367 - generate ipdl_{lex,yacc}tab.py in the objdir, not the srcdir 2009-11-24 10:34:38 -05:00
Ben Turner 171c2fd7f1 Fix PostDelayedTask in the message loop 2009-11-23 16:01:12 -05:00
Benjamin Smedberg 63a8ed4e8c 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 613caf15b6 include some headers missing in newer gcc/libc builds. r=trivial 2009-11-19 20:08:39 -06:00
Benjamin Smedberg fe8a111429 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 33303b63b6 bug 529234: make sure to cleanup child processes 2009-11-19 13:03:30 -06:00
Ben Turner b5d855e192 Bug 526361 - 'Defer nonqueued messages received during synchronous IPC calls'. r=jimm+rs. 2009-11-18 15:18:08 -08:00
Josh Matthews 43b575fc59 Bug 517963 - New-tab opening should not launch the content process synchronously r=cjones 2009-11-18 16:43:53 -05:00
Ben Turner 78b9279493 Bug 528144 - 'Missing IPC messages cause hang during xpcshell test' 2009-11-17 15:34:48 -08:00
Chris Jones 81aee18adc add nsresult to IPDL builtins 2009-11-16 14:52:47 -06:00
Ben Turner 0f71f9d8ab Bug 528144 - 'Missing IPC messages cause hang during xpcshell test' 2009-11-13 15:35:33 -08:00
Ben Turner f5e0292853 Fix bustage 2009-11-12 14:46:29 -08:00
Chris Jones c586829aab no need to include in C++ protocol-common headers |include protocol|'d from IPDL. this is an accident of history 2009-11-12 16:20:20 -06:00
Ben Turner ea90e1d517 Bug 525792 - 'Fix leaks running mochitests'. 2009-11-12 14:16:54 -08:00
Chris Jones ca56f4c662 fix misplaced forward declarations of protocols 2009-11-11 15:07:58 -06:00
Chris Jones a6eb9f951d bug 527871: fix shutdown assertion and leaking TestShellParent. still leaking ContentProcessParent's GeckoChildProcess, but needs discussion before fixing 2009-11-11 02:34:08 -06:00
Chris Jones dc4ccf2a1a 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
Chris Jones 11b99f8158 print actor names instead of protocol, regression 2009-11-10 18:02:44 -06:00
Chris Jones 5c78b2aacc the protocol-tree-walk to determine friends was broken 2009-11-10 16:50:59 -06:00
Phineas T. Farnsworth 3ecf49ffd9 bug 526626: band-aids for shutdown assertions 2009-11-09 16:56:55 -06:00
Benjamin Smedberg 48afceff5b 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 8cf4b74f82 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 7abc5ef481 build fix for gcc <= 4.2 2009-11-06 22:57:13 -06:00
Ben Turner 6b709d5c83 Bustage fix 2009-11-06 16:22:54 -08:00
Chris Jones 1d09b42dfa fix linux build 2009-11-06 17:51:04 -06:00
Chris Jones cdaad28691 fix build bustage and test SEGFAULTs 2009-11-06 17:07:52 -06:00
Ben Turner 371897fda8 Bug 522414 - 'RPC and Sync channels will deadlock easily on Windows'. r=jimm+rs. 2009-11-06 14:33:12 -08:00
Chris Jones ff3cdb9dd0 bug 526990: add support for serializing |float|s. no r=, trivial 2009-11-06 14:24:35 -06:00
Benjamin Smedberg e5123e76b3 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 b7a7a6d21d 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 0555b3b979 bug 523894: wstrings are bad news in OPT builds due to chromium/Mozilla -fshort-wchar mismatch 2009-11-05 18:24:27 -06:00
Chris Jones 351a5a7e27 bug 525677: shuffle some headers to appease gcc 4.2. IRC r=fred23,bsmedberg 2009-11-04 23:11:33 -06:00
Benjamin Smedberg 3d91b3ad6a 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
Chris Jones ad5f656675 bug 526397: fix up command line init. no r=, minor 2009-11-03 23:12:18 -06:00
Chris Jones dfe557b425 bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r= 2009-11-03 15:37:07 -06:00
Jonathan Griffin 33404e88ca Bug 525090. Log the PID's of launched processes. r=cjones
--HG--
extra : rebase_source : 69365c5d2f3a96b21efdeea876389027fca6feb5
2009-11-02 14:41:46 -08:00
Chris Jones 98aac01cde don't allow TestLatency to run when MOZ_IPC_MESSAGE_LOG is set 2009-10-30 16:04:06 -05:00
Chris Jones 5f115af3bd attempt to fix build 2009-10-29 12:50:28 -05:00
Chris Jones 05a805ccc2 bug 525150: bring back MOZ_IPC_MESSAGE_LOG. no r=, logging code only 2009-10-29 10:46:42 -05:00
Chris Jones 9843571a6c bug 525169: remove superfluous test-harness. no r=, removing testing code only 2009-10-29 00:56:24 -05:00
Benjamin Smedberg dd182d8a50 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg ee63070241 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Chris Jones 89f79268f0 build fix 2009-10-27 22:31:04 -05:00
Chris Jones 24ec1aa919 bug 523761: give top-level IPDL actors handles to each others' processes. r=bent 2009-10-27 16:52:37 -05:00
Chris Jones 637d1e450b bug 524767: add better error logging to *Channel. no r?, logging only 2009-10-27 16:32:55 -05:00
Ben Turner 97a09ee2c7 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 27e91c4d03 fix bug where EndRead() is called on an empty (unread) message 2009-10-21 14:48:49 -05:00
Chris Jones f72539f841 bug 523272: allow protocols to reference great*grandchild actors 2009-10-19 21:12:25 -05:00
Chris Jones 4a5d5780c1 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 5207440a2e bug 523143: switch protocols using nsTArray to native IPDL arrays 2009-10-19 14:10:52 -05:00
Chris Jones cf6e6c5c18 bug 521324: call the multi-threaded GLib initialization function. r=karlt 2009-10-19 11:28:42 -05:00
Chris Jones b6aff83bd0 pre-emptive windows build fix. no hablas STDint 2009-10-16 19:33:19 -05:00
Chris Jones 36a356411a bug 506171: rewrite lower.py and add native IPDL arrays. 2009-10-16 18:31:53 -05:00
Chris Jones c0129fa14f temporarily un-apply some lower.py fixes that have been subsumed by bug 506171 2009-10-16 18:27:43 -05:00
Chris Jones ca1a620edf fix bugs that were preventing IPDL C++ unit tests from running on win32 2009-10-13 23:08:24 -05:00
Chris Jones 1362779adb add basic IPC latency tests 2009-10-13 17:36:28 -05:00
Chris Jones 0bdcfebbdd bug 521845: expand protocol space by 4x (temporarily) 2009-10-12 14:04:40 -05:00
Chris Jones 3178fb7f58 fix bugs in RPC race resolution 2009-10-09 01:21:39 -05:00
Chris Jones 401dbb86c1 hack around lack of C99 format specifiers on Windows 2009-10-08 18:07:24 -05:00
Chris Jones 69f1d9472a followup to RPC race resolution --- convert RPC_DEBUGABORT into RPC_ASSERT, and pre-emptively fix potential spurious race detector alarms 2009-10-08 17:41:18 -05:00
Chris Jones a1bf0da8f0 add racy RPC resolution. also add better debugging info and fix two shared-memory-race bugs. 2009-10-08 16:44:43 -05:00