]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Introduce non-strict comment parsing.
[wget] / src / ChangeLog
index 356082d3e0c87242d33235abd8e4a82a82061885..efc3f891e7e21f6377bd05673c512991e0757500 100644 (file)
@@ -1,3 +1,122 @@
+2003-09-19  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * main.c (main): New option --strict-comments.
+
+       * html-parse.c (find_comment_end): New function: simple BM search
+       for "-->".
+       (map_html_tags): Use it if looking at a comment and not in strict
+       comments mode.
+
+2003-09-17  Aurelien Marchand  <artaxerxes@users.sf.net>
+
+       * ftp.h: Added OS400 system in enum
+       * ftp-basic.c: recognize OS400 systems
+       * ftp.c: don't prepend the CWD if talking to OS400, since it
+       breaks the change in library
+
+2003-09-18  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * retr.c (get_contents): Pass the correct argument to ssl_iread.
+
+2003-09-18  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * safe-ctype.h: Don't #define ctype.h macros to errors because
+       that loses when someone #include's ctype.h after safe-ctype.h.
+
+2003-09-17  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * url.c: Undef U, W, C after use.
+
+2003-09-17  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * init.c (cmd_spec_restrict_file_names): Allow the OS setting to
+       be augmented by ",nocontrol" which means don't escape the control
+       characters, but otherwise keep OS settings.
+
+       * url.c (file_unsafe_char): Deleted.
+       (append_uri_pathel): Query filechr_table directly.
+       (filechr_table): Separated Unix, Windows, and control-unsafe
+       characters.
+
+2003-09-17  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * url.c (url_escape_1): New function.
+       (url_escape): Use it.
+       (sync_path): Handle pathological cases where u->file and u->dir
+       contain really strange characters.
+       (ENCODE): Deleted.
+       (REENCODE): Deleted.
+
+2003-09-16  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * url.c (url_file_name): Don't reallocate FNAME if the file
+       doesn't exist, as is usually the case.
+
+       * utils.c (unique_name): New flag allow_passthrough.
+
+2003-09-16  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (wtimer_sys_diff): Convert the time difference to signed
+       __int64, then to double.  This works around MS VC++ 6 which can't
+       convert unsigned __int64 to double directly.
+
+2003-09-16  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * Makefile.in (clean): Also remove the core.<number> files
+       produced by recent Linux systems.
+
+2003-09-16  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (post_file): Don't pad the file if it's not large
+       enough.  Bail out instead.
+
+2003-09-15  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * retr.c (get_contents): Reduce the buffer size to the amount of
+       data that may pass through for one second.  This prevents long
+       sleeps when limiting bandwidth.
+
+       * connect.c (connect_to_one): Reduce the socket's RCVBUF when
+       bandwidth limitation to small values is requested.
+
+2003-09-15  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * progress.c (update_speed_ring): Moved the speed ring update to a
+       separate function and documented it better.
+
+       * progress.c: Use `double' for most timers to support granularity
+       smaller than 1ms.
+
+2003-09-15  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * wget.h (XDIGIT_TO_XCHAR): Implement as index into a literal
+       string.
+       (XDIGIT_TO_xchar): Ditto.
+
+2003-09-15  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c: Change the type of timer-related functions from long to
+       double, for better precision.  On machines supporting gettimeofday
+       the timers now work with granularity of less than one millisecond.
+
+2003-09-15  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * cookies.c (parse_set_cookies): Fixed the parser to handle more
+       edge conditions.
+       (test_cookies): New function, contains a test suite for
+       parse_set_cookies.
+
+2003-09-15  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * url.c (strpbrk_or_eos): Implement as a macro under Gcc.
+
+2003-09-15  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * cookies.c (parse_set_cookies): Allow trailing space in
+       set-cookies header.  Also, allow any amount of whitespace, not
+       only one character.  Allow empty set-cookies header without
+       spewing an error.
+
 2003-09-14  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * url.c (append_uri_pathel): Use opt.restrict_file_names when