Bas Schouten
0fb4d010fd
Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent
2014-05-18 05:16:51 +02:00
Ting-Yu Chou
bec3061850
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
070bb00497
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
3b5e7a8157
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
03ba2e465b
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
a80f9315df
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
3bcfec25c8
Backout bug 956218 for build error
2014-02-06 15:19:08 +01:00
Ben Turner
d251cb806b
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
10cf13f470
Backout bug 956218 for link error.
2014-02-06 11:50:43 +01:00
Ben Turner
4944532d70
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
40ff701ba0
Bug 910962 - Make DeallocShmem not assert when child has crashed (r=bsmedberg)
2014-01-31 10:43:44 -08:00
Ben Turner
6b45b1636a
Bug 957828 - Move stack machinery to cpp file, r=bsmedberg.
2014-01-10 12:58:31 -08:00
Ben Turner
ac3d30c941
Bug 957828 - Don't make stack copies of all IPC messages, r=bsmedberg.
2014-01-10 12:58:20 -08:00
Alexandre Lissy
bd6a1c3c96
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
735523245e
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
bc3a485edc
Remove bogus assert in RPC calls (bug 937216, r=cjones).
2013-12-05 15:06:29 -08:00
Ehsan Akhgari
2bca7b6102
Bug 941417 - Build ipc/glue in unified mode; r=bent
2013-11-22 13:53:02 -05:00
Peiyong Lin
e4eccdece6
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
965debdfce
Fix landing fail for bug 901789 (bug 924121, r=bsmedberg).
2013-10-21 16:19:40 -07:00
David Anderson
47ae6f0cc8
Introduce new RPC messaging semantics (bug 910493 part 1, r=cjones).
2013-10-01 09:15:03 -07:00
Mark Hammond
a228cb0497
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
437f6053a9
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
David Anderson
fd2cf49aa1
Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
...
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00