Tatsuhiro Tsujikawa
947967fc63
Renamed DownloadErrorCode.h as error_code.h. Renamed
...
downloaderrorcode::Value as error_code::Value.
2010-11-28 16:52:02 +09:00
Tatsuhiro Tsujikawa
13e3cf2573
Updated doc.
2010-11-28 01:58:15 +09:00
Tatsuhiro Tsujikawa
98a7f3a378
Updated doc.
2010-11-28 01:14:13 +09:00
Tatsuhiro Tsujikawa
c4e853ed15
Removed auto generated files in po.
2010-11-28 00:47:53 +09:00
Tatsuhiro Tsujikawa
e2122d82c9
Added empty ChangeLog.
...
Without ChangeLog, autoreconf complains.
2010-11-28 00:38:58 +09:00
Tatsuhiro Tsujikawa
68726e0838
Moved ChangeLog to ChangeLog.old and added notice that we no longer
...
update this fie.
2010-11-28 00:23:20 +09:00
Tatsuhiro Tsujikawa
f4e008f886
Moved include of gettext.h to the outside of #ifdef ENABLE_NLS since
...
gettext.h has it inside itself.
2010-11-28 00:05:56 +09:00
Tatsuhiro Tsujikawa
ce41bbbb2e
Removed intl
2010-11-27 23:50:10 +09:00
Tatsuhiro Tsujikawa
5aae203d32
Removed config.h.in
2010-11-27 23:35:46 +09:00
Tatsuhiro Tsujikawa
e39dd96171
Removed autogenerated files by automake/autoconf.
...
To generate these files, run 'autoreconf -i'.
Since libgnutls.m4 is no longer distributed, we removed
AM_PATH_LIBGNUTLS from configure.ac.
2010-11-27 23:31:17 +09:00
Tatsuhiro Tsujikawa
ec95a9d424
Added README because automake requires it. Added README.asciidoc to
...
Makefile.am.
2010-11-27 22:55:14 +09:00
Tatsuhiro Tsujikawa
c6c3ee4daa
Updated doc
2010-11-27 21:59:38 +09:00
Tatsuhiro Tsujikawa
200f1079b0
Updated according to the name change of README.asciidoc.
2010-11-27 21:41:17 +09:00
Tatsuhiro Tsujikawa
44eb350642
Renamed README as README.asciidoc to be rendered as formatted text at
...
Github page.
2010-11-27 21:38:06 +09:00
Tatsuhiro Tsujikawa
ba026adb5e
2010-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
For MINGW32 build, percent-encode non-ASCII characters in
filename.
* src/util.cc
2010-11-26 13:07:28 +00:00
Tatsuhiro Tsujikawa
721f53ea97
2010-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Include last '/' to directory name to create. This will avoid to
create directory 'C:' in Windows.
* src/File.cc
2010-11-26 12:34:02 +00:00
Tatsuhiro Tsujikawa
0455cde2a8
2010-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused FileEntry::setupDir()
* src/FileEntry.cc
* src/FileEntry.h
* test/FileEntryTest.cc
2010-11-25 12:42:07 +00:00
Tatsuhiro Tsujikawa
94c4a71d63
2010-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed MultiDiskAdaptor::mkdir() because directory structure is
created at AbstractDiskWriter::createFile().
* src/MultiDiskAdaptor.cc
* src/MultiDiskAdaptor.h
2010-11-25 12:38:57 +00:00
Tatsuhiro Tsujikawa
63c84509b9
2010-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed unittest error
* test/OptionHandlerTest.cc
2010-11-25 12:14:17 +00:00
Tatsuhiro Tsujikawa
ea49e9c297
2010-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made strings which are only used in comparison plain C strings.
* src/HttpHeader.cc
* src/HttpHeader.h
* src/Netrc.cc
* src/Netrc.h
* test/HttpHeaderTest.cc
2010-11-25 12:13:33 +00:00
Tatsuhiro Tsujikawa
3a897a4f32
2010-11-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added white space after ',' when enumerating valid parameters.
* src/OptionHandlerImpl.cc
2010-11-24 11:42:08 +00:00
Tatsuhiro Tsujikawa
06cd151c4b
2010-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Cleaned up Possible Values in usage help. More than 2 values are
delimited by ", ".
* src/NameMatchOptionHandler.h
* src/OptionHandler.cc
* src/OptionHandler.h
* src/OptionHandlerFactory.cc
* src/OptionHandlerImpl.cc
* test/OptionHandlerTest.cc
2010-11-23 14:47:58 +00:00
Tatsuhiro Tsujikawa
b8055f259b
2010-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made --allow-overwrite, --allow-piece-length-change,
--realtime-chunk-checksum and --bt-require-crypto take optional
argument. Fixed usage doc for --metalink-enable-unique-protocol.
* doc/aria2c.1.txt
* src/OptionHandlerFactory.cc
* src/usage_text.h
2010-11-23 14:11:45 +00:00
Tatsuhiro Tsujikawa
b2fbe2c896
2010-11-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made --continue, --daemon, --no-conf, --no-netrc and --show-files
option take optional argument.
* doc/aria2c.1.txt
* src/OptionHandlerFactory.cc
* src/usage_text.h
2010-11-23 13:59:03 +00:00
Tatsuhiro Tsujikawa
752234ae66
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added BtSeederStateChoke::PeerEntry::swap(). Also added
non-member swap for it, which is friend function for
BtSeederStateChoke because PeerEntry is private.
* src/BtSeederStateChoke.cc
* src/BtSeederStateChoke.h
2010-11-20 15:01:24 +00:00
Tatsuhiro Tsujikawa
8f46dbc0ab
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added BtLeecherStateChoke::PeerEntry::swap(). Also added
non-member swap for it, which is friend function for
BtLeecherStateChoke because PeerEntry is private.
* src/BtLeecherStateChoke.cc
* src/BtLeecherStateChoke.h
2010-11-20 14:52:52 +00:00
Tatsuhiro Tsujikawa
4ed364d772
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added CookieStorage::DomainEntry::swap(). Also added non-member
swap for it.
* src/CookieStorage.cc
* src/CookieStorage.h
2010-11-20 14:05:58 +00:00
Tatsuhiro Tsujikawa
c552842505
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made LogFactory::logger_ as SharedHandle<Logger> to make dtor of
Logger called at the program exit. Rewritten A2_LOG_* macro and
moved them to LogFactory.h
* src/LogFactory.cc
* src/LogFactory.h
* src/Logger.cc
* src/Logger.h
2010-11-20 12:33:12 +00:00
Tatsuhiro Tsujikawa
9a67929d8c
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Renamed cuid as cuid_t in DefaultBtMessageDispatcher.
* src/DefaultBtMessageDispatcher.cc
* src/DefaultBtMessageDispatcher.h
2010-11-20 12:14:23 +00:00
Tatsuhiro Tsujikawa
03417e94b4
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use format specifier %lld for cuid_t. Defined cuid_t as long long
int instead of int64_t, since g++ complains int64_t is not
suitable for %lld.
2010-11-20 12:12:06 +00:00
Tatsuhiro Tsujikawa
694fb307aa
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Replaced StringFormat with fmt
2010-11-20 09:36:14 +00:00
Tatsuhiro Tsujikawa
580098eb49
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Rewritten Logger interface. Logger now writes source file name and
line number in log file.
2010-11-20 08:21:36 +00:00
Tatsuhiro Tsujikawa
3940da7562
2010-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Made DHTBucketTreeNode non-copyable.
* src/DHTBucketTree.h
2010-11-18 12:13:59 +00:00
Tatsuhiro Tsujikawa
698876e2eb
2010-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Enter 'end game' mode from the beginning when getting torrent
metadata for quick data retrieval.
* src/HandshakeExtensionMessage.cc
2010-11-18 12:10:15 +00:00
Tatsuhiro Tsujikawa
1eef862cc3
2010-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Replaced BNode with DHTBucketTreeNode which is 2 times efficient.
* src/BNode.cc: Removed
* src/BNode.h: Removed
* src/DHTBucketTree.cc
* src/DHTBucketTree.h
* src/DHTRoutingTable.cc
* src/DHTRoutingTable.h
* src/Makefile.am
* test/BNodeTest.cc: Removed
* test/DHTBucketTreeTest.cc
* test/Makefile.am
2010-11-17 15:42:23 +00:00
Tatsuhiro Tsujikawa
8a1578d741
2010-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added non-member swap() for SharedHandle.
* src/SharedHandle.h
2010-11-15 13:45:13 +00:00
Tatsuhiro Tsujikawa
d8d159ccd8
2010-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Replaced HttpHeader::responseStatus_ with HttpHeader::statusCode_.
statusCode_ is of type int.
* src/AbstractProxyResponseCommand.cc
* src/FtpNegotiationCommand.cc
* src/HttpHeader.cc
* src/HttpHeader.h
* src/HttpHeaderProcessor.cc
* src/HttpResponse.cc
* src/HttpResponse.h
* src/HttpResponseCommand.cc
* src/HttpSkipResponseCommand.cc
* src/util.cc
* src/util.h
* test/HttpHeaderProcessorTest.cc
* test/HttpHeaderTest.cc
* test/HttpResponseTest.cc
* test/UtilTest.cc
2010-11-15 12:52:03 +00:00
Tatsuhiro Tsujikawa
6a1fe66975
2010-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use SharedHandle::swap() in some places.
* src/RequestGroup.cc
2010-11-15 12:02:54 +00:00
Tatsuhiro Tsujikawa
de8598b63a
2010-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added SharedHandle::swap
* src/SharedHandle.h
2010-11-15 12:02:10 +00:00
Tatsuhiro Tsujikawa
e16844cc8f
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use --max-connection-per-server option value for Metalink.
* src/Metalink2RequestGroup.cc
2010-11-14 08:36:41 +00:00
Tatsuhiro Tsujikawa
ba540085a6
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error on opensolaris
* src/util.cc
2010-11-14 08:19:53 +00:00
Tatsuhiro Tsujikawa
af33f67fee
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Don't catch Exception.
* src/RealtimeCommand.cc
2010-11-14 08:13:59 +00:00
Tatsuhiro Tsujikawa
1d77c67f1b
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed unused includes.
2010-11-14 08:12:38 +00:00
Tatsuhiro Tsujikawa
1372ac51ad
2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added .cc file for classes/structs that only provided by header
file. Defined non-POD classes' ctor, dtor in .cc file. Moved
implementation code in header file to .cc file for major
classes/strucsts.
2010-11-14 07:17:55 +00:00
Tatsuhiro Tsujikawa
93e5dbed32
2010-11-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed SharedHandle::isNull(). Instead we added operator* and
operator unspecified_bool_type. Removed use of WeakHandle and
replaced with raw pointer.
2010-11-12 12:48:48 +00:00
Tatsuhiro Tsujikawa
f6f5a7e5ee
2010-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed memory leak
* src/ExpatMetalinkProcessor.cc
2010-11-11 13:38:34 +00:00
Tatsuhiro Tsujikawa
bc98e39fe5
2010-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
To match the behavior of friend operator functions in
SharedHandle.h to std::tr1::shared_ptr, we intentionally broke
these functions and modified code so that our code does not depend
on old behavior.
* src/AbstractCommand.cc
* src/DHTAbstractNodeLookupTask.h
* src/DHTBucket.cc
* src/DHTMessageReceiver.cc
* src/DHTNodeLookupEntry.cc
* src/DHTRoutingTable.cc
* src/DefaultBtRequestFactory.cc
* src/DefaultPeerStorage.cc
* src/DefaultPieceStorage.cc
* src/DownloadContext.cc
* src/EpollEventPoll.cc
* src/Event.h
* src/HttpConnection.cc
* src/KqueueEventPoll.cc
* src/MultiDiskAdaptor.cc
* src/PeerAbstractCommand.cc
* src/PieceStatMan.cc
* src/PollEventPoll.cc
* src/PortEventPoll.cc
* src/SegmentMan.cc
* src/SelectEventPoll.cc
* src/SelectEventPoll.h
* src/ServerStatMan.cc
* src/SharedHandle.h
* src/UnknownLengthPieceStorage.cc
* src/a2functional.h
* src/option_processing.cc
* src/version_usage.cc
* test/BNodeTest.cc
* test/DHTAnnouncePeerMessageTest.cc
* test/DHTBucketTest.cc
* test/DHTFindNodeMessageTest.cc
* test/DHTGetPeersMessageTest.cc
* test/DHTIDCloserTest.cc
* test/DHTMessageFactoryImplTest.cc
* test/DHTPingMessageTest.cc
* test/DefaultBtRequestFactoryTest.cc
* test/DefaultPeerStorageTest.cc
* test/SequentialPickerTest.cc
* test/SingletonHolderTest.cc
2010-11-11 07:33:43 +00:00
Tatsuhiro Tsujikawa
bcf4593bda
2010-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Create SharedHandle outside of function call to avoid unexpected
memory leak.
* src/AnnounceList.cc
* src/FtpNegotiationCommand.cc
* src/HttpResponseCommand.cc
* src/RequestGroup.cc
* src/RequestGroupMan.cc
* src/UTMetadataPostDownloadHandler.cc
* src/download_helper.cc
2010-11-11 05:12:37 +00:00
Tatsuhiro Tsujikawa
e728385bc9
2010-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated supported hash functions.
* README
2010-11-11 03:25:26 +00:00
Tatsuhiro Tsujikawa
1946b3341f
2010-11-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added sha-224, sha-384, sha-512 hash function support.
* m4/openssl.m4
* src/MessageDigest.cc
* src/LibgcryptMessageDigestImpl.cc
* src/LibsslMessageDigestImpl.cc
2010-11-11 03:23:08 +00:00