Bug #21128. Reviewed by John Darrington.
[pspp-builds.git] / src / output / ChangeLog
index 8c7c2215a60f29f9d80c665c90c8cb01a85ccf62..adabbcde32e077796e704b26296eb68ac8332ff1 100644 (file)
@@ -1,3 +1,40 @@
+2007-09-22  Ben Pfaff  <blp@gnu.org>
+
+       Bug #21128.  Reviewed by John Darrington.
+
+       * output.c (TWO_CHARS macro): Removed.
+       (outp_evaluate_dimension): Changed interface, rewritten.  Updated
+       all callers.
+       (internal_get_paper_size): Removed.
+       (parse_unit): New function.
+       (parse_paper_size): New function.
+       (outp_get_paper_size): Tweaked interface, rewritten.
+       (get_standard_paper_size): New function.
+       (read_paper_conf): New function.
+       (get_default_paper_size): New function.
+
+       * postscript.c (ps_open_driver): Use system default paper size as
+       default paper, instead of hard-coding US letter.
+       (handle_option): Allow outp_evaluate_dimension to supply error
+       message instead of generating it here.
+
+2007-09-21  Ben Pfaff  <blp@gnu.org>
+
+       * ascii.c (struct ascii_driver_ext): New member reported_error.
+       (ascii_open_driver): Initialize reported_error.
+       (ascii_open_page): Initialize the rest of the ascii driver data
+       even if we fail to open the output file.  Fixes bug #21117.
+
+       * chart.c (chart_create): Initialize lp member.  Fixes crash if
+       chart initialization fails.
+
+       * html.c (html_open_driver): Don't free chart_file_name in error
+       case, since html_close_driver will do that.  Fixes crash if file
+       open fails.
+
+       * postscript.c (ps_close_driver): Don't try to write to file if
+       it's null.  Fixes crash if file open fails.
+
 2007-09-08  John Darrington <john@darrington.wattle.id.au>     
 
        * postscript.c html.c: Remove #include "getline.h" to concurr with