Commit Graph

679 Commits

Author SHA1 Message Date
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
Wes Kocher
2939a367ba 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
f83724018d 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
a5ae9a4da3 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
56d26ad256 Bug 967364: Use every already_AddRefed. r=bsmedberg 2014-03-15 12:00:16 -07:00
Kyle Huey
f7eafc09a9 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Dave Hylands
6852bd0c86 Bug 977372 - Remove main thread assert so CloseFileRunnable can be used on non-main threads. r=bent 2014-03-05 20:18:06 -08:00
Carsten "Tomcat" Book
a6cc370084 Backed out changeset 1314168b5271 (bug 977372) 2014-03-06 09:16:01 +01:00
Dave Hylands
fae9fc2a02 Bug 977372 - Remove main thread assert so CloseFileRunnable can be used on non-main threads. r=bent 2014-03-05 20:18:06 -08:00
Honza Bambas
b341b04a8d Bug 977339 - Do GECKO_SEPARATE_NSPR_LOGS=1 by default, r=jduell 2014-03-05 14:01:09 +01:00
Benjamin Smedberg
3e3a0c94f5 Bug 778866 - Abort from the I/O thread on abnormal shutdown of a plugin-process, in case the main thread is wedged and the Firefox process has already been killed, r=cjones 2014-03-04 12:17:01 -05:00
Ehsan Akhgari
38e78d72b1 Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent 2014-03-03 21:35:51 -05:00
Ben Turner
cb67b8b085 Bug 976790 - Fix assertion failure, r=mrbkap. 2014-02-26 15:53:43 -08:00
Ryan VanderMeulen
97c5a6209a Backed out changeset 3d4a094ac17e (bug 976790) for bustage on a CLOSED TREE. 2014-02-26 16:52:29 -05:00
L. David Baron
dfb9ad9186 Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Ben Turner
f747ba0cb1 Bug 976790 - Fix assertion failure, r=mrbkap. 2014-02-26 13:31:32 -08:00
Benoit Jacob
8f6107127f Bug 974353 - Add MOZ_COUNT_[CD]TOR to SharedMemory - r=bent 2014-02-26 16:23:51 -05:00
Benoit Jacob
7186566388 Bug 974353 - In OpenExisting, check that the IPC-passed Shmem size matches the size stored in the SharedMemory header. And don't leak the segment on error. - r=bent 2014-02-26 14:10:55 -05:00
Benoit Jacob
9b8ff6c048 Bug 974356 - 1/4 - Initialize mOtherProcess to an invalid handle value - r=bent 2014-02-25 08:12:49 -05:00
Benoit Jacob
01c63353d6 Bug 968823 - Make Shmem gracefully handle errors instead of just aborting - r=bent 2014-02-24 22:21:48 -05:00
Steve Workman
9f958b0b32 Bug 956218 - Make sure that all callbacks are called, r=bent. 2014-02-06 10:42:29 +01:00
Ben Turner
4124e64466 Bug 956218 - '(PBackground) Add a mechanism for communicating with
a non-main I/O thread via thread and process links'. r=mrbkap+khuey+bsmedberg.
2013-11-26 23:59:41 -08:00
Ehsan Akhgari
067fa188b6 Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Jan Beich
176005c25e Bug 968432 - Implement mozilla::ipc::SetThisProcessName() on BSDs. r=dhylands 2014-02-18 15:41:23 -05:00
Ryan VanderMeulen
3a5165c020 Backed out changeset 0f7f99d0a2f5 (bug 968432) for bustage. 2014-02-18 09:26:09 -05:00
Jan Beich
640552f435 Bug 968432 - Implement mozilla::ipc::SetThisProcessName() on BSDs. r=dhylands 2014-02-18 08:59:33 -05:00
Jeff Walden
88e30ae99d Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in ipc/. r=bent
--HG--
extra : rebase_source : 9cf056a966c804e3253814aa1fc2d8fa43a5f633
2014-02-06 22:17:07 -08:00
Ben Turner
dceb952e3c Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00
Steve Workman
a24ba37aef Bug 956218 - Make sure that all callbacks are called, r=bent. 2014-02-06 10:42:29 +01:00
Ben Turner
9b5658e664 Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00
Ben Turner
d0fe39b110 Backout bug 956218 for link error. 2014-02-06 11:50:43 +01:00
Ben Turner
b24c379ff4 Bug 956218 - '(PBackground) Fix silly cast issue.' 2014-02-06 11:22:37 +01:00
Steve Workman
ce8c4a30bb Bug 956218 - Make sure that all callbacks are called, r=bent. 2014-02-06 10:42:29 +01:00
Ben Turner
d1138e8def Bug 956218 - '(PBackground) Add a mechanism for communicating with a non-main I/O thread via thread and process links'. r=mrbkap. 2013-11-26 23:59:41 -08:00