Commit Graph

3308 Commits

Author SHA1 Message Date
Thomas Zimmermann
d0fbe5c8f1 Bug 1261307: Convert Unix socket IPC code to |UniquePtr|, r=nfroyd 2016-04-05 13:40:11 +02:00
Thomas Zimmermann
bd8f7f577e Bug 1261307: Convert RIL sockets to |UniquePtr|, r=nfroyd 2016-04-05 13:40:11 +02:00
Thomas Zimmermann
a1ade1d06b Bug 1261307: Convert |StreamSocketConsumer::ReceiveSocketData| to |UniquePtr|, r=nfroyd
|ReceiveSocketData| is a public interface of |StreamSocketConsumer| that
is overloaded by inherited classes. Therefore we convert it separately.
2016-04-05 13:40:11 +02:00
Gregor Wagner
8fc859766a Bug 1254471 - Fix MessageChannel.cpp error unused variable transaction. r=billm 2016-03-08 16:53:43 +01:00
Jonathan Watt
3d09b32ad7 Bug 1253094, part 3 - Stop using DebugOnly for class/struct members in ipc/. r=billm
MozReview-Commit-ID: L16CD7xtn3V
2016-02-26 15:52:07 +00:00
Bill McCloskey
b70d78b809 Bug 1248750 - Eliminate intentional IPC crashes (r=dvander) 2016-03-06 14:38:07 -08:00
Bill McCloskey
f8784ed28b Back out bug 1248750 on a CLOSED TREE 2016-03-04 16:04:41 -08:00
Bill McCloskey
816b25e191 Bug 1248750 - Eliminate intentional IPC crashes (r=dvander) 2016-03-04 14:51:08 -08:00
Bill McCloskey
70bb5a0c46 Bug 1240985 - IPC fuzzer (r=gabor) 2016-03-04 14:51:08 -08:00
Steve Singer
c44a614250 Bug 1246501 - Add ppc specific atomic operations to ipc/chromium. r=Waldo 2016-02-13 23:23:50 -05:00
Kan-Ru Chen
073f4faafd Bug 1258312 - Add crash annotation to EnumSerializer r=jld
MozReview-Commit-ID: DShQTzeFGQc

--HG--
extra : rebase_source : 0e58ceda347d78e1b4598b5f295ce73b5a7bbf63
2016-03-30 12:32:26 +08:00
Kan-Ru Chen
c8fc5be7d5 Bug 1258312 - Make Pickle::Resize infallible r=jld
MozReview-Commit-ID: AfAxXOwOoq1

--HG--
extra : rebase_source : 2abbcda5792d969b7730512b6ea69a99c59b3182
2016-03-30 11:01:20 +08:00
Mike Hommey
d06322ac66 Bug 1257888 - Link chromium mutex-based atomics implementation to webrtc signaling tests. r=froydnj 2016-03-30 07:21:07 +09:00
Ting-Yu Chou
9c7a4ca7f0 Bug 1255968 - Part 1: Let the callback of PeekMessages() to return a boolean to be able to break out the loop. r=dvander
--HG--
extra : rebase_source : 98a2baf9c3926cdb0740979d4cb5c11d7cd6a312
2016-03-28 11:02:18 +08:00
Kyle Huey
d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey
29596ecfff Bug 1258908: Rename TYPE_MOZILLA_UI to TYPE_MOZILLA_PARENT. r=jld 2016-03-28 10:28:14 -07:00
Kyle Huey
20daca1a98 Bug 1258905: Remove a bunch of dead IPC code. r=jld 2016-03-28 10:28:14 -07:00
Jan Beich
f25aa29f5e Bug 1233275 - Copy environment for IPC using NSPR. r=jld
MozReview-Commit-ID: J2kBklLfnib

--HG--
extra : rebase_source : 0cb47586b07af53f9c4efe4df85c9ac5f7b76443
2016-03-24 17:52:40 +00:00
Jan Beich
8d1716d194 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
4cf7f16bdc 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
bbda6e0e32 Bug 1250403 - Part 2. Import crbug #354405 for aarch64. r=billm
MozReview-Commit-ID: A3sArb6IE6m

--HG--
extra : rebase_source : 6dd76bd3e9c4b9a0d3b87f4fd5ef6bec10aa8d70
2016-02-28 19:11:09 +09:00
Makoto Kato
e16e8da9c0 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

--HG--
extra : rebase_source : d51ec0b0b9a4cd6eb85c453a54a556e0db6ee99f
2016-02-28 19:26:18 +09:00
Thomas Zimmermann
0fc8c3e5a1 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
262f630e11 Bug 1251226 - Avoid passing a std::wstring through the variadic method; r=bobowen 2016-02-25 11:12:18 -05:00
Lee Salzman
f4dcfa8838 Bug 1245241 - fix SharedMemoryBasic_android CloseHandle to null out handle. r=billm a=kwierso 2016-02-22 14:47:46 -05:00
Ehsan Akhgari
51460c44b6 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
323e9867c1 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
05c95317a9 Bug 1245241 - part 4 - move SharedMemorySysV details into nsShmImage. r=nical 2016-02-18 10:56:15 -05:00
Lee Salzman
f5674ca6c2 Bug 1245241 - part 3 - remove unused AdoptShmem from IPDL. r=billm 2016-02-18 10:56:15 -05:00
Lee Salzman
d4c87aeb45 Bug 1245241 - part 2 - remove TYPE_SYSV Shmems from IPDL. r=billm 2016-02-18 10:56:15 -05:00
Lee Salzman
41d307c324 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
27e4eadbce Bug 1248896 - don't conditional compile on config ENABLE_TESTS in Nuwa. r=khuey 2016-02-18 15:33:59 +08:00
Lee Salzman
b16506b7f1 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
9b4516ad03 Bug 1183959 - Move FlushPendingFileDeletions() from PContent to PBackground; r=khuey 2016-02-10 16:11:25 +01:00
Bogdan Postelnicu
f0bc5ab6b9 Bug 1246886 - initialize mMoved in move contructor. r=billm
--HG--
extra : rebase_source : b11a58da8d930c768b4500913c2ac303c7425ee8
2016-02-09 11:21:39 +02:00
Bob Owen
ae44a4e6a3 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
cad8b5cc29 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
c52ba119a6 Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld) 2016-02-05 10:42:38 -08:00
Carsten "Tomcat" Book
dfa1a3c8c7 Backed out changeset 0d358cdf1ce4 (bug 1237458) for bustage 2016-02-05 08:13:50 +01:00
Bill McCloskey
c08caf0331 Bug 1210099 - Use diagnostic assert for union discriminator checks (r=jld) 2016-02-04 22:30:06 -08:00
Bill McCloskey
fa01fbff59 Bug 1237458 - Use MOZ_RELEASE_ASSERT for IPC assertions (r=jld) 2016-02-04 22:29:05 -08:00
Thomas Zimmermann
24f81344e9 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
3df84ac272 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
3b094a9795 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
92239ff4ba 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
8c92f9ea36 Backed out changeset bbadd0a1367d (bug 1194721) 2016-02-03 16:24:31 +01:00
Carsten "Tomcat" Book
d0607eace5 Backed out changeset e7a5a6174748 (bug 1194721) 2016-02-03 16:24:29 +01:00
Carsten "Tomcat" Book
ea09a32fab Backed out changeset 2a5cf57e8b67 (bug 1194721) 2016-02-03 16:24:28 +01:00
Carsten "Tomcat" Book
a7bbc5b9ff Backed out changeset 2a7dbf51f1e8 (bug 1194721) 2016-02-03 16:24:26 +01:00
Thomas Zimmermann
3951be0bb5 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
3cd78ac553 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
e612fcd867 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
3dbf835678 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
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Bill McCloskey
c091f01a39 Bug 1191145 - Stop blocking scripts when handling IPC messages (r=dvander) 2016-02-01 20:43:29 -08:00
Bob Owen
3620820c27 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
cd021cdc29 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
3b94d53e47 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
d381b4bca6 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
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Jacek Caban
9e4a3887ed Bug 1240589 - Cross compilation fixup. 2016-01-30 17:31:37 +01:00
Xidorn Quan
dd6be4d4ca Bug 1241901 part 4 - Stop using nsAutoPtr for holding primitive arrays. r=froydnj
--HG--
extra : source : 683ad831dc3e7fc197cbfe1b53665c777b3158ab
2016-01-30 10:33:41 +11:00
Wes Kocher
b9d77f5943 Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE
--HG--
extra : commitid : 7egFNnxx2ut
2016-01-29 10:15:38 -08:00
Bill McCloskey
c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
sajitk
6fdb9b782e Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg
--HG--
extra : rebase_source : 37e8f53a8aa5242058ab8fc867804cbc8940653e
2016-01-28 10:35:00 -05:00
Ehsan Akhgari
7df848228b 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
bef42ef3d4 Bug 1240911 - Prevent SerializedStructuredCloneBuffer from escaping into the heap. r=amarchesini 2016-01-28 08:43:46 +01:00
Bill McCloskey
453e4526b6 Bug 1240985 - Stop returning MsgNotAllowed (r=dvander) 2016-01-27 15:09:05 -08:00
Bill McCloskey
49ec6f0e34 Bug 1240985 - Check WasTransactionCanceled after timeout (and avoid timing out) (r=dvander) 2016-01-27 15:09:04 -08:00
Bill McCloskey
665b58c933 Bug 1240985 - Null out mRecvd if message it corresponds to is cancelled (r=dvander) 2016-01-27 15:09:03 -08:00
Bill McCloskey
9cb4b0e9d5 Bug 1240985 - Always enqueue OnMaybeDequeueOne task when receiving a message (r=dvander) 2016-01-27 15:09:01 -08:00
Bill McCloskey
6d330d1e7d Bug 1240985 - Hold off processing some messages during timeout (r=dvander) 2016-01-27 15:09:00 -08:00
Bill McCloskey
ece4f66221 Bug 1240985 - Make intentional crash happen sooner when cancelling a racy sync message (r=dvander) 2016-01-27 15:08:59 -08:00
Bill McCloskey
681c2be709 Bug 1240985 - Fix some timeout/cancel interactions (r=dvander) 2016-01-27 15:08:58 -08:00
Bill McCloskey
9b71f5ba33 Bug 1240985 - Add mLastError to track sync Send errors better (r=dvander) 2016-01-27 15:08:57 -08:00
Bill McCloskey
25b5bed2af Bug 1240985 - Crash when trying to cancel while dispatching urgent message (r=dvander) 2016-01-27 15:08:54 -08:00
Nicholas Nethercote
26360d6c45 Bug 1239864 (part 9) - Use the new rect iterators in layout/ and ipc/. r=dholbert.
--HG--
extra : rebase_source : d5558c39bd3cfe85ee6f247eea8bab33f2f5027f
2016-01-18 17:20:59 -08:00
Nathan Froyd
90918b40e9 Bug 1243430 - remove stray carriage returns from MessagePump.cpp; r=me
DONTBUILD because whitespace-only changes are trivial.
2016-01-26 11:30:03 -05:00
Wes Kocher
5648c229cc Backed out 10 changesets (bug 1242097, bug 1240985) for near-permafailing in test_plugin_focus.html
Backed out changeset 30f1acd9387f (bug 1240985)
Backed out changeset 6d7f80a057f0 (bug 1240985)
Backed out changeset c3dfc2c674ff (bug 1240985)
Backed out changeset b7f2ce03b34e (bug 1240985)
Backed out changeset 2c0c0ed35656 (bug 1240985)
Backed out changeset 85c8cb422bad (bug 1240985)
Backed out changeset 06b4cb890ab0 (bug 1240985)
Backed out changeset f10c0445c450 (bug 1240985)
Backed out changeset 62eaf89ab82f (bug 1242097)
Backed out changeset b94c1a472d46 (bug 1240985)

--HG--
extra : commitid : 2iDH7HLUMiO
2016-01-26 09:55:59 -08:00
Wes Kocher
28c6b17a8f Backed out changeset 296fd9d50c25 (bug 1240985)
--HG--
extra : commitid : 1uiqg6HJ5kS
2016-01-26 09:55:24 -08:00
Jan de Mooij
ffba220766 Bug 1240985 followup - Make CancelMessage constructor |explicit|. r=bustage, CLOSED TREE 2016-01-26 08:49:48 +01:00
Bill McCloskey
43897699b1 Bug 1240985 - Stop returning MsgNotAllowed (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
004730c364 Bug 1240985 - Check WasTransactionCanceled after timeout (and avoid timing out) (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
3e1276dc1a Bug 1240985 - Null out mRecvd if message it corresponds to is cancelled (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
1ea1154361 Bug 1240985 - Always enqueue OnMaybeDequeueOne task when receiving a message (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
bed9507f92 Bug 1240985 - Hold off processing some messages during timeout (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
20989f2902 Bug 1240985 - Make intentional crash happen sooner when cancelling a racy sync message (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
230e3aab23 Bug 1240985 - Fix some timeout/cancel interactions (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
6c7d6d7d7e Bug 1240985 - Add mLastError to track sync Send errors better (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
27e6da673a Bug 1240985 - Crash when trying to cancel while dispatching urgent message (r=dvander) 2016-01-25 21:49:42 -08:00
Bill McCloskey
dd544927e1 Bug 1240985 - Back out "Stop returning MsgNotAllowed" patch. 2016-01-24 17:31:11 -08:00
Bill McCloskey
548907bd62 Bug 1240985 - Fix transaction ID when sending cancel message 2016-01-24 17:30:51 -08:00
Aaron Klotz
1880f9540d Bug 1240607 - Force CreateWindow hooks to be detours. r=jmathies 2016-01-18 14:17:16 -07:00
Nicholas Nethercote
2e3da0d24d Bug 1241370 - Don't strdup() the message name in InterruptFrame. r=billm.
It's not necessary, because all message names are string literals.

--HG--
extra : rebase_source : 5adc437f4747589ee5e2a8582e2666dc569ef569
2016-01-20 19:00:01 -08:00
Bill McCloskey
0cbd486903 Bug 1240985 - Make sure to queue mDequeueOneTasks after cancellation (r=dvander) 2016-01-21 07:38:27 -08:00
Bill McCloskey
dc169e992e Bug 1240985 - Stop returning MsgNotAllowed (r=dvander) 2016-01-21 07:38:26 -08:00
Bill McCloskey
78d4767d25 Bug 1240985 - Return false when trying to Send while dispatching urgent (r=dvander) 2016-01-21 07:38:25 -08:00
Bill McCloskey
e64d1645e5 Bug 1240985 - Check for cancellation during ProcessPendingRequests (r=dvander) 2016-01-21 07:38:24 -08:00
Bill McCloskey
7ed2dcdf02 Bug 1240985 - Fix bug where mAwaitingSyncReply can be overwritten in Send after Cancel (r=dvander) 2016-01-21 07:38:23 -08:00
Bill McCloskey
596df96eee Bug 1240985 - Fix cancel during timeout (r=dvander) 2016-01-21 07:38:22 -08:00
Bill McCloskey
538d2f8db9 Bug 1240985 - Add some MessageChannel logging (r=dvander) 2016-01-21 07:38:21 -08:00
Bill McCloskey
b336ddb3ad Bug 1240985 - IPC glib deadlock fix (r=jld) 2016-01-21 07:38:20 -08:00
Wes Kocher
7b2fec233a Backed out 9 changesets (bug 1240985) for various Windows build failures CLOSED TREE
Backed out changeset 1a5165c7be18 (bug 1240985)
Backed out changeset 26e6fe3875a5 (bug 1240985)
Backed out changeset b87f893bd6aa (bug 1240985)
Backed out changeset 3fcd50d83821 (bug 1240985)
Backed out changeset 488690ba4c8f (bug 1240985)
Backed out changeset a7eecc68ca20 (bug 1240985)
Backed out changeset 12de76467424 (bug 1240985)
Backed out changeset 34f87cc8ac24 (bug 1240985)
Backed out changeset fddcf8b3b088 (bug 1240985)

--HG--
extra : commitid : HHtLm1o5wWx
2016-01-20 17:22:12 -08:00
Andrew McCreight
4e8ae41af1 Bug 1240985 - Fix variadic macro on Windows. r=bustage CLOSED TREE 2016-01-20 17:05:15 -08:00
Bill McCloskey
d7d6c573c8 Bug 1240985 - Make sure to queue mDequeueOneTasks after cancellation (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
01a23f6bef Bug 1240985 - Stop returning MsgNotAllowed (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
961f4af53c Bug 1240985 - Return false when trying to Send while dispatching urgent (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
adab8ac1e6 Bug 1240985 - Check for cancellation during ProcessPendingRequests (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
6adb2b6441 Bug 1240985 - Fix bug where mAwaitingSyncReply can be overwritten in Send after Cancel (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
227fa04346 Bug 1240985 - Fix cancel during timeout (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
eddd3a1616 Bug 1240985 - Add some MessageChannel logging (r=dvander) 2016-01-20 16:21:16 -08:00
Bill McCloskey
17233773c3 Bug 1240985 - IPC glib deadlock fix (r=jld) 2016-01-20 16:21:16 -08:00
David Rajchenbach-Teller
583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Chris Peterson
0af6cf57f0 Bug 1240589 - Import Chromium's upstream rand_util_win.cc to avoid rand_s() crash. r=jld 2016-01-14 00:53:52 -08:00
Sebastian Hengst
d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Julian Seward
2e5becbc36 Bug 1141565 - TSan: data race ipc/chromium/src/base/histogram.cc:730 Accumulate. r=gfritzsche.
--HG--
extra : rebase_source : 92c8621c1acef3034c20e1ff9d5baa9af0a57784
2016-01-18 17:15:19 +01:00
Carsten "Tomcat" Book
b5e5b490e9 Merge mozilla-central to mozilla-inbound 2016-01-15 11:48:08 +01:00
Carsten "Tomcat" Book
7e52b24fab merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Jocelyn Liu
c6da2ff1c4 Bug 1228546 - Implement peripheral mode support for GATT API. r=brsun, r=mrbkap 2016-01-15 09:50:54 +08:00
Ryan VanderMeulen
065a253bf1 Merge inbound to m-c. a=merge 2016-01-13 20:25:33 -05:00
Carsten "Tomcat" Book
96e23d27b1 Merge mozilla-central to b2g-inbound 2016-01-13 12:00:46 +01:00
Bevis Tseng
9670cbea5b Bug 1236433 - Part 2: Adopt Wrapper in Network Utilities; r=edgar
--HG--
extra : transplant_source : %EC%8B%3C%1C%8C%D49%5B%C5%CB%2BMf%0F%CC%86%FB%0C%A0%BE
2016-01-07 19:02:41 +08:00
Gregory Szorc
86a9f976ba Bug 1239207 - Don't process IPDL when not compiling; r=glandium
IPDL processing takes ~9.4s on my i7-6700K and is the long pole in the
"export" tier for clobber --disable-compile-environment builds. IPDL
shouldn't be needed for these builds.

Disabling IPDL makes artifact builds ~4s faster on my machine.

--HG--
extra : rebase_source : 60aeec636e18380c3258f054e90d1b6c3a16fadf
2016-01-14 23:11:12 -08:00
Christoph Kerschbaumer
071f422450 Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking) 2016-01-14 12:38:15 -08:00
Jed Davis
f45414c2f0 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 14:17:01 -08:00
Lars T Hansen
7490b94ef4 Bug 1231337 - part 4, conditionally enable shared memory for ipc testshell. r=mrbkap
--HG--
extra : rebase_source : ca3549e9091cc0b64abd237a8ac67c675c54dce7
extra : histedit_source : 68569e3c33891f336802c6aee4deaacc77a8e076
2016-01-04 14:54:55 +01:00
Jonathan Kew
4dd68c19df Bug 890156 - patch 7 - Declare that we support Windows per-monitor DPI via the app manifest. r=emk 2015-11-25 19:12:27 +00:00
Nicholas Nethercote
ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Nigel Babu
19bdaf442f Backed out changeset 4ad4623f3840 (bug 1237458) for build bustage ON A CLOSED TREE
--HG--
extra : commitid : HVpJXHDvGIX
2016-01-07 11:51:34 +05:30
Bill McCloskey
e61565a99e Bug 1237458 - Use release assertions in IPC (r=jld) 2016-01-06 21:53:58 -08:00
Bill McCloskey
7372bc6dda Bug 1236635 - Fix compile error in IPC unit tests (r=jld) 2016-01-05 21:59:46 -08:00
Nathan Froyd
ee15c8c814 Bug 1236574 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in SocketBase subclasses; r=tzimmerman 2015-12-06 10:53:37 -05:00
Nick Alexander
d29d7963fa Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium
--HG--
extra : commitid : BJ6pEARC8bF
extra : rebase_source : 6fb8638fc55c0f402fbe011b8fd10904a4681d13
2015-12-23 16:50:47 -08:00
Jeff Walden
5be7be38a1 Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
Chris Peterson
bcbe81d63d Bug 1235234 - Fix unintentional switch fallthrough in ipc/chromium/ found by -Wimplicit-fallthrough warning. r=gcp
ipc/chromium/src/base/process_util_mac.mm:132:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:10:24 -08:00
George Wright
38a0fd26ee Bug 1221540: OS X IPC timeout retry with a longer interval. r=milan
--HG--
extra : commitid : 2p6mF7bRulV
2015-12-24 12:54:07 -05:00
Bill McCloskey
87cc880767 Bug 1223240 - Make it easier to set up top-level protocols (r=jld) 2015-12-23 12:29:39 -08:00
Carsten "Tomcat" Book
719ce6825c merge mozilla-inbound to mozilla-central a=merge 2015-12-23 12:00:09 +01:00
Anup Kumar
77710725de Bug 1201492 - Remove extended_statistics_ok from Telemetry histograms. r=dexter 2015-12-21 08:31:00 +01:00
Jan Beich
fa002c319a Bug 1231123 - Simplify LaunchApp on BSDs by dropping fork/exec version. r=jld
--HG--
extra : transplant_source : 2%08%3De%92%DE%D7%A9%AF%F7%A1%13yU%A2Y%3DiAn
2015-12-03 12:55:41 +00:00
Jan Beich
59274cab04 Bug 1231109 - Drop FreeBSD checks for unsupported versions. r=jld r=jesup
--HG--
extra : transplant_source : P%FC%E3%29%07%05%D4%8DA%A7%89%90%26%B4%D5%E2%60%89%0C%B0
2015-12-03 12:28:22 +00:00
Avi Halachmi
6984fc0759 Bug 1228147: part 1: Add telemetry RecordingEnabled support. r=gfritzsche f=froydnj 2015-12-16 20:06:40 +02:00
Wes Kocher
0f6a2a587a Backed out 2 changesets (bug 1228147) for build failures in histogram.h on a CLOSED TREE
Backed out changeset 35b4ba91e093 (bug 1228147)
Backed out changeset 8a2f45c8d25d (bug 1228147)

--HG--
extra : commitid : Atv8AVyyd9h
2015-12-16 09:27:37 -08:00
Avi Halachmi
8b5b3ca720 Bug 1228147: part 1: Add telemetry RecordingEnabled support. r=gfritzsche f=froydnj 2015-12-16 16:39:57 +02:00
Randell Jesup
f955d91200 Bug 1226200: Don't assume a TCPSocket has only one managee (and rename LoneManagedOrNull) r=jdm 2015-12-22 10:14:23 -05:00
Nathan Froyd
1ed3dc529a Bug 1233061 - add override declarations for MessagePumpForNonMainUIThreads; r=billm
This change silences a small number of warnings when compiling with
clang-cl.  In passing, it also deletes some carriage return characters
that have crept in.
2015-12-16 10:46:06 -05:00
Carsten "Tomcat" Book
6e77ecb62f Backed out changeset 8b4bffb2ce7c (bug 1133073) for bustage on Android 2015-12-21 11:07:48 +01:00
Jed Davis
d93d9fdb20 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands
This removes the Android-only in-Gecko version of PR_DuplicateEnvironment from bug 773414.
2015-12-17 10:10:00 +01:00
Fernando Jimenez
a3d950d1bd Bug 1225121 - [B2G] All the rest of content processes crash if user tries to run app that uses Service Workers after restart. r=baku 2015-11-24 19:38:48 +01:00
chaithanya
4482e6ef5c Bug 1197306 - remove PR_snprintf calls in ipc/; r=froydnj 2015-12-14 13:32:56 -05:00
Paul Bignier
e19d018991 Bug 1188186 - Fix leak of FDs in |CreateTransport|. r=bds
* Coverity's CIDs: 1293112 & 1293113
2015-12-04 00:23:00 +01:00
Jonas Sicking
f7193fdf30 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-06 18:33:15 -05:00
Jonas Sicking
28de02f687 Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-06 18:33:14 -05:00
Sebastian Hengst
774236075d Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking
7fae3fd853 Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly 2015-12-05 01:46:20 -08:00
Jonas Sicking
ff12f48c5a Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb 2015-12-05 01:46:20 -08:00
Lars T Hansen
41a444a198 Bug 1176214 - Part 13: Changes to ipc. r=mrbkap
--HG--
extra : rebase_source : 1ee26bdb0e97b0a494bcc0c534f322d53be85b4e
2015-11-30 08:58:54 +01:00
Jacek Caban
5d8e172cda Bug 1198450 - GCC (mingw) fixup.
--HG--
extra : rebase_source : 5993b8fe1c9ef37e979badb3e6c7f64af165752d
2015-12-01 14:20:41 +01:00
Blake Kaplan
b62a6327bd Bug 1171215 - Compute third-partyness in the loadinfo instead of nsIHttpChannelInternal so that other protocols correctly respect the third-party cookie pref. r=sicking/ckerschb 2015-11-30 13:25:29 -08:00
Andrea Marchesini
80b6696753 Bug 1211266 - Remote blobs coming from a different thread and a different manager must be kept alive until the creation of depending RemoteBlobs is not completed, r=bent, f=gerard-majax 2015-11-28 10:48:28 +00:00
Carsten "Tomcat" Book
358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Yoshi Huang
4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Brad Lassey
709757e7c2 bug 1198450 - Firefox fails to load about:home if Firefox was installed to a folder with non-Latin name r=jimm 2015-11-23 18:27:23 -05:00
Mike Hommey
6a40d83fb7 Bug 1224452 - Straighten up a couple things in some moz.builds. r=gps
We're going to change how e.g. CFLAGS are printed out in backend.mk, and
to fit that model, the data in the corresponding moz.build variables
need to be straightened up.
2015-11-26 08:50:52 +09:00
Mike Hommey
0cc838448f Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE
--HG--
rename : toolkit/components/maintenanceservice/Makefile.in => xpcom/windbgdlg/Makefile.in
2015-11-26 08:38:16 +09:00
Sebastian Hengst
9be17fad9a Backed out changeset 8405467ea7ad (bug 1211266) for static analysis bustage. r=backout on a CLOSED TREE 2015-11-25 21:17:02 +01:00
Andrea Marchesini
c9ba9a819b Bug 1211266 - Remote blobs coming from a different thread and a different manager must be kept alive until the creation of depending RemoteBlobs is not completed, r=bent, f=gerard-majax 2015-11-25 17:48:19 +00:00
Andrea Marchesini
24c720366e Backed out changeset 79004346238d - wrong version of patch for bug 1211266 2015-11-25 17:44:30 +00:00
Ted Mielczarek
879065de9d bug 1223530 - Move MOZ_WINCONSOLE to configure. r=glandium
This patch moves the logic for selecting MOZ_WINCONSOLE out of individual
Makefile.in files and into configure. It also changes config.mk to only
pass -SUBSYSTEM:CONSOLE if MOZ_WINCONSOLE=1. The MSDN docs state that
in the absence of -SUBSYSTEM, the linker will select the proper subsystem
based on whether the program contains [w]main or [w]WinMain, so let it
do that.

One program (windbgdlg) needed a tweak to add a wmain for when MOZ_WINCONSOLE
is defined.

This patch leaves one instance in security/sandbox/win/wow_helper/Makefile.in,
that Makefile has its own separate bug.

--HG--
extra : commitid : 8acDjmfKivj
extra : rebase_source : 03b4fa4c8ae077a894b08f3762ef93541e34ac1a
2015-11-11 06:24:39 -05:00
Andrea Marchesini
bd43353698 Bug 1211266 - Remote blobs coming from a different thread and a different manager must be kept alive until the creation of depending RemoteBlobs is not completed, r=bent, f=gerard-majax 2015-11-25 17:15:16 +00:00
Phil Ringnalda
be3147c152 Back out 94ac8462f124 (bug 1225121) for frequent e10s failures in claim-using-registration.https.html 2015-11-24 20:36:07 -08:00
Wes Kocher
176f927280 Backed out changeset cbc2c8a24438 (bug 1211266) for asan failures in test_fileapi_slice.html
--HG--
extra : commitid : 6n3H2TgzlUO
2015-11-24 13:25:18 -08:00
Andrea Marchesini
8c1cf23ab6 Bug 1211266 - Remote blobs coming from a different thread and a different manager must be kept alive until the creation of depending RemoteBlobs is not completed, r=bent, f=gerard-majax 2015-11-24 19:51:28 +00:00
Fernando Jimenez
fab51fbf3a Bug 1225121 - [B2G] All the rest of content processes crash if user tries to run app that uses Service Workers after restart. r=baku 2015-11-24 19:38:48 +01:00
Jan Varga
736e2d562c Bug 961049 - Part 8: Move getFileReferences() from PContent under new protocol PBackgroundIndexedDBUtils; r=baku 2015-11-22 10:44:33 +01:00
Jan Varga
38ee7f95d8 Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
--HG--
rename : dom/quota/QuotaManager.cpp => dom/quota/ActorsParent.cpp
rename : dom/quota/nsIUsageCallback.idl => dom/quota/nsIQuotaCallbacks.idl
rename : dom/quota/nsIQuotaManager.idl => dom/quota/nsIQuotaManagerService.idl
rename : dom/quota/nsIQuotaRequest.idl => dom/quota/nsIQuotaRequests.idl
2015-11-22 10:43:55 +01:00
Randell Jesup
9c83bc8f96 Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports.  Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Bob Owen
53c9d7290d Bug 1225023: Allow Flash Player to create Adobe\Flash Player and Macromedia\Flash Player directories. r=bbondy 2015-11-17 07:24:34 +00:00
Christoph Kerschbaumer
d9f1276ace Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz) 2015-11-14 19:28:38 -08:00
Jed Davis
64f3bc56b6 Back out 7f6bb9f7e60d (bug 1133073) for bustage. Sorry about that. 2016-01-11 13:29:53 -08:00
Jed Davis
a73c98c3e5 Bug 1133073 - Use PR_DuplicateEnvironment to avoid post-fork malloc on all Linux platforms. r=dhylands 2016-01-11 12:46:50 -08:00
Jan de Mooij
e649af9a9f Bug 1237201 part 4 - Handle Vector OOM in ipc/. r=billm 2016-01-14 15:19:24 +01:00
Nigel Babu
7089beabc7 Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage
--HG--
extra : commitid : ytS8fc4lFu
2016-01-14 08:04:37 +05:30
Ryan VanderMeulen
5115e9b08b Merge m-c to inbound. a=merge 2016-01-13 20:27:12 -05:00
Christoph Kerschbaumer
c42851930c Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking) 2016-01-13 15:51:43 -08:00
Nathan Froyd
c60e0ca4b5 Bug 1221547 - part 1 - enable UnixSocketRawData to take ownership of a passed-in-buffer; r=tzimmerman 2015-11-02 16:13:10 -05:00
Ted Mielczarek
288258a78d bug 1223529 - remove ipc/chromium/Makefile.in. r=gps
--HG--
extra : commitid : H9gHRycMIGd
extra : rebase_source : 0f96f1f1eb9ddea4ba1310637d6ff36312fc3030
2015-11-10 05:51:44 -05:00
Ted Mielczarek
737a624570 Remove some old clobber-workarounds. No bug.
--HG--
extra : commitid : Aq9m2eEAqGo
extra : rebase_source : 84ff27c8a144dca757608d6b59fdc3344fc1afa2
2015-11-09 09:36:35 -05:00
Bill McCloskey
12a5e6cc5d Bug 1221371 - Remove unused Chromium callback code (r=jld) 2015-11-09 10:21:11 -08:00
Bill McCloskey
f8aa3d2562 Bug 1221371 - Switch chromium IPC code to use mozilla::Tuple (r=jld,cpearce,kats) 2015-11-09 10:21:11 -08:00
Mike Hommey
762aba02cd Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00
Mike Hommey
e855ef1662 Bug 1221453 - Use SourcePaths for LOCAL_INCLUDES. r=gps 2015-11-06 09:59:21 +09:00
Nathan Froyd
b693f3ec5a Bug 1222167 - fix initialization order in GeckoChildProcessHost; r=jld
Member fields are supposed to be initialized in the order they are
declared, but the constructor of GeckoChildProcessHost initialized
mDelegate prior to mSandboxLevel.  This is probably harmless, but it
does cause a warning on clang-cl, so let's fix it.
2015-11-05 15:15:19 -05:00
Bill McCloskey
35328ff29a Bug 1215167 - Forbid unsafe browser CPOWs (disabled by default for now) (r=mrbkap) 2015-11-05 13:17:04 -08:00
Wes Kocher
cad6f9789a Backed out changeset 89446bf8d6b8 (bug 1215167) for introducing a hazard
--HG--
extra : commitid : 19K8BX0d4Wz
2015-11-04 16:16:59 -08:00
Bill McCloskey
ac2ca63fc1 Bug 1215167 - Forbid unsafe browser CPOWs (disabled by default for now) (r=mrbkap) 2015-11-04 13:40:15 -08:00
Gerald Squelart
ccb6be36b4 Bug 1214018 - p4: Use machine_id_mac in GMPLoader - r=cpearce
Having HASH_NODE_ID_WITH_DEVICE_ID #defined is enough for GMPLoader to start
using the Mac version of GetRawMachineId.

Note: The stack (that may contain information gathered during GetRawMachineId)
is not erased, so it could theoretically be possible for a compromised GMP to
find out some sensitive user information. Another bug will deal with this.
2015-10-29 16:27:00 +01:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Christoph Kerschbaumer
e15fd3a5f0 Bug 1194052 - Add support for internal redirectchain to loadInfo (r=sicking) 2015-10-31 15:18:59 -07:00