Tom Ritter
99edbfc566
Bug 1404147 Fix signed/unsigned comparison of uints r=jld
...
MozReview-Commit-ID: 7z3JocWOrW5
--HG--
extra : rebase_source : f90aacbe737deff81da9aca0f6b64cad268074f4
2017-09-28 17:45:46 -05:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Masayuki Nakano
94170bb269
Bug 1370198 Back out the patch for bug 1369419 because the patch couldn't fix bug 1361132 and causes new crash bugs r=jimm
...
MozReview-Commit-ID: Eq7Dkk6Ghwc
--HG--
extra : rebase_source : edc2d10f4e0359152927830a269f74b75daf5883
2017-06-05 21:52:16 +09:00
Masayuki Nakano
d3789d2d6b
Bug 1369419 GetMessage() and PeekMessage() shouldn't be used directly as far as possible r=jimm
...
In TSF mode, application should retrieve messages with ITfMessagePump::GetMessage() or ITfMessagePump::PeekMessage() since TSF/TIP may handle the message before or after the host application handles it.
This patch rewrites the API users with WinUtils::(Get|Peek)Message() which use ITfMessagePump if it's available.
MozReview-Commit-ID: LwHIgp7SxLH
--HG--
extra : rebase_source : aa5750af9812f9b107c29546cbee6f9eede6ebfa
2017-06-02 12:02:35 +09:00
Masatoshi Kimura
8287a9c71c
Bug 1330496 - Followup patch to remove redundant parenthses. r=aklotz
...
MozReview-Commit-ID: DYGbu2S20Ev
--HG--
extra : rebase_source : ff93abace9959752455cace6354cdd3d5913095f
extra : source : 32a43b228c3fd74e67c17cb8a43a8052abe30c4d
2017-02-08 20:33:38 +09:00
Chris Peterson
971f368adf
Bug 1330496 - Part 3: Remove other ipc checks for Windows Vista or 7+. r=aklotz
...
MozReview-Commit-ID: 9z5LKw71Veg
--HG--
extra : rebase_source : 34e4edb7f5dd92cdca0ca638398705ded48bd3bc
extra : histedit_source : 06350bb2aa8baf386431e634d63819d87cd18fe1
2017-01-09 21:03:57 -08:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Chris Peterson
2246059b1a
Bug 1318833 - Part 2: Remove Silverlight plugin quirk compatibility. r=jimm
2016-11-28 22:51:45 -08:00
Chris Peterson
3cd56b6a87
Bug 1318819 - Remove Google Earth plugin quirk compatibility. r=jimm
2016-11-28 22:48:44 -08:00
Chris Peterson
cd071486d0
Bug 1317110 - Remove QuickTime plugin quirks handling. r=jimm
2016-11-14 22:08:43 -08:00
Bill McCloskey
81c169c2a9
Bug 792652 - Remove methods from MessageListener (r=dvander)
...
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 15:22:36 -08:00
Wes Kocher
4b3d16605a
Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
...
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey
1f23e3694d
Bug 792652 - Remove methods from MessageListener (r=dvander)
...
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 11:32:26 -08:00
Aaron Klotz
62eaa723f7
Bug 1241921: Remove CreateWindow* hooks from IPC glue; r=jimm
...
MozReview-Commit-ID: 5YZxwMzMrtx
--HG--
extra : rebase_source : f93b1c8041291a3830b30d9a71f269e4814c8bf8
2016-10-17 12:06:58 -06:00
Aaron Klotz
a8b5e5f85f
Bug 1273635: Follow-up - ensure that MessageChannel's event is reset when signalled; r=jimm, billm
...
--HG--
extra : amend_source : ea92d0cfce457517bdc0ce5ca81bede4ec936f89
2016-08-14 15:23:12 -06:00
Aaron Klotz
2bbffe8138
Bug 1273635: Enable alertable waits in content process main thread; r=jimm
...
MozReview-Commit-ID: 2qGdGj41M0n
--HG--
extra : rebase_source : e404ba43a47151d38330052c9ac93e7b252ad0f4
2016-08-03 11:54:35 -06:00
Iris Hsiao
f9707fb68a
Backed out changeset 48d06bcb9c65 (bug 1273635) for Mochitest failures
2016-07-28 14:25:47 +08:00
Aaron Klotz
85608bd12a
Bug 1273635: Enable alertable waits in content process main thread; r=jimm
...
MozReview-Commit-ID: 2qGdGj41M0n
--HG--
extra : rebase_source : 894ec7ef23b18fd2ed72bc909bc2c743aedaf40c
2016-05-11 12:49:49 -06:00
Andrew McCreight
5848fe3b73
Bug 1276318
, part 2 - Fix mode lines in ipc/glue. r=billm
...
MessageChannel.{h,cpp}, MessageLink.{h,cpp}, and ProtocolUtils.h are
using 4-space indent so I left those alone.
2016-05-27 14:54:31 -07:00
Mason Chang
1ed5c6b7b4
Bug 1120485. Add more logging to find failed uses of MessageChannel::mEvent. r=milan
2016-05-10 17:59:15 -07:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Aaron Klotz
1880f9540d
Bug 1240607 - Force CreateWindow hooks to be detours. r=jmathies
2016-01-18 14:17:16 -07:00
Aaron Klotz
a6a5a83572
Bug 1213567: Prevent neutering from occurring during CreateWindow(Ex) calls; r=jimm
...
--HG--
extra : rebase_source : 9b5afc18fe334efbe9210e3d61508bb433c5a72f
2015-10-17 13:28:53 -06:00
Trevor Saunders
dda4730c3c
bug 1212906 - don't handle windows messages while waiting for a sync a11y ipc message r=billm
...
Windows messages can trigger sync ipc messages to the child process. That
means if we handle windows messages while waiting for the response to a sync
a11y ipc message we can end up reentering the code to send ipc messages which
is bad. Try and avoid this situation by not handling windows messages while
waiting for a sync a11y message.
2015-10-14 14:02:47 -04:00
Aaron Klotz
6c3bc53e68
Bug 1209464: Fix missing neutered window region in MessageChannel::WaitForInterruptNotify. Regression from bug 1189709; r=jimm
...
--HG--
extra : rebase_source : 56caab29e3f48b6332f8cd1b47e1e830f75d9c74
extra : source : bed340eab428d1c0d86057771fb19b7090e0af51
2015-10-04 22:17:20 -06:00
Aaron Klotz
b5620ac836
Bug 1189709 - Reduce scope of MessageChannel window neutering. r=jimm
...
CLOSED TREE
--HG--
extra : amend_source : 76d39b5b5e7af9384c583b71659adddb72ab169c
2015-08-26 15:57:29 -06:00
Aaron Klotz
1074da1019
Bug 1185639 - Allow deferred message processing to happen between consecutive IPC message dispatches. r=jimm
2015-07-21 01:21:51 -06:00
Ryan VanderMeulen
555a3164b2
Backed out changeset b2d0e28fe539 (bug 1185639) test_plugin_focus.html timeouts.
2015-07-27 16:06:03 -04:00
Aaron Klotz
5e0cb1c026
Bug 1185639: Allow deferred message processing to happen between consecutive IPC message dispatches; r=jimm
...
--HG--
extra : rebase_source : e6567ce8fa5c663970862a9b93c82464b2429250
2015-07-21 01:21:51 -06:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Kartikaya Gupta
cd5b55f8d6
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Aaron Klotz
6753fce339
Bug 1133351: Part 2 - Use SetWinEventHook to detect OLE Window; r=bent
...
--HG--
extra : rebase_source : c41eca50ae290d9cb11ee88e088f24c164094961
2015-03-30 10:42:39 -07:00
Aaron Klotz
3a239b4632
Bug 1133351: Part 1 - Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
...
--HG--
extra : rebase_source : ebb6b9c25565bd2721ee6537b2161511666e92ac
2015-03-25 20:54:23 -07:00
Aaron Klotz
c7b7ac7920
Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage
2015-03-28 06:08:26 -07:00
Aaron Klotz
e55e727569
Bug 1133351: Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
...
--HG--
extra : rebase_source : a14f07bce5c6c022f8141969bebce461cdaf006b
extra : amend_source : 19b9f98458218b896d4acbb36912935afcc34551
2015-03-25 20:54:23 -07:00
Aaron Klotz
0876759d20
Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander
2014-12-29 16:12:47 -07:00
Phil Ringnalda
0c888c27eb
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
fc2f0c6a2e
Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander
2014-12-24 17:56:06 -07:00
Jim Mathies
5a0921a9b9
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
Jim Mathies
dc108c90b9
Bug 1052395 - Improve ipc debug output for unhandled nonqueued Windows messages. r=bent
2014-08-12 14:06:00 -05:00
Jim Mathies
6792642961
Bug 1047842 - Pass WM_GETTEXTLENGTH messages in ipc wait for notify calls to DefWindowProc. r=bent
2014-08-13 04:39:47 -05:00
Jim Mathies
12e0bdab98
Bug 1044245: don't track Windows IPC stack frames on non-gui threads r=bsmedberg
2014-08-07 22:21:05 -04:00
Jim Mathies
cdd47fdee8
Bug 1014673 - Allow WM_GETOBJECT calls to succeed when mozilla window procedures are neutered by ipc WaitForNotify calls. r=bent
2014-05-30 14:30:54 -05:00
Boris Zbarsky
8479e9cec6
Bug 869836 followup to fix build bustage
2014-05-22 00:48:11 -04:00
Birunthan Mohanathas
aea8617b92
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
0e6f3a6562
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Bas Schouten
0fb4d010fd
Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent
2014-05-18 05:16:51 +02:00
David Major
2f04916760
Bug 1000364: Drop nonqueued messages for QuickTime's QTNSHIDDEN class. r=jimm
...
--HG--
extra : rebase_source : 9f319b57601d36a108d4f22f3b2221d62ac25523
2014-05-08 12:20:05 +12:00