Commit Graph

2130 Commits

Author SHA1 Message Date
Thomas Zimmermann
4130e6baf9 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
0ae6c529a4 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
39f47833cf 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
a6991408b7 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
85536f1d4a 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
7f99e7f45e 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
ccdeec0e8a 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
4975795968 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
b590fd672d 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
168e0f4e3c 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
Bill McCloskey
b8e57e2e8d Back out bug 950745 for crashes 2014-07-30 16:19:46 -07:00
Ryan VanderMeulen
cb41e5c5ee Merge m-c to inbound on a CLOSED TREE. a=merge 2014-07-30 17:16:05 -04:00
Benoit Jacob
9e2a0396af Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Mike Hommey
c1aff765dd 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
a60e741c21 Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Mike Hommey
42f57b6138 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
44afda3e8a Merge mozilla-central to b2g-inbound 2014-07-28 16:06:50 +02:00
Thinker K.F. Li
baf6cd343e 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
03b34d364e 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
80b2b77705 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
9d809355a1 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
a7a241f207 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Andrew McCreight
03491e3bd7 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
9ac73c4e09 Bug 1028148, part 1 - Make SharedMemory's dtor private. r=bent 2014-07-28 09:56:54 -07:00
Ehsan Akhgari
487b4a7d12 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
11a04ed8c5 Bug 1041525 - Remove workaround for GMP SyncRunnable deadlock in Crashreporter::OOPInit() r=jesup 2014-07-24 18:16:08 +02:00
Mike Hommey
7ca0de0fb4 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
171507509c 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
5659a611dd 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
444c30831c Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche 2014-07-21 10:24:29 -04:00
Randell Jesup
bca0d58a70 Backed out changeset 40954106dc7a (bug 1041525) (incorrect patch landed) 2014-07-21 10:24:25 -04:00
Randell Jesup
8be4fb6ef7 Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche 2014-07-21 09:59:13 -04:00
Yoshi Huang
2ec13a75d9 Bug 933588 - Part 1: NFC service. r=khuey 2014-02-19 15:14:22 +08:00
Bill McCloskey
968aab64b3 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
d0ac33c5ba 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
9995706972 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
b34732fc82 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
b18aea251c Bug 1038855, part 3 - Use an nsRefPtr for CrossProcessMutex::mSharedBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
Andrew McCreight
64fa835d97 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
83678d3e16 Bug 1038523 - Make IPDL generate nullptr for ExprLiteral.NULL. r=bent 2014-07-15 12:46:52 -07:00
Benoit Girard
cb397e6eb5 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
34799e0459 Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal 2014-07-11 19:06:55 +09:00
Landry Breuil
425f3edcdb 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
df64d8862a Bug 1021790 - "Cleanup naming for scalar and typed array types", r=sfink 2014-06-06 09:36:00 -07:00
Ben Kelly
bb9ef36879 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-09 17:39:18 -04:00
Wes Kocher
b1d580b67f Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783 2014-07-08 14:43:46 -07:00
Ben Kelly
33df1b2ca1 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Makoto Kato
bc3578a6fe Bug 1030899 - Undefine _EVENT_HAVE_ISSETUGID. r=josh 2014-07-08 17:52:19 +09:00
Ben Turner
f24a6ffa54 Bug 1024098, Add some helpers for principal verification with PBackground. r=mrbkap. 2014-07-07 11:13:04 -07:00
Benoit Jacob
4994f97eec 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