Commit Graph

23 Commits

Author SHA1 Message Date
Ehsan Akhgari
2362f4b5ee 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
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian R. Bondy
dae0fea4cd Bug 718357 - Do not use new console when browser restarts on Windows. r=jimm 2012-01-19 16:30:05 -05:00
Brian R. Bondy
6829b31d89 Bug 711692 - Various fixes for intermittent failures. r=rstrong. 2011-12-28 21:08:37 -05:00
Brian R. Bondy
48e8c66f8e 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
367ce94fcc Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Brian R. Bondy
3a6204ae72 Bug 689277 - Memory leak on low resource situations for Windows software updates. r=rstrong 2011-09-28 09:42:36 -04:00
Ed Morley
1dc65abc0d Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Serge Gautherie
dbac3c92eb Bug 508760 - Remove MSVC6 support from the tree; (Iv1) /toolkit/xre/*.cpp.
r+a-2.0=benjamin.
DONTBUILD
2010-12-09 16:43:13 +01:00
Hiroyuki Ikezoe
ff6f77ff64 Bug 495871 - "Memory leak in nsWindowsRestart.cpp" (A patch) [r=doug.turner a=sgautherie.bz] 2009-06-14 01:55:04 -07:00
Hiroyuki Ikezoe
3bbbc13d70 Bug 490274 - Memory leak in toolkit/xre/nsWindowsRestart.cpp; r=benjamin 2009-05-14 16:17:51 +02:00
Vladimir Vukicevic
2f2b2d75af b=477727; bandaid wince firefox restart crash; r=stuart 2009-02-10 15:10:08 -08:00
Brad Lassey
eaa8b5de3a bug 465874 - WinCE Environment Variables Have To Be Passed On Command Line r=bsmedberg 2009-02-05 15:50:44 -08:00
Daniel Holbert
4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Robert Strong
2db4280254 Bug 459615 - Remove the needElevation param from WinLaunchChild. r=ted.mielczarek, r=jmathies 2009-01-01 16:18:33 -08:00
Brad Lassey
6da6a4efc1 Bug 461858 - windows mobile minor cleanup of xulrunner r=bsmedberg 2008-12-03 08:41:12 -05:00
Robert Strong
3718d0b8b4 Bug 453733 - Software update fails if current directory is root directory (win32 only). r=ted.mielczarek, r=bsmedberg 2008-10-10 16:04:01 -07:00
dougt@meer.net
0069a6f866 XRE build changes for windows mobile. b=420240, r=bsmedberg, a=beltzner 2008-03-05 11:23:44 -08:00
benjamin@smedbergs.us
a1d42219e2 Bug 410610 - Can't open a local HTML file that has accents (special unicode characters) in its filename, r=luser+Neil 2008-01-07 08:38:12 -08:00
dwitte@stanford.edu
84e6172062 update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep 2008-01-03 16:07:06 -08:00
benjamin@smedbergs.us
fd5b74bf13 Bug 396052 - Firefox fails to start when run from a directory with non-native characters, r=luser sr=neil 2007-12-31 07:15:43 -08:00
rob_strong%exchangecode.com
6264b3f99e Landing of interdependent bugs for Vista support. Bug 354005 Setting the app as the OS default is broken on Vista. r=sspitzer, r=dougt, sr=bsmedberg. Bug 351949 � Automatic Update is not working for Vista users with limited account privilege and UAC (User Account Control) enabled. r=sspitzer, r=rstrong. Bug 354226 � nsPostUpdateWin.js fails to update registry keys / log files after an update has been applied. r=rstrong. 2007-01-30 05:14:50 +00:00
bsmedberg%covad.net
25893b0dca Bug 303599 - Many problems if NtfsDisable8dot3NameCreation set to 1 - r=darin 2005-08-31 17:50:32 +00:00