Thinker K.F. Li
e9dc84b5a1
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
d153061805
Merge b2g-inbound to m-c. a=merge
2014-07-31 15:54:07 -04:00
Thomas Zimmermann
f8f98629f3
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
19d9223f35
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
35632f98aa
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
aadf6d5e16
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
2747e4a5e1
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
f256e6fef4
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
1cb02024c4
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
fee8753bfe
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
60f0025c1f
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
757296d36b
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
c12b17b08a
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
12c76f15f7
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
8bcf32b6ed
Back out bug 950745 for crashes
2014-07-30 16:19:46 -07:00
Ryan VanderMeulen
9e78e6d563
Merge m-c to inbound on a CLOSED TREE. a=merge
2014-07-30 17:16:05 -04:00
Benoit Jacob
c50ccf8dba
Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj
2014-07-30 15:52:05 -04:00
Mike Hommey
9424087517
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
1ce0c3e306
Merge m-c to inbound on a CLOSED TREE
2014-07-28 18:51:24 -07:00
Mike Hommey
5f6ba110e6
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +09:00
Carsten "Tomcat" Book
aeabc85ae7
Merge mozilla-central to b2g-inbound
2014-07-28 16:06:50 +02:00
Thinker K.F. Li
5a9232dbfc
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
c95e487200
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
018402f71c
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
87758937e7
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
c8380d74dd
Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug
2014-07-28 13:17:51 -04:00
Andrew McCreight
2ab43e1c66
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
1bb04a4616
Bug 1028148, part 1 - Make SharedMemory's dtor private. r=bent
2014-07-28 09:56:54 -07:00
Ehsan Akhgari
1266d7384c
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
1630e406c3
Bug 1041525 - Remove workaround for GMP SyncRunnable deadlock in Crashreporter::OOPInit() r=jesup
2014-07-24 18:16:08 +02:00
Mike Hommey
7cab62150a
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
95063176fa
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
5fab42fcaf
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
9fe91aeaea
Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche
2014-07-21 10:24:29 -04:00
Randell Jesup
bcf9fd60a8
Backed out changeset 40954106dc7a (bug 1041525) (incorrect patch landed)
2014-07-21 10:24:25 -04:00
Randell Jesup
b51510d73a
Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche
2014-07-21 09:59:13 -04:00
Yoshi Huang
c3e7baef48
Bug 933588 - Part 1: NFC service. r=khuey
2014-02-19 15:14:22 +08:00
Bill McCloskey
c87bbeeeda
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
80cf96cd26
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
303f193952
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
1aaa7148c1
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
842b52fe6f
Bug 1038855, part 3 - Use an nsRefPtr for CrossProcessMutex::mSharedBuffer. r=bjacob
2014-07-16 12:39:03 -07:00
Andrew McCreight
de19994a7f
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
34feea774d
Bug 1038523 - Make IPDL generate nullptr for ExprLiteral.NULL. r=bent
2014-07-15 12:46:52 -07:00
Benoit Girard
1465e09a99
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
70a5917917
Bug 1036864 - Remove EXPORT_LIBRARY. r=mshal
2014-07-11 19:06:55 +09:00
Landry Breuil
7d643332f3
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
00d8fa7118
Bug 1021790 - "Cleanup naming for scalar and typed array types", r=sfink
2014-06-06 09:36:00 -07:00
Ben Kelly
9538652bf1
Bug 1013571 Reland support for PBackground on workers. r=bent
2014-07-09 17:39:18 -04:00
Wes Kocher
25c80c8653
Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783
2014-07-08 14:43:46 -07:00