Aaron Klotz
3b240e5d4c
Bug 1116827: Add check for null mMonitor in MessageChannel::CanSend(); r=dvander
2014-12-31 13:15:38 -07:00
Aaron Klotz
5eababe304
Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander
2014-12-29 16:12:47 -07:00
Phil Ringnalda
4227fff1a3
Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
...
CLOSED TREE
Backed out changeset 076d1d47d601 (bug 1070755 )
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz
56770f6077
Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander
2014-12-24 17:56:06 -07:00
Chris Peterson
e2c8efad0c
Bug 1114724 - Define PRIuSIZE format specifiers for size_t. r=Waldo
2014-12-21 23:30:06 -08:00
Bill McCloskey
d53cc5d433
Bug 1109883 - Allow urgent prio messages to be sent to child (r=dvander)
2014-12-18 17:35:48 -08:00
Bill McCloskey
ada88eb3e2
Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander)
2014-12-18 17:35:44 -08:00
Bill McCloskey
ace8a03f87
Bug 1110938 - Use message sequence number for transaction ID in MessageChannel (r=dvander)
2014-12-18 17:34:25 -08:00
Bobby Holley
7292d0428b
Bug 1103324 - Instantiate an AutoNoJSAPI when dispatching IPC messages. r=billm
2014-12-06 09:51:14 -08:00
David Parks
792e8fba92
Bug 1076820 - Redraw on resize performance for content is pretty bad with e10s r=billm
...
Modern OSs adjust process scheduling based on CPU-boundedness and Interface-boundedness. A process performing a lot of UI tasks requires lower-latency than a CPU-bound process. For this reason, at least on Windows (but probably also Linux and Mac), in e10s, resize events are sent at a much higher rate than non-e10s, where the main process has to do the work to respond to them. This was supposed to be handled by the 'compress' option in IPDL but its duplicate-event test was very imprecise - it only tested the *oldest* message in the queue. This patch searches the messagequeue/deque to remove *any* duplicate. deque::erase is linear but this is a very uncommon case - currently only two compressed IPDL messages exist in the entire code base. Also, these queues are small.
2014-11-07 14:21:08 -08:00
Nathan Froyd
f132a2ff98
Bug 1092010 - part 3 - don't use IPC::Message::operator=(IPC::Message const&) in MessageChannel.cpp; r=dvander
2014-11-01 07:00:54 -04:00
Nathan Froyd
498338aaa7
Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander
2014-10-31 11:21:01 -04:00
Ryan VanderMeulen
90f48a6e8f
Backed out changesets a7d4914ea11a and f3d36cf13ac1 (bug 1092010) for non-unified bustage.
2014-11-01 00:10:08 -04:00
Nathan Froyd
f18027a4be
Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander
2014-10-31 11:21:01 -04:00
Bill McCloskey
19be9e97c8
Bug 1062713 - Handle normal priority messages while sending sync messages more efficiently (r=dvander)
2014-10-30 13:06:24 -07:00
Andrew McCreight
f4bd2231f4
Bug 1089833 - Delete reply in MessageChannel::DispatchSyncMessage and DispatchInterruptMessage if channel isn't connected. r=billm
2014-10-28 13:53:15 -07:00
Bill McCloskey
e50f512e2a
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
Carsten "Tomcat" Book
bb279bb4db
Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE
2014-10-08 08:03:57 +02:00
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