Christoph Kerschbaumer
b54daf94aa
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - loadinfo changes (r=sicking,sworkman)
2015-07-10 13:57:55 -07:00
Jim Mathies
f7fdc6ece7
Bug 1128454 - Add crash report annotations for plugin bridge operation failures. r=billm
2015-07-09 19:07:49 -05:00
Aaron Klotz
507071473d
Bug 1170231: Part 2 - Regression test for IPC race mediation deadlock; r=dvander
2015-06-07 22:08:56 -06:00
Aaron Klotz
f3b8967b8e
Bug 1170231: Part 1 - Remove condition that may cause deadlock in IPC when mediating interrupt races; r=dvander
2015-06-26 11:01:26 -07:00
Ryan VanderMeulen
204b539a88
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-07-07 13:38:10 -04:00
Cervantes Yu
697ac390a5
Bug 1172467: Fix an IPC channel file descriptor leak from Nuwa to the child process. r=khuey
2015-07-07 12:10:05 +08:00
Juan Gomez
01df2f691b
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Dragana Damjanovic
e3003eee82
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
e1b03075a7
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Bill McCloskey
85478f56c4
Bug 1177013 - Avoid memory leaks when returning errors from IPC Send (r=dvander)
2015-07-06 19:58:46 -07:00
Bill McCloskey
53fc5fa411
Bug 1177013 - Telemetry for CPOW cancelation (r=dvander)
2015-07-06 19:58:46 -07:00
Bill McCloskey
10f63ec5f7
Bug 1177013 - Fix big IPC comment (r=dvander)
2015-07-06 19:58:45 -07:00
Bill McCloskey
c8eda98884
Bug 1177013 - Crash in IPC situations where we don't know what to do (r=dvander)
2015-07-06 19:58:45 -07:00
Bill McCloskey
440fabe306
Bug 1177013 - Fix IPDL tests for not allowing CPOWs during sync (r=dvander)
2015-07-06 19:58:45 -07:00
Bill McCloskey
ad4d5d83e6
Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander)
2015-07-06 19:58:44 -07:00
Bill McCloskey
bb04cd7f51
Bug 1177013 - CancelCurrentTransaction IPC support (r=dvander)
2015-07-06 19:58:44 -07:00
Bill McCloskey
5aa494160e
Bug 1177013 - Don't allow prio messages while dispatching sync messages (r=dvander)
2015-07-06 19:58:43 -07:00
Bill McCloskey
975f85965e
Bug 1177013 - Change IPC locking to get transaction ID correct (r=dvander)
2015-07-06 19:58:42 -07:00
Andrea Marchesini
0bacf2f160
Bug 1165270 - Use origin for BroadcastChannel, r=bholley
2015-07-06 19:28:41 +01:00
Phil Ringnalda
cae35eaf19
Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
...
CLOSED TREE
Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
caace3aea9
Bug 1177013 - Avoid memory leaks when returning errors from IPC Send (r=dvander)
2015-07-02 17:18:12 -07:00
Bill McCloskey
4a6db3b3f6
Bug 1177013 - Telemetry for CPOW cancelation (r=dvander)
2015-07-02 17:18:11 -07:00
Bill McCloskey
45b966d22b
Bug 1177013 - Fix big IPC comment (r=dvander)
2015-07-02 17:18:11 -07:00
Bill McCloskey
bb736218a6
Bug 1177013 - Crash in IPC situations where we don't know what to do (r=dvander)
2015-07-02 17:18:11 -07:00
Bill McCloskey
be3e54cc18
Bug 1177013 - Fix IPDL tests for not allowing CPOWs during sync (r=dvander)
2015-07-02 17:18:11 -07:00
Bill McCloskey
fd0ab128e1
Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander)
2015-07-02 17:18:10 -07:00
Bill McCloskey
08eb62bc83
Bug 1177013 - CancelCurrentTransaction IPC support (r=dvander)
2015-07-02 17:18:10 -07:00
Bill McCloskey
3c2a0a407b
Bug 1177013 - Don't allow prio messages while dispatching sync messages (r=dvander)
2015-07-02 17:18:09 -07:00
Bill McCloskey
7debc84f24
Bug 1177013 - Change IPC locking to get transaction ID correct (r=dvander)
2015-07-02 17:18:09 -07:00
Hamzata Diallo
489a109db4
Bug 1178513
- Export libxul symbols needed by ACL. r=mattwoodrow
2015-07-02 15:19:35 -07:00
Hiroyuki Ikezoe
5b19defe46
Bug 1178172 - Fix all compile errors in dom/base on non-unified build. r=baku
2015-07-01 15:56:00 +02:00
Bill McCloskey
1bdde87615
Bug 1176096 - Ensure we don't do self-moves in move assignment (r=bent)
2015-07-01 13:30:49 -07:00
Ben Turner
61048a9a76
Backout 316c0601d7db (bug 1167431) for static analysis bustage on CLOSED TREE
2015-06-30 19:45:58 -07:00
Ben Turner
35d5e5b374
Bug 1167431 - Kill child processes that misuse PBackground, r=billm.
2015-06-30 18:55:53 -07:00
Carsten "Tomcat" Book
8ddfaafd8d
merge mozilla-inbound to mozilla-central a=merge
2015-06-30 13:23:01 +02:00
Jan de Mooij
c42999b66d
Bug 1177825 - Remove JSVAL_* constants. r=evilpie
2015-06-29 18:36:44 -07:00
Brad Lassey
a5e1d5e0ee
bug 1175898 - crash in mozilla::CrossProcessMutex::ShareToProcess(int) r=billm
2015-06-22 11:54:40 -04:00
Andrew McCreight
84e6e04a0e
Bug 886459, part 3 - Remove simple uses of nsIJSRuntimeService to get the JSRuntime. r=bholley
2015-06-26 18:44:14 -07:00
Botond Ballo
0eda66866d
Bug 1178514 - Mark one-argument constructors in IPDL tests as 'explicit'. r=bent
2015-06-29 18:29:48 -04:00
Carsten "Tomcat" Book
0721a73175
merge b2g-inbound to mozilla-central a=merge
2015-06-26 11:46:20 +02:00
Thomas Zimmermann
12ce0039b9
Bug 1173334: Open nfcd connections with socket type SOCK_SEQPACKET, allstars.chh
...
NFC requires sequential transfer of individual messages. Using the
socket type SOCK_SEQPACKET guarantees these properties.
2015-06-25 08:29:04 -07:00
Jan-Ivar Bruaroey
3f9ea11e5c
Bug 1173255 - Cleanup MediaManager e10s code in prep for deviceId constraint. r=jesup
2015-06-18 11:46:36 -04:00
Andrea Marchesini
ee4fd61beb
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Carsten "Tomcat" Book
3741555df1
Backed out changeset 4f4ceae7be1a (bug 1176034) for frequent bustages in Windows 8 x64 debug
2015-06-24 10:11:07 +02:00
Andrea Marchesini
0502aa5138
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Christoph Kerschbaumer
468c13161e
Bug 1175352 - Refactor LoadInfo arguments to be more self contained (r=bent)
2015-06-18 15:37:20 -07:00
Mike Conley
491fb2835a
Bug 1175999 - Deallocate mach SharedMemory properly. r=blassey.
...
We were deallocating very small regions instead of the entire
region we had originally allocated. Mamma mia!
2015-06-18 13:57:51 -04:00
Andrea Marchesini
949d2bb91b
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-17 11:44:27 +01:00
Brad Lassey
78dfaae331
bug 1161166 - Use mach shared memory for shared memory on OSX r=billm
2015-06-17 00:38:38 -04:00
Brad Lassey
eab556ad7b
bug 1161166 - Move some implementation out of ipc headres to not include headres for EndianU32_* r=billm
2015-06-09 09:56:10 -04:00
Shelly Lin
1c846a6914
Bug 1113562 - Expected delay time of tasks should not be the latency of those kind. r=sinker
2015-06-16 10:57:19 +08:00
Thomas Zimmermann
a7d6eb2631
Bug 1171017: Move classes from ipc/bluetooth to ipc/hal, r=shuang
...
The class |DaemonSocket| and its helpers implement a service-
neutral connection to a HAL daemon. This patch moves the code
to an appropriate directory and breaks up the code into smaller
pieces.
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
fbed99c8aa
Bug 1171017: Rename |BluetoothDaemonConnection| to |DaemonSocket|, r=shuang
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
0150bfde52
Bug 1171017: Rename |BluetoothDaemonConnectionIO| to |DaemonSocketIO|, r=shuang
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
684c387001
Bug 1171017: Rename |BluetoothSocketPDU| to |DaemonSocketPDU|, r=shuang
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
dcc57fc462
Bug 1171017: Rename |BluetoothDaemonPDUConsumer| to |DaemonSocketIOConsumer|, r=shuang
2015-06-15 14:44:03 +02:00
Thomas Zimmermann
3d22763878
Bug 1171017: Rename |BluetoothDaemonConnectionConsumer| to |DaemonSocketConsumer|, r=shuang
2015-06-15 14:44:03 +02:00
Markus Stange
c8056f28c1
Bug 971811 - Don't prepend an empty existing DYLD_INSERT_LIBRARIES path when launching the plugin. r=smichaud
2015-06-10 12:54:52 -04:00
Andrea Marchesini
24ae5c2715
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Thomas Zimmermann
c44f1139e2
Bug 1172479: Replace |nsIThread| by |MessageLoop| in socket I/O code, r=kmachulis
...
Dispatching events via |nsIThread| doesn't work with worker threads. This
patch replaces all uses of |nsIThread| in the socket code by equivalent
uses of |MessageLoop|.
2015-06-09 09:50:10 +02:00
Carsten "Tomcat" Book
6deb717f93
Merge mozilla-central to b2g-inbound
2015-06-08 12:41:24 +02:00
Thomas Zimmermann
f4da441925
Bug 1170993: Manage socket buffers in sub-classes of |UnixSocketBuffer|, r=kmachulis
...
Different users of the socket I/O code have different requirements
for their I/O buffers. This patch moves the buffer management into
sub-classes of |UnixSocketBuffer|. Each of them can maintain memory
according to its needs.
2015-06-08 10:20:17 +02:00
Fredrik Lanker
1f3fde2f97
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
Andrew McCreight
45fc10c282
Bug 1152079 - Remove Purify support files. r=froydnj
2015-06-06 14:37:59 -07:00
Andrew McCreight
6655660de7
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
Mike Hommey
c6eaecab15
Bug 1166243 - Remove build() function from js and xpc shells. r=bholley,r=efaust
2015-06-04 13:59:47 +09:00
Eric Rahm
387657eb09
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
c0902a8fd7
Merge inbound to m-c. a=merge
2015-06-03 15:55:09 -04:00
James Willcox
00153cdbc0
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
ddc9b958a1
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
f7cf1609c1
Merge b2ginbound to central, a=merge
2015-06-02 18:34:21 -07:00
Thomas Zimmermann
21a30b633f
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
364b0a0542
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
425da7831c
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
bddc272e14
Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent
2015-05-29 10:14:14 -04:00
Botond Ballo
53a2fa35ef
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
88d6136d16
Bug 1164374 - Use StaticMutex in BrowserProcessSubThread. r=froydnj.
...
This removes a static constructor.
2015-05-13 01:59:52 -07:00
Birunthan Mohanathas
084be39cfd
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
f7fa42cc65
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj
2015-05-28 11:07:43 -07:00
Ryan VanderMeulen
094299de37
Merge m-c to inbound. a=merge
2015-05-28 10:20:38 -04:00
Ryan VanderMeulen
d81ade8a20
Merge inbound to m-c. a=merge
2015-05-28 10:03:07 -04:00
Wes Kocher
7b905b25aa
Merge m-c to b2ginbound, a=merge CLOSED TREE
2015-05-27 17:23:19 -07:00
Thomas Zimmermann
92a42ffbe4
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
19b95544ab
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
21c3ae4f13
Bug 1167207: Add |BluetoothDaemonConnectionConsumer|, r=shuang
...
Instances of |BluetoothDaemonConnectionConsumer| handle socket events
for |BluetoothDaemonConnection|.
2015-05-26 18:29:01 +02:00
Wes Kocher
4cb22f4274
Merge m-c to inbound, a=merge CLOSED TREE
2015-05-26 16:25:11 -07:00
Botond Ballo
ad4aea9284
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
d4f5bad1fa
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
f34b93e76f
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
f07de924ac
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
6dc6f61bb6
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
a2e0cf32cd
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
c38dc26e08
Bug 1167396 - Make ProtocolCloneContext::mContentParent a smart pointer. r=bent
2015-05-22 10:10:00 -04:00
Phil Ringnalda
642204bc61
Back out 7842a044a183 (bug 1167431) for widespread bustage
...
CLOSED TREE
2015-05-22 18:53:41 -07:00
Ben Turner
9fdd41fd60
Bug 1167431 - 'Properly clean up actors whose RecvFooConstructor method returns false', r=billm.
2015-05-22 16:10:02 -07:00
Nathan Froyd
a85264333c
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
74016aa142
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
c3aad11cb9
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
c81d8f912a
Bug 1164417: Store PDU consumer in |BluetoothDaemonConnection|, r=kmachulis
2015-05-21 13:34:37 +02:00
Thomas Zimmermann
a385885364
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