Commit Graph

3067 Commits

Author SHA1 Message Date
Steve Singer
b0cce4be97 Bug 1246501 - Add ppc specific atomic operations to ipc/chromium. r=Waldo 2016-02-13 23:23:50 -05:00
Jan Beich
fc3f917b50 Bug 1252246 - Try to use PTHREAD_PROCESS_SHARED for CrossProcessMutex on more Unices. r=glandium f=kats 2016-02-29 21:34:46 +00:00
Boris Zbarsky
74200640eb Bug 1252212. Make the RIL WorkerRun implemetations not leave exceptions on the JSContext. r=khuey 2016-03-01 13:49:21 -05:00
Makoto Kato
b50302b4db Bug 1250403 - Part 2. Import crbug #354405 for aarch64. r=billm
MozReview-Commit-ID: A3sArb6IE6m
2016-02-28 19:11:09 +09:00
Makoto Kato
b1dec2a718 Bug 1250403 - Part 1. Define ARCH_CPU_ARM64 instead of ARCH_CPU_AARCH64. r=billm
Chromium defines ARCH_CPU_ARM64 and ARCH_CPU_ARM_FAMILY for aarch64.  So we should use it instead.  Because webrtc and sandbox already define it

MozReview-Commit-ID: C7GYnpRryhA
2016-02-28 19:26:18 +09:00
Thomas Zimmermann
c242589952 Bug 1251541: Replace |nsAutoArrayPtr<>| with |UniquePtr<[]>| in Bluetooth interfaces, r=shuang
This patch replaces all instances of |nsAutoArrayPtr<>| in the Bluetooth
interfaces with |UniquePtr<[]>|.

In contrast to |nsAutoArrayPtr<>|, |UniquePtr<[]>| doesn't convert to the
underlying pointer type implicitly. This is a problem for the daemon-socket
runnable, which depend on this feature when calling their operations. To
solve this issue, the patch adds |ConvertArg| for each arguemnt, which does
the conversion explicitly.
2016-02-29 12:15:08 +01:00
Ehsan Akhgari
b9bb25160b Bug 1251226 - Avoid passing a std::wstring through the variadic method; r=bobowen 2016-02-25 11:12:18 -05:00
Lee Salzman
726a9405c8 Bug 1245241 - fix SharedMemoryBasic_android CloseHandle to null out handle. r=billm a=kwierso 2016-02-22 14:47:46 -05:00
Ehsan Akhgari
c6bc3782ac Bug 1188045 - Part 2: Delay-load xul.dll when built with clang-cl
This reverts an earlier work-around for this issue.
2016-02-22 09:55:58 -05:00
Trevor Saunders
b2354a3a6d bug 1249622 - make ThreadData::list_lock_ a StaticMutex r=froydnj
We probably want to convert all of ipc/ to use mozilla mutexs, but this is
 enough to stop creating a static constructor for tracked_object.cc
2016-02-19 15:54:37 -05:00
Lee Salzman
7a5043d903 Bug 1245241 - part 4 - move SharedMemorySysV details into nsShmImage. r=nical 2016-02-18 10:56:15 -05:00
Lee Salzman
e26c137a89 Bug 1245241 - part 3 - remove unused AdoptShmem from IPDL. r=billm 2016-02-18 10:56:15 -05:00
Lee Salzman
f60663a2ce Bug 1245241 - part 2 - remove TYPE_SYSV Shmems from IPDL. r=billm 2016-02-18 10:56:15 -05:00
Lee Salzman
7f444182a3 Bug 1245241 - part 1 - Close Shmem file handles after mapping them when possible to reduce exhaustion issues. r=billm 2016-02-18 10:56:15 -05:00
Cervantes Yu
0b0aa6da47 Bug 1248896 - don't conditional compile on config ENABLE_TESTS in Nuwa. r=khuey 2016-02-18 15:33:59 +08:00
Lee Salzman
b4d0f9533b Bug 1247429 - Warn instead of error if shmem deallocated before IPDL sends it. r=nical 2016-02-16 14:59:01 -05:00
Jan Varga
4a72a437fa Bug 1183959 - Move FlushPendingFileDeletions() from PContent to PBackground; r=khuey 2016-02-10 16:11:25 +01:00
Bogdan Postelnicu
34bd0d345b Bug 1246886 - initialize mMoved in move contructor. r=billm 2016-02-09 11:21:39 +02:00
Bob Owen
82b7ce29e7 Bug 1193861: Log to the process log when launching a sandboxed process on Windows. r=billm 2016-02-09 08:31:18 +00:00
Ehsan Akhgari
86d04bd25d Backout bug 1203096 because the issue that the workaround was trying to solve is still there 2016-02-07 14:46:05 -05:00
Bill McCloskey
91fe068cd8 Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld) 2016-02-05 10:42:38 -08:00
Carsten "Tomcat" Book
8631b41ea8 Backed out changeset 0d358cdf1ce4 (bug 1237458) for bustage 2016-02-05 08:13:50 +01:00
Bill McCloskey
c566d4123c Bug 1210099 - Use diagnostic assert for union discriminator checks (r=jld) 2016-02-04 22:30:06 -08:00
Bill McCloskey
7eaea4b349 Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld) 2016-02-04 22:29:05 -08:00
Thomas Zimmermann
dd1f002311 Bug 1194721: Add helpers for Gonk sensors daemon, r=gsvelto
This patch adds helpers for using the Gonk sensors daemon. The types
and functions allow for packing and unpacking messages of the daemon's
IPC protocol.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
9e517bfd6c Bug 1194721: Add additional PDU pack and unpack functions, r=shuang
This patch adds PDU pack and unpack functions for 64-bit integer
values and floating-point values.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
233170e801 Bug 1194721: Add |DaemonRunnable8|, r=shuang
The runnable template |DaemonRunnable8| runs an operation with 8
arguments.
2016-02-04 12:35:13 +01:00
Thomas Zimmermann
69305db1af Bug 1194721: Add PDU_ prefix to daemon PDU constants, r=shuang
Something defines HEADER_SIZE when including the PDU headers from
hal/gonk. This break the HEADER_SIZE constant in |DaemonSocketPDU|.

This patch adds the prefix PDU_ to all PDU constants.
2016-02-04 12:35:13 +01:00
Carsten "Tomcat" Book
cf462eccf9 Backed out changeset bbadd0a1367d (bug 1194721) 2016-02-03 16:24:31 +01:00
Carsten "Tomcat" Book
4fe2cc7c90 Backed out changeset e7a5a6174748 (bug 1194721) 2016-02-03 16:24:29 +01:00
Carsten "Tomcat" Book
f920cffa2b Backed out changeset 2a5cf57e8b67 (bug 1194721) 2016-02-03 16:24:28 +01:00
Carsten "Tomcat" Book
015290e684 Backed out changeset 2a7dbf51f1e8 (bug 1194721) 2016-02-03 16:24:26 +01:00
Thomas Zimmermann
25e228390d Bug 1194721: Add helpers for Gonk sensors daemon, r=gsvelto
This patch adds helpers for using the Gonk sensors daemon. The types
and functions allow for packing and unpacking messages of the daemon's
IPC protocol.
2016-02-03 15:16:00 +01:00
Thomas Zimmermann
1504ccf0f5 Bug 1194721: Add additional PDU pack and unpack functions, r=shuang
This patch adds PDU pack and unpack functions for 64-bit integer
values and floating-point values.
2016-02-03 15:16:00 +01:00
Thomas Zimmermann
78440c7569 Bug 1194721: Add |DaemonRunnable8|, r=shuang
The runnable template |DaemonRunnable8| runs an operation with 8
arguments.
2016-02-03 15:16:00 +01:00
Thomas Zimmermann
727a5aed92 Bug 1194721: Add PDU_ prefix to daemon PDU constants, r=shuang
Something defines HEADER_SIZE when including the PDU headers from
hal/gonk. This break the HEADER_SIZE constant in |DaemonSocketPDU|.

This patch adds the prefix PDU_ to all PDU constants.
2016-02-03 15:16:00 +01:00
Birunthan Mohanathas
9bed3781f9 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Bill McCloskey
be2f8010b0 Bug 1191145 - Stop blocking scripts when handling IPC messages (r=dvander) 2016-02-01 20:43:29 -08:00
Bob Owen
0755e26b01 Bug 1244774: Correct wchar_t/char16_t VS2015 compilation problem caused by patches for bug 1173371. r=jimm 2016-02-01 19:48:15 +00:00
Nicolas Silva
8bd23218d3 Bug 1208226 - Don't crash when failing to map a segment of shared memory. r=sotaro, billm 2016-02-01 16:11:00 +01:00
Bob Owen
89051014b1 Bug 1173371 Part 3: Add sandbox policy rule to allow read access to the Firefox program directory when it is on a network drive. r=aklotz 2016-02-01 08:59:01 +00:00
Phil Ringnalda
863943dfb7 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
f94b4ff6a2 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Jacek Caban
b9f5d6ea56 Bug 1240589 - Cross compilation fixup. 2016-01-30 17:31:37 +01:00
Xidorn Quan
c08a19f220 Bug 1241901 part 4 - Stop using nsAutoPtr for holding primitive arrays. r=froydnj 2016-01-30 10:33:41 +11:00
Wes Kocher
e5a6b681c9 Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE 2016-01-29 10:15:38 -08:00
Bill McCloskey
8916b1d998 Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
sajitk
faa12dafad Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg 2016-01-28 10:35:00 -05:00
Ehsan Akhgari
62a6bc5451 Bug 1203096 - Remove the clang-cl workaround added in bug 1188045 which seems to be no longer needed 2016-01-28 10:22:49 -05:00
Jed Davis
dd3090f395 Bug 1240911 - Prevent SerializedStructuredCloneBuffer from escaping into the heap. r=amarchesini 2016-01-28 08:43:46 +01:00