Thinker K.F. Li
86ea3b2d69
Bug 1287392 - Part 3: Pass info of TaskTracer along with IPC messages. r=cyu
...
--HG--
extra : rebase_source : d76de7bae28520e266f1f928e8474837260925c9
2016-11-10 07:59:00 -05:00
Thinker K.F. Li
9f1f17b5dc
Bug 1287392 - Part 1: Fix TaskTracer bugs caused by the changes of IPC. r=khuey, r=bgirard
...
--HG--
extra : rebase_source : d7c6771ada2f19b028760456bd976bf578e58cf6
2016-11-10 07:57:00 -05:00
Gerald Squelart
b500aaacf6
Bug 1316206 - Fix RefPtr assignments from 0 - r=froydnj
...
Giving '0' (literal zero) to RefPtr is now ambiguous, as both
RefPtr(decltype(nullptr)) and RefPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.
MozReview-Commit-ID: A458A4e9for
--HG--
extra : rebase_source : bc4107ce1767329e3dddfe34c55ba79202192e06
2016-11-08 14:34:06 +11:00
Sebastian Hengst
cdcc9e20da
Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
...
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Bill McCloskey
f478d1188c
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 20:34:54 -07:00
Bill McCloskey
b83db28a45
Revert "Bug 1306708 - Rename prio to nested in IPDL (r=dvander)" on a CLOSED TREE
...
This reverts commit b1460c626078afbb9290e7d9ecaf3af605d5e893.
2016-10-04 15:55:19 -07:00
Bill McCloskey
eddd80027c
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 15:28:14 -07:00
Makoto Kato
8edd5c2fd5
Bug 1305690 - GetCurrentProcessArchitecture should return cpu type on aarch64. r=billm
...
MozReview-Commit-ID: 7kwpZ6cbqfk
--HG--
extra : rebase_source : 65c4a9a9e36948ecaec52abbd07bc94d66f867d3
2016-09-27 20:42:29 +09:00
Kan-Ru Chen
99748028a6
Bug 1051567 - Make sure we resend file descriptors for the first chunk of a message. r=billm
...
Check if the buffers iterator was never consumed. This is a regression
introduced when converting ipc to use BufferList in bug 1262671.
MozReview-Commit-ID: LWAoVlI5CKJ
--HG--
extra : rebase_source : c4f16f4f90f56153c10cf1d9113c4c55748595f0
2016-08-30 18:26:59 +08:00
Kan-Ru Chen
c49f09db99
Bug 1297981 - Delete BufferList::FlattenBytes and Pickle::FlattenBytes. r=billm
...
MozReview-Commit-ID: G3a4DN4Lovi
--HG--
extra : rebase_source : 17818efb7578117b708636d06e6a2f5d14532c94
2016-08-25 17:15:38 +08:00
Makoto Kato
92eed83142
Bug 1288625 - Part 1. Allow compiling of ipc/chromium for Android 64-bit. r=billm
...
MozReview-Commit-ID: Fyv21xmrGXl
--HG--
extra : rebase_source : 5b1248ee9e9c2ca003c06bd6ef889d632acfea50
2016-07-22 15:28:53 +09:00
David Anderson
a8c8bf4196
Add crash-report instrumentation to diagnose bug 1293580. r=billm
2016-08-22 22:52:04 -07:00
Kan-Ru Chen
506dfe6ea3
Bug 1264642 - Part 4. Use BufferList to replace raw buffers in StructuredClone. r=baku r=billm r=jorendorff
...
In JS StructuredClone BufferList<SystemAllocPolicy> is typedef'd to
JSStructuredCloneData and use everywhere in gecko that stores structured
clone data.
This patch changed some raw pointers to UniquePtr<JSStructuredCloneData>
and some to stack allocated JSStructuredCloneData for better life time
management. Some parameters or methods are deleted because of changing
to the new data structure.
MessagePortMessage now has the exactly same structure with
ClonedMessageData. Maybe in the future they can be consolidated.
MozReview-Commit-ID: 1IY9p5eKLgv
2016-08-23 00:40:46 +08:00
Kan-Ru Chen
6f3e6b1234
Bug 1264642 - Part 2. Add BufferList::Extract and Pickle::ExtractBuffers. r=billm
...
These methods allow us to move some buffers out of a pickle with minimum
copying. It's useful when the IPC deserialized type uses BufferList to
store data and we want to take the buffers from IPC directly.
Borrowing is not suitable to use for IPC to hand out data because we
often want to store the data somewhere for processing after IPC has
released the underlying buffers.
MozReview-Commit-ID: F1K2ZMkACqq
2016-08-23 00:40:45 +08:00
Nathan Froyd
9c219dbf17
Bug 1296642 - avoid compiling {Read,Write}Sentinel calls in non-sentinel checking builds; r=billm
...
Pickle::{Read,Write}Sentinel were introduced as a way of catching
problems with corrupted IPDL messages at the point of message
serialization, rather than the point of use of the bad data. The
checking itself is only done on debug or non-release builds, but the
calls to the functions are compiled in regardless of whether checking is
done. While LTO could plausibly optimize away all the calls, we don't
have LTO on all of our platforms, particularly mobile. Therefore, we
should move the non-checking versions of the calls inline, so the
compiler can eliminate those calls entirely, even in non-LTO builds.
2016-08-19 21:22:28 -04:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Alexandre Lissy
0af5b943b6
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Cervantes Yu
8a0ce84d5e
Bug 1253575 - Fallback to DuplicateHandle() when base::OpenPrivilegedProcessHandle() fails when starting a child process. r=krizsa
...
MozReview-Commit-ID: 2nglWFJgfja
--HG--
extra : rebase_source : 01d7b167bc0573c72aa8ef6dac8fce6bb5d4eaef
2016-06-23 17:50:37 +08:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Makoto Kato
9b769d7fc5
Bug 1286158 - Add Android 64bit support for libevent. r=billm
...
MozReview-Commit-ID: E84CVv8IZAE
--HG--
extra : rebase_source : 84210fefb36f7ba35c2d8bf1298acbcdd17f0cdc
2016-07-15 14:28:29 +09:00
Nicholas Nethercote
a913f99107
Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal.
...
Because bug 1282866 removed Qt support but missed a bunch of things.
* * *
Bug 1285554 - more
--HG--
extra : rebase_source : c48d2485f1fdf1c961e08d91651bbca41e3a1a53
2016-07-12 09:16:45 +10:00
Benjamin Smedberg
bf05496a83
Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
...
MozReview-Commit-ID: EGqHHhCD7vD
--HG--
extra : rebase_source : a4b9593959dd3ba80189db47eabb056ea207490f
extra : amend_source : a744d833693f0fe7adbea961c00bb5fb55a91580
2016-07-07 12:14:25 -04:00
David Anderson
e6a98dc91b
Clean up Transport memory management in IPDL. (bug 1283744, r=billm)
2016-07-06 18:51:20 -07:00
Nathan Froyd
d448beedaf
Bug 1282141 - compensate for arc4random_buf not being available on Android; r=jld
...
As a followup to the recent patch that fixed warnings in this area, I
discovered that arc4random_buf actually isn't available on
Android (?)...possibly only when compiling with recent NDKs. This
change enables us to link successfully, as we can use libevent's
home-grown implementation.
2016-06-27 22:41:32 -04:00
Bill McCloskey
c1f8d7875e
Bug 1277705
- Simplify child_thread (r=dvander)
2016-06-24 13:16:49 -07:00
Bill McCloskey
ea68b7ab4e
Bug 1277705
- Remove result_codes (r=dvander)
2016-06-24 13:16:40 -07:00
Bill McCloskey
f70e677000
Bug 1277705
- Remove some child_process code (r=dvander)
2016-06-24 13:16:31 -07:00
Bill McCloskey
0a5b384f55
Bug 1277705
- Remove more notification-related files (r=dvander)
2016-06-24 13:16:22 -07:00
Bill McCloskey
db00162c58
Bug 1277705
- Remove child_process_info (r=dvander)
2016-06-24 13:16:14 -07:00
Bill McCloskey
4045bfae0a
Bug 1277705
- Remove Message::Sender interface (r=dvander)
2016-06-24 13:16:03 -07:00
Bill McCloskey
ae244aacff
Bug 1277705
- Remove child_process_host iter (r=dvander)
2016-06-24 13:15:55 -07:00
Bill McCloskey
cb8a9c03a3
Bug 1277705
- Remove waitable_event_watcher (r=dvander)
2016-06-24 13:15:41 -07:00
Bill McCloskey
e2d2de1ae8
Bug 1277705
- Remove chromium notification service (r=dvander)
2016-06-24 13:15:20 -07:00
Bill McCloskey
f20d7b5ed6
Bug 1277705
- Remove ChildProcessHost::InstanceCreated (r=dvander)
2016-06-24 13:14:55 -07:00
Bill McCloskey
ab96df2b7a
Bug 1268559 - Go back to ContentParent controlling process shutdown (i.e., backout bug 1262898) (r=dvander)
2016-06-24 13:13:45 -07:00
Bill McCloskey
b227db332b
Bug 1268559 - Remove extra EnsureProcessTerminated (r=dvander)
2016-06-24 13:11:42 -07:00
Bill McCloskey
9e69fb1443
Bug 1268559 - Make EnsureProcessTerminated non-blocking on Windows (r=dvander)
2016-06-24 13:10:42 -07:00
Nathan Froyd
e0ab4c059f
Bug 1281596 - fix evutil_rand.c for clang/android builds; r=jld
...
clang apparently dislikes |return func(...)| in a function which returns
void. Remove the return to make everybody happy.
2016-06-23 17:16:25 -04:00
Thomas Zimmermann
97a43c0b93
Bug 1276927: Define HAVE_ANDROID_OS before including 'android_filesystem_config.h', r=fabrice
...
The preprocessor token HAVE_ANDROID_OS configures 'android_filesystem_config.h'
to include the correct header files from the environment.
MozReview-Commit-ID: oKwdjzDjij
2016-06-16 08:43:51 +01:00
Sebastian Hengst
bb691db120
Backed out changeset b6c190b08824 (bug 1276927)
2016-06-15 12:23:52 +02:00
Thomas Zimmermann
565a7b74dc
Bug 1276927: Define HAVE_ANDROID_OS before including 'android_filesystem_config.h', r=fabrice
...
The preprocessor token HAVE_ANDROID_OS configures 'android_filesystem_config.h'
to include the correct header files from the environment.
MozReview-Commit-ID: oKwdjzDjij
2016-06-15 10:59:49 +01:00
Henrik Skupin
73b62156c7
Bug 950401 - Add process logging to OS X / BSD. r=bsmedberg
...
MozReview-Commit-ID: bEPQabbSP1
--HG--
extra : rebase_source : 115312fdb0f29a5914c5dcccb9d7ba7eae943ce0
2016-06-03 18:26:15 +02:00
Julian Seward
e00ffcdc37
Bug 1258183 - TSan: data race toolkit/components/telemetry/Telemetry.cpp in CanRecordBase (part 2, derace). r=chutten.
...
--HG--
extra : rebase_source : 403c8ec419ee8ac2ece248a8395480dbd3018c74
2016-06-08 17:46:24 +02:00
Christoph Diehl
053c555889
Bug 777067 - "Fuzzing: IPC Protocol Definition Language (IPDL) Protocols". r=wmccloskey
...
--HG--
extra : rebase_source : f256b70d6f81f82339e52ab4f6bc2d9b4b751c08
2016-05-30 16:33:00 +02:00
J. Ryan Stinnett
31a7472e66
Bug 1271102 - Revert back to 256 MiB message limit. r=billm
...
It appears to be hard to fix some sources of >128 MiB messages (e.g. IndexedDB),
so revert back to a 256MiB limit for the short term.
MozReview-Commit-ID: Jg2tJnqWOtd
2016-06-07 22:33:18 -05:00
Chris Peterson
11ef78ae89
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
...
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Bill McCloskey
7dbc02ed0f
Bug 1262671 - Use BufferList for Pickle (r=froydnj)
2016-05-27 09:57:41 -07:00
Bill McCloskey
2e4314c9a7
Bug 1262671 - IPC ReadData/ReadBytes elimination (r=froydnj)
2016-05-27 09:57:39 -07:00
Bill McCloskey
b7441af61a
Bug 1262671 - IPC sentinel checking (r=froydnj)
2016-05-27 09:57:38 -07:00
Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
Bill McCloskey
5b7911b430
Bug 1262671 - Remove unused TrimWriteData (r=froydnj)
2016-05-27 09:57:37 -07:00
Bill McCloskey
f159cad060
Bug 1273312 - Add task.h to ipdl unit tests (r=khuey)
2016-05-27 09:57:36 -07:00
Bill McCloskey
1369c6edad
Bug 1273307 - Remove copy constructor/assignment operator for Message/Pickle (r=froydnj)
2016-05-27 09:57:35 -07:00
Alessio Placitelli
d736f36a40
Bug 1145164 - Allow non-unitary increments to count histograms. r=gfritzsche
...
MozReview-Commit-ID: 7HxoGWmm22h
2016-05-10 09:49:00 +02:00
Andrew McCreight
6d6a335801
Bug 1272135, part 3 - Fix mode lines in ipc/chromium/. r=billm
...
This patch was automatically generated by my modeline.py script.
This does not change the modelines for any files in
ipc/chromium/src/third_party/libevent/, which are tab-indented.
2016-05-16 16:03:26 -07:00
Andrew McCreight
294da2e51d
Bug 1272135, part 2 - Delete two weird modelines in ipc/chromium. r=billm
...
This makes the automatic fixing in the next part easier.
2016-05-16 16:03:25 -07:00
Andrew McCreight
c5dcf53b3f
Bug 1272135, part 1 - Fix leading tab usage in ipc/chromium. r=billm
...
These are also detected by my modeline.py script.
2016-05-16 16:03:25 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Kyle Huey
3425031e06
Bug 1269056: Part 2 - Consolidate XPCOM and chromium event queues for non-main nsThreads. r=froydnj
2016-05-12 15:15:43 -07:00
Kyle Huey
c8143d07d7
Bug 1272415: Don't include task.h everywhere. r=froydnj
2016-05-12 15:15:43 -07:00
Kyle Huey
27e718ab4b
Bug 1272418: Remove the completely unused observer_list_threadsafe.h. r=froydnj
2016-05-12 15:15:43 -07:00
Kyle Huey
d3cc4b02b6
Bug 1268160: Assert that PostIdleTask is only used on the main thread. r=jld
2016-05-12 15:15:43 -07:00
Eric Rahm
f8f1218f4e
Bug 1268616 - Part 3: Reduce the maxmimum IPC message size. r=billm
...
This reduces the maximum message size to 128MiB which matches what is done
upstream. The goal is to help reduce OOMs due to overly large messages.
2016-05-04 19:20:19 -07:00
Eric Rahm
1e768352f4
Bug 1268616 - Part 1: Check max message size before resizing. r=billm
2016-05-04 17:25:41 -07:00
Kyle Huey
44cee0989e
Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kyle Huey
156b8c1933
Bug 1268313: Part 4 - Replace NewCancelableRunnableMethod with NS_NewCancelableRunnableMethod. r=froydnj
2016-05-05 01:44:59 -07:00
Kyle Huey
63a71e96b0
Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj
2016-05-05 01:44:59 -07:00
Carsten "Tomcat" Book
f13688180e
Backed out changeset af51821b2fc5 (bug 1268313) for causing very frequent bc7 memory leak
...
--HG--
extra : rebase_source : 0af725bfab61b8f86e0243490aa970535f726503
2016-04-29 14:22:04 +02:00
Carsten "Tomcat" Book
4bb6f48de3
Backed out changeset 6a8d57e8fa8e (bug 1268313)
...
--HG--
extra : rebase_source : 8690897fd41073f22c8b25db5e8ce88df76a2bb7
2016-04-29 14:21:22 +02:00
Carsten "Tomcat" Book
de92769e7e
Backed out changeset 4bcb784492bb (bug 1268313)
...
--HG--
extra : rebase_source : f2f752ab73f5bbf31a909892a0fac0f42c894430
2016-04-29 14:21:18 +02:00
Nicholas Nethercote
2511b2c327
Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
...
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.
MozReview-Commit-ID: 1VS4Dney4WX
--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Huey
12d497cb39
Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
c724d0c867
Bug 1268313: Part 4 - Replace NewCancelableRunnableMethod with NS_NewCancelableRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
e713dbefec
Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
7579799b01
Bug 1266595: Replace Chromium Task with Runnable. r=froydnj
2016-04-27 17:06:05 -07:00
Andrea Marchesini
a9b65ecfb0
Bug 1261094 - Improve how MessageChannel::mInterruptStack is used in IPC code, r=jld
2016-04-28 07:21:49 +08:00
Andrew McCreight
f2d40800c8
Bug 1266578 - OOM crash if malloc fails in ProcessIncomingMessages(). r=billm
...
This allocation is for no more than 32kb, so make it infallible rather than try to recover.
2016-04-21 15:23:25 -07:00
Gabor Krizsanits
ed1fa0cf48
Bug 1263953 - Reduce the growth rate of Pickle. r=wmccloskey
2016-04-21 15:09:35 +02:00
Charles Collicutt
e8aa4cfeed
Bug 1263429 - Don't build libevent with sysctl on Linux. r=billm
2016-04-10 02:19:00 +02:00
Andrew McCreight
fac746e08b
Bug 1265036
- Use NS_ABORT_OOM() if try_realloc() fails. r=billm
...
This will give the crash a proper OOM annotation.
2016-04-16 10:47:46 -07:00
Bill McCloskey
19ff386143
Bug 1263292 - Handle calling realloc(0) (r=jld)
2016-04-14 17:54:03 -07:00
Bill McCloskey
85b6e29755
Bug 1264398 - Avoid extra assign() on windows in IPC code (r=jld)
2016-04-14 17:54:03 -07:00
Andrew McCreight
60582081ac
Bug 1264662 - Record IPC message capacity instead of size. r=billm
...
Capacity includes internal fragmentation, while size does not.
This requires making capacity() public, but that seems benign.
2016-04-14 17:46:52 -07:00
Kyle Huey
84b3f40dbd
Bug 1263314: Remove NonThreadSafe. r=jld
2016-04-11 11:40:06 -07:00
Charles Collicutt
c6f9ac9288
Bug 1261567 - Include compat dir in libevent include path. r=billm
2016-04-11 07:43:48 -07:00
Bill McCloskey
d148e665af
Bug 1235633 - IPC OOM mitigation by eliminating buffer copying (r=jld)
2016-04-07 17:15:26 -07:00
William Chen
303bd1fd42
Bug 1259590
- Remove B2G ACL code. r=khuey
2016-04-07 09:50:01 -07:00
Carsten "Tomcat" Book
1542317855
merge mozilla-inbound to mozilla-central a=merge
2016-04-07 11:52:05 +02:00
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
Kyle Huey
3b346fca73
Bug 1260806: Remove some more dead MessageLoop code. r=jld
2016-04-01 11:28:53 -07: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
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
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
Nathan Froyd
3892c573b6
Bug 1259218 - don't use arc4random_addrandom on Android, since NDK r11 doesn't provide it; r=jld
2016-03-23 16:34:22 -04:00
Jed Davis
97f6d03061
Bug 1257305 - Avoid VS2015 about casting int to void*. r=dvander
...
--HG--
extra : rebase_source : 2c5b56560bbf8fbc666e071f3d55aef6684933a6
2016-03-16 17:47:00 -04:00
Mike Hommey
0a771514a8
Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
...
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Ted Mielczarek
68bd5e8c4d
bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
...
MozReview-Commit-ID: 9ip3qeAXFEe
--HG--
extra : commitid : H6aEkHprVyX
extra : rebase_source : e20d5f4b297caf66711c72cd55dd76f7f9ef9d9c
extra : histedit_source : 47545e0ea61eb66f16545f70e6d3792a389bedb1
2016-02-01 10:49:34 -05:00
sajitk
823704b8d6
Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in various files.r=benjamin
2016-01-28 10:35:00 -08:00
Haik Aftandilian
4c360be8c3
Bug 1236358 - Improper reading of string16 in Pickle::ReadString16. r=jld
...
--HG--
extra : rebase_source : 9f903d0f24e7132ab64c31ef133c2b76d1c3e5fd
2016-03-10 07:49:41 -08:00
Cervantes Yu
c49879aa7a
Bug 1253575 - Annotate the crash report on failure in opening the process handle for plugin or content process. r=billm
2016-03-10 16:07:57 +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
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
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
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
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
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
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
Bill McCloskey
17233773c3
Bug 1240985 - IPC glib deadlock fix (r=jld)
2016-01-20 16:21:16 -08: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
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
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
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
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08: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
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
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
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
huangwenjun
c8f2fb627f
Bug 1218681 - add plugin-container standalone process code. The Code associate with ARCH. r=hev
...
---
dom/plugins/ipc/PluginProcessParent.cpp | 3 +++
ipc/chromium/src/base/process_util.h | 5 ++++-
2 files changed, 7 insertions(+), 1 deletion(-)
2015-10-29 22:19:43 +08:00
Andrew McCreight
6976aecabf
Bug 1089837 - Make IPC::Message use MOZ_COUNT_CTOR/DTOR. r=jld
2015-10-26 12:38:19 -07:00
Nicholas Nethercote
5b34a25af2
Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
...
DONTBUILD because it only changes comments.
This will hopefully prevent confusion like that in bug 1215903.
--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Andrew McCreight
f1620f93e7
Bug 1215151 - Add XPCOM leak checking for base::Thread. r=jld
2015-10-16 09:02:00 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrew McCreight
4d45e43c54
Bug 1213320 - Detect IPC::Channel leaks with the XPCOM leak checker. r=jld
2015-10-14 11:03:47 -07:00
Nicholas Nethercote
399b5d9785
Bug 1205942 (part 5) - Disallow compiler warnings in ipc/chromium. r=jld.
...
--HG--
extra : rebase_source : 2cb59c74558ee2d05decef0b17c39a15338da782
2015-10-01 17:51:49 -07:00
Nicholas Nethercote
e21cd5505a
Bug 1205942 (part 4) - Remove GetWinVersion(). r=jld.
...
Like the last patch, the motivation is to remove a GetVersionEx() call which
triggers deprecation warnings.
Because Windows XP SP2 is the earliest Windows version we support, two of the
existing uses of GetWinVersion() could be removed, because they were checking
for XP or earlier. One other Vista check could be replaced with
mozilla::IsVistaOrLater().
--HG--
extra : rebase_source : 48f032fe92c3897a91866c7ff786a635479c0389
2015-10-01 07:11:30 -07:00