Commit Graph

90 Commits

Author SHA1 Message Date
Mason Chang
0cb4bbdb3f Bug 1120485. Add more logging to find failed uses of MessageChannel::mEvent. r=milan 2016-05-10 17:59:15 -07:00
Birunthan Mohanathas
bfee0fb40c Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f 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
245cd6a02f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Aaron Klotz
1b1eadea3f Bug 1240607 - Force CreateWindow hooks to be detours. r=jmathies 2016-01-18 14:17:16 -07:00
Aaron Klotz
afb6e4b014 Bug 1213567: Prevent neutering from occurring during CreateWindow(Ex) calls; r=jimm 2015-10-17 13:28:53 -06:00
Trevor Saunders
68d7493cd0 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
9838ca5564 Bug 1209464: Fix missing neutered window region in MessageChannel::WaitForInterruptNotify. Regression from bug 1189709; r=jimm 2015-10-04 22:17:20 -06:00
Aaron Klotz
32c8b8dbe2 Bug 1189709 - Reduce scope of MessageChannel window neutering. r=jimm
CLOSED TREE
2015-08-26 15:57:29 -06:00
Aaron Klotz
dc1be9f70d 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
14a3de227d Backed out changeset b2d0e28fe539 (bug 1185639) test_plugin_focus.html timeouts. 2015-07-27 16:06:03 -04:00
Aaron Klotz
4714f217c4 Bug 1185639: Allow deferred message processing to happen between consecutive IPC message dispatches; r=jimm 2015-07-21 01:21:51 -06:00
Birunthan Mohanathas
a29151dc87 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
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Aaron Klotz
3c5f9fb35e Bug 1133351: Part 2 - Use SetWinEventHook to detect OLE Window; r=bent 2015-03-30 10:42:39 -07:00
Aaron Klotz
e338c34523 Bug 1133351: Part 1 - Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg 2015-03-25 20:54:23 -07:00
Aaron Klotz
35aaff73bd Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage 2015-03-28 06:08:26 -07:00
Aaron Klotz
08e533a8bf Bug 1133351: Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg 2015-03-25 20:54:23 -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
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
Jim Mathies
0b7643f743 Bug 1052395 - Improve ipc debug output for unhandled nonqueued Windows messages. r=bent 2014-08-12 14:06:00 -05:00
Jim Mathies
7219112f6f 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
06f8708fef 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
102ccc0fef 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
d57935c46e Bug 869836 followup to fix build bustage 2014-05-22 00:48:11 -04:00
Birunthan Mohanathas
fd86bf4972 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
9f41043f62 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03: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
David Major
5e1598517d Bug 1000364: Drop nonqueued messages for QuickTime's QTNSHIDDEN class. r=jimm 2014-05-08 12:20:05 +12:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Jacek Caban
bb5cc03789 Bug 945245 - Fixed misc char16_t/wchar_t mismatches. r=ehsan 2013-12-03 16:09:50 +01: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
Ehsan Akhgari
c110a2c9ac Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Birunthan Mohanathas
70b33975d0 Bug 784739 - Switch from NULL to nullptr in ipc/glue/. r=ehsan 2013-08-23 15:51:58 -04:00
Jim Mathies
556496017a Bug 888236 - Add metro specific window classes and messages to ipc defer message processing. r=bsmedberg 2013-08-07 09:55:12 -05:00
David Anderson
c14eb41fca Remove unused run-to-completion feature in IPDL (bug 876989, r=cjones). 2013-07-02 11:22:18 -07:00
Jeff Walden
8a6657de57 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Jacek Caban
061060837e Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (ipc/ part) r=bent 2012-10-04 10:32:45 +02:00
Ms2ger
934e7c6e7a Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Cameron McCormack
e76ab599f7 Back out bug 725475 due to breaking scrolling on some machines 2012-03-08 17:21:09 +11:00
Cameron McCormack
f0276c4f59 Bug 725475 - Use more hidden scrollbars to tempt Synaptics drivers into giving us scrolling messages. r=jmathies 2012-03-08 13:16:47 +11:00
Jim Mathies
b15d067e31 Bug 679240 - Split total channel timeout into two discrete wait periods. Avoids aborting children after system sleep. r=bsmedberg 2012-01-06 12:17:03 -06:00
Niko Matsakis
4705e61e0a Bug 699319 - Part 1: Abstract out the mTransport and I/O thread into the Link abstraction. r=cjones 2011-11-30 08:24:46 -08:00