Phil Ringnalda
a7bc94158c
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: H4VKCYDq5cD
--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Sebastian Hengst
b661f48ef7
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: ipc. r=RyanVM
...
MozReview-Commit-ID: 1CQz6pkTGbn
--HG--
extra : rebase_source : f557d1e271543322eaea6eb4cf19e981f29b91bb
2016-11-05 11:29:20 +01:00
David Anderson
fa968bf690
Make it safe to close an IPC channel that has already been closed by its remote endpoint. (bug 1314816 part 2, r=billm)
2016-11-04 18:31:30 -07:00
Jed Davis
a2d3e4e9f2
Bug 1313218 - Preload libmozsandbox.so in child processes on Linux. r=tedd r=billm r=glandium
...
Preloading libmozsandbox allows the symbol interpositions used by
sandboxing to be defined there instead of statically linked into the
executable; this patch also does that.
MozReview-Commit-ID: FL1QWLSKA0S
--HG--
rename : security/sandbox/linux/interpose/SandboxHooks.cpp => security/sandbox/linux/SandboxHooks.cpp
2016-11-04 18:16:05 -06:00
Wes Kocher
db15df3e50
Merge m-c to inbound, a=merge CLOSED TREE
2016-11-04 15:19:49 -07:00
Jacek Caban
28399d9154
Bug 1263224: cross-compilation fixup.
2016-11-04 15:40:41 +01:00
Aaron Klotz
a7baaddbf0
Bug 1311748: Remove extra pointer dereference from MainThreadHandoff::FixArrayElements; r=jimm
...
MozReview-Commit-ID: 2hLgQ1km07J
--HG--
extra : rebase_source : 371222c8106fd662a4a455117621f22bbc1b3bef
2016-11-03 11:25:26 -06:00
Michelangelo De Simone
6314d37360
Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
...
MozReview-Commit-ID: IEhwzzBgb3x
--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Bill McCloskey
50e4d05346
Bug 1312960 - Associate each message in IPC queue with the runnable that will run it (r=dvander)
2016-10-30 22:04:03 -07:00
Bill McCloskey
a054d4a461
Bug 1312960 - Remove FlushPendingInterruptQueue (r=dvander)
2016-10-30 22:04:02 -07:00
Bill McCloskey
9244a5787d
Bug 1312960 - Use CancelableRunnable for mOnChannelConnectedTask (r=dvander)
2016-10-30 22:04:02 -07:00
Phil Ringnalda
76f5d03bb6
Merge m-c to m-i
...
MozReview-Commit-ID: LUDPZ08eWBo
2016-10-26 18:58:54 -07:00
Phil Ringnalda
4012e61cc3
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: CysKZsvYf69
2016-10-26 18:40:50 -07:00
Jed Davis
dce9969411
Bug 1268733 - Move sandbox interposition shims to their own static library. r=gcp r=glandium
...
This way they'll continue to be at the beginning of the symbol search
path after mozsandbox returns to being a shared library instead of
statically linked into plugin-container.
--HG--
rename : security/sandbox/linux/SandboxHooks.cpp => security/sandbox/linux/interpose/SandboxHooks.cpp
2016-10-26 16:57:18 -06:00
Josh Matthews
9c847a5ac4
Bug 1277681 - Send HTTP request bodies in chunks. r=mayhemer
2016-09-28 18:38:26 -04:00
Carsten "Tomcat" Book
9031c83f32
Merge mozilla-central to autoland
2016-10-26 17:14:27 +02:00
Aaron Klotz
8cfa990adf
Bug 1311834: Make MainThreadInvoker use a spin loop on multiprocessor machines; r=jimm
...
MozReview-Commit-ID: 5xKdm7Z4oKs
--HG--
extra : rebase_source : f71e3b762501d8e24446ba8913c841cfe03a277b
2016-10-25 15:43:40 -06:00
Aaron Klotz
938166ed49
Bug 1310841: Make mscom registration use CoGetClassObject so that COM will retain a reference to the proxy dll; r=jimm
...
MozReview-Commit-ID: GZxbLCC6gVi
--HG--
extra : amend_source : 3cee23be271cfd35860869bd9446a3c95aaa4945
extra : histedit_source : 25a8893fff465ffc50dc95c2a8a5f011f0fd381f
2016-10-25 15:04:47 -06:00
Nathan Froyd
caf3dd0e20
Bug 1312549 - use equality comparison rather than ordered comparison in ~GeckoChildProcessHost; r=billm
...
clang has recently made |x $RELATIONAL_OP 0|, where |x| is a variable of
pointer type, to be an error. On Windows,
GeckoChildProcessHost::mChildProcessHandle is a HANDLE, which is really
just a pointer. So the comparison |> 0| in ~GeckoChildProcessHost is
invalid. Fortunately, we can use an equality comparison here and it
amounts to the same thing.
2016-10-25 23:08:11 -04:00
Ting-Yu Chou
8b0030d0e6
Bug 1312326 - Use StringFromIPCMessageType() instead for better crash annotation. r=kanru
...
MozReview-Commit-ID: 1kElBr0X6W
--HG--
extra : rebase_source : 0c4ba3a1345ab4c0165b69b28591e4cedf8249ff
2016-10-24 12:35:19 +08:00
Ryan VanderMeulen
3079f45ce5
Merge inbound to m-c. a=merge
2016-10-23 20:04:42 -04:00
Michelangelo De Simone
8641036d15
Bug 1310859 - Remove DOM/nfc and related code. r=jst
...
MozReview-Commit-ID: FiS7uGytipN
--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Kan-Ru Chen
1f16719ab5
Bug 1309799 - Change IPC profiler label format to share strings. r=billm
...
MozReview-Commit-ID: FZtb8qLpKYI
--HG--
extra : rebase_source : 4b347cd1da9b7a30b980ce33b9af7ac36146071b
2016-10-20 14:06:14 +08:00
Kan-Ru Chen
2b9f62525d
Bug 1309799 - Make error message more stable. r=billm
...
MozReview-Commit-ID: IzhAfo7eYCC
--HG--
extra : rebase_source : 8c0fffd9dd6b10b48cb14f9393f7eb564322d42b
2016-10-20 22:26:52 +08:00
Kan-Ru Chen
4364802eff
Bug 1309799 - Generate StringFromIPCMessageType and use it in MessageChannel::MaybeHandleError. r=billm
...
MozReview-Commit-ID: HSuAAM0JdjS
--HG--
extra : rebase_source : 0181275a9631f343aedd5a683911d7909fcb5866
2016-10-13 14:18:45 +08:00
George Wright
d7ed342b5e
Bug 1264073 - Remove assertion in SharedMemoryBasic that we didn't initialise fast enough. r=billm
2016-10-21 12:53:00 -04:00
Cervantes Yu
9b89fed177
Bug 1278443 - Part 1: Don't open PBackground actors after PContentChild is closed. r=billm
...
MozReview-Commit-ID: FMtHF3yMQFG
--HG--
extra : rebase_source : 901de005a8f18ea7e406abae48d623fb60537c04
2016-10-04 17:48:46 +08:00
Aaron Klotz
62eaa723f7
Bug 1241921: Remove CreateWindow* hooks from IPC glue; r=jimm
...
MozReview-Commit-ID: 5YZxwMzMrtx
--HG--
extra : rebase_source : f93b1c8041291a3830b30d9a71f269e4814c8bf8
2016-10-17 12:06:58 -06:00
Ting-Yu Chou
7d65559dd1
Bug 1301022 - Add an API for annotating pending IPC messages. r=ted
...
MozReview-Commit-ID: GiAMUnjYjvI
--HG--
extra : rebase_source : a40f81a4878205b5edb71ca8ec2f24dc35c677eb
2016-09-20 14:10:43 +08:00
David Anderson
95f369864c
Add GPU process support to the crash reporting service. (bug 1278717, r=ted)
2016-10-14 23:59:29 -07:00
David Anderson
963b096cac
Use firefox.exe for launching the GPU process on Windows. (bug 1309890, r=jld)
2016-10-13 23:55:07 -07:00
Ben Kelly
4afdb78b8e
Bug 1309823 - Forget file descriptors before starting actor destruction. r=billm
2016-10-14 08:27:28 +02:00
David Anderson
45fe47d352
Add a PCrashReporter alternative that uses shmem instead of IPDL. (bug 1278717 part 1, r=billm)
2016-10-11 14:25:17 -07:00
Ehsan Akhgari
3cc4749e5d
Bug 1309028 - Remove PProcLoader; r=baku
...
The code using this protocol was removed in bug 1284674.
2016-10-11 09:37:46 -04: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
Ting-Yu Chou
35c5bba61c
Bug 1301022 - Back out crash annotations which doesn't work in child process. r=me
...
MozReview-Commit-ID: BMq1lxwDO2u
2016-10-03 10:08:11 +08:00
Bill McCloskey
1f13f73c7f
Bug 1306708 - Add prio() for message priority to IPDL (r=dvander)
2016-10-04 20:34:55 -07: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
f2da85c062
Revert "Bug 1306708 - Add prio() for message priority to IPDL (r=dvander)"
...
This reverts commit 952e64ef2fb51f3e945d92b4ea27be271261e40d.
2016-10-04 15:55:09 -07:00
Bill McCloskey
b001750d48
Revert "Bug 1306708 - Fix rebasing bustage on a CLOSED TREE"
...
This reverts commit cfc7bb2a6a9710dd9963185f264c70950fd5595c.
2016-10-04 15:55:00 -07:00
Bill McCloskey
e7d51e609b
Bug 1306708 - Fix rebasing bustage on a CLOSED TREE
2016-10-04 15:43:34 -07:00
Bill McCloskey
3f54eaa3bc
Bug 1306708 - Add prio() for message priority to IPDL (r=dvander)
2016-10-04 15:28:26 -07:00
Bill McCloskey
eddd80027c
Bug 1306708 - Rename prio to nested in IPDL (r=dvander)
2016-10-04 15:28:14 -07:00
Nathan Froyd
32b4accd77
Bug 1307500 - enhance string sharing between ipdl-generated MOZ_DIAGNOSTIC_ASSERT messages; r=billm
...
For every protocol's RemoveManagee method, and every sub-protocol that
protocol manages, we generate:
MOZ_DIAGNOSTIC_ASSERT(mManagedPSubProtcolChild.Contains(actor), "...");
which dumps strings into the binary like:
(mManagedPAsmJSCacheEntryChild).Contains(actor) (actor not managed by this!)
MOZ_RELEASE_ASSERT((mManagedPAsmJSCacheEntryChild).Contains(actor)) (actor not managed by this!)
The linker is capable of merging multiple strings together, but
including the sub-protocol in every assert expression effectively
defeats this linker optimization, resulting in ~40KB of unnecessary
strings.
We can improve this situation by taking a reference to the managee
container, and using that reference in the assertion expression. All
the assertion expressions are identical, and the linker can perform the
expected string merging, for a savings of ~40KB.
2016-10-04 23:42:55 -04:00
Xidorn Quan
2603d68652
Bug 846566 - Add HiDPI support for plugin-container. r=mstange
...
--HG--
extra : rebase_source : dd3483ff92fdd7f45c10cca5c3097d715591ab17
2014-09-21 16:02:00 +02:00
Matt Woodrow
a8c2c8fb5b
Bug 1297826 - Make FatalError virtual on IPDL generated classes, and propagate calls up to top-level protocols. r=billm
2016-10-04 21:31:25 +13:00
Marco Castelluccio
fd755543b4
Bug 1164133 - Assert that we never send an async high priority message. r=billm
2016-10-01 12:14:49 +01:00
Tooru Fujisawa
1ef63c4562
Bug 1290337 - Part 18: Replace Value parameter to const Value& in ipc. r=smaug
2016-09-11 18:15:24 +09:00
Tooru Fujisawa
215be0c5d2
Bug 1289050 - Part 3: Use UTF8 variant of JS_ReportError after re-encoding string. r=jwalden
2016-08-15 19:20:04 +09:00