Ryan VanderMeulen
32aac3cc5d
Bug 1331297 - Update libevent to version 2.0.22-stable. r=jld
...
--HG--
extra : rebase_source : 73804cbcb2930f32ea2125bd382e0ec2169fd95a
2017-01-24 21:58:13 -05:00
Bill McCloskey
4fd9d369d6
Bug 1331804 - Change default IPC message name to make it clearer (r=kanru)
...
MozReview-Commit-ID: 69l9FuqgSTV
2017-01-24 16:34:37 -08:00
Bill McCloskey
ef3d0f1c2e
Bug 1331804 - Add more runnable names (r=ehsan)
...
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Andrew McCreight
a619072cc3
Bug 1332445 - Get rid of SymbolTable::globalScope. r=kanru
...
MozReview-Commit-ID: Ar69yiCqJnT
--HG--
extra : rebase_source : 33a19aaf6f1586bd1c023cfe7637201ea6774301
2017-01-23 10:52:22 -08:00
Andrew McCreight
d6a0e6b709
Bug 1332486, part 3 - Merge CxxType into ImportedCxxType. r=kanru
...
MozReview-Commit-ID: 2lrVvDZJYhD
--HG--
extra : rebase_source : 1049108315123e3ade71d828cca5fc2f5c023a40
2017-01-23 10:45:11 -08:00
Andrew McCreight
656a6d5bf6
Bug 1332486, part 2 - Remove some type predicates that are never used. r=kanru
...
MozReview-Commit-ID: 89S5cZqaguH
--HG--
extra : rebase_source : 599d40bfb53ecdadb57902bcde3ab7c3ef3bb970
2017-01-23 10:42:17 -08:00
Andrew McCreight
44f6bf8952
Bug 1332486, part 1 - Remove the unused BuiltinCxxType. r=kanru
...
MozReview-Commit-ID: JRrWI26xWCy
--HG--
extra : rebase_source : 7be6512436e66075d900477f30057182de34483d
2017-01-23 10:39:39 -08:00
Botond Ballo
cc3459a0d4
Bug 1331495 - Move operator<< overloads for mozilla::Logger inside namespace mozilla. r=froydnj
...
MozReview-Commit-ID: LqAx0zXVkgc
--HG--
extra : rebase_source : df18a96013158d238d505c5791ce176948987e83
2017-01-20 18:21:38 -05:00
Aaron Klotz
a2e223b2f8
Bug 1331687: Overload mscom::RegisterProxy to allow proxy registration from within xul.dll itself; r=jimm
...
MozReview-Commit-ID: EiIS5sOCntb
--HG--
extra : rebase_source : e0c5f6001bc4c85bdf1db10baa748e393df5a031
2017-01-17 13:19:40 -07:00
Kris Maglione
440d6fcd02
Bug 1305162: Part 1a - Separate nsIMIMEInputStream headers from stream data. r=dragana
...
MozReview-Commit-ID: F1qZCBWUNRG
--HG--
extra : rebase_source : 7a4fdab3e4843a042a3d1101c5e58a6bb556ef7a
extra : source : de131f7c1fc1f60db42509aea646ef4540e6c5fe
2017-01-20 15:43:07 -08:00
Mike Hommey
f9c3dd278b
Bug 1332523 - Make the Bootstrap API entry point the same for both dependent and standalone linkage. r=bsmedberg
...
--HG--
extra : rebase_source : 21d9371dfa0a7ed7ff056d8486f28c978df8932d
2017-01-13 07:29:56 +09:00
Wes Kocher
eff114e84c
Backed out 4 changesets (bug 1325299) for frequent Win7VM failures in browser_addonPerformanceAlerts.js a=backout
...
Backed out changeset cac5baad14a1 (bug 1325299)
Backed out changeset 933d06e4b567 (bug 1325299)
Backed out changeset c168221313d6 (bug 1325299)
Backed out changeset dcf71e5e5fc3 (bug 1325299)
MozReview-Commit-ID: DLAtTjf0iPB
2017-01-20 12:46:34 -08:00
Masatoshi Kimura
9929e7d3d2
Bug 1325299 - Don't explicitly set PSAPI_VERSION. r=glandium
...
WINVER=0x0601 implies PSAPI_VERSION=2. We should not mix PSAPI_VERSION.
MozReview-Commit-ID: Ckxel4JNW2x
--HG--
extra : rebase_source : 932c67a3cae063fe4b0c5fec9048e67ce6286ad3
2016-12-30 01:29:52 +09:00
Phil Ringnalda
6f55fab2bf
Merge m-i to m-c, a=merge
2017-01-19 22:04:52 -08:00
John Paul Adrian Glaubitz
942df3d3a4
Bug 1329194 - ipc:chromium: Add platform defines for SH. r=froydnj
2017-01-20 09:12:13 +09:00
Mark Banner
16e6d381ac
Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
...
MozReview-Commit-ID: 62Hp5ISxowJ
--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Wes Kocher
656a71a520
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 2KR6yXYC2xj
2017-01-18 15:39:12 -08:00
Alessio Placitelli
dfe6e0b632
Bug 1330247 - Add ParamTraits<nsAutoString> template specialization in IPCMessageUtils.h. r=froydnj, r=chutten
...
--HG--
extra : rebase_source : 85777fe2ae7c4eee24fd5e8647d2ae85ebb49932
2017-01-17 07:06:00 -05:00
Andrew McCreight
09bbd9cfe3
Bug 1331787 - Make IPDL aborts fatal in release builds. r=billm
...
MozReview-Commit-ID: JSgNXtnjNxv
--HG--
extra : rebase_source : fbe1cbf05b0a7f50c26b57a1800bddbdd6e49469
2017-01-17 15:42:30 -08:00
Mike Hommey
09dc362a61
Bug 1306327 - Use the new XRE Bootstrap API in Desktop Firefox. r=bsmedberg
...
This just wraps all the XRE method calls to go through the Bootstrap API
instead of relying on the XPCOM glue methods.
--HG--
extra : rebase_source : eccbe18b9b21ca1ab6c403515ffd60f0a9174d9c
2016-12-16 11:10:02 +09:00
Mike Hommey
a31c3d964a
Bug 1306327 - Avoid call to NS_DebugBreak from content_process_main(). r=billm
...
We want to avoid calls to XPCOM glue functions, in order to remove them
later on.
--HG--
extra : rebase_source : 505a6f8936339fcf23fba3bbd94cf4dfb22ac761
2017-01-10 17:50:04 +09:00
Mike Hommey
35a7101bda
Bug 1306327 - Use UniquePtr for CreateGMPLoader. r=cpearce
...
--HG--
extra : rebase_source : 9f363a194d63c531f37946d76103cb0ad830c1a3
2016-12-15 16:14:34 +09:00
Cykesiopka
501d857ec4
Bug 1329234 - Remove ipc/keystore/. r=mrbkap
...
This folder only contains B2G specific code, which we can now remove from m-c.
Moreover, it is the last consumer of the Scoped.h NSS types provided by
ScopedNSSTypes.h, so removing the folder makes getting rid of Scoped.h easier.
MozReview-Commit-ID: CawbEv1d4vQ
--HG--
extra : rebase_source : b546e4682583aeffcb1b8609f017f58511473ecb
2017-01-12 00:56:25 +08:00
Chris Peterson
971f368adf
Bug 1330496 - Part 3: Remove other ipc checks for Windows Vista or 7+. r=aklotz
...
MozReview-Commit-ID: 9z5LKw71Veg
--HG--
extra : rebase_source : 34e4edb7f5dd92cdca0ca638398705ded48bd3bc
extra : histedit_source : 06350bb2aa8baf386431e634d63819d87cd18fe1
2017-01-09 21:03:57 -08:00
Chris Peterson
4d95c4db20
Bug 1330496 - Part 1: Remove MOZ_WIN_INHERIT_STD_HANDLES_PRE_VISTA support for inheriting stdout/stderr handles on XP. r=bobowen
...
MozReview-Commit-ID: B7qJdK2sjv5
--HG--
extra : rebase_source : 4053054009359c0a775dae5ad5e24ba74b4c7c7b
extra : amend_source : 3231886a86fd03ac52f3717e22f33a7b4dc41f54
extra : histedit_source : 4533b894f9894bf5c883943bc53b260faa2ae8b1
2017-01-10 23:50:16 -08:00
Jan Beich
ab093993b7
Bug 1329467 - Move remaining *RAII classes from GeckoProfiler under mozilla namespace. r=mstange
...
MozReview-Commit-ID: I8qqGDLJkgo
--HG--
extra : rebase_source : eeda752a75c050e5f88851d7401a462d86c24b80
2017-01-09 22:11:58 +00:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Ryan VanderMeulen
b871240df7
Backed out 7 changesets (bug 1325227) to unblock the backout of bug 1323957.
...
Backed out changeset d6e962b025e6 (bug 1325227)
Backed out changeset 70136ced844e (bug 1325227)
Backed out changeset e21219e9638a (bug 1325227)
Backed out changeset a5d83d2b1632 (bug 1325227)
Backed out changeset f6c6ef5ac42c (bug 1325227)
Backed out changeset 1a604f87a342 (bug 1325227)
Backed out changeset d4827432cbc2 (bug 1325227)
2017-01-11 23:08:45 -05:00
Matt Woodrow
1538ccfee9
Bug 1325227 - Part 2: Add equality operator to FileDescriptor as it is required by IPDL generated structs. r=billm
2017-01-12 15:23:26 +13:00
Thinker K.F. Li
05cd0a68ef
Bug 1325526 - Remove IPC message overhead for TaskTracer being disabled. r=cyu
2017-01-10 19:04:00 +08:00
John Paul Adrian Glaubitz
120b9c868b
Bug 1275204 - ipc:chromium: Use better pre-processor defines for sparc64. r=froydnj
...
Currently, ipc/chromium detects sparc64 by checking whether
__sparc64__ is defined. However, this definition is used on BSD
targets only. Linux targets define both __sparc__ and __arch64__
on sparc64. Since this also works on BSD, rather use __sparc__
and __arch64__ instead of __sparc64__ to detect sparc64 targets.
2017-01-11 16:04:55 +09:00
Wes Kocher
f2afbdd978
Backed out changeset 8da0d71a754c (bug 1325834) for mn-e10s bustage a=backout
...
MozReview-Commit-ID: 85BcTBhW6HY
2017-01-10 17:33:39 -08:00
Aaron Klotz
ab058eb02b
Bug 1325834: Add MOZ_DIAGNOSTIC_ASSERTs to mscom proxy deserialization code; r=jimm
...
MozReview-Commit-ID: 9i4A1SFkyZP
--HG--
extra : amend_source : 408641f3624861d6ce624e4766994dbc3d37e10c
2017-01-10 13:55:32 -07:00
Thinker K.F. Li
3de5fae4cb
Bug 1319669 - Add TaskTracer labels for IPC messages. r=cyu,billm
...
--HG--
extra : rebase_source : e5de9974d2110fa717c5ecfc295110c2d6939cd2
2017-01-09 18:46:00 +01:00
Nathan Froyd
d489d17c87
Bug 1322553
- part 3 - add profiler start/end markers for sync IPC; r=mstange
...
This is gnarly IPDL code, but the generated code is probably easier to
review. Before when sending a sync message, we had:
bool sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
if ((!(sendok__))) {
return false;
}
Now, we have:
bool sendok__;
{
GeckoProfilerTracingRAII syncIPCTracer(
"IPC",
"PJavaScript::Msg_PreventExtensions");
sendok__ = (GetIPCChannel())->Send(msg__, (&(reply__)));
}
if ((!(sendok__))) {
return false;
}
2017-01-07 15:56:49 -05:00
Markus Stange
e8007952db
Bug 1323100 - Use AutoProfilerRegister to register chromium threads with the profiler. r=froydnj
...
MozReview-Commit-ID: 12LS5hqCA2c
--HG--
extra : rebase_source : 13dccf8fe255e59fef60d47dd49218ddaf696694
2016-12-22 00:48:55 +01:00
Markus Stange
923493c3bb
Bug 1323100 - Stop double-registering the IPDL Background thread with the profiler. r=froydnj
...
MozReview-Commit-ID: 2BlEhqrxdUz
--HG--
extra : rebase_source : ca2bcb03f0ebf080925ef189b08c54fec702cde5
2016-12-21 23:07:10 +01:00
Bill McCloskey
132483934d
Bug 1304266 - Remove libevent workaround for MacOS 10.4 bug (r=dvander)
...
MozReview-Commit-ID: 1U1TLlKT7aa
2017-01-03 19:51:33 -08:00
Masatoshi Kimura
5aabeea338
Bug 1325217 - Remove Windows Vista from <supportedOS> manifest. r=jimm
...
MozReview-Commit-ID: BoZo3XKCgv0
--HG--
extra : rebase_source : 8ad6fa7d6fcc3741e308287a57471f61dd62f97b
2016-12-22 07:17:30 +09:00
Nathan Froyd
4c04071ffe
Bug 1251936 - followup - add explicit to some Windows-only IPC classes on a CLOSED TREE; r=bustage
2016-12-23 10:22:58 -05:00
Bill McCloskey
563f66dae7
Bug 1318506 - Assign a TabGroup to every PBrowser (r=mystor,ehsan)
...
Every new PBrowser, whether it's created by the parent or the child, needs
to get a TabGroup assigned to it. That way IPC messages for the PBrowser will
be dispatched to that TabGroup.
For new PBrowsers created by the child, we just create a new TabGroup or reuse
the opener's TabGroup.
For PBrowsers created by the parent, the child needs to intercept the
PBrowserConstructor message and assign a TabGroup immediately. PBrowsers created
by the parent never have an opener so we can always create a new TabGroup.
In both cases, the nsGlobalWindow::TabGroupOuter logic needs to be updated to
read the TabGroup out of the IPC code. Otherwise the DOM and IPC code will get
out of sync about TabGroups.
MozReview-Commit-ID: D5iEdgirfvK
2016-12-23 11:48:13 -08:00
Randall Barker
d917acf57f
Bug 1319850 - part 2, Update MessageLoop so that it supports MessagePumpForAndroidUI r=nfroyd
2016-12-23 09:08:29 -08:00
Randall Barker
dd0237f451
Bug 1319850 - part 1, Add MessagePumpForAndroidUI r=nfroyd
2016-12-23 09:08:27 -08:00
Wes Kocher
0992df4676
Backed out 4 changesets (bug 1319850) for android xpcshell bustage a=backout
...
Backed out changeset 15b92bb6d810 (bug 1319850)
Backed out changeset e31107c3f677 (bug 1319850)
Backed out changeset 2a8012945a74 (bug 1319850)
Backed out changeset 8717bea884c9 (bug 1319850)
2016-12-22 18:16:34 -08:00
Randall Barker
260ada35fb
Bug 1319850 - part 2, Update MessageLoop so that it supports MessagePumpForAndroidUI r=nfroyd
2016-12-22 16:15:14 -08:00
Randall Barker
2832f3da83
Bug 1319850 - part 1, Add MessagePumpForAndroidUI r=nfroyd
2016-12-22 16:15:14 -08:00
Ting-Yu Chou
0643b83e9b
Bug 1322465 part 6 - Use explicit/MOZ_IMPLICIT for the unary constructors in ipc/. r=aklotz,Ehsan
...
MozReview-Commit-ID: 6vg1HZaWtS
--HG--
extra : rebase_source : 3d9a0b6ee94d86c6e9346b59a3567071667c5820
2016-12-16 15:56:04 +08:00
Ting-Yu Chou
76cef3b73d
Bug 1322460 - Don't addref/release on the return value of prohibited functions. r=aklotz,Ehsan
...
MozReview-Commit-ID: B0mAMZp5sll
--HG--
extra : rebase_source : fb5e25352089e26172189b9c4f2be8c5553fa5a8
2016-12-14 14:34:26 +08:00
Carsten "Tomcat" Book
d1a09e06c8
Merge mozilla-central to autoland
2016-12-21 17:07:24 +01:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Andrew McCreight
f27d72c33d
Bug 1323468, part 4 - inline |from| in Transition. r=kanru
...
MozReview-Commit-ID: LwcpNikbe2b
--HG--
extra : rebase_source : 25ace3d2f3e408ca48c72f6e8ea11217990a6f12
2016-12-14 11:15:05 -08:00
Andrew McCreight
d0dc5ef0a4
Bug 1323468, part 3 - Change the return type of Transition to void. r=kanru
...
This function either crashes or returns true.
MozReview-Commit-ID: IX2MPbgLal0
--HG--
extra : rebase_source : f199280e2670c2d28357ea67523ae0336c160551
2016-12-14 10:27:22 -08:00
Andrew McCreight
888e432b17
Bug 1323468, part 2 - Pass the message id directly to Transition and eliminate Trigger. r=kanru
...
MozReview-Commit-ID: GU3lXP3eRh6
--HG--
extra : rebase_source : c01247a988cc80cf2739c10a44dc0a971495e528
2016-12-14 10:09:47 -08:00
Andrew McCreight
2a9fd5cd2a
Bug 1323468, part 1 - Remove some unused variables from genTransitionFunc. r=kanru
...
MozReview-Commit-ID: 7aoV1jcO5Sn
--HG--
extra : rebase_source : f184797c0408890f0360651e8c233cef89896515
2016-12-14 09:41:33 -08:00
Carsten "Tomcat" Book
97d9339674
Merge mozilla-central to mozilla-inbound
2016-12-19 16:04:33 +01:00
Markus Stange
d7d6b57c9d
Bug 1323072 - Trace tasks dispatched on Chromium (non-XPCOM) threads. r=sinker
...
MozReview-Commit-ID: GKfPCAspwDz
--HG--
extra : rebase_source : bde6aafe3ef989600d32b771f912871c0819cc44
2016-12-12 17:38:12 -05:00
Gabriele Svelto
0d07ec85af
Bug 1324249 - Do not crash if we can't get the shutdown barrier r=me
2016-12-18 11:20:15 +01:00
Daosheng Mu
94effe3091
Bug 1315896 - Part 2: Remove MOZ_GAMEPAD in Gamepad module; r=ted.mielczarek
...
MozReview-Commit-ID: Hbv6THaI5Rk
--HG--
extra : rebase_source : aa6b247881c45b2d615d5e37576801e91ed77312
2016-12-08 13:00:44 -10:00
Gabriele Svelto
1b8ffd2807
Bug 1293656 - Send crash pings for content crashes complete with stack traces r=bsmedberg
...
* * *
Bug 1293656 - Fix the test_process_error.xul test
2016-10-19 12:51:29 +02:00
Ting-Yu Chou
4f285bd583
Bug 1322458 - Fix kungFuDeathGrip errors that clang plugin reports on Windows. r=aklotz,Ehsan
...
MozReview-Commit-ID: FLTLZSg2yh9
--HG--
extra : rebase_source : e8aad8f35cffb3312e043a4fcec6296371baf432
2016-12-14 16:34:12 +08:00
Andrew McCreight
d00682b3cf
Bug 1321029
- State::__Error is no longer used. r=kanru
...
MozReview-Commit-ID: 3HfwUrcGeTv
--HG--
extra : rebase_source : 67941c9703cba52938c0ba92c69288da95dde54b
2016-11-28 15:39:11 -08:00
Carsten "Tomcat" Book
fd4709f9c1
merge mozilla-inbound to mozilla-central a=merge
2016-12-14 16:41:28 +01:00
Bill McCloskey
67bf1ff2ba
Revert "Bug 1319271 - Return early in Send__delete__ method when Send fails. r=billm"
...
This reverts commit 8807f9ccde574d50a142ac9378890cc7ac5b68e2.
2016-12-13 16:46:32 -08:00
Kan-Ru Chen
4fa8f3b74f
Bug 1319271 - Return early in Send__delete__ method when Send fails. r=billm
...
Only for the async version.
MozReview-Commit-ID: GOVSpzT3JlX
2016-12-07 12:12:43 -10:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Wes Kocher
eff20804f2
Merge m-c to inbound, a=merge
2016-12-02 13:13:05 -08:00
David Major
c66cdc62d8
Bug 1321875: Fix relative lifetimes of lpAttributeList and handlesToInherit in LaunchApp. r=aklotz
...
CreateThreadAttributeList warns:
// Note that the pointer to the HANDLE array ends up embedded in the result of
// this function and must stay alive until FreeThreadAttributeList is called,
// hence it is passed in so the owner is the caller of this function.
but the caller was passing a |handlesToInherit| that was declared inside a block scope that ends before we're finished using lpAttributeList.
This happened to work on MSVC but leads to badness under clang-cl.
+ Bonus fix for a sometimes-uninitialized warning in CreateThreadAttributeList.
MozReview-Commit-ID: 6uu3ICjfj5k
--HG--
extra : rebase_source : 45fd2e4084c80ab60bcf7bee8e1575b40b5b3283
2016-12-02 14:49:41 -06:00
Andrea Marchesini
a9a05a834d
Bug 1318727 - BroadcastChannel should support data URL, r=smaug
2016-11-30 15:13:27 +01:00
Carsten "Tomcat" Book
79b069fae0
Merge mozilla-central to autoland
2016-11-29 16:50:35 +01:00
Carsten "Tomcat" Book
68202ee27c
merge mozilla-inbound to mozilla-central a=merge
2016-11-29 16:47:18 +01:00
Chris Peterson
2246059b1a
Bug 1318833 - Part 2: Remove Silverlight plugin quirk compatibility. r=jimm
2016-11-28 22:51:45 -08:00
Chris Peterson
3cd56b6a87
Bug 1318819 - Remove Google Earth plugin quirk compatibility. r=jimm
2016-11-28 22:48:44 -08:00
Nathan Froyd
2ebbd09068
Bug 1320752 - remove mozilla/Function.h; r=gerald
...
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Andrew McCreight
4bf21b65b7
Bug 1320833 - Only generate State enum case for PFoo::State::__Dying when hasReentrantDelete(). r=kanru
...
MozReview-Commit-ID: DpxXD7y8GpD
--HG--
extra : rebase_source : ae9044309196f8c799674d85ebe0db869b4207f4
2016-11-28 15:49:26 -08:00
Andrew McCreight
5a67cdbd4f
Bug 1320835 - Remove unused _getcallerpath from IPDL's parser.py. r=kanru
...
MozReview-Commit-ID: APiXElSQGQ1
--HG--
extra : rebase_source : e8a3c140ff9594f34e76809c72e2f6567285c455
2016-11-28 14:47:57 -08:00
Phil Ringnalda
109396b4d6
Backed out changeset a9856363aac7 (bug 1319271) for opt Windows crashes in plugin tests
2016-11-25 21:17:57 -08:00
Carsten "Tomcat" Book
9dd582c3dd
Merge mozilla-central to autoland
2016-11-29 11:50:17 +01:00
Andi-Bogdan Postelnicu
8619265629
Bug 1318335 - Use C++11's override and remove virtual where applicable in ipc/. r=billm
...
MozReview-Commit-ID: 2Ae0htgmM7T
--HG--
extra : rebase_source : 8d98e7f6947f916e8091ca63aeaf838012cdc5ec
2016-11-17 15:12:09 +02:00
Andi-Bogdan Postelnicu
89d204c315
Bug 1318335 - Replace default bodies of special member functions with = default; in ipc/. r=billm
...
MozReview-Commit-ID: GV8abDSyxj5
--HG--
extra : rebase_source : 9b33c7f244dc700852bf405bbee5527059fc3928
2016-11-17 15:08:41 +02:00
Andi-Bogdan Postelnicu
bfc72d696d
Bug 1318335 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in ipc/. r=billm
...
MozReview-Commit-ID: K4NAI8HjUd2
--HG--
extra : rebase_source : 9abcb40b9b3ffea07519cc03e892e15b907e6e25
2016-11-17 15:07:35 +02:00
Andi-Bogdan Postelnicu
84bb36a693
Bug 1318335 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in ipc/. r=billm
...
MozReview-Commit-ID: CXLSBRhANNW
--HG--
extra : rebase_source : 2c17b208e688504d34bd7e6aaccad64557afeafd
2016-11-17 15:06:25 +02:00
Andrew McCreight
f91a03949a
Bug 1320755 - Remove dependence of IPDL unit tests on state() method. r=dvander
...
The uses of state() in TestHangs and TestStackHooks only have two
states, depending on how many times the method has been called.
Two uses of state() have to be fixed in TestLatency. Each waits for 5
messages, then resets the state and sends replies.
MozReview-Commit-ID: 7Glj7wbl1ni
--HG--
extra : rebase_source : 55a88a9b31b2effc8af5629262a5f4d34987ba40
2016-11-23 15:21:58 -08:00
Andrew McCreight
ced5e33c0a
Bug 1319910 - Crash child, not parent, on FatalError in TestActorPunning and TestBadActor. r=billm
...
The parent process crashes if it gets a bad message from the child,
but that makes it hard to test. This patch overrides the fatal error
handling method and uses the old behavior, that kills the child.
I copied the code to kill the child from TestHangs.
MozReview-Commit-ID: 3YgqaCgHGI0
--HG--
extra : rebase_source : cbecee2742014e969c641b89833cff5f46b99a33
2016-11-23 13:40:04 -08:00
Andrew McCreight
1cb2f34ca9
Bug 1319595, part 7 - Remove obsolete test. r=billm
...
Bill said it is okay to declare interrupt parent-to-child messages now.
MozReview-Commit-ID: 5Ma6pfkUZmt
--HG--
extra : rebase_source : 68fd3f51a9154136003871425762816593d66139
2016-11-22 16:06:11 -08:00
Andrew McCreight
35d5402bc4
Bug 1319595, part 6 - Fix various IPDL tests. r=billm
...
managerNoCtor.ipdl: Add a message so that parsing doesn't just fail
immediately with a syntax error.
shmem_access_union.ipdl: Remove this test, which involves the
semi-removed ACL feature for shmem.
oldIncludesyntax.ipdl: To be safe, make the protocol more valid by
adding a message.
multimanNonexistentMgrs.ipdl: Make the name of the protocol match the
name of the file.
MozReview-Commit-ID: 9zx5fmAWIIc
--HG--
extra : rebase_source : a5b9b9f19bc0329a06ca4ff8be3ef4b879054dd9
2016-11-22 15:26:08 -08:00
Andrew McCreight
554d2bf9c1
Bug 1319595, part 5 - Rename rpc to interrupt in IPDL error/ unit tests. r=billm
...
Change message annotations from "rpc" to "intr" to match the current
name, and similarly rename the protocols and the files.
MozReview-Commit-ID: Dd9ikvAHMnV
--HG--
extra : rebase_source : 0b2d57ca2c4405319f4ecd6ba2f633128355b381
2016-11-22 15:01:33 -08:00
Andrew McCreight
6d897bf5ca
Bug 1319595, part 4 - Fix type checker handling of end points without qualifiers. r=billm
...
If qname has no quals, then fullname would be None, which breaks the
string concatenation in parentEndpointDecl and childEndpointDecl, even
if no endpoints are declared. This patch uses the short name if there
are no quals, while preserving the behavior that we want to pass None
into declare for fullname.
MozReview-Commit-ID: 9nuO8GWhBRH
--HG--
extra : rebase_source : df7e8b80d06b5cf1d4905624c0a3c4eac6703612
2016-11-22 13:55:59 -08:00
Andrew McCreight
025b63715a
Bug 1319595, part 3 - Allow including a type twice as long as it is from the same file both times. r=billm
...
This patch fixes multipleUsingCxxTypes.ipdl. This is a regression from
bug 918651.
MozReview-Commit-ID: 3ByBvp6FZUe
--HG--
extra : rebase_source : 8038d8662360a8f12e571716eb7c59d2b3754508
2016-11-22 14:25:04 -08:00
Andrew McCreight
175c88a5d3
Bug 1319595, part 2 - Add async annotations to IPDL unit tests. r=billm
...
As of bug 1240871 these are no longer optional.
MozReview-Commit-ID: 2r2uxJP9dDr
--HG--
extra : rebase_source : 6ca55ae336a7c7d37764b657333e331f3b6158c9
2016-11-22 14:05:19 -08:00
Andrew McCreight
05edbf70f3
Bug 1319595, part 1 - Remove IPDL error tests involving state machine or bridge/open. r=billm
...
MozReview-Commit-ID: 4TUWBGzh3eJ
--HG--
extra : rebase_source : 1e7bed9deaec652e7aafab03860e58a2c3b10716
2016-11-22 14:01:34 -08:00
Kan-Ru Chen
f58e35a5a9
Bug 1319271 - Return early in Send__delete__ method when Send fails. r=billm
...
MozReview-Commit-ID: GOVSpzT3JlX
2016-11-25 10:16:31 +08:00
Bob Owen
8865218aa3
Bug 1147911 Part 9: Ensure file read permissions for file content process on Windows. r=jimm, r=jld
2016-11-24 15:08:32 +00:00
Andrew McCreight
09ae562045
Bug 1319615 - Delete trailing whitespace from some IPDL files. r=billm
...
MozReview-Commit-ID: Jetx4ARsSZZ
--HG--
extra : rebase_source : dca27fc488f1d87ee51d08a32c3f476a62930cb8
2016-11-21 13:33:34 -08:00
Andrew McCreight
f26fee6332
Bug 1319582 - Fix misspelling of hierarchy in IPDL error message. r=billm
...
MozReview-Commit-ID: HmTrQKlA60D
--HG--
extra : rebase_source : 82bf612dd22caf5898d04c8b628de5b645df0863
2016-11-22 15:12:05 -08:00
Mike Hommey
aa465311ee
Bug 1319350 - Add dedicated targets for some one-offs in the build. r=mshal
...
--HG--
extra : rebase_source : 5094663983fbdf4c3f95b685945c6be4cf3b179e
2016-11-22 16:55:58 +09:00
Jed Davis
b00d62db25
Bug 1313808 - Part 3: GC the B2G-specific code in plugin-container.cpp. r=billm
...
If this code were still used, the last patch would have broken it, so
this seems like a good time to remove it, rather than leave known broken
dead code in the tree.
MozReview-Commit-ID: HvCFm7Ndhku
--HG--
extra : rebase_source : 5bc7101a031548a4c6dbe3f417e9059e448b0f9a
2016-11-09 16:21:04 -07:00
Jed Davis
f3cdcb35e5
Bug 1313808 - Part 2: Move SandboxEarlyInit call into libxul. r=glandium,tedd
...
MozReview-Commit-ID: 2EY0wadYhO0
--HG--
extra : rebase_source : 4773cbff758054863293d1fa239c3246eca6dc36
2016-11-08 14:40:44 -07:00
Jed Davis
8f3f056572
Bug 1313808 - Part 1: Move LinuxSandboxStarter back into libxul. r=cpearce,glandium,tedd
...
MozReview-Commit-ID: FAReOZX7Rvn
--HG--
extra : rebase_source : 01d0d1970822b5af6a37ff450ac01408f871237a
2016-11-08 14:23:47 -07:00
Carsten "Tomcat" Book
8b27dda5d1
merge mozilla-inbound to mozilla-central a=merge
2016-11-22 15:53:05 +01:00
Chris Peterson
5142cd4590
Bug 1318833 - Part 4: Remove -allow_heap_execute linker flag that is no longer needed for Silverlight. r=ted
2016-11-21 21:11:30 -08:00