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

1208 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
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
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
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 86e65c20f2 Bug 1154990 - Better error messages when IPC send fails (r=bent) 2015-04-20 23:32:59 -07: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
Andrea Marchesini 74817d0620 Bug 1151480 - Correct check of the BroadcastChannel origin in b2g, r=ehsan 2015-04-08 09:27:31 +01: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
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
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
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
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
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 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
Bill McCloskey ba40fd679d Bug 1142109 - Process incoming urgent messages before sending (r=dvander) 2015-03-17 13:43:34 -07: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
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
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
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
Blake Kaplan c6890412ec Bug 1087646 - Properly serialize nullprincipal URIs across IPC. r=bzbarsky 2015-02-24 12:54:40 -08: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
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
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
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
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
Bill McCloskey f6534c08fb Bug 1118618 - [e10s] Slow script/plugin hang UI (r=mrbkap,mconley,bent) 2015-01-16 18:34:47 -08:00
Bill McCloskey cb8c3ea750 Backout bug 1118618 on a CLOSED TREE 2015-01-16 14:46:05 -08:00
Kyle Huey 7c82e6dd0a Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey 4a1c462570 Bug 1118618 - IPDL notifications when sending sync messages (r=bent) 2015-01-16 10:10:19 -08:00
Andrea Marchesini f36b9e5ced Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
JerryShih 09a6608110 Bug 1121331 - Part1: PVsync protocol for vsync event passing. r=bent 2015-01-14 00:37:00 +01:00
Ryan VanderMeulen 3a9ff448dc Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)

CLOSED TREE
2015-01-14 11:46:14 -05:00
Andrea Marchesini 65afdf13d8 Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-14 11:50:31 +00:00
Carsten "Tomcat" Book 1160541f6f Backed out changeset f7d82a8a8e94 (bug 1118618) for Bustage on a CLOSED TREE 2015-01-13 08:44:29 +01:00
Bill McCloskey eec94c71f5 Bug 1118618 - IPDL notifications when sending sync messages (r=bent) 2015-01-12 23:06:48 -08:00
Jim Chen db34c64f29 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari 4354953b4f Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Brad Lassey b536664cf4 bug 1097998 - Warn when using CPOWs when content process isn't in a safe state r=billm, bholley 2015-01-02 13:50:21 -05:00
Ehsan Akhgari d345515746 Bug 1117265 - Mark virtual overridden functions as MOZ_OVERRIDE in IPC code; r=baku 2015-01-03 12:25:13 -05:00
Aaron Klotz 37a6150ab4 Bug 1116827: Add check for null mMonitor in MessageChannel::CanSend(); r=dvander
--HG--
extra : rebase_source : c4e4b864fa511d60c2b0dc22e498d2f666c8148f
2014-12-31 13:15:38 -07:00
Aaron Klotz d9fc63ab86 Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh 2014-12-29 16:13:28 -07:00
Aaron Klotz 0876759d20 Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander 2014-12-29 16:12:47 -07:00
Phil Ringnalda 0c888c27eb Backed out 15 changesets (bug 1070755, bug 998863) for e10s bustage
CLOSED TREE

Backed out changeset 076d1d47d601 (bug 1070755)
Backed out changeset 43819af59ca5 (bug 998863)
Backed out changeset 5f587697ae63 (bug 998863)
Backed out changeset e2cf239e8572 (bug 998863)
Backed out changeset fe21b6b789ce (bug 998863)
Backed out changeset 404f59f86edc (bug 998863)
Backed out changeset 5dd57abaf2b0 (bug 998863)
Backed out changeset 6c1f006a03bc (bug 998863)
Backed out changeset 9e69875e3667 (bug 998863)
Backed out changeset c6b68f8f72ba (bug 998863)
Backed out changeset 713799a7afe4 (bug 998863)
Backed out changeset 4244d662787c (bug 998863)
Backed out changeset ba058cc7a1b2 (bug 998863)
Backed out changeset dabc69b0b09a (bug 998863)
Backed out changeset 18dad6d2e7cc (bug 998863)
2014-12-24 18:28:45 -08:00
Aaron Klotz 46b61c4117 Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh 2014-12-24 17:56:53 -07:00
Aaron Klotz fc2f0c6a2e Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander 2014-12-24 17:56:06 -07:00
Chris Peterson 27902ec6b5 Bug 1114724 - Define PRIuSIZE format specifiers for size_t. r=Waldo 2014-12-21 23:30:06 -08:00
Ehsan Akhgari 9297631e0b Bug 1114880 follow-up: Rename MOZ_{STRONG,WEAK}_REF to MOZ_{OWNING,NON_OWNING}_REF
--HG--
extra : rebase_source : 51fff0785d112b5b87be3c6ff723c8986b37effe
2014-12-23 21:17:50 -05:00
Ehsan Akhgari 883381c0be Bug 1114989 - Mark Shmem::mSegment as non-owning
--HG--
extra : rebase_source : c37e0768470315fd3dadeeeb3343b64f93a83b40
2014-12-23 21:01:50 -05:00
Wes Kocher f5c5fde40d Backed out changeset 45798e9a16c2 (bug 1114989) for mochitest-e10s-3 failures on a CLOSED TREE 2014-12-23 16:12:24 -08:00
Wes Kocher de5ffe05db Backed out changeset 5910d49fed08 (bug 1114989) 2014-12-23 16:11:48 -08:00
Ehsan Akhgari 76b581d963 Bug 1114989 follow-up: fix the build bustage; landed on a CLOSED TREE
--HG--
extra : rebase_source : 47cc94e393c8d90584f1f2fc49d9732860a3278a
2014-12-23 18:18:22 -05:00
Ehsan Akhgari 37d4f87ed3 Bug 1114989 - Convert Shmem::mSegment to nsRefPtr; r=jrmuizel
--HG--
extra : rebase_source : 9045464e9bdf365993999a5db83e68b21f4f44d6
2014-12-23 17:27:11 -05:00
Bill McCloskey 51b3cbac31 Bug 1109883 - Use urgent messages for protocol bridging (r=bent) 2014-12-18 17:35:48 -08:00
Bill McCloskey 2d185c3202 Bug 1109883 - Allow urgent prio messages to be sent to child (r=dvander) 2014-12-18 17:35:48 -08:00
Bill McCloskey 73c276ef13 Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander) 2014-12-18 17:35:44 -08:00
Bill McCloskey ac2be68f94 Bug 1110938 - Use message sequence number for transaction ID in MessageChannel (r=dvander) 2014-12-18 17:34:25 -08:00
Ben Turner 2be368dceb Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Shih-Chiang Chien 7bdce1f5fc Bug 1102439 - Clean up child-side PBackground before thread shutdown. r=khuey
--HG--
extra : transplant_source : %29r%7D%0CP%9F%D6%20%8B%A9%EA%EE%7D%AC%BB%80%1AB%D86
2014-11-20 14:16:36 -08:00
Botond Ballo 79d427447d Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Botond Ballo 40dadf0d08 Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Ben Turner 9a1f2f231f Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey. 2014-10-15 21:56:52 -07:00
Bobby Holley 455f15535d Bug 1103324 - Instantiate an AutoNoJSAPI when dispatching IPC messages. r=billm 2014-12-06 09:51:14 -08:00
Jan Varga 7a79af88ee Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent 2014-12-06 07:31:53 -08:00
Ben Turner abc1289811 Bug 1101756 - Add a null check to PrincipalToPrincipalInfo, r=khuey. 2014-12-04 10:12:47 -08:00
Bob Owen b539721eb8 Bug 928044 Part 2: Enable the content sandbox by default on Windows with an open policy. r=tabraldes,glandium,jimm
--HG--
rename : security/sandbox/win/src/warnonlysandbox/wosCallbacks.h => security/sandbox/win/src/logging/loggingCallbacks.h
rename : security/sandbox/win/src/warnonlysandbox/wosTypes.h => security/sandbox/win/src/logging/loggingTypes.h
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.cpp => security/sandbox/win/src/logging/sandboxLogging.cpp
rename : security/sandbox/win/src/warnonlysandbox/warnOnlySandbox.h => security/sandbox/win/src/logging/sandboxLogging.h
2014-11-29 17:12:18 +00:00
Trevor Saunders 1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Ben Turner 44622b4efd Bug 1102052 - Crash for PBackground protocol errors, r=mrbkap. 2014-11-20 11:48:18 -08:00
Jan Beich 7c94bec4c4 Bug 1098607 - Unbreak build BSDs and Solaris after bug 1072093. r=kats 2014-11-16 18:38:31 +01:00
Carsten "Tomcat" Book ee6cac2957 Backed out changeset 80f873bf8adc (bug 1036682) for test bustage 2014-11-14 12:32:47 +01:00
Nicolas Silva 8ff90737a5 Bug 1036682 - Check that the ipdl connection is not lost before sending messages. r=bjacob 2014-11-14 11:25:16 +01:00
David Parks 4741aa886c Bug 1076820 - Redraw on resize performance for content is pretty bad with e10s r=billm
Modern OSs adjust process scheduling based on CPU-boundedness and Interface-boundedness.  A process performing a lot of UI tasks requires lower-latency than a CPU-bound process.  For this reason, at least on Windows (but probably also Linux and Mac), in e10s, resize events are sent at a much higher rate than non-e10s, where the main process has to do the work to respond to them.  This was supposed to be handled by the 'compress' option in IPDL but its duplicate-event test was very imprecise - it only tested the *oldest* message in the queue.  This patch searches the messagequeue/deque to remove *any* duplicate.  deque::erase is linear but this is a very uncommon case - currently only two compressed IPDL messages exist in the entire code base.  Also, these queues are small.
2014-11-07 14:21:08 -08:00
Kartikaya Gupta d93b09b989 Bug 1072093 - Build the CrossProcessMutex_posix on OS X, but disable it prior to Lion. r=smichaud 2014-11-07 14:17:14 -05:00
Nathan Froyd 4f2fbddd3b Bug 1088043 - read and write nsTArrays more intelligently in IPC serialization; r=bent 2014-11-04 08:57:25 -05:00
Nathan Froyd 8340380af1 Bug 1092010 - part 3 - don't use IPC::Message::operator=(IPC::Message const&) in MessageChannel.cpp; r=dvander 2014-11-01 07:00:54 -04:00
Ryan VanderMeulen 1938b69d8b Backed out changesets bc3b048b416d and 773b27cd166b (bug 1050122) for regression B2G debug test runtimes dramatically. 2014-11-03 12:46:43 -05:00
Ting-Yu Chou 591080107c 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 b3971b5f46 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
Nathan Froyd b4ca2351fe Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander 2014-10-31 11:21:01 -04:00
Ryan VanderMeulen 199b533463 Backed out changesets a7d4914ea11a and f3d36cf13ac1 (bug 1092010) for non-unified bustage. 2014-11-01 00:10:08 -04:00
Nathan Froyd da125a46bd Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander 2014-10-31 11:21:01 -04:00
Bill McCloskey 2035b00c59 Bug 1062713 - Handle normal priority messages while sending sync messages more efficiently (r=dvander) 2014-10-30 13:06:24 -07:00
Andrew McCreight 78d06724f8 Bug 1089833 - Delete reply in MessageChannel::DispatchSyncMessage and DispatchInterruptMessage if channel isn't connected. r=billm 2014-10-28 13:53:15 -07:00
Ben Turner 58f3e4e056 Bug 1087464, Use the correct ContentParent when Nuwa forks PBackground actors. r=khuey. 2014-10-23 20:13:25 -04:00
Ben Turner d103771dfd Bug 1076975 - Avoid serializing blobs when passed between threads in the same process, r=khuey. 2014-10-20 17:49:00 -07:00
Stephen Pohl 0b58cd9573 Bug 1077282: Cleanup uses of GreD vs GreBinD, introcuded by v2 signature changes on OSX. Based on initial patch by rstrong. r=bsmedberg 2014-10-10 15:06:57 -04:00
Andrea Marchesini 8f8ec51372 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini 7491bee8c3 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-08 17:15:22 +01:00
Bill McCloskey 2ab547d3ab Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan) 2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book 4985d0ee76 Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE 2014-10-08 08:03:57 +02:00
Bill McCloskey 281cb8db91 Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan) 2014-10-07 21:32:45 -07:00
Ben Turner 21acdc6b04 Bug 1075302 - Allow Necko to do main thread I/O on remote blobs, r=khuey. 2014-10-07 12:26:59 -07:00
Ryan VanderMeulen cd3e8a6f73 Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)

CLOSED TREE

--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini c8190ba625 Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-07 15:20:55 +01:00
Andrea Marchesini d272279126 Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley 2014-10-07 15:20:52 +01:00
Stephen Pohl 61f65fb287 Bug 1075691: The GreD for XPCOM-using subprocesses on OSX needs to change due to the v2 signature changes. r=bsmedberg 2014-10-02 13:19:34 -04:00
Cervantes Yu d306472784 Bug 1048011: fix a race condition that leaks PProcLoaderParent. r=khuey
--HG--
extra : rebase_source : 18146b718be5d884915216ec453a153e30923f6c
2014-08-11 15:50:20 +08:00
Bill McCloskey bc57adfb17 Bug 1071409 - Eliminate potential CPOW hang (r=dvander) 2014-10-01 09:58:54 -07:00
Patrick Wang (Chih-Kai Wang) a6fea7c09c Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey 2014-09-30 22:12:11 +08:00
Carsten "Tomcat" Book b37ac43e39 merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Stephen Pohl 6ff74d5eef Mac v2 signing - Bug 1059504 - Avoid plugin-container from crashing due to the new v2 bundle structure on OSX. r=bsmedberg 2014-09-29 11:51:17 -07:00
Stephen Pohl 7959bd3a2b Mac v2 signing - Bug 1050944 - Get Firefox to launch and run on OSX with the new .app bundle structure, made necessary by Apple's v2 signatures. r=smichaud, r=ted, sr=bsmedberg 2014-09-29 11:51:04 -07:00
Ben Turner d081140cb0 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Cervantes Yu f306f96f76 Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey
--HG--
extra : rebase_source : 5e2dedb855dd5e0e6637d6f42c80c69df8081971
2014-09-30 00:00:00 +08:00
Carsten "Tomcat" Book 293a55afc8 Backed out changeset 1e25cd3e8219 (bug 1051633) for B2G ICS Emulator Opt m4 test failures 2014-09-24 11:28:37 +02:00
Cervantes Yu 5d34df52be Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey
--HG--
extra : rebase_source : 2c9baf6ac87744d7049c90284990c0aa48e0f058
2014-08-15 17:19:05 +08:00
Carsten "Tomcat" Book 54645ad792 Backed out changeset 0b73bd6d5d9c (bug 1032125) for causing regressions 2014-09-22 12:45:48 +02:00
Josh Aas ea42260ec4 Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd 2014-09-19 13:17:17 -05:00
Patrick Wang (Chih-Kai Wang) c8e896b33c Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey 2014-09-19 17:11:15 +08:00
Shian-Yow Wu b9c01983f4 Bug 1054598 - Don't assert when invalid file descriptor received. r=jduell 2014-09-19 15:29:36 +08:00
Wes Kocher fc53ede9d6 Backed out changeset d77733726cae (bug 1063318) for b2g mochitest leaks 2014-09-18 16:30:33 -07:00
Josh Aas d9721c0792 Bug 1063318: Switch Chromium IPC code to Mozilla's ref/auto ptr types. Also fix thread safety bug. r=nfroyd 2014-09-18 15:52:59 -05:00
Carsten "Tomcat" Book 8c30ba3274 Backed out changeset 78b119af926a (bug 1032125) for bustage on B2g non-unified builds on a CLOSED TREE 2014-09-18 15:14:19 +02:00
Patrick Wang (Chih-Kai Wang) c5cc9fe0f1 Bug 1032125: Part 1: Prevent from sending message to Nuwa after Nuwa frozen. r=khuey 2014-09-18 10:29:13 +08:00
Ben Turner 46d101f40c Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Ben Turner 1a91d40956 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey.
--HG--
rename : dom/indexedDB/ipc/SerializationHelpers.h => dom/indexedDB/SerializationHelpers.h
rename : dom/indexedDB/ipc/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-child-process.js
rename : dom/indexedDB/test/unit/head.js => dom/indexedDB/test/unit/xpcshell-head-parent-process.js
rename : dom/ipc/Blob.h => dom/ipc/BlobParent.h
rename : dom/ipc/FileDescriptorSetChild.cpp => ipc/glue/FileDescriptorSetChild.cpp
rename : dom/ipc/FileDescriptorSetChild.h => ipc/glue/FileDescriptorSetChild.h
rename : dom/ipc/FileDescriptorSetParent.cpp => ipc/glue/FileDescriptorSetParent.cpp
rename : dom/ipc/FileDescriptorSetParent.h => ipc/glue/FileDescriptorSetParent.h
rename : dom/ipc/PFileDescriptorSet.ipdl => ipc/glue/PFileDescriptorSet.ipdl
2014-09-13 12:12:19 -04:00
Jim Mathies 9d266c73b6 Bug 1060738 - Implement MessagePumpForNonMainUIThreads for Windows, a xpcom compatible subclass of chromium's MessagePumpForUI. r=tabraldes 2014-09-12 09:49:38 -05:00
Carsten "Tomcat" Book bd710ad752 Backed out changeset 0a76964b8d8d (bug 1048011) for causing regression 2014-09-10 14:52:47 +02:00
Jacek Caban 06efc6492d Bug 1063511 - Fix mingw builds after bug 1027906. r=tabraldes 2014-09-08 10:35:24 +02:00
Bob Owen f19448274c 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
Carsten "Tomcat" Book d578571a85 Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen 0fdb849687 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
Ehsan Akhgari b1b56df2fe Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Josh Aas 85d03dd759 Bug 1059479 - remove Chromium path service and trace events code. r=bent 2014-09-02 14:23:58 -05:00
Kyle Huey a98032818a Back out bug 1050122 for causing silent timeouts on emulator mochitests. a=me 2014-09-02 12:05:36 -07:00
Cervantes Yu 81af9774de 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
Ting-Yu Chou db092f3c12 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 8e138d4419 Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug 2014-08-31 21:12:55 -04:00
Tim Abraldes ba6539ecd7 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
Botond Ballo e7dbf26fb2 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 f57e56e187 Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.
--HG--
extra : rebase_source : 250ec1323d4097101a8e0331a2bf7fab59f72b1d
2014-08-27 15:47:27 -07:00
Jacek Caban 319bc9cc73 Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Ryan VanderMeulen a19bf3acbf 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 e9b504cd9e 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 8185a36bb0 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
Kyle Huey d8140a30b5 Bug 1057402: Fix for non-unified builds. r=me 2014-08-22 10:02:47 -07:00
Kyle Huey 2bd759b486 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 9b26ef9797 Bug 1049801 P2 Cancel the DispatchOnChannelConnected runnable when destructing the MessageChannel. r=bent 2014-08-21 14:13:23 -04:00
Ehsan Akhgari 60ccfd2346 Bug 1053603 - Fix some more bad implicit constructors in the IPC code; r=bent 2014-08-07 21:18:59 -04:00
Ben Kelly 266c4cd30b Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Bill McCloskey 4cedc603cb Bug 1050604 - Get IPDL tests passing again (r=bent) 2014-08-20 12:49:11 -07:00
Bill McCloskey be42be0ea4 Bug 1051128 - Allow filtering the IPC log by toplevel protocol name (r=bent) 2014-08-20 12:49:11 -07:00
Jim Mathies 5a0921a9b9 Bug 874437 - Only enable ipc sync wait deferred Windows message handling for plugin protocols, everything else should use standard blocking waits. r=bsmedberg 2014-08-15 12:12:37 -05:00
Jim Mathies dc108c90b9 Bug 1052395 - Improve ipc debug output for unhandled nonqueued Windows messages. r=bent 2014-08-12 14:06:00 -05:00
Jim Mathies 6792642961 Bug 1047842 - Pass WM_GETTEXTLENGTH messages in ipc wait for notify calls to DefWindowProc. r=bent 2014-08-13 04:39:47 -05:00
Ben Turner 45efa47d8a Bug 1051521, Fix assertion when OnCloseChannel loses the race with OnChannelError, r=bsmedberg. 2014-08-11 10:09:30 -07:00
Ben Turner 43649dec8a Bug 1044322 - Reset the channel listener on the correct thread. r=bsmedberg
CLOSED TREE
2014-08-08 18:19:33 -07:00
Ryan VanderMeulen f7fcc23040 Backed out changeset 8f9508342de9 (bug 1044322) for mochitest leaks. 2014-08-08 22:18:41 -04:00
Ben Turner 3bd6fe6f31 Bug 1044322 - Reset the channel listener on the correct thread, r=bsmedberg. 2014-08-08 18:19:33 -07:00
Birunthan Mohanathas 3e8abfd2e8 Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00
Jim Mathies 12e0bdab98 Bug 1044245: don't track Windows IPC stack frames on non-gui threads r=bsmedberg 2014-08-07 22:21:05 -04:00
Bill McCloskey 62917d6717 Bug 1042587 - Block scripts when using CPOWs (r=bent) 2014-08-05 21:44:42 -07:00
Bill McCloskey 024b67429e Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-08-05 21:43:36 -07:00
Ehsan Akhgari 0403683a4f Bug 1047782 - Fix some bad impliciit constructors in netwerk/; r=mcmanus 2014-08-05 09:20:50 -04:00
Ehsan Akhgari beaa1d2306 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -04:00
Thinker K.F. Li e9dc84b5a1 Bug 977026 - Part 2: B2G loader. r=khuey, r=cyu
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-30 03:24:00 -04:00
Bill McCloskey 8bcf32b6ed Back out bug 950745 for crashes 2014-07-30 16:19:46 -07:00
Benoit Jacob c50ccf8dba Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Mike Hommey 9424087517 Backout changesets 7ff3cd713466, f8ec5977a454 and c7c37390b46b (bug 977026) for b2g bustage on a CLOSED TREE. 2014-07-29 14:50:41 +09:00
Wes Kocher 1ce0c3e306 Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Carsten "Tomcat" Book aeabc85ae7 Merge mozilla-central to b2g-inbound 2014-07-28 16:06:50 +02:00
Thinker K.F. Li 5a9232dbfc Bug 977026 - part 2: B2G loader. r=khuey,cyu
--HG--
rename : ipc/app/MozillaRuntimeMain.cpp => ipc/contentproc/plugin-container.cpp
2014-07-25 20:52:00 +02:00
Andrew McCreight c95e487200 Bug 1038966, part 3 - Shmem should use refcounted pointer classes when creating SharedMemory. r=bent 2014-07-25 16:41:25 -07:00
Ehsan Akhgari c8380d74dd Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Andrew McCreight 2ab43e1c66 Bug 1028148, part 2 - SharedMemory does not need COUNT_CTOR/DTOR any more. r=bent 2014-07-28 09:56:55 -07:00
Andrew McCreight 1bb04a4616 Bug 1028148, part 1 - Make SharedMemory's dtor private. r=bent 2014-07-28 09:56:54 -07:00
Georg Fritzsche 1630e406c3 Bug 1041525 - Remove workaround for GMP SyncRunnable deadlock in Crashreporter::OOPInit() r=jesup 2014-07-24 18:16:08 +02:00
Randell Jesup 9fe91aeaea Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche 2014-07-21 10:24:29 -04:00
Randell Jesup bcf9fd60a8 Backed out changeset 40954106dc7a (bug 1041525) (incorrect patch landed) 2014-07-21 10:24:25 -04:00
Randell Jesup b51510d73a Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche 2014-07-21 09:59:13 -04:00
Bill McCloskey c87bbeeeda Bug 950745 - Flag when we're processing urgent messages and disallow certain activities (r=bsmedberg,luke) 2014-07-17 21:09:45 -07:00
Benjamin Smedberg 80cf96cd26 Bug 1033522 - Only initialize the Windows Group ID for plugin processes: other process types don't need it. Refactor the saved GRE dir to use a path rather than a non-threadsafe nsIFile object, r=jimm
--HG--
extra : rebase_source : d15c56da6cc5679516b259a6fc7efb31b070f715
2014-07-17 11:15:09 -04:00
Tim Abraldes 1aaa7148c1 bug 985252. Build sandbox code regardless of whether --enable-content-sandbox/MOZ_CONTENT_SANDBOX is provided. Enable sandboxing of GMP plugins. Enable `SandboxBroker` to set different security policies for different process types. r=bbondy, r=cpearce, r=bent 2014-07-16 16:01:34 -07:00
Andrew McCreight 842b52fe6f Bug 1038855, part 3 - Use an nsRefPtr for CrossProcessMutex::mSharedBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
Andrew McCreight de19994a7f Bug 1038853 - Use nullptr instead of 0 in Shmem.h and Shmem.cpp. r=bent 2014-07-15 16:51:44 -07:00
Benoit Girard 1465e09a99 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Ben Kelly 9538652bf1 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-09 17:39:18 -04:00
Wes Kocher 25c80c8653 Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783 2014-07-08 14:43:46 -07:00
Ben Kelly 273b405632 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Ben Turner 6764e04571 Bug 1024098, Add some helpers for principal verification with PBackground. r=mrbkap. 2014-07-07 11:13:04 -07:00
Benoit Jacob fed8dee123 Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent 2014-07-04 14:04:13 -04:00
Benoit Jacob 15eb88c866 back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes 2014-07-04 21:24:32 -04:00
Benoit Jacob cf08ba484c Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent 2014-07-04 14:04:13 -04:00
Ben Kelly 442902ef98 Backout 303027a0da95 (bug 1013571) due to persistent oranges (bug 1032011, bug 1032605, bug 1032783) 2014-07-04 00:31:59 -04:00
Ryan VanderMeulen 6d9424856d Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob 2e685fd274 Bug 1028383 - Make ITopLevelProtocol assert to enforce its assumptions that things happen on the main thread - r=bent 2014-07-03 14:53:35 -04:00
Jed Davis 518a1f1719 Bug 956961 - FileDescriptorToFILE should always use its input. r=bent
--HG--
extra : rebase_source : 5b5f0b5367c95ba1eb74ec158a93520675ed63ee
2014-07-02 11:22:40 -07:00
Wes Kocher 03cdc19fec Backed out 3 changesets (bug 956961) for non-unified build bustage
Backed out changeset f1be89cb58b9 (bug 956961)
Backed out changeset 272b01e4f856 (bug 956961)
Backed out changeset 56907af18c66 (bug 956961)
2014-07-02 15:03:29 -07:00
Jed Davis e10417743e Bug 956961 - FileDescriptorToFILE should always use its input. r=bent
--HG--
extra : amend_source : 60d5d0ca9a9dd57c66e7a250f6f8604820357131
2014-07-02 11:22:40 -07:00
Ben Kelly af266f98f6 Bug 1013571 Support PBackground on workers. r=bent 2014-06-27 13:36:25 -07:00
Benoit Jacob 8f78452009 Bug 1028588 - Fix dangerous public destructors in ipc/ - r=bent 2014-06-23 18:40:03 -04:00
Kartikaya Gupta 785582fc9d Bug 1024728 - Gracefully handle a CrossProcessMutex being initialized with a stale handle. r=khuey 2014-06-20 17:06:36 -04:00
Benoit Jacob c494ef04f8 Bug 1027251 - Fix or whitelist dangerous public destructors in ipc/ - r=bent 2014-06-18 22:29:00 -04:00
Nicholas Nethercote aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Ehsan Akhgari 28c14d47a0 Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
Chris Lord 5c57498fbc Bug 1012639 - Fix OtherProcess sometimes being the current process handle. r=bent 2014-06-11 14:51:12 +01:00
Mike Hommey 5870ddf891 Bug 1022259 - Only load Gtk+2 stub for plugin processes in Gtk+3 builds. r=bent,r=karlt 2014-06-10 16:00:42 +09:00
Ryan VanderMeulen 7d94b98700 Merge m-c to fx-team. 2014-05-30 16:30:24 -04:00
Jim Mathies cdd47fdee8 Bug 1014673 - Allow WM_GETOBJECT calls to succeed when mozilla window procedures are neutered by ipc WaitForNotify calls. r=bent 2014-05-30 14:30:54 -05:00
Emilio Pozuelo Monfort 1da5892669 Bug 624422 - Let plugin-container load libmozgtk2. r=glandium 2014-05-01 13:37:48 +02:00
Birunthan Mohanathas d9e420fc7c Bug 869836 - Part 12: Use `Assign('c')` instead of `AssignLiteral("c")`. r=ehsan
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Ehsan Akhgari 6011b07362 Bug 1015430 - Fix more XPCOM constructors to clarify whether they should be explicit; r=froydnj 2014-05-25 21:16:01 -04:00
Kyle Huey 8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Boris Zbarsky 8479e9cec6 Bug 869836 followup to fix build bustage 2014-05-22 00:48:11 -04:00
Birunthan Mohanathas aea8617b92 Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas 0e6f3a6562 Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan 2014-05-22 06:48:51 +03:00
Josh Aas b0e94d5a46 Bustage fix for Gecko Media Plugins landing, bug 957928. 2014-05-17 23:25:36 -05:00
Bas Schouten 0fb4d010fd Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent 2014-05-18 05:16:51 +02:00
Josh Aas 7ec76f43f8 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Phil Ringnalda 127b904678 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas 992d7074a3 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
Benoit Girard e263b0e91e backout 9ebe70d8a9b2 (Bug 1011225) for mochitest failures on a CLOSED TREE 2014-05-16 00:52:55 -04:00
Benoit Girard c71d9a9403 Bug 1011225 - [e10s] Name mac content process. r=mstange
--HG--
extra : rebase_source : 0b1e31e9fed6ec6227c101c3ccd6b5401822778c
2014-05-15 16:52:30 -04:00
Jed Davis e4ced412bb Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
This has a few semi-interdependent pieces:

* Factoring out the file opening/closing/renaming from the GC/CC logging.

* Using IPC to have the child log to files that the parent opened.

* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
  of child process logging (which was impossible before this, and which is
  needed to have a meaningful test case).

* Changing about:memory to dump logs for child processes, matching the
  behavior of the "Measure" button, because it can tell the user where
  they are now.

* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
  interface, not by clicking buttons and scraping the about:memory page,
  but done as a chrome mochitest to start remote browsers); based on
  test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Chris Peterson dbf88e5f6b Bug 1007741 - Fix -Wunused-function warning in ipc/glue/ and mark ipc/ subdirectories as FAIL_ON_WARNINGS. r=bsmedberg 2014-05-07 23:55:30 -07:00
David Major 2f04916760 Bug 1000364: Drop nonqueued messages for QuickTime's QTNSHIDDEN class. r=jimm
--HG--
extra : rebase_source : 9f319b57601d36a108d4f22f3b2221d62ac25523
2014-05-08 12:20:05 +12:00
Ting-Yu Chou bec3061850 Bug 999351 - Fix an IPC leak by clearing MessageChannel resource before destruction. r=bent
Once we have a channel error (like, child process dies) we don't immediately do
anything with additional messages that were pending from that child. They stay
queued and eventually get freed when the channel is destroyed. This patch clears
the resource earlier whenever there is an error, or the channel is closed.
2014-04-24 15:26:50 +08:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Benoit Jacob 79693d7a24 Bug 987305 - Add BitFlagsEnumSerializer - r=nfroyd 2014-04-25 22:34:04 -04:00
Cervantes Yu 878e346c04 Bug 977359 Part 2: Test case for the deadlock in the Nuwa process. r=gal 2014-04-15 21:26:30 +08:00
Benoit Jacob e8b418c5f5 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Phil Ringnalda 0cfd4fe15e Merge b-i to a CLOSED TREE m-c 2014-04-06 10:05:10 -07:00
Ben Turner b6f0894382 Bug 988878, r=bsmedberg. 2014-04-04 19:45:20 -07:00
Dave Hylands b3befb9df9 Bug 988410 - Move directory service calls onto MainThread. r=bent 2014-04-04 12:16:16 -07:00
snigdha 9cc482da68 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Ben Turner 9394b6fd31 Bug 977819 - 'Allow PBackgroundChild implementors to hook into the threadlocal space'. r=mrbkap. 2014-03-31 19:55:36 -07:00
Ben Turner f90d07c4fd Bug 977762 - 'Provide a mechanism to get the PContentParent associated with a PBackgroundParent'. r=mrbkap. 2014-02-27 11:59:12 -08:00
Josh Aas 5e8b893a0b Bug 987923: Add autorelease pool locally in GetTempDir on OS X, and also to non-main-thread event loop. r=smichaud,bent 2014-03-25 15:27:12 -05:00
Andrea Marchesini ebeddf1969 Bug 910010 - Implementation of PFileDescriptorSet - part 2, r=bent 2014-03-25 18:37:28 +00:00
Andrea Marchesini fdcbca4082 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Jed Davis ae7a935120 Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg 2014-03-21 08:50:07 -04:00
Blake Kaplan b356dfdf64 Bug 984708 - Make sure we clear out the shutdown timer no matter what. r=bent 2014-03-19 10:36:28 -04:00
Neil Rashbrook 604d9a5302 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher c879b47079 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook 3e8915c4b8 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey b564544cf7 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey 1f3d658bb3 Bug 967364: Use every already_AddRefed. r=bsmedberg 2014-03-15 12:00:16 -07:00