Add support for charts to ASCII driver. Bug #16364.
authorBen Pfaff <blp@gnu.org>
Mon, 13 Aug 2007 00:26:31 +0000 (00:26 +0000)
committerBen Pfaff <blp@gnu.org>
Mon, 13 Aug 2007 00:26:31 +0000 (00:26 +0000)
commit6b40f1315cf46ca2417c10ce08bcf62941bdd305
tree9651158f5556c6dbcd286b89def61001ae696639
parent255de8df66dde4395a62d7cfc84adf317f435744
Add support for charts to ASCII driver.  Bug #16364.
Thanks to John Darrington for review.

* ascii.c (struct ascii_driver_ext): Add chart_type,
chart_file_name, chart_cnt members.
(ascii_open_driver): Initialize new members.
(static array option_tab): Add new options, reorganize slightly.
(handle_option): Handle new options.
(ascii_submit): New function.
(ascii_chart_initialise): Implement.
(ascii_chart_finalise): Implement.

* chart.c (chart_init_separate): New function.
(chart_finalise_separate): New function.

* dummy-chart.c (chart_init_separate): New function.
(chart_finalise_separate): New function.

* html.c (html_open_driver): Don't free chart_file_name.
(html_close_driver): Do free chart_file_name.
(handle_option): Only give an error for chart-files options that
don't contain "#".
(html_initialise_chart): Use new chart_init_separate.
(html_finalise_chart): Use new chart_finalise_separate.
doc/configuring.texi
src/output/ChangeLog
src/output/ascii.c
src/output/chart.c
src/output/chart.h
src/output/dummy-chart.c
src/output/html.c