]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Remember the position of the previous token instead of backtracking to it.
[wget] / src / ChangeLog
index f0c7ebfe2e60448368923297c5aabbb886eb0870..774f9b53ffe7665b8fd793a1f576e2b0b29b2fa5 100644 (file)
@@ -1,3 +1,411 @@
+2005-08-04  Giuseppe Bonacci  <g.bonacci@libero.it>
+
+       * ftp-ls.c (ftp_parse_unix_ls): Remember the position of the
+       previous token instead of backtracking back to it.
+
+2005-07-08  Gisle Vanem  <giva@bgnett.no>
+
+       * mswindows.h: Include process.h to get getpid() declaration.
+
+2005-07-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (aprintf): Use vasprintf where available.
+
+2005-07-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * url.c (rewrite_shorthand_url): Simplify code using aprintf and
+       strspn.
+
+2005-07-07  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * gnutls.c (ssl_check_certificate): Check for the validity of the
+       presented X509 certificate.
+
+2005-07-07  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * openssl.c (ssl_check_certificate): Print custom error messages
+       for frequent X509 certificate problems.
+
+2005-07-07  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * mswindows.h: Define an alias for stat and fstat, as requested by
+       config-compiler.h.
+       (gai_strerror): Define to windows_strerror if NEED_GAI_STRERROR is
+       defined.
+
+2005-07-06  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * mswindows.h: Use strtoll where available.
+
+2005-07-06  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * sysdep.h: Add a full declaration of fnmatch.h.
+
+2005-07-06  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c: Unconditionally include <setjmp.h>.
+
+2005-07-06  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (fnmatch_nocase): New function.
+       (proclist): Use it instead of fnmatch when opt.ignore_case is
+       requested.
+       (in_acclist): Respect opt.ignore_case.
+       (frontcmp): Respect opt.ignore_case.
+
+       * options.h (struct options): New flag opt.ignore_case.
+
+2005-07-06  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ptimer.c: Measure time in seconds rather than milliseconds.
+       Adjusted all callers.
+
+2005-07-06  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (gethttp): When freeing MESSAGE, take into account that
+       it can be NULL.
+
+2005-07-05  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * cmpt.c (timegm): Handle years after 2099.
+
+2005-07-05  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * cmpt.c (timegm): Remove unused variable.
+
+2005-07-05  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * cmpt.c (timegm): Don't call mktime; simply count the seconds
+       between 1970-01-01 and the specified date.
+
+2005-07-05  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * wget.h (or): Define HAVE_SSL when either HAVE_OPENSSL or
+       HAVE_GNUTLS are defined.
+
+       * gnutls.c: New file.
+
+2005-07-05  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (gethttp): Don't print the request write error message
+       twice.
+
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * openssl.c (openssl_errstr): Instead of always using a large
+       static buffer, only allocate the error string when there is an
+       actual error.
+
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * xmalloc.c (debugging_free): Prefix hex pointer value with "0x"
+       when printing.
+
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (NEXT_BASE64_CHAR): Rename to NEXT_CHAR and simplify to
+       get the next non-whitespace character.
+
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (base64_decode): Don't silently tolerate non-base64
+       non-white-space characters in the base64 stream.
+
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * connect.c (LAZY_RETRIEVE_INFO): Make last_tick unsigned to match
+       transport_map_modified_tick.
+
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * config-post.h (alloca): Updated declaration to not enumerate all
+       Windows compilers.
+
+2005-07-04  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * openssl.c (openssl_errstr): Separate error messages with "; ".
+
+2005-07-03  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ftp.c (getftp): Ditto.
+
+       * http.c (gethttp): Use fd_errstr.
+
+       * connect.c (fd_register_transport): Restructure parameters to
+       include only a single structure that describes transport
+       implementation.
+
+       * openssl.c (openssl_errstr): New function: dump SSL error strings
+       into a static buffer and return a pointer to the buffer.
+
+       * connect.c (fd_errstr): New function; returns transport-specific
+       error message, or strerror(errno) if transport doesn't supply one.
+
+2005-07-03  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * mswindows.h: Also wrap accept() and listen().
+
+2005-07-03  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * url.c (path_end): Skip separators appropriate for the scheme.
+       (strpbrk_or_eos): Remove gcc-specific version, as the optimization
+       it tried to perform no longer applies.
+
+2005-07-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * host.c: Don't include "connect.h" now that we no longer have
+       socket_has_inet6.
+
+2005-07-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * host.c: Remove extraneous definition of netdb.h.
+
+2005-07-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (gethttp): Skip error message body in the keep-alive
+       case.
+
+2005-07-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * url.c (url_parse): Would crash when parsing fragments.  Support
+       fragments for FTP URLs too.
+
+2005-07-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * version.c: Don't use "cvs" in version name, since we're not
+       using CVS anymore.
+
+2005-07-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * progress.c (create_image): Ditto.
+
+       * retr.c (retr_rate): Display smaller rate numbers with greater
+       precision.
+
+2005-07-02  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (response_head_terminator): Minor optimization.
+
+       * retr.c (fd_read_hunk): Call terminator with pointer to the start
+       of the data and the pointer to the current data.  Changed all
+       callers.
+
+2005-07-01  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * url.c (url_parse): Make sure u->params is not initialized for
+       http/https URLs.
+       (url_parse): Don't crash on garbage following []-delimited IPv6
+       addresses.
+
+2005-07-01  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * main.c (print_help): Don't refer to the non-existent -nr in
+       description of --mirror.
+
+2005-06-30  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * host.c (pretty_print_address): Renamed to just print_address.
+       Clarify documentation.
+
+2005-06-30  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (gethttp): Explicitly document the different cases when
+       generating the Host header.
+
+2005-06-30  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * host.c (pretty_print_address): Handle error result from
+       inet_ntop.
+
+2005-06-30  Gisle Vanem  <giva@bgnett.no>
+
+       * mswindows.c (inet_ntop): New function.  Print IPv6 addresses
+       using WSAAddressToString.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * progress.c (dot_update): Remove unused variable row_qty.
+
+2005-06-29  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * main.c: Check for both SIGHUP and SIGUSR1 before using them.
+
+2005-06-29  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c: Unconditionally include locale.h.
+
+2005-06-29  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ptimer.c: Include sys/time.h to get struct timeval.
+
+2005-06-29  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * wget.h: Remove obsolete definition of with_thousand_seps_sum.
+
+2005-06-29  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * gnu-md5.h: Unconditionally include limits.h.
+
+2005-06-29  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (random_number): Use lrand48 if available.
+       (random_float): Use drand48 if available.
+
+2005-06-29  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * main.c (secs_to_human_time): Use print_decimal when printing
+       total download time in seconds.
+
+       * progress.c (print_row_stats): Use it to print total download
+       time at the end of the download.
+       (create_image): Ditto.
+
+       * utils.c (print_decimal): New function; print small decimal
+       numbers with more precision than large ones.
+
+       * progress.c (print_row_stats): New function.  Print ETA after the
+       download rate at the end of each row.
+
+2005-06-28  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * init.c (parse_line): Check for alphanumerics.
+
+2005-06-28  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * (dot_create): Remove unnecessary casts.
+
+2005-06-28  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ftp.c (getftp): Delete trailing newlines from LIST output so
+       lines don't come out with trailing \015\012 with -S.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * mswindows.h: Remove superfluous includes.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * config-post.h (alloca): Amend alloca declaration to take care of
+       all Win32 compilers, not just MSVC and MinGW.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (get_grouping_data): Force separator to "." rather than
+       " " when "," is taken.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * wget.h (PTR_FORMAT): Cast the result of sizeof to int before
+       passing it to printf's %*.
+
+       * retr.h: Declare output_stream and output_stream_regular.
+
+       * ftp.h: Declare ftp_last_respline.
+
+       * convert.h: Declare dl_url_file_map.
+
+       * http.h: New file.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * cookies.c: Make cookies_now static.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (human_readable): Remove intermediary cast to long; MSVC
+       has problems casting *unsigned* __int64 to double.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * sysdep.h: Use the system-provided fnmatch by default.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (mktime_from_utc): Renamed to timegm and moved to cmpt.c.
+       Don't compile it if GNU timegm is available.
+       (http_atotm): Use timegm.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (http_atotm): Correctly query the old locale value.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * config-post.h (alloca): Don't #define alloca under MinGW32,
+       which defines it in malloc.h, included from mswindows.h.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (get_grouping_data): Force the use of separators in C
+       locale.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * main.c (i18n_initialize): Set all locale categories.
+
+       * http.c (http_atotm): Temporarily set locale to "C".
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (gethttp): Improve "POST data file missing" error
+       message.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * progress.c (set_progress_implementation): Type COLON as const
+       char *.
+
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (with_thousand_seps): Handle negative numbers.
+
+2005-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * progress.c (create_image): Mark the "eta" string for translation.
+
+2005-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * html-url.c (get_urls_file): Don't explicitly set entry->next to
+       NULL since entry is already zeroed out.
+
+2005-06-26  Gisle Vanem  <giva@bgnett.no>
+
+       * mswindows.h: Define gai_strerror under MinGW.
+
+2005-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (with_thousand_seps): Correctly implement thousand seps
+       consisting of more than one character.
+
+2005-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * main.c (secs_to_human_time): Ditto.
+
+       * progress.c (create_image): Print more exact duration of very
+       short downloads.
+
+       * main.c (secs_to_human_time): Don't translate time suffixes "h",
+       "m", and "s", which are not strictly SI, but are "accepted for use
+       with SI".
+       (secs_to_human_time): Print really small intervals as 0s, not
+       0.00s.
+
+2005-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * config-post.h: Replace the alloca declaration with the one from
+       the latest Autoconf manual.  This should remove a warning with GCC
+       on AIX.
+
+2005-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * ftp.c (getftp): Always invoke SIZE, not only when continuing a
+       download.
+
+       * main.c (main): Ditto here.
+
+       * progress.c (create_image): When the download is finished, print
+       how long it took.
+
 2005-06-26  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * main.c (main): Print the downloaded and quota amounts with the