Gecko engine for Wine
Go to file
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
accessible Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
b2g Bug 756691 - Use a non-linear volume change scale [r=djf] 2012-05-21 14:02:00 -07:00
browser Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
build Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
caps Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
chrome Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
config Bug 740795 part B - make nsinstall.py accept an "-X" flag to exclude files when copying directories recursively, r=ted 2012-05-18 12:42:01 -04:00
content Bug 757296 - Replace windows line endings with unix line endings in nsDocument.cpp. r=line-endings 2012-05-22 12:38:34 +12:00
db/sqlite3 Bug 737807 - Upgrade SQLite to version 3.7.11 (SQLite changes). r=mak 2012-03-23 21:49:46 -04:00
dbm Bug 698552: Update to NSS 3.13.2 BETA1 (NSS_3_13_2_BETA1), r=kaie, r=honzab 2011-12-01 14:27:28 -08:00
docshell Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
dom Bug 731288 - Don't call methods on finalized SurfaceTexture, JNI housekeeping r=blassey 2012-05-21 21:35:29 -04:00
editor Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
embedding Bug 746938 - Prevent NullPointerException in getNetworkType; r=mounir 2012-05-21 13:40:49 -07:00
extensions Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
gfx bug 756850 - HBGetGlyph callback for harfbuzz needs to return whether the glyph existed. r=smontagu 2012-05-21 21:05:36 +01:00
hal Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
image Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
intl Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
ipc Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
js Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
layout Update bug number (no bug, DONTBUILD) 2012-05-21 18:24:50 -07:00
media Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
memory Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
mfbt Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
mobile Bug 731288 - Don't call methods on finalized SurfaceTexture, JNI housekeeping r=blassey 2012-05-21 21:35:29 -04:00
modules Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
mozglue Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
netwerk Merge m-c to inbound. 2012-05-21 20:37:54 -04:00
nsprpub Update NSPR to NSPR_4_9_1_BETA1 tag, a=ted 2012-05-10 12:01:43 -07:00
other-licenses Back out 6133c00430fc, 94e9ab59900e, 6f6115262c4b (bug 661908) for buildsymbols bustage 2012-05-21 14:31:34 -07:00
parser Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
probes Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
profile Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
rdf Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
security Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
services Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
startupcache Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
storage Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
testing Bug 756233: Removing Selenium proxy from marionette r=jgriffin 2012-05-22 07:09:46 -07:00
toolkit Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
tools Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
uriloader Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
view Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
webapprt Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
widget Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
xpcom Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
xpfe Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
xulrunner Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted 2012-05-21 16:31:03 -05:00
.gdbinit Bug 184013 - Add a .gdbinit containing useful debugging macros to the tree so that it is found automagically; r=jimb 2012-05-03 20:06:14 -04:00
.gitignore Bug 756516 - Ignore .clang_complete files; r=BenWa 2012-05-18 13:55:58 -04:00
.hgignore Bug 756516 - Ignore .clang_complete files; r=BenWa 2012-05-18 13:55:58 -04:00
.hgtags Added tag FIREFOX_AURORA_14_BASE for changeset 357da346ceb7 2012-04-24 12:50:38 -04:00
aclocal.m4 Bug 743601 - Remove GLIB check for OSX. r=khuey 2012-04-27 12:28:16 +09:00
allmakefiles.sh Back out 6133c00430fc, 94e9ab59900e, 6f6115262c4b (bug 661908) for buildsymbols bustage 2012-05-21 14:31:34 -07:00
client.mk Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
client.py Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
configure.in Back out 6133c00430fc, 94e9ab59900e, 6f6115262c4b (bug 661908) for buildsymbols bustage 2012-05-21 14:31:34 -07:00
LEGAL
LICENSE
Makefile.in Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    http://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on http://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
            - or -
    http://nightly.mozilla.org/