Dave Hylands
910cba180d
Bug 785124 - Pt 2 - JS changes to updater to allow storing update.mar to sdcard. r=marshall_law
...
From 93958fee051e9355930edba538eabeb91f4b442d Mon Sep 17 00:00:00 2001
sdcard and lock sdcard while in use
---
b2g/components/DirectoryProvider.js | 154 ++++++++++++++++++++++++++---
b2g/components/UpdatePrompt.js | 16 ++-
toolkit/mozapps/update/nsUpdateService.js | 124 ++++++++++++++++++++++-
3 files changed, 276 insertions(+), 18 deletions(-)
* * *
Fix log stmt
2012-12-14 16:05:39 -08:00
Marshall Culpepper
1d3e80011e
Bug 817821: Part 2 - Update tests for new B2G download events. r=dhylands
2013-01-08 17:13:32 +01:00
Phil Ringnalda
ed9b0b2817
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Dave Hylands
a09ec02d75
Bug 785124 - Pt 5 - Add extra asserts. r=dougt
2013-01-07 17:43:02 +01:00
Dave Hylands
1f5095e6c8
Bug 785124 - Pt 3 - Modify the updater to support update.link file. r=rstrong
...
From 76c70c31f5362f7c91d567ca04329195d8126f26 Mon Sep 17 00:00:00 2001
file. Prefer sdcard for download
---
toolkit/mozapps/update/updater/updater.cpp | 53 +++++++++++++++++++++++++---
toolkit/xre/nsUpdateDriver.cpp | 13 +++++--
2 files changed, 60 insertions(+), 6 deletions(-)
2012-12-14 16:06:41 -08:00
Dave Hylands
b267ce1d8a
Bug 785124 - Pt 2 - JS changes to updater to allow storing update.mar to sdcard. r=marshall
...
From 93958fee051e9355930edba538eabeb91f4b442d Mon Sep 17 00:00:00 2001
sdcard and lock sdcard while in use
---
b2g/components/DirectoryProvider.js | 154 ++++++++++++++++++++++++++---
b2g/components/UpdatePrompt.js | 16 ++-
toolkit/mozapps/update/nsUpdateService.js | 124 ++++++++++++++++++++++-
3 files changed, 276 insertions(+), 18 deletions(-)
* * *
Fix log stmt
2012-12-14 16:05:39 -08:00
Dave Hylands
8703bba79a
Bug 821168 - Use hardlinks for backing up pre-update files. r=eshan
2013-01-03 16:53:33 -08:00
Marshall Culpepper
84c6f6eaab
Bug 821412: Part 3 - Initial B2G update tests and smoketests. r=bbondy
2013-01-02 12:41:40 -06:00
Andrew Halberstadt
86516d673d
Bug 821919 - Re-enable toolkit/mozapps/update/test/unit/test_0030_general.js, r=rstrong
2012-12-19 12:57:09 -05:00
Robert Strong
e08c361e97
Update xpcshell skip-if reason - Bug 821344 - test_bug595059.js and test_0081_prompt_uiAlreadyOpen.js update tests fails in B2G due to custom nsIUpdatePrompt. r=ahalberstadt, DONTBUILD
2012-12-18 18:44:17 -08:00
Cameron McCormack
a86c49ceeb
Bug 822548 - Fix a bunch of JS warnings on startup. r=dao
2012-12-19 09:27:56 +11:00
Marshall Culpepper
df4c17c4b0
Bug 812584: Part 1 - Always forward update download errors in B2G. r=bbondy
2012-12-17 17:23:14 -06:00
Robert Strong
e96e4f573f
Bug 821343 - TestAUSHelper doesn't exist for b2g xpcshell_updater tests, r=ahal
2012-12-16 15:53:57 -05:00
Robert Strong
b9f3771e2b
Partial fix (all but test_0201_app_launch_apply_update_svc.js) for - Bug 762032 - Intermittent test_0201_app_launch_apply_update.js, test_0201_app_launch_apply_update_svc.js test_0203_app_launch_apply_update_svc.js | WindowsError: [Error 13] The process cannot access the file because it is being used by another process: '...helper.exe'. r=bbondy
2012-12-13 09:43:27 -08:00
Andrew Halberstadt
319f003fc9
Bug 817122 - Disable failing B2G xpcshell tests, enable debugger tests, r=mdas
2012-12-12 16:17:49 -05:00
Robert Strong
0dc65e4c47
Test only change / possible fix for Bug 759639 - Intermittent test_0202_app_launch_apply_update_dirlocked_svc.js | test failed (with xpcshell return code: 0), | pending-service == pending, | exception thrown from do_timeout callback: 2147500036. r=bbondy
2012-12-07 11:03:05 -08:00
Ehsan Akhgari
86d63844d5
Bug 806745 - Part 0: Don't run test_bug497578.js in per-window PB builds
2012-12-06 00:53:33 -05:00
Brian R. Bondy
4d65c39a7a
Bug 816111 - Remove appdir dependency for application update tests in xpcshell tests. r=rstrong
2012-11-29 23:26:25 -05:00
Marshall Culpepper
e5f001102d
Bug 813778: Don't attempt to retry when a FOTA update fails to apply in B2G. r=bbondy
2012-11-29 10:47:44 -06:00
Stephen Pohl
4789d84759
2 of 2 - Tests for Bug 813322 - Add ability to control time interval for restart prompt to apply update. r=bbondy
2012-11-28 20:57:11 -08:00
Stephen Pohl
59d91444e7
1 of 2 - Main patch for Bug 813322 - Add ability to control time interval for restart prompt to apply update. r=bbondy
2012-11-28 20:56:32 -08:00
Fabrice Desré
615ecd5214
Bug 802228 - Check for app updates when we check for system update [r=marshall]
2012-11-15 12:52:19 -08:00
Brian R. Bondy
91c64afae4
Bug 791829 - Tests for resuming a stopped/partial update. r=ehsan
2012-11-06 20:09:50 -05:00
Brian R. Bondy
9bb6552110
Bug 791829 - Add support for resuming a stopped/partial update. r=rstrong
2012-11-06 20:09:43 -05:00
Jeff Muizelaar
1820bc13e2
Bug 801437. Breakage fix for feof(). r=ehsan
...
Macros make me sad.
--HG--
extra : rebase_source : 1265c3ef7e187c307269273e098ee92c020c2f59
2012-11-09 15:40:56 -05:00
Jeff Muizelaar
3062de063a
Bug 801437. Reimplement ensure_copy. r=ehsan
...
The previous implementation would copy the entire file into memory which
would cause a huge amount of memory usage on when copying large files.
This version copies a block at a time to avoid this.
2012-11-08 16:57:49 -05:00
Marshall Culpepper
867e660d91
Bug 809605: Add %PRODUCT_MODEL% token for update URLs in B2G. r=ehsan
2012-11-07 22:18:10 -05:00
Masatoshi Kimura
42ac4dce02
Bug 685202 - Cleanup the update directory if canApplyUpdates is false; r=ehsan
2012-11-05 19:08:21 -05:00
Brian R. Bondy
c8a1571814
Bug 701613 - Add Win7 as supported OS in updater.exe.manifest. r= rstrong
2012-11-02 11:19:33 -04:00
Adri Hilviu
0bf9cbbfa2
Bug 805466 - Remove old MozUpdater-i folders in /tmp in PostUpdate. r=bbondy
2012-10-31 16:32:14 -04:00
Kyle Huey
1482122303
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
...
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6
Backout 67cb43bb8865: Breaks B2G Marionette
2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE
2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a
Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
2012-10-30 08:26:12 -07:00
Ehsan Akhgari
f6779af6bd
Backed out changeset 73976ead8d6c (bug 800532) in order to fix bug 806028
2012-10-29 17:46:13 -04:00
Brian R. Bondy
c208bfc39f
Bug 790496 - Make maintenance service errors stand out more. r=ehsan
2012-10-25 22:34:03 -04:00
Brian R. Bondy
e92e724fe7
Bug 765598 - Remove newly created MozUpdater folders in tmp on post update. r=ehsan
2012-10-25 22:30:34 -04:00
Andres Hernandez
cb594e9b92
Bug 799784 - Replace usages of nsIPrivateBrowsingService.autoStarted with PrivateBrowsingUtils.permanentPrivateBrowsing; r=ehsan
2012-10-24 14:21:33 -06:00
Jeff Muizelaar
46c742b7a2
Bug 800532. updater: Use low priority IO on OS X and Windows. r=bbondy
...
Uses low priority IO when doing background updates with the hope
that it will interfere less with the users system.
2012-10-11 16:47:52 -04:00
Ryan VanderMeulen
a7934ae4c3
Merge the last PGO-green inbound changeset to m-c.
2012-10-19 21:43:03 -04:00
Robert Strong
e7ef921ac9
Test changes for Bug 774618 - Partner builds don't download complete update if partial fails, or show workaround information if complete fails. r=bbondy
2012-10-19 12:43:15 -07:00
Robert Strong
436f08c09e
Main patch for Bug 774618 - Partner builds don't download complete update if partial fails, or show workaround information if complete fails. r=bbondy
2012-10-19 12:42:55 -07:00
Brian R. Bondy
35d2e26ee5
Bug 802016 - Do not allow caching at all when checking for updates. r=rstrong
2012-10-17 13:41:35 -04:00
Brian R. Bondy
e1d7888127
Bug 792452 - Updater code updates for multi signature changes. r=bsmith
2012-10-17 09:39:43 -04:00
Brian R. Bondy
1ce38ab9a3
Bug 801855 - Check update download progress to prevent overly large update from being downloaded. r=rstrong
2012-10-19 12:43:54 -04:00
Brian R. Bondy
acce3d9fba
Bug 801855 - Tests for MAR downloads will not be accepted if manifest size is different. r=rstrong
2012-10-19 12:43:51 -04:00
Marshall Culpepper
4e8dca8fac
Bug 794211: Check for updates after coming online when a check fails because the network is offline. r=bbondy r=rstrong
2012-10-13 13:06:58 -05:00
Adri Hilviu
a60adb9415
Bug 794234 - Get more information on WRITE_ERROR_SHARING_VIOLATION errors (error 36). r=bbondy
2012-10-11 21:54:58 -04:00
Ehsan Akhgari
ba3f324be7
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
a8f0c73a98
Bug 797229 - Fix two warnings in updater.cpp; r=bbondy
2012-10-02 20:51:38 -04:00
Marshall Culpepper
e5a8a843cd
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
b2cd2c3e77
Bug 791902: updater umask needs to be 0022. r=dhylands
2012-09-19 01:48:14 -07:00
Andres Hernandez
7a3b5f8d0a
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
86768ddbe3
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
7e8e748717
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
56ca68fb22
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
d18e5766bd
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
1c1c2349b5
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
b09a55fe1c
Backout bug 789422 for test bustage
2012-09-10 17:40:58 -04:00
Devdatta Akhawe
1db35ae454
Bug 774395 - Measure prevalence of SSL MITM errors for updates (r=bbondy)
2012-09-08 09:23:42 -07:00
Ehsan Akhgari
83e9bdd98b
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
70d8c279db
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
51818865da
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
abc79ff89a
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
637c26363e
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
5b76a146bc
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
0fd9123eac
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
f6b3d51d4a
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
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36
Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE
2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 08:48:56 +02:00
Blair McBride
17a2129b49
Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin
2012-08-04 13:22:55 +12:00
Matt Brubeck
e49b5dbdd7
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
492eece072
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
dd9116b556
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
a7eb97f896
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
8a189904ac
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
3af8a72761
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
0c34361ca7
Bug 758354 Stop unnecessarily preprocessing chrome r=dolske
2012-06-26 00:11:16 +01:00
Brian R. Bondy
f76c80dc4d
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
58e896dd49
Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends
2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc
Bug 758354 Stop unnecessarily preprocessing chrome r=dolske
2012-06-25 09:24:49 +01:00
Brian R. Bondy
e2564e9daa
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
7393218c0a
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
58718e5c70
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
7a97c993d4
Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage
2012-06-20 10:55:59 +02:00
Mike Hommey
3331a294da
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Mark Banner
b8289dc31e
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
dd68fb6231
Merge inbound to m-c.
2012-06-16 09:38:43 -04:00
Brian R. Bondy
0bf749eba5
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
d12eed31bb
Bug 763018 - Report telemetry data for if background updates are enabled. r=rstrong
2012-06-15 11:59:35 -04:00
Brian R. Bondy
18331a6af5
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
1cbb101a8e
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
5040132ee7
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
a038a03cd7
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
d5a8bf8d85
Bug 763011 - Report telemetry data for whether or not updates are enabled. r=rstrong
2012-06-15 11:59:35 -04:00
Ehsan Akhgari
dead1c5a1b
Bug 757632 - Re-enable the test; r=rstrong
2012-06-13 10:30:07 -04:00
Ehsan Akhgari
7ce04794eb
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
Ehsan Akhgari
7c66e981ad
Bug 764269 - Handle symbolic links properly when copying the installation directory before staging an update; r=rstrong
2012-06-13 20:38:56 -04:00