Commit Graph

806 Commits

Author SHA1 Message Date
Ehsan Akhgari
2e7ac32196 Bug 797257 - Only include nsAlgorithm.h in archivereader.cpp on Windows; r=bbondy
We only need this header on Windows since nsVersionComparator.cpp uses NS_MIN
on Windows.  This change silences compiler warnings on other platforms.

--HG--
extra : rebase_source : dba778c59be41587c05e964f2328a4ae662130e3
2012-10-03 10:57:38 -04:00
Ehsan Akhgari
ee522a7bb2 Bug 797229 - Fix two warnings in updater.cpp; r=bbondy 2012-10-02 20:51:38 -04:00
Marshall Culpepper
7ad8f721a7 Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice 2012-09-30 21:55:51 -05:00
Chris Jones
6f9d988c50 Bug 791902: updater umask needs to be 0022. r=dhylands 2012-09-19 01:48:14 -07:00
Andres Hernandez
2267136e3c Bug 721165 - Extract repeated code for retrieving CHANNEL information from Blocklist and Telemetry to a javascript module r=gavin 2012-09-10 10:54:41 -06:00
Ehsan Akhgari
1f6e5dc5cc Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=rstrong 2012-09-11 22:13:14 -04:00
Ehsan Akhgari
cf8005c533 Bug 789422 - Part 3: Update the unit tests to test for the new behavior; r=rstrong 2012-09-11 14:12:51 -04:00
Ehsan Akhgari
51d5a9e2b2 Bug 789422 - Part 2: Ensure that the update.status directory exists before attempting to write to it; r=rstrong 2012-09-11 14:12:34 -04:00
Ehsan Akhgari
f12ec046b4 Bug 789422 - Part 1: Remove UpdateStatusText because it does the exact same thing as UpdateStatusFile(const char*); r=rstrong 2012-09-11 14:11:54 -04:00
Ehsan Akhgari
eca4890894 Bug 789958 - Do not attempt to modify the file permissions in the updater if the file is being opened in read-only mode; r=rstrong 2012-09-10 23:43:12 -04:00
Ehsan Akhgari
5b9555fed1 Backout bug 789422 for test bustage 2012-09-10 17:40:58 -04:00
Devdatta Akhawe
0b63e44533 Bug 774395 - Measure prevalence of SSL MITM errors for updates (r=bbondy) 2012-09-08 09:23:42 -07:00
Ehsan Akhgari
22c79f9cc8 Bug 789422 - Part 2: Ensure that the update.status directory exists before attempting to write to it; r=rstrong 2012-09-10 16:32:59 -04:00
Ehsan Akhgari
eb75792255 Bug 789422 - Part 1: Remove UpdateStatusText because it does the exact same thing as UpdateStatusFile(const char*); r=rstrong 2012-09-10 16:32:48 -04:00
Marshall Culpepper
5ca7854451 Bug 764683: Manage /system mount permissions when applying Gecko updates in B2G, and download them to /data/local. r=rstrong r=bbondy r=cjones 2012-08-27 12:27:14 -03:00
Marshall Culpepper
07b2c651ad Bug 781868: Clear WRAP_LDFLAGS for the updater in Gonk, so it doesn't link against mozglue. r=khuey 2012-08-27 12:23:09 -03:00
Marshall Culpepper
8fcf5bc01b Bug 764684: Enable update staging for B2G, and skip the update.test check. r=ehsan 2012-08-27 12:15:12 -03:00
Ehsan Akhgari
845651448b Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
e368dc9c85 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
Mark Capella
38befa6972 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Toolkits, r=ted, f=gps 2012-08-14 10:06:12 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
03af8b0c50 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
7096160830 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Blair McBride
fb387b6491 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
Matt Brubeck
5a4516bfc0 Bug 774789 - Add quotes around MOZ_APP_DISPLAYNAME to fix build errors on beta [r=ted] 2012-07-17 12:10:11 -07:00
Ehsan Akhgari
a18413236a Bug 767968 - Increase the amount of time we wait for the helper application to finish running in the updater tests; r=rstrong 2012-07-10 20:13:52 -04:00
Ehsan Akhgari
c7ea2799e3 Bug 771766 - Preserve the case of the application installation directory when replacing the application after an update for it has been staged; r=rstrong 2012-07-09 20:50:16 -04:00
Nathan Froyd
bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mark Banner
34f16420f2 Bug 766264 Fix test failures in test_0201_app_launch_apply_update.js and test_0203_app_launch_apply_update.js when MOZ_MAINTENANCE_SERVICE isn't set for the build by correctly handling the applied state value. Also tidy up some error statements to provide better debug. r=ehsan 2012-07-05 08:42:03 +01:00
Siddharth Agarwal
3802df6966 Bug 767827 - TestAUSReadStrings.cpp fails with 'unable to find platform specific path separator' under Pymake on Windows. r=rstrong 2012-06-26 22:39:17 +05:30
Neil Rashbrook
eaedd546e8 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Brian R. Bondy
d4c06e7821 Bug 767471 - Report telemetry data for if the MozillaMaintenance service was ever manually uninstalled. r=rstrong 2012-06-25 15:17:45 -04:00
Ed Morley
f58ad725ea Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
aee62bb4bd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Brian R. Bondy
b2e556276b Bug 735975 - Get rid of UNEXPECTED_ERROR codes from updater error handling. r=ehsan 2012-06-21 19:40:47 -04:00
Brian R. Bondy
bd4d016646 Bug 766567 - Figure out the source of WRITE_ERROR (7) errors in updater code. r=ehsan 2012-06-21 19:40:43 -04:00
Mike Hommey
4e5eecb03d Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
a93eb5a48f Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
cd69374e33 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mark Banner
5afb9ba642 Bug 757794 - Constant "command timed out: 1200 seconds without output" in test_0200_app_launch_apply_update.js and others. Ensure that timeout loops will always abort eventually. r=ehsan
--HG--
extra : rebase_source : d29af708ec3c8d26bb5bcc95c51e25b13f798072
2012-06-19 15:48:00 +01:00
Ryan VanderMeulen
a1cab9283c Merge inbound to m-c. 2012-06-16 09:38:43 -04:00
Brian R. Bondy
1ab0d84824 Bug 763025 - Report telemetry data for the number of people that cannot upgrade due to permissions. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
c3230f50b2 Bug 763018 - Report telemetry data for if background updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
7c17764634 Bug 763016 - Report telemetry data for if the MozillaMaintenance service is installed. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
fd2df49f11 Bug 763022 - Report telemetry data for the number of service related errors people encountered. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
f11915f153 Bug 763017 - Report telemetry data for if the MozillaMaintenance service is enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
17bd99b3e2 Bug 763012 - Report telemetry data for whether or not updates are automatic. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
59717dbbd1 Bug 763011 - Report telemetry data for whether or not updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Ehsan Akhgari
c9fff994a7 Bug 757632 - Re-enable the test; r=rstrong 2012-06-13 10:30:07 -04:00
Ehsan Akhgari
366796653b Bug 764587 - Do not throttle the download of a complete mar if we fall back to a complete update after attempting to stage a partial update; r=rstrong 2012-06-13 22:00:03 -04:00