2004-07-28 Teemu Ikonen * gnuplot.l: New file. Move gnuplot interface here from the parser. * pt-plot.cc, pt-plot.h: Delete. * Makefile.in: Remove references to pt-plot.*. Add support for rawcommands and the new gnuplot code and an option for disabling gnuplot support in the build. * octave.cc, pt-all.h: Remove references to pt-plot.* * defun-int.h: Add support for DEFRAWCMD macro. * defun.cc: Likewise. * defun.h: Likewise. * mkbuiltins: Likewise. * mkgendoc: Likewise. * dirfns.cc: Remove reference to pt-plot.h, (octave_change_to_directory): Comment out the call to do_external_plotter_cd, at least for now. * file-io.cc: Remove reference to pt-plot.h. Add tmp-file handling from pt-plot.cc here. (tmp_files): Move to file-io.cc. (fprintf): Remove unused variable return_char_count. (save_in_tmp_file): Move to file-io.cc. (mark_for_deletion): Move to file-io.cc. (cleanup_tmp_files): Move to file-io.cc. * file-io.h: Add definitions for new functions in file-io.cc * help.cc: Remove help strings for gplot and gsplot. * lex.h, lex.l: Remove everything plotting related, add support for rawcommands. (doing_rawcommand): New lexical_feedback variable * ls-oct-ascii.cc: Remove reference to non-existant file tree-plot.cc from a comment. * octave.gperf: Remove plotting keywords. * parse.y: Remove plotting related grammar. (make_plot_command): Delete. * pt-bp.cc: (tree_breakpoint::visit_plot_command, tree_breakpoint::visit_plot_limits, tree_breakpoint::visit_plot_range, tree_breakpoint::visit_subplot, tree_breakpoint::visit_subplot_axes, tree_breakpoint::visit_subplot_list, tree_breakpoint::visit_subplot_style, tree_breakpoint::visit_subplot_using): Delete * pt-bp.h: Likewise. * pt-check.cc: (tree_checker::visit_plot_command, tree_checker::visit_plot_limits, tree_checker::visit_plot_range, tree_checker::visit_subplot, tree_checker::visit_subplot_axes, tree_checker::visit_subplot_list, tree_checker::visit_subplot_style, tree_checker::visit_subplot_using): Delete. * pt-check.h: Likewise. * pt-pr-code.cc: (tree_print_code::visit_plot_command, tree_print_code::visit_plot_limits, tree_print_code::visit_plot_range, tree_print_code::visit_subplot, tree_print_code::visit_subplot_axes, tree_print_code::visit_subplot_list, tree_print_code::visit_subplot_style, tree_print_code::visit_subplot_using): Delete. * pt-pr-code.h: Likewise. * pt-walk.h: Remove references to plotting related classes and functions * symtab.h: Add support for rawcommands. (symbol_record::void mark_as_rawcommand, symbol_record::unmark_rawcommand, symbol_record::is_rawcommand): New functions. * token.cc: (token::token (plot_tok_type t, int l, int c), token::pttype): Delete. * token.h: (plot_tok_type): Delete. * toplev.cc: Remove reference to pt-plot.h, (do_octave_atexit): Remove call to close_plot_stream(). * variables.cc: (mark_as_command, unmark_command): Documentation fixes. (iscommand, mark_as_rawcommand, unmark_rawcommand, israwcommand): New command style functions. (is_marked_as_rawcommand, mark_as_rawcommand, unmark_rawcommand, is_rawcommand_name): New functions. (rawcommand_set): New variable. variables.h: Add is_rawcommand_name.