Commit Graph

171 Commits

Author SHA1 Message Date
gavin@gavinsharp.com
153cd2ed8a Bug 401430: download manager 'add to recent docs' functionality (Windows) isn't working, r=sdwilsh 2007-10-30 11:31:50 -07:00
reed@reedloden.com
5cda5981bd New tests for bug 399815 that actually work [p=sdwilsh r=Mardak a=tests] 2007-10-26 00:01:51 -07:00
reed@reedloden.com
cb5d42992c New tests for bug 395144 that actually work [p=sdwilsh r=Mardak a=tests] 2007-10-25 23:59:50 -07:00
edward.lee@engineering.uiuc.edu
a37370f20f Backout testcases for bug 395144 and bug 399815. a=mconnor 2007-10-24 17:07:01 -07:00
edward.lee@engineering.uiuc.edu
2714bb52a3 Bug 399632 - Resume (not restart) a download after firefox crashes. r=sdwilsh, b-ff3=mconnor, a1.9=mconnor, aM9=mconnor 2007-10-24 15:39:05 -07:00
edward.lee@engineering.uiuc.edu
ccf743f7b0 Bug 399817 - Resume downloads marked as auto-resume when starting download manager. r=sdwilsh, a1.9=mconnor, aM9=mconnor 2007-10-24 15:34:02 -07:00
edward.lee@engineering.uiuc.edu
29dbac5e9f Bug 399816 - Pause downloads when quitting firefox instead of canceling. r=sdwilsh, a1.9=mconnor, aM9=mconnor 2007-10-24 15:31:49 -07:00
edward.lee@engineering.uiuc.edu
cfddcaf952 Bug 395144 and bug 399815's sqlite files. 2007-10-24 15:25:09 -07:00
edward.lee@engineering.uiuc.edu
57baa63262 Bug 399815 - Store autoResume in moz_downloads table to indicate if a download should auto-resume. r=sdwilsh, a1.9=mconnor aM9=mconnor 2007-10-24 15:23:13 -07:00
edward.lee@engineering.uiuc.edu
b124fdf79e Bug 395144 - Figure out what to do when we are supposed to open an application with download resume. r=sdwilsh, b-ff3=beltzner, aM9=beltzner 2007-10-24 15:19:04 -07:00
edward.lee@engineering.uiuc.edu
280ceb4187 Bug 399563 - Don't delete partially downloaded files on canceled exthandler transfers. r=biesi, sr=biesi, aM9=beltzner 2007-10-24 15:12:54 -07:00
edward.lee@engineering.uiuc.edu
5691083ccf Bug 397380 - Clear the temp file path upon successful completion of the download. r=sdwilsh, a=mconnor 2007-10-13 17:57:34 -07:00
reed@reedloden.com
e044dff1b7 Bug 399050 - "directories created with wrong permissions" [p=chpe r=sdwilsh a1.9=mconnor] 2007-10-11 14:45:12 -07:00
edward.lee@engineering.uiuc.edu
0c5bca4593 Bug 394039 - Calling removeDownload() works but doesn't update download window. r=sdwilsh, b-ff3=mconnor 2007-10-07 10:21:57 -07:00
edward.lee@engineering.uiuc.edu
5623361228 Bug 384810 - DM should restore the database state gracefully after a crash. r=sdwilsh, a=mconnor 2007-10-07 09:15:32 -07:00
gavin@gavinsharp.com
de30c4bf3d Bug 398174: add DM 'addToRecentDocs' pref to firefox.js, and add a comment explaining it's use, r+a=mconnor 2007-10-03 09:00:48 -07:00
edward.lee@engineering.uiuc.edu
cf4937d8ae Bug 398218 - Download DB tracks -1 as the max size when resuming. r=sdwilsh, a=mconnor 2007-10-02 08:08:12 -07:00
edward.lee@engineering.uiuc.edu
26d6886e87 Bug 398216 - Downloads report the wrong size when finished. r=sdwilsh, a=mconnor 2007-10-02 08:05:38 -07:00
edward.lee@engineering.uiuc.edu
558ba82a04 Bug 397967 - Refactor nsDM::CompleteDownload|ExecuteDesiredAction to nsD::Finalize|ExecuteDesiredAction|MoveTempToTarget. r=sdwilsh, a=mconnor 2007-10-02 08:03:16 -07:00
edward.lee@engineering.uiuc.edu
950e8f8e74 Bug 382388 - nsDownload::OnStateChange doesn't check aStatus for failure. r=sdwilsh, a=mconnor 2007-10-01 17:39:50 -07:00
edward.lee@engineering.uiuc.edu
e14c2cac9c Bug 394548 - Store download progress in database when changing states. r=sdwilsh, a=mconnor 2007-10-01 17:16:12 -07:00
gavin@gavinsharp.com
59c6d63a5e Bug 392152: notify front-end when clearing DM history, so that it can clear the active list, r=sdwilsh 2007-10-01 17:08:31 -07:00
edward.lee@engineering.uiuc.edu
311e58a099 Bug 395537 - Nothing happens if you resume a download that you deleted. r=sdwilsh, blocking-ff3=mconnor 2007-10-01 16:57:48 -07:00
gavin@gavinsharp.com
10c057e60d Bug 392152: notify front-end when clearing DM history, so that it can clear the active list, r=sdwilsh 2007-10-01 16:24:08 -07:00
edward.lee@engineering.uiuc.edu
0a56bc82f0 Bug 398197 - Canceled queued downloads come from Wed, Dec 31, 1969 6:00 PM. r=sdwilsh, a=mconnor 2007-10-01 15:39:06 -07:00
edward.lee@engineering.uiuc.edu
8228d45f3f Bug 381517 - Download manager fails when it should probably just ignore the failure. r=sdwilsh, a=mconnor 2007-10-01 12:56:24 -07:00
edward.lee@engineering.uiuc.edu
6607ea668e Bug 395330 - Active downloads don't appear in download manager. r=sdwilsh, blocking-ff3=mconnor 2007-10-01 12:12:26 -07:00
edward.lee@engineering.uiuc.edu
76a42dde5b Bug 230870 - Cross-Session resumable downloads (resume after quitting firefox). r=sdwilsh, a=mconnor 2007-09-26 00:26:06 -07:00
edward.lee@engineering.uiuc.edu
be3791f701 Bug 396457 - Store mTempFile as tempPath in moz_downloads table. r=sdwilsh, a=mconnor 2007-09-26 00:20:16 -07:00
sdwilsh@shawnwilsher.com
535352ec77 Bug 394346 - Allow for named notifications with nsIAlertsService. r=mano, a=mconnor 2007-09-21 19:08:28 -07:00
reed@reedloden.com
67dc890ccf Bug 393932 - "Add extra DB schema sanity checking in debug builds" [p=mwu r=sdwilsh a1.9=mconnor] 2007-09-17 15:51:33 -07:00
reed@reedloden.com
d8622ba1e4 Bug 396456 - "Refactor PauseResume into Pause, Cancel, Resume, RealResume" [p=edilee@gmail.com (Edward Lee [Mardak]) r=sdwilsh a1.9=mconnor] 2007-09-17 15:41:15 -07:00
sdwilsh@shawnwilsher.com
7e63941804 Bug 396453 - Convert DownloadManager flag variables into flag functions. Patch by Edward Lee <edilee@gmail.com>. r=sdwilsh, a=mconnor 2007-09-17 14:16:16 -07:00
sdwilsh@shawnwilsher.com
3301a3a727 Bug 396451 - Index with i++ for DownloadManager sql queries. Patch by Edward Lee <edilee@gmail.com>. r=sdwilsh, a=mconnor 2007-09-17 14:10:29 -07:00
sdwilsh@shawnwilsher.com
a771b2bf61 Bug 396450 - Move logic out of nsDownloadManager.h. Patch by Edward Lee <edilee@gmail.com>. r=sdwilsh, a=mconnor 2007-09-17 14:02:39 -07:00
sdwilsh@shawnwilsher.com
d348d25ede Bug 396488 - Clean up nsDownloadManager - spaces and stars. Patch by Edward Lee <edilee@gmail.com>. r=sdwilsh, a=mconnor 2007-09-17 13:49:24 -07:00
sdwilsh@shawnwilsher.com
3b2d65c8f3 Bug 395134 - When resuming a download, strange things happen in the UI. Patch by Edward Lee <edilee@gmail.com>. r=sdwilsh, a=mconnor 2007-09-17 13:40:47 -07:00
gavin@gavinsharp.com
59f843340c Revert accidental check-in 2007-09-17 11:44:40 -07:00
gavin@gavinsharp.com
9d7c6a0d55 Bug 395708: handle invalid IDs passed to nsIDownloadManagerUI::show (makes clicking on the "download complete" notification work when the download manager isn't open), r=sdwilsh 2007-09-17 11:43:32 -07:00
sdwilsh@shawnwilsher.com
c420032dbf Bug 395207 - Download Resume doesn't actually work. r=mconnor, a=mconnor 2007-09-16 07:46:25 -07:00
dmose@mozilla.org
f8715616ef Fix crash if a paused download is stopped (bug 395188); patch by Mardak, r=sdwilsh, a=dsicore 2007-09-07 12:14:06 -07:00
sdwilsh@shawnwilsher.com
4dda63e01c Bug 377243 - [SoC] Implement Download Resume. Patch by Brahmana <om.brahmana@gmail.com> and Shawn Wilsher <me@shawnwilsher.com>. r=sdwilsh, r=mconnor, a=[wanted-firefox3] 2007-09-05 21:59:34 -07:00
gavin@gavinsharp.com
f9179f6457 Bug 394615: 0 byte downloads don't appear in the download manager, patch by Edward Lee <edilee@gmail.com>, r=sdwilsh 2007-09-04 09:27:38 -07:00
sdwilsh@shawnwilsher.com
6861590377 Bug 384810 - DM should restore the database state gracefully after a crash. r=mano 2007-08-30 12:01:39 -07:00
sdwilsh@shawnwilsher.com
59e02e4bd5 Bug 394228 - Downloading files can randomly fail. r=mano 2007-08-29 18:51:12 -07:00
gavin@gavinsharp.com
e7ca2e6572 Bug 393342: read the download.dir pref as a nsILocalFile instead of just a file path (fixes automatic downloads on Mac), patch by Jim Mathies <jmathies@mozilla.com>, r=me 2007-08-28 11:59:49 -07:00
sdwilsh@shawnwilsher.com
b1da3b3bb7 Bug 398982 - Download Manager is not friendly to embedders or extensions. r=mano 2007-08-27 17:10:25 -07:00
sdwilsh@shawnwilsher.com
7e3a74443c Bug 391870 - Have the download manager store the referring uri when appropriate (and use it in the front end). r=mano 2007-08-27 09:09:28 -07:00
reed@reedloden.com
0384fe02ba Bug 393556 - "Failed downloads not removed from active downloads array" [p=reed r=sdwilsh] 2007-08-24 17:22:06 -07:00
gavin@gavinsharp.com
566c456f9e Bug 103487: use default anti-virus scanner to scan downloaded files on Windows, patch by Rob Arnold <robarnold@mozilla.com>, r=sdwilsh, r=jmathies, r=me 2007-08-22 14:55:57 -07:00
gavin@gavinsharp.com
eac2b68f83 Fix newlines, again 2007-08-22 13:20:32 -07:00
gavin@gavinsharp.com
bc38fe1e02 Fix newlines 2007-08-22 12:33:09 -07:00
sdwilsh@shawnwilsher.com
d84e1dbbf7 Bug 308073 - Change default downloading folder in Windows Vista from Desktop to Downloads. Patch by Jim Mathies <jmathies@mozilla.com>. r=robarnold, r=robert.bugzilla, sr=dougt, a=mconnor 2007-08-21 10:22:02 -07:00
sdwilsh@shawnwilsher.com
f7f9f0e99a Bug 355554 - File downloads should honor Vista's parent control setting. Patch by Jim Mathies <jmathies@mozilla.com>. r=gavin.sharp, r=sdwilsh, a=blocking-firefox3 2007-08-21 09:37:39 -07:00
sdwilsh@shawnwilsher.com
b7fdcfc19e Bug 391870 - Have the download manager store the referring uri when appropriate (and use it in the front end). r=mano, r=cbiesinger, sr=cbiesinger 2007-08-17 16:05:26 -07:00
sdwilsh@shawnwilsher.com
23c5187239 Bug 390748 - When downloading multiple files, Download Manager doesn't show files it has queued. r=mano, a=blocking-firefox3 2007-08-15 10:56:50 -07:00
sdwilsh@shawnwilsher.com
89a7bf1963 Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger 2007-08-13 18:12:18 -07:00
sdwilsh@shawnwilsher.com
163710b84c Bug 380250 - Convert Download Manager's RDF backend to mozStorage. r=cbiesinger,r=mconnor 2007-08-13 18:12:17 -07:00
neil@parkwaycc.co.uk
c41afd4892 Bug 245725 Make downloads display an approximation to the current transfer rate rather than the overall average speed p=son.le0@gmail.com r=biesi sr=me 2007-08-13 18:12:16 -07:00
cbiesinger@web.de
dc28ac4c80 bug 273971 patch by Son Le <son.le0@gmail.com> r=biesi sr=neil - make nsIDownload::currBytes and maxBytes use bytes rather than kilobytes - make transfers of unknown size use the right size - send mProgress rather than mContentLength as the current progress in OnStateChange 2007-08-13 18:12:15 -07:00
cbiesinger@web.de
26db540bfc Bug 298842 make the temp file part of nsITransfer r=mconnor sr=darin a=shaver 2007-08-13 18:12:14 -07:00
cbiesinger@web.de
3a6d0e836c Bug 290648 make nsITransfer::init take an nsICancelable, and remove the observer attribute r=bz sr=darin a=asa 2007-08-13 18:12:13 -07:00
cbiesinger@web.de
19d82ada33 Bug 241082 exthandler should require just nsITransfer, not nsIDownload patch by Zbigniew Braniecki <gandalf@firefox.pl> r=biesi sr=darin 2007-08-13 18:12:12 -07:00
db48x@yahoo.com
3a4eb4942f bug 239006: Download manager doesn't account for filesize when presenting combined percentages patch by Zbigniew Braniecki <gandalf@firefox.pl>, r=cbiesinger, sr=darin 2007-08-13 18:12:11 -07:00
cbiesinger@web.de
429de02fb6 Bug 223310 use nsIObserver rather than nsIDOMWindowInternal in nsIKeygenThread. r=jgmyers sr=darin 2007-08-13 18:12:10 -07:00
bzbarsky@mit.edu
75833f9fbe Fix misspellings of "transferring" in the tree. Bug 258874, patch by Chris Thomas (CTho) <cst@andrew.cmu.edu>, r=bsmedberg, spelling fix rs=brendan 2007-08-13 18:12:09 -07:00
cbiesinger@web.de
bc97ecf518 document @mozilla.org/download;1 don't delete incomplete files when the download is cancelled/aborts tell the download impl about the location of the temp file, if it is interested 244448 r=bzbarsky sr=darin 2007-08-13 18:12:08 -07:00
gerv@gerv.net
91382ca398 Bug 236613: change to MPL/LGPL/GPL tri-license. 2007-08-13 18:12:07 -07:00
darin@meer.net
bef2de2cdf landing patch for bug 24867 "UI for FTP upload" r=biesi,neil sr=bryner 2007-08-13 18:12:06 -07:00
cbiesinger@web.de
8bd09be2cf 220111 nsIDownload should document that Init must be called r=bzbarsky sr=darin 2007-08-13 18:12:05 -07:00
bzbarsky@mit.edu
21087e14e0 Allow embeddors to override helper apps. Bug 147142, patch by philipl@mail.utexas.edu (Philip Langdale), r=bzbarsky, sr=blake 2007-08-13 18:12:04 -07:00
blakeross@telocity.com
5acf1ba5d0 Download manager. Not part of build. a=asa 2007-08-13 18:12:03 -07:00
blakeross@telocity.com
74dde20d3a Download manager. Not part of build. a=asa 2007-08-13 18:12:02 -07:00
blakeross@telocity.com
da5b3042ce Download manager. Not part of build. a=asa 2007-08-13 18:12:01 -07:00
blakeross@telocity.com
23e1c2a190 Download manager. Not part of build. a=asa 2007-08-13 18:12:00 -07:00
sdwilsh@shawnwilsher.com
912c38a3f0 Bug 391869 - pause -> cancel -> retry doesn't resume/retry download. r=cbiesinger 2007-08-12 15:15:15 -07:00
flamingice@sourmilk.net
c286209282 Bug 391709, Clean up nsDownloadManager::InitDB schema checking code, r=sdwilsh 2007-08-10 16:27:18 -07:00
sdwilsh@shawnwilsher.com
63ab11a328 Bug 385875 - Remove image url from being stored in the DM. r=mano 2007-07-22 10:33:14 -07:00
sdwilsh@shawnwilsher.com
9f74d0d3bc Bug 385875 - Remove image url from being stored in the DM. r=mano 2007-07-22 10:24:03 -07:00
sdwilsh@shawnwilsher.com
d4b3b3335c Bug 384744 - Download manager should enforce a singleton, not just fail on createInstance. r=gavin.sharp 2007-07-12 13:01:57 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
sdwilsh@shawnwilsher.com
47a305016a Bug 385871 - DM needs to have schema checking. r=mano 2007-07-03 14:04:54 -07:00
sdwilsh@shawnwilsher.com
35c1436dba Bug 385876 - DM should cache the query that nsDownload::UpdateDB uses. Patch by Ryan Jones <sciguyryan@gmail.com>. r=sdwilsh 2007-07-02 10:29:59 -07:00
sdwilsh@shawnwilsher.com
dd36a37283 Bug 384734 - Open method should be able to pass in old downloads to the window. Patch by Edward Lee <edilee@mozilla.com>. r=sdwilsh 2007-07-02 10:25:30 -07:00
sdwilsh@shawnwilsher.com
ba37fde6e3 Bug 289219 - nsDownloadProxy needs not QI mInner to get at webprogresslistener methods. r=cbiesinger 2007-06-27 14:08:31 -07:00
sdwilsh@shawnwilsher.com
ce83e6aad4 Bug 383224 - Remove XPInstall bits from the Download Manager. r=mano 2007-06-27 09:52:15 -07:00
sdwilsh@shawnwilsher.com
69b766193c Bug 383224 - Remove XPInstall bits from the Download Manager. r=enndeakin, r=mano 2007-06-22 16:20:00 -07:00
sdwilsh@shawnwilsher.com
863ad22cce Bug 384958 - DM needlessly checks return variable of GetDBConnection. Patch by Ryan Jones <sciguyryan@gmail.com>. r=sdwilsh 2007-06-21 16:56:17 -07:00
sdwilsh@shawnwilsher.com
c949ed9ff3 Bug 384732 - Download manager should use a transaction when importing from downloads.rdf. Patch by Edward Lee <edilee@gmail.com>. r=sdwilsh 2007-06-18 13:49:05 -07:00
sdwilsh@shawnwilsher.com
5bb37b6b21 Bug 384892 - Investigate eliminating the LL_* macros from nsDownloadManager.cpp. Patch by Ryan Jones <sciguyryan@gmail.com>. r=sdwilsh 2007-06-18 13:11:29 -07:00
sdwilsh@shawnwilsher.com
6669b2a009 Bug 384867 - nsDownloadManager.cpp #includes nsInt64.h. Patch by Ryan Jones <sciguyryan@gmail.com>. r=sdwilsh 2007-06-18 13:11:06 -07:00
sdwilsh@shawnwilsher.com
af3e2116e3 Bug 384180 - [leak] nsDownload doesn't break mCancelable cycle on fail or cancel. Patch By Edward Lee <edilee@gmail.com>. r=sdwilsh 2007-06-16 18:12:27 -07:00
sdwilsh@shawnwilsher.com
7804df8884 Bug 384219 - Download manager doesn't fail downloads properly. Patch by Edward Lee <edilee@gmail.com>. r=sdwilsh 2007-06-16 15:03:02 -07:00
sdwilsh@shawnwilsher.com
72b159dbe9 Bug 384245 - Fix unit tests in a non-hackish way. r=mano 2007-06-14 09:49:54 -07:00
sdwilsh@shawnwilsher.com
743b397841 Fix windows orange (stupid file path issues) 2007-06-12 18:19:22 -07:00
sdwilsh@shawnwilsher.com
24515b8610 Bug 382839 - getDownload should return any known download, not just those in progress. r=gavin.sharp 2007-06-12 16:39:15 -07:00
sdwilsh@shawnwilsher.com
2fc1393105 Bug 382081 - Small downloads don't show in download manager when already open. r=mconnor 2007-06-05 09:54:40 -07:00
sdwilsh@shawnwilsher.com
8c70974897 Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger 2007-06-04 17:03:35 -07:00
sdwilsh@shawnwilsher.com
f4bca2120c Bug 381801 - Downloads Complete alert (slider) no longer shows. r=mconnor 2007-05-31 18:39:53 -07:00
sdwilsh@shawnwilsher.com
eb3a5b4b69 Bug 289540 - download manager takes only one listener. r=mconnor 2007-05-25 16:47:53 -07:00