Chris Jones
b6c73e4294
Test for bug 775777. r=bent
2012-09-20 12:30:53 -07:00
Chris Jones
5e2d2d2e5e
Bug 775777: Check dynamic actor type when deserializing. r=bent
2012-09-20 12:30:52 -07:00
Ms2ger
10ec580e54
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
fa9b9c167a
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
6d57ec4022
Bug 636063, part 3: Honor compression requests when queuing messages. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
68aec75046
Bug 636063, part 2: Backend support for |compress|d messages. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
1338040bf2
Bug 636063, part 1: Frontend support for |compress|d messages. r=bent
2012-08-25 01:25:08 -07:00
Ms2ger
4896c201ea
Back out bug 636063, bug 774988 and bug 784647 for busting all of Android.
2012-08-25 13:18:18 +02:00
Chris Jones
7a7d89b7b4
Bug 636063, part 3: Honor compression requests when queuing messages. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
2fe338f9b5
Bug 636063, part 2: Backend support for |compress|d messages. r=bent
2012-08-25 01:25:08 -07:00
Chris Jones
82d5545283
Bug 636063, part 1: Frontend support for |compress|d messages. r=bent
2012-08-25 01:25:08 -07:00
Ben Turner
2e0265c8ef
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
4a96b44593
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 19:13:54 -07:00
Ryan VanderMeulen
e0f772c50e
Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures.
2012-08-22 17:31:06 -04:00
Ben Turner
09bda2927c
Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey.
2012-08-22 12:19:29 -07:00
Ehsan Akhgari
04be769651
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
8c296bbcd4
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
81d9415df5
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
c624fc6428
Backout 7158af024a9b (bug 779013) due to suspected Windows bustage on a CLOSED TREE.
2012-08-08 19:40:54 -04:00
Chris Dearman
f7e93b5541
Bug 779013 - Align the mValue union in IPDL-generated code. r=cjones
2012-08-08 15:10:03 -04:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Chris Jones
db4a8a6255
Bug 778070: Trigger ProtocolErrorBreakpoint() on message-handler |return false/null;|. r=bent
2012-07-27 11:39:44 -07:00
Joshua Cranmer
4a5b32fae2
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
858b714f02
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
bfb4c83c31
Bug 775867: Implement ProtocolErrorBreakpoint() for easier debugging of IPC errors. r=bent
2012-07-23 10:24:29 -07:00
Kyle Machulis
5abbd0bc68
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
b9aa978493
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
8a02a2ac2a
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
d24cf25018
Bug 761930 - Multi-process support for Device Storage. r=sicking
2012-06-19 16:14:39 -07:00
Ryan VanderMeulen
ee7710d9d1
Backout b3f14a850269, f9d877d78294, and c7335ca109a4 due to build bustage.
2012-07-14 00:01:52 -04:00
Doug Turner
fd39f12412
Bug 761930 - Multi-process support for Device Storage. r=sicking
2012-06-19 16:14:39 -07:00
Ryan VanderMeulen
7105546cd8
Merge the last PGO-green inbound changeset to m-c.
2012-07-12 20:46:27 -04:00
Benjamin Smedberg
5e47967333
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
b1e2528f23
Backed out Bug 771251 -- changeset 95c9bc0e63f7 due to red.
2012-07-10 22:50:33 -04:00
Benjamin Smedberg
d8435debee
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
5280bd92be
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
725140b8b6
Test for bug 763228.
2012-06-11 20:41:46 -07:00
Chris Jones
5571d351b3
Bug 763238: Use fully-qualified names for Open/Bridge. r=bent
2012-06-11 20:41:46 -07:00
Chris Jones
60b9fec1ba
Tests for bug 521898.
2012-06-08 17:25:36 -07:00
Chris Jones
bfd23211cb
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
fb735778bc
Bug 521898, part 9: Backend support for .ipdlh. r=bent
2012-06-08 17:25:36 -07:00
Chris Jones
2c5f3b7b55
Bug 521898, part 8: Frontend support for .ipdlh. r=bent
2012-06-08 17:25:36 -07:00
Chris Jones
60dd1e0c5d
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
3103f14a3b
Bug 521898, part 6: Refactor the way structs/unions are declared. r=bent
2012-06-08 17:25:36 -07:00
Chris Jones
ad2fac22e7
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
9cf0ac012c
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
6dbe858cf6
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
96149d326c
Bug 521898, part 2: Rename StructField .type to .typespec to avoid unintended "shadowing". r=bent
2012-06-08 17:25:36 -07:00
Chris Jones
46b5743bc5
Bug 521898, part 1: Hackily stuff away the AST in a more consistent way. We need it for structs/unions too because they may come from other TUs. r=bent
2012-06-08 17:25:36 -07:00