Commit Graph

437 Commits

Author SHA1 Message Date
Shawn Wilsher
9394878ebc A bit more debugging output for the test... 2008-10-08 15:57:10 -04:00
Shawn Wilsher
d8bfbc740e Adding some dump statements to figure out what is gong on with tinderbox. 2008-10-08 15:26:39 -04:00
Daniel Holbert
5492039225 Bug 458167 - (comments-only changes) Grammar Nazi Vol1: s/it's/its/ for the posessive version of the word, and a few other misc comment-typos, in these directories: accessible browser config profile rdf toolkit tools xpcom xpfe 2008-10-01 23:49:45 -07:00
Dietrich Ayala
b3718e6ed9 Bug 457396 - in test_history_expiration add the visit in the past to circumvent possible VM timing bugs (for mak77@bonardo.net, r=sdwilsh) 2008-09-27 14:17:30 -07:00
Bo Yang
cf38ccf420 Bug 427479 - include file case changes for mingw cross-compile (include all windows headers as lowercase names), r=bsmedberg 2008-08-06 14:25:27 -04:00
Ted Mielczarek
56b60354cb bug 445339 - test_bug_406857.js crashing intermittently on Linux unittest VMs. disable alert service notifications. r=gavin 2008-07-22 16:13:35 -04:00
Shawn Wilsher
ad702f184f Bug 437415 - Entering offline mode should pause active downloads
This has the download manager listen to the online and offline observer topics
sent out by necko.  Downloads will now pause when going offline, and resume when
going back online, just like we do with sleep and wakeup notifications.
r=gavin

--HG--
rename : toolkit/components/downloads/test/unit/test_sleep_wake.js => toolkit/components/downloads/test/unit/test_offline_support.js
2008-07-08 17:25:48 -04:00
Shawn Wilsher
bc37ca7855 Bug 431745 - qm-centos5-02 is intermittently failing test_sleep_wake.js
This makes the test not fail if a specific failure point is met that can occur
when test execution is slow (like the tinderbox).
r=gavin
2008-07-08 10:22:33 -04:00
Gavin Sharp
85c5cf70c4 Debugging followup (bug 431745) 2008-07-06 21:35:18 -04:00
Gavin Sharp
4e41038865 Debugging followup (bug 431745) 2008-07-06 21:10:46 -04:00
Gavin Sharp
b592f19050 Debugging followup (bug 431745) 2008-07-06 19:52:35 -04:00
Gavin Sharp
23cfc2b70a Debugging followup (bug 431745) 2008-07-06 19:39:50 -04:00
Gavin Sharp
783e7e66f7 Temporary debugging patch to try and get to the bottom of the test_sleep_wake failures (bug 431745) 2008-07-06 18:39:37 -04:00
Shawn Wilsher
e21f72ead8 Bug 438653 - move remaining browser tests to xpcshell/chrome tests
This moves the two remaining browser tests in toolkit/mozapps/downloads/tests to
an xpcshell test and a chrome test.  The reason for this change is to remove the
dependency of the browser from download manager tests since it is a toolkit
component.
This version unregisters the factory that we register to override the prompt
service in test_bug_412360.xul so we no longer leak.
r=gavin

--HG--
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_406857.js => toolkit/components/downloads/test/unit/test_bug_406857.js
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_412360.js => toolkit/mozapps/downloads/tests/chrome/test_bug_412360.xul
2008-06-16 12:58:28 -04:00
Shawn Wilsher
e9cad8d128 Bug 439495 - remove references of "browser.download.manager.useWindow"
This removes the use of the preference browser.download.manager.useWindow, which
was redundant because we do not have any download manager UI that isn't in a
window, and the preference browser.download.manager.showWhenStarting controls
the appearance of the downloads window.  Additionally, this removes the preference browser.download.manager.openDelay which was made obsolete long ago but not
removed from firefox.js.
r=gavin
2008-06-26 11:51:38 -04:00
Shawn Wilsher
ec7a58a336 Backed out changeset 998cc827bfb1 due to leaks found with the added tests. 2008-06-16 15:00:06 -04:00
Shawn Wilsher
a2f8163d9f Bug 438653
This moves the two remaining browser tests in toolkit/mozapps/downloads/tests to
an xpcshell test and a chrome test.  The reason for this change is to remove the
dependency of the browser from download manager tests since it is a toolkit
component.
r=gavin

--HG--
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_406857.js => toolkit/components/downloads/test/unit/test_bug_406857.js
rename : toolkit/mozapps/downloads/tests/browser/browser_bug_412360.js => toolkit/mozapps/downloads/tests/chrome/test_bug_412360.xul
2008-06-16 12:58:28 -04:00
Devin Naquin
fae583ffd5 Bug 383223
This patch refactors the xpcshell unit tests for the download manager back-end
to use do_test_pending and do_test_finished instead of nesting an event loop
with the thread manager.

r=sdwilsh
2008-06-12 09:56:40 -04:00
Shawn Wilsher
b270ef4ff7 Backed out changeset a26c86b184f7 due to Linux orange. It is not clear why this worked locally, and failed on tinderbox. 2008-06-04 13:10:31 -04:00
sdwilsh@shawnwilsher.com
5c7964ca09 Bug 437063
nsIDownloadManagerUI::visible isn't accurate
r=Mardak
2008-06-04 11:22:45 -04:00
bugzilla@standard8.plus.com
1b4ae4fc79 Bug 431124 xpcshell test test_bug_395092.js fails on Thunderbird. r=sdwilsh, test-only change 2008-05-04 06:50:25 -07:00
bugzilla@standard8.plus.com
80da1fbe62 Bug 431159 test_history_expiration.js fails on builds without places enabled. r=sdwilsh, test only change 2008-05-03 04:18:27 -07:00
gavin@gavinsharp.com
da8770ac9d Bug 430566: Saving web page/some downloads fail with "blocked by your Security Zone Policy", patch by Jim Mathies <jmathies@mozilla.com>, r=robarnold, r=sdwilsh, a=beltzner 2008-05-01 14:06:43 -07:00
edward.lee@engineering.uiuc.edu
8ed7b87740 Bug 431346 - File -> Import -> Browsing History crash Firefox [@ nsCOMPtr.h:931]. r=sdwilsh, b-ff3=beltzner, a1.9=shaver. Fixes Bug 431597 - Firefox crash after deleting History Item via Places Library [@ nsNavHistoryResult.h:429] 2008-05-01 07:55:04 -07:00
edward.lee@engineering.uiuc.edu
659efec9be Bug 251337 - Download manager history should have "aging" option, just like the browser history. r=sdwilsh, r=mano, r=bsmedberg, a1.9=damons 2008-04-22 16:37:00 -07:00
dholbert@cs.stanford.edu
6578c25995 Backing out mardak's Bug 251337 checkin to fix Thunderbird & Sunbird tinderbox bustage. 2008-04-21 16:00:59 -07:00
edward.lee@engineering.uiuc.edu
3fd277d1d9 Bug 251337 - Download manager history should have "aging" option, just like the browser history. r=sdwilsh, r=mano, a1.9=damons 2008-04-21 14:48:55 -07:00
sdwilsh@shawnwilsher.com
f37c78de29 Bug 397935 - Download Manager ("Downloads") window doesn't stay open when clicking on download-complete alert notification with auto-close pref ("close when done"). r=Mardak, sr=mconnor 2008-04-02 20:05:22 -07:00
reed@reedloden.com
9bf37734db Bug 424608 - "NS_GetInnermostURI result requires a null check in download scanner" [p=jmathies@mozilla.com (Jim Mathies) r=sdwilsh a=blocking-firefox3+] 2008-04-01 01:37:01 -07:00
reed@reedloden.com
c52ef2701a Bug 425924 - "CVS remove mozilla/toolkit/components/downloads/src/old.cpp" [p=ryanvm@gmail.com (Ryan VanderMeulen) r=sdwilsh] 2008-04-01 01:30:31 -07:00
reed@reedloden.com
d603b8e6a7 Bustage fix for bug 412374 - s/DOWNLOAD_BLOCKED/DOWNLOAD_BLOCKED_PARENTAL/. 2008-03-29 00:19:59 -07:00
reed@reedloden.com
0d0d517d7f 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
edward.lee@engineering.uiuc.edu
ddc9b9a0c8 Bug 394247 - nsITransfer::Init fails (crash [@nsDownloadProxy::OnStateChange]). r=sdwilsh, b-ff3=beltzner 2008-03-27 14:00:20 -07:00
Callek@gmail.com
a76792c4d7 Followup to Bug 420230, remove extra 'case' in test. rs=gavin 2008-03-25 08:55:12 -07:00
reed@reedloden.com
01c0da3a86 Bug 420230 - "unable to save data urls to disk" [p=jmathies@mozilla.com (Jim Mathies) r=robarnold r=Mardak a1.9b5=beltzner] 2008-03-24 21:44:36 -07:00
sdwilsh@shawnwilsher.com
a950b3f8c1 Bug 423273 - Fix storage API to not break old behavior. r=shaver, sr=shaver, a=shaver 2008-03-24 15:14:38 -07:00
edward.lee@engineering.uiuc.edu
2f937985c7 Bug 416683 - binary downloads are deleted on completion when "Launch applications and unsafe files" is disabled. p=jmathies, r=Mardak, r=robarnold, sr=bsmedberg, a1.9b5=beltzner, b-ff3=beltzner 2008-03-21 17:23:45 -07:00
reed@reedloden.com
1f43e361f6 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
94a58623ed 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
edward.lee@engineering.uiuc.edu
a4ae1d4790 Bug 335418 - Pause downloads when computer is about to go to sleep. r=sdwilsh, a1.9=beltzner 2008-03-19 18:16:02 -07:00
jwalden@mit.edu
5d7f3c8860 Add a bunch of forgotten |false| parameters to setHeader calls in httpd.js server handlers; no functionality change because absence defaulted to false. No bug, test-only set of trivial changes so self-reviewing... 2008-03-18 10:42:39 -07:00
mconnor@steelgryphon.com
a2bc45835d Bug 329741 - history.dat, formhistory.dat, downloads.rdf should be deleted when the user clears private data, r=gavin 2008-03-18 05:54:23 -07:00
reed@reedloden.com
062ea6e42c Bug 399498 - "use XDG downloads dir as default downloads dir" (use XDG download dir, with a fallback to the current default if the XDG user dirs are disabled) [p=chpe@gnome.org (Christian Persch) r=sdwilsh r=bsmedberg a1.9=damons] 2008-03-12 15:40:51 -07:00
edward.lee@engineering.uiuc.edu
52662b1412 Bug 412360 - Download Manager remains empty, downloads don't start, with this 3.0b2 downloads.sqlite. r=sdwilsh, r=biesi, sr=biesi, b-ff3=beltzner 2008-03-08 17:02:06 -08:00
tellrob@gmail.com
71330113e1 Bug 418960, Download scanner threads should be lower priority r=sdwilsh 2008-02-23 14:14:56 -08:00
tellrob@gmail.com
83cb8eacc7 Bug 412565, Exception handlers for virus scanning r=sdwilsh 2008-02-22 16:59:30 -08:00
tellrob@gmail.com
4dda891155 Bug 409815, Watchdog timer for download scanner r=sdwilsh 2008-02-22 16:30:51 -08:00
edward.lee@engineering.uiuc.edu
07878d0e6d Bug 406857 - Don't clear referrer when restarting downloads. r=sdwilsh, a1.9=beltzner 2008-02-22 00:35:59 -08:00
edward.lee@engineering.uiuc.edu
af433bb629 Backing out bug 406857 to wait for red to go away. 2008-02-21 22:05:18 -08:00
edward.lee@engineering.uiuc.edu
b701a38195 Bug 406857 - Don't clear referrer when restarting downloads. r=sdwilsh, a1.9=beltzner 2008-02-21 21:32:17 -08:00
sdwilsh@shawnwilsher.com
dc61f1e6d4 Bug 409179 - Inconsistent autoresume state causes download manager instantiation to fail (can lead to crash). r=Mardak 2008-02-21 19:50:01 -08:00
roc+@cs.cmu.edu
ae7454be89 Backing out fix for bug 406857 due to win2k3 test failure 2008-02-21 18:04:14 -08:00
edward.lee@engineering.uiuc.edu
08c62d0a22 Bug 406857 - Don't clear referrer when restarting downloads. r=sdwilsh, a1.9=beltzner 2008-02-21 16:17:19 -08:00
edward.lee@engineering.uiuc.edu
5c443601e9 Bug 416303 - Show default list, clear search, focus list when hitting escape from the search box. r=sdwilsh, a1.9=beltzner 2008-02-21 12:49:56 -08:00
dougt@meer.net
b6cafba645 disable download scanner on windows mobile r=bsmedberg, a=beltzner 2008-02-20 14:42:38 -08:00
jag@tty.nl
05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
sdwilsh@shawnwilsher.com
1b3149529b Bug 416205 - Update nsDownloadManager::Init from changes to mozIStorageService::OpenDatabase. r=Mardak, a=schrep 2008-02-09 11:10:06 -08:00
sdwilsh@shawnwilsher.com
2683b199f5 Bug 402452 - Some download manager preferences should be assumed, not required. r=Mardak, r=mfinkle, a=schrep 2008-02-08 14:22:35 -08:00
reed@reedloden.com
979604b65e Bug 408153 - "Use IAttachmentExecute antivirus API when it is available" [p=VYV03354@nifty.ne.jp (Masatoshi Kimura [emk]) / jmathies@mozilla.com (Jim Mathies) r=sdwilsh r=jmathies a=blocking-firefox3+] 2008-02-08 14:18:54 -08:00
sdwilsh@shawnwilsher.com
2af7620075 Disable this test again since windows and linux do not like it 2008-01-30 11:29:37 -08:00
sdwilsh@shawnwilsher.com
8b53525bc8 Backout of test change since it's orange now (passes locally though :( ) 2008-01-30 10:48:18 -08:00
sdwilsh@shawnwilsher.com
93ac332cd3 Bug 414214 - Download Manager window doesn't stay open when browser.download.manager.closeWhenDone is true. r=Mano, a=mconnor 2008-01-30 10:15:01 -08:00
sdwilsh@shawnwilsher.com
7b7f65114f Backout of Bug 408153 2008-01-29 22:02:49 -08:00
sdwilsh@shawnwilsher.com
a70e404107 Bug 408153 - Use IAttachmentExecute antivirus API when it is available (take 2). r=sdwilsh, r=robarnold, a=beltzner, a=mconnor 2008-01-29 21:13:38 -08:00
sdwilsh@shawnwilsher.com
f55ab5a479 Bug 412204 - anti virus scanning is slow and unnecessary. r=jimm 2008-01-29 21:07:44 -08:00
sdwilsh@shawnwilsher.com
8dd73d9b67 Backout of Bug 408153 2008-01-29 16:43:51 -08:00
sdwilsh@shawnwilsher.com
3687ff4a0e Disable test for now - bug 414214 2008-01-29 16:41:17 -08:00
sdwilsh@shawnwilsher.com
95ef32d978 Bug 408153 - Use IAttachmentExecute when it is available. Patch by Masatoshi Kimura <VYV03354@nifty.ne.jp> and Jim Mathies <jmathies@mozilla.com>. r=sdwilsh, r=robarnold, a=damons 2008-01-29 15:48:04 -08:00
sdwilsh@shawnwilsher.com
09ebb88ae8 Bug 414214 - Download Manager window doesn't stay open when browser.download.manager.closeWhenDone is true. r=Mano 2008-01-29 15:43:31 -08:00
gavin@gavinsharp.com
114f13fc0e Bug 404572: don't show multiple quit dialogs if you cancel the quit on the first one, patch by Håkan Waara <hwaara@gmail.com> and Graeme McCutcheon <graememcc_firefox@graeme-online.co.uk>, r=me 2008-01-29 13:16:02 -08:00
sdwilsh@shawnwilsher.com
07cdba90e6 Bug 414161 - Quit & cancelation confirmation should not be displayed if downloads are resumable. r=Mardak, a=damons 2008-01-28 20:58:31 -08:00
sdwilsh@shawnwilsher.com
0301fa8728 Test for Bug 412844 2008-01-28 12:23:53 -08:00
edward.lee@engineering.uiuc.edu
f5319c33a3 Bug 405107 - File->Save Page As... download often reports 0 bytes as saved. r=sdwilsh, b-ff3=beltzner 2008-01-27 14:38:37 -08:00
sdwilsh@shawnwilsher.com
69fbb05161 Bug 408605 - Preference to control cross-session download behaviour. Patch by graememcc <graememcc_firefox@graeme-online.co.uk>. r=sdwilsh, a=schrep 2008-01-26 13:11:31 -08:00
sdwilsh@shawnwilsher.com
0d8181305a Bug 410289 - Do not allow the pausing of downloads that cannot actually be resumed. r=Mardak 2008-01-21 19:43:02 -08:00
reed@reedloden.com
ef57956569 Bug 412844 - "DownloadManagerUI.visible is always false" [p=victor.gubin@teamdev.com (Victor Gubin) r=sdwilsh a1.9=schrep] 2008-01-18 23:04:59 -08:00
dolske@mozilla.com
05f9aabed4 Solaris bustage fix (r=jst) for Bug 394272 - Mingw build error in nsDownloadManager.cpp 2008-01-10 01:10:21 -08:00
martijn.martijn@gmail.com
be277a0474 Bug 394272 - Mingw build error in nsDownloadManager.cpp, r=tellrob, a=mconnor 2008-01-09 04:20:18 -08:00
reed@reedloden.com
229288695c Bug 393305 - "Determine multi-scan behavior" [p=jmathies@mozilla.com (Jim Mathies) r=gavin a=blocking-firefox3+] 2008-01-08 23:38:55 -08:00
reed@reedloden.com
83ad46db2c Bug 393922 - "Remove nsIDownloadProgressListener::onStatusChange and nsIDownloadProgressListener::onLocationChange" [p=graememcc_firefox@graeme-online.co.uk (graememcc) r=sdwilsh a1.9=beltzner] 2007-12-28 19:18:22 -08:00
sdwilsh@shawnwilsher.com
a4b10289dd Bug 401582 - Download Manager stuck scanning for viruses. r=Mardak, a=beltzner 2007-12-26 17:42:05 -08:00
reed@reedloden.com
a268b620e2 Bug 403817 - "nsDownloadManager.cpp #includes nsTArray.h but doesn't use it" [p=rahul@murmuria.in (Rahul Murmuria) r=gavin a1.9=mconnor] 2007-12-11 00:54:30 -08:00
reed@reedloden.com
57b82c5324 Bug 393303 - "Create a blocked string for dirty downloads (virus scan failed)." [p=comrade693+bmo@gmail.com (Shawn Wilsher [sdwilsh]) r=gavin a=blocking-firefox3+] 2007-11-30 22:49:07 -08:00
reed@reedloden.com
2cad7fddca Back out sdwilsh's patch for bug 393303 as a last ditch effort to fix the perf regression. 2007-11-30 19:17:32 -08:00
reed@reedloden.com
a010e72f21 Bug 393303 - "Create a blocked string for dirty downloads (virus scan failed)" [p=comrade693+bmo@gmail.com (Shawn Wilsher [sdwilsh]) r=gavin a=blocking-firefox3+] 2007-11-30 12:24:10 -08:00
sdwilsh@shawnwilsher.com
af7076ecfc Bug 390491 - Add advanced search button that brings up places UI (back-end only landing). r=Mano, a=beltzner 2007-11-23 13:29:22 -08:00
bugzilla@standard8.plus.com
27ce24d28d Bug 403683 Remove some unnecessary nsISupportsArray includes from toolkit. r=gavin,a1.9=dsicore 2007-11-15 12:36:06 -08:00
sdwilsh@shawnwilsher.com
e09d7f5f08 Bug 395092 - Don't send dl-start event for download resume, (Add dl-pause and dl-resume events?). r=Mardak, a=blocking-firefox3 2007-11-12 18:50:13 -08:00
edward.lee@engineering.uiuc.edu
61c9f47139 Bug 402493 - Incorrect license boilerplate for download manager schema migration test code. rs=sdwilsh 2007-11-04 20:43:18 -08:00
gavin@gavinsharp.com
271c48ccd3 Bug 401430: download manager 'add to recent docs' functionality (Windows) isn't working, r=sdwilsh 2007-10-30 11:38:38 -07:00
gavin@gavinsharp.com
4413dc31c9 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
0245010acb 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
afb1c21f3f 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
61097aa91f Backout testcases for bug 395144 and bug 399815. a=mconnor 2007-10-24 17:07:01 -07:00
edward.lee@engineering.uiuc.edu
6ee988f811 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
947e661f00 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
11300557e4 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
c71a13ca46 Bug 395144 and bug 399815's sqlite files. 2007-10-24 15:25:09 -07:00
edward.lee@engineering.uiuc.edu
3ce4d40de7 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
6b0e3ba0e9 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
4f6a143b9b 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
1733ff22cb 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
9d47f78508 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
e20df2aa09 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
44d8dd52b5 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
8ac9961fda 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
1ff307ec28 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
e74b5c5180 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
0cb53517f0 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
c03041f262 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
be87079403 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
9374b535be 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
dad1140140 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
58c7993d4e 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
5fa5ae2c4a 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
466b531a40 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
8af99676cf 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
bba45a9aa9 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
fe009d5342 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
a148779941 Bug 394346 - Allow for named notifications with nsIAlertsService. r=mano, a=mconnor 2007-09-21 19:08:28 -07:00
reed@reedloden.com
5908660549 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
2a55159b4e 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
7a34ccf1fa 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
ca96c9ff66 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
a29c041492 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
bd0dde614f 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
93ab1748a9 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
07fe0e60c0 Revert accidental check-in 2007-09-17 11:44:40 -07:00
gavin@gavinsharp.com
e9e1f65f35 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
fa7e748a56 Bug 395207 - Download Resume doesn't actually work. r=mconnor, a=mconnor 2007-09-16 07:46:25 -07:00
dmose@mozilla.org
4c131aad4e 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
0b5f01f577 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
3afae75b20 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
1e7f30926f 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
0fa54db885 Bug 394228 - Downloading files can randomly fail. r=mano 2007-08-29 18:51:12 -07:00
gavin@gavinsharp.com
47114912e2 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
430cfa3b52 Bug 398982 - Download Manager is not friendly to embedders or extensions. r=mano 2007-08-27 17:10:25 -07:00
sdwilsh@shawnwilsher.com
7dab218cea 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
a55515dda1 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
d8e4ab425d 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
a54c72d557 Fix newlines, again 2007-08-22 13:20:32 -07:00
gavin@gavinsharp.com
fc1165906e Fix newlines 2007-08-22 12:33:09 -07:00
sdwilsh@shawnwilsher.com
30d7fb302b 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
a4ad0dd1bf 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
4e7d7cfc20 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
3cedd5720a 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
8e8b7a1e58 Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger 2007-08-13 18:12:18 -07:00
sdwilsh@shawnwilsher.com
2872977183 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
1ec170893e 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
854dcb4246 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
51693dd796 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
2629b80714 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
b0626e63bf 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
83ced735f8 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
5803ca4606 Bug 223310 use nsIObserver rather than nsIDOMWindowInternal in nsIKeygenThread. r=jgmyers sr=darin 2007-08-13 18:12:10 -07:00
bzbarsky@mit.edu
f221e050fd 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
fd1b889f6f 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
dcb6f188bb Bug 236613: change to MPL/LGPL/GPL tri-license. 2007-08-13 18:12:07 -07:00
darin@meer.net
c022c9afde 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
210ef79b2c 220111 nsIDownload should document that Init must be called r=bzbarsky sr=darin 2007-08-13 18:12:05 -07:00
bzbarsky@mit.edu
4479648310 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
89d0dc9b85 Download manager. Not part of build. a=asa 2007-08-13 18:12:03 -07:00
blakeross@telocity.com
9dfdc214af Download manager. Not part of build. a=asa 2007-08-13 18:12:02 -07:00
blakeross@telocity.com
3798bc70f7 Download manager. Not part of build. a=asa 2007-08-13 18:12:01 -07:00
blakeross@telocity.com
f1f9ae8411 Download manager. Not part of build. a=asa 2007-08-13 18:12:00 -07:00
sdwilsh@shawnwilsher.com
86ee75e0f0 Bug 391869 - pause -> cancel -> retry doesn't resume/retry download. r=cbiesinger 2007-08-12 15:15:15 -07:00
flamingice@sourmilk.net
ed197ecd00 Bug 391709, Clean up nsDownloadManager::InitDB schema checking code, r=sdwilsh 2007-08-10 16:27:18 -07:00
sdwilsh@shawnwilsher.com
82e159c154 Bug 385875 - Remove image url from being stored in the DM. r=mano 2007-07-22 10:33:14 -07:00
sdwilsh@shawnwilsher.com
069e9d5b18 Bug 385875 - Remove image url from being stored in the DM. r=mano 2007-07-22 10:24:03 -07:00
sdwilsh@shawnwilsher.com
3a7ebb4f73 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
6d7584839a 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
74aba047ce Bug 385871 - DM needs to have schema checking. r=mano 2007-07-03 14:04:54 -07:00
sdwilsh@shawnwilsher.com
61699b8e97 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
cb0ceb026d 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
5aa56f707d 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
758d5d3392 Bug 383224 - Remove XPInstall bits from the Download Manager. r=mano 2007-06-27 09:52:15 -07:00
sdwilsh@shawnwilsher.com
f0e7912123 Bug 383224 - Remove XPInstall bits from the Download Manager. r=enndeakin, r=mano 2007-06-22 16:20:00 -07:00
sdwilsh@shawnwilsher.com
16229242b5 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
c756a733d7 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
0cc451f2bd 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
ed93b369d4 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
23e35ec45f 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
828aa5b150 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
655eb4d7e7 Bug 384245 - Fix unit tests in a non-hackish way. r=mano 2007-06-14 09:49:54 -07:00
sdwilsh@shawnwilsher.com
1ba293a581 Fix windows orange (stupid file path issues) 2007-06-12 18:19:22 -07:00
sdwilsh@shawnwilsher.com
8926ad5b9a 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
075b8daeec 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
d13f6121d9 Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger 2007-06-04 17:03:35 -07:00
sdwilsh@shawnwilsher.com
bdbb08e5ac Bug 381801 - Downloads Complete alert (slider) no longer shows. r=mconnor 2007-05-31 18:39:53 -07:00
sdwilsh@shawnwilsher.com
4207a26c24 Bug 289540 - download manager takes only one listener. r=mconnor 2007-05-25 16:47:53 -07:00
sdwilsh@shawnwilsher.com
59a1e6dfe7 Bug 381535 - Jesse's downloads.rdf doesn't import to sqlite. r=mconnor 2007-05-25 10:25:51 -07:00
sdwilsh@shawnwilsher.com
ad77d74620 Bug 381784 - nsDownload::SetState should assert if the new state is the same as the old state. r=mano 2007-05-24 14:42:22 -07:00
sdwilsh@shawnwilsher.com
b89b6e762a Bug 381646 - Re-enable tests for download manager (windows orange patch). r=sayrer 2007-05-23 17:38:48 -07:00
sdwilsh@shawnwilsher.com
32aa4e72ac Bug 381646 - Re-enable tests for download manager. r=sayrer 2007-05-23 16:52:50 -07:00
sdwilsh@shawnwilsher.com
ab5fe4f49e Bug 381538 - "clean up" button remains greyed out after download completes. r=gavin.sharp 2007-05-23 16:12:03 -07:00
sayrer@gmail.com
f391a0c516 comment out dm tests until we can make them pass in opt builds 2007-05-21 21:47:50 -07:00
sayrer@gmail.com
629df8dd03 try some more tests 2007-05-21 21:23:38 -07:00
sdwilsh@shawnwilsher.com
29e5784518 Trying to figure out why this test is failing silently. Commenting out listener and observer. 2007-05-21 20:39:03 -07:00
sdwilsh@shawnwilsher.com
5567b10197 Trying to figure out why this test is failing silently. 2007-05-21 20:09:26 -07:00
sdwilsh@shawnwilsher.com
986e3e895e Trying to figure out why this test is failing silently. r=sayrer 2007-05-21 19:26:12 -07:00