malayaleecoder
3a67285d62
Bug 1256366 - Remove linear and exponential stats collection from histogram.cc. r=gfritzsche
...
--HG--
extra : rebase_source : 0432153cd79b63c1618056988ff354d5a9b1f4ea
2016-04-04 11:58:20 +05:30
George Wright
50500e36f3
Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted
2016-04-04 18:03:33 -04:00
Andrew McCreight
4bd42b6939
Bug 1261099 - Avoid two Message copies in MaybeUndeferIncall. r=billm
2016-04-04 10:13:43 -07:00
Nathan Froyd
697425fd51
Bug 1259428 - part 6 - remove unneeded MessageDecl methods; r=jld
...
msgCast and replyCast were only used for the dodgy casts we removed in
part 2; the msgCxxType was only called by msgCast.
2016-03-28 11:43:54 -04:00
Nathan Froyd
ebe8d01895
Bug 1259428 - part 5 - convert Message subclasses to constructor functions; r=jld
...
All we use our Message subclasses for nowadays is the constructor, so we
might as well strip the class away and just have functions that perform
the construction for us. This change eliminates unnecessary vtables as
well as making the included headers somewhat smaller, which is always
nice.
2016-03-28 11:42:47 -04:00
Nathan Froyd
4d7242a2c4
Bug 1259428 - part 4 - remove prtime.h from generated protocol headers; r=jld
...
This include was only needed for PR_Now(), which is no longer called by
the headers.
2016-03-25 18:27:11 -04:00
Nathan Froyd
9cbbaad4ad
Bug 1259428 - part 3 - remove Log() methods from generated message subclasses; r=jld
...
These are no longer called by anything. The generated Message
subclasses now have no behavior of their own, and can be removed in
subsequent patches.
2016-03-25 17:09:41 -04:00
Nathan Froyd
4a4de50da7
Bug 1259428 - part 2 - remove dodgy static_cast downcasts from logging statements; r=jld
...
Various bits of IPDL code would do something like:
Message* m = ...;
if (m.type() == particular message type) {
static_cast<ParticularMessageType*>(m)->name();
}
The static_cast is a remnant of having to do the downcast to access the
Log() method on the concrete subclass. Since name() is defined on
Message, there's no need for these casts anymore, so let's remove them.
2016-03-25 17:07:26 -04:00
Nathan Froyd
63fe89bd2e
Bug 1259428 - part 1 - don't call Log methods of generated method classes; r=jld
...
The first step to eliminating all the generated Message subclasses the
IPDL compiler spits out is to move the functionality of their Log
methods someplace else. In addition to eliminating the need for the Log
methods, this change has the welcome effect of moving a bunch of code
that would be generated hundreds of times into a single place, which
should reduce code size a bit (debug builds only). We don't actually
remove the generation of the Log methods; that change will be done for a
future patch.
2016-03-25 17:02:38 -04:00
Kyle Huey
3b346fca73
Bug 1260806: Remove some more dead MessageLoop code. r=jld
2016-04-01 11:28:53 -07:00
Bill McCloskey
b3613ec89e
Bug 1260908 - Record IPC message sizes (r=dvander)
2016-04-01 11:22:27 -07:00
Wes Kocher
7db1b1b28a
Backed out 2 changesets (bug 1260908) for build bustage
...
Backed out changeset 5582a25d289d (bug 1260908)
Backed out changeset 9612cef48d43 (bug 1260908)
MozReview-Commit-ID: BKeDiGZ8Z8B
2016-04-01 10:44:27 -07:00
Bill McCloskey
5672f5992c
Bug 1260908 - Record IPC message sizes (r=dvander)
2016-04-01 09:59:19 -07:00
Kartikaya Gupta
f6b5ae39ac
Bug 1257862 - Allow running things from the delayed work queue during a nested event loop. r=khuey,dvander
...
MozReview-Commit-ID: BmLM6j9yFEK
2016-04-01 08:25:40 -04:00
Cervantes Yu
f77c0e8c25
Bug 1258663 - Crash annotate system call failures in the IPC transport. r=gabor
2016-04-01 14:33:52 +08:00
George Wright
5c454494ce
Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer
...
--HG--
rename : ipc/app/module.ver => ipc/app/plugin-container/module.ver
rename : ipc/contentproc/plugin-container.cpp => ipc/contentproc/firefox-webcontent.cpp
2016-04-01 02:12:59 -04:00
Bill McCloskey
61e7e588d1
Bug 1253123 - Remove message_router (r=jld) a=kwierso
...
MozReview-Commit-ID: KYiLsnFFJMA
--HG--
extra : source : f0dd577131c74afcd7118f64a138be78c39ec786
2016-02-15 10:12:39 -08:00
Bill McCloskey
698aacacb8
Bug 1253123 - Remove ipc_channel_proxy (r=jld) a=kwierso
...
MozReview-Commit-ID: CwO2Ufog5qX
--HG--
extra : source : d345149b216921e65dfe6c1ed86cc7c61941bb78
2016-02-15 10:13:46 -08:00
Bill McCloskey
bdd97ae771
Bug 1253123 - Remove ipc_sync_message (r=jld) a=kwierso
...
MozReview-Commit-ID: 9xTyGYXyuTY
--HG--
extra : source : 6c8278e8047ee59720ecafffe1a3c568e10a22e7
2016-02-15 10:09:02 -08:00
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