Commit Graph

2224 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
02d1b9b00e merge mozilla-inbound to mozilla-central a=merge 2014-09-10 14:59:20 +02:00
Carsten "Tomcat" Book
1d3cf459a6 Backed out changeset 0a76964b8d8d (bug 1048011) for causing regression 2014-09-10 14:52:47 +02:00
Ryan VanderMeulen
4e7a802bf9 Merge inbound to m-c. a=merge 2014-09-08 19:10:31 -04:00
Thomas Zimmermann
7baebc2119 Bug 1059813: Protect access to fields of |UnixSocketRawData|, r=qdot
This patch adds protection for fields of |UnixSocketRawData| by
making them private.
2014-09-08 11:44:02 +02:00
Thomas Zimmermann
7eed41850f Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in RIL helpers, r=vyang 2014-09-08 11:44:01 +02:00
Thomas Zimmermann
9ed74ed818 Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in |KeyStore|, r=chulee,qdot 2014-09-08 11:44:01 +02:00
Thomas Zimmermann
7a6d64b80d Bug 1059813: Wrap socket I/O operations in |UnixSocketRawData|, r=qdot
This patch moves the I/O operations for sending and receiving data
in |SocketIOBase| into |UnixSocketRawData|. This change allows to
add a clean interface to |UnixSocketRawData| and later replace the
class by other implementations.
2014-09-08 11:44:00 +02:00
Ryan VanderMeulen
a0465b001a Merge b2g-inbound to m-c. a=merge 2014-09-05 12:04:44 -04:00
Ryan VanderMeulen
f160f22ae6 Merge fx-team to m-c. a=merge 2014-09-05 11:54:57 -04:00
Jacek Caban
885baf6d90 Bug 1063511 - Fix mingw builds after bug 1027906. r=tabraldes 2014-09-08 10:35:24 +02:00
Thomas Zimmermann
3781429b8d Bug 1062754: Support peer shutdown and EOF in |SocketIOBase|, r=qdot, btian
Calling read on a socket that has been closed for reading by the
peer, read returns 0. The socket is still readable however, so
polling and reading will return constant results of 0 received
bytes.

With this patch, if a socket's peer shuts down reading or if
we reached the EOF, we stop watching the file descriptor for
readability. |SocketIOBase| will detect this case exactly once
and initiate the socket's shutdown.
2014-09-05 10:16:24 +02:00
Nick Alexander
114abb0244 Bug 1040945 - Part 1: Install Android native libraries directly into lib/ANDROID_CPU_ARCH. r=glandium
This is a little tricky only because MOZ_CHILD_PROCESS_NAME is
"lib/libplugin-container.so" on Android, which meant special handling
at multiple places in the tree. This patch reduces the number of such
places.
2014-09-04 20:11:09 -07:00
Josh Aas
3b7d375a99 Bug 1062719 - remove Chromium debug flags, task queue from IPC code. rs=bent 2014-09-04 00:24:27 -05:00
Josh Aas
9a21278a8e Bug 1062715 - remove Chromium event recorder, memory debug, simple thread, drag and drop code. rs=bent 2014-09-03 23:56:40 -05:00
Josh Aas
29dcebef1d Bug 1062064 - remove Chromium debug utils from IPC code. rs=bent 2014-09-03 22:52:59 -05:00
Mike Hommey
8fd95ad480 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Josh Aas
e2f8d59192 Bug 1062076 - remove Chromium system monitor from IPC code. rs=bent 2014-09-02 23:30:40 -05:00
Josh Aas
913399d419 Bug 1061994 - remove Chromium worker pools from IPC code. rs=bent 2014-09-02 21:03:04 -05:00
Josh Aas
1dd74d693f Bug 1061992 - remove Chromium hmac code from IPC code. rs=bent 2014-09-02 19:33:04 -05:00
Josh Aas
e89d979263 Bug 1061889 - remove Chromium statistics code. rs=bent 2014-09-02 18:04:59 -05:00
Ehsan Akhgari
a9591395ad Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Josh Aas
a9635cfb9d Bustage fix for bug 1059479, CLOSED TREE 2014-09-02 15:48:07 -05:00
Josh Aas
0df1699a3b Bustage fix for bug 1059479, CLOSED TREE 2014-09-02 15:25:29 -05:00
Josh Aas
dc12acf506 Bug 1059479 - remove Chromium path service and trace events code. r=bent 2014-09-02 14:23:58 -05:00
Kyle Huey
2907389bf4 Back out bug 1050122 for causing silent timeouts on emulator mochitests. a=me 2014-09-02 12:05:36 -07:00
Cervantes Yu
9a3ef0e44c Bug 1048011 - Fix a race condition that causes PProcLoaderParent leak. r=khuey
--HG--
extra : rebase_source : d0230771da1992fab13681c9b5baa585d334d0cc
2014-08-11 15:50:20 +08:00
Jacek Caban
e8562197ec Bug 1055655 - Fix warnings turned to errors by bug 1018288 found by mingw build. r=ted,jmathies
--HG--
extra : rebase_source : 2e1d8d0ae697515994b718634f8f8ae9b26b8d80
2014-09-02 11:07:25 +02:00
Ting-Yu Chou
5da3f0523a Bug 1050122 - Enable Nuwa on debug builds, and kill it if the preference is false. r=khuey 2014-09-01 10:43:39 +08:00
Ehsan Akhgari
91c0120015 Follow-up to bug 1060997 to fix the build bustage 2014-08-31 21:14:53 -04:00
Ehsan Akhgari
7e2738ff79 Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug 2014-08-31 21:12:55 -04:00
Tim Abraldes
89de880434 bug 1027906. Set delayed token level for GMP plugin processes to USER_RESTRICTED. Whitelist certain files and registry keys that are required for EME plugins to successfully load. r=bobowen. r=jesup. r=bent. 2014-08-29 17:34:26 -07:00
Bob Owen
46c8a13d45 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Botond Ballo
de236fcf39 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Nicholas Nethercote
97292033d3 Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.
--HG--
extra : rebase_source : 250ec1323d4097101a8e0331a2bf7fab59f72b1d
2014-08-27 15:47:27 -07:00
David Major
09a25cf98d Bug 1023941 - Part 5: Loader hook to redirect the missing import. r=bsmedberg
--HG--
extra : rebase_source : 7cf2e857f51dcfcc95bb806d49ef13b794f5ba5b
2014-08-28 14:53:38 +12:00
David Major
4939aa1f06 Bug 1023941 - Part 2: Static-link the CRT into plugin-container.exe. r=glandium,f=tabraldes
--HG--
rename : security/sandbox/moz.build => security/sandbox/objs.mozbuild
extra : rebase_source : e0b1515a4729ecfe82a67b6439d9a38453f7556a
2014-08-28 14:50:10 +12:00
Jacek Caban
cc1a39aab6 Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Bobby Holley
456e14ca7b Bug 981198 - Make JS_{Get,Set}ErrorReporter take a JSRuntime. r=terrence,r=bz 2014-09-09 16:02:10 -07:00
Ryan VanderMeulen
dc257cd65c Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
3d7ea0d29f Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Josh Aas
bc9f156182 Bug 1011225: Improve e10s process naming on OS X. Patch started by Benoit Girard, completed by Josh Aas. r=njn,benwa 2014-08-26 12:03:09 -05:00
Carsten "Tomcat" Book
b3af4cd10a Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen
9f262068b7 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Kyle Huey
cf173ab0e1 Bug 1057402: Fix for non-unified builds. r=me 2014-08-22 10:02:47 -07:00
Kyle Huey
3b252b4362 Bug 1057402: Always log the message type when we hit an IPC protocol error. r=bent 2014-08-22 09:23:01 -07:00
Ben Kelly
b4449d5297 Bug 1049801 P2 Cancel the DispatchOnChannelConnected runnable when destructing the MessageChannel. r=bent 2014-08-21 14:13:23 -04:00
Ehsan Akhgari
2905eb1aee Bug 1053603 - Fix some more bad implicit constructors in the IPC code; r=bent 2014-08-07 21:18:59 -04:00
Ben Kelly
338425ad2e Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Ryan VanderMeulen
07c694a4e3 Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-20 16:23:04 -04:00
Andrew Osmond
b72e1de49b Bug 1055316 - Fix unix socket connect backoff scheme such that it will actually backoff. r=tzimmermann 2014-08-18 15:53:00 -04:00