Commit Graph

17 Commits

Author SHA1 Message Date
Siddharth Agarwal
3af8a72761 Bug 767827 - TestAUSReadStrings.cpp fails with 'unable to find platform specific path separator' under Pymake on Windows. r=rstrong 2012-06-26 22:39:17 +05:30
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
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
Robert Strong
321a32ff79 Bug 562151 - allow post-update helper application on mac. r=rstrong 2010-05-22 14:10:31 -07:00
Brad Lassey
b547f4fd74 bug 533542 - don't build readstrings.cpp in source dir r=ted
--HG--
rename : toolkit/mozapps/update/src/updater/errors.h => toolkit/mozapps/readstrings/errors.h
rename : toolkit/mozapps/update/src/updater/readstrings.cpp => toolkit/mozapps/readstrings/readstrings.cpp
rename : toolkit/mozapps/update/src/updater/readstrings.h => toolkit/mozapps/readstrings/readstrings.h
2010-01-12 10:47:04 -05:00
Robert Strong
86cd66476e 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
5870101ca3 Backing out Bug 503308 2009-07-09 11:33:07 -07:00
Robert Strong
79c6fedfef 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
720970d90b Bug 490253 - TestAUSReadStrings.cpp: fix nits in result reports. r=ted.mielczarek 2009-07-08 13:15:22 -07:00
Robert Strong
7437e2754c Bug 476336 - Remove check for InfoText from readstrings.cpp. r=ted.mielczarek 2009-03-11 19:10:56 -07:00
Peter Weilbacher
2f4ef60118 [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
54bd95e3ca 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
a8f030d9a2 Test only fix - Bug 477577 - Encoding errors compiling TestAUSReadStrings.cpp 2009-02-10 12:13:47 -08:00
Robert Strong
a4262b1f00 Followup to fix more compiler warnings for Bug 473417 tests 2009-02-08 15:44:56 -08:00
Robert Strong
7dd0e5121e Fix Linux and Mac compiler warnings for Bug 473417 tests 2009-02-08 14:27:01 -08:00
Robert Strong
745e6150ac Tests for Bug 473417 - updater.exe window is blank, and doesn't close. r=ted.mielczarek 2009-02-08 13:44:02 -08:00