Oleg Romashin
785c6952f6
Bug 556487 - Plugin Child/Parent async API. r=roc,jones.chris.g a=blocking2.0
2010-09-15 09:02:44 -07:00
Chris Jones
76dde2a6bc
Merge m-c --> cedar
...
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
Chris Jones
d3a9ff236c
Bug 540097: Add a ProcessingError(what) notification interface for top-level actors. r=bent
2010-08-20 18:24:40 -05:00
Ted Mielczarek
f4b8a00e3c
bug 587747 - Implement writing of minidumps from hang detection on OS X. r=cjones a=blocking
...
--HG--
extra : rebase_source : fef081b5b0fae828ecc0c2678d83787778dfc70d
2010-08-27 09:32:45 -04:00
Josh Aas
9b2ad55f9a
Bug 590857: Fix problematic usage of 'size_t' in IPC code, 'size_t' size depends on architecture and sending it via IPC directly can break cross-architecture IPC. Part of this patch was written by Ben Turner. r=cjones a=blocking-b6
2010-08-31 13:51:51 -04:00
Josh Aas
252c8e9c10
Backed out changeset 52388a9a6337, bug 592951. a=me
2010-09-08 18:19:51 -04:00
Josh Aas
27016c473f
Bug 592951: Use 'posix_spawnp' to launch child processes on Mac OS X. r=ted a=blocking-b6+
2010-09-08 16:24:30 -04:00
Chris Jones
53da21b989
Comment fix so I add a=backout
2010-08-19 19:05:51 -05:00
Chris Jones
bd671f4d54
Bug 588216: Avoid race between IO-thread loop->PostTask() and main-thread loop->SetNestableTasksAllowed() that led to Tasks being ignored. r=bent
2010-08-19 15:31:47 -05:00
Daniel Holbert
9c717d372d
Bug 666989: Fix unused-but-set GCC 4.6 warning in Shmem::AssertInvariants. r=cjones
2011-06-24 14:01:30 -07:00
Benjamin Smedberg
9c6b634f34
Revert bug 595337 because of persistent leaks running mochitests, and bug 556487 because of in-process test failures (crashes) and a reftest failure.
2010-09-14 14:50:24 -07:00
Oleg Romashin
d80d6312b3
Bug 556487 - Plugin Child/Parent async API. r=roc,jones.chris.g a=blocking2.0
2010-09-14 12:01:05 -07:00
Ted Mielczarek
3f7bf2f258
bug 559228 - Implement multi-process crash reporting on Mac. r=bsmedberg a=blocking
...
--HG--
extra : rebase_source : 83e8073a3c8e47f8fec39b123221f80db89941e7
2010-08-16 15:05:09 -04:00
Doug Turner
fc5141bdf6
Merge from e10s clone. a=dougt
2010-08-10 18:33:38 -07:00
Benedict Hsieh
06c7038301
Bug 535077 - Fixes hang caused by failure to execute sync launch r=cjones a=blocking2.0
2010-08-10 14:14:10 -07:00
Michael Wu
dc746e4977
Bug 556644 - 1. Move omnijar setup to NS_InitXPCOM and use omni.jar by default, r=bsmedberg a=blocking2.0
2010-08-10 15:08:06 -07:00
Benoit Girard
942c80cced
Bug 557225 - Load the plugin-container from the App Bundle. r=cjones
2010-07-19 18:35:45 -04:00
Chris Jones
e2e5908a4e
Bug 525181, part 2: Implement protocol state machines in C++. r=bent
2010-07-15 14:27:43 -05:00
timeless@mozdev.org
490806495b
Bug 576384 AsyncChannel::ReportConnectionError case ChannelTimeout and case ChannelClosing are missing break
...
r=cjones
--HG--
extra : rebase_source : effdbd4b77048842387f834bd59495beae2d9875
2010-07-02 17:36:15 +03:00
timeless@mozdev.org
fe8c0df109
Bug 576383 AsyncChannel::MaybeHandleError case MsgProcessingError is missing break
...
r=cjones
--HG--
extra : rebase_source : 4a595a81bcbd43bd37f0b5886b0a9f5c3a5e41fe
2010-07-02 17:33:19 +03:00
Benjamin Smedberg
a677e5bf91
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
822ccb0789
Merge mozilla-central into the static-xpcom-registration branch.
2010-06-23 17:26:25 -04:00
Chris Jones
2d2a5f4b25
Bug 570099: Allow Shmems to be used in IPDL structs. r=benjamn
2010-06-23 13:59:07 -05:00
Benjamin Smedberg
dd8b532430
Bug 449129 - abort a plugin process if a plugin attempts to spin an event loop while painting, r=jmathies
2010-06-23 10:18:00 -04:00
Chris Jones
ac67f4dbc4
Bug 570096: Implement serialization of a grab-bag of gfx types. r=joe
2010-06-21 15:35:48 -05:00
Benjamin Smedberg
c611ebcd81
Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files
2010-06-10 14:11:11 -04:00
Jim Mathies
34916059df
Bug 569500 - e10s: /netwerk/test/unit_ipc/* fails on windows 7. (patch re-pushed with headers needed in release builds.) r=bsmedberg.
2010-06-30 22:07:50 -05:00
Jim Mathies
19b82cb153
Backout of bug 569500 due to opt build bustage and possible debug xpshell test timeouts.
2010-06-30 21:09:38 -05:00
Jim Mathies
ece8299d15
Bug 569500 - e10s: /netwerk/test/unit_ipc/* fails on windows 7 r=bsmedberg
2010-06-30 15:51:44 -07:00
Michael Wu
9c5c736f47
Bug 574120 - Add support for IPC on Android to everything else, r=dougt
2010-06-25 13:29:43 -07:00
Michael Wu
e7a0c46852
Bug 574120 - Add Android support to IPC code, r=cjones
2010-06-25 11:39:02 -07:00
Doug Turner
9c89be497e
Automerge w mozilla-central
2010-06-24 14:06:13 -07:00
Jason Duell
386a098a89
Merge from m-c.
...
Fair amount of merge conflicts.
Biggest item was changes to nsHttpChannel from web sockets changes.
Other likely suspects if things are borken:
nsFrameLoader.cpp:
- nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
nsnull (m-c) to local process call to new nsFrameMessageManager(),
callback arg? Smaug said null.
- only calling SetCallBackData for local case. also +r smaug.
nsPrefBranch.cpp had fairly extensive merge conflicts.
nsChromeRegistry had lots of changes.
Dougt did most of the non-necko changes (thanks).
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Olli Pettay
93984b6736
m-c to e10 merge
2010-05-24 17:45:59 +03:00
Doug Turner
cfd298a40d
Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
...
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Chris Jones
2ed40cd772
Merged m-c
2010-05-13 18:04:53 -05:00
Doug Turner
0dc0f3273e
merge with m-c. resolved conflicts in:
...
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Benoit Girard
94d6258a5b
Bug 528146: Run plug-in code on the thread that starts in main(). r=cjones
...
--HG--
rename : dom/plugins/PluginThreadChild.cpp => dom/plugins/PluginProcessChild.cpp
rename : dom/plugins/PluginThreadChild.h => dom/plugins/PluginProcessChild.h
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.cpp => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.cpp
rename : ipc/ipdl/test/cxx/IPDLUnitTestThreadChild.h => ipc/ipdl/test/cxx/IPDLUnitTestProcessChild.h
2010-05-10 23:18:00 -05:00
Chris Jones
ba8e10bb5d
Bug 565462: Implement operator== for IPDL structs and unions. r=bsmedberg
2010-05-22 14:35:42 -05:00
Chris Jones
3736c87ff8
Tests for bug 560000
2010-05-22 14:35:40 -05:00
Chris Jones
03b01c916d
Bug 562741: Allow |Shmem|s to be shared across different protocol trees. r=bent
2010-05-22 14:35:33 -05:00
Chris Jones
e3a04f9359
Bug 562741: Refcount |SharedMemory|s. r=joedrew
2010-05-22 14:35:32 -05:00
Chris Jones
5be467f10e
Bug 565844: Distinguish between illegal-value and couldn't-process errors in IPDL error messages. r=bent
2010-05-22 14:35:29 -05:00
Doug Turner
c88906d971
Merge with m-c. no hand edits
2010-04-29 21:04:50 -07:00
Jim Mathies
0879ff6221
Bug 558986 - detect and resolve races between MS-COM RPC and IPDL RPC by implementing IMessageFilter and processing pending IPDL RPC calls while waiting for MS-COM RPC responses. Original patch by bsmedberg, r=cjones/jimm/ehsan with followup fixes by Jim Mathies, r=bsmedberg
...
--HG--
extra : rebase_source : 214029d3188f8aa00948e0dcdc3c11cd279d1569
2010-05-21 11:48:34 -04:00
Jim Mathies
e9cf1d1dad
Bug 558986 - Backout of fix for crashes in TSF with Flash/Silverlight on tablets. CLOSED TREE
2010-05-17 14:36:43 -05:00
Benjamin Smedberg
695ab55828
Bug 558986 - Fix for crashes in TSF with Flash/Silverlight on tablets (OLE/COM nested event loops). r=cjones, jimm, ehsan.
2010-05-17 11:33:34 -05:00
Chris Jones
bd6bf48e7a
Merged m-c
2010-04-27 01:53:06 -05:00
Chris Jones
a2d53e0f5e
Bug 545733: |const|-ify some *Channel methods. r=bent
2010-04-27 00:42:59 -05:00
Chris Jones
c2273182da
Bug 555275: Implement a DeallocShmem() interface. r=bent
2010-04-26 20:11:40 -05:00
Doug Turner
609671cd8d
merge with m-c.
2010-04-26 23:17:51 -07:00
Benjamin Smedberg
041170d975
Bug 561871 part B: don't use Windows events to enter/exit a nested event loop within an RPC stack frame, because delivery of those events isn't always associated with the correct stack frame, and also because the events can be lost if they race with an incoming RPC reply message. Instead, keep a linked list (on the stack) of RPC frames globally and per-channel, to associate requests to enter a nested event loop with the correct frame, r=jimm
...
--HG--
extra : rebase_source : 694186dde4643904752c67e0c6eb7a6ad1dd2082
2010-04-28 11:01:09 -04:00
Oleg Romashin
e9043320a2
Bug 553904 - Child tab process crashes on attempt to initialize child plugin process. r=bent.mozilla
2010-04-20 21:43:51 +03:00
Chris Jones
8cd39f1f00
Merge mozilla-central
2010-04-16 01:34:35 -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
Josh Matthews
32dc72e1a5
b=539406 retain existing listener in AyncChannel for GeckoChildProcessHost::OnChannelConnected r=cjones
2010-04-12 12:13:00 +12:00
Oleg Romashin
8cafa44858
Merged with mozilla-central
2010-04-07 06:59:04 -04:00
Doug Turner
19845bed4d
merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp.
2010-03-26 14:22:48 -07:00
Chris Jones
5dfd6a235c
Bug 557011: Ensure OOP crashreporter has been initialized on mac. r=bsmedberg
2010-04-12 15:47:47 -05:00
Gavin Sharp
c862b2bb4f
Bug 552889: avoid spamming stderr in release builds, r=cjones
2010-05-06 15:17:08 -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
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
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
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
Jim Mathies
a074ae4d9f
Bug 563381 - Sync AppUserModelID with plugin-container. r=bsmedberg.
2010-05-14 19:25:10 -05:00
Chris Jones
5f15efa473
Bug 566054: Add missing error message case, tighten up UNREACHED guard. r=bent
2010-05-14 21:05:34 -05:00
Jason Duell
3898298861
Bug 536279 (send request headers to chrome channel) and bug 536283 (send full nsHttpResponseHead in OnStartRequest) a=jae-seong r=dwitte,jduell
2010-03-23 08:14:36 -07: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
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
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
230c2a994e
Bug 552294: *Channel::OnError must run atomically. r=bent
2010-03-18 17:52:28 -05: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
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
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
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
Chris Jones
0b3d2c0208
Stub out OOP crashreporter on OS X. b=555714 r=josh
2010-03-30 13:32:53 -04: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
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
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
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
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
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
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
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
Chris Jones
162bed2213
Bug 540886, part 1: Refactor "special message" dispatch in AsyncChannel. r=bent
...
--HG--
extra : transplant_source : %81%F6%01%EB%0CE%B0%04R%02%A8%0B%F8c%EF/%1D%CC%3Ep
2010-01-27 00:41:31 -06:00
Chris Jones
604337ff23
Bug 540111, part 1: Add a new IProtocolManager::RemoveManagee interface to break reliance on the |Manager()| interface. r=bent
...
--HG--
extra : transplant_source : %D8%135V%07%DD%9C%40%D9y%01%12%07%E1%BA%20%CFE%256
2010-01-26 22:56:09 -06:00
Benjamin Smedberg
b3e9aaa1a4
Commit remaining piece of bug 543788, r=jimm
2010-02-11 15:50:32 -05:00
Benjamin Smedberg
fff703635d
Bug 544361 - Silverlight 3 doesn't work since XPCOM was removed from plugin processes, it needs CoInitialize, r=cjones
2010-02-04 15:00:00 -06:00
Benjamin Smedberg
d5eb4d3947
Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
...
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Ben Turner
3340d7af3d
Bug 542821 - 'Process startup event gets dropped on the floor by deferred messaging'. r=jimm.
...
--HG--
extra : transplant_source : %3A%2B%5E%7C%F6l%5D%5E6%C1%992%B9%2AA1%83%9A%E4%D5
2010-02-03 13:09:55 -08:00
Ben Turner
8ce4327d88
Bug 542617 - 'Deferred message loop mishandles WM_NCCALCSIZE'. r=jimm.
...
--HG--
extra : transplant_source : o%DD%22%21%91%F6%14%1D%C0H%BFsu%12%12%06%0B%81JM
2010-01-28 10:03:37 -08:00
Chris Jones
bf83609f43
Bug 542052: Add support for serializing/deserializing byte types. r=bent
2010-01-25 16:47:39 -06:00
Benjamin Smedberg
6e8ca02ce6
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
...
--HG--
extra : transplant_source : EW%5C-%60M%BCabd%A0%DE%F8%1EG%DF%03%14%B3%24
2010-01-22 10:21:33 -05:00
Benjamin Smedberg
f3acc3f492
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
...
--HG--
extra : transplant_source : %96H%CA%BF%2BX%18s%C8%1B%2Bh%8F%92%05%F0%9F/N%01
2010-01-22 10:06:13 -05:00
Chris Jones
46d968b2f3
Bug 521929, part 2: Save racy RPC replies onto a special stack until they're the reply to the right out-call. r=bent
...
--HG--
extra : transplant_source : %95R%85%B4%AD%0F%3D%9B%A5%18n%9B%94%BF%DA%9A%1BE%40%AC
2010-01-21 20:04:10 -06:00
Chris Jones
f4ec1f80fa
Bug 521929, part 1: Add a "seqno" field to synchronous messages. r=bent
...
--HG--
extra : transplant_source : %D0%5D%CF%0DUv%AC%AD%09%F98%C4%14%E2%F8%14%2CUZ%97
2010-01-21 20:04:09 -06:00
Chris Jones
cda811d509
Bug 538239: Guard against async messages unblocking sync message waits. r=bent
...
--HG--
extra : transplant_source : .%3E%14%26%12%B1%80%BC%60%5D%E5%27%DE%11%C6uRY%F36
2010-01-20 21:50:36 -06:00
Ben Turner
136dcf7e39
Bug 539061 - 'OOPP: ASSERTION: Received "nonqueued" message 31, 10'. r=jimm.
2010-01-15 12:35:53 -08:00
Chris Jones
67a20cfb76
Bug 539295: Use lenient child reaping in NS_BUILD_REFCNT_LOGGING builds. r=bsmedberg
...
--HG--
extra : transplant_source : %FE%1B%07%A0%E4G%A2%F9%90%1Dc8J%3FP%E7%0A%DDL%05
2010-01-13 14:57:52 -06:00
Benjamin Smedberg
669c95a39e
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.)
...
--HG--
extra : rebase_source : e143e12ea5babc78fd95bf799aff2920e1915481
2010-01-13 10:44:10 -05:00
Chris Jones
6d065b2d57
Bug 516759: Use OOP crash reporting in Gecko. r=luser
...
--HG--
extra : rebase_source : 1949d23a5ce0c15c266d9e67e6a6be7d650a51df
2010-01-12 15:14:38 -06:00
Chris Jones
6fedfe658d
Small edit to comment. No r=, just want another set of talos runs.
...
--HG--
extra : rebase_source : 1316e80d35d9640b249be2f0d393c5a76dd7bd87
2010-01-12 02:25:18 -06:00
Chris Jones
346256e423
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
...
--HG--
extra : rebase_source : b363f3ab257e3aac3801c09e26ca2d9bf6cc3353
2010-01-12 00:14:32 -06:00
Chris Jones
d80073cd0a
bug 535867: fix threadsafety problem causing windows tinderbox error. r=trivial
2009-12-18 18:09:56 -06:00
Benjamin Smedberg
702517f5e0
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
8b16a35dc0
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
f7ff8ffcef
bug 533034: fix race condition that led to use-after-free. thanks valgrind!
2009-12-07 00:04:00 -06:00
Chris Jones
8e5648cbee
bug 532983: fix invalid memory reads caused by regressions in shutdown behavior. r=bsmedberg
2009-12-07 00:03:49 -06:00
Chris Jones
2037e919a0
Fix MSVC warning
2009-12-04 16:27:59 -06:00
Chris Jones
da33d06c2d
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
aea3243ee9
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
Chris Jones
c47450d9a7
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
677d4b14f9
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
9bcd9f1ab6
bug 525483: simple check for IPDL actor use-after-free. also refactors some error handling code
2009-12-03 02:16:03 -06:00
Ben Turner
0469fa577a
Add WM_MOUSEACTIVATE to list of deferred messages
2009-12-02 18:51:29 -08:00
Ben Turner
8f022ce032
Add WM_CAPTURECHANGED to the list of delayed messages.
2009-12-01 15:09:33 -08:00
Ben Turner
221a1d753c
Fix PostDelayedTask in the message loop
2009-11-23 16:01:12 -05:00
Benjamin Smedberg
abbbc74bb1
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
fa7b66ff5d
bug 529234: make sure to cleanup child processes
2009-11-19 13:03:30 -06:00
Ben Turner
445ec72ed9
Bug 526361 - 'Defer nonqueued messages received during synchronous IPC calls'. r=jimm+rs.
2009-11-18 15:18:08 -08:00
Josh Matthews
9972edd9fb
Bug 517963 - New-tab opening should not launch the content process synchronously r=cjones
2009-11-18 16:43:53 -05:00
Ben Turner
ddc3652fe6
Bug 528144 - 'Missing IPC messages cause hang during xpcshell test'
2009-11-17 15:34:48 -08:00
Ben Turner
8ee0dbf5a2
Fix bustage
2009-11-12 14:46:29 -08:00
Ben Turner
82191b418a
Bug 525792 - 'Fix leaks running mochitests'.
2009-11-12 14:16:54 -08:00
Chris Jones
548d6d261d
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
Phineas T. Farnsworth
3da7352b78
bug 526626: band-aids for shutdown assertions
2009-11-09 16:56:55 -06:00
Ben Turner
e48ad70cc3
Bustage fix
2009-11-06 16:22:54 -08:00
Chris Jones
8b132d2a80
fix linux build
2009-11-06 17:51:04 -06:00
Ben Turner
d10ccd2c5a
Bug 522414 - 'RPC and Sync channels will deadlock easily on Windows'. r=jimm+rs.
2009-11-06 14:33:12 -08:00
Chris Jones
d16b740eee
bug 526990: add support for serializing |float|s. no r=, trivial
2009-11-06 14:24:35 -06:00
Chris Jones
2eb8767355
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
c916fbb575
bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r=
2009-11-03 15:37:07 -06:00
Chris Jones
108fb1cc49
attempt to fix build
2009-10-29 12:50:28 -05:00
Chris Jones
713cc81033
build fix
2009-10-27 22:31:04 -05:00
Chris Jones
ccfc1178e3
bug 523761: give top-level IPDL actors handles to each others' processes. r=bent
2009-10-27 16:52:37 -05:00
Chris Jones
8663feb8a0
bug 524767: add better error logging to *Channel. no r?, logging only
2009-10-27 16:32:55 -05:00
Chris Jones
b581a2e474
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
09a6250424
bug 521324: call the multi-threaded GLib initialization function. r=karlt
2009-10-19 11:28:42 -05:00
Chris Jones
6221ca6529
bug 521845: expand protocol space by 4x (temporarily)
2009-10-12 14:04:40 -05:00
Chris Jones
a0cb461b15
fix bugs in RPC race resolution
2009-10-09 01:21:39 -05:00
Chris Jones
f71ad44292
hack around lack of C99 format specifiers on Windows
2009-10-08 18:07:24 -05:00
Chris Jones
b71724eb06
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
bb2747448d
add racy RPC resolution. also add better debugging info and fix two shared-memory-race bugs.
2009-10-08 16:44:43 -05:00
Ben Turner
64cfab94c4
Add threadsafety assertions to plugin code
2009-10-08 12:11:13 -07:00
Chris Jones
52d43cdb40
fix sync/RPC deadlock bug that came to me in a dream. r=mr.sandman
2009-09-22 10:23:29 -05:00
Chris Jones
50ed6c02c5
bug 517923: support serializing ns*Strings that represent NULL, use this mechanism in PluginInstanceParent/PluginModuleChild. also add basic crash-handling to *Channel code and some NS_OVERRIDE annotations.
2009-09-21 21:02:15 -05:00
Chris Jones
7a81446e70
bug 516798: fix busted actor-as-return-value handling in IPDL
2009-09-16 21:49:41 -05:00
Ben Turner
99033ae764
Fix recursive locking when unblocking an RPC channel for a sync message and add minimal error handling for sync messages.
2009-09-14 13:00:31 -07:00
Ben Turner
77093d31d4
Fix nsTArray deserialization
2009-09-14 12:58:33 -07:00
Chris Jones
334b5bb7d9
unblock RPC waiters for async messages, for realz
2009-09-11 02:28:09 -05:00
Chris Jones
b332673a20
fix bug introduced by d0d751ed8c3e where receiving multiple async messages while awaiting an RPC reply could screw things up. async messages no longer unblock RPC waiters.
2009-09-11 01:05:42 -05:00
Chris Jones
7d52f509f1
make RPC unblock for async and sync, as it supposed to have
2009-09-10 18:54:37 -05:00
Ben Turner
7e8db9f9a4
Force child processes to close and wait for them on shutdown
2009-09-02 17:18:27 -07:00
Ben Turner
e46cbd79ac
Basic xpcshell test for testing IPDL
2009-09-01 15:17:24 -07:00
Chris Jones
fcd4f6280c
bug 513920: synchronously "connect" to parent process from child process
2009-09-01 11:27:09 -05:00
Ben Turner
fef91bb11b
Rework chromium initialization, r=beast
2009-08-28 12:46:21 -07:00
Ben Turner
b050168417
Backing out stuff that doesn't work
2009-08-27 16:05:38 -07:00
Ben Turner
3028fdfcc0
Fix build bustage?
2009-08-27 15:54:05 -07:00
Ben Turner
6415585c54
Rework chromium initialization, revert accidental change
2009-08-27 14:17:01 -07:00
Ben Turner
c412f107ea
Rework chromium initialization
2009-08-27 14:11:10 -07:00
Ben Turner
9d33531365
Fix testshell to use the new callback commands, and shut down properly
2009-08-25 16:07:22 -07:00
Robin Bate Beorop
b4dc22d447
Bug 507218 - Expose the process type (chrome/content) to client code via XRE_GetProcessType and nsIXULRuntime, r=bent
2009-08-19 13:09:51 -04:00
Chris Jones
57c28a4b6c
simplify some *Channel code. enforce more SyncChannel invariants
2009-08-19 10:44:56 -05:00
Chris Jones
db2bde3f0d
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
Benjamin Smedberg
bfa6bff11f
Bug 510025 - make TestShell a subprotocol of ContentProcess so that it is useful for prototyping
2009-08-12 14:31:48 -04:00
Ben Turner
37f6bdca20
Add extremely basic support for unblocking in the event of a bad message
2009-08-07 16:13:20 -07:00
Ben Turner
a6cb8553d3
Add test plugin for ipc, make sure it works
2009-08-05 15:36:33 -07:00
Ben Turner
ff67e8afc3
Use mozilla strings instead of std::string in IPDL
2009-07-29 14:12:15 -07:00
Chris Jones
94c6eaa73b
Bug 506075: eliminate handshaking async constructor protocol, use smarter routing ID assignment
2009-07-24 18:24:27 -05:00
Ben Turner
e5cab3444c
Allow ipcshell to receive a response from its child process
2009-07-23 15:27:17 -07:00
Chris Jones
69604af50f
add SyncLaunch() method to GeckoChildProcess class. remove much newly obseleted code.
2009-07-20 13:14:41 -05:00
Chris Jones
e516ddf1a1
implement protocol manager support for all channel types, not just RPC
2009-07-20 11:59:51 -05:00
Chris Jones
c383d96f98
stop flirting with MSVC8 name resolution bug.
2009-07-20 11:37:18 -05:00
Chris Jones
08fc1b6880
>--> @ MSVC8, v4
2009-07-15 17:33:37 -05:00
Chris Jones
057ed3ad8e
another stab at fixing MSVC8 build bustage.
2009-07-15 17:06:30 -05:00
Chris Jones
90e549a263
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
5a07425e89
attempt to fix build bustage when using MSVC8.
2009-07-15 13:41:09 -05:00
Chris Jones
ddf91bd30e
update rgnrectallocator changes to match pending m-c patch.
2009-07-14 03:09:23 -05:00
Chris Jones
98f8639f7b
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
3fe0052c3e
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
9c6618c46e
first cut at AsyncChannel and SyncChannel. only RPCChannel is currently under warranty.
2009-07-13 16:55:04 -05:00
Benjamin Smedberg
fc924865a3
Build system for .ipdl files.
2009-07-13 12:14:56 -04:00
Ben Turner
896d5d4ea3
Adds the ipcshell application to test IPC
2009-07-11 02:33:10 -04:00
Chris Jones
3835b44362
use a single binary, mozilla-runtime, for all child processes
2009-07-10 14:03:09 -05:00
Benjamin Smedberg
a49dc40cea
Goodbye, NO_NSPR_10 weirdness.
2009-07-07 12:25:00 -04:00
Chris Jones
63e6c7f868
port IFrame protocol to new interface. fix small IPDL bug.
2009-07-02 19:24:02 -05:00
Ben Turner
fb20290727
merge bent's changes from libchromiumipc. Gtk plugins now drawing
2009-07-01 14:19:32 -07:00
Chris Jones
22e9e1dee6
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
Chris Jones
7aded61394
add initial support for protocol management in IPDL. small changes to existing protocols in preparation for merge from libchromiumipc.
2009-07-02 00:45:19 -05:00
Benjamin Smedberg
0a5070dd8a
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
0202d773b3
ipc/glue imported verbatim from http://hg.mozilla.org/users/bturner_mozilla.com/libchromiumipc/
2009-06-29 14:38:29 -04:00
Benjamin Smedberg
01cd6e47af
Bug 561817 part A: Entered/ExitedCall callbacks for toplevel actors upon RPC in-calls. r=bsmedberg
2010-04-29 11:49:00 -05:00