Commit Graph

419 Commits

Author SHA1 Message Date
Josh Matthews
10314074af Bug 770778 - Make TCPSocket e10s-friendly. r=bent 2012-09-24 14:53:49 -04:00
Chris Jones
cbe3e12296 Test for bug 775777. r=bent 2012-09-20 12:30:53 -07:00
Chris Jones
b594f26efa Bug 775777: Check dynamic actor type when deserializing. r=bent 2012-09-20 12:30:52 -07:00
Ms2ger
711f1fd480 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Rafael Ávila de Espíndola
0b6fcd9466 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Chris Jones
fef429cb47 Bug 636063, part 3: Honor compression requests when queuing messages. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
967d4da9ae Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
e3beae9af4 Bug 636063, part 1: Frontend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Ms2ger
1023162c9c Back out bug 636063, bug 774988 and bug 784647 for busting all of Android. 2012-08-25 13:18:18 +02:00
Chris Jones
59b05f8960 Bug 636063, part 3: Honor compression requests when queuing messages. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
8b9d683757 Bug 636063, part 2: Backend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Chris Jones
6da49bb1b7 Bug 636063, part 1: Frontend support for |compress|d messages. r=bent 2012-08-25 01:25:08 -07:00
Ben Turner
7370f46298 Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Ben Turner
8740622e89 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Ryan VanderMeulen
4369c9acf5 Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner
f17c803d93 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07:00
Ehsan Akhgari
e7ff5cfabe Bug 579517 - Part 3: Remove NSPR types from the IPDL parser's built-in type list; r=bsmedberg 2012-08-22 11:59:02 -04:00
Ehsan Akhgari
e368dc9c85 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
Ben Turner
4b09919a18 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Ryan VanderMeulen
6d99be6b69 Backout 7158af024a9b (bug 779013) due to suspected Windows bustage on a CLOSED TREE. 2012-08-08 19:40:54 -04:00
Chris Dearman
e54b931d0c Bug 779013 - Align the mValue union in IPDL-generated code. r=cjones 2012-08-08 15:10:03 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Chris Jones
9432ca5447 Bug 778070: Trigger ProtocolErrorBreakpoint() on message-handler |return false/null;|. r=bent 2012-07-27 11:39:44 -07:00
Joshua Cranmer
d539846cab Bug 702877 - Replace NS_OVERRIDE with MOZ_OVERRIDE. r=ehsan
--HG--
extra : rebase_source : 1843575683c3897f96f3966cbce26140ff1a7d90
2012-07-06 13:15:45 -05:00
Ehsan Akhgari
117b7fa829 Convert some of the IPDL C++ test files to use Unix line endings (no bug) 2012-07-23 16:31:14 -04:00
Chris Jones
f8279ab4fc Bug 775867: Implement ProtocolErrorBreakpoint() for easier debugging of IPC errors. r=bent 2012-07-23 10:24:29 -07:00
Kyle Machulis
f8c0d08e82 Bug 740744: Asynchronous dbus events for bluetooth, Start/StopDiscovery and device event firing; r=bent sr=mrbkap 2012-07-17 20:41:54 -07:00
Chris Jones
70c6e3bae9 Bug 745148, part 0: Log the PID with MOZ_IPC_MESSAGE_LOG logging. r=bent 2012-07-14 14:21:32 -07:00
Josh Matthews
0e05a2e2bf Bug 767775 - Viciously and loudly kill any process sending messages that race with RPC __delete__ messages. Test by bsmedberg. r=cjones 2012-07-13 13:53:00 -04:00
Doug Turner
f2adcdd386 Bug 761930 - Multi-process support for Device Storage. r=sicking 2012-06-19 16:14:39 -07:00
Ryan VanderMeulen
6e7f656ffd Backout b3f14a850269, f9d877d78294, and c7335ca109a4 due to build bustage. 2012-07-14 00:01:52 -04:00
Doug Turner
2eff5553d0 Bug 761930 - Multi-process support for Device Storage. r=sicking 2012-06-19 16:14:39 -07:00
Ryan VanderMeulen
cfea5c2634 Merge the last PGO-green inbound changeset to m-c. 2012-07-12 20:46:27 -04:00
Benjamin Smedberg
b341414c8f Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Justin Wood
8c0081b486 Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red. 2012-07-10 22:50:33 -04:00
Benjamin Smedberg
a1ac513b61 Bug 771251 - OOP crash reporting accesses the directory service off the main thread. In addition, the first design of the crash injector callback meant that we're dropping some set of Flash crashes which happen during an RPC call. r=ted
* Fix the directory service usage by saving the pending directory path from OOPInit.
* Force clients to call OOPInit on the main thread.
* Make injected crashes available via TakeMinidumpForChild and give each crash a sequence number so that we can pick the earliest crash from the three possibilities; delete the other two to avoid polluting about:crashes
2012-07-10 22:20:05 -04:00
Chris Jones
364854b6f9 Bug 765734, part 0: Do the right thing here. r=bent
--HG--
extra : rebase_source : 7b73d2ea334b9ca394e156b598e888723844315a
2012-07-12 05:51:57 -07:00
Chris Jones
3bc9fa211c Test for bug 763228. 2012-06-11 20:41:46 -07:00
Chris Jones
eea476cb50 Bug 763238: Use fully-qualified names for Open/Bridge. r=bent 2012-06-11 20:41:46 -07:00
Chris Jones
cbde7ac0ad Tests for bug 521898. 2012-06-08 17:25:36 -07:00
Chris Jones
c6a6f92105 Bug 521898, part 10: Add .ipdlh to the test harness and fix an annoying build warning. r=bent 2012-06-08 17:25:36 -07:00
Chris Jones
327b10472e Bug 521898, part 9: Backend support for .ipdlh. r=bent 2012-06-08 17:25:36 -07:00
Chris Jones
74abf8a1a1 Bug 521898, part 8: Frontend support for .ipdlh. r=bent 2012-06-08 17:25:36 -07:00
Chris Jones
86d678e98d Bug 521898, part 7: Store gathered C++ typedefs in a set, since with headers they can legally be found twice. r=bent 2012-06-08 17:25:36 -07:00
Chris Jones
1b2666c48e Bug 521898, part 6: Refactor the way structs/unions are declared. r=bent 2012-06-08 17:25:36 -07:00
Chris Jones
273dd9f5bd Bug 521898, part 5: Prepare for TU .protocol possibly being null (for headers). r=bent 2012-06-08 17:25:36 -07:00
Chris Jones
0b5f576af2 Bug 521898, part 4: Make TranslationUnits namespaced things in preparation for headers, which don't have distinguished nodes to infer a C++ namespace from. r=bent 2012-06-08 17:25:36 -07:00
Chris Jones
5a4d3584f6 Bug 521898, part 3: Rename ProtocolInclude to Include in preparation of more general usage. r=bent 2012-06-08 17:25:36 -07:00
Chris Jones
b8b5e55670 Bug 521898, part 2: Rename StructField .type to .typespec to avoid unintended "shadowing". r=bent 2012-06-08 17:25:36 -07:00