Tatsuhiro Tsujikawa
a53ee58746
2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Print warning when trying to add file descriptor >= FD_SET or < 0
to fd_set for other than MinGW32 build. For MinGW32 build, print
warning when trying to add file descriptor to fd_set when it
already contains FD_SET file descriptors.
* src/SelectEventPoll.cc
* src/SocketCore.cc
2010-04-25 13:49:31 +00:00
Tatsuhiro Tsujikawa
fabe7d98d4
2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated doc for --event-poll option.
* doc/aria2c.1.txt
2010-04-25 10:25:05 +00:00
Tatsuhiro Tsujikawa
2480b0efcc
2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.9.2
* configure.ac
* doc/aria2c.1.txt
2010-04-25 10:15:00 +00:00
Tatsuhiro Tsujikawa
abc4abc914
2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Defined FD_SETSIZE 1024 for MinGW32.
* src/a2netcompat.h
2010-04-25 10:13:00 +00:00
Tatsuhiro Tsujikawa
6f6fc38205
2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error on the system which lacks poll()
* src/DownloadEngineFactory.cc
2010-04-25 10:12:33 +00:00
Tatsuhiro Tsujikawa
5635190927
2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
In SocketCore::isReadable()/isWritable(), use poll() if it is
available otherwise use select(). Removed epoll/port from there
because poll() does the good enough job for single socket event
notification.
* src/SocketCore.cc
* src/SocketCore.h
* src/main.cc
2010-04-24 14:08:10 +00:00
Tatsuhiro Tsujikawa
5d636df361
2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added kqueue support. We use poll() for
SocketCore::isReadable()/isWritable() when kqueue is used.
* configure.ac
* src/DownloadEngineFactory.cc
* src/KqueueEventPoll.cc
* src/KqueueEventPoll.h
* src/Makefile.am
* src/Makefile.in
* src/OptionHandlerFactory.cc
* src/main.cc
* src/prefs.cc
* src/prefs.h
2010-04-24 13:07:35 +00:00
Tatsuhiro Tsujikawa
571759fc27
2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing timespec.h to SRCS
* src/Makefile.am
2010-04-23 14:48:03 +00:00
Tatsuhiro Tsujikawa
86a4b5d15c
2010-04-23 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that aria2.unpause fails with -s1.
* src/FileEntry.cc
* src/XmlRpcMethodImpl.cc
2010-04-23 14:43:56 +00:00
Tatsuhiro Tsujikawa
2082a3b8df
2010-04-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing #ifdef HAVE_PORT_ASSOCIATE
* src/DownloadEngineFactory.cc
2010-04-21 15:54:39 +00:00
Tatsuhiro Tsujikawa
9cf05b7115
2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added opensolaris port_associate() support.
* src/DownloadEngineFactory.cc
* src/Makefile.am
* src/OptionHandlerFactory.cc
* src/PortEventPoll.cc
* src/PortEventPoll.h
* src/SocketCore.cc
* src/SocketCore.h
* src/configure.ac
* src/main.cc
* src/prefs.cc
* src/prefs.h
2010-04-21 14:31:44 +00:00
Tatsuhiro Tsujikawa
c1047561b6
2010-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that _e is passed where e should be passed.
* src/HttpListenCommand.cc
2010-04-21 13:59:15 +00:00
Tatsuhiro Tsujikawa
ced238d098
2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Increased _epEvents size if necessary.
* src/EpollEventPoll.cc
* src/EpollEventPoll.h
2010-04-20 13:54:23 +00:00
Tatsuhiro Tsujikawa
1d652cd0ad
2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed EventRType template parameter
* src/EpollEventPoll.cc
* src/EpollEventPoll.h
* src/Event.h
* src/PollEventPoll.cc
* src/PollEventPoll.h
2010-04-20 13:19:36 +00:00
Tatsuhiro Tsujikawa
3b8c54108c
2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use Event in EpollEventPoll
* src/EpollEventPoll.cc
* src/EpollEventPoll.h
2010-04-20 13:15:29 +00:00
Tatsuhiro Tsujikawa
e9ef6f3af9
2010-04-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Externalized Event, CommandEvent, ADNSEvent, SocketEntry and
AsyncNameResolverEntry class.
* src/Event.h
* src/Makefile.am
* src/PollEventPoll.cc
* src/PollEventPoll.h
2010-04-19 15:04:38 +00:00
Tatsuhiro Tsujikawa
0ec50a8d50
2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Supported poll() for socket event notification. --event-poll can
take value "poll". Fixed the bug that timeout for
SocketCore::isReadable()/isWritable() is ignored when epoll is
used.
* src/OptionHandlerFactory.cc
* src/a2io.h
* src/prefs.h
* src/SocketCore.h
* src/Makefile.am
* src/main.cc
* src/PollEventPoll.h
* src/SocketCore.cc
* src/DownloadEngineFactory.cc
* src/PollEventPoll.cc
* src/prefs.cc
* configure.ac
2010-04-19 12:53:58 +00:00
Tatsuhiro Tsujikawa
756592bf4d
2010-04-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Reverted previous change to DownloadCommand.cc with additional
commentary.
* src/DownloadCommand.cc
2010-04-19 12:47:50 +00:00
Tatsuhiro Tsujikawa
5b5a3be7e2
2010-04-16 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error with openssl 1.1.0 and mingw32.
* src/AsyncNameResolver.cc
* src/LogFactory.cc
* src/Logger.cc
* src/Logger.h
* src/SocketCore.cc
* src/SocketCore.h
* src/a2netcompat.h
2010-04-16 09:25:59 +00:00
Tatsuhiro Tsujikawa
2302c623e6
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Release 1.9.1
2010-04-14 14:56:52 +00:00
Tatsuhiro Tsujikawa
6dc028565c
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Bump up version number to 1.9.0
* doc/aria2c.1.txt
2010-04-14 14:56:12 +00:00
Tatsuhiro Tsujikawa
48088174b4
Updated for new release.
2010-04-14 14:14:19 +00:00
Tatsuhiro Tsujikawa
21977d3bc8
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated Ukrainian, Russian, Simplified Chinese, German and Greek
translation. Thanks to all translators.
* po/de.po
* po/el.po
* po/ru.po
* po/uk.po
* po/zh_CN.po
2010-04-14 14:13:57 +00:00
Tatsuhiro Tsujikawa
fb9590d176
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added AC_SEARCH_LIBS for inet_aton on opensolaris. opensolaris
needs -lnsl for inet_aton.
* configure.ac
2010-04-14 13:59:10 +00:00
Tatsuhiro Tsujikawa
be1b278187
Updated for new release
2010-04-14 13:02:29 +00:00
Tatsuhiro Tsujikawa
4c79c1d6be
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Updated po templates.
* po/aria2.pot
2010-04-14 12:58:39 +00:00
Tatsuhiro Tsujikawa
a8f57aa85f
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added aria2.pause, aria2.forcePause, aria2.pauseAll,
aria2.forcePauseAll, aria2.unpause, aria2.unpauseAll XML-RPC
method to aria2rpc
* doc/xmlrpc/aria2rpc
2010-04-14 12:55:26 +00:00
Tatsuhiro Tsujikawa
a71148b702
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use elapsed time between two mach_absolute_time() calls.
Fixed compile error in Mac OS X.
* src/clock_gettime_osx.cc
* src/timespec.h
2010-04-13 16:53:38 +00:00
Tatsuhiro Tsujikawa
91e7127396
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Implemented clock_gettime() using mach_absolute_time in Mac OS X.
* configure.ac
* src/Makefile.am
* src/a2time.h
* src/clock_gettime_osx.cc
* src/clock_gettime_osx.h
2010-04-13 16:06:59 +00:00
Tatsuhiro Tsujikawa
7e22cc38bb
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Implemented clock_gettime() using timeGetTime in mingw.
* configure.ac
* src/Makefile.am
* src/a2time.h
* src/clock_gettime_mingw.cc
* src/clock_gettime_mingw.h
* src/timespec.h
* test/Makefile.am
2010-04-13 15:36:56 +00:00
Tatsuhiro Tsujikawa
aa08af9928
2010-04-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Ensure that std::ofstream is destroyed before renaming.
* src/SessionSerializer.cc
* src/util.cc
2010-04-13 15:23:31 +00:00
Tatsuhiro Tsujikawa
c415eb081e
2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that user specified path is escaped using
util::escapePath() where it should not.
* src/DownloadContext.cc
* src/DownloadContext.h
2010-04-13 12:51:52 +00:00
Tatsuhiro Tsujikawa
1f02b65460
2010-04-13 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Hold reference to PieceStorage when paused in order to provide
progress information via XML-RPC.
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
2010-04-13 12:39:09 +00:00
Tatsuhiro Tsujikawa
a605048900
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Defined struct timespec if it is not available.
* src/a2time.h
2010-04-12 15:59:42 +00:00
Tatsuhiro Tsujikawa
5feb750f22
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added missing serialize_session.meta4 to EXTRA_DIST
* test/Makefile.am
2010-04-12 14:50:30 +00:00
Tatsuhiro Tsujikawa
8d272f5d19
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error without BitTorrent support.
* src/Metalink2RequestGroup.cc
2010-04-12 14:41:56 +00:00
Tatsuhiro Tsujikawa
6a0c23b44d
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error on Mac OS X
* src/TimerA2.h
2010-04-12 14:33:26 +00:00
Tatsuhiro Tsujikawa
473d1ff6b5
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added warning for the system which lacks clock_gettime with
CLOCK_MONOTONIC.
* src/MultiUrlRequestInfo.cc
* src/TimerA2.cc
* src/TimerA2.h
2010-04-12 13:05:41 +00:00
Tatsuhiro Tsujikawa
b2c03934a8
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Removed redundant method call for DownloadEngine.
* src/DownloadCommand.cc
2010-04-12 12:57:54 +00:00
Tatsuhiro Tsujikawa
70664af0ad
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that hash check hangs when aria2.pause is issued
while aria2 is checking piece hashes. Fixed the bug that the
download is paused after file allocation completion even if
aria2.pause is issued during file allocation.
* src/CheckIntegrityCommand.cc
* src/FileAllocationCommand.cc
2010-04-11 16:17:16 +00:00
Tatsuhiro Tsujikawa
6e9a25798c
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added nsl to search-libs for getaddrinfo on opensolaris
* configure.ac
2010-04-11 15:57:45 +00:00
Tatsuhiro Tsujikawa
f2697552ae
2010-04-12 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed compile error on opensolaris
* configure.ac
* src/Logger.h
* src/GZipEncoder.h
2010-04-11 15:44:37 +00:00
Tatsuhiro Tsujikawa
15bb26cac8
2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added aria2.pauseAll, aria2.forcePauseAll and aria2.unpauseAll
XML-RPC method.
* doc/aria2c.1.txt
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* test/XmlRpcMethodTest.cc
2010-04-11 14:46:07 +00:00
Tatsuhiro Tsujikawa
2e6a517aaa
2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added aria2.forcePause XML-RPC command.
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
2010-04-11 09:39:46 +00:00
Tatsuhiro Tsujikawa
f02e08629e
2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use global::wallclock
* src/DHTBucket.cc
* src/DHTMessageTrackerEntry.cc
* src/DHTMessageTrackerEntry.h
* src/DefaultBtInteractive.cc
* src/Peer.cc
* src/PeerAbstractCommand.cc
* src/PeerStat.h
* src/RequestSlot.h
* src/TimeBasedCommand.cc
2010-04-11 08:57:16 +00:00
Tatsuhiro Tsujikawa
0529e78187
2010-04-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Use clock_gettime(CLOCK_MONOTONIC, ...) if it is available and
usable to prevent from aria2 from being affected by system time
change.
2010-04-11 08:28:22 +00:00
Tatsuhiro Tsujikawa
bf0cf1f5d9
2010-04-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added aria2.pause and aria2.unpause XML-RPC method. aria2.pause
pauses the download denoted by gid. gid is of type string. The
status of paused download becomes "paused" and the download is
placed on the first position of waiting queue. As long as the
status is "paused", the download is not started. To change status
to "waiting", use aria2.unpause method. This method returns GID of
paused download. aria2.unpause changes the status of the download
denoted by gid from "paused" to "waiting". This makes the download
eligible to restart. gid is of type string. This method returns
GID of unpaused download.
* doc/aria2c.1.txt
* src/DownloadContext.cc
* src/FileEntry.cc
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/RequestGroupMan.cc
* src/XmlRpcMethodFactory.cc
* src/XmlRpcMethodImpl.cc
* src/XmlRpcMethodImpl.h
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
2010-04-08 16:02:22 +00:00
Tatsuhiro Tsujikawa
5cd0108f93
2010-04-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Added --save-session=FILE option. This option saves
error/unfinished downloads to FILE on exit. You can pass this
output file to aria2c with -i option on restart. Please note that
downloads added by aria2.addTorrent and aria2.addMetalink XML-RPC
method are not saved.
* src/BtPostDownloadHandler.cc
* src/DownloadResult.h
* src/Makefile.am
* src/MetadataInfo.cc
* src/MetadataInfo.h
* src/Metalink2RequestGroup.cc
* src/MetalinkPostDownloadHandler.cc
* src/MultiUrlRequestInfo.cc
* src/OptionHandlerFactory.cc
* src/RequestGroup.cc
* src/RequestGroup.h
* src/SessionSerializer.cc
* src/SessionSerializer.h
* src/UTMetadataPostDownloadHandler.cc
* src/download_helper.cc
* src/download_helper.h
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
* test/Makefile.am
* test/SessionSerializerTest.cc
* test/XmlRpcMethodTest.cc
* test/serialize_session.meta4
2010-04-08 12:54:14 +00:00
Tatsuhiro Tsujikawa
dd7590f927
2010-04-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
...
Fixed the bug that FTP data connection is not established via
proxy when --ftp-proxy is defined and --ftp-pasv=true and
--proxy-method=tunnel.
* src/AbstractCommand.cc
* src/AbstractCommand.h
* src/FtpNegotiationCommand.cc
* src/FtpNegotiationCommand.h
* src/InitiateConnectionCommand.cc
2010-04-06 16:09:24 +00:00
Tatsuhiro Tsujikawa
538c463fc0
Updated for 1.9.1 release
2010-04-04 11:48:11 +00:00