Commit Graph

2542 Commits

Author SHA1 Message Date
Randell Jesup
489c2b15d5 Backed out 6 changesets (bug 1046245) on a CLOSED TREE 2015-03-29 01:42:32 -04:00
Jan-Ivar Bruaroey
ad529303e9 Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 19:02:46 -04:00
Jan-Ivar Bruaroey
749fb18624 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
13670b07d8 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
48383ec388 Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 19:02:46 -04:00
Jan-Ivar Bruaroey
d2a2c59e6d 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
0ec3fab670 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
9ed860c24b Bug 1046245 - IO on STS thread + cleanup BackgroundChild on shutdown. r=jesup 2015-03-28 11:45:42 -04:00
Jan-Ivar Bruaroey
fbcac25eea 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
459ffe065a Bug 1133351: Backed out 0cc8abe4e2bb for assertion failures; r=bustage 2015-03-28 06:08:26 -07:00
Aaron Klotz
5c037a904b Bug 1133351: Make Windows IPC play nicely with COM STA marshaling; r=bsmedberg 2015-03-25 20:54:23 -07:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
671050ba51 Bug 1146888 - Build more files in ipc/chromium in unified mode; r=bent 2015-03-24 18:50:06 -04:00
Ehsan Akhgari
2eb65ef7a1 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
5cccea6f0f 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
c6fbaae4dd 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
f1df8166f9 Bug 1111065 - Backport some upstream IPC serialization fixes. r=bent a=me 2015-03-19 16:07:40 -07:00
Jed Davis
a1a8ac179a Bug 1111079 - Backport some IPC message/channel fixes. r=bent a=me 2015-03-19 16:07:37 -07:00
Boris Zbarsky
a6c31c047a 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
047296538f Bug 1143793 part 2. Remove the obj argument of JS_CompileUCScript. r=luke 2015-03-19 10:13:34 -04:00
Boris Zbarsky
730e1cc79d Bug 1143793 part 1. Remove the obj argument of JS_CompileScript. r=luke 2015-03-19 10:13:33 -04:00
Bill McCloskey
40b7001f36 Bug 1142109 - Process incoming urgent messages before sending (r=dvander) 2015-03-17 13:43:34 -07:00
Bill McCloskey
574518cef6 Bug 1142109 - Fix IPDL tests (r=dvander) 2015-03-17 13:43:28 -07:00
Boris Zbarsky
cbaf27c1b2 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
4cf0ca2fd5 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
fdc5960eec Merge m-c to inbound. a=merge 2015-03-13 12:18:07 -04:00
Bill McCloskey
fdeb13c079 Bug 1090921 - Logging to see which tasks remain alive too long (r=dvander) 2015-03-13 08:20:34 -07:00
Thomas Zimmermann
528d588d1f 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
c0367c518f 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
83f5148f14 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
da093e7711 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
a139b22e7a 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
583b9b45c6 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
181d4e83ed 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
edfdf8a1f4 Bug 1128768: Part 1 - Modify IPC to allow retrieval of topmost routing id on the stack; r=dvander 2015-02-18 23:05:54 -07:00
Mike Hommey
d84d9950a3 Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Blake Kaplan
458e781121 Bug 1131406 - Fix IPC serialization for nsHostObjectURI. r=billm 2015-03-06 22:33:00 +01:00
Blake Kaplan
3ad1c2984e Bug 1131406 - Fix IPC serialization for nsSimpleNestedURI. r=billm 2015-03-06 22:33:00 +01:00
Blake Kaplan
3a647c9065 Bug 1131406 - Don't lose information about JS URIs when serializing them. r=billm 2015-03-06 22:33:00 +01:00
Wes Kocher
a64b305a76 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-03 17:02:21 -08:00
Chuck Lee
ac72d5e34a Bug 1012549 - 0004. Support read private key in keystore. r=dkeeler r=qdot 2015-02-28 21:54:24 +08:00
Mike Conley
7049d67b55 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.
2015-02-13 14:10:56 -05:00
Carsten "Tomcat" Book
ba1773e422 Merge mozilla-central to mozilla-inbound 2015-03-03 14:10:55 +01:00
Wes Kocher
9285676936 Merge m-c to fx-team a=merge CLOSED TREE 2015-03-02 13:07:53 -08:00
Gregory Szorc
adf19d10b9 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.
2015-02-26 10:21:52 -08:00
Thomas Zimmermann
e500bc8071 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
6b6076e7b6 Bug 1087646 - Properly serialize nullprincipal URIs across IPC. r=bzbarsky 2015-02-24 12:54:40 -08:00
Botond Ballo
d0f6504d5a 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
24d69566e5 bug 1133075 - fixup includes CLOSED TREE 2015-02-18 17:31:55 -05:00
Botond Ballo
1b9e566b74 Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Trevor Saunders
d48baddbc0 bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel 2015-02-18 17:03:30 -05:00
Peter Van der Beken
f14fc6b637 Bug 1133748 - Fix ipdl code for bridged protocols that are also opened. r=billm. 2015-02-09 21:54:12 +01:00
Ben Kelly
fbfa0b4996 Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv 2015-03-02 14:20:00 +01:00
David Parks
cf0f07e999 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
1d30248d08 Bug 1117337 - Properly serialize moz-icon URIs. r=bent 2015-02-12 15:41:21 -08:00
Blake Kaplan
054d0eca53 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
abe7da3a45 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
5b56c762ea 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
454310e324 Bug 1117337 - Properly serialize moz-icon URIs. r=bent 2015-02-11 15:11:33 -08:00
Blake Kaplan
88ec637c72 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
c8281d0595 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
39b12bc6dc Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm 2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
341e2dae13 Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE 2015-02-11 13:29:16 +01:00
Andrea Marchesini
ed0dd64625 Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm 2015-02-11 10:10:23 +01:00
Nicholas Nethercote
ee41df7dc2 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
Phil Ringnalda
c865152e04 Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
d9876086c9 Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm 2015-02-06 23:31:33 +00:00
Andrew McCreight
a38ee3890e Back out Bug 1127201 (part 1) for various problems. 2015-02-06 15:05:08 -08:00
Andrew McCreight
1ee96e7527 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Bob Owen
bb1da6346b 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
0a02b5d31c Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo. 2015-02-04 20:05:36 -08:00
Nicholas Nethercote
f9f2575aa6 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.
2015-02-04 19:42:29 -08:00
Bill McCloskey
5ba8672d8d Bug 1124933 - Include crash reason when intentionally crashing content process (r=bent) 2015-02-03 09:09:27 -08:00
Xidorn Quan
bcda60a836 Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug 2015-01-31 18:17:12 +11:00
JerryShih
ea7c16928c Bug 1125030 - Handle VsyncChild shutdown in ActorDestroy(). r=bent 2015-01-29 22:19:00 +01:00
Bob Owen
543404566a 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
19d59d9b7d Bug 1109884 - Stop using intr messages in PContent (r=bent) 2015-01-28 11:53:46 -08:00
Masatoshi Kimura
f1b5ace064 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
e4e75cdb99 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Jon Coppeard
a6dbde04cd Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent 2015-01-23 10:23:57 +00:00
Bob Owen
120cd1d934 Bug 1123245 Part 3: Add prefs for the Windows NPAPI process sandbox. r=bsmedberg 2015-01-23 08:32:21 +00:00
Bob Owen
27e023746a 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
c71f4fd518 Bug 1102211: Move security/sandbox/build/ into security/sandbox/chromium/ r=ted 2015-01-22 08:37:30 +00:00
Carsten "Tomcat" Book
ce0419c259 Backed out changeset 4ccaf5ae9ced (bug 1102211) for bustage on a CLOSED TREE 2015-01-22 10:25:39 +01:00
Bob Owen
a3c78c39e8 Bug 1102211: Move security/sandbox/build/ into security/sandbox/chromium/ r=ted 2015-01-22 08:37:30 +00:00
Carsten "Tomcat" Book
02ea0618b6 Merge mozilla-central to b2g-inbound 2015-01-21 15:15:33 +01:00
Thomas Zimmermann
c6fc818517 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
c85af30f6f 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
Thomas Zimmermann
32d1c4be8b Bug 1123651: Fix coding style in Nfc.cpp, r=allstars.chh 2015-01-21 10:59:21 +01:00
Carsten "Tomcat" Book
53ff14f2c6 merge b2g-inbound to mozilla-central a=merge 2015-01-20 12:12:12 +01:00
Thomas Zimmermann
1ffae7c0e5 Bug 1119746: Support |ListenSocket| in |BluetoothDaemonConnection|, r=qdot
This patch adds support for |ListenSocket| to |BluetoothDaemonConnection|.
The class can now handle file descriptors that have been accepted by
|ListenSocket|.
2015-01-20 10:17:25 +08:00
Thomas Zimmermann
ff1a2fc9b8 Bug 1119746: Signal active listening in |ListenSocket|, r=qdot
The listen socket will now send-out CONNECT_SUCCESS after it started
listening. Callers might rely on this event. Before, CONNECT_SUCCESS
in |ListenSocket| was not used by callers.
2015-01-20 10:17:19 +08:00
Martin Liska
6931939a1a bug 1121410 - use one lto partition to link plugin-container when it contains the chromium sandbox code r=glandium 2015-01-20 05:51:44 -05:00
Brian Smith
f54ad54a3f Bug 1119072, Part 3(a): Silence warning about deprecated use of hash_set and hash_map in ipc/chromium, r=bsmedberg 2015-01-12 19:58:16 -08:00
Ehsan Akhgari
182004b54e Bug 1123115 - Clarify the ownership of some member variables in task.h; r=bent 2015-01-20 19:15:19 -05:00
Bill McCloskey
033932ef23 Bug 1122956 - Convert IPDL tests to take move references (r=bent) 2015-01-20 15:42:54 -08:00
Bill McCloskey
895dd5b731 Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Bill McCloskey
7cc975d82d Backout bug 1118618 on a CLOSED TREE 2015-01-16 14:46:05 -08:00
Kyle Huey
2a6f8887b5 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey
0928a9dbff Bug 1118618 - IPDL notifications when sending sync messages (r=bent) 2015-01-16 10:10:19 -08:00