| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* po/LINGUAS: Added nl for Dutch translation.
* po/ja.po: Updated.
* po/nl.po: Added Dutch translation, thanks to A. Bram Neijt.
* po/de.po: Updated German translation, thanks to Patrick
Ruckstuhl.
* Release 0.11.4
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added --no-file-allocation-limit command-line option.
Because this option's goal is to speed up simultaneous
multi-file
download for http/ftp, I decided to make BitTorrent download
ingore
this option.
* src/main.cc
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/prefs.h
* doc/aria2c.1.txt
* doc/aria2c.1
|
| |
|
|
|
|
|
|
| |
Now prealloc is the default value for --file-allocation option.
* src/main.cc
* src/aria2c.1.txt
|
| |
|
|
|
|
|
|
| |
* src/MetalinkRequestInfo.cc: When no file entry is found in a
metalink without querying user preferences, print the error message
that suggests metalink file is probably broken.
|
| |
|
|
|
|
|
|
|
| |
Do not send referer when redirected.
* src/Request.cc (redirectUrl)
* test/RequestTest.cc
* test/HttpRequestTest.cc
|
| |
|
|
|
|
|
|
| |
Fixed the bug that causes exception when reading beyond end of
file.
* src/IteratableChunkChecksumValidator.cc (validateChunk)
|
| |
|
|
|
|
|
|
|
|
| |
Fixed the bug:
aria2c always fails when downloading a file whose name contains
a
space in FTP
* src/FtpConnection.cc: URL-decode dir and path.
|
| |
|
|
|
|
| |
* test/FileTest.cc: Included fstream.
|
| |
|
|
|
|
|
| |
* src/HttpRequest.cc (createRequest):
Fixed the bug that user-agent is URL-encoded.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fixed: control file cannot be saved in the second attempt
because of
the nature of win32's rename() function.
* src/File.{h, cc} (renameTo): New function. Thanks to Ross.
* src/DefaultBtProgressInfoFile.cc: Use File::renameTo()
* src/SegmentMan.cc: Use File::renameTo()
* test/FileTest.cc (testRenameTo): Added.
|
| |
|
|
|
|
|
| |
Fixed the compilation error on 64bit platform.
* test/HttpHeaderProcessorTest.cc
|
| |
|
|
|
|
|
| |
Merged Ross's patch that fixes compilation problem in MinGW
* test/DefaultBtProgressInfoFileTest.cc
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Updated man page.
* doc/aria2c.1.txt
* Release 0.11.3
|
| |
|
|
|
|
|
| |
Updated fr.po by sebone
* po/fr.po
|
| |
|
|
|
|
|
|
| |
* src/MetalinkRequestInfo.cc (execute): Fixed BitTorrent
download
failure in Metalink.
|
| |
|
|
|
|
|
|
|
| |
Updated man page.
* doc/aria2.1.txt
* Release 0.11.3-rc
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disable parameterized URI support by default. Added -P option to
enable the feature.
* src/prefs.h: Added PREF_PARAMETERIZED_URI
* src/OptionHandlerFactory.cc
* src/main.cc: Also updated usages for -Z and
--auto-file-renaming
Updated Japanese translation.
* po/ja.po
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Automatically save *.aria2 control file of http/ftp download in
every
60 seconds.
* src/AutoSaveCommand.{h, cc}: New class.
* src/TimeBasedCommand.{h, cc}: New class.
* src/DownloadEngineFactory.cc (newConsoleEngine)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Now *.aria2 contorol file is first saved to *.aria2__temp and if
it is successful, then renamed to *.aria2.
This prevents *.aria2 file from being truncated or corrupted
when
file system becomes out of space.
* src/DefaultBtProgressInfoFile.cc (save)
* src/SegmentMan.cc (save)
* test/DefaultBtProgressInfoFileTest.cc (testSave): Implemented.
|
| |
|
|
|
|
|
|
| |
Reduced the fragmentation of bitfield in http/ftp download.
* src/BitfieldMan.cc (getSparseMissingUnusedIndex)
* test/BitfieldManTest.cc
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added the ability to disable segmented download in .metalink.
aria2 can now recognize 'maxconnections' attribute in
'resources' and
'url' tag.
* src/MetalinkEntry.{h, cc}
* src/RequestResource.{h, cc}
* src/MetalinkRequestInfo.cc
* src/Xml2MetalinkProcessor.cc
* test/Xml2MetalinkProcessorTest.cc
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added auto file renaming feature in http(s)/ftp download.
* src/main.cc: Added --auto-file-renaming command-line option.
* src/OptionHandlerFactory.cc
* src/prefs.h: Added PREF_AUTO_FILE_RENAMING
* src/RequestGroup.{h, cc}
(shouldCancelDownloadForSafety): Rewritten
(tryAutoFileRenaming): New function.
* src/SegmentMan.{h, cc} (shouldCancelDownloadForSafety):
Removed.
* src/HttpResponseCommand.cc
(executeInternal): Removed the call to RequestGroupMan::
isSameFileBeingDownloaded()
* src/FtpNegotiateCommand.cc
(recvSize): Removed the call to RequestGroupMan::
isSameFileBeingDownloaded()
* test/RequestGroupTest.cc: New class.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added parameterized URI support.
* src/main.cc: -Z option added.
* src/OptionHandlerFactory.cc
* src/prefs.h: Added PREF_FORCE_SEQUENTIAL.
* src/PStringDatum.h: New class.
* src/PStringSegment.{h,cc}: New class.
* src/PStringNumLoop.h: New class.
* src/PStringSelect.h: New class.
* src/NumberDecorator.h: New class.
* src/FixedWidthNumberDecorator.h: New class.
* src/AlphaNumberDecorator.h: New class.
* src/PStringVisitor.h: New class.
* src/PStringBuildVisitor.{h,cc}: New class.
* src/ParameterizedStringParser.{h,cc}: New class.
* src/Util.{h,cc}
(isNumber): New function.
(isLowercase): New function.
(isUppercase): New function.
(alphaToNum): New function.
* test/ParameterizedStringParserTest.cc: New class.
* test/AlphaNumberDecoratorTest.cc: New class.
* test/PStringBuildVisitorTest.cc: New class.
* test/UtilTest.cc
(testIsNumber): New function.
(testIsLowercase): New function.
(testIsUppercase): New function.
(testAlphaToNum): New function.
Added '\n' after the error message
* src/RequestInfo.h (printDownloadAbortMessage)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merged Ross's patch: Removed setmode(). Use _CRT_fmode to enable
binary
IO.
* src/DefaultBtProgressInfoFile.cc
* src/MetaFileUtil.cc
* src/SimpleLogger.cc
* src/SegmentMan.cc
* src/Util.cc
* src/Platform.cc
|
| |
|
|
|
|
|
| |
* src/Xml2MetalinkProcessor.cc (getPieceHash): Added missing
.c_str().
|
| |
|
|
|
|
|
|
|
| |
* src/SocketCore.cc
* src/HttpRequestCommand.cc
Added src/timegm,{h,c}
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid sparse files if possible, because VFAT32 doesn't support
it.
* src/DefaultDiskWriter.cc (initAndOpenFile)
Fixed the bug that prevents file allocation is not done when
dowloading multi-torrent file.
* src/AbstractDiskWriter.cc (openFile)
Increase the maximum number of -j option from 15 to 45.
* src/OptionHandlerFactory.cc (createOptionHandlers)
Added fr.po, thanks to Charles Landemaine.
* po/fr.po
* po/LINGUAS
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gcc 3.4.4 support:
* src/DefaultBtContext.cc: int32_t -> int
* src/main.cc: int -> int32_t, int32_t -> int
* src/messageDigest.h: uint32_t -> unsigned int
* src/NameResolver.h: int32_t -> int
* src/PeerConnection.cc: int -> int32_t
* src/SpeedCalc.cc: int32_t -> int
* src/TrackerUpdateCommand.h: int -> int32_t
* src/Util.cc: int32_t -> int
* src/Util.h: int32_t -> int
* src/Xml2MetalinkProcessor.cc: int -> uint32_t, int64_t ->
uint64_t
* test/AnnounceListTest.cc: int -> int32_t
* test/ChunkedEncodingTest.cc: int -> int32_t
* test/DataTest.cc: int -> int32_t
* test/DefaultBtRequestFactoryTest.cc: int -> int32_t
* test/DefaultPeerListProcessorTest.cc: int -> int32_t
* test/DefaultPieceStorageTest.cc: int -> int32_t
* test/FeatureConfigTest.cc: int -> int32_t
* test/MetalinkEntryTest.cc: int -> int32_t
* test/MockBtRequestFactory.h: int -> int32_t
* test/MockPieceStorage.h: int -> int32_t
* test/OptionTest.cc: int -> int32_t
* test/RequestTest.cc: int -> int32_t
* test/SegmentManTest.cc: int -> int32_t
* test/Xml2MetalinkProcessorTest.cc: int -> int32_t
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move sleep functions to Util class:
* src/Util.cc
(sleep): New function.
(usleep): New function.
* src/DownloadCommand.cc: sleep -> Util::sleep
* test/TimeSeedCriteriaTest.cc: sleep -> Util::sleep
MinGW build enhancements. The following files are added:
* src/timegm.{c,h}
Changes to support the above new files:
* configure.ac
* src/Makefile.am
* src/a2time.h
* src/Util.cc:
* src/strptime.c: Added support for %Z option.
Miscellenous build fixes/enhancements.
* configure.ac: Added summary report.
* src/Platform.h: Tweaked #include's.
* src/a2netcompat.h: Tweaked #include's.
* src/strptime.h: Tweaked #include's.
* src/gai_strerror.c: Tweaked #include's.
* src/gai_strerror.h: _D_GETADDRINFO_H -> _D_GAI_STRERROR_H
* src/getaddrinfo.h: Moved #ifndef __MINGW32__
* src/gettimeofday.h: Added HAVE_CONFIG_H
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Updated man page
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Increased the initial connection size in BitTorrent download to
40.
* src/BtRuntime.h
Added the usage message of --peer-id-prefix option.
* src/main.cc
|
| | |
|
| |
|
|
|
|
|
| |
'-o foo.metalink' is specified.
* src/MetalinkRequestInfo.cc
|
| |
|
|
|
|
|
|
|
| |
* src/a2netcompat.h
* src/main.cc
Updated man page
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MessageDigestHelper is introduced in order to simplify the use
of message digest. Removed repeated code.
The message digest algorithm is now specified by string, like
"sha1",
"md5".
* src/messageDigest.{h, cc}
* src/MessageDigestHelper.{h, cc}: New class.
* src/DefaultPieceStorage.cc
* src/DefaultBtContext.{h, cc}
(computeFastSet): New function.
(setInfoHash): Added for unit testing.
(setNumPieces): Added for unit testing.
* src/DefaultBtInteractive.cc
* src/BtPieceMessage.cc
* src/Peer.cc
* src/Checksum.h
* src/message.h
* src/IteratableChecksumValidator.h
* src/ChunkChecksumValidator.{h, cc}: Use
IteratableChecksumValidator
inside it.
* src/SegmentMan.{h, cc}
(checkIntegrity): Removed.
* src/IteratableChunkChecksumValidator.{h, cc}
* src/Util.h
(sha1Sum): Removed.
(simpleMessageDigest): Removed.
(fileChecksum): Removed.
(computeFastSet): Removed.
* src/ShaVisitor.cc
* src/ChunkChecksum.h
* src/DownloadCommand.cc
Removed messageDigest virtual functions.
* src/MultiDiskAdaptor.{h, cc}
* src/DiskAdaptor.h
* src/ByteArrayDiskWriter.h
* src/DiskWriter.h
* src/DiskAdaptorWriter.h
* src/AbstractSingleDiskAdaptor.{h, cc}
* src/AbstractDiskWriter.{h, cc}
Fixed comilation error when message digest is disabled.
* src/MetalinkEntry.{h, cc}
* src/MetalinkRequestInfo.cc
Removed srandom and random.
* src/SimpleRandomizer.h
Added size() virtual function to DiskAdaptor
* src/MultiDiskAdaptor.h
Fixed the bug that causes that files are not opened correctly in
multi-file torrent.
* src/TorrentRequestInfo.cc
* src/MultiDiskAdaptor.cc
Added SHA256 support
* src/messageDigest.cc
* src/Xml2MetalinkProcessor.cc
Show supported message digest algorithms
* src/main.cc
Updated contact info.
* src/main.cc
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Updated contact info.
* src/main.cc
|
| |
|
|
|
|
|
|
|
|
|
| |
Merged Dan's patch:
* src/ByteArrayDiskWriter.cc: ios_base -> ios
Use va_copy to avoid core dump on amd64:
* src/SimpleLogger.cc
|