Commit Graph

37 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
Gian-Carlo Pascutto
e4215cce87 Backout 173f90d397a8 (Bug 673470). rs=dcamp a=mfinkle 2012-04-20 07:46:47 +02:00
Henri Sivonen
b0b6cb7764 Bug 650784 part 1.5 - Move nsScriptableUnescapeHTML from Toolkit to Core. r=smaug.
--HG--
rename : toolkit/components/feeds/nsIScriptableUnescapeHTML.idl => parser/html/nsIScriptableUnescapeHTML.idl
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.cpp => parser/html/nsParserUtils.cpp
rename : toolkit/components/feeds/nsScriptableUnescapeHTML.h => parser/html/nsParserUtils.h
2012-02-27 13:57:48 +02:00
Henri Sivonen
3aacb86e06 Bug 650784 part 1 - Introduce a new API for converting HTML to plain text. r=smaug. 2012-02-27 13:57:48 +02:00
Gian-Carlo Pascutto
f6fbcf288f Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
f18313c7e1 Backout 44a0dc4fb9ff (Bug 673470) for Talos regression. 2012-02-01 20:10:02 +01:00
Gian-Carlo Pascutto
49058a9dcc Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp 2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
1b15f1f905 Bug 702217 - Avoid double allocation in UrlClassifier. Handle OOM conditions. r=dcamp 2012-01-10 17:09:32 +01:00
Nicholas Nethercote
5d2aefc5b3 Bug 705602 - Use mallocSizeOf in prefixset memory reporter. r=gpc.
--HG--
extra : rebase_source : f228466f7e082a152ceaafc8f8f1c4b71f5f550f
2011-12-13 20:54:18 -08:00
Marco Bonardo
bdcf6b49e6 Bug 707946 - Improve performances of hasChildren for tag queries.
r=dietrich sr=gavin
2011-12-07 21:56:26 +01:00
Gian-Carlo Pascutto
f5931dd00e Bug 698326 - Remove countMe argument to SizeOf in UrlClassifier. r= 2011-11-15 18:51:06 +01:00
Gian-Carlo Pascutto
4f47ecb803 Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar 2011-11-13 11:25:48 +01:00
Marco Bonardo
710987a799 Backout 38abb03271de (bug 698326) due to xpcshell tests failure 2011-11-11 20:12:12 +01:00
Gian-Carlo Pascutto
3ca204c2dd Bug 698326 - Add memory reporter for the url-classifier. r=njn,jlebar 2011-11-11 18:57:22 +01:00
Gian-Carlo Pascutto
3609767baa Bug 669410 - Make the url-classifier PrefixSet persistent on startup/shutdown. r=tony 2011-09-08 22:16:59 +02:00
Gian-Carlo Pascutto
3527a1530c Bug 669410 - Use PrefixSet to speed up URL classification. r=tony 2011-09-08 22:15:18 +02:00
Gian-Carlo Pascutto
3099d386d0 Bug 669410 - Add PrefixSet datastructure for SafeBrowsing. r=dcamp 2011-09-08 22:15:08 +02:00
Mark Finkle
d7c82a4147 Bug 676293 - Add ability to make 'home screen shortcut' for Bookmarks [r=fabrice, r=blassey]
--HG--
rename : mobile/components/build/nsIPhoneSupport.idl => mobile/components/build/nsIShellService.idl
rename : mobile/components/build/nsPhoneSupport.cpp => mobile/components/build/nsShellService.cpp
rename : mobile/components/build/nsPhoneSupport.h => mobile/components/build/nsShellService.h
2011-08-08 22:37:57 -04:00
Matheus Kerschbaum
5692e9c245 Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
Mehdi Mulani
4a0d27730b Bug 572463 - Switch nsUrlClassifierHashCompleter from C++ to a JS implementation. r=dcamp,Mossop 2011-04-26 16:57:45 -07:00
Fabrice Desré
e9897bc0f6 Bug 590225 - webapps OS level integration for Android a=blocking-fennec, r=mwu,vladimir, blassey 2010-10-15 14:16:45 -04:00
Gavin Sharp
e51ace35e9 Backed out changeset 7e10dcf5f763 (bug 590225) due to bustage, a=me 2010-10-04 13:33:14 -04:00
Brad Lassey
6d7e2050b6 Bug 590225 - webapps OS level integration : Android a=blocking-fennec, r=mwu, r=vladimir 2010-10-04 10:54:40 -04:00
Justin Dolske
cacca97c78 Bug 439716 - Form Manager should be a JavaScript-based component. p=zpao+dolske, r=zpao, r=dolske, r=gavin 2010-05-25 21:35:09 -07:00
Marco Bonardo
2483b43786 Bug 546942 - Move places import-export-service to toolkit. r=sdwilsh
--HG--
rename : browser/components/places/public/nsIPlacesImportExportService.idl => toolkit/components/places/public/nsIPlacesImportExportService.idl
rename : browser/components/places/src/nsPlacesImportExportService.cpp => toolkit/components/places/src/nsPlacesImportExportService.cpp
rename : browser/components/places/src/nsPlacesImportExportService.h => toolkit/components/places/src/nsPlacesImportExportService.h
2010-03-24 02:17:49 +01:00
Mark Banner
4296bc6a4a Bug 550145 NS_APPSTARTUP_CONTRACTID should exist in nsToolkitCompsCID.h and not nsXPFEComponentsCID.h (kill nsXPFEComponentsCID.h). r=benjamin 2010-03-05 12:11:55 +00:00
Justin Dolske
677a6e2e49 Bug 458812 - Remove support for importing from old mork-based formhistory.dat. r=vladimir 2009-12-13 17:04:41 -08:00
Michael Ventnor
80e906d414 Bug 469880. Support a libnotify-based implementation of nsIAlertsService for GTK. r+sr=roc,r=ted
--HG--
extra : rebase_source : f9a6a01ffaf868712429a42193a275eecaf9a614
2009-01-08 21:12:16 +13:00
reed@reedloden.com
45e6187afe Bug 412374 - "Download Mgr bypasses Vista Parental Controls' file-blocking flag" [p=jmathies@mozilla.com (Jim Mathies) r=sdwilsh sr=bsmedberg a=blocking-firefox3+] 2008-03-29 00:12:13 -07:00
reed@reedloden.com
9c21a1ed3d Back out Jim Mathies's patch from bug 412374 due to build bustage on non-Vista systems. 2008-03-19 23:34:26 -07:00
reed@reedloden.com
c327662d2b Bug 412374 - "Parental Controls can be easily bypassed by going back to the download source" [p=jmathies@mozilla.com (Jim Mathies) r=sdwilsh sr=bsmedberg a=blocking-firefox3+] 2008-03-19 23:01:26 -07:00
dcamp@mozilla.com
a693370747 Bug 402611: Deal with changes to the safebrowsing v2 protocol. r=tony, a1.9=beltzner 2008-01-29 12:57:18 -08:00
dcamp@mozilla.com
97dc74d84e Back out bug 402611 for bloat-test orange 2008-01-28 17:58:15 -08:00
dcamp@mozilla.com
8b41ffbc48 Bug 402611: Deal with changes to the safebrowsing v2 protocol. r=tony, a1.9=beltzner 2008-01-28 15:04:43 -08:00
mozilla.mano@sent.com
bd9d273059 Bug 373838 - Replace nsNavHistoryResultTreeViewer with a JS, browser-specific tree view. r=dietrich. 2007-03-25 05:28:29 -07: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