]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Logging system bugfixes and improvements.
[wget] / src / ChangeLog
index 5edfcb7be59b5b68efcd9d79d45abdcd64bf6bf2..6feff5c3bd9849d6289facc605d3e6505758d4a2 100644 (file)
@@ -1,3 +1,34 @@
+2001-12-10  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * main.c (main): Initialize progress after fork_to_background, so
+       that it knows when to use dots.
+
+       * mswindows.c (ws_hangup): Call log_request_redirect_output.
+
+       * utils.c (fork_to_background): Print the PID of the child
+       process.
+
+       * log.c (log_request_redirect_output): Set a flag that output
+       redirection has been requested.  Doing anything else in a signal
+       handler is unsafe.
+       (check_redirect_output): New function: check whether redirection
+       has been requested and, if so, call redirect_output().
+       (logputs): Call check_redirect_output.
+       (logprintf): Ditto.
+       (debug_logprintf): Ditto.
+       (redirect_output): Print clearer messages.
+
+       * main.c (redirect_output_signal): Don't call
+       redirect_output_signal directly.  Instead, call
+       log_request_redirect_output.
+
+       * utils.c (memfatal): Ditto.
+
+       * progress.c (display_image): Use it.
+
+       * log.c (log_set_save_context): New function: allow the caller to
+       turn off saving log context lines.
+
 2001-12-10  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * host.c (address_list_set_faulty): Uncomment a sanity check.