summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/service/download/HttpDownloader.java
AgeCommit message (Collapse)Author
2013-08-28Updated unit testsdaniel oeh
2013-08-19Reduced number of FindBugs warningsdaniel oeh
2013-08-17Merge branch 'findbugs' of git://github.com/andrewgaul/AntennaPod into ↵daniel oeh
andrewgaul-findbugs Conflicts: src/de/danoeh/antennapod/activity/DownloadActivity.java src/de/danoeh/antennapod/asynctask/OpmlExportWorker.java src/de/danoeh/antennapod/feed/Feed.java src/de/danoeh/antennapod/feed/FeedItem.java src/de/danoeh/antennapod/feed/FeedMedia.java src/de/danoeh/antennapod/service/download/DownloadStatus.java src/de/danoeh/antennapod/storage/DownloadRequester.java src/de/danoeh/antennapod/storage/PodDBAdapter.java
2013-08-17Merge branch 'http-downloader-check-size' of ↵daniel oeh
git://github.com/andrewgaul/AntennaPod into andrewgaul-http-downloader-check-size Conflicts: src/de/danoeh/antennapod/service/download/HttpDownloader.java
2013-08-05Merge branch 'develop' into feedmanager_removaldaniel oeh
Conflicts: src/de/danoeh/antennapod/activity/PreferenceActivity.java src/de/danoeh/antennapod/feed/FeedManager.java src/de/danoeh/antennapod/service/PlaybackService.java src/de/danoeh/antennapod/service/download/DownloadService.java src/de/danoeh/antennapod/service/download/DownloadStatus.java src/de/danoeh/antennapod/service/download/HttpDownloader.java src/de/danoeh/antennapod/storage/DownloadRequester.java src/de/danoeh/antennapod/storage/PodDBAdapter.java src/de/danoeh/antennapod/util/playback/PlaybackController.java
2013-08-03Improved DownloadService, several bugfixesdaniel oeh
- DownloadService should now terminate properly as soon as all downloads have been completed. - Notification bug ("0 downloads left" notification) should be fixed
2013-07-14Check file size after downloadAndrew Gaul
This commit may address symptoms seen in #187 and #197 where AntennaPod did not flag incomplete downloads as failed.
2013-07-14Address FindBugs warningsAndrew Gaul
This commit fixes 36 of the 109 warnings.
2013-07-07Merge branch 'buffered-output-stream-flush' of ↵daniel oeh
git://github.com/andrewgaul/AntennaPod into andrewgaul-buffered-output-stream-flush # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit. # # It looks like you may be committing a merge. # If this is not correct, please remove the file # .git/MERGE_HEAD # and try again. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch andrewgaul-buffered-output-stream-flush # All conflicts fixed but you are still merging. # (use "git commit" to conclude merge) # # Changes to be committed: # # modified: src/de/danoeh/antennapod/service/download/HttpDownloader.java # modified: tests/src/de/danoeh/antennapod/test/FeedHandlerTest.java # # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # (commit or discard the untracked or modified content in submodules) # # modified: submodules/ActionBarSherlock (modified content, untracked content) # modified: submodules/ViewPagerIndicator (modified content, untracked content) # modified: submodules/dslv (modified content, untracked content) #
2013-07-07Set 'reason' attribute when download was successful.daniel oeh
2013-06-30Flush BufferedOutputStream correctlyAndrew Gaul
This ensures that IOException due to writes are thrown in the main code path instead of the exceptional code path. Specifically for HttpDownloader this ensures that IOUtils.closeQuietly does not swallow a failed write.
2013-06-29Promote DownloadError to enum for type-safetyAndrew Gaul
2013-05-19Split DownloadStatus into two separate classesdaniel oeh
DownloadStatus is now used only for finished downloads, whereas DownloadRequest is used for running/unfinished downloads
2013-03-16Added support for episode imagesdaniel oeh
2013-03-11Shutdown connection manager after downloaddaniel oeh
2013-03-10fix regression (issue #96): fix broken URLs in redirection instead of failingPaul Ortyl
2013-02-22Delete file if download fails or is cancelleddaniel oeh
2013-01-13Increased socket and connection timeout of HTTP downloaderdaniel oeh
2013-01-13Added support for gzip-encoded downloads. Closes #89.daniel oeh
2012-12-31removed unused codedaniel oeh
2012-12-31Use AndroidHttpClient instead of HttpURLConnectiondaniel oeh
2012-12-30Updated storage availability checkdaniel oeh
2012-12-16Created unit test for testing the HttpDownloaderdaniel oeh
2012-12-16Use DownloaderCallback instead of DownloadService referencedaniel oeh
2012-12-16Follow 307 redirectsdaniel oeh
2012-11-25Obey redirects in HTTP downloadsChristian Ludwig
If an HTTP request returns an error code 301 or 302, follow redirects to the new location.
2012-10-23Set download status message to 'pending' while it's not beingdaniel oeh
downloaded.
2012-09-26Check if response code is HTTP_OK before downloadingdaniel oeh
2012-09-24Download failure wasn't reported on some devicesdaniel oeh
2012-09-22Added support for 'Unknown Host' error messagedaniel oeh
2012-09-21Excluded cancelled downloads from the download service report and thedaniel oeh
download log
2012-09-20Added 'title' and 'reasonDetailed' attributes to DownloadStatusdaniel oeh
2012-09-14Hide download progress in percent if download size is unknowndaniel oeh
2012-08-25Fixed bug in calculation of free spacedaniel oeh
2012-08-21Downloads weren't cancelled properlydaniel oeh
2012-08-17HttpDownloader now checks if enough storage is availabledaniel oeh
2012-08-17Set connection timeout to 5 secondsdaniel oeh
2012-08-17Download should now workdaniel oeh
2012-08-16Implemented HttpDownloaderdaniel oeh