Pranav Ravichandran
a74d2889e8
Bug 750554 - If service is not used for updates then do not show it in preferences. r=bbondy
2012-05-31 10:28:01 -04:00
Ehsan Akhgari
5b1b2aa3b0
Bug 760290 - The update UI needs to be aware of the possibility that the update cannot be staged in the background; r=rstrong
2012-05-31 20:28:32 -04:00
Ehsan Akhgari
8a0b44b9e8
Bug 759065 - Fall back to downloading the full update if staging the update in the background fails; r=rstrong
2012-05-29 16:20:12 -04:00
Ehsan Akhgari
77dc25ccd3
Bug 757965 - Properly test for write access before staging an update in the background; r=rstrong
...
This patch makes sure that we test to make sure we can create a
directory in the installation directory and also in its parent (the
latter check only happens on Windows and Linux), so that we wouldn't try
to stage an update in the background if that's bound to fail if we don't
have the require write permissions.
2012-05-30 17:57:05 -04:00
Ehsan Akhgari
e68423b7a6
Merge mozilla-central into mozilla-inbound
2012-05-30 22:43:10 -04:00
Robert Strong
36b8cf6fcb
Bug 759460 - Preprocess channel name into nsUpdateService.js instead of just using 'default'. r=bbondy
2012-05-30 15:17:43 -07:00
Ehsan Akhgari
190b2cadd1
Bug 759390 - Make sure gCanStageUpdates will not fail if the maintenance service pref is set to false; r=rstrong
2012-05-30 13:54:10 -04:00
Ehsan Akhgari
74c31c97e7
Bug 757965 - Test to make sure we have write access to the needed directories before attempting to stage an update; r=rstrong
...
--HG--
extra : rebase_source : 78470ccf04a9e29c5f6320e06ec899d3d47ac618
2012-05-25 03:17:16 -04:00
Szabolcs Hubai
43aecde60c
Bug 756960 - Iterate on a shallow copy while notifying downloadListeners. r=Mossop
2012-05-21 21:20:54 +02:00
Ehsan Akhgari
bb46fe0915
Bug 757885 - Handle falling back to non-staged updates correctly when an update fails to be staged in the background; r=rstrong
2012-05-23 17:51:50 -04:00
Ehsan Akhgari
6ef914c817
Bug 757835 - Fall back to not use the maintenance service if there is an error when using the service to stage an update in the background; r=rstrong
...
This will cause us to fall back to a non-background update with a UAC prompt,
which sucks, but at least it lets the user to update.
--HG--
extra : transplant_source : z%00/Z%ED%E3gj%A2%E6%244%D0%B0%AE%A1zdPT
2012-05-23 12:31:37 -04:00
Ehsan Akhgari
8737791b22
Bug 757437 - Remove the rest of the support code for xpcshell-specific Mac bundle hacks from bug 307181; r=rstrong
2012-05-22 11:32:01 -04:00
Ehsan Akhgari
ab9253304f
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.
--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian R. Bondy
c20b4e4ab2
Bug 748948 - Possible race condition when launching updates from service after security checks. r=rstrong, a=ehsan.
2012-05-02 15:40:33 -04:00
Chris Jones
f390d1321c
Bug 737368, part 1: Fix up ifdefs to support building update code for Gonk. r=mwu
2012-03-21 15:50:53 -07:00
Brian R. Bondy
b61e60af2e
Bug 731901 - Update telemetry ping to use new telemetry name. r=rstrong
2012-03-09 14:01:50 -05:00
Brian R. Bondy
bf2cc24f9c
Bug 711054 - Stop using readstrings errors for updater. r=rstrong
...
--HG--
rename : toolkit/mozapps/readstrings/errors.h => toolkit/mozapps/update/common/errors.h
rename : toolkit/mozapps/readstrings/readstrings.cpp => toolkit/mozapps/update/common/readstrings.cpp
rename : toolkit/mozapps/readstrings/readstrings.h => toolkit/mozapps/update/common/readstrings.h
2012-03-05 15:47:46 -05:00
Brian R. Bondy
f054840ac4
Bug 730792 - Enable new security checks for updates without the service. r=rstrong
2012-03-05 15:47:46 -05:00
Kyle Huey
56bb56f79d
Bug 728392: nsUpdateService should clear its references to the update listener once it is no longer needed. r=rs
2012-02-28 08:57:35 -08:00
Brian R. Bondy
32487eb533
Bug 725180 - Updater JS error handling for new error codes. r=rstrong
2012-02-24 16:29:42 -05:00
Robert Strong
406b98c2d9
Main patch - Bug 660038 - Remove channel switching support. r=bbondy
2012-01-18 14:10:38 -08:00
Brian R. Bondy
c97793c692
Bug 711692 - Various fixes for intermittent failures. r=rstrong.
2011-12-28 21:08:37 -05:00
Brian R. Bondy
af8dcf0b95
Bug 709173 - updater.exe needs to be verified to be an updater, not just an executable signed by Mozilla. r=rstrong.
2012-01-04 23:19:16 -05:00
Brian R. Bondy
28a67f5a40
Bug 709158 - updater.exe was not verified to be a particular product's/channel's/version of the updater. r=rstrong.
2012-01-04 23:19:16 -05:00
Brian R. Bondy
86afcc4bf8
Bug 708854 - No longer use session ID for work item files. r=rstrong.
...
--HG--
rename : toolkit/mozapps/update/common/launchwinprocess.cpp => toolkit/mozapps/update/common/updatehelper.cpp
rename : toolkit/mozapps/update/common/launchwinprocess.h => toolkit/mozapps/update/common/updatehelper.h
2012-01-04 23:19:15 -05:00
Brian R. Bondy
54527b0e1a
Bug 481815 - Provide a Windows service for silent updates. r=rstrong.
2012-01-04 23:19:14 -05:00
Dave Townsend
1cd8e3f6d4
Bug 704988: Check the add-on hotfix is signed by a specific certificate. r=robstrong, r=Unfocused
2011-12-16 12:04:28 -08:00
Dave Townsend
8af0b5129b
Bug 704987: Ignore the hotfix add-on when warning users about incompatible add-ons. r=robstrong
2011-12-16 12:04:40 -08:00
Ehsan Akhgari
73f27461e5
Bug 708123 - Add a telemetry probe for update status; r=rstrong
2011-12-09 11:37:16 -05:00
Mike Hommey
c124580b04
Bug 696555 - Move update.locale into omni.jar. r=rstrong
2011-11-22 08:05:59 +01:00
Tim Abraldes
a92e874526
Bug 668436 - Send service pack major and minor version info in AUS ping. r=rstrong
2011-11-07 12:53:41 -06:00
Kyle Huey
ad4e94ee90
Bug 687332: Fix toolkit/. r=rs
2011-09-29 12:06:36 -04:00
Nick Thomas
6d51508415
Bug 491464, Append -shark to BUILDTARGET for update queries when shark is enabled, r=rstrong
2011-06-30 10:23:04 +12:00
Jonas Sicking
7ac9726ad6
Bug 664932: Make update unit tests not implement nsIXMLHttpRequestEventTarget in script. r=rstrong
2011-06-22 15:17:07 -07:00
Peter Van der Beken
ae44770a16
Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin.
...
--HG--
extra : rebase_source : 8463c6f8ba1f969278d4e33bfa08495fa3e36071
2011-05-25 10:46:51 +02:00
Robert Strong
6c8f63e466
Main patch - Switching channels is broken when an update is already downloading or downloaded - Bug 652016 - When switching channels, I get a failed update. r=mossop
2011-05-18 11:28:56 -07:00
Ed Morley
99856dd6e9
Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend
2011-04-29 12:38:26 +02:00
Robert Strong
613e13bd13
2. only support channel change with complete mar files - Bug 642765 - Add ability to channel change to the client. r=mossop
2011-04-11 21:24:28 -07:00
Robert Strong
7729d8fd36
1. main patch - Bug 642765 - Add ability to channel change to the client. r=mossop
2011-04-11 21:24:16 -07:00
Robert Strong
0fc8a61c77
Bug 595078 - Where possible, remove the possibility of other components breaking app update. r=mossop, a=approval2.0
2011-01-13 11:36:36 -08:00
Robert Strong
6730a4355a
Bug 601701 - Automatic updates get stalled when installed version is newer than a downloaded update restored using Windows system restore. r=mossop, a=blocking2.0-final
2011-01-13 11:36:28 -08:00
Robert Strong
2b802fcbb2
Bug 617513 - Duplicate declaration of doc in updates.xml. r=dtownsend, a=approval2.0
2010-12-15 14:37:24 -08:00
Alex Pakhotin
7e736d9b18
Bug 597579 - Investigate downloading updates to sd card r=rstrong,blassey a=blocking-fennec
2010-10-30 17:24:14 -07:00
Robert Strong
86e12cc4da
Bug 599274 - Add ability to fallback to previous update snippet format. r=Mossop a=Blocking-b8+
2010-09-25 04:02:00 -04:00
Robert Strong
163feb77f0
Main patch - Bug 596813 - Check for updates inside the About window without opening a new window. r=dtownsend, ui-r=beltzner, a=blocking2.0-beta7
2010-09-23 21:02:08 -07:00
Alex Pakhotin
a9504bf27a
Bug 596662 - New update mechanism does not work on Android 2.1, r=alexp, a=blocking-fennec
2010-09-17 11:03:43 -07:00
Robert Strong
bab2be3b11
Bug 597664 - Add finalURI.spec for the mar file download to the local update xml and log the finalURI.spec along with the original URI.spe. r=dtownsend, a=approval2.0
2010-09-20 21:42:26 -07:00
Robert Strong
3233b7968e
Bug 595455 - After several background update check failures notify the user that they should check if there is a new version available. r=dtownsend, a=blocking2.0-beta7
2010-09-14 18:49:10 -07:00
Alex Pakhotin
557b304725
Bug 587384 - Need an updater for Fennec on Android [r=rs, a=blocking-fennec]
2010-09-09 12:45:02 -07:00