Commit Graph

22 Commits

Author SHA1 Message Date
Ehsan Akhgari
904efc4f7a 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian R. Bondy
f93351d516 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
528c9af51d Bug 711692 - Various fixes for intermittent failures. r=rstrong. 2011-12-28 21:08:37 -05:00
Brian R. Bondy
73d552a617 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
f3519a8442 Bug 481815 - Provide a Windows service for silent updates. r=rstrong. 2012-01-04 23:19:14 -05:00
Brian R. Bondy
e3e66ae007 Bug 689277 - Memory leak on low resource situations for Windows software updates. r=rstrong 2011-09-28 09:42:36 -04:00
Ed Morley
99856dd6e9 Bug 652445 - Remove WinCE code (incl Faststart & nsSplashScreenWin) from toolkit; r=dtownsend 2011-04-29 12:38:26 +02:00
Serge Gautherie
4e549d35db 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
f30197893a 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
4f3fae71b8 Bug 490274 - Memory leak in toolkit/xre/nsWindowsRestart.cpp; r=benjamin 2009-05-14 16:17:51 +02:00
Vladimir Vukicevic
87ea64415b b=477727; bandaid wince firefox restart crash; r=stuart 2009-02-10 15:10:08 -08:00
Brad Lassey
12240222e1 bug 465874 - WinCE Environment Variables Have To Be Passed On Command Line r=bsmedberg 2009-02-05 15:50:44 -08:00
Daniel Holbert
2a7d88e05a 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
247e364bdc Bug 459615 - Remove the needElevation param from WinLaunchChild. r=ted.mielczarek, r=jmathies 2009-01-01 16:18:33 -08:00
Brad Lassey
b4646a8413 Bug 461858 - windows mobile minor cleanup of xulrunner r=bsmedberg 2008-12-03 08:41:12 -05:00
Robert Strong
635de34829 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
0c47cde86f XRE build changes for windows mobile. b=420240, r=bsmedberg, a=beltzner 2008-03-05 11:23:44 -08:00
benjamin@smedbergs.us
96745b866f 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
2c3144edc3 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
348b951ad0 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
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00