Commit Graph

3757 Commits

Author SHA1 Message Date
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