Commit Graph

22 Commits

Author SHA1 Message Date
Stephen A Pohl
ca015c72d3 Bug 1250901: Replace waitpid with NSTask's waitUntilExit. r=mstange f=rstrong 2016-08-31 18:56:48 -04:00
Stephen A Pohl
47663fa8ad Bug 1250901: Relaunch applications using NSTask instead of posix_spawnp on OSX. r=mstange 2016-08-31 18:56:45 -04:00
Iris Hsiao
744a9727f4 Backed out changeset 4a42968b790d (bug 1250901) for Mochitest M(oth) failures on OS X 2016-08-30 16:54:29 +08:00
Stephen A Pohl
9b11daf1c0 Bug 1250901: Relaunch applications using NSTask instead of posix_spawnp on OSX. r=mstange 2016-08-29 21:14:36 -04:00
Stephen A Pohl
15f9e11b17 Bug 1286490: Handle IPC timeout exceptions during elevated updates on OSX. r=mstange 2016-08-25 16:14:11 -04:00
Stephen A Pohl
731d3fcc86 Bug 1286490 - Improve logging when unable to clean up elevated updater on OSX. r=mstange 2016-08-12 09:53:00 -04:00
Stephen A Pohl
d69192cc5c Bug 1274319: Allow elevated updater and Firefox on OSX to make 10 IPC connection attempts to the unelevated updater. r=mstange 2016-05-24 22:26:15 -04:00
Stephen A Pohl
0361fc1ce5 Bug 394984: Enable any admin user on OSX to update Firefox, native OSX changes. r=mstange 2016-05-24 22:25:16 -04:00
Haik Aftandilian
ec6a6a5444 Bug 1232374 - remove nsAutoArrayPtr usages from toolkit/; r=froydnj 2015-12-17 09:37:47 -08:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Chris Peterson
d64ab9624b Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ehsan Akhgari
e1af685c9b Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.
2012-05-22 10:50:04 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jeff Walden
7d613942b0 Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones 2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Josh Matthews
6a5fdc3e87 Bug 672583 - Avoid calling NS_ARRAY_LENGTH on a pointer. r=josh 2011-07-21 12:52:08 -07:00
Dave Townsend
4a02bc0ef4 Bug 630703: Provide a way to restart in 32-bit mode. r=josh, r=bsmedberg, a=blocks-betaN 2011-02-03 09:27:00 -08:00
Josh Aas
ade5c88a48 Bug 601145: Child processes spawned from 'LaunchChildMac' should inherit the parent environment. r=ted a=blocking-beta7 2010-10-01 15:59:26 -04:00
Josh Aas
7cc3fb617f Bug 600411: Make 'LaunchChildMac' prefer the current architecture if it is available. r=bsmedberg r=rstrong a=blocking-beta7 2010-10-01 00:00:36 -04:00
Josh Aas
296c136219 Include obj-c exception info in crash reports. b=451709 r=ted r=bent sr=roc 2008-08-28 00:41:38 -04:00