Commit Graph

192 Commits

Author SHA1 Message Date
Bill McCloskey
17d3a90266 Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan) 2014-10-07 21:32:45 -07:00
Bill McCloskey
55a77c1ac2 Bug 1071409 - Eliminate potential CPOW hang (r=dvander) 2014-10-01 09:58:54 -07:00
Ehsan Akhgari
16c19a6627 Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug 2014-08-31 21:12:55 -04:00
Botond Ballo
ba2a1aee57 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-26 17:14:51 -04:00
Ryan VanderMeulen
e36f8c0dfc Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
3511fdd230 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Kyle Huey
02cafdcce0 Bug 1057402: Fix for non-unified builds. r=me 2014-08-22 10:02:47 -07:00
Kyle Huey
03a5080087 Bug 1057402: Always log the message type when we hit an IPC protocol error. r=bent 2014-08-22 09:23:01 -07:00
Ben Kelly
80e60dd1be Bug 1049801 P2 Cancel the DispatchOnChannelConnected runnable when destructing the MessageChannel. r=bent 2014-08-21 14:13:23 -04:00
Jim Mathies
2b5a34b919 Bug 874437 - Only enable ipc sync wait deferred Windows message handling for plugin protocols, everything else should use standard blocking waits. r=bsmedberg 2014-08-15 12:12:37 -05:00
Birunthan Mohanathas
4dca94f3d8 Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00
Bill McCloskey
97cdc713bf Bug 1042587 - Block scripts when using CPOWs (r=bent) 2014-08-05 21:44:42 -07:00
Bill McCloskey
350cd64ace Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-08-05 21:43:36 -07:00
Bill McCloskey
0781292ef8 Back out bug 950745 for crashes 2014-07-30 16:19:46 -07:00
Benoit Jacob
456d72465a Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Bill McCloskey
0db41f9416 Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-07-17 21:09:45 -07:00
Ben Kelly
154d3da275 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-09 17:39:18 -04:00
Wes Kocher
bb5d63c1f6 Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783 2014-07-08 14:43:46 -07:00
Ben Kelly
f99120cd1b Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Bas Schouten
b55c6b1c2f Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent 2014-05-18 05:16:51 +02:00
Ting-Yu Chou
b7d8522df0 Bug 999351 - Fix an IPC leak by clearing MessageChannel resource before destruction. r=bent
Once we have a channel error (like, child process dies) we don't immediately do
anything with additional messages that were pending from that child. They stay
queued and eventually get freed when the channel is destroyed. This patch clears
the resource earlier whenever there is an error, or the channel is closed.
2014-04-24 15:26:50 +08:00
Benjamin Smedberg
5064bec7b3 Bug 778866 - Abort from the I/O thread on abnormal shutdown of a plugin-process, in case the main thread is wedged and the Firefox process has already been killed, r=cjones 2014-03-04 12:17:01 -05:00
Ehsan Akhgari
0ef829ba56 Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent 2014-03-03 21:35:51 -05:00
L. David Baron
eccc6c3bd1 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Ben Turner
e066b980d0 Bug 956218 - '(PBackground) Add a mechanism for communicating with
a non-main I/O thread via thread and process links'. r=mrbkap+khuey+bsmedberg.
2013-11-26 23:59:41 -08:00
Ben Turner
214106c098 Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00
Ben Turner
d4a90e7e20 Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Ben Turner
6ef7e5c479 Backout bug 956218 for link error. 2014-02-06 11:50:43 +01:00
Ben Turner
190a54d57f Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Bill McCloskey
20af3376cc Bug 910962 - Make DeallocShmem not assert when child has crashed (r=bsmedberg) 2014-01-31 10:43:44 -08:00
Ben Turner
99f63da0da Bug 957828 - Move stack machinery to cpp file, r=bsmedberg. 2014-01-10 12:58:31 -08:00
Ben Turner
4bfb891351 Bug 957828 - Don't make stack copies of all IPC messages, r=bsmedberg. 2014-01-10 12:58:20 -08:00
Alexandre Lissy
bc343f82bb Bug 942118 - Ensure that we call MessageChannel::ReportConnectionError() with no lock. r=bent
Making a call to mListener with a mMonitor lock is bad. Most of the code
path for ReportConnectionError() are doing this because they are just
after the Connected() method which needs the lock. We ensure to unlock
mMonitor in the scope of the ReportConnectionError() call.
2013-11-22 17:29:25 +01:00
Bill McCloskey
1c394a046a Bug 947632 - Assert that we don't sendSyncMessage while processing a CPOW request (r=dvander) 2013-12-14 15:50:22 -08:00
David Anderson
b6afb85913 Remove bogus assert in RPC calls (bug 937216, r=cjones). 2013-12-05 15:06:29 -08:00
Ehsan Akhgari
cd09683ae7 Bug 941417 - Build ipc/glue in unified mode; r=bent 2013-11-22 13:53:02 -05:00
Peiyong Lin
a222197cc2 Bug 933821 - Replace IPC_ASSERT(MSG_ROUTING_NONE != msg->routing_id(), "need a route") with PrintMessageRouteError. r=bent 2013-11-14 15:24:18 -05:00
David Anderson
70aeba018c Fix landing fail for bug 901789 (bug 924121, r=bsmedberg). 2013-10-21 16:19:40 -07:00
David Anderson
d6a30b943e Introduce new RPC messaging semantics (bug 910493 part 1, r=cjones). 2013-10-01 09:15:03 -07:00
Mark Hammond
3123f84e69 Bug 920397 part 2 - MessageChannel::~MessageChannel() now asserts that closing the handle succeeded. r=bsmedberg 2013-10-01 10:56:16 +10:00
David Anderson
b4cb2d8837 Rename IPDL's RPC to Interrupt (bug 910020, r=bent). 2013-09-30 17:27:45 -07:00
David Anderson
d2c237dd72 Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent). 2013-09-27 18:42:08 -07:00