+2001-04-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * sysdep.h: Don't define VERY_LONG_FORMAT.
+
+ * utils.c (very_long_to_string): New function.
+ (legible_very_long): Use it; don't use VERY_LONG_FORMAT.
+
+2001-04-04 Christian Fraenkel <christian.fraenkel@gmx.net>
+
+ * url.c (parse_uname): Would run past the end of the string if the
+ username was present, but the URL did not contain a slash, e.g.
+ http://foo:bar@myhost.
+
+2001-04-03 KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>
+
+ * http.c (http_atotm): Use %A instead of %a to match full
+ weekday. (On most systems there is no difference.)
+
+2001-04-03 Paul Bludov <paul@ozero.net>
+
+ * mswindows.c (sleep): Use SleepEx() instead of Sleep().
+ (ws_changetitle): Use alloca() instead of malloc() to avoid memory
+ leak.
+ (ws_mypath): Use GetModuleFileName instead of argv[0].
+ (ws_startup): Use data.wVersion for comparison.
+
+2001-04-02 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (http_loop): Ditto.
+
+ * ftp.c (ftp_loop_internal): Made the check whether to continue
+ retrieval `-O'-friendly.
+
+2001-04-02 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * netrc.c (parse_netrc): Don't trim the line endings explicitly;
+ they will be handled as whitespace.
+ (parse_netrc): Correctly handle lines that end with whitespace.
+
+2001-04-02 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * retr.c (retrieve_url): New variable global_download_count used
+ to identify first retrieval.
+
+ * ftp.c (getftp): Ditto.
+
+ * http.c (gethttp): Rewind opt.dfp only on first retrieval.
+
+2001-04-02 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * init.c (cmd_address): Heap-allocate the address that gets stored
+ to CLOSURE. Old code would simply assign an address on the stack.
+
+2001-04-01 Nicolas Lichtmaier <nick@debian.org>
+
+ * ftp.c (ftp_get_listing): Propagate error status.
+ (ftp_retrieve_glob): Use it.
+ (ftp_loop): Ditto.
+
+2001-04-01 Nicolas Lichtmaier <nick@debian.org>
+
+ * main.c (main): Add -C to the string that is the third arg to
+ getopt_long().
+
+2001-04-01 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (getftp): Don't start the download from scratch if `-c'
+ was specified, but the file is already fully downloaded.
+
+ * http.c (gethttp): Don't truncate a pre-existing file if `-c' was
+ specified and the server doesn't support continued download.
+ (gethttp): Don't start the download from scratch if `-c' was
+ specified, but the file is already fully downloaded.
+
+2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ (recursive_retrieve): Don't clear the hash tables at this point at
+ all; it interferes with the normal operation of register_download.
+
+2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * recur.c (recursive_retrieve): Clear the hash tables only when
+ they are defined.
+
+2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Make sure the socket is closed with
+ CLOSE_INVALIDATE before we have drained the body.
+
+2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * retr.c (retrieve_url): Call register_download() for downloaded
+ files and register_html() for downloaded HTML files.
+
+ * recur.c (register_download): New function; register here that a
+ file has been downloaded, rather than in recursive_retrieve().
+ (register_html): New function; enqueue the location of HTML files
+ here rather than in recursive_retrieve().
+
+2001-03-31 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * main.c (print_help): Use multiple fputs instead of a single ugly
+ printf().
+ (main): Consistently assign numbers >128 to options without a
+ corresponding character.
+
+2001-03-09 Philipp Thomas <pthomas@suse.de>
+
+ * safe-ctype.h: New file. Locale independent ctype.h
+ replacement taken from libiberty.
+ safe-ctype.c: New file. Tables for above.
+ Makefile.in: Add safe-ctype$o to OBJS.
+ Add dependencies for safe-ctype$o.
+ cmpt.c: Remove include of ctype.h. Use ISSPACE instead
+ of isspace.
+ ftp-basic.c: Don't include ctype.h.
+ ftp-ls.c: Likewise.
+ ftp.c: Likewise.
+ headers.c: Likewise.
+ host.c: Likewise.
+ html-parse.c: Likewise.
+ html-url.c: Likewise.
+ http.c: Likewise.
+ init.c: Likewise.
+ main.c: Likewise. Set LC_CTYPE along with LC_MESSAGES.
+ netrc.c: Likewise.
+ recur.c: Likewise.
+ retr.c: Likewise.
+ snprintf.c: Replace ctype.h with safe-ctype.h. Use
+ ISDIGIT instead of isdigit.
+ sysdep.h: Remove defines of ctype macros as they aren't
+ needed for safe-ctype-h.
+ url.c: Don't include ctype.h.
+ utils.c: Likewise.
+ wget.h: Include safe-ctype.h.
+
+2001-03-27 Dan Harkless <wget@harkless.org>
+
+ * Makefile.in: Moved top_builddir out of "User configuration
+ section" of top Makefile and analogous spot in this one.
+
+2001-03-17 Dan Harkless <wget@harkless.org>
+
+ * Makefile.in: Include @SSL_INCLUDES@ substition in INCLUDES.
+ Define top_builddir. Link wget with libtool so the user doesn't
+ have to supply a bunch of custom environment variables to
+ correctly link with the OpenSSL shared libraries.
+
+2001-03-06 Hack Kampbjorn <hack@hackdata.com>
+
+ * http.c (gethttp): skip :port in host header if it is the
+ DEFAULT_HTTPS_PORT when using SSL.
+
+ * url.c: move the #define of DEFAULT_HTTP_PORT, DEFAULT_FTP_PORT
+ and DEFAULT_HTTPS_PORT to the header file so it can be use in the
+ rest of the code.
+ * url.h: Ditto
+
+2001-03-01 Jonas Jensen <bones@huleboer.dk>
+
+ * retr.c (show_progress): Correctly calculate the number of bytes
+ in the first line of the download that have been actually
+ downloaded in this run.
+
+2001-02-23 Dan Harkless <wget@harkless.org>
+
+ * main.c (print_help): --help documentation for -N said it would
+ re-download files if they had the _same_ timestamp on server.
+ (print_help): -nr belongs in "FTP options" section of --help
+ output, not "Recursive retrieval" section. Alphabetized FTP
+ options by long option name.
+
+2001-02-16 Dan Harkless <wget@harkless.org>
+
+ * init.c (commands): Hack Kampbjørn <hack@hackdata.com> discovered
+ that "httpsproxy" had been inserted into commands[] out of
+ alphabetical order, causing "BUG: unknown command `httpuser'".
+
+2001-02-13 Jan Prikryl <prikryl@cg.tuwien.ac.at>
+
+ * ftp-ls.c (ftp_parse_ls): Added support of ST_MACOS (Unix-like
+ listing without correct permissons).
+
+ * ftp.h (stype): Added ST_MACOS to identify the NetPresenz MacOS
+ FTP server.
+
+ * ftp.c (ftp_retrieve_list): New mirroring logic: A remote file
+ shall be donwloaded only when it's newer than the local copy or
+ when it has the same timeestamp but its size is different. ST_VMS
+ and ST_MACOS as special cases that lie about file size.
+
+ * ftp-ls.c (ftp_parse_ls): Support for ST_MACOS.
+
+ * Makefile.in: Removed dependency on ftpparse library due to unclear
+ copyright issues and absence of any feedback to our queries.
+
+ * ftp-ls.c: Removed dependency on ftpparse library due to unclear
+ copyright issues and absence of any feedback to our queries.
+ (ftp_parse_ls): Added a warning message when remote server system
+ does not seem to be suported by wget.
+ (ftp_parse_vms_ls): New function for parsing VMS ftp
+ server listing output.
+ (clean_line): New function responsible for removing
+ end-of-line characters from FTP listing texts.
+
+ * ftp.c (getftp): Global variables pwd and host_type are now
+ member of the ccon structure under names ccon.id and ccon.rs.
+
+ * ftp.h (struct ccon): Added formed global variables from ftp.c,
+ enum stype rs (remote system identification) and char *id (initial
+ working directory), as suggested by Hrvoje.
+
+ * url.c (parse_uname): Added support for passwords containing '@'
+ characters.
+ (skip_uname): Ditto.
+
2001-02-11 Hrvoje Niksic <hniksic@arsdigita.com>
* ftp.c (ftp_loop): Reset con.
is not quoted. Use find_fragment.
(convert_links): Use replace_attr().
-2000-12-18 Csaba Raduly <csaba.raduly@sophos.com>
-
- * sysdep.h: Include <malloc.h> and <io.h> under Watcom.
-
2000-12-31 Dan Harkless <wget@harkless.org>
* ChangeLog: Since this flat file doesn't have multiple branches,
* ftp.c, http.c: Applied Hack Kampbjørn <hack@hackdata.com>'s
patch to deal with h_errno not being defined in netdb.h under Cygwin.
+2000-12-18 Csaba Raduly <csaba.raduly@sophos.com>
+
+ * sysdep.h: Include <malloc.h> and <io.h> under Watcom.
+
2000-12-17 Igor Khristophorov <igor@atdot.org>
* http.c (check_end): Fix test for '+' or '-'.
the top of the function.
(CLOSE_FINISH, CLOSE_INVALIDATE): Define only one version of each.
+2000-12-05 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (init_unsafe_char_table): Reinstate space as an unsafe
+ char.
+
2000-12-03 Christian Fraenkel <christian.fraenkel@gmx.net>
* Makefile.in: added gen_sslfunc object
* rbuf.c: Ditto.
+2000-11-30 Jan Prikryl <prikryl@cg.tuwien.ac.at>
+
+ * ftp-ls.c (ftp_parse_unix_ls): Added second parameter
+ "ignore_perms" to ignore file and directory permissions for
+ Windows NT FTP server listings.
+ (ftp_parse_winnt_ls): New function.
+ (ftp_parse_ls): Parses UNIX and Windows NT listings
+ separately. Simple heuristics for distinguishing between UNIX and
+ MS-DOS-like FTP listing provided by Windows NT FTP service.
+
+2000-11-18 Jan Prikryl <prikryl@cg.tuwien.ac.at>
+
+ * ftpparse.c, ftpparse.h: New files.
+
+ * ftp-ls.c (ftp_parse_ls): Use ftp_parse_unix_ls for UNIX servers
+ only. Use ftp_parse_nonunix_ls otherwise.
+ (ftp_parse_nonunix_ls): Stub to the ftpparse library handling all
+ exotic FTP servers.
+
+ * ftp.h (stype): New enum, distinguishes UNIX, VMS, and "other"
+ FTP servers.
+
+ * ftp.c: New static wariables host_type, pwd, and pwd_len.
+ (getftp): Support for VMS. Support for FTP servers that do not
+ place you in the root directory after login.
+ (ftp_retrieve_list): VMS is silent about the real file size, issue
+ a more appropriate message.
+ (ftp_get_listing): Pass host_type to ftp_parse_ls.
+
+ * ftp-basic.c (ftp_pwd, ftp_syst): New functions.
+
2000-11-30 Jan Prikryl <prikryl@cg.tuwien.ac.at>
* ftp-ls.c (ftp_parse_unix_ls): Added second parameter
separately. Simple heuristics for distinguishing between UNIX
and MS-DOS-like FTP listing provided by Windows NT FTP service.
-2000-12-05 Hrvoje Niksic <hniksic@arsdigita.com>
-
- * url.c (init_unsafe_char_table): Reinstate space as an unsafe
- char.
-
2000-11-29 John Summerfield <summer@OS2.ami.com.au>
* netrc.c (parse_netrc): Get rid of line ending.
(init_unsafe_char_table): New function.
(url_init): New function; call init_unsafe_char_table.
+2000-11-16 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * mswindows.h: Define snprintf and vsnprintf to _snprintf and
+ _vsnprintf respectively.
+
+2000-11-15 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * config.h.in: Do the _XOPEN_SOURCE and _SVID_SOURCE things only
+ on Linux.
+
2000-11-15 Hrvoje Niksic <hniksic@arsdigita.com>
* html-url.c (handle_link): Handle HTML fragment identifiers.
(convert_links): Use alloca instead of malloc for
filename_plus_orig_suffix.
+2000-11-12 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * host.c (realhost): Add HOST to the list with quality==0 only if
+ it wasn't already there.
+ Based on analysis by Lu Guohan <feng@public.bjnet.edu.cn>.
+
2000-11-10 Hrvoje Niksic <hniksic@arsdigita.com>
* url.c (get_urls_file): Ditto.
* html-parse.c: New file.
-2000-11-16 Hrvoje Niksic <hniksic@arsdigita.com>
-
- * mswindows.h: Define snprintf and vsnprintf to _snprintf and
- _vsnprintf respectively.
-
-2000-11-15 Hrvoje Niksic <hniksic@arsdigita.com>
-
- * config.h.in: Do the _XOPEN_SOURCE and _SVID_SOURCE things only
- on Linux.
-
-2000-11-12 Hrvoje Niksic <hniksic@arsdigita.com>
-
- * host.c (realhost): Add HOST to the list with quality==0 only if
- it wasn't already there.
- Based on analysis by Lu Guohan <feng@public.bjnet.edu.cn>.
-
2000-11-10 Hrvoje Niksic <hniksic@arsdigita.com>
* init.c (run_wgetrc): Don't bother killing off '\r' since