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

492 Коммитов

Автор SHA1 Сообщение Дата
Chris Jones b95a8efccc Bug 555276: Top-level protocols should handle shmem messages if any subprotocol uses it. r=bent 2010-04-26 20:11:43 -05:00
Chris Jones 403eae2c27 Bug 555275: Clean up shared memory segments when the top-level actor dies. r=bent 2010-04-26 20:11:42 -05:00
Chris Jones c2273182da Bug 555275: Implement a DeallocShmem() interface. r=bent 2010-04-26 20:11:40 -05:00
Chris Jones 2967980f28 Bug 544518: Send Messages directly through the Transport on the IO thread rather than through a no-added-value AsyncChannel indirection. r=bent 2010-04-22 18:53:30 -05:00
Oleg Romashin b6db5b93e9 Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
--HG--
extra : rebase_source : 2a018b5f9c74a713e493643e611b330e08e1afd8
2010-04-20 21:43:51 +03:00
Mike Hommey a3c2b24aa1 Bug 558789 - Allow to build against system libevent [r=benjamin, r=cjones]
--HG--
extra : rebase_source : cd964ba40277ebd89dda8392c8a842ca9ef01bf8
2010-04-20 09:06:55 +02:00
Chris Jones e81c79ae2f Bug 548437: Test SysV shmem. 2010-04-16 00:29:17 -05:00
Joe Drew ext:(%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E) 0bd95dade4 Bug 548437: Add a SysV shmem subtype of SharedMemory. r=dougt 2010-04-16 00:29:16 -05:00
Jonathan Kew bfd00b5249 bug 558489 - prevent cocoa object autorelease-leakage during ipc startup. r=josh 2010-04-15 09:31:10 +01:00
Chris Jones 5dfd6a235c Bug 557011: Ensure OOP crashreporter has been initialized on mac. r=bsmedberg 2010-04-12 15:47:47 -05:00
Jim Mathies d7b3220b47 Bug 558503 - [OOPP] Watching netflix video: Silverlight crashes the plugin helper. r=bsmedberg. 2010-04-12 15:25:57 -05:00
Ben Turner 71424d5bdf Bug 558190 - 'Plugin container process name needs to be more appropriate'. r=bsmedberg
--HG--
rename : ipc/app/mozilla-runtime.exe.manifest => ipc/app/plugin-container.exe.manifest
2010-04-09 15:40:14 -07:00
Ben Turner 3d8aea9d32 Backed out changeset 25879ce33e7a 2010-04-09 20:57:30 -07:00
Ben Turner d18239a679 Bug 558190 - 'Plugin container process name needs to be more appropriate'. r=bsmedberg
--HG--
rename : ipc/app/mozilla-runtime.exe.manifest => ipc/app/plugin-container.exe.manifest
2010-04-09 15:40:14 -07:00
Chris Jones 38dc22c7f5 Second followup to bug 542053; missed a spot. 2010-04-09 15:24:41 -05:00
Chris Jones 68b2c72783 Bustage followup to bug 542053. 2010-04-09 15:21:08 -05:00
Chris Jones 03f2b0ee31 Bug 542053: Set LD_LIBRARY_PATH=[GRE dir] for mozilla-runtime on linux. r=bsmedberg 2010-04-09 15:03:08 -05:00
Josh Aas 9994fdbfbf 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 01826d9bd4 Bug 556198: Build jemalloc into mozilla-runtime. r=bsmedberg 2010-04-01 15:51:49 -05:00
Chris Jones 0b3d2c0208 Stub out OOP crashreporter on OS X. b=555714 r=josh 2010-03-30 13:32:53 -04:00
Jim Mathies d31cfd01ff Bug 545338 - RPCChannel should use events rather than thread messages for NotifyWokerThread. r=bent. 2010-03-25 16:53:10 -05:00
Chris Jones 545fc84aac Followup to bug 544936: Open child process handles with more privileges. r=bsmedberg 2010-03-24 19:12:31 -05:00
Chris Jones cc1789ceb6 Bug 554262 - [OOPP] Silverlight context menu hangs the browser. r=bent, jmathies. 2010-03-24 16:49:54 -05:00
Jim Mathies 5ac0744b15 Bug 553606 - [OOPP] Limit spin loop to a call depth of one. r=bent. 2010-03-24 16:49:05 -05:00
Chris Jones b9728f5cea Bug 544936, part 4: Move some common code for dealing with minidumps and .extra files into nsExceptionHandler. r=ted 2010-03-24 16:22:01 -05:00
Ben Turner 8271154a90 Bug 521118 - '[OOPP] Need NPAPI threadsafety checks in plugin process'. r=cjones, a=dbaron for CLOSED TREE 2010-03-24 12:30:45 -07:00
Doug Turner 289fa0540c Bug 547881 - Made a mistake when fixing a nit. r=me 2010-03-24 09:20:36 -07:00
Chris Jones f6e896ba0c Bug 554466: Only EnqueuePending when there's been an rpc out-call. r=bent 2010-03-24 00:52:47 -05:00
Chris Jones 3ac6364837 Bug 544623 - IPDL: Shmem buffers should be shared across actor tree. r=bent 2010-03-22 22:02:16 -07:00
Joe Drew 155805058f Bug 544607 - Add Shmem::IsWriteable/Shmem::IsReadable r=cjones
--HG--
extra : rebase_source : 25a2ef756c682bc6a74797025e223fbbc3aaf4d3
2010-03-22 13:33:43 -07:00
Joe Drew 530fc5d2c4 Bug 547881 - need to serialize/deserialize gfxMatrix. r=cjones 2010-03-22 13:04:37 -07:00
Josh Matthews d4487458dd 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 7e3004fa65 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 297b367c19 Backed out changeset bda8efa53512 2010-03-18 21:01:10 -05:00
Chris Jones 6b2339095c Bug 551392: Remove hack made unnecessary by unified build tiers. r=ted 2010-03-18 17:52:38 -05:00
Chris Jones 4b4233facd 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 eae7be085a Bug 552014: Test 2010-03-18 17:52:34 -05:00
Chris Jones 2ec17c6ad8 Bug 552014: Don't run OnMaybeDequeueOne from a nested context. r=bent 2010-03-18 17:52:33 -05:00
Chris Jones 8e866ba4fb 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 2c7741fa1a Bug 533055: Part 2: Set Message names in IPDL-generated code. r=bent 2010-03-18 17:52:31 -05:00
Chris Jones c92f3bf7e0 Bug 533055: Part 1: Add a name field to IPC::Message. r=bent 2010-03-18 17:52:29 -05:00
Chris Jones 230c2a994e Bug 552294: *Channel::OnError must run atomically. r=bent 2010-03-18 17:52:28 -05:00
Josh Aas 8b91ef75b0 Update Mac OS X message pump code for child processes. b=552878 rs=cjones 2010-03-17 20:10:42 -04:00
Josh Aas 36aed1ebfa 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 260400726a 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 51582e89d2 b=550026 Cancel PluginCrashed when PluginModule is deleted. r=bsmedberg 2010-03-08 09:16:02 +13:00
Chris Jones 962d015d87 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 55b7305f9e Followup to bug 545342: atomically refcount the dequeue task. r=bent 2010-03-11 16:24:15 -06:00
Benjamin Smedberg 9aa6fd4913 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
Chris Jones 41ab2c5abe Merge backout 2010-03-11 05:07:51 -06:00
Chris Jones ec36ea088a Backing out bug 550026 due to orange 2010-03-11 05:07:42 -06:00
Chris Jones eb4b1d88db Bug 549888: Test 2010-03-11 01:35:32 -06:00
Chris Jones bfbfdfedc8 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 560720af2a Bug 546035: Test 2010-03-11 01:35:28 -06:00
Chris Jones 9178b38a9f 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 3cbb7db096 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 60dbdc95ce Bug 545342: Test 2010-03-11 01:35:21 -06:00
Josh Matthews d33f0ad565 Bug 545342: Cancel dequeue task on channel error. r=cjones 2010-02-15 20:47:00 +13:00
Jim Mathies ae654dfa10 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 5b4cb41272 Bug 550784 - [OOPP] Flash deadlocks during script evals that trigger focus related events. r=bent. 2010-03-10 19:15:55 -06:00
Benjamin Smedberg ba9e668372 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
Benjamin Smedberg a9da59df7f 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 94faebe11f Bug 545455: IPDL/C++ test.
--HG--
extra : rebase_source : 9fae2c3f3192633834166b863f7ab0c1ed2f0e40
2010-02-16 12:44:23 -06:00
Chris Jones 357da6d25d 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 69d15304c9 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 17e4329c85 Bug 548214: Extended IPDL/C++ test. 2010-02-24 15:59:24 -06:00
Chris Jones f7ab808b8f Bug 548214: Seqno's go up in the parent, down in the child. r=bsmedberg 2010-02-24 15:59:23 -06:00
Saint Wesonga 5d2c924b93 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 570cb5811c 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 079515fce8 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 07fe03755b 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 5291f401f2 Bug 544190 - QCore version needed to replace message_pump_glib.cc. r=dougt 2010-02-18 23:48:50 +02:00
Ben Turner 36a1e2b757 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 068cab70bf Bug 543942 - 'crash at [@ free | mozilla::ipc::windows::DeferredSettingChangeMessage::~DeferredSettingChangeMessage() ]' r=jimm. 2010-02-18 12:12:44 -08:00
Ben Turner 0717fbcf30 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 385d205a08 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 f19e49fe97 Backed out changeset 4d8d4fd97c4f - bug 543764, because of deadlocks. 2010-02-18 10:27:07 -05:00
Ben Turner 64367411af 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
Jim Mathies 8b81c8733b e10s bustage fix after bad merge. 2010-02-12 00:31:08 -06:00
Chris Jones 7e0bd1c978 Bug 545757: Don't post replies to the IO thread after a connection error. r=bent
--HG--
extra : transplant_source : %AB%07%AF%B8%C0L%CC%82%16%CDH%3Fg%87rH%60ekr
2010-02-11 17:33:53 -06:00
Chris Jones 6431ad2dc0 Bug 545053: IPDL/C++ test of hang detector.
--HG--
extra : transplant_source : %92%F8%81%3A%E0%99n%15kQ%BEB%EB%B6U%1Csuar
2010-02-11 14:32:17 -06:00
Ben Turner a1542736c3 Bug 545053: Implement IPC hang detection for windows. r=jimm
--HG--
extra : transplant_source : %3E%B1-b%1E%F5%5B%5B%DB%C4%97%19Y%82%3A%28%A7%8Ew%96
2010-02-11 12:19:21 -08:00
Jim Mathies 6d16384b41 Bug 538918 - Fix for bug 545338, don't drop into WaitForNotify() when spin loop unwinds. r=bent.
--HG--
extra : transplant_source : %CA%8B%E6%0B%3E%FC%AEK%B2PH%D5l%BEh%D4oj%E2Y
2010-02-11 14:03:24 -06:00
Jim Mathies d9ef9492f1 Bug 538918 - Move Init() above mutex unlock - attempted test hang fix.
--HG--
extra : transplant_source : W%0D%05%B8%D64%E7%16%3A%DFf%9B%F7%89%AA%27%C4%D3%7C%AA
2010-02-11 11:25:39 -06:00
Chris Jones a564f3aad2 Bug 545591: Temporary workaround.
--HG--
extra : transplant_source : /%9E5%1C%A2%B1%21%BD%9D%A5%DB%039/p%23%95%A2%7B%D3
2010-02-11 00:48:33 -06:00
Jim Mathies 7e56c9b1fc Bug 538918 - Don't delete gNeuteredWindows until the stack unwinds.
--HG--
extra : transplant_source : %9E%F8G%92P%1D%3D%1E%3B%BDYZ%E0%E8%C8%0ET%1C4p
2010-02-10 22:51:05 -06:00
Chris Jones 64a18262f7 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
--HG--
extra : transplant_source : %E5%C0%3E%24%FEXX%FC%9A%1C%F4%93Pc%05%0AH%91%A1%F7
2010-02-10 22:04:56 -06:00
Jim Mathies 713894c25d Bug 538918 - Don't test the stack depth on entering WaitForNotify(). r=cjones.
--HG--
extra : transplant_source : %5D%07%E1%C6Q%F4%E0%DE%BD%89%BDb%EE%8FSo%06l-%1B
2010-02-10 20:30:21 -06:00
Benjamin Smedberg 39aeab8388 Followup to bug 538918 - Don't leak gNeuteredWindows, r=jimm
--HG--
extra : transplant_source : %1D%9C%3Eg%A2%ACV%3DY%F3%92%C8b%BDxB%3A.e%A7
2010-02-10 17:18:19 -05:00
Chris Jones 9b71f6eb76 Bug 545338: Make the IPC hang detector tolerate spurious wake-ups. Possibly temporary. irc-r=jimm
--HG--
extra : transplant_source : E%DC%C1%E1%0Dv%E1%F4%1DN0%AD%95b%AA%EFXi%F9%1F
2010-02-10 15:41:44 -06:00
Jim Mathies 02e1abfaad Bug 538918 - follow up patch: IsMessagePending should use PeekMessage, not the stacks for detection.
--HG--
extra : transplant_source : %3D%E4_%CE7m%FE%8F%B0S%DC%9F%FAF%D7%40%5D%83%C1/
2010-02-09 22:47:44 -06:00
Ben Turner 52f8f2919a Bustage fix
--HG--
extra : transplant_source : %C9%C5%A7%A1%24%E55%A5%3DBj%F4%90%B8%A0%FD%8F%E6%B0%B9
2010-02-09 16:12:41 -08:00
Chris Jones feb0d735b0 Bug 540004, part 3: Add a ShouldContinue() interface to IPDL actors that allows them to decide how a hang should be treated. r=bent
--HG--
extra : transplant_source : m%5E%40%9FYJ%EFI%9F%E5%25s%8E%1A%AF%BEQ%01va
2010-02-09 18:02:55 -06:00
Chris Jones 3ea312dfdf Bug 540004, part 2: Detect hangs while awaiting synchronous IPC replies (on POSIX). r=bent
--HG--
extra : transplant_source : %B8U2%20%5C%1B%06%85%F4%23%DA%CCw%C7%CB%D1%F2%9D%16%1A
2010-02-09 18:02:54 -06:00
Chris Jones 1e5215d158 Bug 540004, part 1: Various and sundry trivial refactorings. r=bent
--HG--
extra : transplant_source : %D0%E7%9BX%E9%B8.%A1%D6%CC%C94%B6%01%0F9%B2%F0%CC%AC
2010-02-09 18:02:53 -06:00
Chris Jones f688c776b0 Fix linux bustage.
--HG--
extra : transplant_source : %FE%8B%BA%B1o%011%9A%CD5%2B%FC%CC%5B%A0%9EY%9F%C4%0F
2010-02-09 17:04:06 -06:00
Jim Mathies b6a87b5083 Bug 538918 - [OOPP] Modal system dialogs cause UI freeze w/windowless controls. r=bent, cjones.
--HG--
extra : transplant_source : %28B%08h%F29L%BE%BBEh%E8%92%22%2A%8E%A8%00F%83
2010-02-09 16:34:38 -06:00
Chris Jones ad8d50cbf1 Follow-up to bug 540886: address review comments I forgot to before pushing.
--HG--
extra : transplant_source : a%25%DF%90g%8A%F0%5C%F7%9B%BEtX%13p9%3Fq%E8%E2
2010-01-27 02:17:17 -06:00
Chris Jones 35245fa672 Bug 540886, part 3: IPDL/C++ test for BlockChild()/UnblockChild(). r=bnewman
--HG--
extra : transplant_source : h%0DM%F8%C5s%82%97%28%AEH%91%86%00%0E%99%A0%05T%1B
2010-01-27 00:41:33 -06:00
Chris Jones d12280389c 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
--HG--
extra : transplant_source : %2A%A7%D7%2C%7B%90%1B%9BZS%E5%3E%E1%A1M%F2%A7P%99E
2010-01-27 00:41:32 -06:00