Граф коммитов

2806 Коммитов

Автор SHA1 Сообщение Дата
Thomas Zimmermann 7eb46d9e39 Bug 1170466: Share socket I/O methods in |ConnectionOrientedSocketIO|, r=kmachulis
With this patch, |ConnectionOrientedSocketIO| implements methods
for sending and receiving data. All sub-classes have been changed
accordingly.
2015-06-03 11:53:50 +02:00
Thomas Zimmermann bc636a00f4 Bug 1170466: Inherit |ConnectionOrientedSocketIO| from |UnixSocketWatcher|, r=kmachulis
Inheriting |ConncetionOrientedSocketIO| from |UnixSocketWatcher| will
allow for sharing common I/O code of the sub-class.
2015-06-03 11:53:50 +02:00
Eric Rahm 38901afce4 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-01 22:17:34 -07:00
Wes Kocher 4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm e8a5eb8d6e 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-01 14:31:01 -07:00
Ting-Yu Chou 14f0c4dbfb Bug 1050122 - Part 2: Disable preallocate when proc loader is not initialized. r=khuey 2014-11-01 13:28:33 +08:00
Ting-Yu Chou 89eee8c371 Bug 1050122 - Part 1: Enable Nuwa on debug builds, and kill it if the preference is false. r=khuey 2014-10-31 15:07:43 +08:00
Carsten "Tomcat" Book 643b4d8cd2 Backed out 8 changesets (bug 1161020) for b2g ics emulator debug mochitest memory leaks on a CLOSED TREE
Backed out changeset 976e19eac8b5 (bug 1161020)
Backed out changeset 4f782be31f87 (bug 1161020)
Backed out changeset 384de663084c (bug 1161020)
Backed out changeset a8f42d85ce3f (bug 1161020)
Backed out changeset ac23206e80bd (bug 1161020)
Backed out changeset 34a20b05af6c (bug 1161020)
Backed out changeset 13753f9043f7 (bug 1161020)
Backed out changeset f90b8d3d6b70 (bug 1161020)
2015-05-18 15:01:27 +02:00
Thomas Zimmermann 2b68c73b1e Bug 1161020: Remove old interface and implementation from socket-connector classes, r=kmachulis 2015-05-18 11:28:30 +02:00
Thomas Zimmermann 553d9c5e14 Bug 1161020: Use new socket-connector interface in socket classes, r=kmachulis
This patch converts the socket I/O classes to use the new interface
of the socket-connector classes. All sockets are now created and set
up by a socket connector.
2015-05-18 11:28:30 +02:00
Thomas Zimmermann e6c35a9ff4 Bug 1161020: Implement new socket-connector interface for key store, r=chucklee
This patch moves |KeyStoreConnector| into its own file and implements
the new socket-connector interface.
2015-05-18 11:28:30 +02:00
Thomas Zimmermann 859df18543 Bug 1161020: Implement new socket-connector interface for RIL, r=htsai
This patch moves |RilConnector| into its own file and implements
the new socket-connector interface.
2015-05-18 11:28:30 +02:00
Thomas Zimmermann 0936f09ecd Bug 1161020: Implement new socket-connector interface for NFC, r=allstars.chh
This patch moves |NfcConnector| into its own file and implements
the new socket-connector interface.
2015-05-18 11:28:30 +02:00
Thomas Zimmermann d9ca2a993a Bug 1161020: Added clean interface to |UnixSocketConnector|, r=kmachulis
The current interface of |UnixSocketConnector| doesn't follow any design
and is not easily understandable.

This patch adds a new interface to the class. The new interface provides
a method for each of the following operations:

  * converting an address to a human-readable string,
  * creating a listening socket,
  * creating a stream socket, and
  * accepting a stream socket from a listening socket.

All arguments are stored in the connector class, so that connect and
listen methods of the socket classes don't require protocol-specific
arguments. All socket parameters are set within the connector class,
so each connector class can now select parameters individually.
2015-05-18 11:28:30 +02:00
James Willcox 571da64d75 Backout fb6329699801 for x86 breakage on a CLOSED TREE 2015-05-14 15:40:00 -05:00
James Willcox 0e358a231a Bug 1141693 - Build and use a PIE plugin-container on Android 5.0+. Based on a patch by Mike Hommey. r=me,glandium 2015-05-14 14:52:10 -05:00
Andrea Marchesini f4538bb921 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 13:11:03 +01:00
Andrea Marchesini 368a198972 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Wes Kocher 22483cbf35 Merge m-c to inbound, a=merge 2015-05-19 16:44:10 -07:00
Andrea Marchesini 61b9bd0496 Bug 1166231 - Make nsIDOMBlob an empty interface, r=ehsan 2015-05-19 15:36:37 +01:00
Mike Hommey 806e0220a2 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Bill McCloskey 751027c648 Bug 803783 - Send message manager results via structured clone (r=bent) 2015-05-11 17:19:10 -07:00
Phil Ringnalda 49dd872168 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo 9934d127c1 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj
--HG--
extra : rebase_source : 4e915a12ba662ed45788238a5f0a45533888bd92
2015-05-25 20:45:17 -04:00
Mike Hommey 1d59644f14 Bug 1162846 - Don't use str.find in moz.build. r=mshal 2015-05-12 07:27:35 +09:00
Wes Kocher 983fcabeef Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Wes Kocher 6b003ab737 Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
--HG--
rename : dom/base/MultipartBlobImpl.cpp => dom/base/MultipartFileImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/base/MultipartFileImpl.h
2015-05-11 13:17:58 -07:00
Andrea Marchesini 49a0ee6938 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-11 18:50:54 +01:00
Andrea Marchesini 91a8a35606 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen 2390c704f8 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE

--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini 48ecacaa74 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Thomas Zimmermann 63a3cb989e Bug 1162585: Set socket flags after socket has been created, r=kmachulis
This patch moves the code for setting socket flags in the socket I/O
classes to the few locations were sockets are created. Any other socket
setup is redundant and has been removed.
2015-05-08 09:45:42 +02:00
Thomas Zimmermann e5ff47d14f Bug 1162524: Move |accept| out of |UnixSocketWatcher|, r=kmachulis
Calls to |accept| are now handled by the corresponding socket I/O
class. This makes the code more flexible. All callers have been
adapted.
2015-05-08 09:43:01 +02:00
Thomas Zimmermann 7f93be6ced Bug 1162524: Fix error handling |UnixSocketWatcher::Connect|, r=kmachulis
With this patch, it's not an error if the connection operations
stalls on a non-blocking socket; so don't return an error code.

The patch also makes |connect| restart if it was aborted by a
signal.
2015-05-08 09:42:46 +02:00
Andrea Marchesini a8db0ddfbb Bug 1161507 - BroadcastChannel should use origin+appId+IsInBrowserElement as key in b2g, r=sicking 2015-05-06 11:07:06 +01:00
Blake Kaplan 25d39ad698 Bug 1155494 - Add a 'compressall' message flag. f=handyman r=billm (parts of this patch were written by handyman with r=billm) 2015-05-05 16:20:42 -07:00
Mike Conley 91457c2516 Bug 1146955 - Unify pluginID for GMP and runID for NPAPI plugins to use the same internal incrementor. r=jesup, mrbkap.
--HG--
extra : rebase_source : bd7989a043f0b36f23ffc8d35a55a6110b09b163
extra : source : 175040b5d347dcbb31cf63f124f88ba1f53fda61
2015-04-27 15:09:45 -04:00
Thomas Zimmermann c77d10209c Bug 1159709: Cleanup inherited methods of |ListenSocket|, r=kmachulis
This patch cleans up the inherited methods of |ListenSocket|. Methods
of the same base class are grouped within the file, and each method is
labeled with 'override'.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann 74910a62cf Bug 1159709: Cleanup inherited methods of |StreamSocket|, r=kmachulis
This patch cleans up the inherited methods of |StreamSocket|. Methods
of the same base class are grouped within the file, and each method
is labeled with 'override'.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann df4d5c2489 Bug 1159709: Integrate |ConnectionOrientedSocket| into socket I/O class hierarchy, r=kmachulis
This patch integrates |ConnectionOrientedSocket| into the hierarchy
of socket I/O classes. In future patches, the class can provide
common interfaces and functionality for all connection-oriented
sockets.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann 92706b5790 Bug 1159709: Inherit |BluetoothDaemonConnection| from |DataSocket|, r=kmachulis
|BluetoothDaemonConnection| sends and receives data. With this patch
it inherits from |DataSocket|, which provides the respective abstract
interfaces.
2015-04-30 12:55:37 +02:00
Thomas Zimmermann 79b0cc601a Bug 1158818: Only store Bluetooth result runnable after command has been sent successfully, r=shuang
With the current code, the Bluetooth result runnable is saved for
receiving before a command has been sent successfully. If sending
fails afterwards, the saved result runnable will still sit in the
result queue, and interfere with later, successful commands.

With this patch, the result runnable is saved only if the sending
was successful.
2015-04-30 11:29:25 +02:00
Thomas Zimmermann 625ab90911 Bug 1159209: Remove template parameters from |DataSocketIO|, r=kmachulis
This patch removes the template parameters from |DataSocketIO| and
moves its methods into the C++ source file. All users have been
adapted.
2015-04-29 11:19:28 +02:00
Thomas Zimmermann 9cdb8ad654 Bug 1159209: Remove template parameters from |SocketIOShutdownTask|, r=kmachulis
This patch removes the template parameters from |SocketIOShutdownTask|
and moves its methods into the C++ source file. All users have been
adapted.
2015-04-29 11:19:28 +02:00
Thomas Zimmermann bc3ec66d73 Bug 1159209: Remove template parameters from |SocketIODeleteInstanceRunnable|, r=kmachulis
This patch removes the template parameters from
|SocketIODeleteInstanceRunnable| and moves its methods into the
C++ source file. All users have been adapted.
2015-04-29 11:19:28 +02:00
Thomas Zimmermann f1e1ede770 Bug 1159209: Remove template parameters from |SocketIORequestClosingRunnable|, r=kmachulis
This patch removes the template parameters from
|SocketIORequestClosingRunnable| and moves its methods into
the C++ source file. All users have been adapted.
2015-04-29 11:19:28 +02:00
Thomas Zimmermann 6999dd655b Bug 1159209: Remove template parameters from |SocketIOEventRunnable|, r=kmachulis
This patch removes the template parameters from |SocketIOEventRunnable|
and moves its methods into the C++ source file. All users have been
adapted.
2015-04-29 11:19:28 +02:00
Ryan VanderMeulen dc34386c9f Merge inbound to m-c. a=merge 2015-04-28 15:27:26 -04:00
Carsten "Tomcat" Book c0f0b148a5 Merge mozilla-central to b2g-inbound 2015-04-28 14:05:17 +02:00
Thomas Zimmermann a8a6ff751e Bug 1158876: Move |DataSocket::ReceiveSocketData| into sub classes, r=kmachulis
|ReceiveSocketData| receives socket data on the main thread. This
is a specific detail of the current socket classes, which should not
be required by future implementations.

This patch moves the receive method and the corresponding runnable
into socket classes.
2015-04-28 10:18:13 +02:00
Thomas Zimmermann 10488d5115 Bug 1158876: Move management of socket I/O buffers into socket I/O classes, r=kmachulis
This patch moves management of received socket I/O buffers from
|DataSocketIO| into the I/O classes. Each I/O class is responsible
for (de-)allocating buffers, and consuming them once data has been
received.

All current I/O classes forward their buffers to the main thread,
but other operations are possible. For example, received data can
be parsed and processed directly in the I/O thread.
2015-04-28 10:18:13 +02:00
Thomas Zimmermann ed4b4e63be Bug 1158876: Rename |SocketConsumerBase| to |DataSocket|, r=kmachulis
This patch renames |SocketConsumerBase| to |DataSocket|, and for the
I/O classes |SocketConsumerIO| to |DataSocketIO|. |DataSocketIO| also
contains send and receive functionality from |SocketBaseIO|.

|DataSocket| is a virtual base class that represents a socket that
transfers data, without a particular constraints to what the data
represents. |DataSocketIO| is the corresponding helper class on the
I/O thread.
2015-04-28 10:18:12 +02:00
Jim Chen 23ba47d9f1 Bug 1157908 - Give Gecko thread Looper low priority; r=snorp 2015-04-27 20:52:52 -04:00
Aaron Klotz 28a06e03b9 Bug 1159037: Ensure correct parent and child message are passed to MessageListener::MediateInterruptRace; r=dvander
--HG--
extra : rebase_source : d0c50c69b8124ea1993b823ceadccf28ac91fd6b
2015-04-27 17:24:07 -06:00
Nathan Froyd b73bbd3af0 Bug 1158896 - prevent dead code from being generated in lower.py; r=bent
Coverity was complaining that we have things like:

    if ((!(actor))) {
        return false;
    }

    if ((!(actor))) {
        return false;
    }

in the generated code, as the second return will clearly never be hit.  To
address this, let's remove a redundant call to dtorPrologue.
2015-04-27 13:08:12 -04:00
Ryan VanderMeulen b350674885 Backed out changesets a486dcc9c233 and 7164a2488b28 (bug 1157908) for various Android test failures.
CLOSED TREE
2015-04-24 16:01:17 -04:00
Jim Chen 5864b21201 Bug 1157908 - Give Gecko thread Looper low priority; r=snorp 2015-04-24 14:40:55 -04:00
Andrew McCreight 0c176ddcff Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
Ryan VanderMeulen e18cc407f2 Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
extra : amend_source : 523a4f398be8a298db1a25bf0d4a892773efef82
2015-04-23 17:22:50 -04:00
Ryan VanderMeulen c39b31d3fd Merge inbound to m-c. a=merge 2015-04-23 17:10:28 -04:00
Carsten "Tomcat" Book 4139723dce Merge mozilla-central to b2g-inbound 2015-04-23 16:00:35 +02:00
Thomas Zimmermann 417a91f162 Bug 1156352: Remove |UnixSocketRawData| from socket I/O interfaces, r=kmachulis 2015-04-23 13:48:48 +02:00
Thomas Zimmermann be8cf398be Bug 1156352: Remove |UnixSocketRawData| from RIL interfaces, r=htsai 2015-04-23 13:48:48 +02:00
Thomas Zimmermann 7f554d1a7f Bug 1156352: Remove |UnixSocketRawData| from NFC interfaces, r=allstars.chh 2015-04-23 13:48:48 +02:00
Thomas Zimmermann 0d4de1ac5b Bug 1156352: Remove |UnixSocketRawData| from key store interfaces, r=chucklee 2015-04-23 13:48:47 +02:00
Thomas Zimmermann ab71ff982e Bug 1156352: Refactor |UnixSocketIOBuffer|, r=kmachulis
This patch moves memory management of |UnixSocketIOBuffer| into
|UnixSocketBuffer| and extends |UnixSocketIOBuffer| with send and
receive interfaces. The class is now the base for all socket-buffer
classes, such as |UnixSocketRawData| and |BluetoothDaemonPDU|.
2015-04-23 13:48:47 +02:00
Wes Kocher b43e5283da Merge m-c to fx-team a=merge 2015-04-22 17:27:15 -07:00
Kartikaya Gupta cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Felix Janda b0f3fb1e2a Bug 1139173 - ipc/chromium: Remove unused functions from file_util. r=froydnj
CLOSED TREE

--HG--
extra : amend_source : b2e5963ece60e1a4e51bafd8b5abfa838e18b189
2015-04-15 23:59:44 +02:00
Felix Janda 6cfa6bfc6b Bug 1139173 - ipc/chromium: Remove ScopedTempDir. r=froydnj 2015-04-15 23:57:40 +02:00
Felix Janda 6cf009e520 Bug 1139173 - ipc/chromium: Use <errno.h> instead of non-standard <sys/errno.h>. r=froydnj 2015-04-15 23:48:46 +02:00
Carsten "Tomcat" Book e02a605417 Merge mozilla-central to b2g-inbound 2015-04-21 15:37:22 +02:00
Bill McCloskey 86e65c20f2 Bug 1154990 - Better error messages when IPC send fails (r=bent) 2015-04-20 23:32:59 -07:00
Jim Blandy ebd83c9a61 Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Thomas Zimmermann 16d35dbec0 Bug 1154281: Remove |UnixSocketConsumer| and its helpers, r=kmachulis 2015-04-21 10:33:06 +02:00
Carsten "Tomcat" Book 8c20d6ac92 Merge mozilla-central to mozilla-inbound 2015-04-23 15:55:19 +02:00
Bob Owen 9f25ef01ff Bug 1087565: Verify the child process with a secret hello on Windows. r=dvander 2015-04-23 11:09:04 +01:00
Nathan Froyd 91108f0f63 Bug 1158905 - remove dead code from protocol Transition functions; r=bent
PFoo::Transition currently looks something like:

bool
Transition(
        State from,
        mozilla::ipc::Trigger trigger,
        State* next)
{
    switch (from) {
    ...
    default:
        NS_RUNTIMEABORT("corrupted actor state");
        return false;
    }
    (*(next)) = __Error;
    return false;
}

Coverity complains that the assignment (*(next)) = __Error will never be
reached, and rightfully so.  We can remove this fallthrough block when
there are no states declared in the individual protocol.
2015-04-27 13:29:37 -04:00
Jim Blandy 6afdd6c96b Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium
--HG--
extra : rebase_source : d210822225d307f3e3685cb5f95b461c48c0be7e
2015-03-19 00:46:40 -07:00
Jacek Caban fee7ccc6d7 Bug 1153901 - Disable PlatformThread::SetName functions on builds with no SEH support. r=nfroyd 2015-04-14 18:10:19 +02:00
Kartikaya Gupta 19ef59aa9f Bug 1146349 - Wire up native event synthesization in child processes. r=smaug 2015-04-14 11:36:36 -04:00
Bill McCloskey 79abd6e01a Bug 1128457 - Change handling of urgent messages during timeout (r=dvander) 2015-04-13 18:11:49 -07:00
Jed Davis 9596875de6 Bug 1142693 - Recognize EMSGSIZE as non-fatal on OS X for IPC sendmsg(). r=bent
Loosely based on Chromium git commit 86c3d9ef4fdf, but redone to insert a
sched_yield(), because treating EMSGSIZE as if it were EAGAIN/EWOULDBLOCK
is (as the Chromium developers note) likely to act as a busy-wait for the
receiver to make progress.
2015-04-10 22:47:05 -07:00
Jed Davis 32cb9ee32d Bug 1151607 - Step 1: Add Linux sandboxing hook for when child processes are still single-threaded. r=kang r=bent
This means that B2G plugin-container must (dynamically) link against
libmozsandbox in order to call into it before initializing Binder.
(Desktop Linux plugin-container already contains the sandbox code.)
2015-04-10 18:05:19 -07:00
Ben Turner 51ec0b56dc Bug 1135344 - Don't let IPDL use names that are reserved for compilers, r=froydnj. 2015-04-09 11:35:18 -07:00
Andrea Marchesini 74817d0620 Bug 1151480 - Correct check of the BroadcastChannel origin in b2g, r=ehsan 2015-04-08 09:27:31 +01:00
Andrea Marchesini cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Bill McCloskey a6a01e04db Bug 1121676 - Use static mutex to protect top-level protocols (r=bent) 2015-04-07 13:53:50 -07:00
Bill McCloskey 6611263e69 Bug 1146471 - Release thread asserts for IPC (r=dvander) 2015-04-07 13:46:25 -07:00
L. David Baron eef8e4b904 Back out changeset ad743e667004 (bug 950401) for Mac OS X 10.6 browser-chrome orange, mostly but not entirely on mochitest-e10s, on a CLOSED TREE. 2015-04-06 16:07:13 -07:00
Christoph Kerschbaumer 7a668f84df Bug 1133189 - Extend PrincipalInfo to handle expanded principals. r=bent, r=sicking 2015-04-06 18:44:04 -04:00
Ryan VanderMeulen 5e7ab18537 Backed out changeset 8bd316ad33c6 (bug 1133189) for suspicion of causing frequent OSX browser_frameworker_sandbox.js timeouts.
CLOSED TREE
2015-04-06 15:45:50 -04:00
Christoph Kerschbaumer f90c7ffe44 Bug 1133189 - Extend PrincipalInfo to handle expanded principals (r=bent,sicking) 2015-02-26 12:14:27 -08:00
Bill McCloskey cff3ed70bc bug 950401 - Log child process spawning on Mac/BSD. r=bsmedberg
--HG--
extra : rebase_source : 6d6842d9fead85a12b17715fb447ab53a815e5b2
extra : amend_source : 644921e61135d7c7a9e4b0858ead5b7c8f691f79
2015-03-25 07:10:36 -04:00
Steven Michaud 33228918ed Bug 1110911 - Move Mac sandboxing code into plugin-container. r=cpearce,areinald,jld 2015-04-03 11:51:41 -05:00
Nathan Froyd 7561c4089c Bug 1150266 - fix IPDL thinko for never-inline method declarations; r=bent 2015-04-01 20:40:16 -04:00
Bob Owen 283c8df550 Bug 1149971 Part 2: Cet rid of kCurrentProcessId as it makes lots of static initializers. r=dvander 2015-04-01 13:59:20 +01:00
Bob Owen 967713e4e9 Bug 1149971 Part 1: Follow-up to bug 1119878 to fix broken IPDL tests. r=dvander 2015-04-01 16:44:48 +01:00
Bill McCloskey e55b3abff3 Bug 1128457 - Make sure received messages are dispatched during timeouts (r=dvander) 2015-04-01 17:37:14 -07:00
Andrea Marchesini 068dd5f8a6 Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-04-01 12:41:29 +01:00
Bob Owen e4f543bb58 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Bob Owen eef3ca5f6e Bug 1119878 Part 1: Change SandboxTarget to hold sandbox target services to provide functions. r=aklotz, r=glandium, r=cpearce 2015-04-01 09:40:35 +01:00
Wes Kocher 4f66d44d5b Backed out changeset 6b886fbb3e48 (bug 1148032) for mochitest-chrome orange on b2g emulators 2015-03-31 15:48:25 -07:00
Andrea Marchesini 621d7068b8 Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-03-31 22:11:47 +01:00
Wes Kocher 1a65d1c1e9 Backed out changeset 976f64497fbc (bug 1148032) for static analysis bustage 2015-03-31 14:07:07 -07:00
Andrea Marchesini 5a32df3d98 Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-03-31 21:36:36 +01:00
Aaron Klotz 6753fce339 Bug 1133351: Part 2 - Use SetWinEventHook to detect OLE Window; r=bent
--HG--
extra : rebase_source : c41eca50ae290d9cb11ee88e088f24c164094961
2015-03-30 10:42:39 -07:00
Aaron Klotz 3a239b4632 Bug 1133351: Part 1 - Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
--HG--
extra : rebase_source : ebb6b9c25565bd2721ee6537b2161511666e92ac
2015-03-25 20:54:23 -07:00
Mike Hommey c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Jan-Ivar Bruaroey 924f8ae71f Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-29 13:43:43 -04:00
Jan-Ivar Bruaroey c6676519f2 Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, florian, billm, jesup 2015-03-03 09:51:05 -05:00
Randell Jesup 2b3486247c Backed out 6 changesets (bug 1046245) on a CLOSED TREE 2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey 6379bfb0be Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 19:02:46 -04:00
Jan-Ivar Bruaroey cdd0b089a5 Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup 2015-03-03 09:51:05 -05:00
Phil Ringnalda 24b4f38005 Back out 6 changesets (bug 1046245) for thinking that MSVC would have anything to do with a __PRETTY_FUNCTION__
CLOSED TREE

Backed out changeset 9e3ecca831d8 (bug 1046245)
Backed out changeset 87dc145f4da8 (bug 1046245)
Backed out changeset 01606cf19a77 (bug 1046245)
Backed out changeset 2ed2b15fe940 (bug 1046245)
Backed out changeset 2b99b193828a (bug 1046245)
Backed out changeset d1ac67faccbb (bug 1046245)
2015-03-28 19:57:17 -07:00
Jan-Ivar Bruaroey f3376e46f8 Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 19:02:46 -04:00
Jan-Ivar Bruaroey 222e93c87c Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup 2015-03-03 09:51:05 -05:00
Ryan VanderMeulen 003e8f5278 Backed out 6 changesets (bug 1046245) for bustage on a CLOSED TREE.
Backed out changeset 222c2f9e3bc9 (bug 1046245)
Backed out changeset 4251eef464a2 (bug 1046245)
Backed out changeset 592f4cc23197 (bug 1046245)
Backed out changeset 5bfb9a1c0550 (bug 1046245)
Backed out changeset e966a5df87b6 (bug 1046245)
Backed out changeset 609f3ca64004 (bug 1046245)
2015-03-28 16:24:25 -04:00
Jan-Ivar Bruaroey f350dbadee Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 11:45:42 -04:00
Jan-Ivar Bruaroey 59e13faed0 Bug 1046245 - enumerateDevices w/non-blocking e10s, nsICryptoHMAC, clear cookies, lambdas. r=keeler, r=florian, r=billm, r=jesup 2015-03-03 09:51:05 -05:00
Aaron Klotz c7b7ac7920 Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage 2015-03-28 06:08:26 -07:00
Aaron Klotz e55e727569 Bug 1133351: Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg
--HG--
extra : rebase_source : a14f07bce5c6c022f8141969bebce461cdaf006b
extra : amend_source : 19b9f98458218b896d4acbb36912935afcc34551
2015-03-25 20:54:23 -07:00
Andrea Marchesini e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari 4d078b8a35 Bug 1146888 - Build more files in ipc/chromium in unified mode; r=bent 2015-03-24 18:50:06 -04:00
Ehsan Akhgari bf2df719b1 Bug 1145631 - Part 4: Replace MOZ_FINAL with final in the IPDL codegen; r=froydnj 2015-03-21 12:28:36 -04:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Bill McCloskey e26a687773 Bug 1121676 - Use a lock to protect the list of top-level actors (r=bent) 2015-03-20 12:02:41 -07:00
Jed Davis 2ef14062cd Bug 1111065 - Backport some upstream IPC serialization fixes. r=bent a=me 2015-03-19 16:07:40 -07:00
Jed Davis fedf6a1c91 Bug 1111079 - Backport some IPC message/channel fixes. r=bent a=me 2015-03-19 16:07:37 -07:00
Boris Zbarsky 58ae84cfe1 Bug 1143793 part 6. Drop the obj argument of JS::Compile. r=luke
This is technically a behavior change for the shell's disfile() function, but
I really doubt anyone is doing disfile.call(someObj).
2015-03-19 10:13:34 -04:00
Boris Zbarsky 5af7e8cdc5 Bug 1143793 part 2. Remove the obj argument of JS_CompileUCScript. r=luke 2015-03-19 10:13:34 -04:00
Boris Zbarsky 5529d8327d Bug 1143793 part 1. Remove the obj argument of JS_CompileScript. r=luke 2015-03-19 10:13:33 -04:00
Bill McCloskey ba40fd679d Bug 1142109 - Process incoming urgent messages before sending (r=dvander) 2015-03-17 13:43:34 -07:00
Bill McCloskey 1004991381 Bug 1142109 - Fix IPDL tests (r=dvander) 2015-03-17 13:43:28 -07:00
Boris Zbarsky d1e4959752 Bug 1097987 part 6. Require callers of JS_ExecuteScript to either use the global as the scope or pass in an explicit scopechain. r=waldo 2015-03-14 01:36:16 -04:00
Boris Zbarsky 0dbd99c459 Bug 1097987 part 3. Change XPCShellEnvironment to only use JS_ExecuteScript in global scopes. r=bholley 2015-03-14 01:36:16 -04:00
Ryan VanderMeulen 68389cfd48 Merge m-c to inbound. a=merge 2015-03-13 12:18:07 -04:00
Bill McCloskey a852f4d3bc Bug 1090921 - Logging to see which tasks remain alive too long (r=dvander) 2015-03-13 08:20:34 -07:00
Thomas Zimmermann de7c9b005f Bug 1109592 - Cleanup unused variables and fields from NFC's IPC code. r=allstars.chh 2015-03-06 05:54:00 -05:00
Thomas Zimmermann 1ce878358e Bug 1109592 - Listen for connections from NFC daemon. r=allstars.chh
This patch inverses the connection setup procedure between Gecko
and nfcd. Gecko now installs a listen socket and starts nfcd from
the init scripts. Nfcd establishes the connection by connecting
to Gecko's socket.

As a side effect of this patch, nfcd only runs while NFC is switched
on. This saves ~1.6 MiB os memory with contemporary NFC drivers on
flame-kk.
2015-03-11 03:38:00 -04:00
Thomas Zimmermann 60bb14fba6 Bug 1109592 - Add |NfcListenSocket|. r=allstars.chh
The class |NfcListenSocket| is a socket that listens for connections
from nfcd.
2015-03-11 03:34:00 -04:00
Thomas Zimmermann b71aaf67e2 Bug 1109592 - Move |NfcConnector| to a more public place. r=allstars.chh
|NfcConnector| is required to listen for connections from within
|NfcService|. This patch makes it available.
2015-03-11 03:33:00 -04:00
Thomas Zimmermann 7c78ff1393 Bug 1109592 - Forward socket state from |NfcSocketListener|. r=allstars.chh
This patch allows to handle changes to the socket state at a higher
level than |NfcSocketListener|.
2015-03-09 03:27:00 -04:00
Chuck Lee 6e758e07f2 Bug 1140261 - Fix compiler error comparison of unsigned expression >= 0 is always true. r=hchang 2015-03-09 16:09:10 +08:00
Bob Owen b08af57c17 Bug 1137166: Change the Content moreStrict sandbox pref to an integer to indicate the level of sandboxing. r=tabraldes 2015-03-10 08:03:12 +00:00
Aaron Klotz d186a94983 Bug 1128768: Part 1 - Modify IPC to allow retrieval of topmost routing id on the stack; r=dvander
--HG--
extra : rebase_source : d6d92ae478e3f43468b035cfa759e89d7ac0eaab
2015-02-18 23:05:54 -07:00
Mike Hommey 364038011c Bug 868814 - Fold mozalloc library into mozglue. r=njn
--HG--
rename : memory/mozalloc/moz.build => memory/mozalloc/staticruntime/moz.build
2015-03-10 10:01:52 +09:00
Blake Kaplan 546dbbeb29 Bug 1131406 - Fix IPC serialization for nsHostObjectURI. r=billm 2015-03-06 22:33:00 +01:00
Blake Kaplan b9a37d66b1 Bug 1131406 - Fix IPC serialization for nsSimpleNestedURI. r=billm 2015-03-06 22:33:00 +01:00
Blake Kaplan fdaa97571f Bug 1131406 - Don't lose information about JS URIs when serializing them. r=billm 2015-03-06 22:33:00 +01:00
Wes Kocher 0de76a4c17 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-03 17:02:21 -08:00
Chuck Lee 6cb15b84a0 Bug 1012549 - 0004. Support read private key in keystore. r=dkeeler r=qdot 2015-02-28 21:54:24 +08:00
Mike Conley ce76729963 Bug 1066812 - Set AbortOnError in the ContentProcess on initialization. r=billm.
This will cause the content process to take itself down in the event that it
loses communication with the parent process. This case is particularly
important for the case where the parent process crashes while the content
process is blocked or busy on the main thread, as the content process will
no longer continue to exist as a zombie process, but will shut down after
a short delay.

--HG--
extra : rebase_source : c34e11451f58252ad44b1e6e46b01a0b4253fec4
2015-02-13 14:10:56 -05:00
Carsten "Tomcat" Book 6f58c47a0d Merge mozilla-central to mozilla-inbound 2015-03-03 14:10:55 +01:00
Wes Kocher b9799a40ef Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Gregory Szorc 6d01f694ab Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.

--HG--
extra : rebase_source : f701417f83dfa4e196e39182f8d0a6fea46c6fbb
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -08:00
Thomas Zimmermann 94a9c39fe7 Bug 1136729: Make destructor of |SocketBase| protected, r=qdot
The destructor methods of ref-counted classes are supposed to
be non-public to prevent accidential deletion. This patch fixes
|SocketBase|'s destructor.
2015-03-02 10:23:52 +01:00
Blake Kaplan c6890412ec Bug 1087646 - Properly serialize nullprincipal URIs across IPC. r=bzbarsky 2015-02-24 12:54:40 -08:00
Botond Ballo 19a974637b Bug 1135591 - Fix build breakage from bug 1132153 in code conditional on '--enable-ipdl-tests'. r=dholbert 2015-02-23 11:42:16 -05:00
Trevor Saunders ed728808f8 bug 1133075 - fixup includes CLOSED TREE 2015-02-18 17:31:55 -05:00
Botond Ballo 847508c681 Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Trevor Saunders 99d941db3c bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel 2015-02-18 17:03:30 -05:00
Peter Van der Beken 5914b2bdde Bug 1133748 - Fix ipdl code for bridged protocols that are also opened. r=billm.
--HG--
extra : rebase_source : 308d8e3ac3caea541b649329d5a35ecd31725de9
2015-02-09 21:54:12 +01:00
Ben Kelly f9064fc636 Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv 2015-03-02 14:20:00 +01:00
David Parks 6d03295e45 Bug 1130051 - Restore old semantics of IPDL 'compress' attribute. r=billm
In bug 1076820, the semantics of the IPDL 'compress' attribute were
changed to remove *all* duplicate messages of a type from the IPDL
message queue.  This restores the original behavior, where duplicates
were only removed if they were adjacent in the message queue.
2015-02-12 12:32:03 -08:00
Blake Kaplan 532caaa0a1 Bug 1117337 - Properly serialize moz-icon URIs. r=bent 2015-02-12 15:41:21 -08:00
Blake Kaplan f6b6ab342a Bug 1117337 - Get rid of this generic path in favor of explicit (de)serialization of URIs. r=bent 2015-02-12 15:41:21 -08:00
James Cowgill 2bf614caed Bug 1130438 - ipc/chromium: copy mips64 atomic patches from upstream chromium. r=froydnj
Upstream commits:
fc47526241
5614f28582
8bd6f985f2
2015-02-06 08:37:00 -05:00
Wes Kocher b3fc1b8237 Backed out 2 changesets (bug 1117337) for b2g build bustage on a CLOSED TREE
Backed out changeset 016b3f06add1 (bug 1117337)
Backed out changeset aa4817b6ad61 (bug 1117337)
2015-02-11 15:53:49 -08:00
Blake Kaplan 6b4a75ff82 Bug 1117337 - Properly serialize moz-icon URIs. r=bent 2015-02-11 15:11:33 -08:00
Blake Kaplan 0479c46af5 Bug 1117337 - Get rid of this generic path in favor of explicit (de)serialization of URIs. r=bent 2015-02-11 15:11:25 -08:00
Bob Owen 78f86d5dec Bug 1132021 - Add a new sandbox level for Windows NPAPI to use USER_LIMITED access token level. r=bsmedberg, r=bbondy 2015-02-11 16:25:43 +00:00
Andrea Marchesini 78ecfc7b0d Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book 43c27b90f0 Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
Andrea Marchesini 8fb2e275d3 Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm 2015-02-11 10:10:23 +01:00
Nicholas Nethercote 242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Phil Ringnalda 03a26ce028 Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini ee4cdf6a25 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Andrew McCreight 2b846790d1 Back out Bug 1127201 (part 1) for various problems. 2015-02-06 15:05:08 -08:00
Andrew McCreight d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Bob Owen 1a4af9dc4c Bug 1127230: Change the NPAPI sandbox prefs to integers to indicate the level of sandboxing. r=bsmedberg 2015-01-30 17:48:15 +00:00
Nicholas Nethercote d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Nicholas Nethercote 5def42d488 Bug 1127201 (part 1) - Let MOZ_ASSERT take a string variable as the second arg. r=Waldo.
ASSERT_UNLESS_FUZZING() (which is defined multiple times!) caused problems due
when __VA_ARGS__ was empty which is most of the time. So I just disallowed the
optional string, which was only used in a small fraction of the occurrences.

I don't particularly like this patch. I'm not convinced its any better than
just removing the nsPrintfCString()s like I did earlier, but I've done it to at
least show what's involved.

--HG--
extra : rebase_source : 10b5bcf8509eaf2fca300b0b8ab1fa130e9f8b8c
2015-02-04 19:42:29 -08:00
Bill McCloskey c04f106018 Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
Xidorn Quan 6a7ee49055 Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug 2015-01-31 18:17:12 +11:00
JerryShih 551c73a023 Bug 1125030 - Handle VsyncChild shutdown in ActorDestroy(). r=bent 2015-01-29 22:19:00 +01:00
Bob Owen 183a6391ad Bug 1126402: Add a pref to enable a more strict version of the Windows NPAPI process sandbox. r=bsmedberg, r=bbondy 2015-01-29 08:13:07 +00:00
Bill McCloskey ab0788b330 Bug 1109884 - Stop using intr messages in PContent (r=bent) 2015-01-28 11:53:46 -08:00
Masatoshi Kimura 6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura 86502e6537 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Jon Coppeard 12ae93f10e Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent 2015-01-23 10:23:57 +00:00
Bob Owen 5e05a962e1 Bug 1123245 Part 3: Add prefs for the Windows NPAPI process sandbox. r=bsmedberg 2015-01-23 08:32:21 +00:00
Bob Owen f6a727b6c9 Bug 1123245 Part 1: Enable an open sandbox on Windows NPAPI processes. r=josh, r=tabraldes 2015-01-23 08:32:20 +00:00
Bob Owen a7e3f06626 Bug 1102211: Move security/sandbox/build/ into security/sandbox/chromium/ r=ted
--HG--
rename : security/sandbox/build/build_config.h => security/sandbox/chromium/build/build_config.h
rename : security/sandbox/chromium-commit-status.txt => security/sandbox/moz-chromium-commit-status.txt
2015-01-22 08:37:30 +00:00
Carsten "Tomcat" Book 0db90d7550 Backed out changeset 4ccaf5ae9ced (bug 1102211) for bustage on a CLOSED TREE
--HG--
rename : security/sandbox/chromium/build/build_config.h => security/sandbox/build/build_config.h
rename : security/sandbox/moz-chromium-commit-status.txt => security/sandbox/chromium-commit-status.txt
2015-01-22 10:25:39 +01:00
Bob Owen 2b11d85b9b Bug 1102211: Move security/sandbox/build/ into security/sandbox/chromium/ r=ted
--HG--
rename : security/sandbox/build/build_config.h => security/sandbox/chromium/build/build_config.h
rename : security/sandbox/chromium-commit-status.txt => security/sandbox/moz-chromium-commit-status.txt
2015-01-22 08:37:30 +00:00
Carsten "Tomcat" Book dbc1d335ad Merge mozilla-central to b2g-inbound 2015-01-21 15:15:33 +01:00
Thomas Zimmermann 5cbe35fbd5 Bug 1123651: Inherit |NfcConsumer| from |StreamSocket|, r=allstars.chh
With this patch, |NfcConsumer| inherits from |StreamSocket| instead
of |UnixSocketConsumer|. Some methods have been renamed. |NfcConsumer|
now contains the method |GetIO|, which is required by |StreamSocket|
for integration with |ListenSocket|.
2015-01-21 10:59:21 +01:00
Thomas Zimmermann 0215081264 Bug 1123651: Improve correctness of |NfcConsumer| and its helpers, r=allstars.chh
This patch changes several small details to make |NfcConsumer| more
 correct. This includes

   - MOZ_FINAL for classes,
   - MOZ_OVERRIDE for virtual methods,
   - static global variables, and
   - nsAutoPtr around explicitly deleted data.
2015-01-21 10:59:21 +01:00