Commit Graph

150 Commits

Author SHA1 Message Date
Robert Strong
694ce2faac Bug 885096 - hasMutex should not be called from a lazy getter. r=bbondy 2014-01-23 17:30:26 -08:00
Robert Strong
f615c4b85e Bug 959341 - Replace MOZ_B2G with MOZ_WIDGET_GONK for consistency. r=dhylands 2014-01-14 16:39:06 -08:00
Sachin Hosmani
069b0b1b39 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen
bde0b0ec9d Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Sachin Hosmani
300046eb15 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused 2014-01-06 14:16:32 +05:30
Chris Peterson
7762a67826 Bug 956468 - Fix "ReferenceError: assignment to undeclared variable res" in nsUpdateService.js. r=rstrong 2013-12-31 20:18:47 -08:00
Robert Strong
fd2a28a4ac Bug 959004 - remove gVolumeMountLock declaration since it isn't used. r=bbondy 2014-01-12 18:18:16 -08:00
Robert Strong
0617dcfc81 Part 11 - Bug 951662 - fix updates patch dir in use after staging, make the helper sleep timeout consistent across tests, and use STATE_APPLIED instead of STATE_APPLIED_SVC on Windows for non service tests. r=bbondy 2014-01-12 13:47:29 -08:00
Fernando Jiménez
48aa6ea9b3 Bug 926737 - FOTA update includes device GUID for identification purpose. Part 2: nsUpdateService r=rstrong 2014-01-10 11:02:58 +01:00
Kai-Zhen Li
c6f59470ba Bug 916033 - Add a new status 'applied-os' for nsIUpdateService. r=rstrong 2013-10-31 20:05:08 +08:00
Robert Strong
e1399e0249 Bug 931586 - Use FileUtils.PERMS_DIRECTORY instead of 0755 in nsUpdateService.js. r=bbondy 2013-10-27 19:27:21 -07:00
Brian R. Bondy
bfbe5083b6 Bug 882142 - _postUpdateProcessing is not run after updates from Metro when Metro updates are disabled. r=rstrong
These updates can still be applied when the user manually clicks on check for update from
within Metro.  When _postUpdateProcessing is not called, then the last status in the update history XML
is not updated to succeeded.  This causes the Metro browser to show a "Restart to Update" button
because the last update's status is still applied.
2013-09-10 10:24:57 -04:00
Tim Abraldes
bf1450a127 bug 904230. Make nsIWinMetroUtils available as Services.metro. r=mbrubeck for the metro piece. r=rnewman for the sync piece. r=dolske for the toolkit piece. 2013-08-28 10:27:32 -07:00
Robert Strong
c84bba5606 Bug 907975 - Several telemetry histograms sent for checkForBackgroundUpdates and notify that should only be sent for notify. r=bbondy 2013-08-23 12:24:43 -07:00
Steffen Wilberg
8ed68047a0 Bug 711475: Allow to perform updates using the About Firefox dialog on limited user accounts if the maintenance service is installed. r=bbondy 2013-08-07 23:07:17 +02:00
Shih-Chiang Chien
0e69566882 Bug 891009 - Remove the selected patch after unrecoverable error. r=rstrong 2013-07-11 19:11:58 +08:00
Robert Strong
9c219ded02 Bug 886545 - Provide method to check for updates to support bug 885641. r=bbondy 2013-07-11 13:46:32 -07:00
Shih-Chiang Chien
2f8a8db126 Bug 880737 - Cancel retry timer while pausing OTA download. r=bbondy 2013-06-26 21:35:29 -04:00
Robert Strong
3ce510c4ea 1. main patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-22 13:37:07 -07:00
Phil Ringnalda
53b5971d17 Back out 01bc57172461:5bd9adbd3b15 (bug 843497) for xpcshell failures 2013-06-21 19:49:47 -07:00
Robert Strong
178830d7fb 1. main patch - Bug 843497 - Update check says 'up to date' for out of date versions on unsupported OS versions. r=bbondy 2013-06-21 18:10:58 -07:00
Robert Strong
cbabf01a32 Main patch - Bug 882007 - Restart notification is not shown when staging is enabled. r=bbondy 2013-06-19 18:05:04 -07:00
Brian R. Bondy
873e818174 Bug 866229 - Metro pref telemetry. r=rstrong 2013-06-12 10:31:10 -04:00
Brian R. Bondy
865f958ea8 Bug 866229 - Don't abort when app.update.silent is true and update.showPrompt is true on Metro. r=rstrong 2013-06-12 10:31:10 -04:00
Brian R. Bondy
0fef7c43b1 Bug 866229 - Use metro enabled pref. r=rstrong 2013-06-12 10:31:09 -04:00
Brian R. Bondy
4cffeb28f5 Bug 867056. r=rstrong 2013-05-23 13:26:44 -04:00
Brian R. Bondy
25cbd9c470 Bug 794937 - Make updates work from the Metro front end, add handling for 1 instance handling updates. r=rstrong 2013-05-22 10:16:53 -04:00
Marshall Culpepper
d7cf184143 Bug 833708: Correctly set the active update's errorCode when there isn't enough space in Gonk. r=dhylands 2013-02-25 21:11:14 -06:00
Shih-Chiang Chien
0123505cb7 Bug 835260 - Need B2G version number for composing update URL. r=marshall_law 2013-02-25 20:44:12 -05:00
Dave Hylands
77eebe60e5 Bug 827896 - Cancel download rather than letting it fail when powering off the phone. r=rstrong 2013-02-08 19:36:16 -08:00
Mike Hommey
362f974085 Bug 793767 - Use the executable file location to derive the update root. r=rstrong 2013-02-08 15:58:52 +01:00
Robert Strong
33b482a03c Bug 695811 - Checking for updates logs two warnings about deprecated XMLHttpRequest attributes. r=bbondy, r=dhylands 2013-02-01 18:58:48 -08:00
Dave Hylands
7884b269e2 Bug 831701 - Finish active updates unless the user swtiches to a newer one. Remove stale updates. r=rstrong
Once the user starts to download an update, stick to that update until the user cancels the download and does a "Check Now".

If a newer update is started and a stale update is detected, remove the stale update.

If a download fails due an update being in the applied state, prompt the user to apply it.

If an update was fully downloaded, but interrupted during verification, then don't redownload.
2013-01-25 10:27:49 -08:00
Dave Hylands
fe242338a7 Bug 830462 - Remove update.mar from sdcard when finished (or when starting a new download). r=rstrong 2013-01-14 20:29:46 -08:00
Dave Hylands
ec0f13f305 Bug 813770 - Rebooting after update is downloaded but before it's applied doesn't show prompt to re-apply on subsequent restart. r=rstrong 2013-01-12 05:03:13 +01:00
Marshall Culpepper
e7dcfee651 Bug 816306: Part 1 - Report more network errors during update checks. r=bbondy 2013-01-10 18:10:19 +01:00
Dave Hylands
062761000b Bug 785124 - Pt 6 - Fix JS code that was failing xpcshell tests. r=marshall_law 2013-01-10 14:46:39 +01:00
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
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
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
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
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
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
9bb6552110 Bug 791829 - Add support for resuming a stopped/partial update. r=rstrong 2012-11-06 20:09:43 -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
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