Commit Graph

2893 Commits

Author SHA1 Message Date
Wes Kocher
0cb332af6b Backed out changeset d0e88c95f3c5 (bug 1167100) for crashes a=backout 2015-09-29 10:25:20 -07:00
George Wright
ef0ef7dcc8 Bug 1207921 - Call makeReply before dtorEpilogue so that we don't end up with a nullptr deref r=billm 2015-09-28 09:17:05 -04:00
Carsten "Tomcat" Book
e0579e52cd merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Yoshi Huang
dfb63ccba0 Bug 1167100 - User nsIPrincipal.originAttribute in ContentPrincipalInfo. r=bholley 2015-09-23 18:19:06 +08:00
Gian-Carlo Pascutto
aac565f155 Bug 1205164 - Detect message races in Mach Shmem implementation. r=blassey 2015-09-25 12:30:46 +02:00
Nicholas Nethercote
9b3d0196ca Bug 1205942 (part 2) - Fix "always true" warning in child_thread.cc. r=jld.
The warning is "the address of NuwaMarkCurrentThread() will always evaluate to
'true'".
2015-09-23 18:21:19 -07:00
Ted Mielczarek
c91cc96387 bug 1204985 horrible clobber-avoidance bustage fix r=YOLO CLOSED TREE 2015-09-23 22:05:01 -04:00
Ted Mielczarek
b31fa03393 bug 1204985 - make SharedMemoryBasic_mach build on iOS. r=billm 2015-09-22 13:59:00 -04:00
Nicholas Nethercote
9fbcfd2676 Bug 1206558 (part 6) - Factor out common libevent moz.build stuff. r=mshal.
Two parts.

- Most of the common stuff goes into the new libeventcommon.mozbuild file.

- A little bit of common bsd/linux stuff factored out in
  ipc/chromium/moz.build.
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
577d9581ad Bug 1206558 (part 5) - Give libevent its own moz.build file. r=mshal.
I originally tried putting it in ipc/chromium/src/third_party/libevent/, but
that directory already has a Makefile.in file, which caused problems, so I
moved it down one directory.
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
c015bca61b Bug 1206558 (part 4) - Factor out include handling in ipc/chromium/moz.build. r=mshal. 2015-09-22 16:24:51 -07:00
Nicholas Nethercote
ebab9af961 Bug 1206558 (part 3) - Move Android-specific code ipc/chromium/moz.build. r=mshal. 2015-09-22 16:24:51 -07:00
Nicholas Nethercote
f80f6110ea Bug 1206558 (part 2) - Move Linux-specific code ipc/chromium/moz.build. r=mshal.
Just so the OS ordering at the top matches the OS ordering at the bottom.
2015-09-22 16:24:51 -07:00
Nicholas Nethercote
2946404c13 Bug 1206558 (part 1) - Combine handling of BSDs in ipc/chromium/moz.build. r=mshal.
Also wrap some overlong comment lines.
2015-09-22 16:24:51 -07:00
Chris Peterson
752223fd52 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Nicholas Nethercote
06ba21d950 Bug 1181026 (part 3) - Fix libevent constants for 32-bit Linux/Mac/BSD builds. r=glandium.
The patch also adds the CHECK_EVENT_SIZEOF macro which checks that the
_EVENT_SIZEOF_* constants have the right values.
2015-09-22 20:01:29 -07:00
Nicholas Nethercote
f7489c8491 Bug 1181026 (part 2) - Clean up libevent patch handling. r=glandium.
Add a missing one to the docs, and move them from their current two locations
into a new patches/ directory.
2015-09-22 19:59:53 -07:00
Nicholas Nethercote
1ac8af8375 Bug 1181026 (part 1) - Reformat libevent's README.mozilla file. r=glandium. 2015-09-22 19:59:27 -07:00
Henry Chang
a33adbfd5a Bug 1163254 - Add signedPkg to OriginAttributes. r=bholley 2015-09-18 15:11:58 +08:00
Nicholas Nethercote
317d515424 Bug 1205942 (part 1) - Fix overflows in time_posix.cc. r=jld.
We get the following warnings with clang.

> ipc/chromium/src/base/time_posix.cc:103:57: error: overflow in expression; result is 0 with type 'long' [-Werror,-Winteger-overflow]
> ipc/chromium/src/base/time_posix.cc:106:58: error: overflow in expression; result is -1000 with type 'long' [-Werror,-Winteger-overflow]

This is a genuine bug. The upstream code in Chromium has changed (commit
2a278516943eee02e0206506a4b907fc0b55f27b) and this patch changes our code to be
similar. I did tests and confirmed that instead of getting 0 or -1 for
|milliseconds|, we now get -2147483648000 or 2147483647999, which is much
better.
2015-09-21 15:35:26 -07:00
Gian-Carlo Pascutto
690b815d50 Bug 1200477 - Allow building with WebRTC disabled. r=glandium,mrbkap 2015-09-18 08:29:14 +02:00
Ehsan Akhgari
c36152e041 Add two missing includes to SharedMemoryBasic_mach.cpp, no bug 2015-09-17 19:35:21 -04:00
Cervantes Yu
0a4726764b Bug 1204405: Don't access prefs off main thread in testing ProcessLink::Open(). r=khuey 2015-09-17 14:40:23 +08:00
Chris Peterson
67cdc93670 Bug 1203232 - Fix -Wshadow warnings in some ipc/chromium headers. r=njn 2015-09-13 02:06:14 -07:00
Carsten "Tomcat" Book
c50c192408 Merge mozilla-central to b2g-inbound 2015-09-15 15:13:57 +02:00
Thomas Zimmermann
eb398dc2fc Bug 1203092: Remove void pointers from Bluetooth's daemon backend, r=shuang 2015-09-15 12:55:02 +02:00
Thomas Zimmermann
196b6777fd Bug 1203092: Add |DaemonSocketResultHandler| base class to HAL IPC, r=shuang 2015-09-15 12:55:02 +02:00
Nigel Babu
5f54a39503 Backed out changeset 23cb9eb406f9 (bug 1203092) for build bustage 2015-09-15 15:17:40 +05:30
Nigel Babu
06d7f4fb52 Backed out changeset bed325ace368 (bug 1203092) 2015-09-15 15:17:30 +05:30
Thomas Zimmermann
d84eac9c90 Bug 1203092: Remove void pointers from Bluetooth's daemon backend, r=shuang 2015-09-15 10:38:13 +02:00
Thomas Zimmermann
b0f4ada4bf Bug 1203092: Add |DaemonSocketResultHandler| base class to HAL IPC, r=shuang 2015-09-15 10:38:13 +02:00
Nicholas Nethercote
621898d6f0 Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.
2015-09-14 21:16:37 -07:00
Michael Layzell
a093510d49 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Phil Ringnalda
286c0cfa31 Merge m-c to m-i
CLOSED TREE
2015-09-10 15:30:31 -07:00
Thomas Zimmermann
d688c4f13a Bug 1202386: Output clear HAL IPC errors, r=shuang
This patch improves error logging in the IPC PDU packing and unpacking
code.
2015-09-10 11:32:26 +02:00
Thomas Zimmermann
5808fccd06 Bug 1202386: Add logging macros for HAL IPC, r=shuang
The code for packing and unpacking IPC messages does currently not
output detailed error message. This patch adds macros that display
information about the failed operation and arguments. The overhead
of the macros is small and the fast path can be inlined.
2015-09-10 11:32:26 +02:00
Wes Kocher
6dd486ff0d Merge inbound to central, a=merge CLOSED TREE 2015-09-09 13:47:08 -07:00
David Major
01e086be41 Bug 1188045: Don't delayload xul.dll or nss3.dll on clang-cl builds. r=glandium 2015-09-08 15:07:45 -04:00
Thomas Zimmermann
351e7ad8a6 Bug 1202704: Move Bluetooth's |UnpackPDUInitOp| to generic HAL IPC code, r=shuang 2015-09-09 13:40:26 +02:00
Thomas Zimmermann
39a8523e17 Bug 1202704: Move Bluetooth IPC unpack functions to generic HAL IPC, r=shuang 2015-09-09 13:40:26 +02:00
Thomas Zimmermann
295996a04b Bug 1202704: Move Bluetooth IPC pack functions to generic HAL IPC, r=shuang 2015-09-09 13:40:26 +02:00
Bob Owen
aa4bbfbed6 Bug 1201438: Add non-sandboxed Windows content processes as target peers for handle duplication. r=bbondy 2015-09-08 11:18:12 +01:00
Jacek Caban
bd67a7a508 Bug 1201438 - Fixup for builds with disabled sandbox. 2015-09-09 14:17:12 +02:00
Jan Varga
7634d6acc6 Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); r=baku 2015-09-09 13:15:05 +02:00
Andrea Marchesini
7e0fc5e2de Bug 1201806 - part 1 - Remove OwningSerializedStructuredCloneBuffer and use StructuredCloneIPCHelper everywhere in IPC code, r=smaug 2015-09-09 08:10:32 +01:00
David Major
8eaa4c99a1 Bug 1194834: Don't use static libs on Windows ASan builds. r=glandium 2015-09-10 16:55:15 -04:00
Andrea Marchesini
8cbd09f629 Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug 2015-09-10 21:50:58 +01:00
Ms2ger
d9b7183153 Bug 1200131 - Avoid shadowing members in tuple.h; r=njn 2015-09-10 13:49:19 +02:00
Jed Davis
6f2cd59026 Bug 1201329 - Use AlignedStorage2 instead of char[] for IPDL union members. r=billm
In addition to fixing the alignment, this helps our static analysis
reason about them; see bug for more info.
2015-09-03 21:56:59 -07:00
Cervantes Yu
15fc687f12 Bug 1192255: Clean up ContentParent's observer topics for the Nuwa process. r=khuey 2015-08-14 15:41:54 +08:00