Commit Graph

16 Commits

Author SHA1 Message Date
Ehsan Akhgari
e1af685c9b 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.
2012-05-22 10:50:04 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian R. Bondy
9c21437234 Bug 711054 - Stop using readstrings errors for updater. r=rstrong 2012-03-05 15:47:46 -05:00
Robert Strong
6d4cfe830f Bug 562151 - allow post-update helper application on mac. r=rstrong 2010-05-22 14:10:31 -07:00
Brad Lassey
626e4413b4 bug 533542 - don't build readstrings.cpp in source dir r=ted 2010-01-12 10:47:04 -05:00
Robert Strong
af7fde0ec7 Test only - Bug 503308 - Debug build failure in toolkit/mozapps/update/TestAUSReadStrings.cpp: undefined reference to NS_DebugBreak. 2nd try - succeeded on the try server. r=me 2009-07-09 15:50:49 -07:00
Robert Strong
7328687870 Backing out Bug 503308 2009-07-09 11:33:07 -07:00
Robert Strong
49e98e3adb Test only - Bug 503308 - Debug build failure in toolkit/mozapps/update/TestAUSReadStrings.cpp: undefined reference to NS_DebugBreak. r=me 2009-07-09 11:18:07 -07:00
Robert Strong
eaa60e3a4f Bug 490253 - TestAUSReadStrings.cpp: fix nits in result reports. r=ted.mielczarek 2009-07-08 13:15:22 -07:00
Robert Strong
84e17484ba Bug 476336 - Remove check for InfoText from readstrings.cpp. r=ted.mielczarek 2009-03-11 19:10:56 -07:00
Peter Weilbacher
c2ee4e5771 [OS/2] Bug 477508: fix build break in updater/test, p=wuno@lsvw, r=pweilbacher 2009-02-24 10:59:16 +01:00
Jeremy Lea
8a02cc842b Bug 479524 - TestAUSReadStrings fails to build on Mac OS X 10.4.8. r=rstrong 2009-02-20 18:02:29 -08:00
Robert Strong
88a1824767 Test only fix - Bug 477577 - Encoding errors compiling TestAUSReadStrings.cpp 2009-02-10 12:13:47 -08:00
Robert Strong
ac9d182cc0 Followup to fix more compiler warnings for Bug 473417 tests 2009-02-08 15:44:56 -08:00
Robert Strong
21864a860f Fix Linux and Mac compiler warnings for Bug 473417 tests 2009-02-08 14:27:01 -08:00
Robert Strong
1183b1e8f1 Tests for Bug 473417 - updater.exe window is blank, and doesn't close. r=ted.mielczarek 2009-02-08 13:44:02 -08:00