David Anderson
3337f699c6
Make it safe to close an IPC channel that has already been closed by its remote endpoint. (bug 1314816 part 2, r=billm)
2016-11-04 18:31:30 -07:00
Bill McCloskey
288efd23fb
Bug 1312960 - Associate each message in IPC queue with the runnable that will run it (r=dvander)
2016-10-30 22:04:03 -07:00
Bill McCloskey
44c6c41179
Bug 1312960 - Remove FlushPendingInterruptQueue (r=dvander)
2016-10-30 22:04:02 -07:00
Bill McCloskey
9ca91954a3
Bug 1312960 - Use CancelableRunnable for mOnChannelConnectedTask (r=dvander)
2016-10-30 22:04:02 -07:00
Kan-Ru Chen
116d168836
Bug 1309799 - Make error message more stable. r=billm
...
MozReview-Commit-ID: IzhAfo7eYCC
2016-10-20 22:26:52 +08:00
Kan-Ru Chen
f8d9106f36
Bug 1309799 - Generate StringFromIPCMessageType and use it in MessageChannel::MaybeHandleError. r=billm
...
MozReview-Commit-ID: HSuAAM0JdjS
2016-10-13 14:18:45 +08:00
Bill McCloskey
efff0482ee
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 20:34:54 -07:00
Bill McCloskey
71303baeea
Revert "Bug 1306708 - Rename prio to nested in IPDL (r=dvander)" on a CLOSED TREE
...
This reverts commit b1460c626078afbb9290e7d9ecaf3af605d5e893.
2016-10-04 15:55:19 -07:00
Bill McCloskey
c3a2885c30
Revert "Bug 1306708 - Fix rebasing bustage on a CLOSED TREE"
...
This reverts commit cfc7bb2a6a9710dd9963185f264c70950fd5595c.
2016-10-04 15:55:00 -07:00
Bill McCloskey
d171668e1f
Bug 1306708 - Fix rebasing bustage on a CLOSED TREE
2016-10-04 15:43:34 -07:00
Bill McCloskey
308f9f039b
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 15:28:14 -07:00
Marco Castelluccio
3d1f3864b4
Bug 1164133 - Assert that we never send an async high priority message. r=billm
2016-10-01 12:14:49 +01:00
Nathan Froyd
c8af96977e
Bug 1305814 - fix -Wreorder warning in MessageChannel; r=billm
...
Initializer lists are supposed to initialize member variables in the
order they're listed in the class definition.
2016-09-28 04:44:11 -04:00
David Anderson
3cd404b1da
Don't allow double-closing of IPC channels. (bug 1301481, r=billm)
2016-09-19 19:17:09 -07:00
Nicholas Nethercote
887efe04d5
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
2016-09-01 15:01:16 +10:00
Igor
9c81c3c1ee
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
972b8460e2
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Honza Bambas
1d58e95c31
Bug 1290975 - turn mListener to a raw ptr, r=billm
2016-08-10 10:53:00 +02:00
Kyle Huey
a14a729d99
Bug 1274431: Fix some non-unified build issues. r=jld
2016-08-05 12:00:19 -07:00
Ting-Yu Chou
7e34467e29
Bug 1287044 - Annotate pending IPC messages when OOM due to too many of them. r=billm
2016-07-04 13:36:34 +08:00
David Anderson
b4510e53b3
Add a callback for top-level actors to free themselves. (bug 1285364, r=billm)
2016-07-13 11:21:58 -07:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Bill McCloskey
b544c80b47
Bug 1262671 - Use BufferList for Pickle (r=froydnj)
2016-05-27 09:57:41 -07:00
Bill McCloskey
014db8f121
Bug 1273307 - Remove copy constructor/assignment operator for Message/Pickle (r=froydnj)
2016-05-27 09:57:35 -07:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kyle Huey
f5a071381f
Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj
2016-05-05 01:44:59 -07:00
Kyle Huey
b91ceaea75
Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj
2016-05-05 01:44:59 -07:00
Kyle Huey
29ffff705f
Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj
2016-05-05 01:44:59 -07:00
Mason Chang
71c09bf546
Bug 1120485. Add logging to check if we're closing MessageChannel::mHandle twice. r=milan
2016-05-04 11:03:49 -07:00
Andrew McCreight
5b8d771052
Bug 1268938 - Use the name of the original message in Send for reply telemetry. r=billm
...
aReply usually won't have a name properly set, but aMsg does. To avoid
accessing aMsg after it dies, copy the pointer to the name.
2016-05-02 20:37:40 -07:00
Carsten "Tomcat" Book
70be75ac0e
Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak
2016-04-29 14:22:04 +02:00
Carsten "Tomcat" Book
d10653e369
Backed out changeset fd833da413ad (bug 1268313)
2016-04-29 14:21:25 +02:00
Carsten "Tomcat" Book
0dfb08d42e
Backed out changeset 3f2f3fcac66b (bug 1268313)
2016-04-29 14:21:23 +02:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
dd7f2720fb
Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
b334682d78
Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
771b31efe2
Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
f3e34e67b3
Bug 1266595: Replace Chromium Task with Runnable. r=froydnj
2016-04-27 17:06:05 -07:00
Andrea Marchesini
0b0d05f69d
Bug 1261094 - Improve how MessageChannel::mInterruptStack is used in IPC code, r=jld
2016-04-28 07:21:49 +08:00
Bill McCloskey
f38fe225f4
Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8)
2016-04-26 13:50:56 -07:00
Daniel Holbert
08369c70b7
Backed out changeset ae89c24b7692 (bug 1264820) for -Werror build bustage
...
MozReview-Commit-ID: ECNuGMefyqC
2016-04-20 15:41:32 -07:00
Bill McCloskey
33809f4a17
Bug 1264820 - Measure IPC reply size in telemetry (r=mccr8)
2016-04-20 14:55:35 -07:00
Andrew McCreight
176cbbed14
Bug 1264662 - Record IPC message capacity instead of size. r=billm
...
Capacity includes internal fragmentation, while size does not.
This requires making capacity() public, but that seems benign.
2016-04-14 17:46:52 -07:00
Ting-Yu Chou
ec79a2e5a1
Bug 1260736 - Let the client to filter out its interested messages to lower the number of times entering the monitor in PeekMessages(). r=dvander
2016-04-13 09:51:34 +08:00
Bill McCloskey
5dbc026b0c
Bug 1235633 - IPC OOM mitigation by eliminating buffer copying (r=jld)
2016-04-07 17:15:26 -07:00
Mason Chang
12b2cabd9f
Bug 1120485. Log CloseHandle error reason during MessageChannel shutdown failure. r=milan
2016-04-06 09:03:22 -07:00
Andrew McCreight
8e90497e7e
Bug 1261099 - Avoid two Message copies in MaybeUndeferIncall. r=billm
2016-04-04 10:13:43 -07:00
Bill McCloskey
a772e66968
Bug 1260908 - Record IPC message sizes (r=dvander)
2016-04-01 11:22:27 -07:00
Wes Kocher
a1f94ce495
Backed out 2 changesets (bug 1260908) for build bustage
...
Backed out changeset 5582a25d289d (bug 1260908)
Backed out changeset 9612cef48d43 (bug 1260908)
MozReview-Commit-ID: BKeDiGZ8Z8B
2016-04-01 10:44:27 -07:00