Andrew McCreight
299f877f7c
Bug 1152079 - Remove Purify support files. r=froydnj
2015-06-06 14:37:59 -07:00
Andrew McCreight
0e99ae6de2
Bug 1169382 - Don't generate commented out NS_INTERFACE_CLASS or NS_ABSTRACT_CLASS in IPDL. r=billm
2015-06-06 14:37:59 -07:00
Fredrik Lanker
0d1f71c55b
Bug 1171464 - Check that socket isn't already closed before closing it, r=kmachulis
...
If we get a connection error, mSocket can end up being null in
RilConsumer::Close().
2015-06-05 09:18:07 +02:00
Mike Hommey
83384b7faf
Bug 1166243 - Remove build() function from js and xpc shells. r=bholley,r=efaust
2015-06-04 13:59:47 +09:00
Eric Rahm
d1d059548e
Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj
...
Make it harder for users to accidentally reintroduce usage of the PR_LOG macros
when using 'mozilla/Logging.h'. This can still be worked around by directly
including 'prlog.h' (and not 'mozilla/Logging.h') if absolutely necessary.
2015-06-03 15:26:07 -07:00
Ryan VanderMeulen
e7e473d305
Merge inbound to m-c. a=merge
2015-06-03 15:55:09 -04:00
James Willcox
09d686b910
Bug 1141693 - Build and use a PIE plugin-container on Android 5.0+. Based on a patch by Mike Hommey. r=me,glandium
2015-06-03 10:26:16 -05:00
Andrea Marchesini
e04e3d90fe
Bug 1162088 - patch 2 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm
2015-06-03 09:44:09 +01:00
Wes Kocher
6cbdb228c3
Merge b2ginbound to central, a=merge
2015-06-02 18:34:21 -07:00
Thomas Zimmermann
0f08e85d05
Bug 1168806: Use 'consumer thread' in socket interface, r=kmachulis
...
The socket IPC interfaces still use 'main thread' in a number of
places. This patch changes all such interfaces and documentation
to speak of 'consumer thread' instead.
2015-06-02 10:01:58 +02:00
Thomas Zimmermann
fb090327db
Bug 1168806: Configurable consumer thread for socket IPC classes, r=kmachulis
...
The consumer thread handles socket creation, destruction, and
data processing for socket IPC. Traditionally this has been
done on the main thread.
This patch extends the socket IPC classes to support arbitrary
consumer threads. The thread is configured when establishing a
connection, and performs all of the above operations until the
socket is closed.
2015-06-02 10:01:57 +02:00
Thomas Zimmermann
d8e16014cd
Bug 1168806: Configurable I/O thread for socket IPC classes, r=kmachulis
...
The I/O thread sends and receives data on a file descriptor. This
has traditionally been performed on a single I/O thread.
This patch extends the socket IPC classes to support arbitrary I/O
threads. The thread is configured when a connection is established
and used until the socket gets closed.
2015-06-02 10:01:57 +02:00
Randell Jesup
8c522e87ae
Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent
2015-05-29 10:14:14 -04:00
Botond Ballo
fd5429189c
Bug 1166583 - Move chromium's MakeTuple function into namespace 'base' to avoid conflicts with mozilla::MakeTuple. r=froydnj
2015-05-09 21:09:40 -05:00
Nicholas Nethercote
9d67749f4e
Bug 1164374 - Use StaticMutex in BrowserProcessSubThread. r=froydnj.
...
This removes a static constructor.
2015-05-13 01:59:52 -07:00
Birunthan Mohanathas
cd748a7266
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
399e0c3be3
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj
2015-05-28 11:07:43 -07:00
Ryan VanderMeulen
566c696fa6
Merge m-c to inbound. a=merge
2015-05-28 10:20:38 -04:00
Ryan VanderMeulen
97e1c5bc2f
Merge inbound to m-c. a=merge
2015-05-28 10:03:07 -04:00
Wes Kocher
6a0d56dad0
Merge m-c to b2ginbound, a=merge CLOSED TREE
2015-05-27 17:23:19 -07:00
Thomas Zimmermann
c6bdc49f29
Bug 1167210: Replace |union sockaddr_any| with |struct sockaddr_storage|, r=kmachulis
...
Both types, |union sockaddr_any| and |struct sockaddr_storage|, provide
a sockaddr type that can hold any address. The latter is standardized by
POSIX, so we prefer it.
2015-05-27 13:49:07 +02:00
Thomas Zimmermann
60e9d4506b
Bug 1167207: Remove |BluetoothDaemonChannel|, r=shuang
...
This patch integrates the functionality of |BluetoothDaemonChannel|
into |BluetoothDaemonConnection|. All users are adapted, the former
class is removed.
2015-05-26 18:29:02 +02:00
Thomas Zimmermann
1c18d62157
Bug 1167207: Add |BluetoothDaemonConnectionConsumer|, r=shuang
...
Instances of |BluetoothDaemonConnectionConsumer| handle socket events
for |BluetoothDaemonConnection|.
2015-05-26 18:29:01 +02:00
Wes Kocher
9caa6d53ca
Merge m-c to inbound, a=merge CLOSED TREE
2015-05-26 16:25:11 -07:00
Botond Ballo
0fe06cffa0
Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
2015-05-26 14:33:55 -04:00
Thomas Zimmermann
f19339336d
Bug 1166638: Use |ListenSocketConsumer| in |ListenSocket|, r=kmachulis, dlee, chucklee, shuang
...
This patch converts |ListenSocket| to forward events to an instance
of |ListenSocketConsumer|. All users are converted and the related
listener and consumer classes are removed.
2015-05-26 13:24:20 +02:00
Thomas Zimmermann
4e155b5c96
Bug 1166638: Add |ListenSocketConsumer|, r=kmachulis
...
|ListenSocketConsumer| receives events from a listening socket. It
unifies all existing consumer and listener classes of the socket I/O
users.
2015-05-26 13:24:20 +02:00
Thomas Zimmermann
70111c54d3
Bug 1166638: Use |StreamSocketConsumer| in |StreamSocket|, r=kmachulis, dlee, chucklee, htsai
...
This patch converts |StreamSocket| to forward events and data to an
instance of |StreamSocketConsumer|. All users are converted and the
related listener and consumer classes are removed.
2015-05-26 13:24:20 +02:00
Thomas Zimmermann
eb0aaf349d
Bug 1166638: Add |StreamSocketConsumer|, r=kmachulis
...
|StreamSocketConsumer| receives events and data from a stream
socket. It unifies all existing consumer and listener classes
of the socket I/O users.
2015-05-26 13:24:19 +02:00
Lee Salzman
815c3fd3c6
Bug 1168843 - use thread-safe refcounting for shared memory surfaces to avoid shutdown crashes. r=jmuizelaar
2015-05-27 11:20:26 -04:00
Michael Layzell
2635954b4f
Bug 1167396 - Make ProtocolCloneContext::mContentParent a smart pointer. r=bent
2015-05-22 10:10:00 -04:00
Phil Ringnalda
2ef8dd913d
Back out 7842a044a183 (bug 1167431) for widespread bustage
...
CLOSED TREE
2015-05-22 18:53:41 -07:00
Ben Turner
9003fabca7
Bug 1167431 - 'Properly clean up actors whose RecvFooConstructor method returns false', r=billm.
2015-05-22 16:10:02 -07:00
Nathan Froyd
7941bd83f4
Bug 1170656 - remove tabs from moz.build files; r=me
...
DONTBUILD because whitespace-only fix.
2015-05-04 08:20:33 -04:00
Cervantes Yu
0c5e524a5b
Bug 1151672 - Part 2: Block PHal::Msg_NotifyNetworkChange__ID to the Nuwa process after it is ready. r=khuey
2015-05-22 15:08:20 +08:00
Thomas Zimmermann
5362ed1bf6
Bug 1164417: Add |ConnectionOrientedSocket::PrepareAccept| for accepting socket connections, r=kmachulis
...
With this patch, stream and listening sockets handle the setup of
accepted sockets internally. Sub-classes of |StreamSocket| don't
have to overload StreamSocket's |GetIO| any longer.
2015-05-21 13:34:37 +02:00
Thomas Zimmermann
e5eabe4c03
Bug 1164417: Store PDU consumer in |BluetoothDaemonConnection|, r=kmachulis
2015-05-21 13:34:37 +02:00
Thomas Zimmermann
25b408e533
Bug 1164417: Add |UnixSocketConnector::Duplicate|, r=kmachulis
...
The new method |UnixSocketConnector::Duplicate| allows a socket
connector to duplicate itself. Listening sockets will used this
feature to create socket connectors for accepted connections.
2015-05-21 13:34:37 +02:00
Carsten "Tomcat" Book
df805f488e
merge mozilla-inbound to mozilla-central a=merge
2015-05-20 15:52:31 +02:00
Carsten "Tomcat" Book
fbdda6c048
merge b2g-inbound to mozilla-central a=merge
2015-05-20 15:31:22 +02:00
Thomas Zimmermann
a6af9eebbe
Bug 1164425: Cleanup interfaces of |BluetoothDaemonConnection|, r=shuang
...
Bluetooth never actively opens a connection to the daemon, so this
patch removes the connect functionality.
2015-05-20 10:50:43 +02:00
Thomas Zimmermann
8fb67a5055
Bug 1164425: Cleanup interfaces of |ListenSocket|, r=kmachulis
...
This patch removes |ListenSocket::GetSocketAddr|, which is unused
and not thread-safe. The |Listen| methods now return error codes.
2015-05-20 10:50:43 +02:00
Thomas Zimmermann
4ae7a8c07b
Bug 1164425: Cleanup interfaces of |StreamSocket|, r=kmachulis
...
This patch cleans up the interface of |StreamSocket|. All arguments
that contain protocol parameters are removed from |Connect|. They are
stored in the connector class. |Connect| now returns error codes. The
method |GetSocketAddr| is unused and not thread-safe and therefore
removed. The method |SendSocketData| for strings is unused and removed.
2015-05-20 10:50:43 +02:00
Thomas Zimmermann
797b11df18
Bug 1164425: Rename |SocketBase::CloseSocket| to |SocketBase::Close|, r=kmachulis
2015-05-20 10:50:43 +02:00
Carsten "Tomcat" Book
c89b0c098f
Backed out changeset 1e93024c9fec (bug 1164425) for bustage
2015-05-20 10:31:55 +02:00
Carsten "Tomcat" Book
e62550b3f7
Backed out changeset 2fd186d1a288 (bug 1164425)
2015-05-20 10:31:09 +02:00
Carsten "Tomcat" Book
70b8a9bab5
Backed out changeset 17bd0777339a (bug 1164425)
2015-05-20 10:30:55 +02:00
Carsten "Tomcat" Book
d68a12a808
Backed out changeset 97ccb9e0cefb (bug 1164425)
2015-05-20 10:30:41 +02:00
Thomas Zimmermann
a33e8e4d7d
Bug 1164425: Cleanup interfaces of |BluetoothDaemonConnection|, r=shuang
...
Bluetooth never actively opens a connection to the daemon, so this
patch removes the connect functionality.
2015-05-20 09:54:27 +02:00
Thomas Zimmermann
60a59f574c
Bug 1164425: Cleanup interfaces of |ListenSocket|, r=kmachulis
...
This patch removes |ListenSocket::GetSocketAddr|, which is unused
and not thread-safe. The |Listen| methods now return error codes.
2015-05-20 09:54:27 +02:00