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