+2001-02-08 Christian Fraenkel <christian.fraenkel@gmx.net>
+
+ * gen_sslfunc.c: verify_callback is now static
+
+ * gen_sslfunc.c (init_ssl): load certificate if specified
+
+ * gen_sslfunc.c (ssl_printerr): new function
+
+ * init.c: added new --sslcertfile and --sslcertkey switches
+
+ * main.c: ditto
+
+ * options.h: ditto
+
+ * http.c (gethttp): abort when init_ssl fails
+
+2001-01-23 Herold Heiko <Heiko.Herold@previnet.it>
+
+ * mswindows.h: Include <malloc.h>; it's needed for alloca().
+
+2001-01-10 Dan Harkless <wget@harkless.org>
+
+ * url.c (str_url): Clarified this function's comment header after
+ Hrvoje answered my question on the list as to when hide != 1.
+ Also Hrvoje pointed out I need to use xstrdup() on the string literal.
+
+2001-01-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * connect.c (bindport): Declare addrlen as int. Diagnosed by
+ Drazen Kacar <dave@arsdigita.com>.
+ (conaddr): Ditto.
+
+2001-01-09 Dan Harkless <wget@harkless.org>
+
+ * html-url.c: A bunch of fixup of `--page-requisites'-related
+ comments to reflect Hrvoje's changes to my code when transplanting
+ it into this new file, to fix spelling mistakes, to clarify, etc.
+
+ * url.c (write_backup_file): Clarified a comment.
+ (str_url): Henrik van Ginhoven pointed out on the list that we
+ shouldn't give away the number of characters in the password by
+ replacing each character with a 'x'. Use "<password>" instead.
+
+ * ftp.c (ftp_retrieve_dirs): The bug where recursion into FTP
+ directories didn't work if logging in put you in a directory other
+ than "/" is fixed now. Removed the comment here warning of the bug.
+
+ * main.c (print_help): --continue's description was misleading.
+ We don't "restart", we "resume". Also, better to say
+ "partially-downloaded file" rather than just "existing file".
+
+2001-01-06 Dan Harkless <wget@harkless.org>
+
+ * ChangeLog: The '[Not in 1.6 branch.]'s were decided not to be
+ the best way to go about my aim. Removed them in favor of:
+
+ * ChangeLog-branches/1.6_branch.ChangeLog: New file.
+
+2001-01-04 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (replace_attr): New function, to be used by both
+ TO_COMPLETE and TO_RELATIVE case in convert_links.
+ (find_fragment): New function for finding URL fragments.
+ (replace_attr): Better handle the case where the original string
+ 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,
+ looking at the dates would make you think that things went into
+ 1.6 that actually just went into the 1.7-dev branch. Added "[Not
+ in 1.6 branch.]" where appropriate to clarify.
+
+2000-12-30 Dan Harkless <wget@harkless.org>
+
+ * 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-17 Igor Khristophorov <igor@atdot.org>
+
+ * http.c (check_end): Fix test for '+' or '-'.
+
+2000-12-17 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (parseurl): Rename inner loop var from i to ind to avoid
+ clash with the function top-level-declared variable i.
+ (str_url): Likewise, rename inner-loop i to j.
+
+ * recur.c (parse_robots): Don't declare LEN at top of function.
+ (robots_match): Renamed parameter FORBIDDEN to avoid hiding of
+ global variable.
+
+ * main.c (main): Change erroneous use of bitwise and to logical.
+
+ * init.c (cmd_address): Don't heap-allocate `sin'; it can be on
+ the stack because it will be copied to closure.
+
+ Thanks to Csaba Raduly's run of PC-LINT over the sources.
+
+2000-12-17 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (basic_authentication_encode): Use xmalloc(), not
+ malloc(). Thanks to Csaba Raduly's run of PC-LINT over the
+ sources.
+
+2000-12-17 Csaba Raduly <csaba.raduly@sophos.com>
+
+ * sysdep.h: Test for __EMX__ rather than for EMXOS2 for OS/2
+ compilation.
+
+2000-12-17 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * mswindows.c: Include <errno.h>.
+
+ * gen_sslfunc.c: Include <errno.h>.
+
+ * ftp-basic.c: Don't attempt to declare errno or h_errno because
+ they're not used.
+
+ * main.c: Include <errno.h> because errno is used.
+
+ * ftp.c: Ditto.
+
+ * http.c: Include <netdb.h> for h_errno.
+
+2000-12-13 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * html-parse.c (advance_declaration): MSVC assert() chokes on
+ '\"'. Use '"' instead.
+
+2000-12-11 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c (xfree_real): Removed.
+ (xfree_debug): Just call free().
+
+ * wget.h (xfree): Make it an alias for free.
+
+2000-12-11 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (http_loop): Furthermore, touch output_document only if
+ it is known to be an existing regular file.
+
+2000-12-11 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (ftp_retrieve_list): Ditto.
+
+ * http.c (http_loop): Touch output_document if that is used for
+ output.
+
+2000-12-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c: Include gen_sslfunc.h after including Wget's headers.
+ (persistent_available_p): Needed coma before `int ssl'.
+
+2000-12-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (ftp_loop_internal): Ditto.
+
+ * http.c (http_loop): Use it.
+
+ * retr.c (sleep_between_retrievals): New function that handles the
+ logic of opt.wait and opt.waitretry.
+
+2000-12-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * rbuf.h: Implement only a single version of RBUF_READCHAR, using
+ rbuf_read_bufferful when the buffer is depleted.
+
+ * rbuf.c (rbuf_read_bufferful): New function.
+
+2000-12-06 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * gen_sslfunc.h: Use ansi2knr style function declarations.
+
+ * gen_sslfunc.c: Reformat according to the GNU coding standards.
+ More should be done.
+
+ * http.c (persistent_available_p): Place the cheap SSL test nearer
+ the top of the function.
+ (CLOSE_FINISH, CLOSE_INVALIDATE): Define only one version of each.
+
+2000-12-03 Christian Fraenkel <christian.fraenkel@gmx.net>
+
+ * Makefile.in: added gen_sslfunc object
+ * config.h.in: added HAVE_SSL define
+ * connect.c: changed select_fd from static int to int
+ * connect.h: ditto
+ * gen_sslfunc.h: New file
+ * gen_sslfunc.c: ditto
+ * http.c: added HTTPS fuctionality
+ * retrc.c: ditto
+ * url.c: ditto
+ * init.c: added opt.httpsproxy
+ * options.h: ditto
+ * rbuf.h: added alternate rbuf struct
+ * wget.h: added CONSSLERR
+ * rbuf.c: ditto
+
+ * http.c: Added HTTPS fuctionality.
+
+ * retrc.c: Ditto.
+
+ * url.c: Ditto.
+
+ * init.c: Added opt.httpsproxy.
+
+ * options.h: Ditto.
+
+ * rbuf.h: Added alternate rbuf struct.
+
+ * wget.h: Added CONSSLERR.
+
+ * 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-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.
+
+2000-11-25 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (ftp_retrieve_list): Undo typo "fix" until resolution by
+ Dan.
+
+2000-11-24 Karl Eichwalder <ke@suse.de>
+
+ * main.c (print_help): Untabify.
+
+2000-11-23 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * utils.c (xrealloc_debug): Do the unregister/register thing only
+ if the pointer has actually changed.
+ (xmalloc_real): Declare `static' in DEBUG_MALLOC builds.
+ (xfree_real): Ditto.
+ (xrealloc_real): Ditto.
+ (xstrdup_real): Ditto.
+
+2000-11-22 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (getftp): ftp_getaddress() returns a malloc'ed copy of the
+ string; no need to strdup() it.
+ (getftp): Make pwd_len a local variable.
+ (ftp_loop): Free PWD before returning.
+
+ * init.c (cleanup): Free opt.ftp_pass only if it's non-NULL.
+
+2000-11-22 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * all: Use xfree() instead of free.
+
+ * utils.c (xfree): New function.
+
+2000-11-21 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * url.c (convert_links): HTML-quote the converted string.
+
+ * utils.c (html_quote_string): Move here from ftp-ls.c
+ (html_quote_string): Make non-static; declare in utils.h.
+ (html_quote_string): Convert SP to  .
+
+2000-11-21 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * ftp.c (getftp): Reformat Jan's code according to GNU coding
+ standards; remove (debugging?) printf's; use '\0' for the ASCII
+ zero character. Use alloca() instead of malloc() for
+ inter-function temporary allocations.
+
+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-21 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * hash.c (hash_table_put): Don't overwrite deleted mappings.
+
+2000-11-21 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * hash.c (find_mapping): New function.
+ (hash_table_get): Use it.
+ (hash_table_get_pair): Ditto.
+ (hash_table_exists): Ditto.
+ (hash_table_remove): Ditto.
+ (hash_table_remove): Really delete the entry if the mapping
+ following LOCATION is empty.
+
+ * utils.c (string_set_add): Check whether the element has existed
+ before.
+
+ * hash.c (hash_table_get_pair): New function.
+
+2000-11-20 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (http_process_type): Ignore trailing whitespace; use
+ strdupdelim().
+
+ * recur.c (recursive_retrieve): Use the new `convert' field.
+ (convert_all_links): Ditto.
+ (convert_all_links): Don't respect meta_disallow_follow.
+
+ * html-url.c (handle_link): Fill out link_relative_p and
+ link_complete_p.
+
+ * url.h (struct _urlpos): Make elements more readable.
+
+ * recur.c (recursive_retrieve): Call slist_prepend instead of
+ slist_append.
+ (convert_all_links): Call slist_nreverse before iterating through
+ urls_html.
+
+ * utils.c (slist_prepend): New function.
+ (slist_nreverse): Ditto.
+
+2000-11-20 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (check_end): Constify.
+
+2000-11-20 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (http_loop): If username and password are known, try the
+ `Basic' authentication scheme by default.
+
+ * connect.h: Declare test_socket_open.
+
+2000-11-20 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * version.c: Bump version from 1.5.3+dev to 1.7-dev.
+
+2000-11-20 Hrvoje Niksic <hniksic@arsdigita.com>
+
+ * http.c (gethttp): Don't use the return value of sprintf().
+ (gethttp): Inhibit keep-alive if opt.http_keep_alive is 0.
+
2000-11-20 Hrvoje Niksic <hniksic@arsdigita.com>
* recur.c (recursive_retrieve): Print the "so we don't load"
* retr.c (reset_timer): GetSystemTime() on WINDOWS.
* retr.c (elapsed_time): Calculate delta time to msec on WINDOWS.
-2000-10-27 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-10-27 Dan Harkless <wget@harkless.org>
* retr.c (retrieve_url): Manually applied T. Bharath
<TBharath@responsenetworks.com>'s patch to get wget to grok
illegal relative URL redirects. Reformatted and re-commented it.
-2000-10-23 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-10-23 Dan Harkless <wget@harkless.org>
* connect.c (make_connection and bindport): Manually applied Rob
Mayoff <mayoff@dqd.com>'s 1.5.3 patch to add --bind-address,
* retr.c (retrieve_from_file): Just added a DEBUGP().
-2000-10-19 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-10-19 Dan Harkless <wget@harkless.org>
* ftp.c (ftp_loop_internal): downloaded_file() enumerators changed.
(getftp): Applied Piotr Sulecki <Piotr.Sulecki@ios.krakow.pl>'s
* wget.h (unnamed "dt" enum): Added ADDED_HTML_EXTENSION enumerator.
-2000-10-09 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-10-09 Dan Harkless <wget@harkless.org>
* html.c (htmlfindurl): Added unneeded initialization to quiet warning.
* ftp.c (getftp): passive_ftp is first option to support always/never.
-2000-08-30 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-08-30 Dan Harkless <wget@harkless.org>
* ftp.c (ftp_retrieve_list): Use new INFINITE_RECURSION #define.
* wget.h: Added some comments and new INFINITE_RECURSION #define.
-2000-08-23 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-08-23 Dan Harkless <wget@harkless.org>
* main.c (print_help): -B / --base was not mentioned.
-2000-08-22 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-08-22 Dan Harkless <wget@harkless.org>
* main.c (print_help): Modified -nc description to mention that it
also prevents the creation of multiple versions of the same file
* retr.c (retrieve_url): Consistently strdup opt.referer when
setting u->referer.
-2000-06-09 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-06-09 Dan Harkless <wget@harkless.org>
* main.c (print_help): --help output for --waitretry was over 80 cols.
* url.c (str_url): Print the port number only if it's different
from the default port number for that protocol.
-2000-05-22 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-05-22 Dan Harkless <wget@harkless.org>
* main.c (print_help): Added --help line for Damir Dzeko
<ddzeko@zesoi.fer.hr>'s until-now-undocumented --referer option.
alloca().
Pointed out by Gisle Vanem <gvanem@eunet.no>.
-2000-04-04 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-04-04 Dan Harkless <wget@harkless.org>
* host.c (store_hostaddress): R. K. Owen's patch introduces a
"left shift count >= width of type" warning on 32-bit
(TOLOWER): Ditto.
(TOUPPER): Ditto.
-2000-03-10 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-03-10 Dan Harkless <wget@harkless.org>
* html.c (idmatch): Implemented checking of my new --follow-tags
and --ignore-tags options.
* wget.h: Added "#define EQ 0" so we can say "strcmp(a, b) == EQ".
-2000-03-02 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-03-02 Dan Harkless <wget@harkless.org>
* ftp.c (ftp_loop_internal): Heiko introduced "suggest explicit
braces to avoid ambiguous `else'" warnings. Eliminated them.
specified, and we're are already at that depth, don't download the
HTML file for parsing.
-2000-03-01 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-03-01 Dan Harkless <wget@harkless.org>
* ftp.c (ftp_loop_internal): Call new downloaded_file() function,
even though we don't do conversion on HTML files retrieved via
* wget.h (boolean): Added this new typedef and TRUE and FALSE #defines.
-2000-02-29 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-02-29 Dan Harkless <wget@harkless.org>
* version.c: Upped version to developer-only "1.5.3+dev".
-2000-02-18 Dan Harkless <dan-wget@dilvish.speed.net>
+2000-02-18 Dan Harkless <wget@harkless.org>
* init.c (backup_converted): Added this new option.