Commit Graph

1112 Commits

Author SHA1 Message Date
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
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
Bill McCloskey
40b7001f36 Bug 1142109 - Process incoming urgent messages before sending (r=dvander) 2015-03-17 13:43:34 -07: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
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
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
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
Blake Kaplan
6b6076e7b6 Bug 1087646 - Properly serialize nullprincipal URIs across IPC. r=bzbarsky 2015-02-24 12:54:40 -08: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
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
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
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
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
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
Andrea Marchesini
bcc1fec640 Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
JerryShih
06d5268874 Bug 1121331 - Part1: PVsync protocol for vsync event passing. r=bent 2015-01-14 00:37:00 +01:00
Ryan VanderMeulen
35882877b9 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
bd169a17ca 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
13e6cffa66 Backed out changeset f7d82a8a8e94 (bug 1118618) for Bustage on a CLOSED TREE 2015-01-13 08:44:29 +01:00
Bill McCloskey
32c54372bf Bug 1118618 - IPDL notifications when sending sync messages (r=bent) 2015-01-12 23:06:48 -08:00
Jim Chen
67f8ab8931 Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp 2015-01-09 19:33:57 -05:00
Ehsan Akhgari
bd52bd3f4e 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
b7e45f2061 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
0c834944de Bug 1117265 - Mark virtual overridden functions as MOZ_OVERRIDE in IPC code; r=baku 2015-01-03 12:25:13 -05:00
Aaron Klotz
d4ab045bb1 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
b1b39a372e Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh 2014-12-29 16:13:28 -07:00
Aaron Klotz
112f38d93e Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander 2014-12-29 16:12:47 -07:00
Phil Ringnalda
7deecb5272 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
c182db328b Bug 998863: Asynchronous Plugin Initialization, Part 8: Plugin process launch changes; r=josh 2014-12-24 17:56:53 -07:00
Aaron Klotz
15e091d883 Bug 998863: Asynchronous Plugin Initialization, Part 3: ipc/glue changes; r=dvander 2014-12-24 17:56:06 -07:00
Chris Peterson
728d92a7d3 Bug 1114724 - Define PRIuSIZE format specifiers for size_t. r=Waldo 2014-12-21 23:30:06 -08:00
Ehsan Akhgari
c9b06aba01 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
442b66755d Bug 1114989 - Mark Shmem::mSegment as non-owning
--HG--
extra : rebase_source : c37e0768470315fd3dadeeeb3343b64f93a83b40
2014-12-23 21:01:50 -05:00
Wes Kocher
027f4baafe 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
54df8f9fb5 Backed out changeset 5910d49fed08 (bug 1114989) 2014-12-23 16:11:48 -08:00
Ehsan Akhgari
cc7ce5ca4c 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
af03c0dac9 Bug 1114989 - Convert Shmem::mSegment to nsRefPtr; r=jrmuizel
--HG--
extra : rebase_source : 9045464e9bdf365993999a5db83e68b21f4f44d6
2014-12-23 17:27:11 -05:00
Bill McCloskey
97dcfc55be Bug 1109883 - Use urgent messages for protocol bridging (r=bent) 2014-12-18 17:35:48 -08:00
Bill McCloskey
9c3ef98618 Bug 1109883 - Allow urgent prio messages to be sent to child (r=dvander) 2014-12-18 17:35:48 -08:00
Bill McCloskey
5c7191833d Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander) 2014-12-18 17:35:44 -08:00
Bill McCloskey
eb9ada2db8 Bug 1110938 - Use message sequence number for transaction ID in MessageChannel (r=dvander) 2014-12-18 17:34:25 -08:00
Ben Turner
64376d8607 Bug 701634 - Support IndexedDB in Workers, r=khuey+baku. 2014-12-16 22:26:15 -08:00
Shih-Chiang Chien
1e29b21379 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
79bcb7c0d7 Bug 1073081 - Fix -Waddress warnings about Nuwa functions. r=khuey
--HG--
extra : source : 8cd5108862aaf2c579a76ac6e9c08eb69fa5f3ff
2014-11-26 19:20:03 -05:00
Botond Ballo
16adb2810a 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
ea0ab881c3 Bug 1092311 - Fix IndexedDB profiler markers and logging, r=khuey. 2014-10-15 21:56:52 -07:00
Bobby Holley
873c946fbd Bug 1103324 - Instantiate an AutoNoJSAPI when dispatching IPC messages. r=billm 2014-12-06 09:51:14 -08:00
Jan Varga
7e6681aef5 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
ef1267213c Bug 1101756 - Add a null check to PrincipalToPrincipalInfo, r=khuey. 2014-12-04 10:12:47 -08:00
Bob Owen
fceb0dd420 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
dfe4aecd6f bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Ben Turner
5b1b3cbf28 Bug 1102052 - Crash for PBackground protocol errors, r=mrbkap. 2014-11-20 11:48:18 -08:00
Jan Beich
a979f04f2e Bug 1098607 - Unbreak build BSDs and Solaris after bug 1072093. r=kats 2014-11-16 18:38:31 +01:00
Carsten "Tomcat" Book
cbd21d3efa Backed out changeset 80f873bf8adc (bug 1036682) for test bustage 2014-11-14 12:32:47 +01:00
Nicolas Silva
99c9b7f8d2 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
ba22fb3d30 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
f1020af683 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
2cd94b0c88 Bug 1088043 - read and write nsTArrays more intelligently in IPC serialization; r=bent 2014-11-04 08:57:25 -05:00
Nathan Froyd
041701a9e1 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
cb8a31e3ed 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
90479ea0d6 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
68a0de5c5e 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
7a60e56230 Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander 2014-10-31 11:21:01 -04:00
Ryan VanderMeulen
a72789250f Backed out changesets a7d4914ea11a and f3d36cf13ac1 (bug 1092010) for non-unified bustage. 2014-11-01 00:10:08 -04:00
Nathan Froyd
aa265e842b Bug 1092010 - part 2 - use move semantics in MessageChannel.cpp; r=dvander 2014-10-31 11:21:01 -04:00
Bill McCloskey
c49597d156 Bug 1062713 - Handle normal priority messages while sending sync messages more efficiently (r=dvander) 2014-10-30 13:06:24 -07:00
Andrew McCreight
d85cfdaa0c 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
09dd36a3d7 Bug 1087464, Use the correct ContentParent when Nuwa forks PBackground actors. r=khuey. 2014-10-23 20:13:25 -04:00
Ben Turner
e24fd2b2d7 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
af02c5db64 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
1560ff52a9 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
57fa89d6de 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
425175f713 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
147fca0f92 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
f7ae46e404 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
2c98e8b570 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
566e49b6ff 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
946cf8e0e1 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
570a9abfb8 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
d1e56e594a 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
4c543120bc 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
b09df8faac Bug 1071409 - Eliminate potential CPOW hang (r=dvander) 2014-10-01 09:58:54 -07:00
Patrick Wang (Chih-Kai Wang)
c133c7b6ce 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
3d0ce0976d merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Stephen Pohl
8da5f461b8 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
dca2016258 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
b5f643fa70 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Cervantes Yu
1d61b4360f 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
20a19b8364 Backed out changeset 1e25cd3e8219 (bug 1051633) for B2G ICS Emulator Opt m4 test failures 2014-09-24 11:28:37 +02:00
Cervantes Yu
c78afc09ad 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
7734ab7afa Backed out changeset 0b73bd6d5d9c (bug 1032125) for causing regressions 2014-09-22 12:45:48 +02:00
Josh Aas
2faa491a2e 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)
bf5424a2cb 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
ba9955eef2 Bug 1054598 - Don't assert when invalid file descriptor received. r=jduell 2014-09-19 15:29:36 +08:00
Wes Kocher
63f386ce56 Backed out changeset d77733726cae (bug 1063318) for b2g mochitest leaks 2014-09-18 16:30:33 -07:00
Josh Aas
a39b0e7b4a 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
ba67d6d3f5 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)
7eebb623c6 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
68190e91be 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
c6ede83e24 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
c62c2e76fd 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
1d3cf459a6 Backed out changeset 0a76964b8d8d (bug 1048011) for causing regression 2014-09-10 14:52:47 +02:00
Jacek Caban
885baf6d90 Bug 1063511 - Fix mingw builds after bug 1027906. r=tabraldes 2014-09-08 10:35:24 +02:00
Bob Owen
46c8a13d45 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Carsten "Tomcat" Book
b3af4cd10a Backed out changeset 5adabc2818b2 (bug 1018966) for b2g bustage 2014-09-04 15:14:41 +02:00
Bob Owen
9f262068b7 Bug 1018966 - Part 1: Add the main warn only sandbox machinery - with no Chromium code changes. r=bsmedberg r=tabraldes
This change also includes the content sandboxing code on Windows Nightly by defining MOZ_CONTENT_SANDBOX=1.
Whether the content sandbox is disabled, in warn only mode, or enabled is controlled by a new pref: browser.tabs.remote.sandbox=(off/warn/on)
2014-06-11 15:32:37 +01:00
Ehsan Akhgari
a9591395ad Bug 1061254 - Fix more bad implicit constructors in misc. components; r=bsmedberg 2014-09-02 18:24:49 -04:00
Josh Aas
dc12acf506 Bug 1059479 - remove Chromium path service and trace events code. r=bent 2014-09-02 14:23:58 -05:00
Kyle Huey
2907389bf4 Back out bug 1050122 for causing silent timeouts on emulator mochitests. a=me 2014-09-02 12:05:36 -07:00
Cervantes Yu
9a3ef0e44c Bug 1048011 - Fix a race condition that causes PProcLoaderParent leak. r=khuey
--HG--
extra : rebase_source : d0230771da1992fab13681c9b5baa585d334d0cc
2014-08-11 15:50:20 +08:00
Ting-Yu Chou
5da3f0523a Bug 1050122 - Enable Nuwa on debug builds, and kill it if the preference is false. r=khuey 2014-09-01 10:43:39 +08:00
Ehsan Akhgari
7e2738ff79 Bug 1060997 - Fix more bad implicit constructors in IPC; r=smaug 2014-08-31 21:12:55 -04:00
Tim Abraldes
89de880434 bug 1027906. Set delayed token level for GMP plugin processes to USER_RESTRICTED. Whitelist certain files and registry keys that are required for EME plugins to successfully load. r=bobowen. r=jesup. r=bent. 2014-08-29 17:34:26 -07:00
Botond Ballo
de236fcf39 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Nicholas Nethercote
97292033d3 Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.
--HG--
extra : rebase_source : 250ec1323d4097101a8e0331a2bf7fab59f72b1d
2014-08-27 15:47:27 -07:00
Jacek Caban
cc1a39aab6 Bug 1042426 - Added --disable-sandbox option that disables building sandbox code. r=glandium 2014-08-27 16:32:55 +02:00
Ryan VanderMeulen
dc257cd65c Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
3d7ea0d29f Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Josh Aas
bc9f156182 Bug 1011225: Improve e10s process naming on OS X. Patch started by Benoit Girard, completed by Josh Aas. r=njn,benwa 2014-08-26 12:03:09 -05:00
Kyle Huey
cf173ab0e1 Bug 1057402: Fix for non-unified builds. r=me 2014-08-22 10:02:47 -07:00
Kyle Huey
3b252b4362 Bug 1057402: Always log the message type when we hit an IPC protocol error. r=bent 2014-08-22 09:23:01 -07:00
Ben Kelly
b4449d5297 Bug 1049801 P2 Cancel the DispatchOnChannelConnected runnable when destructing the MessageChannel. r=bent 2014-08-21 14:13:23 -04:00
Ehsan Akhgari
2905eb1aee Bug 1053603 - Fix some more bad implicit constructors in the IPC code; r=bent 2014-08-07 21:18:59 -04:00
Ben Kelly
338425ad2e Bug 1049552 Avoid PBackground addref off main thread in GetOrCreateForCurrentThread(). r=bent 2014-08-20 19:42:00 -04:00
Bill McCloskey
d114809709 Bug 1050604 - Get IPDL tests passing again (r=bent) 2014-08-20 12:49:11 -07:00
Bill McCloskey
805cf2f72c Bug 1051128 - Allow filtering the IPC log by toplevel protocol name (r=bent) 2014-08-20 12:49:11 -07:00
Jim Mathies
b92f957421 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
c36be21fae Bug 1052395 - Improve ipc debug output for unhandled nonqueued Windows messages. r=bent 2014-08-12 14:06:00 -05:00
Jim Mathies
42b9be76eb 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
bab16bd450 Bug 1051521, Fix assertion when OnCloseChannel loses the race with OnChannelError, r=bsmedberg. 2014-08-11 10:09:30 -07:00
Ben Turner
7074f63d51 Bug 1044322 - Reset the channel listener on the correct thread. r=bsmedberg
CLOSED TREE
2014-08-08 18:19:33 -07:00
Ryan VanderMeulen
445108f873 Backed out changeset 8f9508342de9 (bug 1044322) for mochitest leaks. 2014-08-08 22:18:41 -04:00
Ben Turner
b4bac987f7 Bug 1044322 - Reset the channel listener on the correct thread, r=bsmedberg. 2014-08-08 18:19:33 -07:00
Birunthan Mohanathas
1d5af17e20 Bug 1049997 - Separate statements declaring multiple pointers into separate statements. r=froydnj 2014-08-08 07:04:45 -07:00
Jim Mathies
c3d78aa061 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
0a882f5a9d Bug 1042587 - Block scripts when using CPOWs (r=bent) 2014-08-05 21:44:42 -07:00
Bill McCloskey
4d50493b99 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
4386d2f7fc Bug 1047782 - Fix some bad impliciit constructors in netwerk/; r=mcmanus 2014-08-05 09:20:50 -04:00
Ehsan Akhgari
a7206dd7d4 Bug 1048247 - Fix more bad implicit constructors in DOM; r=smaug 2014-08-05 09:19:51 -04:00
Thinker K.F. Li
29ca5aa9af 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
b8e57e2e8d Back out bug 950745 for crashes 2014-07-30 16:19:46 -07:00
Benoit Jacob
9e2a0396af Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Mike Hommey
c1aff765dd 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
a60e741c21 Merge m-c to inbound on a CLOSED TREE 2014-07-28 18:51:24 -07:00
Carsten "Tomcat" Book
44afda3e8a Merge mozilla-central to b2g-inbound 2014-07-28 16:06:50 +02:00
Thinker K.F. Li
baf6cd343e 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
03b34d364e 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
a7a241f207 Bug 1045067 - Fix some bad implicit constructors in dom/content/ipc; r=smaug 2014-07-28 13:17:51 -04:00
Andrew McCreight
03491e3bd7 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
9ac73c4e09 Bug 1028148, part 1 - Make SharedMemory's dtor private. r=bent 2014-07-28 09:56:54 -07:00
Georg Fritzsche
11a04ed8c5 Bug 1041525 - Remove workaround for GMP SyncRunnable deadlock in Crashreporter::OOPInit() r=jesup 2014-07-24 18:16:08 +02:00
Randell Jesup
444c30831c Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche 2014-07-21 10:24:29 -04:00
Randell Jesup
bca0d58a70 Backed out changeset 40954106dc7a (bug 1041525) (incorrect patch landed) 2014-07-21 10:24:25 -04:00
Randell Jesup
8be4fb6ef7 Bug 1041525: Disable GMP OOPInit() during SyncLaunch() until crashreporting fully hooked up r=gfritzsche 2014-07-21 09:59:13 -04:00
Bill McCloskey
968aab64b3 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
d0ac33c5ba 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
b34732fc82 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
b18aea251c Bug 1038855, part 3 - Use an nsRefPtr for CrossProcessMutex::mSharedBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
Andrew McCreight
64fa835d97 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
cb397e6eb5 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
bb9ef36879 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-09 17:39:18 -04:00
Wes Kocher
b1d580b67f Backed out changeset 725b7db309c3 (bug 1013571) for causing the failures in 1032783 2014-07-08 14:43:46 -07:00
Ben Kelly
33df1b2ca1 Bug 1013571 Reland support for PBackground on workers. r=bent 2014-07-08 14:57:16 -04:00
Ben Turner
f24a6ffa54 Bug 1024098, Add some helpers for principal verification with PBackground. r=mrbkap. 2014-07-07 11:13:04 -07:00
Benoit Jacob
4994f97eec 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
6f52581979 back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes 2014-07-04 21:24:32 -04:00
Benoit Jacob
ba205526b5 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
87bc910d78 Backout 303027a0da95 (bug 1013571) due to persistent oranges (bug 1032011, bug 1032605, bug 1032783) 2014-07-04 00:31:59 -04:00
Ryan VanderMeulen
133741f11d 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
7e82f979b0 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
712621f550 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
d92a5b23cd 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
b6750e3e4d 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
23a4bb8e5d Bug 1013571 Support PBackground on workers. r=bent 2014-06-27 13:36:25 -07:00
Benoit Jacob
3cd63fe627 Bug 1028588 - Fix dangerous public destructors in ipc/ - r=bent 2014-06-23 18:40:03 -04:00
Kartikaya Gupta
e438e0389c Bug 1024728 - Gracefully handle a CrossProcessMutex being initialized with a stale handle. r=khuey 2014-06-20 17:06:36 -04:00
Benoit Jacob
96b29e0856 Bug 1027251 - Fix or whitelist dangerous public destructors in ipc/ - r=bent 2014-06-18 22:29:00 -04:00
Nicholas Nethercote
bb9d51e11e 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
bf9af450a4 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
267d9cc4c4 Bug 1012639 - Fix OtherProcess sometimes being the current process handle. r=bent 2014-06-11 14:51:12 +01:00
Mike Hommey
92ac24c220 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
18d5d32ae6 Merge m-c to fx-team. 2014-05-30 16:30:24 -04:00
Jim Mathies
891eb8d5df 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
3f42f462b4 Bug 624422 - Let plugin-container load libmozgtk2. r=glandium 2014-05-01 13:37:48 +02:00
Birunthan Mohanathas
2779282281 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
a6264cb1ae 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
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Boris Zbarsky
44d9965e0b Bug 869836 followup to fix build bustage 2014-05-22 00:48:11 -04:00
Birunthan Mohanathas
c6f127456b Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
016d46e5f3 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Josh Aas
ac37f96c10 Bustage fix for Gecko Media Plugins landing, bug 957928. 2014-05-17 23:25:36 -05:00
Bas Schouten
720df78442 Bug 1009590: Deal with non-ui-thread IPDL usage on Windows. r=bent 2014-05-18 05:16:51 +02:00
Josh Aas
a335294c66 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 22:05:46 -05:00
Phil Ringnalda
652a096549 Back out a4b51aff4b3c (bug 957928) for build bustage
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
303ffbe0e1 Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent 2014-05-17 18:53:03 -05:00
Benoit Girard
b2cf98bfb7 backout 9ebe70d8a9b2 (Bug 1011225) for mochitest failures on a CLOSED TREE 2014-05-16 00:52:55 -04:00
Benoit Girard
edd15d01b3 Bug 1011225 - [e10s] Name mac content process. r=mstange
--HG--
extra : rebase_source : 0b1e31e9fed6ec6227c101c3ccd6b5401822778c
2014-05-15 16:52:30 -04:00
Jed Davis
0f6f582170 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
b5cc0a5be9 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
5e3112d2ff 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
2841fad274 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
504b581650 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
bf303a5e62 Bug 987305 - Add BitFlagsEnumSerializer - r=nfroyd 2014-04-25 22:34:04 -04:00
Cervantes Yu
163c413206 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
82a6b65cf9 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Phil Ringnalda
ba13ea6635 Merge b-i to a CLOSED TREE m-c 2014-04-06 10:05:10 -07:00
Ben Turner
fd290ada38 Bug 988878, r=bsmedberg. 2014-04-04 19:45:20 -07:00
Dave Hylands
b416b4686b Bug 988410 - Move directory service calls onto MainThread. r=bent 2014-04-04 12:16:16 -07:00
snigdha
11404d6af2 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
096fff6e73 Bug 977819 - 'Allow PBackgroundChild implementors to hook into the threadlocal space'. r=mrbkap. 2014-03-31 19:55:36 -07:00
Ben Turner
5515909b0b 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
606ae17482 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
e12594be19 Bug 910010 - Implementation of PFileDescriptorSet - part 2, r=bent 2014-03-25 18:37:28 +00:00
Andrea Marchesini
623c6e2389 Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Jed Davis
b9140d7242 Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg 2014-03-21 08:50:07 -04:00
Blake Kaplan
8f047b1f82 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
921625ab05 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00