Commit Graph

2357 Commits

Author SHA1 Message Date
Josh Aas
e16b5fb0a7 Bug 1061994 - remove Chromium worker pools from IPC code. rs=bent 2014-09-02 21:03:04 -05:00
Josh Aas
f55a633995 Bug 1061992 - remove Chromium hmac code from IPC code. rs=bent 2014-09-02 19:33:04 -05:00
Josh Aas
0874e8a3a9 Bug 1061889 - remove Chromium statistics code. rs=bent 2014-09-02 18:04:59 -05:00
Ehsan Akhgari
d8ab3bafa7 Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Josh Aas
92b7a4766b Bustage fix for bug 1059479, CLOSED TREE 2014-09-02 15:48:07 -05:00
Josh Aas
0e7111b882 Bustage fix for bug 1059479, CLOSED TREE 2014-09-02 15:25:29 -05:00
Josh Aas
afbaee0bdb Bug 1059479 - remove Chromium path service and trace events code. r=bent 2014-09-02 14:23:58 -05:00
Kyle Huey
cc3faa67c5 Back out bug 1050122 for causing silent timeouts on emulator mochitests. a=me 2014-09-02 12:05:36 -07:00
Cervantes Yu
fbb99791d2 Bug 1048011 - Fix a race condition that causes PProcLoaderParent leak. r=khuey
--HG--
extra : rebase_source : d0230771da1992fab13681c9b5baa585d334d0cc
2014-08-11 15:50:20 +08:00
Jacek Caban
ebad23c206 Bug 1055655 - Fix warnings turned to errors by bug 1018288 found by mingw build. r=ted,jmathies
--HG--
extra : rebase_source : 2e1d8d0ae697515994b718634f8f8ae9b26b8d80
2014-09-02 11:07:25 +02:00
Ting-Yu Chou
0ba83b9991 Bug 1050122 - Enable Nuwa on debug builds, and kill it if the preference is false. r=khuey 2014-09-01 10:43:39 +08:00
Ehsan Akhgari
548bfead77 Follow-up to bug 1060997 to fix the build bustage 2014-08-31 21:14:53 -04:00
Ehsan Akhgari
4a47ec0f0c Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug 2014-08-31 21:12:55 -04:00
Tim Abraldes
6157602479 bug 1027906. Set delayed token level for GMP plugin processes to USER_RESTRICTED. Whitelist certain files and registry keys that are required for EME plugins to successfully load. r=bobowen. r=jesup. r=bent. 2014-08-29 17:34:26 -07:00
Bob Owen
3f62750874 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Botond Ballo
3adfa2126f Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Nicholas Nethercote
0b39dd481e Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.
--HG--
extra : rebase_source : 250ec1323d4097101a8e0331a2bf7fab59f72b1d
2014-08-27 15:47:27 -07:00
David Major
fe73a6c3fb Bug 1023941 - Part 5: Loader hook to redirect the missing import. r=bsmedberg
--HG--
extra : rebase_source : 7cf2e857f51dcfcc95bb806d49ef13b794f5ba5b
2014-08-28 14:53:38 +12:00
David Major
492c4f4f7d Bug 1023941 - Part 2: Static-link the CRT into plugin-container.exe. r=glandium,f=tabraldes
--HG--
rename : security/sandbox/moz.build => security/sandbox/objs.mozbuild
extra : rebase_source : e0b1515a4729ecfe82a67b6439d9a38453f7556a
2014-08-28 14:50:10 +12:00
Jacek Caban
57c0ae2d2e Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Bobby Holley
16ad956f14 Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Ryan VanderMeulen
a390eae5a3 Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
18e3296080 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Josh Aas
91413d9176 Bug 1011225: Improve e10s process naming on OS X. Patch started by Benoit Girard, completed by Josh Aas. r=njn,benwa 2014-08-26 12:03:09 -05:00
Carsten "Tomcat" Book
0b56bf9838 Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen
cf06b12d8d Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Kyle Huey
128e8af901 Bug 1057402: Fix for non-unified builds. r=me 2014-08-22 10:02:47 -07:00
Kyle Huey
35c5e9c1a5 Bug 1057402: Always log the message type when we hit an IPC protocol error. r=bent 2014-08-22 09:23:01 -07:00
Ben Kelly
706179e216 Bug 1049801 P2 Cancel the DispatchOnChannelConnected runnable when destructing the MessageChannel. r=bent 2014-08-21 14:13:23 -04:00
Ehsan Akhgari
1d23ffefe8 Bug 1053603 - Fix some more bad implicit constructors in the IPC code; r=bent 2014-08-07 21:18:59 -04:00
Ben Kelly
8e1d2af013 Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Ryan VanderMeulen
655d07d1e0 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Andrew Osmond
0c797b1728 Bug 1055316 - Fix unix socket connect backoff scheme such that it will actually backoff. r=tzimmermann 2014-08-18 15:53:00 -04:00
Sotaro Ikeda
a3d499c3e0 Bug 1042387 - Add file descriptors count check r=jrmuizel 2014-08-18 10:55:23 -07:00
Ehsan Akhgari
81e509cdc8 Backed out changeset 0409c8faca80 because of build bustage on a CLOSED TREE 2014-08-18 13:44:59 -04:00
Ehsan Akhgari
03e222d7d9 Add SetProp to the list of windows.h #defined functions that we need to #undef, no bug 2014-08-18 13:19:16 -04:00
Bill McCloskey
ed3db3ed6a Bug 1050604 - Get IPDL tests passing again (r=bent) 2014-08-20 12:49:11 -07:00
Bill McCloskey
8a855c45ec Bug 1051128 - Allow filtering the IPC log by toplevel protocol name (r=bent) 2014-08-20 12:49:11 -07:00
Jim Mathies
ddf66b6c7d Bug 874437 - Only enable ipc sync wait deferred Windows message handling for plugin protocols, everything else should use standard blocking waits. r=bsmedberg 2014-08-15 12:12:37 -05:00
Bobby Holley
7c7704aa07 Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
7c3098f03b Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage. 2014-08-14 17:23:10 -04:00
Bobby Holley
e5da39b71b Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor 2014-08-14 12:54:34 -07:00
Andrew McCreight
ea576cd189 Bug 1024795, part 4 - Use a default value for initializing unions, except for nsTArray. r=bent
This restores the initialization behavior prior to bug 819791, except for the one case that bug requires.
2014-08-13 11:36:15 -07:00
Andrew McCreight
9f889d7856 Bug 1024795, part 3 - Generate nsTArray instead of InfallibleTArray in lower.py. r=bent 2014-08-13 11:36:15 -07:00
Andrew McCreight
1e961c2d40 Bug 1024795, part 2 - static_cast isn't needed for nullptr in IPDL codegen. r=bent
Since bug 1038523, lower.py generates nullptr for NULL, so this cast isn't needed.
2014-08-13 11:36:14 -07:00
Andrew McCreight
d7d7c1de23 Bug 1024795, part 1 - Remove trailing whitespace from lower.py. r=bent 2014-08-13 11:36:14 -07:00
Jim Mathies
87b5b6d62d Bug 1052395 - Improve ipc debug output for unhandled nonqueued Windows messages. r=bent 2014-08-12 14:06:00 -05:00
Jim Mathies
5f02f21733 Bug 1047842 - Pass WM_GETTEXTLENGTH messages in ipc wait for notify calls to DefWindowProc. r=bent 2014-08-13 04:39:47 -05:00
Daniel Holbert
dfc78694b3 Bug 1052758: Remove unused variable 'kWorkScheduled' from message_pump_glib.cc. r=ehsan 2014-08-12 21:46:27 -07:00
Ryan VanderMeulen
552da54d71 Merge inbound to m-c. a=merge 2014-08-11 16:10:07 -04:00
Ben Turner
9dab2c710c Bug 1051521, Fix assertion when OnCloseChannel loses the race with OnChannelError, r=bsmedberg. 2014-08-11 10:09:30 -07:00
Thomas Zimmermann
2361eec5bb Bug 1048093: Delete sent socket-data objects instead of raw data, r=kyle
After successfully sending data, |SocketIOBase::SendPendingData|
deletes the raw data instead of the actual socket-data object. The
behavior is undefined and leads to a segmentation fault.

This patch fixes the bug by deleting the correct object.
2014-08-11 09:36:15 +02:00
Ben Turner
ce0490d6fb Bug 1044322 - Reset the channel listener on the correct thread. r=bsmedberg
CLOSED TREE
2014-08-08 18:19:33 -07:00
Bob Owen
e28a9ae246 Bug 1047509 - Part 13: Replace AutoCxPusher in TestShellCommandParent::RunCallback. r=bholley 2014-08-08 14:01:25 +01:00
Ryan VanderMeulen
7e71862ad0 Backed out changeset 8f9508342de9 (bug 1044322) for mochitest leaks. 2014-08-08 22:18:41 -04:00
Ben Turner
375c5d904d Bug 1044322 - Reset the channel listener on the correct thread, r=bsmedberg. 2014-08-08 18:19:33 -07:00
Bill McCloskey
452b2e5017 Bug 1045847 - Fix review comments 2014-08-08 17:55:22 -07:00
Bill McCloskey
6b7be2d5f6 Bug 1045847 - Initialize sProcessType really, really early (r=khuey) 2014-08-08 17:52:12 -07:00
Andrew McCreight
712ba1042c Bug 1047717 - Don't generate trailing whitespace for IPDL CppDirective's with no |rest|. r=bent 2014-08-06 11:12:00 -04:00
Wes Kocher
ea2ca055ae Merge m-c to inbound on a CLOSED TREE 2014-08-08 14:15:34 -07:00
Kyle Huey
78c0ad791e Bug 1050509: Shut down the KeyStore socket during system shutdown to avoid leaks. r=tdz 2014-08-08 11:11:36 -07:00
Birunthan Mohanathas
1309100133 Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00
Jim Mathies
f26cd7d4ee Bug 1044245: don't track Windows IPC stack frames on non-gui threads r=bsmedberg 2014-08-07 22:21:05 -04:00
Mike Hommey
0f4c5d9244 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Bill McCloskey
b63cf9051e Bug 1042587 - Block scripts when using CPOWs (r=bent) 2014-08-05 21:44:42 -07:00
Bill McCloskey
a83b99df4a Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-08-05 21:43:36 -07:00
Mike Hommey
ec54bf6c1f Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Mike Hommey
8abd4db10f Bug 1045783 - Move OS_LIBS from a passthrough to a more fully supported variable. r=gps 2014-08-06 07:25:05 +09:00
Ehsan Akhgari
e29fefcd3d Bug 1048252 - Fix some bad implicit constructors in chromium IPC code; r=bent 2014-08-05 09:37:28 -04:00
Ehsan Akhgari
76f2cf4fae Backed out changeset 3d47686129ae (bug 1048252) because of build bustage
--HG--
extra : rebase_source : 727e289f47bfc9b1164914edeaf1eddba644cb0d
2014-08-05 09:52:25 -04:00
Ehsan Akhgari
ed7cc54898 Bug 1048252 - Fix some bad implicit constructors in chromium IPC code; r=bent 2014-08-05 09:37:28 -04:00
Ehsan Akhgari
7207465c1b Bug 1047782 - Fix some bad impliciit constructors in netwerk/; r=mcmanus 2014-08-05 09:20:50 -04:00
Ehsan Akhgari
2a5cde4a07 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -04:00
Thinker K.F. Li
aed1ff9a75 Bug 977026 - Part 2: B2G loader. r=khuey, r=cyu
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-30 03:24:00 -04:00
Ryan VanderMeulen
c796b3a015 Merge b2g-inbound to m-c. a=merge 2014-07-31 15:54:07 -04:00
Thomas Zimmermann
ea4744aa25 Bug 1046109: Cleanup |UnixSocketImpl|, r=kyle
This patch cleans up |UnixSocketImpl| and it's file in general. The
patch

 - renames |UnixSocketImpl| to |UnixSocketConsumerIO|,
 - moves method definitions out of class definition,
 - adds const correctness,
 - adds MOZ_FINAL to several classes,
 - moves task classes to a separate location.

No functional changes are performed.
2014-07-31 13:55:30 +02:00
Thomas Zimmermann
ae46aec1d3 Bug 1046109: Add |SocketIOShutdownTask|, r=kyle
|SocketIOShutdownTask| invokes the shutdown procedure for Socket I/O
objects on the I/O thread.
2014-07-31 13:55:30 +02:00
Thomas Zimmermann
e57e07d8d1 Bug 1046109: Add |SocketIOSendTask|, r=kyle
|SocketIOSendTask| moves data from the main thread to the Socket I/O
class on the I/O thread, and invokes the Socket I/O classes sending
methods.
2014-07-31 13:55:30 +02:00
Thomas Zimmermann
8f2f04ce2a Bug 1046109: Add |SocketIOTask|, r=kyle
|SocketIOTask| is a task-class template that holds a reference to
a Socket I/O object. It replaces |UnixSocketImplTask|, which only
supports objects of type |UnixSocketImpl|.
2014-07-31 13:55:29 +02:00
Thomas Zimmermann
5866e150ca Bug 1046109: Add |SocketIOBase|, r=kyle
|SocketIOBase| is a base class for Socket I/O classes. It's not a
requirement, but provides a number of helpful methods for common
I/O operations on the I/O thread.
2014-07-31 13:55:29 +02:00
Thomas Zimmermann
63e43f2cc7 Bug 1046109: Add |SocketIODeleteInstanceRunnable|, r=kyle
|SocketIODeleteInstanceRunnable| deletes a Socket I/O object on the
main thread. This is required to serialize the close operation of
Socket consumers.
2014-07-31 13:55:29 +02:00
Thomas Zimmermann
17664c3055 Bug 1046109: Add |SocketIORequestClosingRunnable|, r=kyle
|SocketIORequestClosingRunnable| notifies the Socket consumer on
the main thread to clean up the Socket I/O object and close the
connection.
2014-07-31 13:55:28 +02:00
Thomas Zimmermann
1e99e98b9c Bug 1046109: Add |SocketIOReceiveRunnable|, r=kyle
|SocketIOReceiveRunnable| sends received data from the Socket I/O
object on the I/O thread to the Socket consumer on the main thread.
2014-07-31 13:55:28 +02:00
Thomas Zimmermann
b7e43001ca Bug 1046109: Add |SocketIOEventRunnable|, r=kyle
|SocketIOEventRunnable| sends a notification from the Socket I/O
object to a Socket consumer on the main thread.
2014-07-31 13:55:28 +02:00
Thomas Zimmermann
244a4a0fdd Bug 1046109: Add |SocketIORunnable|, r=kyle
|SocketIORunnable| is a runnable class template that holds a
reference to a arbitrary Socket I/O object.  |SocketIORunnable|
replaces |UnixSocketImplRunnable|, which only handles objects of
type |UnixSocketImpl|.
2014-07-31 13:55:28 +02:00
Thomas Zimmermann
cf5074b5c5 Bug 1046109: Add |SocketConsumerBase| and inherit |UnixSocketConsumer| from it, r=kyle
|SocketConsumerBase| handles connection state for |UnixSocketConsumer|
and its derived classes. Implementing classes must override a number of
virtual methods, to handle notifications about changes to the state of
the connection.
2014-07-31 13:55:27 +02:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Bill McCloskey
71fa364cba Back out bug 950745 for crashes 2014-07-30 16:19:46 -07:00
Ryan VanderMeulen
fe0282dc8f Merge m-c to inbound on a CLOSED TREE. a=merge 2014-07-30 17:16:05 -04:00
Benoit Jacob
24320668ca Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Mike Hommey
f39ef3e627 Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE. 2014-07-29 14:50:41 +09:00
Wes Kocher
06c9309fec Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Mike Hommey
1e79fe55c2 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
683163413e Merge mozilla-central to b2g-inbound 2014-07-28 16:06:50 +02:00
Thinker K.F. Li
fbe3632a77 Bug 977026 - part 2: B2G loader. r=khuey,cyu
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-25 20:52:00 +02:00
Andrew McCreight
0df81eabb7 Bug 1038966, part 3 - Shmem should use refcounted pointer classes when creating SharedMemory. r=bent 2014-07-25 16:41:25 -07:00
Andrew McCreight
ef962b751a Bug 1038966, part 2 - Rename autoptr methods to refptr in lower.py. r=bent
Rename these before changing the definition to reduce the noise in the next patch.
2014-07-25 16:41:25 -07:00
Andrew McCreight
790609c516 Bug 1038966, part 1 - AllocShmem and AllocUnsafeShmem do not need to use nsAutoPtr. r=bent
Also clean up the generated code a bit.
2014-07-25 16:41:25 -07:00
Ehsan Akhgari
13b9d95037 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Andrew McCreight
d5f17caca4 Bug 1028148, part 2 - SharedMemory does not need COUNT_CTOR/DTOR any more. r=bent 2014-07-28 09:56:55 -07:00
Andrew McCreight
0ea7a4db6a Bug 1028148, part 1 - Make SharedMemory's dtor private. r=bent 2014-07-28 09:56:54 -07:00
Ehsan Akhgari
cfd3e5fccd Bug 1045041 - Mark non-explicit classes created by IPDL to be MOZ_IMPLICIT; r=froydnj 2014-07-28 10:57:17 -04:00
Georg Fritzsche
5251b3061c Bug 1041525 - Remove workaround for GMP SyncRunnable deadlock in Crashreporter::OOPInit() r=jesup 2014-07-24 18:16:08 +02:00
Mike Hommey
ad9b49263a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
71623acdd6 Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
e5c43ef995 Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Randell Jesup
47c5fa426c Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche 2014-07-21 10:24:29 -04:00
Randell Jesup
d61e033d0f Backed out changeset 40954106dc7a (bug 1041525) (incorrect patch landed) 2014-07-21 10:24:25 -04:00
Randell Jesup
3188e08cae Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche 2014-07-21 09:59:13 -04:00
Yoshi Huang
950eba013f Bug 933588 - Part 1: NFC service. r=khuey 2014-02-19 15:14:22 +08:00
Bill McCloskey
f021e199b6 Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-07-17 21:09:45 -07:00
Benjamin Smedberg
77900cedeb Bug 1033522 - Only initialize the Windows Group ID for plugin processes: other process types don't need it. Refactor the saved GRE dir to use a path rather than a non-threadsafe nsIFile object, r=jimm
--HG--
extra : rebase_source : d15c56da6cc5679516b259a6fc7efb31b070f715
2014-07-17 11:15:09 -04:00
Bill McCloskey
8c69e33908 Bug 988251 - Enable sending more than 4 file descriptors in the IPC channel (r=bent) 2014-07-16 23:03:03 -07:00
Tim Abraldes
2271b8aa31 bug 985252. Build sandbox code regardless of whether --enable-content-sandbox/MOZ_CONTENT_SANDBOX is provided. Enable sandboxing of GMP plugins. Enable SandboxBroker to set different security policies for different process types. r=bbondy, r=cpearce, r=bent 2014-07-16 16:01:34 -07:00
Andrew McCreight
0dfd01a627 Bug 1038855, part 3 - Use an nsRefPtr for CrossProcessMutex::mSharedBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
Andrew McCreight
3cdb40997c Bug 1038853 - Use nullptr instead of 0 in Shmem.h and Shmem.cpp. r=bent 2014-07-15 16:51:44 -07:00
Andrew McCreight
03e4432bed Bug 1038523 - Make IPDL generate nullptr for ExprLiteral.NULL. r=bent 2014-07-15 12:46:52 -07:00
Benoit Girard
e7aea75462 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Mike Hommey
07267c6f7f Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Landry Breuil
a39bbba109 Bug 761541 - Don't regenerate third_party/libevent/event.h if already there, avoids relinking libxul.so when nothing changed and building against native libevent. r=glandium 2014-07-10 11:03:41 +02:00
Brian Hackett
36fd110508 Bug 1021790 - "Cleanup naming for scalar and typed array types", r=sfink 2014-06-06 09:36:00 -07:00
Ben Kelly
e6c5c8808f Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-09 17:39:18 -04:00
Wes Kocher
5325f9ea14 Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783 2014-07-08 14:43:46 -07:00
Ben Kelly
c765ce3a6e Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Makoto Kato
db178735aa Bug 1030899 - Undefine _EVENT_HAVE_ISSETUGID. r=josh 2014-07-08 17:52:19 +09:00
Ben Turner
8ac98a3ee4 Bug 1024098, Add some helpers for principal verification with PBackground. r=mrbkap. 2014-07-07 11:13:04 -07:00
Benoit Jacob
b1a267ce24 Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent 2014-07-04 14:04:13 -04:00
Jan de Mooij
3c7459b21a Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Benoit Jacob
fd77d782b0 back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes 2014-07-04 21:24:32 -04:00
Benoit Jacob
5192c5f558 Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent 2014-07-04 14:04:13 -04:00
Carsten "Tomcat" Book
6879f4ea48 merge b2g-inbound to mozilla-central a=merge 2014-07-04 14:01:37 +02:00
Chuck Lee
5a66049c11 Bug 1020212 - Support keystore binder. r=qdot 2014-07-03 15:08:01 +08:00
Ben Kelly
d0ce16a691 Backout 303027a0da95 (bug 1013571) due to persistent oranges (bug 1032011, bug 1032605, bug 1032783) 2014-07-04 00:31:59 -04:00
Ryan VanderMeulen
7189c91e41 Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob
08a9473ef4 Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent 2014-07-03 14:53:35 -04:00
Jed Davis
47d9439554 Bug 956961 - FileDescriptorToFILE should always use its input. r=bent
--HG--
extra : rebase_source : 5b5f0b5367c95ba1eb74ec158a93520675ed63ee
2014-07-02 11:22:40 -07:00
Wes Kocher
f174cd042e Backed out 3 changesets (bug 956961) for non-unified build bustage
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Jed Davis
af58f68bd8 Bug 956961 - FileDescriptorToFILE should always use its input. r=bent
--HG--
extra : amend_source : 60d5d0ca9a9dd57c66e7a250f6f8604820357131
2014-07-02 11:22:40 -07:00
Steve Fink
5c77611361 Bug 1022773 - Switch all JS Compile functions to use MutableHandle, r=terrence
--HG--
extra : rebase_source : e7542a31e4818e6beafd2b1dab096606370534bb
2014-06-25 15:35:35 -07:00
Ben Kelly
e4dd591b98 Bug 1013571 Support PBackground on workers. r=bent 2014-06-27 13:36:25 -07:00
Brian R. Bondy
9886164729 Bug 598615 - Rename HAVE_64BIT_OS to HAVE_64BIT_BUILD. r=ted 2014-06-24 22:16:25 -04:00
Benoit Jacob
c7c640fe78 Bug 1028588 - Fix dangerous public destructors in ipc/ - r=bent 2014-06-23 18:40:03 -04:00
Ryan VanderMeulen
b9d5670093 Merge b2g-inbound to m-c. a=merge
--HG--
rename : layout/style/nsCSSStyleSheet.cpp => layout/style/CSSStyleSheet.cpp
rename : layout/style/nsCSSStyleSheet.h => layout/style/CSSStyleSheet.h
2014-06-23 10:56:03 -04:00
Kartikaya Gupta
3efefa4403 Bug 1024728 - Gracefully handle a CrossProcessMutex being initialized with a stale handle. r=khuey 2014-06-20 17:06:36 -04:00
Benoit Jacob
9930531be9 Bug 1027251 - Fix or whitelist dangerous public destructors in ipc/ - r=bent 2014-06-18 22:29:00 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Ehsan Akhgari
baf1bebd32 Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
Chris Lord
41c19b8630 Bug 1012639 - Fix OtherProcess sometimes being the current process handle. r=bent 2014-06-11 14:51:12 +01:00
"Kan-Ru Chen (陳侃如)"
95bc816ffe Bug 879475 - Part 005. Implement ContentBridge r=jlebar
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:13 +08:00
Jan Beich
82686e13cd Bug 1016744 - Remove unused NamedProcessIterator from ipc/chromium. r=jld, rs=bsmedberg 2014-06-04 18:51:00 -04:00
Jonathan Watt
d22726a62f Bug 1022667, part 5 - Remove an unused function from KeyStore.cpp. r=chulee 2014-06-10 16:42:23 +01:00
Mike Hommey
57c0c91b43 Bug 1022259 - Only load Gtk+2 stub for plugin processes in Gtk+3 builds. r=bent,r=karlt 2014-06-10 16:00:42 +09:00
Daniel Holbert
7d8e54d3f6 Bug 1020643: Annotate COMPILE_ASSERT's typedef as permissibly unused, to fix GCC 4.8 build warning. r=Waldo 2014-06-04 18:13:02 -07:00
Victor Porof
5643294005 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Ryan VanderMeulen
f86e1fd17d Merge m-c to fx-team. 2014-05-30 16:30:24 -04:00
Jim Mathies
d205f7eadf Bug 1014673 - Allow WM_GETOBJECT calls to succeed when mozilla window procedures are neutered by ipc WaitForNotify calls. r=bent 2014-05-30 14:30:54 -05:00
Emilio Pozuelo Monfort
3a0b343ee2 Bug 624422 - Clean up MOZ_WIDGET_GTK usages. r=karlt
Based on a patch from Mike Hommey.
2014-05-28 04:23:00 -04:00
Randell Jesup
79df25773b Bug 987979: Patch 3 - Fix various build issues in webrtc.org/Mozilla integration. r=rjesup 2014-05-29 17:05:14 -04:00
Emilio Pozuelo Monfort
0a6f0617ab Bug 624422 - Let plugin-container load libmozgtk2. r=glandium 2014-05-01 13:37:48 +02:00
Josh Aas
13abca4191 Bug 1014384: Fix 'IPDL code generator generates implementation stubs for pure virtual methods'. r=bent 2014-05-29 00:45:36 -05:00
Ehsan Akhgari
5f8c2c7e97 Undo more windows.h damage by undef-ing RemoveDirectory, no bug 2014-06-21 22:17:44 -04:00
Birunthan Mohanathas
562904c002 Bug 869836 - Part 12: Use Assign('c') instead of AssignLiteral("c"). r=ehsan
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Ehsan Akhgari
ad3b490e96 Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem 2014-05-25 21:46:24 -04:00
Ehsan Akhgari
a9b1426983 Bug 1015430 - Fix more XPCOM constructors to clarify whether they should be explicit; r=froydnj 2014-05-25 21:16:01 -04:00
Kyle Huey
8a1ded0d50 Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Boris Zbarsky
f0f29e9cf1 Bug 869836 followup to fix build bustage 2014-05-22 00:48:11 -04:00
Birunthan Mohanathas
76ca8ec617 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
411a8639b4 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Josh Aas
054a93df8f Bustage fix for Gecko Media Plugins landing, bug 957928. 2014-05-17 23:25:36 -05:00
Bas Schouten
e51af315c3 Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent 2014-05-18 05:16:51 +02:00
Josh Aas
3675b7efa2 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Phil Ringnalda
3b63909530 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
792dc0a797 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
Benoit Girard
12ed392042 backout 9ebe70d8a9b2 (Bug 1011225) for mochitest failures on a CLOSED TREE 2014-05-16 00:52:55 -04:00
Benoit Girard
54b3c2493e Bug 1011225 - [e10s] Name mac content process. r=mstange
--HG--
extra : rebase_source : 0b1e31e9fed6ec6227c101c3ccd6b5401822778c
2014-05-15 16:52:30 -04:00
Chuck Lee
b0d5a4d871 Bug 928227 - Add access control for keystore. r=kmachulis
--HG--
extra : rebase_source : ddcb6148c0308614d51fde7ace19649628a838fb
2014-05-15 12:12:40 +08:00
Jed Davis
eb69e55005 Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
This has a few semi-interdependent pieces:

* Factoring out the file opening/closing/renaming from the GC/CC logging.

* Using IPC to have the child log to files that the parent opened.

* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
  of child process logging (which was impossible before this, and which is
  needed to have a meaningful test case).

* Changing about:memory to dump logs for child processes, matching the
  behavior of the "Measure" button, because it can tell the user where
  they are now.

* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
  interface, not by clicking buttons and scraping the about:memory page,
  but done as a chrome mochitest to start remote browsers); based on
  test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Chris Peterson
1833ad5707 Bug 990764 - Replace MOZ_ASSUME_UNREACHABLE in ipdl. r=bsmedberg 2014-04-27 18:56:03 -07:00
Chris Peterson
c7f9a7a308 Bug 1007741 - Fix -Wunused-function warning in ipc/glue/ and mark ipc/ subdirectories as FAIL_ON_WARNINGS. r=bsmedberg 2014-05-07 23:55:30 -07:00
Ben Turner
3dbc3b648e Bug 1006128 - Fix IPDL unit tests after bug 960774, r=bsmedberg. 2014-05-08 14:49:41 -07:00
David Major
10565a1ebf Bug 1000364: Drop nonqueued messages for QuickTime's QTNSHIDDEN class. r=jimm
--HG--
extra : rebase_source : 9f319b57601d36a108d4f22f3b2221d62ac25523
2014-05-08 12:20:05 +12:00
Josh Aas
087d359099 Bug 1004196: Make all IPDL argument names be of form "aFoo" instead of "foo”. r=bent 2014-05-05 17:00:55 -05:00
Josh Aas
2c8ec2ef7a Bug 960774: Make ActorDestroy pure virtual on the parent side, require implementation. r=bent 2014-05-02 14:49:02 -05:00
Josh Aas
f00583cc36 Bug 960774: Add ActorDestroy impl for all parent-side actors that don't have one. It will be required soon. r=bent 2014-05-02 13:44:13 -05:00
chiajung hung
e92efaa365 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Nicholas Nethercote
0b29eb277a Bug 952650 (part 13) - Remove JSVAL_IS_PRIMITIVE. r=till.
--HG--
extra : rebase_source : 450ba0261ef5a8546c81f9f645605e312585d6c6
2014-04-27 20:27:54 -07:00
Nicholas Nethercote
c79e0f8f0d Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till.
--HG--
extra : rebase_source : 60dcaa2b778d3cf6eb7dc1a4949aab010ed8c130
2014-04-27 19:58:52 -07:00
Rodrigo Rodriguez Jr.
8c9ffb503e Bug 952650 (part 6) - Remove JSVAL_IS_STRING. r=njn.
--HG--
extra : rebase_source : ebd55749447f9feea04a78ff7cc17ba2dd2c5cd0
2014-04-27 19:41:01 -07:00
Shawn Huang
c11c8c8a90 Bug 1000961 - Make DBusReplyHandler use thread-safe ref-counting, r=echou, f=tzimmermann 2014-04-29 11:13:37 +08:00
Ting-Yu Chou
254b648fac Bug 999351 - Fix an IPC leak by clearing MessageChannel resource before destruction. r=bent
Once we have a channel error (like, child process dies) we don't immediately do
anything with additional messages that were pending from that child. They stay
queued and eventually get freed when the channel is destroyed. This patch clears
the resource earlier whenever there is an error, or the channel is closed.
2014-04-24 15:26:50 +08:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Benoit Jacob
4f3f6b3a15 Bug 987305 - Add BitFlagsEnumSerializer - r=nfroyd 2014-04-25 22:34:04 -04:00
Ed Morley
9cdfe0cb96 Backed out changeset 1a6ada013610 (bug 959089) 2014-04-25 17:51:15 +01:00
chiajung hung
3c4bb6f838 Bug 959089 - Part 1: Implement a new protocol for manage shared buffers' allocation. r=vlad, r=gal 2014-04-25 02:28:00 -04:00
Shelly Lin
d63debcb8f Bug 908995 - Part 3: Add source events for TaskTracer. r=khuey,smaug. 2014-04-23 15:32:31 +08:00
Shelly Lin
af4ca54a0d Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey. 2014-03-27 16:49:06 +08:00
Ehsan Akhgari
87c89c055f Bug 999884 - Make DBusReplyHandler not use mozilla::RefCounted; r=smaug
--HG--
extra : rebase_source : 3b48a1e8cba18af2871a34b0ef36f2d548dfcc85
2014-04-23 17:47:22 -04:00
Steven Michaud
b6f0f14b48 Bug 988156 - Backout fd0d0f6002dc (Bug 846566) for triggering blank display in Netflix videos when going fullscreen. r=spohl 2014-04-18 11:24:47 -05:00
Cervantes Yu
4488387023 Bug 977359 Part 2: Test case for the deadlock in the Nuwa process. r=gal 2014-04-15 21:26:30 +08:00
Thomas Zimmermann
c2a913994c Bug 995912: Remove BLUEZ_DBUS_BASE_IFC from RawDBusConnection, r=qdot, echou
This patch removes the constant BLUEZ_DBUS_BASE_IFC from the file
RawDBusconnection.cpp. The constant is specific to BlueZ, and that's
where it's located now.
2014-04-17 11:16:12 +02:00