Граф коммитов

3219 Коммитов

Автор SHA1 Сообщение Дата
Bill McCloskey f29390f263 Bug 1222101 - Reorder some thread code (r=jld) a=kwierso
MozReview-Commit-ID: Alg40mu9aU3
2016-03-30 12:20:20 -07:00
Wes Kocher e593da093a Backed out 3 changesets (bug 1253123) for build bustage CLOSED TREE
Backed out changeset f0dd577131c7 (bug 1253123)
Backed out changeset d345149b2169 (bug 1253123)
Backed out changeset 6c8278e8047e (bug 1253123)

MozReview-Commit-ID: HL9U2qqeDnY
2016-03-30 10:20:20 -07:00
Wes Kocher dd58e668a4 Backed out changeset 00f8c8fde8ca (bug 1222101) for build bustage CLOSED TREE
MozReview-Commit-ID: F6PINhcfsF4
2016-03-30 10:19:29 -07:00
Bill McCloskey 5b8924bd94 Bug 1222101 - Reorder some thread code (r=jld) 2016-03-30 09:58:41 -07:00
Bill McCloskey 5ef16752e3 Bug 1253123 - Remove message_router (r=jld) 2016-03-30 09:58:41 -07:00
Bill McCloskey 6dd58aa726 Bug 1253123 - Remove ipc_channel_proxy (r=jld) 2016-03-30 09:58:40 -07:00
Bill McCloskey 2bdeb1e82b Bug 1253123 - Remove ipc_sync_message (r=jld) 2016-03-30 09:58:40 -07:00
Carsten "Tomcat" Book dfee85ecef Merge mozilla-central to mozilla-inbound 2016-04-05 16:54:06 +02:00
Gregor Wagner 12b792e209 Merge b2g-inbound -> mozilla-central. a=tomcat 2016-04-05 10:50:38 +02:00
Gregor Wagner 2c3b158272 Merge 2016-04-04 12:08:53 +02:00
James Cheng c43f377eb6 Bug 1249518 - Make DaemonSocketPDU able to send multiple file descriptors in single unit. r=tzimmermann 2016-03-30 14:58:13 +08:00
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