Commit Graph

668 Commits

Author SHA1 Message Date
Josh Aas
b72a98810f 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
78d2c5e587 Bug 910010 - Implementation of PFileDescriptorSet - part 2, r=bent 2014-03-25 18:37:28 +00:00
Andrea Marchesini
4fad1489fb Bug 910010 - Implementation of PFileDescriptorSet - part 1, r=khuey 2014-03-25 18:37:13 +00:00
Jed Davis
f290cbcf2b Bug 943174 - Avoid waitpid on already-reaped content processes. r=bsmedberg 2014-03-21 08:50:07 -04:00
Blake Kaplan
e3347f1305 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
c3b2f90f39 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
c0dba87922 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
b07eaa1644 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
84360900b0 Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
Kyle Huey
e78b977cbc Bug 967364: Use every already_AddRefed. r=bsmedberg 2014-03-15 12:00:16 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Dave Hylands
75ba3b6ca3 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
46b08de4db Backed out changeset 1314168b5271 (bug 977372) 2014-03-06 09:16:01 +01:00
Dave Hylands
7779f52fed 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
02010883fb Bug 977339 - Do GECKO_SEPARATE_NSPR_LOGS=1 by default, r=jduell 2014-03-05 14:01:09 +01:00
Benjamin Smedberg
fc175da9d1 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
f4686ac699 Bug 976258 - Undo the damage of including windows.h in IPCMessageUtils.h; r=bent 2014-03-03 21:35:51 -05:00
Ben Turner
29606aa5aa Bug 976790 - Fix assertion failure, r=mrbkap. 2014-02-26 15:53:43 -08:00
Ryan VanderMeulen
5a3ac082f6 Backed out changeset 3d4a094ac17e (bug 976790) for bustage on a CLOSED TREE. 2014-02-26 16:52:29 -05:00
L. David Baron
4f04bcdc57 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
a65b3ef785 Bug 976790 - Fix assertion failure, r=mrbkap. 2014-02-26 13:31:32 -08:00
Benoit Jacob
8c0957dffc Bug 974353 - Add MOZ_COUNT_[CD]TOR to SharedMemory - r=bent 2014-02-26 16:23:51 -05:00
Benoit Jacob
e0a96c9060 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
740bf1682d Bug 974356 - 1/4 - Initialize mOtherProcess to an invalid handle value - r=bent 2014-02-25 08:12:49 -05:00
Benoit Jacob
72803b78cd Bug 968823 - Make Shmem gracefully handle errors instead of just aborting - r=bent 2014-02-24 22:21:48 -05:00
Steve Workman
d852516aa5 Bug 956218 - Make sure that all callbacks are called, r=bent. 2014-02-06 10:42:29 +01:00
Ben Turner
4891b5f251 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
8212be10db Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Jan Beich
63fcbbc46d Bug 968432 - Implement mozilla::ipc::SetThisProcessName() on BSDs. r=dhylands 2014-02-18 15:41:23 -05:00
Ryan VanderMeulen
e8f009e46c Backed out changeset 0f7f99d0a2f5 (bug 968432) for bustage. 2014-02-18 09:26:09 -05:00
Jan Beich
2093e2402a Bug 968432 - Implement mozilla::ipc::SetThisProcessName() on BSDs. r=dhylands 2014-02-18 08:59:33 -05:00
Jeff Walden
04d5ca8c4e 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
6ea7697b78 Backout bug 956218 for build error 2014-02-06 15:19:08 +01:00
Steve Workman
306e845411 Bug 956218 - Make sure that all callbacks are called, r=bent. 2014-02-06 10:42:29 +01:00
Ben Turner
52ea267c39 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
7d86471f76 Backout bug 956218 for link error. 2014-02-06 11:50:43 +01:00
Ben Turner
bb32c4c1e8 Bug 956218 - '(PBackground) Fix silly cast issue.' 2014-02-06 11:22:37 +01:00
Steve Workman
473cf44976 Bug 956218 - Make sure that all callbacks are called, r=bent. 2014-02-06 10:42:29 +01:00
Ben Turner
f37a519a26 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
Ted Clancy
4d23d37aaf Bug 962344 - Log messages in IPDL should contain from/to information; Log message should go to logcat on Gonk devices. r=bent 2014-02-03 14:11:50 +01:00
Bill McCloskey
671c3d615a Bug 910962 - Make DeallocShmem not assert when child has crashed (r=bsmedberg) 2014-01-31 10:43:44 -08:00
Jim Chen
57092e14bb Bug 959237 - Add AndroidBridge::HasEnv checks; r=blassey
For certain tests, the AndroidBridge is not initialized, but some GeckoAppShell functions are still called indirectly. For now, this patch adds checks to skip these calls if there's no AndroidBridge. However, in the future, most of the affected code should be refactored to not require these checks.
2014-01-17 23:32:24 -06:00
Josh Aas
7de9a1ae69 Bug 957883: Handle channel errors during process launch such that we don't sit on a dead channel for the full time-out (e.g. 45 secs for NPAPI), and allow us to detect when an error happens during child process init. Also, now that it's possible, actually check for an error during NPAPI child process init. r=bsmedberg 2014-01-11 21:51:00 -06:00
Ben Turner
7646853bc7 Bug 957828 - Move stack machinery to cpp file, r=bsmedberg. 2014-01-10 12:58:31 -08:00
Ben Turner
61c7f7aacf Bug 957828 - Don't make stack copies of all IPC messages, r=bsmedberg. 2014-01-10 12:58:20 -08:00
Benoit Jacob
7dc11524f1 Bug 958375 - 3/9 - Add a variant of EnumSerializer that works on MFBT typed enums - r=nfroyd 2014-01-10 14:06:12 -05:00
Alexandre Lissy
219a43e8f8 Bug 942118 - Ensure that we call MessageChannel::ReportConnectionError() with no lock. r=bent
Making a call to mListener with a mMonitor lock is bad. Most of the code
path for ReportConnectionError() are doing this because they are just
after the Connected() method which needs the lock. We ensure to unlock
mMonitor in the scope of the ReportConnectionError() call.
2013-11-22 17:29:25 +01:00
Neil Rashbrook
34dcf4918b Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote
82b05b710d Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00