Commit Graph

3590 Commits

Author SHA1 Message Date
Tatsuhiro Tsujikawa
46354b7c91 Added intl/*
Added src/alloca.c
2006-03-07 13:08:09 +00:00
Tatsuhiro Tsujikawa
8d980589e3 2006-03-05 06:32:01 +00:00
Tatsuhiro Tsujikawa
0276b3bb37 * DownloadEngine.{h, cc}:
* ConsoleDownloadEngine.{h, cc}: Console output message(size, 
speed)
	is now generated by ConsoleDownloadEngine not by DownloadEngine.
	* main.cc: Download complete/abort message is now generated by 
main.
	* Makefile.am (SUBDIRS): Add m4.
	(ACLOCAL_AMFLAGS): New variable.
	(EXTRA_DIST): New variable.
	* configure.in (AC_CONFIG_FILES): Add po/Makefile.in,
	* gettext: added gettext functionality
2006-03-02 10:43:00 +00:00
Tatsuhiro Tsujikawa
0f6d2fd451 * DownloadEngine.{h, cc}:
* ConsoleDownloadEngine.{h, cc}: Console output message(size, 
speed)
	is now generated by ConsoleDownloadEngine not by DownloadEngine.
	* main.cc: Download complete/abort message is now generated by 
main.
2006-03-02 02:54:49 +00:00
Tatsuhiro Tsujikawa
bea6e0e016 2006-03-01 15:28:31 +00:00
Tatsuhiro Tsujikawa
44e1dafe7b * HttpConnection.cc:
* common.h: defined the user agent name as macro
2006-03-01 15:28:03 +00:00
Tatsuhiro Tsujikawa
c9f8c076c3 2006-03-01 08:28:57 +00:00
Tatsuhiro Tsujikawa
293c33ccef 2006-03-01 08:22:40 +00:00
Tatsuhiro Tsujikawa
a8f0186af2 2006-03-01 08:12:01 +00:00
Tatsuhiro Tsujikawa
726e14aa81 2006-03-01 07:55:09 +00:00
Tatsuhiro Tsujikawa
4a5fa077b3 * ChunkedEncoding.cc: Added #include directive for strings.h 2006-03-01 07:46:21 +00:00
Tatsuhiro Tsujikawa
dd26d75751 * Logger.h:
* SimpleLogger.{h,cc}: Changed the type of msg to const char*.
2006-03-01 07:14:52 +00:00
Tatsuhiro Tsujikawa
583e09780b * HttpConnection.cc: Added "Proxy-Connection" header to proxy
request.
	Added "User-Agent" header to CONNECT proxy request.
	Fixed "Proxy-Authorization" header. Now proxy authorization 
works
	properly.
2006-03-01 07:00:39 +00:00
Tatsuhiro Tsujikawa
bc1cf6ed2d * AbstractCommand.cc:
* DownloadCommand.{h, cc}: Aborted downloading commands now 
properly
	unregister its cuid from SegmentMan.	
	* DownloadEngine.cc: .aria2 file was written when a downloading
	failed with errors.
2006-03-01 02:26:29 +00:00
Tatsuhiro Tsujikawa
d770d1c40a * common.h: defined LONG_LONG_MAX and LONG_LONG_MIN if a
compiler
	does not define these macros.
2006-02-28 03:09:22 +00:00
Tatsuhiro Tsujikawa
20ba8c707a * Util.{h,cc}: added startsWith().
* CookieBox.cc: rewrited criteriaFind() using Util::startsWith() 
and
	Util::endsWith().
	* SocketCore.cc: struct addrinfo is now  zero-initialized.
	* common.h: added #include directive of limit.h.
	* DownloadEngine.cc: added #include directive of sys/time.h and
	algorithm.
	* Exception.h: added #include directive of stdio.h.
	* AbstractCommand.h: added #include directive of sys/time.h.
	* DownloadCommand.h: added #include directive of sys/time.h.
	* *.h: added #include directive of common.h to all base classes.
	subclasses' one was removed.
2006-02-28 02:25:45 +00:00
Tatsuhiro Tsujikawa
87a229cab1 Update configure.in to add inet_ntoa to AC_CHECK_FUNCS 2006-02-22 15:54:19 +00:00
Tatsuhiro Tsujikawa
cd5f591c41 2006-02-22 15:40:04 +00:00
Tatsuhiro Tsujikawa
5a624f5a3d new 2006-02-22 14:31:33 +00:00
Tatsuhiro Tsujikawa
2462a3b06c 2006-02-22 14:30:47 +00:00
Tatsuhiro Tsujikawa
27d392d5f2 2006-02-22 12:16:10 +00:00
Tatsuhiro Tsujikawa
ebdb4b86cf 2006-02-22 11:18:47 +00:00
Tatsuhiro Tsujikawa
28fc3405dd 2006-02-21 15:01:05 +00:00
Tatsuhiro Tsujikawa
32e8f2b011 2006-02-21 14:00:58 +00:00
Tatsuhiro Tsujikawa
e0aa767f94 2006-02-21 12:28:42 +00:00
Tatsuhiro Tsujikawa
5a8710676d 2006-02-21 12:27:17 +00:00
Tatsuhiro Tsujikawa
6d6f25b75c replace unsgined int with string::size_type where comparisons to
string::npos take place.
2006-02-18 16:19:25 +00:00
Tatsuhiro Tsujikawa
e37985acb4 2006-02-18 16:05:04 +00:00
Tatsuhiro Tsujikawa
f0f3f8b45d 2006-02-18 07:47:50 +00:00
Tatsuhiro Tsujikawa
ae9012e09b Added --enable-ssl option to configure script 2006-02-18 07:47:08 +00:00
Tatsuhiro Tsujikawa
a64eea14ad 2006-02-18 06:11:20 +00:00
Tatsuhiro Tsujikawa
5333c2d58f Modify HttpConnection to not to send referer string when
Request::getPreviousUrl() is empty.
2006-02-18 05:44:13 +00:00
Tatsuhiro Tsujikawa
6abf60448e * Make Request-URI an absolute path. Some servers cannot permit
absoluteURI as Request-URI.
2006-02-18 05:36:50 +00:00
Tatsuhiro Tsujikawa
8b1c7b0967 2006-02-18 05:21:43 +00:00
Tatsuhiro Tsujikawa
5752a554bf * Added Referer support.
* Added referer command-line option.
	* Added rety-wait command-line option.
	* Fixed formating bug in Exception::setMsg()
2006-02-18 05:13:21 +00:00
Tatsuhiro Tsujikawa
62d3659410 Added Referer support 2006-02-18 03:59:26 +00:00
Tatsuhiro Tsujikawa
8a70369dcf Make Socket::initiateSecureConnection an empty method when HAVE_LIBSSL
is undefined
2006-02-17 19:04:22 +00:00
Tatsuhiro Tsujikawa
2c732211f4 * Added HTTPS support.
* Added SocketCore. Socket is now handle class for SocketCore.
	* Fixed bug in ChunkedEncoding: expanding buffer size is wrong
	* Fixed bug in DownloadCommand: In Chunked Encoding, it wrongly
	adds to Segment.ds buff length from the socket.
2006-02-17 18:51:12 +00:00
Tatsuhiro Tsujikawa
8acb1181f9 Added SocketCore, make Socket a handle class for SocketCore. 2006-02-17 14:47:45 +00:00
Tatsuhiro Tsujikawa
52634627bc Initial import 2006-02-17 13:35:04 +00:00