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
Andrea Marchesini
a9a05a834d
Bug 1318727 - BroadcastChannel should support data URL, r=smaug
2016-11-30 15:13:27 +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
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
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
Sebastian Hengst
c7964131c3
Backed out changeset 11a036eafea2 (bug 1147911)
2016-11-23 18:32:42 +01:00
Bob Owen
ca93c43645
Bug 1147911 Part 9: Ensure file read permissions for file content process on Windows. r=jimm, r=jld
2016-11-23 13:36:59 +00:00
Bill McCloskey
92bc2d9707
Bug 1317844 - Allow an event target to be specified for each IPC actor (r=dvander)
...
MozReview-Commit-ID: 1xuWFTS8skZ
2016-11-21 17:03:39 -08:00
Bill McCloskey
ce28731f8b
Revert "Bug 1317844 - Allow an event target to be specified for each IPC actor (r=dvander)"
...
This reverts commit 30396b9e84304ad7ee7d5a253ec886325a0f0cbe.
2016-11-21 16:49:44 -08:00
Bill McCloskey
60edaca23d
Bug 1317844 - Allow an event target to be specified for each IPC actor (r=dvander)
...
MozReview-Commit-ID: 1xuWFTS8skZ
2016-11-21 16:43:15 -08:00
Bill McCloskey
a8bd0983dc
Bug 1317844 - Convert IDMap so it can store nsCOMPtr (r=dvander)
...
MozReview-Commit-ID: 5fCM4u1QZLE
2016-11-21 16:43:05 -08:00
Ehsan Akhgari
ccc09b8b6a
Backout bug 1318387 for breaking test_ordering.html on a CLOSED TREE
2016-11-21 17:52:49 -05:00
Carsten "Tomcat" Book
b83681ba76
Merge mozilla-central to mozilla-inbound
2016-11-21 15:46:10 +01:00
Andrea Marchesini
52a4108da2
Bug 1318387 - BroadcastChannel should become active only after the security checks, r=smaug
2016-11-21 15:45:11 +01:00
Wei-Cheng Pan
c3474ba10b
Bug 1046166 - Add sandbox white list for userContent.css on Windows. r=bobowen
...
MozReview-Commit-ID: LQT67vC12y2
--HG--
extra : rebase_source : e090653ecd545b0d6059662a85a558fc925d0a60
2016-11-17 12:02:16 +08:00
Ehsan Akhgari
d07f79a266
Bug 1318210 - Remove nsIAppsService; r=baku
2016-11-17 10:41:36 -05:00
Ehsan Akhgari
dc33b55d94
Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku
2016-11-16 14:51:08 -05:00
Carsten "Tomcat" Book
e7ca75286b
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Chris Peterson
cd071486d0
Bug 1317110 - Remove QuickTime plugin quirks handling. r=jimm
2016-11-14 22:08:43 -08:00
Randall Barker
26e454ec14
Bug 1314466 - part 4, update GeckoChildProcessHost to call LaunchAndroidService r=billm
2016-11-14 16:45:23 -08:00
David Anderson
4d70e0e711
Fix MessageChannel when constructed with a broken Transport. (bug 1316473, r=billm)
2016-11-14 14:54:00 -08:00
Andrea Marchesini
9f4ca5a041
Bug 1310483 - Implement nsIURIWithQuery for having query part in simple URI, r=valentin
2016-11-14 13:04:33 +01:00
Sebastian Hengst
a0103a13ec
Backed out changeset a5c68edf3788 (bug 1147911)
2016-11-18 00:58:51 +01:00
Bob Owen
87b58c6a19
Bug 1147911 Part 9: Ensure file read permissions for file content process on Windows. r=jimm, r=jld
2016-11-17 15:48:53 +00:00
Bill McCloskey
1429a6789b
Bug 792652 - Move mId to toplevel protocol (r=dvander)
2016-11-08 15:22:55 -08:00
Bill McCloskey
16cd6076eb
Bug 792652 - Move over toplevel shmem code (r=dvander)
2016-11-08 15:22:54 -08:00
Bill McCloskey
be9065397e
Bug 792652 - Move toplevel actor map to IToplevelProtocol (r=dvander)
2016-11-08 15:22:53 -08:00
Bill McCloskey
ef443ad460
Bug 792652 - Move TakeMinidump to IToplevelProtocol (r=dvander)
2016-11-08 15:22:52 -08:00
Bill McCloskey
a6224b4684
Bug 792652 - Move some channel methods to IToplevelProtocol (r=dvander)
...
Move Open, Close, SetReplyTimeoutMs to IToplevelProtocol.
2016-11-08 15:22:51 -08:00
Bill McCloskey
4e0c0139b2
Bug 792652 - Move over toplevel process ID field (r=dvander)
...
Moves some state to IToplevelProtocol.
2016-11-08 15:22:49 -08:00
Bill McCloskey
57135907a4
Bug 792652 - Remove pointless OnFoo methods (r=dvander)
...
A bunch of these methods just delegate from OnFoo to Foo. Not
sure why we have OnFoo.
2016-11-08 15:22:48 -08:00
Bill McCloskey
bbb256b840
Bug 792652 - Move shmem methods to ProtocolUtils (r=dvander)
...
This patch moves some shmem management code into IProtocol. Someday
maybe we can get rid of IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead.
2016-11-08 15:22:46 -08:00
Bill McCloskey
b47737ed9f
Bug 792652 - Move FatalError to IProtocol (r=dvander)
...
This patch moves FatalError to IProtocol. I had to make a few changes.
- I added a ProtocolName() method to find the name of the protocol.
- I gave the two-argument version of FatalError its own name. Otherwise
C++ doesn't like there to be two virtual methods with the same name
in cases where one is overridden and the other isn't (as happens
in IToplevelProtocol).
2016-11-08 15:22:45 -08:00
Bill McCloskey
12585264a1
Bug 792652 - Add mSide to IProtocol (r=dvander)
...
This patch adds a field to hold ParentSide/ChildSide state. Useful for
later changes.
2016-11-08 15:22:43 -08:00
Bill McCloskey
88c9f678a0
Bug 792652 - Move mChannel to IProtocol (r=dvander)
...
This moves the mChannel field to IProtocol. The toplevel protocol still keeps
its own mChannel field that's a MessageChannel (no pointer).
2016-11-08 15:22:41 -08:00
Bill McCloskey
a4ec434a63
Bug 792652 - Stop generating some simple sub-protocol methods (r=dvander)
...
This moves some of the generated methods in subprotocols that simply defer
to the parent protocol to IProtocol. These methods are still overridden in
the toplevel protocol.
2016-11-08 15:22:39 -08:00
Bill McCloskey
5f55831a5e
Bug 792652 - Store Manager() in IProtocol (r=dvander)
...
This patch stores mManager in IProtocol rather than in each individual
PFoo. It also adds a generic accessor for that field. Note that each
individual protocol still defines a Manager() function that returns
PFooParent or whatever. I tried to get rid of that but it was a lot
of work.
2016-11-08 15:22:38 -08:00
Bill McCloskey
81c169c2a9
Bug 792652 - Remove methods from MessageListener (r=dvander)
...
With this change, MessageChannel stores mListener as an IToplevelProtocol
rather than a MessageListener (which isn't really a useful concept on
its own). The MessageListener methods are split out to IProtocol and
IToplevelProtocol. MessageListener gets deleted. Some of the inline
functions in MessageChannel had to be moved to MessageChannel.cpp since
IToplevelProtocol isn't defined in MessageChannel.h.
2016-11-08 15:22:36 -08:00
Bill McCloskey
5e4a576d00
Bug 792652 - IToplevelProtocol refactoring (r=dvander)
...
Currently toplevel protocols inherit from both IProtocolManager<IProtocol>
and IToplevelProtocol. This change makes IToplevelProtocol inherit from
IProtocol, so now toplevel protocols only inherit from
IToplevelProtocol.
2016-11-08 15:22:35 -08:00
Bill McCloskey
4e78a26c74
Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
...
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 15:22:34 -08:00
Bill McCloskey
d9f445e359
Bug 792652 - Get rid of CloneProtocol (r=dvander)
...
CloneProtocol is leftover code from Nuwa. We can remove it now.
2016-11-08 15:22:33 -08:00
Wes Kocher
4b3d16605a
Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
...
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00