home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / octave-1.1.1p1-base.tgz / octave-1.1.1p1-base.tar / fsf / octave / ChangeLog < prev    next >
Text File  |  1995-02-23  |  135KB  |  3,549 lines

  1. Thu Feb 23 09:32:01 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  2.  
  3.     * Version 1.1.1 released.
  4.  
  5.     * src/idx-vector.cc (idx_vector (const Range&)): Always initialize
  6.     data to 0.
  7.     (idx_vector (const Matrix&, int, const char *, int)): Likewise.
  8.     (idx_vector (const idx_vector&): Likewise, do it first.
  9.     * src/idx-vector.h (~idx_vector): Simply delete data.
  10.  
  11.     * octMakefile.in: Combine libcruft, liboctave,dld, info, readline,
  12.     kpathsea, src, scripts, and doc targets into just one.
  13.     (all): Depend on $(SUBDIRS).
  14.     * libcruft/Makefile.in (make-objects): Change to $(SUBDIRS)
  15.     target that doesn't use a loop.
  16.     (all): Depend on $(SUBDIRS).
  17.  
  18. Wed Feb 22 07:27:18 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  19.  
  20.     * Don't leave @LIBDLD@ on a line by itself.
  21.  
  22.     * src/tc-rep-idx.cc (fortran_style_matrix_index): Handle zero-one
  23.     indexing as a separate case.
  24.     (fortran_style_matrix_index): Check for out-of-bounds index.
  25.  
  26.     * src/idx-vector.cc (init_state): Don't forget len, num_zeros, and
  27.     the one_zero flag for vectors of all zero elements.
  28.     (convert_one_zero_to_idx): Set data to zero after deleting it.
  29.  
  30.     * src/data.cc (check_dimensions):
  31.     Handle case of treat_neg_dim_as_zero = "warn".
  32.  
  33. Tue Feb 21 08:18:19 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  34.  
  35.     * src/tree-misc.cc (initialize_undefined_elements): Don't declare
  36.     arg const.
  37.  
  38.     * src/sysdepl.cc (octave_getcwd): Declare arg as char *, not
  39.     const char *.
  40.  
  41.     * src/input.cc (match_sans_spaces): Initialize ep from copy of
  42.     arg, not arg itself.
  43.  
  44.     * octMakefile.in (snapshot-version): Look for OCTAVE_VERSION,
  45.     not just VERSION.  Don't end #define with a semicolon.
  46.  
  47. Mon Feb 20 15:57:17 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  48.  
  49.     * scripts/image/Makefile.in (clean): Delete octtopnm.o and octtopnm.
  50.  
  51. Fri Feb 17 08:12:09 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  52.  
  53.     * src/variables.cc (maybe_add_default_load_path): New function,
  54.     extracted from default_path(), which no longer needs it.
  55.     * src/user-prefs.cc (sv_loadpath): Call it here.
  56.  
  57. Wed Feb 15 15:13:22 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  58.  
  59.     * src/octave.cc (verbose_usage): Format help message more like
  60.     the help messages of other GNU programs.
  61.  
  62.     * src/variables.cc (install_builtin_variables): New builtin
  63.     variable, suppress_verbose_help_message.
  64.     * src/user-prefs.cc (user_prefs): New field,
  65.     suppress_verbose_help_message.
  66.     * src/user-prefs.cc (suppress_verbose_help_message): New function.
  67.     * src/help.cc (additional_help_message): Check
  68.     user_pref.suppress_verbose_help_message before printing message.
  69.  
  70. Tue Feb 14 15:36:01 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  71.  
  72.     * src/sysdep.cc (octave_chdir): New function.
  73.     * src/dirfns.cc (change_to_directory): Use it.
  74.  
  75.     * src/sysdep.cc (octave_getcwd): New function.
  76.     * src/dirfns.cc (get_working_directory, Fpwd): Use it.
  77.     * src/input.cc (decode_prompt_string): Likewise.
  78.  
  79.     * src/version.h (VERSION): New #define.
  80.     (version_string): Use it.
  81.     (OCTAVE_COPYRIGHT): New #define.
  82.     (OCTAVE_NAME_AND_VERSION): New #define.
  83.     (OCTAVE_NAME_VERSION_AND_COPYRIGHT): New #define.
  84.     (OCTAVE_STARTUP_MESSAGE): New #define.
  85.     * src/octave.cc (main): Use new macros from version.h
  86.     (print_version_and_exit): Likewise.
  87.     (verbose_usage): Likewise.
  88.     (Fwarranty): Likewise.
  89.  
  90.     * Makeconf.in (version): Make work with new version.h.
  91.     * octMakefile.in (snapshot-version): Likewise.
  92.  
  93.     * src/variables.cc (default_path): Use SEPCHAR instead of literal ':'.
  94.     * src/utils.cc (pathstring_to_vector): Likewise.
  95.     * src/octave.cc (initialize_globals): Likewise, use SEPCHAR_STR to
  96.     construct format string instead of using literal `:'.
  97.  
  98.     * configure.in: Call AC_DEFINE for SEPCHAR and SEPCHAR_STR.
  99.     * acconfig.h: Add #undefs for SEPCHAR and SEPCHAR_STR.
  100.  
  101.     * src/dynamic-ld.cc: Don't include dld.h unless WITH_DLD.
  102.  
  103.     * src/octave.cc (parse_and_execute): Close file.
  104.  
  105. Mon Feb 13 19:39:12 1995  John Eaton  (jwe@bullwinkle.che.utexas.edu)
  106.  
  107.     * scripts/general/linspace.m: Delete.
  108.     * src/data.cc (Flinspace): New function.
  109.     * liboctave/dRowVector.cc (linspace): New function.
  110.     * liboctave/CRowVector.cc (linspace): New function.
  111.  
  112. Sun Feb 12 21:23:54 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  113.  
  114.     * src/load-save.cc (read_mat_binary_data): Only convert to string
  115.     if the number of rows is 1.
  116.  
  117.     * scripts/image/saveimage.m: Force ASCII save.
  118.  
  119. Thu Feb  9 08:46:09 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  120.  
  121.     * scripts/elfun/sec.m: Returned variable is `w', not `y'.
  122.     * scripts/elfun/sech.m: Likewise.
  123.  
  124. Wed Feb  8 10:51:33 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  125.  
  126.     * src/f-find.cc (find_nonzero_elem_idx): Increment i, j indices by
  127.     1 before stashing them.
  128.  
  129. Fri Feb  3 15:44:03 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  130.  
  131.     * src/tree-misc.cc
  132.     (tree_parameter_list::initialize_undefined_elements): New function. 
  133.     * src/tree-expr.cc (tree_function::eval): Use it to define return
  134.     values.
  135.     (tree_simple_assignment_expression:eval): Complain if RHS is undefined.
  136.     (tree_multi_assignment_expression:eval): Complain if any of the
  137.     RHS values are undefined. 
  138.     * src/user-prefs.h (init_user_prefs): New structure element,
  139.     define_all_return_values.
  140.     * src/user-prefs.cc (define_all_return_values): New function.
  141.     * src/variables.cc (install_builtin_variables): Add DEFVARs for
  142.     default_return_value and define_all_return_values.
  143.     (builtin_any_variable): New function.
  144.  
  145. Wed Feb  1 08:02:28 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  146.  
  147.     * src/parse.y (parse_error): Call yyerror() here.
  148.     (input): Not here.    
  149.  
  150.     * src/lex.l (handle_string): Call have_continuation and
  151.     have_ellipsis_continuation with 0 arg, to disallow comments after
  152.     continuation characters inside strings.
  153.     (have_continuation): New arg, trailing_comments_ok with default
  154.     value of 1.  If !trailing_comments_ok, don't allow comments to
  155.     follow continuation token.
  156.     (have_ellipsis_continuation): New arg, trailing_comments_ok, with
  157.     default value of 1.  Pass it along to have_continuation.
  158.  
  159.     * src/parse.y (yyerror): Call parse_error with first arg == "%s",
  160.     since msg might contain format specifiers.
  161.  
  162.     * src/tree-expr.cc (tree_index_expression::eval (int)): Detect
  163.     undefined elements in argument list and print error message.
  164.     (tree_index_expression::eval (int, int, const Octave_object&)):
  165.     Likewise.
  166.  
  167.     * configure.in: Only set CFLAGS, CXXFLAGS, LDFLAGS, FFLAGS, and
  168.     F2CFLAGS if they are not already set in the environment.
  169.  
  170.     * doinstall.sh: Add -print to find commands.
  171.  
  172. Tue Jan 31 13:26:53 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  173.  
  174.     * src/lex.l (<MATRIX>{S}*\,{S}*): Eat any trailing continuation
  175.     here.  Use value returned from eat_continuation to decide whether
  176.     to insert a row separator.
  177.     (<MATRIX>{S}+): Likewise.
  178.     (<MATRIX>{SNLCMT}*\n{SNLCMT}*): Eat any trailing whitespace here.
  179.  
  180.     * lex.l (ATE_SPACE_OR_TAB, ATE_NEWLINE): New macros.
  181.     (eat_whitespace): Use them to set return value.
  182.  
  183. Mon Jan 30 14:02:24 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  184.  
  185.     * src/user-prefs.cc (set_output_precision): Don't pass NaN to NINT.
  186.     (set_output_max_field_width): Likewise.
  187.     (set_save_precision): Likewise.
  188.     * src/file-io.cc (return_valid_file): Likewise.
  189.     (fgets_internal): Likewise.
  190.     (fseek_internal): Likewise.
  191.     (process_printf_format): Likewise.
  192.     (fread_internal): Likewise.
  193.     * src/f-colloc.cc (Fcolloc): Likewise.
  194.     * src/f-fft.cc (Ffft): Likewise.
  195.     * src/f-fft2.cc (Ffft2): Likewise.
  196.     * src/f-ifft.cc (Fifft): Likewise.
  197.     * src/f-ifft2.cc (Fifft2): Likewise.
  198.     * src/f-npsol.cc (do_npsol_option): Likewise.
  199.     * src/f-qpsol.cc (do_qpsol_option): Likewise.
  200.     * src/f-rand.cc (Frand): Likewise.
  201.     * src/pr-output.cc (all_elements_are_ints): Likewise.
  202.     * src/tree-plot.cc (subplot_using::eval): Likewise.
  203.     (subplot_style::print): Likewise.
  204.     * src/sysdep.cc (Fpause): Likewise.
  205.     * src/tc-rep.cc (TC_REP::valid_as_scalar_index): Likewise.
  206.     (TC_REP::valid_as_zero_index): Likewise.
  207.     (TC_REP::convert_to_str): Likewise.
  208.     * src/tc-rep-idx.cc (TC_REP::do_scalar_index): Likewise.
  209.     (TC_REP::fortran_style_matrix_index): Likewise.
  210.     * src/tc-rep-ass.cc (TC_REP::fortran_style_matrix_assignment):
  211.     Likewise.
  212.  
  213. Sat Jan 28 13:09:44 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  214.  
  215.     * scripts/general/tril.m: Allow the k == nc for k > 0 and
  216.     -k == nr for k < 0.  Make faster by eliminating nested loops.
  217.     * scripts/general/triu.m: Likewise.
  218.  
  219. Fri Jan 27 08:32:10 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  220.  
  221.     * libcruft/lapack: Update with files from LAPACK 2.0.
  222.  
  223.     * src/lex.l (\[{S}*): Don't call fixup_column_count() here.
  224.     Don't use TOK_RETURN here, since we call eat_whitespace().
  225.     (eat_whitespace): Decrement current_input_column when calling
  226.     yyunput().
  227.     (<MATRIX>{SNLCMT}*\n{SNLCMT}): Always call fixup_column_count().
  228.  
  229.     * src/parse.y (rows): Don't accept repeated semicolons.
  230.     (matrix_row): Likewise, for commas.
  231.  
  232.     * src/Makefile.in (LIBOBJS): Delete.
  233.  
  234.     * liboctave/f77-uscore.h: Don't use C++ style comments.
  235.  
  236.     * octMakefile.in (DISTDIRS): Don't include bsd-math.
  237.     * src/Makefile.in (VPATH): Don't include bsd-math directory.
  238.     (SOURCES): Include acosh.c, asinh.c, atanh.c, erf.c erfc.c, and
  239.     lgamma.c.
  240.     * configure.in: Create libcruft/slatec-fn/Makefile.
  241.     Use AC_CHECK_FUNCS to look for acosh, asinh, atanh.
  242.     Don't do anything special if they are missing.
  243.     * src/acosh.c, src/asinh.c, src/atanh.c, src/erf.c, src/erfc.c,
  244.     src/lgamma.c: New files.
  245.     * acconfig.h: Delete #undefs for ACOSH_MISSING, ASINH_MISSING,
  246.     and ATANH_MISSING.
  247.     * libcruft/Makefile.in (CRUFT_DIRS): Add slatec-fn.
  248.     * libcruft/slatec-fn: New directory.
  249.  
  250.     * configure.in: Don't try to use IEEE floating point on m68k HP
  251.     systems.
  252.     
  253. Thu Jan 26 12:57:05 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  254.  
  255.     * src/lex.l (maybe_unput_comma):  New function, extracted from
  256.     handle_identifier().  Correctly handle the dot in things like
  257.     `a.b' inside matrix lists.
  258.     (handle_identifier): Use it.  Don't allow things like [a .1] or
  259.     [a.b .1] to fool us.
  260.  
  261. Wed Jan 25 08:04:16 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  262.  
  263.     * scripts/Makefile.in (realclean): Don't depend on distclean.  Do
  264.     delete Makefile here.
  265.  
  266.     * flibs.sh: Also check for /*values-*.o, for Sun Fortran 2.x.
  267.     * configure.in (FLIB_LIST, CXXLIB_LIST, FLIB_PATH, CXXLIB_PATH):
  268.     Delete any .o files found here.
  269.     When checking for -lm, also append -lc on Linux systems.
  270.  
  271.     * mkinstalldirs: Create directories with mode 0755, to avoid
  272.     problems because the installers umask is too restrictive.
  273.  
  274.     * octave-bug.in: Don't use rmail, it crashes on Ultrix systems if
  275.     the message file isn't just right.  Use nested if statements
  276.     instead of ||, for Ultrix /bin/sh.  Avoid Ultrix awk crash.
  277.  
  278.     * scripts/linear-algebra/trace.m: Handle row and column vectors as
  279.     a special case.
  280.     * scripts/linear-algebra/null.m: Likewise.
  281.     * scripts/linear-algebra/orth.m: Likewise.
  282.  
  283. Tue Jan 24 08:11:51 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  284.  
  285.     * octave-bug.in: Add F2C, F2CFLAGS, FLIBS, and LDFLAGS to report.
  286.     * Makefile.in (octave-bug): Substitute them.
  287.  
  288. Mon Jan 23 20:42:55 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  289.  
  290.     * src/tree-misc.cc (tree_if_clause::is_else_clause): New function.
  291.     (tree_if_command_list::print_code): Use it to decide whether to
  292.     print "else" or "elseif" here.
  293.     (tree_if_clause::print_code): Don't print "else" here.
  294.  
  295.     * scripts/image/colormap.m: Fix logic for initializing default
  296.     colormap and handling subsequent calls with no arguments.
  297.  
  298.     * src/lex.h (TOK_PUSH_AND_RETURN): Correct last change.
  299.  
  300. Sun Jan 22 18:02:37 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  301.  
  302.     * src/lex.l (handle_identifier): Handle incrementing
  303.     current_input_column here.
  304.     ({IDENT}{S}*): Not here.
  305.  
  306.     * src/lex.h (TOK_PUSH_AND_RETURN): New macro.
  307.     * src/lex.l: Use it.
  308.  
  309.     * src/parse.y (yyerror): If printing input line, always print `^'
  310.     error marker too.
  311.  
  312.     * src/parse.y (command [BREAK]): Allow break to occur in function
  313.     bodies too.
  314.     * src/tree-expr.cc (tree_function::eval): Also check to see if
  315.     function exited because of a break statement.
  316.  
  317. Fri Jan 20 10:48:18 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  318.  
  319.     * config.guess: Replace with current version from FSF.
  320.     * config.sub: Likewise.
  321.  
  322.     * src/tempname.c: Include statdefs.h.
  323.  
  324.     * src/tree-expr.cc (eval): Improve error messages.
  325.  
  326. Thu Jan 19 08:33:50 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  327.  
  328.     * src/lex.l (handle_string): Properly handle pending escapes.
  329.     Call error() for unterminated string constants.
  330.     * src/parse.y (input): For parse errors, call yyerror().
  331.  
  332.     * test/config/unix-octave.exp (octave_start): Correctly set OSPATH
  333.     from $OCTAVE_SCRIPT_PATH, not to the string OCTAVE_SCRIPT_PATH.
  334.  
  335.     * test/Makefile.in (OCTAVE_SCRIPT_PATH): Delete surrounding quotes
  336.     in definition.
  337.  
  338.     * doc/texinfo.tex: Move to version 2.140.
  339.  
  340.     * src/f-rand.cc (Frand): Use different method for generating
  341.     initial seed so that it varies more each time Octave starts.
  342.  
  343.     * src/file-io.cc (feof_internal): Use args(0), not args(1).
  344.  
  345.     * src/Makefile.in (SOURCES): Use tempnam.c, not tmpnam.c.
  346.     * src/tempnam.c: New file, from the GNU C library.
  347.  
  348. Wed Jan 18 08:10:31 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  349.  
  350.     * src/user-prefs.h (user_prefs): New field, read_only_constants.
  351.     * src/user-prefs.cc (read_only_constants): New function.
  352.     * src/variables.cc (install_builtin_variables): Add DEFVAR for
  353.     read_only_constants, but leave it #if 0'd out since we're not
  354.     really ready for it yet..
  355.     * src/symtab.cc (symbol_record::read_only_error): Check
  356.     user_prefs.read_only_constants to see if it is ok to redefine
  357.     constants that are marked as read-only.
  358.  
  359.     * src/user-prefs.h (user_prefs): New field, ps4.
  360.     * src/user-prefs.cc (sv_ps4): New function.
  361.     * src/variables.cc (install_builtin_variables): Add DEFVAR for PS4.
  362.     * src/input.cc (do_input_echo): New function.  Use PS4 variable as
  363.     prefix of echoed input.  Send echoed input through the pager.
  364.  
  365.     * flibs.sh: Ignore -lang* options.
  366.  
  367.     * src/load-save.cc (Fsave): Send `save - ...' output through the
  368.     pager.
  369.  
  370.     * doc/Makefile.in: Create and distribute refcards of various sizes.
  371.     Delete rules for making refcard.tex from refcard.tex.in.
  372.     Don't make or distribute refcard-local.
  373.     * doc/refcard.tex: Handle setting paper size with \refcardsize.
  374.     * doc/refcard-a4.tex, doc/refcard-legal.tex, doc/refcard-letter.tex:
  375.     New files.
  376.  
  377. Mon Jan 16 13:19:29 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  378.  
  379.     * src/tc-rep-ass.cc (TC_REP::do_scalar_assignment): Handle
  380.     assignments like a(0) = [].
  381.     * src/tc-inlines.h (valid_zero_index): New function.
  382.     * src/tc-rep.cc (valid_as_zero_index): New function.
  383.     * src/tree-const.h (valid_as_zero_index): New function.
  384.  
  385.     * src/parse.y (func_def2): Check user_prefs before warning about
  386.     function name and function file name conflict.
  387.     * src/user-prefs.h (user_prefs): New field, warn_function_name_clash.
  388.     * src/user-prefs.cc (warn_function_name_clash): New function.
  389.     * src/variables.cc (install_builtin_variables): Add DEFVAR for
  390.     warn_function_name_clash.
  391.  
  392.     * scripts/image/octtopnm.c: Include stdlib.h instead of malloc.h.
  393.  
  394. Sun Jan 15 15:08:04 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  395.  
  396.     * readline/rldefs.h: Use new #defines for directory headers now
  397.     that we are using autoconf 2.
  398.  
  399.     * scripts/special-matrix/hankel.m: Use .', instead of '.
  400.  
  401.     * src/input.cc (match_sans_spaces): Use strcmp, not strncmp.
  402.  
  403.     * src/tc-rep-ass.cc (TC_REP::fortran_style_matrix_assignment):
  404.     For scalar index, don't do assignment if RHS and LHS are both empty.
  405.  
  406.     * src/data.cc (Fsize): Handle optional second arg.
  407.  
  408.     * src/tree-expr.cc (tree_function::eval (int)): Correctly set
  409.     nargin and nargout to zero when evaluating function.
  410.  
  411.     * src/lex.l (handle_string): Correct handling of string escapes.
  412.  
  413. Thu Jan 12 15:25:34 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  414.  
  415.     * Version 1.1.0 released.
  416.  
  417.     * octMakefile.in (bin-dist-tar): Ignore errors on strip commands.
  418.  
  419.     * src/tree-expr.cc (tree_builtin::eval (int)): Set nargout to 0
  420.     when calling function.
  421.  
  422.     * doc/Makefile.in (FORMATTED): Add refcard.dvi and refcard.ps so
  423.     that they are distributed along with the other docs.
  424.     * octMakefile.in (clean-doc-dist-tar): Delete target.
  425.     (doc-dist): Depend on doc-dist-tar, not    clean-doc-dist-tar. 
  426.  
  427. Tue Jan 10 14:29:43 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  428.  
  429.     * src/help.cc (print_usage): Print warning if symbol isn't found.
  430.  
  431.     * src/utils.cc (Fundo_string_escapes): Fix typo in call to
  432.     print_usage().
  433.  
  434.     * src/octave.cc (Fsystem): Correctly compute exit code.
  435.  
  436.     * scripts/miscellaneous/etime.m: Complain if args are not the
  437.     right length, not if they are.  Reverse sense of test for years.
  438.     Duh.
  439.  
  440.     * src/f-find.cc (find_to_fortran_idx): For the case of one output
  441.     argument, return a row vector if the original argument to find was
  442.     a row vector.
  443.  
  444. Mon Jan  9 12:57:27 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  445.  
  446.     * src/lex.l (grab_help_text): Always overwrite help_buf.
  447.     ({CCHAR}): Don't call grab_help_text() if there is already
  448.     something in help_buf.
  449.  
  450. Sat Jan  7 12:28:35 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  451.  
  452.     * configure.in (HOST_CXXFLAGS): New variable to substitute.
  453.     * Makeconf.in (ALL_CXXFLAGS, UGLY_ALL_CXXFLAGS, BUG_CXXFLAGS):
  454.     Add $(HOST_CXXFLAGS).
  455.  
  456. Fri Jan  6 13:07:09 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  457.  
  458.     * scripts/special-matrix/toeplitz.m: Use .' instead of '.
  459.  
  460. Tue Jan  3 18:14:33 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  461.  
  462.     * test: Rewrite many tests to not run Octave interactively.  This
  463.     makes the log files much more readable.
  464.  
  465.     * octMakefile.in (clean-tar): Delete octave-test/npsol directory,
  466.     not just test/octave.test/npsol.exp.  Likewise, add a command for
  467.     deleting qpsol tests.
  468.  
  469. Mon Jan  2 20:02:10 1995  John Eaton  <jwe@schoch.che.utexas.edu>
  470.  
  471.     * src/octave.cc (main): Return 0 if error_state is not set.
  472.  
  473.     * src/error.cc (error_1): New function.
  474.     (error): Use it.
  475.     (parse_error): New function.
  476.     * src/parse.y: Never call error and yyerror; just use yyerror.
  477.     (yyerror): Improve logic.  Use new parse_error() function so that
  478.     error_state is always set for a parse error.  Don't use
  479.     ostream::form().
  480.     (ABORT_PARSE): Don't call reset parser here.
  481.     (colon_expr): Don't call yyerror here.  An error message is
  482.     printed by tree_colon_expression::chain() if it fails.
  483.  
  484. Mon Dec 26 20:11:01 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  485.  
  486.     * src/tree-expr.cc (eval): Only call multi-arg form of eval for
  487.     object_to_eval if necessary.
  488.  
  489. Fri Dec 23 00:08:08 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  490.  
  491.     * src/lex.l: Don't increment promptflag anywhere.
  492.     (eat_continuation): New function.
  493.     (eat_whitespace): Handle embedded continuations.  Return nonzero
  494.     if whitespace consumed.
  495.     (handle_close_brace): Don't pass yytext.  Do pass flag indicating
  496.     whether whitespace follows brace.
  497.     (handle_identifier): Check for next token being `=' here.  Pass
  498.     flag indicating whether whitespace follows identifier.
  499.     (<MATRIX>{SNLCMT}*;{SNLCMT}*): Call eat_whitespace() here.
  500.     ({IDENT}{S}*): Call eat_continuation() here.
  501.     (do_comma_insert_check): And here, but put a space back if
  502.     whitespace is gobbled.
  503.     (have_continuation, have_ellipsis_continuation): Decrement
  504.     promptflag here.
  505.  
  506. Wed Dec 21 09:56:49 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  507.  
  508.     * src/tree-plot.cc (Fclearplot): Send "set nolabel" too.
  509.  
  510. Mon Dec 19 17:50:15 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  511.  
  512.     * src/tree-plot.h, src/tree-plot.cc (subplot): Rename using to
  513.     using_clause to avoid new C++ keyword.  Rename title and style to
  514.     match.
  515.  
  516. Fri Dec 16 00:09:01 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  517.  
  518.     * configure.in: Don't check for fpsetmask.
  519.     * src/sysdep.cc (sysdep_init): Don't check HAVE_FPSETMASK
  520.  
  521. Thu Dec 15 00:28:52 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  522.  
  523.     * src/variables.cc (install_builtin_variables) [default_save_format]: 
  524.     Fix doc string.
  525.  
  526.     * configure.in: Rework DEFAULT_DOT_O_FROM_DOT_F and
  527.     DEFAULT_DOT_C_FROM_DOT_F to avoid embedded newlines.
  528.     * Makeconf.in: Likewise.
  529.  
  530.     * src/pager.cc (flush_output_to_pager): Close stream before
  531.     resetting signal handler.
  532.  
  533.     * src/help.cc (Fhelp): Call fcn_file_in_path here.  Delete it too.
  534.     Print file name before help message.
  535.     * src/variables.cc (get_help_from_file): Don't call
  536.     fcn_file_in_path here.
  537.     (gobble_leading_white_space): Correctly grab only first set of
  538.     comments.
  539.     
  540. Wed Dec 14 11:42:13 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  541.  
  542.     * src/parse.y (pager_buf): Don't make it a fixed-size array.
  543.     * src/variables.cc (get_help_from_file): New function.
  544.     (gobble_leading_white_space): Return first block of comments for
  545.     later use as help string.
  546.     (looks_like_octave_copyright): New function.
  547.     (parse_fcn_file): Stash help from gobble_leading_white_space in
  548.     global help_buf.
  549.     * src/lex.l (grab_help_text): Don't overwrite help found by
  550.     gobble_leading_white_space.
  551.     (reset_parser): Delete help_buf.
  552.     * src/help.cc (Fhelp): Only try to get help from symbol records
  553.     that are defined.  If all else fails, try get_help_from_file.
  554.  
  555.     * src/pager.cc (flush_output_to_pager): Re-initialize pager_buf
  556.     immediately after extracting message.  Delete message immediately
  557.     after sending it to the output stream.  Ignore interrupts while
  558.     running pager.
  559.  
  560.     * octMakefile.in (clean-tar): Delete npsol.exp and any .m files
  561.     that are in the test/octave.test directory.
  562.     (install): Use $(INSTALL), not just install.
  563.  
  564.     * src/lex.l (reset_parser): Don't reset input column or line
  565.     number if reading from a script file or a function file.
  566.     (is_keyword): Don't set line number to 1 if reading function file
  567.     or script file.
  568.     * src/variables.cc (gobble_leading_whitespace): Count lines.
  569.     * src/octave.cc (main): If reading file, set reading_script_file
  570.     and curr_fcn_file_name before calling get_input_from_file().
  571.  
  572.     * src/tc-rep.cc (TC_REP::matrix_value): If implicit_str_to_num_ok,
  573.     convert empty string to empty matrix.
  574.  
  575. Tue Dec 13 20:25:34 1994  Frederick (Rick) A Niles <niles@axp745.gsfc.nasa.gov>
  576.  
  577.     * liboctave/dbleQR.cc, liboctave/dbleQRP.cc, liboctave/CmplxQR.cc,
  578.     liboctave/CmplxQRP.cc: Get economy-sized dimensions correct.
  579.  
  580.     * libcruft/misc/i1mach.f, libcruft/misc/gen-d1mach.c,
  581.     libcruft/ranlib/ignuin.f: Prevent warnings about variable may be
  582.     used before defined.
  583.  
  584. Tue Dec 13 11:07:34 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  585.  
  586.     * src/variables.cc: Change commas_in_literal_matrix to
  587.     whitespace_in_literal_matrix.
  588.     * src/user-prefs.h (user_preferences): Likewise.
  589.     * src/user-prefs.cc (init_user_prefs): Likewise.
  590.     (whitespace_in_literal_matrix): Likewise, rename function.
  591.     * src/lex.l: Likewise.
  592.     (nesting_level): Rename from in_brace_or_paren.
  593.     (<MATRIX>{SNLCMT}*\n{SNLCMT}*): Make separate case from
  594.     <MATRIX>{SNLCMT}*;{SNLCMT}.  Check nesting level to decide whether
  595.     to convert newline to semicolon.
  596.     ({NL}, {CCHAR}): Check nesting level to decide whether to eat
  597.     or return newline. 
  598.     ("("): Decrement promptflag.
  599.     (")"): Increment promptflag.
  600.  
  601. Mon Dec 12 00:02:51 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  602.  
  603.     * scripts/Makefile.in, scripts/*/Makefile.in (install): Don't
  604.     depend on all.
  605.  
  606.     * octMakefile.in: Put doc dir last.
  607.     * doc/Makefile.in (dir): New file.
  608.     (DISTFILES): Distribute dir.
  609.     (install): Install dir if it does not already exist in $(infodir).
  610.     Otherwise, print message.
  611.  
  612.     * src/lex.l: Handle {IDENT}{S}*/= with yyinput() instead of
  613.     trailing context.
  614.     (handle_close_brace): New function.
  615.     (handle_number): New function.
  616.     (have_continuation, handle_ellipsis_continuation, handle_string):
  617.     New functions for handling strings and continuation lines in
  618.     string constants.
  619.     (eat_whitespace): New function eliminates need for NEW_MATRIX
  620.     start state.
  621.  
  622. Sun Dec 11 15:53:03 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  623.  
  624.     * src/lex.l: Eliminate special case for eating whitespace when
  625.     start state is <TEXT_FCN>.
  626.     Merge three cases for handling `]' for <MATRIX> start state.
  627.  
  628. Fri Dec  9 12:21:35 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  629.  
  630.     * src/lex.l: Handle `\' as a continuation character too.
  631.     Allow comments and blanks to follow continuation characters.
  632.     Improve handling of comments in matrices.  Create a few more
  633.     definitions for patterns.  Restructure source.
  634.  
  635.     * configure.in: Check for bcopy too.
  636.  
  637.     * configure.in (gxx_version): Don't use -fno-implicit-templates on
  638.     AIX systems with g++ 2.6.x.
  639.  
  640.     * octave-bug.in: Check for CC: lines too.  Use case-insensitive
  641.     match for To: and Cc: lines.  Actually send file that has header
  642.     separator stripped.  Print list of CC: addresses too.
  643.  
  644.     * src/input.cc (get_user_input): If user enters empty string,
  645.     return empty matrix or empty string.
  646.  
  647.     * src/help.cc (Fhelp, Ftype, Fwhich): Don't allow lookup_by_name
  648.     to execute script files.
  649.  
  650. Thu Dec  8 23:20:02 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  651.  
  652.     * src/tc-rep.cc (print): Don't check `print', which is not a
  653.     variable in this context.
  654.  
  655. Wed Dec  7 10:52:59 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  656.  
  657.     * src/configure.in: Check for fpsetmask.
  658.     * src/sysdep.cc (sysdep_init): Check HAVE_FPSETMASK.  Only call it
  659.     if either __386BSD__ or __FreeBSD__ is defined.
  660.     Don't check __386BSD__ as a condition for including
  661.     floatingpoint.h.
  662.  
  663. Mon Dec  5 12:29:07 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  664.  
  665.     * src/utils.cc: Update directory header macro names for autoconf 2.
  666.     * src/dirfns.cc: Likewise.
  667.  
  668. Sun Dec  4 22:00:40 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  669.  
  670.     * octMakefile.in (DISTFILES): Don't distribute GCC.PATCH, since it
  671.     is not needed with gcc 2.6.3.
  672.  
  673.     * configure.in: Really do disable IEEE floating point functions on
  674.     the Alpha.
  675.  
  676. Wed Nov 30 11:42:44 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  677.  
  678.     * doc/FAQ.texi: New file.
  679.     * doc/Makefile.in: Create info, dvi, and ps files and distribute
  680.     them.
  681.  
  682.     * Makefile.in (all): Expand initial message.
  683.  
  684. Sat Nov 26 21:47:05 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  685.  
  686.     * src/octave.cc (Fcomputer): Always append ios::ends to ostrstream
  687.     before returning.
  688.  
  689. Mon Nov 21 09:41:34 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  690.  
  691.     * src/lex.l: When start state is TEXT_FCN, gobble blanks with
  692.     pattern that matches only blanks before other patterns that can
  693.     also match just blanks.  Always check whether in_brace_or_paren
  694.     stack is empty before trying to use it.
  695.  
  696.     * src/parse.y (make_multi_val_ret): Call constructor for
  697.     tree_simple_assignment_expression with correct number of args.
  698.  
  699.     * scripts/plot/shg.m: New function.
  700.  
  701.     * src/f-qpsol.cc (Fqpsol): Correct for changes in meaning of
  702.     nargin and the way args is loaded.
  703.     * src/f-npsol.cc (Fnpsol): Likewise.
  704.  
  705.     * scripts/polynomial/roots.m: Return empty matrix for scalar or
  706.     empty matrix args.
  707.  
  708.     * src/tree-plot.cc (gnuplot_terminal_type): New static variable.
  709.     (Fset): If this is a set term command, set gnuplot_terminal_type.
  710.     (open_plot_stream): Use gnuplot_terminal_type if it is set.
  711.  
  712.     * src/idx-vector.cc (idx_vector::init): Don't check max value of
  713.     index vector against dimension here.  We may need to resize.
  714.     * src/tc-rep-idx.cc (do_scalar_index): Do check idx-vector max
  715.     value here.
  716.  
  717.     * src/lex.l (is_plot_keyword): Don't set past_plot_range here.
  718.     Don't accept abbreviations for clear.
  719.     (handle_identifier): Don't call is_plot_keyword unless plotting.
  720.     Set past_plot_range here, before checking for plot option keywords.
  721.  
  722. Fri Nov 18 17:25:59 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  723.  
  724.     * src/data.cc (Fis_struct): New function.
  725.  
  726. Thu Nov 17 18:13:56 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  727.  
  728.     * octMakefile.in (DISTFILES): Distribute GCC.PATCH.  Don't
  729.     distribute LIBG++.PATCH.
  730.  
  731.     * src/tree-plot.cc (Fclearplot): Turn off grid and reset
  732.     plot_line_count to zero.
  733.  
  734.     * configure.in: Check for sys/resource.h.
  735.     Create scripts/strings/Makefile too.
  736.  
  737.     * src/timefns.cc: Surround inclusion of sys/resource.h in extern "C".
  738.     Only include sys/resource.h if both HAVE_SYS_RESOURCE_H and
  739.     HAVE_GETRUSAGE are defined.
  740.  
  741. Wed Nov 16 09:26:10 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  742.  
  743.     * scripts/plot/plot_opt.m: New function.
  744.     * scripts/plot/semilogx.m, scripts/plot/semilogx.m,
  745.     scripts/plot/loglog.m, scripts/plot/plot.m: Handle additional
  746.     args and format strings.
  747.     * scripts/plot/polar.m: Handle format arg.
  748.     * scripts/plot/polar_int_1.m, scripts/plot/polar_int_2.m: Extract
  749.     from polar_int.m.
  750.     * scripts/plot/plot_int_1.m, scripts/plot/plot_int_2.m: Extract
  751.     from plot_int.m.
  752.     * scripts/plot/plot_2_s_s.m, scripts/plot/plot_2_v_v.m,
  753.     scripts/plot/plot_2_m_m.m, scripts/plot/plot_2_v_m.m,
  754.     scripts/plot/plot_2_m_v.m: Handle format arg.
  755.  
  756.     * scripts/strings/strcmp.m: Move here.
  757.     * scripts/general/strcmp.m: From here.
  758.  
  759.     * src/xdiv.cc (result_ok): Issue warning instead of error if warn
  760.     is nonzero.
  761.  
  762. Tue Nov 15 15:54:19 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  763.  
  764.     * src/tree-plot.cc (Fcloseplot): Clear title and labels too.
  765.  
  766.     * src/help.cc (keywords): Add entries for all_va_args,
  767.     unwind_protect, unwind_protect_cleanup, and end_unwind_protect.
  768.  
  769.     * liboctave/Makefile.in: Use -include for dependency files.
  770.     * src/Makefile.in: Likewise.
  771.  
  772. Mon Nov 14 10:28:23 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  773.  
  774.     * src/tree-misc.cc (convert_to_const_vector): Resize vector before
  775.     returning.
  776.  
  777.     * src/lex.l (plot_style_token): Also allow "steps", "boxes", and
  778.     "boxerrorbars".
  779.  
  780.     * src/parse.y (UNWIND): Rename from UNWIND_PROTECT.
  781.     (CLEANUP): Rename from UNWIND_PROTECT_CLEANUP.
  782.     (command): Allow optsep after UNWIND and CLEANUP tokens.
  783.     * src/lex.l (is_keyword): Use new token names
  784.  
  785.     * src/tree-const.h (tree_constant::all_va_args): New enum.
  786.     (tree_constant (tree_constant::all_va_args t)): New constructor.
  787.     (is_all_va_args): New function.
  788.     (is_empty, is_zero_by_zero, make_numeric_or_magic,
  789.     make_numeric_or_range_or_magic): Handle    all_va_args type.
  790.     * src/tc-rep.h (constant_type::all_va_args): New enum element.
  791.     (is_all_va_args): New function.
  792.     * src/tc-rep.cc (TC_REP::tree_constant_rep (TC_REP::constant_type),
  793.     TC_REP::print_code): Handle all_va_args.
  794.     * src/tree-misc.cc (tree_argument_list::convert_to_const_vector):
  795.     Handle all_va_args.
  796.     * src/tree-expr.cc (tree_index_expression::eval): After call to 
  797.     tree_argument_list::convert_to_const_vector (), check error_state.
  798.     (tree_simple_assignment_expression::eval): Likewise.
  799.     (tree_function::octave_all_va_args): New function.
  800.     * src/parse.y (ALL_VA_ARGS): New token.
  801.     (arg_list): Handle ALL_VA_ARGS.
  802.     * src/lex.l (is_keyword): Handle all_va_args.
  803.  
  804.     * src/tree-expr.cc (tree_identifier::bump_value): Check read-only
  805.     status of sym before altering value.
  806.     (tree_prefix_expression::eval): Check error_state after call to
  807.     tree_identifier::bump_value ().
  808.  
  809.     * src/variables.cc (bind_nargin_and_nargout): Don't make nargin
  810.     and nargout read only.
  811.  
  812.     * scripts/strings: New subdirectory for string functions.
  813.     * scripts/Makefile.in (SUBDIRS): Add strings.
  814.     * scripts/strings/strcat.m: New function.
  815.  
  816. Fri Nov 11 14:17:31 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  817.  
  818.     * src/load-save.cc (extract_keyword): Allow trailing blanks on the
  819.     input line. 
  820.  
  821. Thu Nov 10 09:53:35 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  822.  
  823.     * scripts/general/reshape.m, scripts/image/ind2gray.m,
  824.     scripts/image/ind2gray.m, scripts/image/ind2rgb.m,
  825.     scripts/image/rgb2ind.m: unwind_protect do_fortran_indexing.
  826.     * scripts/general/strcmp.m: unwind_protect implicit_str_to_num_ok.
  827.     * scripts/miscellaneous/menu.m: unwind_protect page_screen_output.
  828.  
  829.     * src/parse.y (UNWIND_PROTECT, UNWIND_PROTECT_CLEANUP): New tokens.
  830.     (command): Handle unwind-protect.
  831.     * src/lex.l (is_keyword): Handle unwind_protect,
  832.     unwind_protect_cleanup, and end_unwind_protect.
  833.     * src/tree-cmd.cc (tree_unwind_protect_command): New class, to
  834.     handle unwind-protect.
  835.  
  836.     * src/token.h (end_tok_type): New field, end_unwind_protect.
  837.  
  838.     * src/error.cc (verror): Flush pending output to pager here.
  839.     (error): Not here.
  840.  
  841.     * src/tc-rep.cc (force_numeric): Don't jump to top level on error.
  842.     * src/tc-rep.cc, src/tc-rep-ass.cc, src/tc-rep-idx.cc: Check
  843.     error_state after calls to make_numeric* functions.
  844.  
  845.     * src/f-lpsolve.cc: Define Flp_solve and Flp_solve_options, not
  846.     Flpsolve or Flpsolve_options.
  847.  
  848.     * src/utils.cc (Ffile_in_path): Define Ffile_in_path, not
  849.     Ffile_in_pat.
  850.  
  851.     * src/f-inv.cc: Add DEFUN for inverse.
  852.  
  853. Wed Nov  9 09:30:15 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  854.  
  855.     * src/load-save.cc (read_mat_file_header): Check for mopt < 0 too.
  856.     Don't fail if reading mopt fails.
  857.     (save_mat_binary_data): Handle range data as a special case.
  858.     (get_default_save_format): Also accept `mat-binary' and
  859.     `mat_binary'.
  860.     (Fsave): Add ios::trunc to flags for opening output file.
  861.  
  862.     * src/parse.y (func_def2): Stash function name before stashing
  863.     file name.
  864.  
  865.     * src/utils.cc (fcn_file_in_path): Don't append `.m' if the name
  866.     already ends in `.m'.
  867.     (oct_file_in_path): Likewise, for `.oct'.
  868.  
  869.     * src/error.cc (usage): Set error state to -1, so we get traceback
  870.     information after a call to usage.
  871.  
  872.     * src/tree-expr.cc (stash_fcn_file_name): Store full name of the
  873.     file.
  874.  
  875.     * scripts/*/*.m: Change messages to say `invalid' instead of
  876.     `illegal', since no laws are being broken by using these functions
  877.     incorrectly.
  878.  
  879.     * src/timefns.cc (Fcputime): New function.
  880.     * configure.in: Check for getrusage.
  881.  
  882.     * src/scripts/miscellaneous/tic.m: New function.
  883.     * src/scripts/miscellaneous/toc.m: New function.
  884.     * src/scripts/miscellaneous/etime.m: New function.
  885.     * src/scripts/miscellaneous/is_leap_year.m: New function.
  886.  
  887.     * src/error.cc (Fwarning, Fusage): New functions.
  888.     * scripts/*/*.m: Use them instead of printing warning and usage
  889.     messages directly with disp, printf, or fprintf.
  890.  
  891.     * src/file-io.cc (close_files): Check Pix before using.
  892.     (file_count): Delete unnecessary variable.  Instead, use
  893.     DLList::length to get the number of files in the list.
  894.  
  895.     * src/sighandlers.cc (install_signal_handlers): Explicitly ignore
  896.     SIGPOLL and SIGIO.
  897.  
  898. Tue Nov  8 15:26:50 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  899.  
  900.     * scripts/general/logspace.m: Lose fractional part of third arg.
  901.     Don't round, for compatibility with Matlab.
  902.     * scripts/general/linspace.m: Likewise.
  903.  
  904.     * liboctave/CMatrix.cc (row_min, row_max, row_min_loc, row_max_loc):
  905.     Handle case of row containing only real elements.
  906.     (column_min, column_max, column_min_loc, column_max_loc):
  907.     Likewise, for columnwise operations.
  908.     * src/f-minmax.cc (two-complex-arg min, max): Handle case of both
  909.     columns containing only real elements.
  910.  
  911.     * src/variables.cc (Fclear): Pass 0 to symbol_table::list() for
  912.     pats and npats.
  913.  
  914. Mon Nov  7 20:22:36 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  915.  
  916.     * liboctave/dColVector.cc (operator +=): Don't return reference to
  917.     temporary.
  918.     (operator -=): Likewise.
  919.     * liboctave/CMatrix.cc (operator +=, operator -=): Likewise.
  920.  
  921. Sun Nov  6 23:15:24 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  922.  
  923.     * octMakefile.in (DISTSUBDIRS): Don't use $(SUBDIRS) here.
  924.  
  925.     * src/load-save.cc (Fsave): Open output file with mode ==
  926.     ios::out, not ios::in.
  927.  
  928. Sat Nov  5 18:18:11 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  929.  
  930.     * configure.in (HAVE_SYS_SIGLIST): Check for sys_siglist variable,
  931.     even if it isn't declared in a system header.
  932.     * acconfig.h (HAVE_SYS_SIGLIST): Add #undef.
  933.     * src/sighandlers.cc (sys_siglist): Define our own if
  934.     HAVE_SYS_SIGLIST is not defined, not if SYS_SIGLIST_DECLARED is
  935.     not defined.
  936.  
  937.     * src/tree-plot.cc (Fclearplot): New function.
  938.     (clg): Alias for clearplot.
  939.  
  940.     * src/parse.y (CLEAR): New token.
  941.     (statement): Handle PLOT CLEAR as a special case.
  942.     * src/lex.l (is_plot_keyword): Handle CLEAR here too.
  943.  
  944. Fri Nov  4 08:44:57 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  945.  
  946.     * All: Remove remaining #pragma interface/implementation statements.
  947.  
  948.     * src/tree-plot.cc (subplot): Move actual code here from .h file.
  949.  
  950.     * src/tree-expr.cc (tree_expression): Declare destructor virtual.
  951.     Delete unnecessary destructors.
  952.  
  953.     * src/SLStack.h, src/SLStack.cc (operator =): Return reference to
  954.     SLStack, not void.
  955.  
  956.     * src/f-qzval.cc (Fqzval): Rename from Fqzvalue.  Change Help
  957.     and usage messages too.
  958.  
  959.     * scripts/plot/plot_int.m: Really figure out if there are any
  960.     imaginary parts.
  961.  
  962.     * scripts/control/are.m: Fix typo.
  963.  
  964. Thu Nov  3 18:44:11 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  965.  
  966.     * src/load-save.cc (save_ascii_data): Handle new arg,
  967.     strip_nan_and_inf.  Change callers.
  968.     (strip_infnan): New functions.
  969.     (save_three_d): Strip inf and nan values here too.
  970.  
  971.     * src/tree-plot.h (subplot_using): New data have_values and val.
  972.     * src/tree-plot.cc (subplot_using::eval, subplot_using::values):
  973.     New functions.
  974.     (subplot_style::errorbars): New function.
  975.     (subplot::extract_plot_data, subplot::handle_plot_data): New functions.
  976.     (subplot::print): Improve handling of data.
  977.  
  978. Wed Nov  2 08:11:08 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  979.  
  980.     * src/file-io.cc (do_scanf): If reading from stdin, flush stdout
  981.     first.
  982.  
  983.     * configure.in: Leave some comments in the configure file.
  984.     Improve checking for termios.h, termio.h, and sgtty.h.
  985.  
  986.     * src/variables.cc (install_builtin_variables): DEFVAR realmax and
  987.     realmin here.
  988.     * src/sysdep.cc: Instead of DEFUNing them here.
  989.  
  990.     * src/variables.cc (do_who): Accept globbing patterns as args.
  991.     (maybe_list): Handle them here.
  992.  
  993.     * src/symtab.cc (matches_patterns): New function.
  994.     (symbol_table::list, symbol_table::long_list): Accept list of
  995.     patterns, and use matches_patterns to see if the given string is a
  996.     match.  Change all callers.
  997.  
  998.     * src/load-save.cc (read_binary_data): Don't fail if reading
  999.     name_len fails.
  1000.     (do_load): Quit quietly if nothing is left to read.  Clean up doc
  1001.     and name in all cases.
  1002.  
  1003. Tue Nov  1 16:34:20 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1004.  
  1005.     * src/lex.l (")"): Set cant_be_identifier to 1 here too.
  1006.  
  1007.     * src/tree-plot.cc: Use abbreviations for gnpulot plot, splot,
  1008.     replot, with, using, and title commands.
  1009.  
  1010. Mon Oct 31 14:26:12 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1011.  
  1012.     * src/variables.cc (Fclear): Look in global symbol table for
  1013.     user-defined function names.
  1014.  
  1015.     * src/load-save.cc (do_load): New function.
  1016.     (Fload): Use it to avoid assigning streams.
  1017.     (write_binary_header): New function.
  1018.     (save_vars): New function.
  1019.     (Fsave): Use it to avoid assigning streams.
  1020.  
  1021.     * libcruft/linpack/zgesl.f (zgesl): Comment out unused varialbes
  1022.     and statement functions.
  1023.  
  1024.     * src/sysdep.cc (Fisieee): New function.
  1025.     (Frealmax, Frealmin): Ditto.
  1026.  
  1027.     * scripts/miscellaneous/version.m: New file.
  1028.  
  1029. Fri Oct 28 14:52:08 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1030.  
  1031.     * octMakefile.in (distclean): Also delete config.cache and
  1032.     config.log.
  1033.  
  1034.     * Makeconf.in (CPPFLAGS): Allow substitution.
  1035.  
  1036.     * configure.in: Use AC_PREFIX_DEFAULT.
  1037.  
  1038.     * configure.in: Use AC_CANONICAL_HOST instead of doing this
  1039.     ourselves.
  1040.  
  1041.     * install-sh: Rename from install.sh.
  1042.     * octMakefile.in (DISTFILES): Distribute install-sh, not install.sh.
  1043.  
  1044. Mon Oct 24 10:04:27 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1045.  
  1046.     * octave-bug.in: Print message if bug report appears to have been
  1047.     mailed successfully.  Otherwise, exit with error status.
  1048.  
  1049. Fri Oct 21 14:05:10 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1050.  
  1051.     * src/tc-rep-ass.cc (TC_REP::do_vector_assign (rhs, idx-vector)):
  1052.     Handle all four cases of row/colum mixing.  Report an error if the
  1053.     RHS is a matrix.
  1054.  
  1055.     * src/tc-rep-idx.cc (TC_REP::do_index): Don't barf on indexing an
  1056.     empty matrix with colon(s).
  1057.     (TC_REP::do_scalar_index): Create index vector with  z_len = 1.
  1058.     (TC_REP::do_matrix_index (Range, tree_constant)): Correctly handle
  1059.     case of colon as second arg.
  1060.  
  1061.     * octave-bug.in: Put mail commands in subshells so error message
  1062.     really do go away.
  1063.  
  1064. Thu Oct 20 11:05:36 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1065.  
  1066.     * octave-bug.in: If passing $SUBJECT on the command line to a
  1067.     mailer, quote it.  Don't assume /bin/mail takes any args other
  1068.     than a recipient address.  Do the right thing if the To: line
  1069.     changes.
  1070.  
  1071.     * src/tc-rep.cc (TC_REP::rows, TC_REP::columns): Return -1 for
  1072.     anything that doesn't really have rows or columns.
  1073.  
  1074.     * src/tc-rep-idx.cc (fortran_style_matrix_index): Check max and
  1075.     min index values.
  1076.  
  1077.     * Makefile.in (FORCE): New phony target.  Used instead of .PHONY
  1078.     to be portable.
  1079.  
  1080.     * octave-bug.in: Try harder to mail the message.
  1081.  
  1082.     * src/dynamic-ld.cc: Undefine true, false, and boolean after
  1083.     including kpathse/pathsearch.h.
  1084.  
  1085.     * src/sysdep.cc: Include <float.h>.
  1086.  
  1087. Wed Oct 19 10:28:49 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1088.  
  1089.     * configure.in (CXXLIB_LIST, FLIB_LIST, CXXLIB_PATH, FLIB_PATH):
  1090.     Be careful not to match -l or -L in the middle of a word.
  1091.  
  1092.     * src/f-minmax.cc: Correctly handle mixed scalar/matrix args.
  1093.  
  1094.     * octMakefile.in: Rename from Makefile.in.
  1095.     * Makefile.in: New file.  For `all' target, print message and
  1096.     execute make again using octMakefile.  For other targets, just
  1097.     execute make again using octMakefile.
  1098.  
  1099.     * configure.in: Check for sys_siglist.
  1100.     * src/sighandlers.h [! HAVE_SYS_SIGLIST]: Provide an external
  1101.     declaration.
  1102.     * src/sighandlers.cc (generic_sig_handler): New function, replaces
  1103.     most individual signal handler functions.
  1104.     (sigint_handler, sigpipe_handler): Restore signal handler before
  1105.     doing anything else.
  1106.     [! HAVE_SYS_SIGLIST] (sys_siglist): Provide our own definition.
  1107.  
  1108.     * config.guess: Update from FSF sources.
  1109.  
  1110. Tue Oct 18 23:36:24 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1111.  
  1112.     * flibs.sh: Don't pass -Y P,path.  Instead, turn it into a series
  1113.     of -L dir args.
  1114.  
  1115.     * configure.in: Update for autoconf 2.0.
  1116.     Delete support for --enable-run-in-place (it is too hard to make
  1117.     this work reliably...).
  1118.  
  1119. Mon Oct 17 11:40:49 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1120.  
  1121.     * src/user-prefs.cc (init_user_prefs): Declare to return void,
  1122.     not int.
  1123.  
  1124.     * configure.in: Change quote characters around tr command.  Some
  1125.     systems actually do need the []'s for ranges...
  1126.  
  1127. Sun Oct 16 12:22:14 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1128.  
  1129.     * src/tempname.c, src/tmpnam.c: New files.
  1130.     * src/Makefile.in (SOURCES): Add them.
  1131.     * src/dirfns.cc: Delete functions extracted from glibc.
  1132.  
  1133.     * configure.in (localfcnfiledir, localoctfiledir, imagedir):
  1134.     New variables.  Use them to define localfcnfilepath,
  1135.     localoctfilepath, and imagepath.
  1136.     * Makeconf.in: Substitute them here.
  1137.  
  1138.     * src/utils.cc (get_fcn_file_names) [WITH_DLD]: Also match .oct
  1139.     files.
  1140.  
  1141.     * dld/find_exec.c (dld_find_executable): Don't be fooled by
  1142.     directories or other special files in PATH.
  1143.     (ABSOLUTE_FILENAME_P): Also return true if the name includes a
  1144.     `/'.  This isn't necessarily an absolute path, but we will turn it
  1145.     into one later.
  1146.     * src/dynamic-ld.cc (octave_dld_init): Call make_absolute() on
  1147.     value returned from dld_find_executable().
  1148.  
  1149. Sat Oct 15 08:35:13 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1150.  
  1151.     * flibs.sh: Undo previous change.  Only substitute spaces for
  1152.     commas if it looks like we have output from xlf.  Handle -Y and
  1153.     LD_RUN_PATH using gcc's -Xlinker option.
  1154.  
  1155.     * Makefile.in (snapshot-version): Use move-if-change for version.h.
  1156.  
  1157. Fri Oct 14 09:18:08 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1158.  
  1159.     * scripts/image/Makefile.in (SOURCES): Don't forget octtopnm.c.
  1160.  
  1161.     * Makefile.in (BINDISTFILES): Distribute octave-bug too.
  1162.  
  1163.     * configure.in (imagepath): Install at same level as fcnfiledir,
  1164.     not below it.
  1165.  
  1166.     * doinstall.sh: Correctly extract version numbers that are not all
  1167.     digits.  Also install images too.  Also install octaverc.  Ask
  1168.     octave for the target host type.  Also create site/m and
  1169.     site/oct directories.  Also install octave-bug.
  1170.  
  1171.     * scripts/image/Makefile.in (DISTFILES): Distribute demo image
  1172.     files too.
  1173.  
  1174.     * doinstall.sh: Update for new directory organization.
  1175.  
  1176.     * src/variables.cc (subst_octave_home): Make it work for multiple
  1177.     substitutions.
  1178.  
  1179.     * flibs.sh: Handle -Y P,path:of:lib:dirs output from f77 on Solaris.
  1180.  
  1181.     * src/strfns.cc (Ftoascii): New file, new function.
  1182.     (Fisstr, Fsetstr): Move here, fromd ata.cc.
  1183.  
  1184.     * src/Makefile.in (SOURCES): Include it.
  1185.  
  1186. Thu Oct 13 11:58:03 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1187.  
  1188.     * scripts/signal/filter.m: Postpad `b' before reshaping.
  1189.  
  1190.     * mkinstalldirs: New file.
  1191.     * Makefile.in: Distribute it, don't make mkpath.
  1192.     * All Makefile.in files: Use it instead of mkpath.
  1193.  
  1194.     * src/utils.cc (Foctave_tmp_file): New function.
  1195.  
  1196.     * src/utils.cc (undo_string_escape): Move here from tc-rep.cc,
  1197.     rename from undo_string_escapes, and make extern.
  1198.     (undo_string_escapes): New function, for undoing a whole string.
  1199.     (Fundo_string_escapes): New function.
  1200.  
  1201.     * scripts/miscellaneous/dump_prefs.m,
  1202.     scripts/miscellaneous/dump_1_pref.m: New functions.
  1203.     * scripts/miscellaneous/bug_report.m: Record user preferences in a
  1204.     file and pass the name of the file to octave-bug.  Use
  1205.     octave_tmp_file to generate tmp file name.
  1206.     * octave-bug.in: Accept a final file-name arg as a file that
  1207.     contains a list of user-preferences.
  1208.  
  1209. Wed Oct 12 09:09:37 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1210.  
  1211.     * configure.in: Redefine archlibdir and octfiledir so that oct
  1212.     and exec directories are at the same level as the m directory.
  1213.     Redefine localoctfilepath so that site/oct is a the same level as
  1214.     site/m.
  1215.  
  1216.     * Makeconf.in (F77): Substitute it.
  1217.     (BUG_CFLAGS, BUG_CXXFLAGS): New vars.
  1218.     * configure.in:
  1219.     * scripts/bug_report.m: New file.
  1220.     * octave-bug.in: New file.
  1221.     * Makefile.in (DISTFILES): Distribute octave-bug.in.
  1222.     (dirs_to_make): Add $bindir.
  1223.     (all): Add octave-bug.
  1224.     (octave-bug): New target.
  1225.     (install): Install it.
  1226.     * src/defaults.h.in: Add defines for bindir.
  1227.     * src/Makefile.in (defaults.h): Substitute it.
  1228.     * src/variables.cc (octave_bin_dir): New function.
  1229.     * src/octave.cc (initialize_globals): Also add $bindir to path.
  1230.  
  1231.     * configure.in: Check for gettimeofday. Add AC_TIME_WITH_SYS_TIME.
  1232.     * src/systime.h: New file.
  1233.     * src/timefns.h: Use gettimeofday if available.
  1234.     * src/Makefile.in (INCLUDES): Add systime.h.
  1235.  
  1236. Mon Oct 10 14:34:56 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1237.  
  1238.     * src/octave.cc (verbose_flag): New global variable.
  1239.     (long_opts): Add "verbose".
  1240.     (usage_string): Update.
  1241.     (main): Set verbose_flag if given --verbose.
  1242.     (execute_startup_files): Don't print messages about reading
  1243.     startup files if verbose_flag is not set.
  1244.  
  1245.     * src/tree-expr.cc (apply_mapper_fcn): Handle scalars as a special
  1246.     case, but then just try to convert other arg types to a matrix.
  1247.  
  1248.     * src/f-det.cc (Fdet): Check if arg is complex type, but not
  1249.     necessarily a complex matrix.
  1250.     * src/f-schur.cc (Fschur): Likewise, and also for real types.
  1251.     * src/f-lu.cc (Flu): Likewise.
  1252.     * src/f-minmax.cc (Fmin, Fmax): Likewise.
  1253.  
  1254. Sun Oct  9 21:04:17 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1255.  
  1256.     * src/tc-rep-ass.cc (TC_REP::assign): If LHS is undefined, don't
  1257.     try to force it to be a numeric type.
  1258.  
  1259. Fri Oct  7 09:05:10 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1260.  
  1261.     * configure.in: Define LD_STATIC_FLAG for Alpha OSF/1 1.3 systems.
  1262.  
  1263.     * src/tc-rep-idx.cc (TC_REP::do_index): Only work for numeric
  1264.     types, but don't panic if conversion doesn't work.
  1265.     * src/tc-rep-ass.cc (TC_REP::assign): Likewise.
  1266.  
  1267.     * src/tc-rep.cc (TC_REP::gripe_wrong_type_arg): New function.
  1268.  
  1269.     * src/gripes.cc (gripe_wrong_type_arg): Define here.
  1270.     * src/tree-const.cc: Not here.
  1271.  
  1272. Wed Oct  5 16:24:38 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1273.  
  1274.     * src/file-io.cc (do_scanf): Don't panic if string is NULL.
  1275.  
  1276.     * src/gripes.cc (gripe_unrecognized_float_fmt): New function.
  1277.     (gripe_2_or_3_dim_plot): Ditto.
  1278.     (gripe_unrecognized_data_fmt): Ditto.
  1279.     (gripe_data_conversion): Ditto.  Use it in load-save.cc data
  1280.     conversion routines that aren't implemented yet.
  1281.  
  1282.     * src/load-save.cc (do_double_format_conversion): Don't panic on
  1283.     unrecognized floating point formats.
  1284.     (do_float_format_conversion): Likewise.
  1285.     (write_doubles): Don't panic if data format is unrecognized.
  1286.     (do_save): Likewise
  1287.     (install_loaded_variable): Don't panic for unknown symbol types.
  1288.     (read_binary_data): Also check error_state after calls to read_doubles.
  1289.  
  1290.     * src/symtab.cc (symbol_table::rename): Don't panic if symbol
  1291.     can't be renamed.
  1292.     * src/parse.y (return_list): Abort parse if renaming results in an
  1293.     error.
  1294.  
  1295.     * src/tree-misc.cc (tree_if_command::eval): Don't panic if all
  1296.     (all (cond)) is not a scalar.
  1297.  
  1298.     * src/tree-expr.cc (tree_unary_expression::print_code): Don't
  1299.     panic if expression type is unknown.
  1300.  
  1301.     * src/tree-plot.cc (tree_plot_command::eval): Don't panic if plot
  1302.     is not 2 or 3 dimensional.
  1303.     (tree_plot_command::print_code, subplot::print, save_in_tmp_file):
  1304.     Likewise.
  1305.  
  1306.     * src/variables.cc (alias_builtin): Panic with better message.
  1307.     (subst_octave_home): Don't panic if OCTAVE_HOME doesn't contain
  1308.     OCTAVE_PREFIX.
  1309.  
  1310.     * src/tc-inlines.h (REP_RHS_MATRIX): Use panic_impossible()
  1311.     instead of abort().
  1312.     (REP_ELEM_ASSIGN, CRMATRIX): Likewise.
  1313.  
  1314.     * src/data.cc (Fdiag, make_diag): Do work here.
  1315.     * src/tc-rep.cc (TC_REP::diag, make_diag): Not here.
  1316.     * src/tc-rep.h (TC_REP::diag): Delete.
  1317.     * src/tree-const.h (tree_constant::diag): Delete.
  1318.  
  1319. Tue Oct  4 08:35:37 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1320.  
  1321.     * src/f-fft.cc (Ffft): Correctly set n_points for row vectors if
  1322.     nargin == 1.
  1323.     * src/f-ifft.cc (Fifft): Likewise.
  1324.  
  1325.     * src/load-save.cc (Fsave): Declare file and stream static.
  1326.  
  1327. Mon Oct  3 10:40:50 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1328.  
  1329.     * src/tree-expr.cc (octave_va_arg): Correct arg count and index to
  1330.     match recent change to arg passing/nargin.
  1331.     (define_param_list): Always set num_named_args = param_list->length ().
  1332.  
  1333.     * readline/Makefile.in (install): Don't install libreadline.a by
  1334.     default.
  1335.     (uninstall): Now no need to delete it.
  1336.  
  1337.     * configure.in (localfcnfilepath, localoctfilepath): Change to 
  1338.     match organization of system fcn and oct files, and enable
  1339.     recursive searching in both.  Enable recursive searching in
  1340.     $(octfiledir).
  1341.     (includedir): Change to $(prefix)/include/octave.
  1342.  
  1343. Sun Oct  2 10:14:18 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1344.  
  1345.     * configure.in: For now, disable IEEE floating point functions on
  1346.     the Alpha.  This is braindead, but at least prevents divide by
  1347.     zero crashes...
  1348.  
  1349.     * src/file-io.cc (fseek_internal): Use values for origin that
  1350.     match what we use to define SEEK_SET, SEEK_CUR, and SEEK_END in
  1351.     variables.cc.
  1352.  
  1353.     * dld: Merge various changes for Linux from dld 3.2.4 that is
  1354.     being distributed with jacal.
  1355.  
  1356.     * src/file-io.cc (fwrite_internal): Correct indexing of args.
  1357.  
  1358.     * src/tree-expr.cc (apply_mapper_fcn): New function.
  1359.     (tree_builtin::eval): Use it instead of tree_constant::mapper().
  1360.     * src/tree-const.h (tree_constant::mapper): Delete.
  1361.     * src/tc-rep.cc, src/tc-rep.h (TC_REP::mapper): Delete.
  1362.  
  1363.     * src/data.cc (Fcumprod, Fcumsum, Fprod, Fsum, Fsumsq): Do work here.
  1364.     * src/tc-rep.cc (TC_REP::cumprod, TC_REP::cumsum, TC_REP::prod,
  1365.     TC_REP::sum, TC_REP::sumsq): Not here.  Delete. 
  1366.     * src/tc-rep.h (TC_REP::cumprod, TC_REP::cumsum, TC_REP::prod,
  1367.     TC_REP::sum, TC_REP::sumsq): Delete
  1368.     * src/tree-const.h (tree_constant::cumprod, tree_constant::cumsum,
  1369.     tree_constant::prod, tree_constant::sum, tree_constant::sumsq):
  1370.     Delete.
  1371.  
  1372.     * tree-const.h: Don't check gcc minor version number.
  1373.     * tc-rep.h: Likewise.
  1374.  
  1375.     * src/file-io.h (class file_info): Declare here.
  1376.     * src/file-io.cc: Not here.
  1377.  
  1378.     * configure.in (LIBOCTDLD, LIBDLD): Remove ../ prefix.
  1379.     * Makefile.in (distclean, realclean): Don't remove *.a.
  1380.     * src/Makefile.in (OCTAVE_LIBS): Correct directory spec for libs.
  1381.     Build, install, and clean liboctdld.a, not ../liboctdld.a.
  1382.     * dld/Makefile.in: Build, install, and clean libdld.a, not ../libdld.a.
  1383.     * info/Makefile.in: Likewise, for libinfo.a.
  1384.     * kpathsea/Makefile.in: Likewise, for libkpathsea.a.
  1385.     * libcruft/Makefile.in: Likewise, for libcruft.a.
  1386.     * liboctave/Makefile.in: Likewise, for liboctave.a.
  1387.     * readline/Makefile.in: Likewise, for libreadline.a.
  1388.  
  1389.     * configure.in (gxx_version): Require 2.6.x or later.  Don't
  1390.     define EXTERNAL_TEMPLATES.  Do define NO_IMPLICIT_TEMPLATES.
  1391.     * liboctave/Array-C.cc, liboctave/Array-d.cc, src/Array-tc.cc,
  1392.     src/DLList-fi.cc src/SLStack-tok.cc, src/SLStack-ue.cc,
  1393.     src/SLStack-tm.cc, src/SLStack-pc.cc, src/SLStack-i.cc,
  1394.     src/SLList-tc.cc, src/SLStack-sym.cc, src/SLStack-ui.cc,
  1395.     src/SLList-misc.cc, src/SLList-expr.cc, src/SLList-plot.cc,
  1396.     src/Map-tc.cc: New files.  Instantiate templates here.
  1397.     * libocave/Array.cc, src/Map.cc, src/Stack.cc, src/SLStack.cc:
  1398.     Not here.  Remove #pragma implementation hack.
  1399.     * liboctave/Array.h, src/Stack.h, src/Map.h, src/SLStack.h: Remove
  1400.     #pragma interface hack.
  1401.     * Makeconf.in: Substitute NO_IMPLICIT_TEMPLATES, not
  1402.     EXTERNAL_TEMPLATES.
  1403.     (ALL_CXX_FLAGS, UGLY_ALL_CXX_FLAGS): Use $(NO_IMPLICIT_TEMPLATES),
  1404.     not $(EXTERNAL_TEMPLATES).
  1405.     * acconfig.h: Remove USE_EXTERNAL_TEMPLATES #undef.
  1406.     * src/Makefile.in (XALL_CXX_FLAGS): Delete -fno-implicit-templates.
  1407.     (TI_SRC, TI_OBJ): New variables.
  1408.     (libtinst.a): New target.
  1409.     * liboctave/Makefile.in (TI_SRC): New variable.
  1410.     (SOURCES): Add it to list.
  1411.  
  1412. Fri Sep 30 09:52:15 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1413.  
  1414.     * src/Makefile.in: Automatically generate more lists.
  1415.     Use := in more places.
  1416.     * src/Array-C.cc src/Array-d.cc src/Array-tc.cc src/Map-tc.cc
  1417.     src/Stack-i.cc src/SLStack-pc.cc src/SLStack-sym.cc
  1418.     src/SLStack-tok.cc src/SLStack-tm.cc src/SLStack-ue.cc:
  1419.     New template instantiation files.
  1420.     * configure.in: If using gcc 2.6.x or later, use
  1421.     -fno-implicit-templates instead of -fexternal-templates.
  1422.  
  1423.     * src/tc-inlines.h: Rename from tc-inlines.cc.
  1424.  
  1425.     * src/parse.y (looking_at_indirect_ref): New global flag, for
  1426.     parser feedback.
  1427.     (tree_indirect_ref_type): New token type.
  1428.     (TEXT_ID): New token.
  1429.     (indirect_ref): New non-terminal.
  1430.     (make_index_expression): New function.
  1431.     (variable): Use it to build variable from indirect_ref, not just
  1432.     identifier.
  1433.  
  1434.     * src/lex.l (handle_identifier): Handle identifiers differently if
  1435.     looking at an indirect reference.  Add `.' to list of other ops.
  1436.  
  1437.     * src/tree-expr.cc (tree_identifier::do_lookup): Handle new
  1438.     exec_script arg.
  1439.     (tree_identifier::assign): New functions for assignment to a
  1440.     strucutre element.
  1441.     (print_constant): New function.
  1442.     (tree_identifier::eval, tree_indirect_ref::eval): Use it.
  1443.     (
  1444.     
  1445.     * src/tree-expr.h (tree_indirect_ref): New class for handling
  1446.     structure references.
  1447.     (tree_expression::is_indirect_ref): New virtual function.
  1448.     (tree_fvc::lookup_map_element): New virtual function.
  1449.     (tree_index_expression, tree_simple_assignment_expression):
  1450.     Add new constructors for handling indirect references.
  1451.  
  1452.     * src/oct-map.h: New file, for class managing Octave's
  1453.     structure/map type.
  1454.  
  1455.     * src/tree-misc.cc (tree_global::eval): Don't allow individual
  1456.     structure elements to be tagged global.
  1457.  
  1458.     * src/tc-rep.h (tree_constant_rep): Add new field, a_map, and a
  1459.     new type_tag, map_constant.
  1460.     * src/tree-const.cc (tree_constant::is_map): New function.
  1461.     * src/tree-const.cc (tree_constant::map_value,
  1462.     tree_constant::assign_map_element, tree_constant::make_unique,
  1463.     tree_constant::lookup_map_element,
  1464.     tree_constant::make_unique_map_element): New functions.
  1465.  
  1466.     * src/Map.h (CHNode::CHNode): Copy key.
  1467.     (CHNode::~CHNode): Delete it.
  1468.     (CHMap::contents): Don't declare return value const.
  1469.  
  1470.     * src/tc-inlines.cc: Move some macros here from tc-rep.cc so they
  1471.     can appear in one place and be shared by tc-rep-idx.cc,
  1472.     tc-rep-ass.cc, and tc-pre.cc.
  1473.  
  1474.     * src/tc-rep-idx.cc, src/tc-rep-ass.cc: New files, extracted from
  1475.     tc-rep.cc to make compilation of tc-rep stuff faster and require
  1476.     less memory.
  1477.  
  1478.     * src/variables.cc (Fwhos): Correctly insert "-long" into arg list
  1479.     for Fwho.
  1480.  
  1481. Mon Sep 26 12:59:55 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1482.  
  1483.     * test/Makefile.in (OCTAVE_SCRIPT_PATH): Append `//' for recursive
  1484.     searching.
  1485.  
  1486. Fri Sep 23 07:53:13 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1487.  
  1488.     * scripts/plot/bar.m: Don't return values if nargout == 0.
  1489.     * scripts/plot/hist.m: Likewise.
  1490.     * scripts/plot/stairs.m: Likewise.
  1491.  
  1492.     * src/tree-plot.cc (Fishold): New function.
  1493.     (plot_line_count, parametric_plot, clear_before_plotting):
  1494.     Declare static.
  1495.  
  1496.     * src/f-fft.cc (Ffft): Handle row vector as a special case.
  1497.     * src/f-ifft.cc (Fifft): Ditto.
  1498.  
  1499. Thu Sep 22 13:20:53 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1500.  
  1501.     * src/help.cc (print_symbol_type): New function, extracted from Fwhich.
  1502.     (Fwhich): Use it.
  1503.     (Fhelp): Use it to print type info before help message.
  1504.  
  1505.     * src/dynamic-ld.cc: Hide all DLD-specific functions behind
  1506.     #ifdef WITH_DLD.
  1507.  
  1508.     * scripts/startup: New directory.
  1509.     * scripts/startup/Makefile.in: New file.
  1510.     * scripts/startup/octaverc: New file.  Don't overwrite existing
  1511.     file when nstalling.
  1512.     * configure.in: Generate Makefile in scripts/startup.
  1513.     * scripts/Makefile.in (SUBDIRS): Add startup.
  1514.     * src/defaults.h.in (OCTAVE_STARTUPFILEDIR): New macro.
  1515.     * src/variables.cc (get_site_defaults): Look for octaverc in
  1516.     OCTAVE_STARTUPFILEDIR.
  1517.  
  1518.     * configure.in (fcnfiledir): Make it end in `//'.
  1519.  
  1520.     * src/error.cc (Ferror): Correct indexing error.
  1521.  
  1522.     * src/Map.h, src/Map.cc: New files implementing associative arrays.
  1523.     * src/Makefile.in: Include them in the list of files to distribute
  1524.     and compile.
  1525.  
  1526. Wed Sep 21 09:50:19 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1527.  
  1528.     * Makefile.in (DISTSUBDIRS): Add dld to the list.
  1529.  
  1530.     * scripts/plot/hist.m: New function file.
  1531.  
  1532.     * src/tc-rep.cc (TC_REP::do_matrix_index (tree_constant,
  1533.     tree_constant): For case of scalar as first arg, move call to
  1534.     index check to the TC_REP::do_matrix_index (int, tree_constant)
  1535.     function.
  1536.     (TC_REP::do_matrix_index (int, tree_constant): Be compatible with
  1537.     Matlab for indexing of the form row_vector (0, :).
  1538.     (TC_REP::do_matrix_index (tree_constant, int): Likewise, for
  1539.     indexing of the form col_vector (:, 0).
  1540.     (TC_REP::do_matrix_assignment): Similar changes for assignment.
  1541.  
  1542. Tue Sep 20 17:48:39 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1543.  
  1544.     * src/parse.y (return_list, return_list1): New nonterminals.
  1545.     Rename from func_def1a.  Handle variable number of return values.
  1546.     * src/tree-expr.h (tree_function::vr_list): New field.
  1547.     * src/tree-expr.cc (delete_vr_list): New function.
  1548.     (tree_function::octave_vr_val, tree_function::takes_var_return):
  1549.     New functions, for variable return lists.
  1550.     (tree_function::define_ret_list, tree_function::eval): Handle vr_list.
  1551.     (Fvr_val): New function.
  1552.     * src/tree-misc.h (tree_va_return_list): New list class.
  1553.     * src/tree-misc.cc (tree_parameter_list::convert_to_const_vector):
  1554.     Take pointer to tree_va_return_list as arg, and append the values
  1555.     found there.
  1556.  
  1557.     * src/arith-ops.cc (mx_stupid_bool_op): Correctly handle empty
  1558.     matrices for == and != ops.
  1559.  
  1560.     * src/variables.cc (Fis_global): Check args(0), not args(1).
  1561.     (Fexist): Likewise.
  1562.     (install_builtin_mapper): Set nargin_max to 1, not 2.
  1563.  
  1564.     * src/dynamic-ld.cc (octave_dld_init): Make raw program name
  1565.     absolute before calling dld_find_executable.
  1566.  
  1567.     * src/octave.cc (initialize_error_handlers): New function.
  1568.     (main): Call init_user_prefs and initialize_error_handlers.
  1569.     Rearrange order of calls to initialization functions.
  1570.  
  1571.     * src/user-prefs.cc (init_user_prefs): New function.
  1572.  
  1573.     * src/data.cc (map): Correct condition for assert ().  Correct
  1574.     handling of empty args.
  1575.  
  1576.     * src/f-lsode.cc src/f-dassl.cc src/f-quad.cc src/f-npsol.cc
  1577.     src/f-fsolve.cc: Pass correct number of args to
  1578.     takes_correct_nargs ().
  1579.     * src/variables.cc (takes_correct_nargs): Use %s, not %c in format
  1580.     string.
  1581.  
  1582.     * src/f-ifft2.cc src/f-expm.cc src/f-det.cc src/f-svd.cc
  1583.     src/f-syl.cc src/f-schur.cc src/f-qzval.cc src/f-qr.cc
  1584.     src/f-pinv.cc src/f-lu.cc src/f-log.cc src/f-inv.cc src/f-hess.cc
  1585.     src/f-eig.cc src/f-chol.cc src/f-balance.cc src/f-lsode.cc
  1586.     src/f-dassl.cc src/f-quad.cc src/f-npsol.cc src/f-fsolve.cc:
  1587.     Correctly handle return value from empty_arg ().
  1588.     * src/utils.cc (empty_arg): Clarify usage, correct return value if
  1589.     arg is empty but no message is printed.
  1590.  
  1591.     * src/Makefile.in (dist): Delete builtins.cc too.
  1592.  
  1593.     * configure.in (DYNAMIC_LD_OBJ): Delete.
  1594.     * src/Makefile.in (OBJECTS): Don't substitute DYNAMIC_LD_OBJ.
  1595.     Always include dynamic-ld.o.
  1596.  
  1597.     * configure.in: Generate Makefile in scripts/elfun and
  1598.     scripts/specfun.
  1599.  
  1600.     * Makeconf.in (version): Use `:=' and `$(shell )', not just `='
  1601.     and backticks, so we only extract the version number once.
  1602.  
  1603. Mon Sep 19 09:04:30 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1604.  
  1605.     * src/tc-rep.h (represent_strings_with_doubles): New field in
  1606.     tree_constant_rep class.
  1607.  
  1608.     * tree-misc.cc (tree_argument_list::convert_to_const_vector):
  1609.     Don't allocate extra arg for function name.
  1610.     * sysdep.cc, pr-output.cc, input.cc, file-io.cc, error.cc,
  1611.     tc-rep.cc, tree-expr.cc, f-svd.cc, f-sort.cc, f-schur.cc,
  1612.     f-rand.cc, f-qzval.cc, f-quad.cc, f-qr.cc, f-qpsol.cc, f-pinv.cc,
  1613.     f-npsol.cc, f-minmax.cc, f-lu.cc, f-lsode.cc, f-log.cc, f-inv.cc,
  1614.     f-ifft2.cc, f-ifft.cc, f-hess.cc, f-givens.cc, f-fsolve.cc,
  1615.     f-fft2.cc, f-fft.cc, f-expm.cc, f-eig.cc, f-det.cc, f-dassl.cc,
  1616.     f-colloc.cc, f-chol.cc, f-balance.cc, f-syl.cc, variables.cc,
  1617.     tree-misc.cc, data.cc, octave.cc, utils.cc, defun-int.h:
  1618.     Change meaning and usage of nargin and args.length() to cope with
  1619.     above change.  This makes nargin mean the same thing in built-in
  1620.     functions as it does in M-files.
  1621.  
  1622. Sat Sep 17 09:29:08 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1623.  
  1624.     * scripts/general/nargchk.m: New function.
  1625.  
  1626. Fri Sep 16 08:48:13 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1627.  
  1628.     * Makeconf.in (FLIB_LIST, FLIB_PATH, CXXLIBS, CXXLIB_LIST,
  1629.     CXXLIB_PATH): Set these.
  1630.  
  1631.     * cxxlibs.sh: New file.
  1632.     * configure.in: Use it to determine extra C++ libraries to link
  1633.     to.  Use sed magic to extract list of libraries and directories
  1634.     from FLIBS and CXXLIBS.
  1635.     * Makefile.in: (DISTFILES): Include cxxlibs.sh.
  1636.  
  1637.     * configure.in: Change AC_VERBOSE messages to match
  1638.     autoconf-generated messages.
  1639.  
  1640.     * src/dynamic-ld.cc (dld_octave_resolve_reference): Search library
  1641.     path for list of files to link.
  1642.  
  1643.     * src/utils.cc (pathstring_to_vector): Un-#if 0 it.
  1644.  
  1645.     * Makefile.in: Install liboctdld.a if not linking to it.
  1646.     (defaults.h): Substitute FLIB_LIST, FLIB_PATH, CXXLIB_LIST,
  1647.     CXXLIB_PATH.
  1648.  
  1649. Thu Sep 15 09:31:29 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1650.  
  1651.     * Makeconf.in (LD_STATIC_FLAG): Actually substitute LD_STATIC_FLAG.
  1652.     (ALL_LDFLAGS): Include it here.
  1653.  
  1654.     * configure.in: Check for signgam declaration in math.h
  1655.     * acconfig.h: Add #undef for SIGNGAM_DECLARED.
  1656.     * src/mappers.h: Provide our own declaration of signgam if
  1657.     HAVE_LGAMMA but not SIGNGAM_DECLARED.
  1658.  
  1659. Wed Sep 14 11:28:09 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1660.  
  1661.     * src/dynamic-ld.cc (mangled_octave_builtin_name,
  1662.     mangle_octave_oct_file_name, load_octave_builtin,
  1663.     load_octave_oct_file, init_dynamic_linker): New functions.
  1664.     [WITH_DLD] (octave_dld_init, dld_octave_resolve_reference,
  1665.     dld_octave_builtin, dld_octave_oct_file): New functions to handle
  1666.     details of dynamic linking using dld.
  1667.  
  1668.     * src/variables.cc (load_fcn_from_file) [WITH_DLD]: Handle looking
  1669.     for .oct file to link at run time.
  1670.  
  1671.     * src/tree-expr.cc (tree_builtin::tree_builtin): Always init my_name.
  1672.     (tree_builtin::eval): If no definition, try to load one using
  1673.     load_octave_builtin().
  1674.  
  1675.     * src/octave.cc (main): Initialize dynamic linking here.
  1676.  
  1677.     * src/defun-int.h (DEFINE_FUN_STRUCT, DEFINE_FUN_STRUCT_FUN):
  1678.     New macros.
  1679.     * src/defun-dld.h (DEFUN_DLD_BUILTIN): Rename from DEFUN_DLD and
  1680.     handle case of WITH_DLD && OCTAVE_LITE && MAKE_BUITLINS.
  1681.     (DEFUN_DLD): Use this for external user-supplied functions that
  1682.     are intended to be dynamically linked.
  1683.  
  1684.     * configure.in: Handle --enable-lite-kernel.  Call AC_SUBST for
  1685.     use_dld and lite_kernel.  Define LIBOCTDLD unless doing dynamic
  1686.     linking and small kernel requested.
  1687.     * acconfig.h: Add #undefs for OCTAVE_LITE and SMART_PUTENV.
  1688.     * Makeconf.in: Define WITH_DLD from @use_dld@ and OCTAVE_LITE from
  1689.     @lite_kernel@.
  1690.  
  1691.     * src/octave.cc (Fsystem): Rename from shell_cmd.
  1692.     (Fshell_cmd): Define as alias to Fsystem.
  1693.  
  1694. Mon Sep 12 20:19:20 1994  John Eaton  <jwe@schoch.che.utexas.edu>
  1695.  
  1696.     * src/mappers.cc: Include error.h and math.h.
  1697.  
  1698. Sat Sep 10 11:49:11 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1699.  
  1700.     * Makefile.in: Clean up rules for making distributions.
  1701.     (DISTDIRS): Distribute kpathsea
  1702.  
  1703. Fri Sep  9 08:46:03 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1704.  
  1705.     * liboctave/dMatrix.cc (pseudo_inverse): New function.
  1706.     * liboctave/CMatrix.cc (pseudo_inverse): New function.
  1707.     * src/f-pinv.cc: New file, for pinv().
  1708.     * src/Makefile.in (DLD_SRC): Add f-pinv.cc.
  1709.     (DLD_OBJ): Add f-pinv.o.
  1710.     * scripts/linear-algebra/pinv.m: Delete.
  1711.  
  1712.     * configure.in: Define and substitute $imagepath.
  1713.     * src/Makefile.in: Substitute OCTAVE_IMAGEPATH.
  1714.     * src/defaults.h.in: Add OCTAVE_IMAGEPATH.
  1715.     * src/variables.cc (install_builtin_variables): Define IMAGEPATH.
  1716.     * src/user-prefs.cc (image_path): New function.
  1717.     * Makeconf.in (imagepath): substitute it.
  1718.  
  1719.     * src/octave.cc (initialize_globals): Ensure that $archlibdir is
  1720.     in the user's PATH.
  1721.  
  1722.     * utils.cc (search_path_for_file, Ffile_in_path): New functions.
  1723.  
  1724.     * configure.in: Append `//' to $fcnfiledir, for recursive
  1725.     searching.
  1726.     (AC_OUTPUT): Edit makefiles in script subdirectories too.
  1727.  
  1728.     * scripts: Regroup function files in the following directories,
  1729.     each with its own Makefile.in:
  1730.  
  1731.            image           plot        signal          control
  1732.        linear-algebra  polynomial  special-matrix  general
  1733.            miscellaneous   set         statistics
  1734.  
  1735.     * src/help.cc (simple_help): Use kpathsea functions to find files
  1736.     in path.
  1737.     * src/utils.cc (get_fcn_file_names): Likewise.
  1738.     (pathstring_to_vector): #if 0 out.
  1739.  
  1740. Thu Sep  8 16:59:42 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1741.  
  1742.     * src/Makefile.in (OCTAVE_LIBS): Include ../libkpathsea.a.
  1743.     * configure.in: Include configure stuff for kpathsea here too.
  1744.     * Makefile.in (kpathsea): New target.
  1745.     * src/utils.cc (file_in_path): Use kpathsea function instead of
  1746.     doing our own searching.
  1747.     * kpathsea/Makefile.in (lib): Define as ../libkpathsea.a, not just
  1748.     kpathsea.a.
  1749.  
  1750. Wed Sep  7 09:39:20 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1751.  
  1752.     * src/user-prefs.cc (check_str_pref): Fix comment.
  1753.  
  1754.     * src/utils.cc (empty_arg): Check flag == 0, not is_empty > 0.
  1755.  
  1756.     * src/f-fft2.cc (Ffft2): New file and function.
  1757.     * src/f-ifft2.cc (Fifft2): Likewise.
  1758.     * src/fft2.m, src/ifft2.m: Delete.
  1759.  
  1760.     * src/f-fft.cc (Ffft): Handle second arg.  Depending on value of
  1761.     propagate_empty_matrices, return empty matrix for empty arg.
  1762.     * src/f-ifft.cc (Fifft): Likewise.
  1763.  
  1764.     * liboctave/CMatrix.cc (fourier2d, ifourier2d): New functions.
  1765.     * liboctave/dMatrix.cc (fourier2d, ifourier2d): New functions.
  1766.  
  1767.     * src/tree-misc.cc (eval (int, int)): New function.
  1768.     * src/octave.cc (eval_string, Feval): Handle multiple output args.
  1769.  
  1770.     * src/error.cc (suppress_octave_error_messages): New global.
  1771.     (error): Check it to see if messages should be printed.
  1772.     * src/octave/cc (Feval): Set it if `catch' arg is supplied.
  1773.  
  1774.     * src/octave.cc (Feval): Handle second `catch' arg.
  1775.  
  1776.     * src/load-save.cc (read_mat_file_header): Init swap to zero.
  1777.  
  1778.     * doc/octave.1: New simple man page.
  1779.     * doc/Makefile.in: Distribute and install it.
  1780.  
  1781.     * src/variables.cc (Fclear): Handle -x option for exclusive clear.
  1782.  
  1783. Tue Sep  6 16:00:34 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1784.  
  1785.     * src/load-save.cc (save_mat_binary_data): New function.
  1786.     (do_save): Handle LS_MAT_BINARY.
  1787.     (Fsave): Handle -mat-binary.
  1788.     (Changes from G. Beyerle <gbeyerle@AWI-Potsdam.DE>.)
  1789.  
  1790.     * src/variables.cc (subs_octave_home, octave_arch_lib_dir):
  1791.     New functions.
  1792.     (octave_home, octave_info_dir, octave_lib_dir, default_path):
  1793.     Fix for new directory organization.
  1794.  
  1795.     * src/tree-expr.h (tree_multi_val_ret): New class to serve as a
  1796.     base for objects that can produce more than one value when
  1797.     evaluated.
  1798.     (tree_fvc, tree_index_expression, tree_multi_assignment_expression):
  1799.     Use it as a base. 
  1800.  
  1801.     * src/parse.y (make_multi_val_re): New function.
  1802.     (expression): Use it to construct multiple value assignments.
  1803.  
  1804.     * configure.in, Makefile.in, Makeconf.in, src/defaults.h.in:
  1805.     Revamp directory structure used for installed versions of Octave.
  1806.  
  1807.     * src/f-schur.cc (Fschur): Correct argument count in error message.
  1808.  
  1809.     * src/octave.cc (Fcomputer): New function.
  1810.     * scripts/computer.in: Delete.
  1811.     * scripts/Makefile.in: Don't edit or distribute computer.in.
  1812.  
  1813. Thu Sep  1 09:02:06 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1814.  
  1815.     * src/variables.cc (install_builtin_variables): New builtin
  1816.     variable, OCTAVE_VERSION.
  1817.  
  1818. Tue Aug 30 17:18:14 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1819.  
  1820.     * tree-expr.cc: Include string.h
  1821.     (tree_matrix::eval): Fix handling of strings to work as in 1.0.
  1822.  
  1823. Mon Aug 29 14:55:14 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1824.  
  1825.     * src/lex.l: Handle ".+" and ".-" too.
  1826.  
  1827.     * src/dirfns.cc (dir_acess, exists, gen_tempname, tempnam): New
  1828.     functions from glibc.
  1829.     * src/utils.cc (octave_tmp_file_name): Use tempnam.
  1830.     (choose_temp_base_try): Delete.
  1831.     * configure.in: Check for tempnam.
  1832.  
  1833.     * src/load-save.cc (Fsave): Only write floating point format if
  1834.     doing binary save.
  1835.  
  1836.     * liboctave/Array.cc (operator =): Check to see if assignment is
  1837.     to same object.
  1838.  
  1839. Sun Aug 28 23:32:59 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1840.  
  1841.     * liboctave/CollocWt.cc (CollocWt::init): Call delete [] on vectors.
  1842.     * liboctave/NPSOL.cc (NPSOL::minimize): Eliminate some memory leaks.
  1843.     * liboctave/QPSOL.cc (QPSOL::minimize): Likewise.
  1844.     * liboctave/NLEqn.cc (NLEqn::solve): Likewise.
  1845.  
  1846. Thu Aug 25 09:27:04 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1847.  
  1848.     * info/session.c (info_get_input_char): Don't exit immediately if
  1849.     we see EOF on the input stream.
  1850.  
  1851.     * scripts/kurtosis.m, scripts/skewness.m: Update from KH.
  1852.  
  1853. Wed Aug 24 00:19:49 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1854.  
  1855.     * dld/Makefile.in, scripts/Makefile.in, doc/Makefile.in,
  1856.     readline/Makefile.in, info/Makefile.in, libcruft/Makefile.in,
  1857.     liboctave/Makefile.in, src/Makefile.in (INSTALL, INSTALL_PROGRAM,
  1858.     INSTALL_DATA): Define here.
  1859.     * Makeconf.in: Not here.
  1860.  
  1861.     * src/tree-plot.cc (send_to_plot_stream): Handle
  1862.     user_pref.automatic_replot.
  1863.     * src/variables.cc (install_builtin_variables):
  1864.     Add DEFVAR for automatic_replot.
  1865.     * src/user-prefs.cc (automatic_replot): New function.
  1866.     * src/user-prefs.h (user_preferences): Add automatic_replot to the
  1867.     list.
  1868.  
  1869.     * src/data.cc (Fatan2): Make work for mixed scalar and Matrix args.
  1870.     (map): New functions for two arg mappers (like atan2).
  1871.  
  1872.     * src/f-fsqp.cc: Don't surround everything in FSQP_MISSING, so
  1873.     that trying to use fsqp will result in a message about fsqp not
  1874.     being freely redistributable.
  1875.     * src/f-npsol.cc: Likewise, for NPSOL_MISSING.
  1876.     * src/f-qpsol.cc: Likewise, for QPSOL_MISSING.
  1877.  
  1878. Tue Aug 23 12:56:47 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1879.  
  1880.     * src/tree-expr.cc (tree_identifier::eval): Don't call delete for
  1881.     ans_id.  The destructor for tree_simple_assignment_expression does
  1882.     this now.
  1883.  
  1884.     * src/Makefile.in (%.def : %.cc): Use sed, not awk.
  1885.     (realclean, distclean, local-dist, dist): Delete .d and .def files.
  1886.  
  1887.     * liboctave/Array.h (DiagArray::Proxy): Make compilation
  1888.     conditional on gcc version, not just _AIX.
  1889.  
  1890.     * src/utils.cc (octave_tmp_file_name, choose_temp_base_try): New
  1891.     functions, stolen from GCC.  If HAVE_MKTEMP is not defined, just
  1892.     call tmpnam; otherwise, try harder to please.
  1893.     * src/tree-plot.cc (save_in_tmp_file): Use it, instead of calling
  1894.     tmpnam() directly.
  1895.     * src/file-io.cc (do_scanf): Likewise.
  1896.     * src/octave-hist.cc (mk_tmp_hist_file): Likewise.
  1897.     * configure.in: Check for mktemp.
  1898.  
  1899.     * src/tree-const.h (is_matrix_type, is_scalar_type): Make private.
  1900.     * src/tc-rep.h (is_matrix_type, is_scalar_type): Likewise.
  1901.  
  1902.     * src/tc-rep.h (force_numeric, make_numeric,
  1903.     make_numeric_or_magic, make_numeric_or_range_or_magic): Make
  1904.     private.
  1905.     (make_numeric_or_range): #if 0 out.
  1906.  
  1907.     * src/utils.cc (empty_arg): Correctly set return value.
  1908.  
  1909.     * src/arith-ops.cc: Don't include setjmp.h.
  1910.     * src/utils.cc: Surround setjmp.h with extern "C".
  1911.     * src/octave.cc: Likewise.
  1912.  
  1913.     * src/sighandlers.cc (octave_new_handler): New function.
  1914.     (install_signal_handlers): Call it.
  1915.  
  1916.     * src/f-qzval.cc (Fqzvalue): Don't call make_numeric for args.
  1917.     Check error state after attempting to extract values.  Simplify
  1918.     where possible.
  1919.     * src/f-colloc.cc (Fcolloc): Likewise.
  1920.     * src/f-rand.cc (Frand): Likewise.
  1921.     * src/f-sort.cc (Fsort): Likewise.
  1922.     * src/f-find.cc (Ffind): Likewise.
  1923.     * src/f-minmax.cc (Fmin, Fmax): Likewise.
  1924.     * src/f-fft.cc (Ffft): Likewise.
  1925.     * src/f-ifft.cc (Fifft): Likewise.
  1926.     * src/f-svd.cc (Fsvd): Likewise.
  1927.     * src/f-inv.cc (Finv): Likewise.
  1928.     * src/f-det.cc (Fdet): Likewise.
  1929.     * src/f-eig.cc (Feig): Likewise.
  1930.     * src/f-lu.cc (Flu): Likewise.
  1931.     * src/f-hess.cc (Fhess): Likewise.
  1932.     * src/f-qr.cc (Fqr): Likewise.
  1933.     * src/f-givens.cc (Fgivens): Likewise.
  1934.     * src/f-syl.cc (Fsyl): Likewise.
  1935.     * src/f-log.cc (Flog): Likewise.
  1936.     * src/f-expm.cc (Fexpm): Likewise.
  1937.     * src/f-balance.cc (Fbalance): Likewise.
  1938.     * src/f-schur.cc (Fschur): Likewise.
  1939.     * src/f-chol.cc (Fchol): Likewise.
  1940.     * src/f-npsol.cc (Fnpsol, npsol_options): Likewise.
  1941.     * src/f-fsolve.cc (Ffsolve, fsolve_options): Likewise.
  1942.     * src/f-dassl.cc (Fdassl, dassl_options): Likewise.
  1943.     * src/f-lsode.cc (Flsode, lsode_options): Likewise.
  1944.     * src/f-quad.cc (Fquad, quad_options): Likewise.
  1945.     * src/tree-expr.cc (tree_matrix::eval): Likewise, while building
  1946.     matrix.
  1947.     (tree_colon_expression::eval): Likewise, for elements of range.
  1948.     * src/variables.cc (is_valid_function, Fis_global, Fexist):
  1949.     Likewise.
  1950.     * src/sysdep.cc (Fgetenv, Fpause): Likewise.
  1951.     * src/octave.cc (eval_string, Fshell_cmd): Likewise.
  1952.     * src/input.cc (get_user_input): Likewise.
  1953.     * src/file-io.cc (return_valid_file, fopen_file_for_user,
  1954.     fgets_internal, fseek_internal, process_printf_format, do_printf,
  1955.     do_scanf, fread_internal, fwrite_internal, feof_internal):
  1956.     Likewise.
  1957.  
  1958.     * src/tc-rep.cc (TC_REP::string_value): Call error() and return 0
  1959.     instead of crashing if not string_constant.
  1960.  
  1961.     * src/file-io.cc (fopen_file_for_user): Take string as first arg,
  1962.     not tree_constant.  Change callers.
  1963.     (fgets_internal, fseek_internal): Correct check for int arg.
  1964.     (process_scanf_format): Use isspace instead of checking directly
  1965.     (and incorrectly) for white space characters.
  1966.  
  1967.     * src/tree-expr.cc (tree_matrix::eval, tree_unary_expression::eval,
  1968.     tree_binary_expression::eval, tree_colon_expression::eval,
  1969.     tree_simple_assignment_expression::eval ): Eliminate uneccesary
  1970.     conversions to and from Octave_object/tree_constant.
  1971.  
  1972. Mon Aug 22 18:35:05 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1973.  
  1974.     * src/data.cc (Fatan2): New function.
  1975.  
  1976.     * src/data.cc (get_dimensions): Don't call make_numeric for args.
  1977.     Check error state after attempting to extract values.
  1978.  
  1979. Fri Aug 19 08:28:24 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  1980.  
  1981.     * src/tree-misc.h (tree_parameter_list::tree_parameter_list)):
  1982.     Initialize marked_for_varargs to zero.
  1983.  
  1984.     * src/load-save.cc: Add float variants of the conversion routines.
  1985.     (LS_DO_READ): Add swap parameter and only swap bytes if it is true.
  1986.     (read_doubles): Pass swap to LS_DO_READ.  Handle float data.
  1987.     (LS_DO_WRITE): Copy data to tmp buffer to avoid destroying data.
  1988.     (do_double_format_conversion): Rename from do_float_format_conversion.
  1989.     (do_float_format_conversion): New function to handle conversion
  1990.     for float data.
  1991.     (read_mat_binary_data): Use read_doules for all cases.  Handle
  1992.     float data.
  1993.     (too_large_for_float): New function.
  1994.     (save_binary_data): Save data format for scalars and ranges too.
  1995.     (read_binary_data): Read data format for scalars and ranges too.
  1996.     (do_save, save_vars): New arg, save_as_floats.
  1997.     (Fsave): New option, -float-binary.
  1998.  
  1999.     * src/utils.cc (empty_arg): New function.
  2000.     * src/f-balance.cc (Fbalance): Use it to simplify handling of
  2001.     empty arguments.
  2002.     * src/f-chol.cc (Fchol): Likewise.
  2003.     * src/f-det.cc (Fdet): Likewise.
  2004.     * src/f-eig.cc (Feig): Likewise.
  2005.     * src/f-expm.cc (Fexpm): Likewise.
  2006.     * src/f-fft.cc (Ffft): Likewise.
  2007.     * src/f-hess.cc (Fhess): Likewise.
  2008.     * src/f-ifft.cc (Fifft): Likewise.
  2009.     * src/f-inv.cc (Finv): Likewise.
  2010.     * src/f-log.cc (Flogm, Fsqrtm): Likewise.
  2011.     * src/f-lu.cc (Flu): Likewise.
  2012.     * src/f-qr.cc (Fqr): Likewise.
  2013.     * src/f-schur.cc (Fschur): Likewise.
  2014.     * src/f-svd.cc (Fsvd): Likewise.
  2015.  
  2016.     * src/tc-rep.cc (tupe_as_string): Move here.
  2017.     * src/tree-const.cc: From here.
  2018.  
  2019.     * src/gripes.cc (gripe_invalid_conversion): New function.
  2020.  
  2021. Thu Aug 18 21:02:19 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2022.  
  2023.     * src/(print_empty_matrix): New function.
  2024.     * src/pr-output.cc (octave_print_internal): Use it to print empty
  2025.     matrices.
  2026.     * src/tc-rep.cc (TC_REP::print_code, TC_REP::print): Rely on
  2027.     octave_print_internal() to handle printing empty matrices.
  2028.  
  2029.     * src/pr-output.cc (octave_print_internal (all variants)):
  2030.     New arg, pr_as_read_syntax.  If nonzero, print the value in a form
  2031.     that Octave can parse.    Declare os as ostream&, not ostrstream&.
  2032.     * src/tc-rep.cc (TC_REP::print_code): Handle all types, not just
  2033.     real and imaginary constants.
  2034.     * src/help.cc (Ftype): Also print values of variables.
  2035.  
  2036. Wed Aug 17 08:46:44 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2037.  
  2038.     * src/octave.cc (Fshell_cmd): Return output if nargout > 0 or
  2039.     nargin > 2, otherwise, just send output to the pager.
  2040.  
  2041.     * src/mappers.cc (xerf, xerfc, xgamma, xlgamma): New functions.
  2042.     Put preprocessor conditionals here.
  2043.     (install_mapper_functions): Not here.
  2044.  
  2045. Tue Aug 16 09:55:25 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2046.  
  2047.     * configure.in: Check for erf, erfc, and lgamma.
  2048.     * src/mappers.cc (erf, erfc, lgamma): New mappers.
  2049.     * src/mappers.h (Mapper_fcn): Add new field `name'.
  2050.     * src/variables.cc (install_builtin_mapper): Save the name.
  2051.     * src/tc-rep.cc (TC_REP::mapper): Don't crash if a mapper function
  2052.     is missing.
  2053.  
  2054.     * src/tc-rep-1.cc (warn_invalid_conversion): New function.
  2055.     * src/gripes.cc (gripe_invalid_conversion): New function.
  2056.  
  2057.     * src/parse.y (list1, parse_error): New non-terminals.
  2058.     (list): Use them.
  2059.     * src/lex.l: Return LEXICAL_ERROR instead of calling
  2060.     jump_to_top_level.
  2061.  
  2062.     * liboctave/Range.cc (matrix_value): New function.
  2063.     * src/tc-rep.cc (TC_REP::matrix_value): Use it.
  2064.  
  2065.     * src/tree-const.h (to_matrix, to_vector, to_scalar): Delete
  2066.     unecessary functions.
  2067.     * src/tc-rep.cc (TC_REP::to_matrix, TC_REP::to_vector,
  2068.     TC_REP::to_scalar): Likewise.  Change all callers to use
  2069.     matrix_value, vector_value, and scalar_value instead. 
  2070.  
  2071.     * src/tree-const.cc (TC_REP::matrix_value): If at all possible,
  2072.     produce a matrix from the current constant.  Otherwise, print an
  2073.     error message.  Don't abort or jump to the top level.
  2074.     (TC_REP::scalar_value, TC_REP::complex_scalar_value,
  2075.     TC_REP::vector_value, TC_REP::complex_vector_value,
  2076.     TC_REP::complex_matrix_value): Likewise, for appropriate types.
  2077.  
  2078.     * src/utils.cc (empty_arg): New function.
  2079.     * src/f-svd.cc (Fsvd): Use it.    Don't call make_numeric; rely on
  2080.     value functions to do conversion.
  2081.  
  2082.     * src/load-save.cc (Fload): Handle -list and -verbose.
  2083.  
  2084. Mon Aug 15 09:32:57 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2085.  
  2086.     * src/tc-rep.cc (TC_REP): New define, so we don't have to write
  2087.     tree_constant::tree_constant_rep:: everywhere.
  2088.     * src/tree-const.h (class tree_constant): Nest tree_constant_rep
  2089.     class inside tree_constant class by including tc-rep.h here.
  2090.     * src/tc-rep.h: Don't include any other files, delete forward
  2091.     class declarations.
  2092.  
  2093.     * src/tc-rep.h (constant_type): Make private.
  2094.  
  2095.     * src/parse.y (arg_list): Use tree_constant::magic_colon in
  2096.     constructor call, not tree_constant_rep::magic_colon.
  2097.     * src/tree-const.h (tree_constant::tree_constant
  2098.     (tree_constant::magic_colon)): Convert arg from
  2099.     tree_constant_rep::constant_type.
  2100.  
  2101.     * src/f-svd.cc (Fsvd): Simplify.
  2102.  
  2103.     * src/tree-expr.cc (any_arg_is_magic_colon): Don't use values from
  2104.     tree_constant_rep::constant_type enum.
  2105.     (tree_matrix::eval): Likewise.
  2106.     * src/tree-misc.cc (tree_parameter_list::define_from_arg_vector,
  2107.     tree_if_clause::eval):    Likewise.
  2108.     * src/tree-cmd.cc (tree_while_command::eval,
  2109.     tree_for_command::eval): Likewise.
  2110.     * src/symtab.cc (symbol_record_info::symbol_record_info): Likewise.
  2111.     * src/f-colloc.cc (Fcolloc): Likewise.
  2112.     * src/f-npsol.cc (npsol_objective_function): Likewise.
  2113.     * src/f-chol.cc (Fchol): Likewise.
  2114.     * src/f-det.cc (Fdet): Likewise.
  2115.     * src/f-eig.cc (Feig): Likewise.
  2116.     * src/f-expm.cc (Fexpm): Likewise.
  2117.     * src/f-fft.cc (Ffft): Likewise.
  2118.     * src/f-find.cc (Ffind): Likewise.
  2119.     * src/f-hess.cc (Fhess): Likewise.
  2120.     * src/f-ifft.cc (Fifft): Likewise.
  2121.     * src/f-inv.cc (Finv): Likewise.
  2122.     * src/f-log.cc (Flog): Likewise.
  2123.     * src/f-lu.cc (Flu): Likewise.
  2124.     * src/f-minmax.cc (Fmin, Fmax): Likewise.
  2125.     * src/f-qr.cc (Fqr): Likewise.
  2126.     * src/f-rand.cc (rand): Likewise.
  2127.     * src/f-schur.cc (schur): Likewise.
  2128.     * src/f-sort.cc (Fsort): Likewise.
  2129.     * src/f-svd.cc (Fsvd): Likewise.
  2130.  
  2131.     * src/f-lu.cc (Flu): Handle case of nargout == 0 the same as
  2132.     nargout == 1.
  2133.  
  2134.     * src/tree-const.h (force_numeric): Don't return type info.
  2135.     * src/tc-rep.cc (tree_matrix::eval): Ditto.
  2136.     * src/tree-expr.cc (tree_matrix::eval): Don't use return value
  2137.     from tree_constant::force_numeric().
  2138.  
  2139.     * src/tree-const.h (is_magic_colon): New function.
  2140.     * src/tc-rep.h (is_magic_colon): New function.
  2141.  
  2142.     * src/load-save.cc (ascii_save_type): New function.
  2143.     (save_binary_data, save_ascii_data, save_three_d): Don't use
  2144.     values from tree_constant_rep::constant_type enum. Fail if write
  2145.     is unsuccessful.  Fail but don't panic if type is unrecognized.
  2146.     (save_vars): Check error state after call to do_save().
  2147.  
  2148.     * src/tc-rep.cc (isstr): Delete, since we have is_string.
  2149.     * src/tree-const.h (isstr): Ditto.
  2150.     * src/data.cc (Fisstr): Use is_string(), not isstr().
  2151.  
  2152. Sun Aug 14 16:12:10 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2153.  
  2154.     * src/load-save.cc (save_type): Add LS_U_INT, LS_CHAR and LS_FLOAT.
  2155.     (get_save_type): Handle them.
  2156.     (read_doubles, write_doubles): Likewise.
  2157.  
  2158.     * src/load-save.cc (get_floating_point_format): New function.
  2159.     (read_mat_binary_data, read_binary_file_header): Use it.
  2160.  
  2161.     * src/lex.l: Combine {D}+\.{D}*{EXPON}?{Im} and {D}+{EXPON}?{Im}
  2162.     patterns into the single pattern {D}+\.?{D}*{EXPON}?{Im}
  2163.     Likewise, combine {D}+\.{D}*{EXPON}? and {D}+{EXPON}? into the
  2164.     single pattern {D}+\.?{D}*{EXPON}?
  2165.     ({D}+/\.[\*/\\^']): New pattern to force expressions like `1./m'
  2166.     to be parsed the same as `1 ./ m'.
  2167.  
  2168.     * src/tree-expr.cc (do_lookup): Correctly set script_file_executed.
  2169.  
  2170.     * src/octave.cc (long_opts): Add --silent as an alias for --quiet,
  2171.     and --ignore-init-file as an alias for --norc.
  2172.  
  2173.     * src/octave.cc (verbose_usage): Exit successfully to conform to
  2174.     the GNU coding standards.
  2175.  
  2176. Sat Aug 13 11:06:23 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2177.  
  2178.     * src/dirfns.cc (chdir): New alias for cd.
  2179.  
  2180.     * src/lex.l (")"): Set convert_spaces_to_comma.
  2181.  
  2182.     * src/*.cc: Use tree_constant::is_string(), not
  2183.     tree_constant::is_string_type().
  2184.  
  2185.     * src/f-balance.cc (Fbalance): Use is_string() rather than
  2186.     checking const_type() against tree_constant_rep::string_constant.
  2187.  
  2188.     * src/tc-rep.h (tree_constant_rep::is_string_type): Delete.
  2189.     * src/tree-const.h (tree_constant::is_string_type): Delete.
  2190.  
  2191.     * src/Makefile.in (%.def : %.cc): Complain if generated file is
  2192.     empty.
  2193.  
  2194.     * configure.in (gcc_version): Set LDFLAGS to -g, not "-g -O".
  2195.  
  2196.     * src/lex.l (looks_like_bin_op): Also return true for things like
  2197.     [ 1+ 2 ].
  2198.  
  2199.     * src/data.cc (Feye, Fones): With no args, return 1.0.
  2200.     (Fzeros): With no args, return 0.0.
  2201.  
  2202.     * src/Makefile.in (XALL_CXXFLAGS): ALL_CXXFLAGS without
  2203.     -fextternal-templates.
  2204.     (%.def : %.cc): Use it instead of ALL_CXXFLAGS.
  2205.  
  2206.     * configure.in: Don't use -O for compiling float-type.c.
  2207.  
  2208.     * libcruft/misc/Makefile.in (XCC): Use patsubst to delete any -O#
  2209.     flags, not just -O.
  2210.  
  2211. Fri Aug 12 18:20:35 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2212.  
  2213.     Changes for binary load/save, and reading .mat files:
  2214.  
  2215.     * src/variables.cc (is_globally_visible): Declare extern, not
  2216.     static.
  2217.  
  2218.     * src/user-prefs.cc (sv_default_save_format): New function.
  2219.     * src/user-prefs.h (default_save_format): New field in
  2220.     user_preferences struct.
  2221.     src/variables.cc (install_builtin_variables): Add DEFVAR for
  2222.     default_save_format.
  2223.  
  2224.     * src/tc-rep.h (tree_constant_rep::is_unknown,
  2225.     tree_constant_rep::is_scalar, tree_constant_rep::is_matrix,
  2226.     tree_constant_rep::is_complex_scalar,
  2227.     tree_constant_rep::is_complex_matrix,
  2228.     tree_constant_rep::is_string, tree_constant_rep::is_range):
  2229.     New functions.
  2230.  
  2231.     * src/tree-const.h (tree_constant::is_unknown,
  2232.     tree_constant::is_scalar, tree_constant::is_matrix,
  2233.     tree_constant::is_complex_scalar, tree_constant::is_complex_matrix,
  2234.     tree_constant::is_string, tree_constant::is_range):
  2235.     New functions.
  2236.  
  2237.     * src/tc-rep.cc (tree_constant_rep::save,
  2238.     tree_constant_rep::save_three_d): Move to load-save.cc and convert
  2239.     to nonmember functions.
  2240.  
  2241.     * src/tree-const.h (tree_constant::save,
  2242.     tree_constant::save_three_d): Delete functions.
  2243.  
  2244.     * src/tree-plot.cc (save_in_tmp_file): Call nonmember functions
  2245.     save_ascii_file and save_three_d instead of tree_constant class
  2246.     member functions.
  2247.  
  2248.     * src/symtab.cc (symbol_table::glob): New function.
  2249.     (symbol_table::save, symbol_record::save, symbol_def::save):
  2250.     Delete unneeded functions.
  2251.  
  2252.     * src/load-save.cc: New file, for load/save related functions
  2253.     extracted from src/variables.cc and src/tc-rep.cc.
  2254.  
  2255.     * src/error.cc (verror): Don't print name if it is null.
  2256.  
  2257. Tue Aug  9 14:31:43 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2258.  
  2259.     * src/file-io.cc (process_printf_format): Use
  2260.     tree_constant::is_scalar_type() and is_string_type() functions
  2261.     instead of comparing directly with elements of the
  2262.     tree_constant_rep::constant_type enum.
  2263.     * src/variables.cc (builtin_real_scalar_variable): Likewise.
  2264.     (install_loaded_variable): Likewise.
  2265.  
  2266.     * src/tree-plot.cc (open_plot_stream): New function.
  2267.     (send_to_plot_stream): Use it.  Do our own check for replot with
  2268.     nothing to plot.
  2269.     (tree_plot_command::eval): Open plot stream before doing anything.
  2270.  
  2271.     * src/data.cc (check_dimensions): When changing negative
  2272.     dimensions to zero, handle nr and nc separately.
  2273.  
  2274. Mon Aug  8 20:18:17 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2275.  
  2276.     * variables.cc (is_valid_fcn): Use lookup_by_name() instead of
  2277.     looking in the global symbol table directly.
  2278.  
  2279.     * variables.cc (load_variable): Move code here.
  2280.     * src/tc-rep.cc (tree_constant_rep::load): From here.
  2281.     * src/tree-const.h (tree_constant::load): Delete.
  2282.  
  2283.     * src/tree-plot.cc: Derive classes from tree_print_code and
  2284.     implement print_code() member functions.
  2285.  
  2286.     * src/tree-plot.cc (subplot_list::print): New function.
  2287.     (tree_plot_command::print): Use it, and don't crash if plot_list
  2288.     is null.
  2289.  
  2290.     * scripts/axis.m: New function file.
  2291.  
  2292. Sun Aug  7 17:06:16 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2293.  
  2294.     * configure.in: Check for size of short, int, and long.
  2295.  
  2296.     * float-type.c: New file.
  2297.     * configure.in: Use it to determine the native floating point
  2298.     format.
  2299.     * Makefile.in: Add it to the list of files to distribute.
  2300.     * acconfig.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN, VAX_D_FLOAT,
  2301.     VAX_G_FLOAT): Add #undefs.
  2302.  
  2303. Sat Aug  6 18:23:47 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2304.  
  2305.     * config.guess: Update with new copy from gcc 2.6.0.
  2306.  
  2307.     * src/*.cc, src/*.h, src/*.l, src/*.y: Eliminate need for tree.h.
  2308.     * src/Makefile.in (INCLUDES): Delete it from the list.
  2309.  
  2310.     * src/token.cc (token::token (double)): Handle saving original
  2311.     text of constants for later use by print_code() functions.
  2312.     (token::~token): Delete original text.
  2313.     (token::text_rep): New function.
  2314.     * src/lex.l: Save original text for NUM and IMAG_NUM tokens.
  2315.     * src/parse.y: Likewise.
  2316.  
  2317.     * src/parse.y (yyerror): Use the pager.
  2318.  
  2319.     * src/tree-base.h (tree_print_code): New base class for trees and
  2320.     lists of trees.
  2321.     (tree): Derive from tree_print_code.
  2322.     * src/tree-base.cc: New file, for tree_print_code functions, and
  2323.     for initializing tree_print_code static members.
  2324.     * src/tree-const.cc, src/tc-rep.cc, src/tree-plot.cc,
  2325.     src/tree-expr.cc, src/tree-cmd.cc (all tree classes):
  2326.     Provide print_code() member function. 
  2327.     * src/tree-misc.cc: Also derive list classes from tree-base.h and
  2328.     provide print_code() member functions.
  2329.  
  2330.     * src/help.cc (Ftype, Fwhich): New functions.
  2331.  
  2332.     * src/octave-hist (do_history): Send history output through the
  2333.     pager.
  2334.  
  2335.     * src/variables.cc (do_who, Fwhos): New functions.
  2336.  
  2337.     * src/tree-expr.h (tree_expression::in_parens): Declare here.
  2338.     (tree_simple_assignment_expression::in_parens): Not here.
  2339.     * src/parse.y (maybe_warn_assign_as_truth_value): Eliminate cast.
  2340.  
  2341.     * src/variables.cc (load_fcn_from_file, lookup, lookup_by_name):
  2342.     New functions, extracted from tree_identifier class.
  2343.     (gobble_leading_whitespace, is_function_file, parse_fcn_file):
  2344.     Move here from tree-expr.cc.
  2345.     * src/help.cc (Fhelp): Use lookup_by_name so that looking up
  2346.     symbols is handled in a consistent way.
  2347.  
  2348.     * tree-expr.cc (tree_unary_expression::oper,
  2349.     tree_binary_expression::oper, tree_prefix_expression::oper,
  2350.     tree_postfix_expression::oper): New functions.
  2351.  
  2352.     * tc-rep.cc (valid_scalar_indices): Define here.
  2353.     * tc-inlines.cc: Not here.
  2354.  
  2355.     * src/tree-const.h (tree_constant::stash_original_text): New
  2356.     function.
  2357.     * src/tc-rep.cc (tree_constant_rep::stash_original_text): Ditto.
  2358.     (undo_string_escapes): Ditto.
  2359.  
  2360.     * src/tc-rep (tree_constant_rep::do_matrix_index): Don't just
  2361.     return *this.
  2362.     * src/tree-const.h (tree_constant::tree_constant (tree_constant_re&)):
  2363.     Delete.
  2364.  
  2365.     * src/pager.cc (open_diary_file, close_diary_file,
  2366.     maybe_write_to_diary_file, Fdiary): New functions.
  2367.     (flush_output_to_pager): Call maybe_write_to_diary_file before
  2368.     sending output to the screen.
  2369.     * src/input.cc (octave_gets): Call maybe_write_to_diary file to
  2370.     save the prompt and the user input.
  2371.     * src/error.cc (verror): Use C++ streams, not C I/O functions.
  2372.     Call maybe_write_to_diary file to save error messges too.
  2373.     * src/octave.cc (clean_up_and_exit): Close diary file here.
  2374.  
  2375.     * src/octave.cc (main): Initialize pager first.
  2376.  
  2377.     * src/input.cc (get_user_input): Return empty matrix for no input.
  2378.  
  2379.     * src/tree-plot.cc: Include readline/tilde.h instead of declaring
  2380.     tilde_expand() directly.
  2381.     * src/utils.cc: Likewise.
  2382.  
  2383.     * src/tree-plot.cc (tree_plot_command::print_code): New function.
  2384.     * src/tree-const.h (tree_constant::print_code): Likewise.
  2385.  
  2386.     * src/tree-expr.h (tree_simple_assignment_expression::ans_ass):
  2387.     New data member to flag assignments to ans.
  2388.     * src/tree-expr.cc (tree_identifier::eval): Set it when
  2389.     constructing assignments to ans.
  2390.     * src/parse.y (maybe_convert_to_ans_assign): Likewise.
  2391.  
  2392.     * src/tree-expr.h (tree_simple_assignment_expression::preserve):
  2393.     New data member to allow preserving left hand side args that
  2394.     shouldn't be deleted in some cases (ugh).
  2395.     * src/tree-expr.cc (tree_multi_assignment_expression::eval):
  2396.     Create assignment with preserve flag set.
  2397.  
  2398. Wed Aug  3 14:27:25 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2399.  
  2400.     Yet another massive reorganization of sources, once again
  2401.     hopefully for the better.  A fair amount of work is not detailed
  2402.     here, but these are the major points.  The grammar file and the
  2403.     derivation of the tree classes are somewhat cleaner now.
  2404.  
  2405.     * src/parse.y: Cope with changes to derivation scheme.
  2406.  
  2407.     * src/tree-misc.cc: New file.
  2408.     (tree_statement, tree_global): New classes.
  2409.     (tree_global_init_list): New class, derived from SLList for the
  2410.     list of expressions in a global command.
  2411.     * src/tree-cmd.cc (tree_global_command): Use tree_global_init_list.
  2412.  
  2413.     * src/tree-misc.cc (tree_argument_list): Move here from
  2414.     tree-expr.cc, and derive from SLList instead of tree.
  2415.     (tree_parameter_list): Likewise.
  2416.     (tree_return_list): Likewise.
  2417.  
  2418.     * src/tree-cmd.cc (tree_command_list): Delete class.
  2419.     * src/tree-misc.cc (tree_statement_list): New class for keeping a
  2420.     list of commands or expressions to evaluate.  Derive from SLList,
  2421.     not tree.
  2422.  
  2423.     * src/tree-plot.cc (subplot_list, plot_limits, plot_range,
  2424.     subplot_using, subplot_style): Rename from tree_*, and
  2425.     don't derive from tree class.
  2426.  
  2427.     * src/tree-plot.cc: Eliminate eval member function for classes not
  2428.     derived from tree class.
  2429.  
  2430.     * src/tree-plot.cc, src/tree-cmd.cc: For classes derived from
  2431.     tree-command, the eval() member function is now void eval (void).
  2432.  
  2433.     * src/tree-base.h (tree::tree): New constructor, to initialize the
  2434.     line and column info.  For all classes that are derived from the
  2435.     tree class, use it instead of manipulating the data directly.
  2436.     (line_num, column_num): Make private.
  2437.  
  2438.     * src/tree-expr.cc (tree_simple_assignment_expression::preserve):
  2439.     New data member, set in constructors and used by the destructor
  2440.     when the left-hand side of the expression should not be deleted
  2441.     (as for some temporary assignments not constructed in the parser).
  2442.  
  2443.     * src/tree-expr.h (tree_expression::type) Rename and move here from
  2444.     tree-base.h.  Change all uses.
  2445.     (tree_matrix::dir): Likewise.  Change all uses.
  2446.  
  2447.     * src/utils.cc (make_argv): Stash function name in argv[0].
  2448.  
  2449.     * src/octave.cc (global_command): Declare as tree_statement_list,
  2450.     not tree.
  2451.  
  2452.     * src/parse.y (make_binary_op, make_unary_op, make_prefix_op,
  2453.     make_postfix_op): New functions.
  2454.  
  2455.     * src/parse.y (GLOBAL): Make it a tok_val type.
  2456.     * src/lex.l (is_keyword): Give GLOBAL a value.
  2457.  
  2458. Mon Aug  1 22:37:22 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2459.  
  2460.     * src/lex.l (grab_help_text): Unput the last character read.
  2461.  
  2462. Sun Jul 31 21:17:07 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2463.  
  2464.     * src/pr-output.cc (set_format (double, int&)): Avoid calling
  2465.     log10 for Inf and NaN.
  2466.  
  2467. Fri Jul 29 16:08:32 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2468.  
  2469.     * src/octave.cc (reading_startup_message_printed): New flag.
  2470.     (parse_and_execute): New arg, verbose.  If true, print name of
  2471.     file as it is read.
  2472.     (execute_startup_files): Don't print message if
  2473.     inhibit_startup_message is true.
  2474.     (main): Move startup message before reading init files.
  2475.  
  2476. Thu Jul 28 00:25:42 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2477.  
  2478.     * liboctave/Makefile.in (MATRIX_INC): Delete CmplxColVec.h from list.
  2479.  
  2480.     * src/symtab.cc (symbol_table::rename): New function.
  2481.     * src/parse.y (func_def2): Use it instead of tree_identifier::rename.
  2482.     * src/tree-expr.cc (tree_identifier::rename): Delete unused function.
  2483.  
  2484.     * src/tree-expr.cc (tree_identifier::load_fcn_from_file): New function.
  2485.     (tree_identifier::do_lookup): Use it instead of parse_fcn_file.
  2486.     * src/variables.cc (is_valid_function): Ditto.
  2487.     * src/help.cc (Fhelp): Ditto.
  2488.  
  2489.     * src/utils.cc (oct_file_in_path): New function.
  2490.  
  2491. Wed Jul 27 08:59:32 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2492.  
  2493.     * src/tree-expr.cc (tree_identifier::parse_fcn_file): Combine
  2494.     three functions into one.
  2495.  
  2496.     * src/utils.cc: Delete uneeded declaration of ioctl().
  2497.     * src/sysdep.cc: Likewise.
  2498.  
  2499.     * install.sh: New file, from autoconf distribution.
  2500.     * Makefile.in (DISTFILES): Distribute it.
  2501.  
  2502. Tue Jul 26 16:08:58 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2503.  
  2504.     * scripts/Makefile.in (DISTDIRS): New variable, for directories
  2505.     below scripts to distribute.
  2506.     (dist): Handle distributing whole directories named by $(DISTDIRS).
  2507.     (local-dist): Ditto.
  2508.  
  2509. Mon Jul 25 12:57:09 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2510.  
  2511.     * liboctave/CmplxQRP.cc: Provide declaration for zungqr.
  2512.     * liboctave/dbleQRP.cc: Provide declaration for dorgqr.
  2513.  
  2514.     * src/Makefile.in (dist): Also remove y.output and defaults.h.
  2515.     (local-dist): Ditto.
  2516.     (realclean): Ditto.
  2517.  
  2518.     * src/oct-obj.h (Octave_object::Octave_object (int)): Make
  2519.     private, to avoid problems with different meanings of
  2520.     Octave_object (int) and Octave_object (double) constructors.
  2521.  
  2522.     * scripts/amr-image: New files for image processing from Tony
  2523.     Richardson.  These are not in the default octave LOADPATH yet.
  2524.     See the README file in the amr-image directory for more info on
  2525.     how to use them.
  2526.  
  2527.     * src/octave.cc (Fshell_cmd): Restore accidentally deleted
  2528.     function.
  2529.  
  2530.     * scripts/conv-amr.m, scripts/deconv-amr.m, scripts/roots-amr.m,
  2531.     scripts/poly-amr.m, scripts/roots-tuwien.m, scripts/conv-tuwien.m,
  2532.     scripts/deconv-tuwien.m, scripts/poly-tuwien.m:
  2533.     New files.
  2534.     XXX FIXME XXX -- For each of these functions, either one of the
  2535.     versions will need to be selected, or they will need to be merged
  2536.     before the next release.
  2537.  
  2538.     * scripts/null.m, scripts/orth.m, scripts/fft2.m, scripts/ifft2.m,
  2539.     scripts/filter.m, scripts/compan.m, scripts/polyderiv.m,
  2540.     scripts/polyinteg.m, scripts/polyreduce.m, scripts/polyval.m,
  2541.     scripts/polyvalm.m, scripts/postpad.m, scripts/prepad.m,
  2542.     scripts/residue.m, scripts/sinc.m, scripts/freqz.m,
  2543.     scripts/complement.m, scripts/intersection.m,
  2544.     scripts/create_set.m, scripts/union.m:
  2545.     New files.
  2546.  
  2547.     * scripts/hilb.m: Eliminate inner loop, for speed.  From
  2548.     romolo@URSAMAJOR.ENG.UNIPR.IT (Romolo Manfredini).
  2549.  
  2550. Sun Jul 24 22:08:48 1994  Castor Fu (castor@drizzle.stanford.edu)
  2551.  
  2552.     * libcruft/ranlib/genf.f (genf): Use 1.2E-38 instead of 1.0E-38
  2553.     when checking to see if generated numbers will cause overflow.
  2554.     This helps DEC's f77 compiler on the Alpha, which refuses to
  2555.     generate denormalized constants.
  2556.     * libcruft/ranlib/gennf.f (gennf): Likewise.
  2557.  
  2558. Fri Jul 22 10:27:00 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2559.  
  2560.     * src/Makefile.in (DEF_FILES): Depend on defun header files too.
  2561.  
  2562. Thu Jul 21 14:40:30 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2563.  
  2564.     * liboctave/NLFunc.h (nonlinear_fcn): Declare as pointer to
  2565.     function taking const ColumnVector arg.
  2566.     (jacobian_fcn): Ditto.
  2567.  
  2568.     * src/defun-int.h (DEFINE_ARGV): Declare and define save_argc and
  2569.     save_argv for functions that mess with argc and argv directly.
  2570.     (DELETE_ARGV): Use save_argc and save_argv instead of argc and argv.
  2571.  
  2572.     * src/f-lsode.cc (ODE_OPTIONS): Add const qualifier for string elts.
  2573.     (print_lsode_option_list): Declare keyword as const char *.
  2574.     * src/f-npsol.cc, src/f-qpsol.cc, src/f-dassl.cc, src/f-quad.cc:
  2575.     Likewise, for corresponding structs and functions.
  2576.  
  2577.     * liboctave/dbleSVD.h (SVD::type): New enum, for choosing type of
  2578.     factorization.
  2579.     * liboctave/CmplxSVD.cc (SVD::SVD): Add new optional arg for type.
  2580.     (init): Handle case of type == SVD::economy.
  2581.     * liboctave/dbleSVD.cc: Likewise.
  2582.  
  2583.     QR changes from R. Bruce Tenison (btenison@eng.auburn.edu) adapted
  2584.     for new way of defining builtin functions:
  2585.  
  2586.     * doc/linalg.texi:  Changed QR description to include QRP
  2587.     factorization
  2588.  
  2589.     * src/f-qr.cc (Fqr): Handle permuted and economy QR
  2590.     factorizations.  Handle case of 1 output arg.
  2591.  
  2592.     * liboctave/Makefile.in (MATRIX_INC, MATRIX_SRC): Add new QRP files.
  2593.  
  2594.     * liboctave/dbleQRP.h, liboctave/dbleQRP.cc, liboctave/CmplxQRP.h,
  2595.     liboctave/CmplxQRP.h: New files, for QR with pivoting.
  2596.  
  2597.     * liboctave/dbleQR.h (QR::type): New enum, for choosing type of
  2598.     factorization.
  2599.     * liboctave/CmplxQR.cc (QR): Add new optional arg for type.
  2600.     Handle case of type == SVD::economy and SVD::raw.
  2601.     * liboctave/dbleQR.cc (QR): Likewise.
  2602.  
  2603.     * libcruft/lapack/dgeqpf.f: New file.
  2604.     * libcruft/lapack/zgeqpf.f: Ditto.
  2605.  
  2606. Wed Jul 20 13:12:55 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2607.  
  2608.     * liboctave/*.cc, liboctave/*.h: Various cleanups to remove use of
  2609.     NULL.  Only mention default argument values in function
  2610.     declarations, not in their definitions (required for gcc 2.6.x).
  2611.  
  2612.     * configure.in: If configuring for alpha-dec-osf, check for sgtty
  2613.     first. If not found, go ahead and check for Posix terminal driver.
  2614.  
  2615. Tue Jul 19 09:25:45 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2616.  
  2617.     * liboctave/mx-defs.h (FILE): Don't declare as struct FILE just to
  2618.     avoid including stdio.h.
  2619.     * liboctave/dMatrix.cc: Do include stdio.h here.
  2620.  
  2621.     * liboctave matrix classes: Declare operator>> correctly, and
  2622.     return istream object.  Get friend stuff right.
  2623.  
  2624.     * liboctave/DAE.cc (DAE::integrate): To see if the user provided a
  2625.     Jacobian function, call DAEFunc::jacobian_function ().
  2626.  
  2627.     * liboctave/DAE.cc (user_fun, user_jac): Qualify with class name.
  2628.     * liboctave/ODE.cc (user_fun, user_jac): Ditto.
  2629.  
  2630.     * liboctave/DAFunc.h (DAEJac): Declare inside class.
  2631.     (DAERHSFunc, DAEJacFunc): Define types inside class.
  2632.     * liboctave/ODEFunc.h (ODERHSFunc, ODEJacFunc) Likewise.
  2633.  
  2634.     Massive reorganization of sources, hopefully for the better.
  2635.     A fair amount of work is not detailed here, but these are the
  2636.     major points...
  2637.  
  2638.     * src/symtab.h (symbol_def::TYPE) Add new elements for recording
  2639.     whether a symbol is a text function or mapper function.
  2640.     * src/symtab.cc (symbol_def::is_text_function,
  2641.     symbol_record::is_text_function, symbol_def::is_mapper_function,
  2642.     symbol_record::is_mapper_function): New functions.
  2643.     Modify existing is_* functions to cope with these changes.
  2644.     (symbol_def::symbol_def (tree_builtin*, unsigned)): New 2nd arg.
  2645.     (symbol_def::symbol_def (tree_function*, unsigned)): Ditto
  2646.     (symbol_def::define (tree_builtin*, unsigned)): Ditto.
  2647.     (symbol_def::define (tree_function*, unsigned)): Ditto.
  2648.     * src/variables.cc (is_text_function_name): Use the new symbol
  2649.     table functions, since we can no longer tell by looking in a
  2650.     simple list.
  2651.  
  2652.     * tree-expr.cc (class tree_builtin): Text functions are no longer
  2653.     handled as a special case here.
  2654.  
  2655.     * src/sysdep.cc (octave_ieee_init): Special case Alpha for
  2656.     initializing Inf and NaN.
  2657.  
  2658.     * src/tc-rep.cc: Use const in more places.
  2659.  
  2660.     * src/data.cc src/timefns.cc, src/dirfns.cc, src/dirfns.h: New
  2661.     files.
  2662.  
  2663.     * src/*.cc, src/*.y, src/*.l, src/*.h: Various cleanups to remove
  2664.     use of NULL.  Only mention default argument values in function
  2665.     declarations, not in their definitions (required for gcc 2.6.x).
  2666.  
  2667.     * src/g-builtins.cc, src/g-builtins.h, src/t-builtins.cc
  2668.     src/t-builtins.h: Removed.  Functions moved to various other
  2669.     files, where they more logically belong.
  2670.     * src/utils.cc:  Likewise, various functions moved to other files,
  2671.     where they more logically belong.
  2672.     * src/mappers.cc (install_mapper_functions): Declare all mapper
  2673.     functions here with the new DEFUN_MAPPER() macro.
  2674.     * src/variables.cc (install_builtin_variables): Declare all
  2675.     builtin variables here, with the new DEFVAR() macro.
  2676.  
  2677.     * src/f-*.h: Deleted.
  2678.     * src/f-*.cc: Delete #ifdef WITH_DLD code and use DEFUN_DLD()
  2679.     instead to declare builtin functions that will be dynamically
  2680.     loaded.  Give all functions a uniform return type and argument
  2681.     list.
  2682.  
  2683.     * src/mkdefs, src/mkbuiltins: New scripts.
  2684.     * src/Makefile.in: Use them to generate builtins.cc automatically
  2685.     from source files that use DEFUN.
  2686.  
  2687.     * src/defun.h, src/defun-dld.h, src/defun-int.h: New files, to
  2688.     define DEFUN() and DEFVAR() macros to make it possible to define
  2689.     functions together with their help strings in one place.  The code
  2690.     to install functions in the symbol table is now generated by
  2691.     mkbuiltins.
  2692.  
  2693.     * configure.in (LIBOCTDLD): New variable to define.
  2694.     Only call AC_VERBOSE() for DYNAMIC_LD_OBJ, DLD_DIR, LIBDLD,
  2695.     LIBOCTDLD, and LD_STATIC_FLAG if they are set.
  2696.     * move-if-change: Move here, from src/move-if-change.
  2697.     * Makeconf.in (%.d: %.cc): Echo simple message instead of the
  2698.     commands actually executed.
  2699.     (%.d: %.c): Likewise.
  2700.  
  2701.     * src/unwind-prot.h: Include stddef.h, for size_t.
  2702.  
  2703. Tue Jul 12 12:51:25 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2704.  
  2705.     * src/f-eval.cc, src/f-fill.cc, src/f-find.cc, src/f-input.cc,
  2706.     src/f-minmax.cc, src/f-log.cc, src/f-sort.cc, src/f-eval.h,
  2707.     src/f-fill.h, src/f-find.h, src/f-input.h, src/f-log.h,
  2708.     src/f-minmax.h, src/f-sort.h: New files, for functions extracted
  2709.     from tree-const.cc.
  2710.     * src/Makefile.in: Add them to the list of INCLUDES, SOURCES, and
  2711.     OBJECTS.
  2712.  
  2713.     * src/f-*.cc: Clean up things a bit by letting the compiler
  2714.     generate the tree_constant constructor calls.
  2715.  
  2716.     * src/unwind-prot.h: Include stddef.h, for size_t.
  2717.  
  2718.     * src/oct-obj.h (Octave_object (int, const tree_constant&)):
  2719.     New constructor form.
  2720.     * src/tree-const.cc (find_nonzero_elem_idx): Rewrite to handle 2
  2721.     and 3 return values.
  2722.  
  2723.     * src/g-builtins.cc (builtin_find): Check nargout too.
  2724.     * src/builtins.cc (general_functions): Fix help message for find.
  2725.  
  2726. Mon Jul 11 13:36:15 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2727.  
  2728.     * src/tc-rep.cc    (tree_constant_rep::convert_to_row_or_column_vector):
  2729.     If already have a row or column vector, return without doing
  2730.     anything.
  2731.  
  2732. Sat Jul  9 01:02:51 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2733.  
  2734.     * src/oct-obj.h (Octave_object): Make it a class, not just a
  2735.     typedef.
  2736.  
  2737.     * src/tree-expr.h (tree_function::curr_va_arg_number): Rename from
  2738.     curr_arg_number.
  2739.     (tree_function::varargs_ok): Delete unused member variable.
  2740.     * src/tree-expr.cc (tree_function::octave_va_arg): Increment
  2741.     cur_va_arg_number before indexing args_passed.
  2742.     (tree_function::octave_va_start): Set curr_va_arg_number to
  2743.     num_args_passed, not num_args_passed + 1.
  2744.     (tree_function::takes_varargs): Call param_list::takes_varargs,
  2745.     don't just return varargs_ok.
  2746.     (tree_function::define_param_list): If param_list is not NULL, set
  2747.     num_named_args and curr_va_arg_number even if function doesn't
  2748.     take varargs.
  2749.  
  2750.     * src/tree-expr.cc (tree_identifier::eval (int)): Only pass empty
  2751.     arg list if evaluating a constant.
  2752.     (tree_function::eval (int)): Always pass least one arg.
  2753.  
  2754.     * Makeconf.in (TMP_IF_1): Add `-I../src'.
  2755.     (TMP_IF_2): Add `-I$(TOPDIR)/src' and `-I$(top_srcdir)/src'.
  2756.  
  2757.     * src/t-builtins.h, src/variables.h, src/file-io.h, src/f-syl.h,
  2758.     src/f-svd.h, src/f-schur.h, src/f-rand.h, src/f-qzval.h,
  2759.     src/f-quad.h, src/f-qpsol.h, src/f-npsol.h, src/f-lsode.h,
  2760.     src/f-lpsolve.h, src/f-hess.h, src/f-givens.h, src/f-fsqp.h,
  2761.     src/f-fsolve.h, src/f-eig.h, src/f-dassl.h, src/f-colloc.h,
  2762.     src/f-balance.h, src/dynamic-ld.h, src/builtins.cc,
  2763.     src/tree-const.cc, src/file-io.cc, src/f-syl.cc, src/f-svd.cc,
  2764.     src/f-schur.cc, src/f-rand.cc, src/f-qzval.cc, src/f-qr.cc,
  2765.     src/f-qpsol.cc, src/f-lu.cc, src/f-lpsolve.cc, src/f-inv.cc,
  2766.     src/f-ifft.cc, src/f-hess.cc, src/f-givens.cc, src/f-fsqp.cc,
  2767.     src/f-fft.cc, src/f-expm.cc, src/f-eig.cc, src/f-det.cc,
  2768.     src/f-colloc.cc, src/f-chol.cc, src/f-balance.cc,
  2769.     src/dynamic-ld.cc, src/f-dassl.cc, src/f-fsolve.cc,
  2770.     src/f-lsode.cc, src/f-npsol.cc, src/f-quad.cc, src/tree-expr.h,
  2771.     src/tc-rep.cc, src/tc-inlines.cc, src/tc-rep.h, src/tree-const.h,
  2772.     src/g-builtins.cc, src/g-builtins.h, src/tree-expr.cc,
  2773.     src/variables.cc: Delete nargin in favor of using args.length().
  2774.  
  2775.     * configure.in: Check for struct exception in math.h.
  2776.     * src/sysdep.cc (matherr): New function.
  2777.  
  2778. Fri Jul  8 15:31:53 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2779.  
  2780.     * src/tc-rep.cc: Include arith-ops.h.
  2781.     (tree_constant_rep::do_scalar_index): Use `invalid', not `illegal'
  2782.     in messages.
  2783.  
  2784.     * src/oct-obj.h: Protect contents from multiple inclusion.
  2785.  
  2786.     * src/tree-const.h, src/tree-expr.h: Don't include Array.h.
  2787.  
  2788.     * src/parse.y (param_list): Allow ELLIPSIS by itself.
  2789.     * src/tree-expr.cc (tree_identifier::mark_varargs_only,
  2790.     tree_identifier::vararg_only): New functions.
  2791.     (tree_function::eval): Only call define_from_arg_vector if
  2792.     param_list is non-null and not marked as varargs_only.
  2793.  
  2794.     * src/f-balance.h, src/f-chol.h, src/f-colloc.h, src/f-dassl.h,
  2795.     src/f-eig.h, src/f-fsolve.h, src/f-fsqp.h, src/f-givens.h,
  2796.     src/f-hess.h, src/f-lpsolve.h, src/f-lsode.h, src/f-lu.h,
  2797.     src/f-npsol.h, src/f-qpsol.h, src/f-qr.h, src/f-quad.h,
  2798.     src/f-qzval.h, src/f-rand.h, src/f-schur.h, src/f-svd.h,
  2799.     src/f-syl.h: Include oct-obj.h, not tree-const.h to get
  2800.     declaration of Octave_object.
  2801.  
  2802.     * src/f-givens.cc (givens): Handle case of nargout == 0.
  2803.     Use `invalid', not `illegal' in messages.
  2804.     * src/f-balance.cc (balance): Likewise.
  2805.  
  2806.     * src/f-balance.cc (balance): Print warning about two output
  2807.     arguments for complex-valued case too.
  2808.  
  2809.     * src/tc-rep.cc: Include arith-ops.h.
  2810.  
  2811. Thu Jul  7 20:54:12 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2812.  
  2813.     * src/parse.y (identifier): Add missing semicolon.
  2814.     (param_list): Ditto.
  2815.  
  2816.     * src/f-svd.cc (svd): Handle nargout == 0 the same as nargout == 1.
  2817.     * src/f-schur.cc (schur): Likewise.
  2818.     * src/f-hess.cc (hess): Likewise.
  2819.     * src/f-eig.cc (eig): Likewise.
  2820.     * src/f-syl.cc (syl): Likewise.
  2821.     * src/f-qzval.cc (qzvalue): Likewise.
  2822.     * src/f-npsol.cc (npsol): Likewise.
  2823.     * src/f-qpsol.cc (qpsol): Likewise.
  2824.     * src/f-givens.cc (givens): Likewise.
  2825.     * src/f-fsolve.cc (fsolve): Likewise.
  2826.     * src/f-balance.cc (balance): Likewise.
  2827.     * src/file-io.cc (process_scanf_format): Likewise.
  2828.     * src/g-builtins.cc (builtin_balance, builtin_chol, builtin_dassl,
  2829.     builtin_eig, builtin_fsolve, builtin_fsqp, builtin_lsode,
  2830.     builtin_max, builtin_min, builtin_npsol, builtin_qpsol,
  2831.     builtin_quad, builtin_rand, builtin_size, builtin_sort,
  2832.     builtin_svd, builtin_schur, builtin_syl, builtin_givens,
  2833.     builtin_hess): Likewise.
  2834.     * src/tree-const.cc (vector_of_empties, column_max, column_min):
  2835.     Likewise.
  2836.  
  2837.     * src/variables.h, src/symtab.h: Include builtins.h for typedefs.
  2838.  
  2839.     * src/tree-expr.cc(tree_multi_assignment_expression::eval): Rework
  2840.     handling of undefined values returned from functions.
  2841.  
  2842.     * src/tree-expr.cc (tree_identifier::is_defined): New function.
  2843.     (tree_parameter_list::is_defined): New function.
  2844.     (tree_parameter_list::convert_to_const_vector): Use it to avoid
  2845.     evaluating undefined objects.
  2846.  
  2847.     * src/f-balance.cc, src/f-eig.h, src/f-hess.cc, src/f-lu.h,
  2848.     src/f-rand.cc, src/f-balance.h, src/f-expm.cc, src/f-hess.h,
  2849.     src/f-npsol.cc, src/f-rand.h, src/f-chol.cc, src/f-expm.h,
  2850.     src/f-ifft.cc, src/f-npsol.h, src/f-schur.cc, src/f-chol.h,
  2851.     src/f-fft.cc, src/f-ifft.h, src/f-qpsol.cc, src/f-schur.h,
  2852.     src/f-colloc.cc, src/f-fft.h, src/f-inv.cc, src/f-qpsol.h,
  2853.     src/f-svd.cc, src/f-colloc.h, src/f-fsolve.cc, src/f-inv.h,
  2854.     src/f-qr.cc, src/f-svd.h, src/f-dassl.cc, src/f-fsolve.h,
  2855.     src/f-lpsolve.cc, src/f-qr.h, src/f-syl.cc, src/f-dassl.h,
  2856.     src/f-fsqp.cc, src/f-lpsolve.h, src/f-quad.cc, src/f-syl.h,
  2857.     src/f-det.cc, src/f-fsqp.h, src/f-lsode.cc, src/f-quad.h,
  2858.     src/f-det.h, src/f-givens.cc, src/f-lsode.h, src/f-qzval.cc,
  2859.     src/f-eig.cc, src/f-givens.h, src/f-lu.cc, src/f-qzval.h,
  2860.     src/dynamic-ld.cc, src/dynamic-ld.h, src/file-io.cc,
  2861.     src/file-io.h, src/t-biultins.cc, src/t-builtins.h,
  2862.     src/tree-expr.cc, src/tree-expr.h, src/tree-const.cc,
  2863.     src/tree-const.h, src/tc-inlines.cc, src/tc-rep.cc, src/tc-rep.h,
  2864.     src/g-builtins.cc, src/g-builtins.h:
  2865.     Cope with inital round of Octave_object changes.
  2866.  
  2867.     * src/oct-obj.h: New file for Octave_object typedef.
  2868.     * src/dynamic-ld.h, src/file-io.h, src/tree-const.h,
  2869.     src/tree-expr.h: Include it.
  2870.     * src/Makefile.in (INCLUDES): Add it to the list.
  2871.  
  2872. Wed Jul  6 09:28:28 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2873.  
  2874.     * libocsrc/tree-const.h: 
  2875.  
  2876.     * src/parse.y (maybe_convert_to_ans_assign,
  2877.     maybe_warn_assign_as_truth_value): Pass tree_expression*, not tree*.
  2878.     (ans_expression, expression, simple_expr, simple_expr1, title):
  2879.     Declare as tree_expression_type, not tree_type.
  2880.     (opt_list): Add missing semicolon.
  2881.  
  2882.     * src/tc-rep.h, src/tc-rep.cc: New files, extracted from
  2883.     tree-const.h and tree-const.cc, for the tree_constant_rep class.
  2884.     Leave most friend functions behind, in tree-const.h.
  2885.     Don't declare do_binary_op or do_unary_op as friends.
  2886.  
  2887.     * src/lex.l: Include tree-plot.h and tree-const.h.
  2888.  
  2889.     * src/variables.cc (takes_correct_nargs): Pass tree_fvc* not tree*.
  2890.     * src/variables.cc (is_valid_function): Return tree_fvc* not tree*.
  2891.     Change all callers.
  2892.  
  2893.     * src/symtab.h, symtab.cc: Change declaration of symbol definition to
  2894.     be tree_fvc* instead of tree*.  Change all callers.
  2895.  
  2896.     * src/f-dassl.cc (dassl_fcn): Declare as tree_fvc*, not tree*.
  2897.     * src/f-quad.cc (quad_fcn): Likewise.
  2898.     * src/f-lsode.cc (lsode_fcn): Likewise.
  2899.     * src/f-fsolve.cc (fsolve_fcn): Likewise.
  2900.     * src/f-npsol.cc (npsol_fcn, npsol_constraints): Likewise.
  2901.  
  2902.     * src/tree-plot.cc: All operations are now on tree_expression types,
  2903.     not tree types.
  2904.  
  2905.     * src/tree-expr.h (tree_matrix): Derive from tree_expression, not tree.
  2906.  
  2907.     * src/tree-expr.h (tree_builtin, tree_function, tree_identifier):
  2908.     Derive from tree_fvc, not tree.    
  2909.     * src/tree-const.h (class tree_constant): Likewise.
  2910.  
  2911.     * src/tree-expr.h (is_identifier, is_index_expression,
  2912.     is_assignment_expression, is_prefix_expression,
  2913.     mark_for_possible_ans_assign, eval (with args)): Declare in
  2914.     tree_expression class, not tree class.
  2915.  
  2916.     * src/tree-expr.h (tree_fvc): New class, derived from
  2917.     tree_expression, to provide a connection between functions,
  2918.     variables, and constants.
  2919.     (is_constant, assign, name, bump_value, max_expected_args,
  2920.     fcn_file_name, time_parsed, is_system_fcn_file, save): Declare
  2921.     in tree_fvc class, not in tree class.
  2922.  
  2923.     * src/tree.h: Simply include tree-expr.h and tree-cmd.h.
  2924.     * src/tree-expr.h, tree-expr.cc: New files, extracted from tree.h
  2925.     and tree.cc for classes derived from tree_expression, plus some
  2926.     helper classes.
  2927.     * src/tree-cmd.h, tree-cmd.cc: Likewise, for classes derived from
  2928.     tree_command.
  2929.  
  2930.     * src/tree.cc (eval (int, int)): Merge with eval (int,
  2931.     tree_constant*, int, int) by rearranging order of args and using
  2932.     default arg values.  Change all callers.    
  2933.  
  2934. Tue Jul  5 14:33:33 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2935.  
  2936.     * doc/Makefile.in (refcard.dvi): Run TeX on $(srcdir)/refcard.tex,
  2937.     not just refcard.tex.
  2938.     (refcard-local.tex): Likewise, for the local version.
  2939.  
  2940.     * src/tree-const.cc (tree_constant_rep::do_index): Check for empty
  2941.     matrix here.
  2942.     (tree_constant_rep::do_vector_index) Not here.
  2943.  
  2944. Thu Jun 30 09:41:03 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2945.  
  2946.     * src/g-builtins.cc (builtin_shell_command): Only take one
  2947.     argument and return [status, output].
  2948.     * src/procstream.cc (procstreambase::close): Return process exit
  2949.     status.
  2950.  
  2951.     * src/tree.cc (tree_builtin::eval (int)): Handle new style of
  2952.     calling text functions.
  2953.     (tree_builtin::eval (int, int): Likewise.
  2954.     (tree_builtin::eval (tree_constant*, int, int, int): Likewise.
  2955.     (tree_identifier::eval (tree_constant*, int, int, int)): Don't
  2956.     count the output arguments that we create automatically (ans) when
  2957.     figuring nargout.
  2958.     (tree_identifier::eval (int)): Likewise.
  2959.  
  2960.     * src/tree-const.cc: Delete text-style eval() functions.
  2961.     * src/tree.cc: Ditto.
  2962.  
  2963.     * src/tree-const.h: Change typedef of Text_fcn to return a pointer
  2964.     to a tree_constant, and to include the number of output arguments
  2965.     in the parameter list.
  2966.     * src/t-builtins.h: Change declarations of all builtin text-style
  2967.     functions to match.
  2968.     * src/t-builtins.cc: Change definitions too.
  2969.  
  2970.     * src/parse.y (word_list): Build an argument_list, not a word_list.
  2971.     (word_list_command): Create an index_expression, not a
  2972.     word_list_command.
  2973.     * src/tree.cc (tree_word_list): Delete unneeded class.
  2974.     (tree_word_list_command): Likewise.
  2975.  
  2976.     * src/tc-extras.cc (get_dimensions): For one-arg version, expect
  2977.     2-element vector or scalar specifying dimensions.  Don't simply
  2978.     use the dimensions of a matrix arg.
  2979.  
  2980. Wed Jun 29 09:52:15 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2981.  
  2982.     * src/f-det.cc (determinant): Return 0 if matrix is singular to
  2983.     machine precision.
  2984.  
  2985.     * liboctave/dMatrix.cc (Matrix::inverse): Declare rcond as
  2986.     volatile to prevent optimization of the expression
  2987.     `rcond + 1.0 == 1.0'.
  2988.     (Matrix::determinant): Ditto.
  2989.     (Matrix::solve): Ditto.
  2990.     * liboctave/CMatrix.cc (ComplexMatrix::inverse): Ditto.
  2991.     (ComplexMatrix::determinant): Ditto.
  2992.     (ComplexMatrix::solve): Ditto.
  2993.  
  2994. Tue Jun 28 10:53:31 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  2995.  
  2996.     * src/utils.cc (default_info_file): Add directory separator when
  2997.     appending "octave.info".
  2998.  
  2999.     * src/tree-plot.cc (plot_line_count): Make global.
  3000.     * src/utils.cc (send_to_plot_stream): If the plot stream is not
  3001.     open, set plot_line_count to zero.
  3002.     (close_plot_stream): Likewise, set it to zero when closing the
  3003.     stream.
  3004.  
  3005.     * src/parse.y (plot_command): Allow replot without args.
  3006.  
  3007.     * src/tree-plot.cc (clear_before_plotting): New global variable.
  3008.     (tree_plot_command::eval): Use it to handle hold on/off.
  3009.     * src/t-builtins.cc (builtin_hold): New function.
  3010.     * src/builtins.cc (text_functions): Add it to the list.
  3011.  
  3012. Fri Jun 24 11:08:36 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3013.  
  3014.     * src/token.h (plot_tok_type): Add new field, replot.
  3015.     * src/lex.l (is_keyword): Handle replot here.
  3016.     * src/parse.y (plot_command): And here.
  3017.     * src/g-builtins.cc (builtin_replot): Not here.
  3018.     * src/builtins.cc (general_functions): Or here.
  3019.  
  3020. Tue Jun 21 10:47:08 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3021.  
  3022.     * src/g-builtins.cc (builtin_kbhit): New function.
  3023.     * src/builtins.cc (general_functions): Add it to the list.
  3024.  
  3025.     * src/tree-const.cc (tree_constant_rep::rows (void)): For strings
  3026.     and ranges, only return 1 if the string or range is not empty.
  3027.  
  3028. Thu Jun  9 20:42:06 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3029.  
  3030.     * src/tree.cc (tree_builtin::eval (int)): Delete ancient code that
  3031.     eval()'d the return value.
  3032.     (tree_builtin::eval (int, int)): Likewise.
  3033.     (tree_builtin::eval (int, char**, int)): Likewise.
  3034.     (tree_builtin::eval (tree_constant*, int, int, int)): Likewise.
  3035.     (tree_function::eval (tree_constant*, int, int, int)): Likewise.
  3036.     (tree_colon_expression::eval (int)): Likewise.
  3037.     (tree_unary_expression::eval (int)): Likewise.
  3038.     (tree_binary_expression::eval (int)): Likewise.
  3039.  
  3040. Mon Jun  6 03:48:32 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3041.  
  3042.     * src/file-io.cc (fread_internal): Make it work.
  3043.     (fwrite_internal): Likewise.
  3044.     (num_items_remaining): Renamed from get_whats_left().  Don't pass
  3045.     nr/nc as last arg, simply return the number of items of size that
  3046.     are left to read.
  3047.     (get_size_conv): Delete unnecessary function.
  3048.     * liboctave/dMatrix.cc (Matrix::read): Make it work.
  3049.     (Matrix::write): Likewise.
  3050.     * liboctave/dMatrix.h (conversion): Delete unecessary enum.
  3051.  
  3052.     * src/sysdep.cc: Include <math.h>.
  3053.     (octave_ieee_init): Cast return value of infinity() and
  3054.     quiet_nan() to double.
  3055.  
  3056. Sun Jun  5 14:35:32 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3057.  
  3058.     * Makeconf.in (getversion): Get everything between the double
  3059.     quotes, not just numbers and periods.
  3060.  
  3061.     * src/tree-const.cc (tree_constant_rep::do_scalar_assignment): Correct
  3062.     typo in last change.
  3063.  
  3064.     * src/parse.y: Include tree-plot.h and tree-const.h.
  3065.  
  3066.     * src/Makefile.in (SOURCES): Delete tc-assign.cc and tc-index.cc
  3067.     (INCLUDES): Add tree-plot.h.
  3068.  
  3069.     * src/tree-plot.h: New file.  Declare plotting classes here.
  3070.     * src/tree.h: Not here.
  3071.  
  3072.     * src/tc-index.cc, tc-assign.cc: Delete unnecessary files.
  3073.  
  3074.     * src/tc-extras.cc: Include EIG.h
  3075.  
  3076.     * src/tree-const.cc (tree_constant_rep::tree_constant_rep (RowVector&,
  3077.     int)): Provide default value for int arg.
  3078.     (tree_constant_rep::tree_constant_rep (ColumnwVector&, int)): Ditto
  3079.     (tree_constant_rep::tree_constant_rep (ComplexRowVector&, int)): Ditto
  3080.     (tree_constant_rep::tree_constant_rep (ComplexColumnwVector&, int)):
  3081.     Ditto.
  3082.     (tree_constant_rep::tree_constant_rep (RowVector&)): Delete, now
  3083.     handled by corresponding two arg constructor.
  3084.     (tree_constant_rep::tree_constant_rep (ColumnwVector&)): Likewise.
  3085.     (tree_constant_rep::tree_constant_rep (ComplexRowVector&)): Likewise.
  3086.     (tree_constant_rep::tree_constant_rep (ComplexColumnwVector&)):
  3087.     Likewise.
  3088.  
  3089.     * src/tree-const.cc: Add pragma implementation.  Merge in contents of
  3090.     tc-index.cc and tc-assign.cc so that the pragma interface/pragma
  3091.     implementation hack will do some good.
  3092.     * src/tree-const.h: Include mx-base.h, not Matrix.h.  Add pragma
  3093.     interface.  Delete unnecessary constructor declarations.
  3094.  
  3095.     * src/unwind-prot.h, src/unwind-prot.cc (unwind_elem_tag): Rename
  3096.     from _tag.
  3097.     (unwind_elem_fptr): Rename from _fptr.
  3098.     (unwind_elem_ptr): Rename from _ptr.
  3099.  
  3100.     * NLConst.cc (NLConst::NLConst): Pass vector args by reference.
  3101.  
  3102.     * src/procstream.h, src/procstream.cc, src/idx-vector.h,
  3103.     src/idx-vector.cc, src/token.h, src/token.cc, src/unwind-prot.h,
  3104.     src/unwind-prot.cc, src/symtab.h, src/symtab.cc, src/tree.h,
  3105.     src/tree.cc, liboctave/Range.h, liboctave/Range.cc,
  3106.     liboctave/QLD.h, liboctave/QLD.cc, liboctave/ODE.h,
  3107.     liboctave/ODE.cc, liboctave/Quad.h, liboctave/Quad.cc,
  3108.     liboctave/Objective.h, liboctave/Objective.cc, liboctave/NPSOL.h,
  3109.     liboctave/NPSOl.cc, liboctave/NLFunc.h, liboctave/NLFunc.cc,
  3110.     liboctave/Bounds.h, liboctave/Bounds.cc, liboctave/QP.h,
  3111.     liboctave/QP.cc, liboctave/NLConst.cc, liboctave/LinConst.cc,
  3112.     liboctave/LPsolve.cc, liboctave/LP.cc, liboctave/FSQP.cc,
  3113.     liboctave/FEGrid.cc, liboctave/QPSOL.cc, liboctave/CollocWt.cc,
  3114.     liboctave/DAEFunc.cc, liboctave/DAEFunc.h, liboctave/DAE.cc,
  3115.     liboctave/NLEqn.cc, liboctave/ODEFunc.cc, liboctave/QPSOL.h,
  3116.     liboctave/ODEFunc.h, liboctave/NLP.h, liboctave/NLEqn.h,
  3117.     liboctave/NLConst.h, liboctave/LinConst.h, liboctave/LPsolve.h,
  3118.     liboctave/LP.h, liboctave/FSQP.h, liboctave/FEGrid.h,
  3119.     liboctave/DAE.h, liboctave/CollocWt.h:
  3120.     Add pragma interface/implementation.
  3121.  
  3122.     * src/f-svd.cc, src/f-schur.cc, src/f-qr.cc, src/f-lu.cc,
  3123.     src/f-hess.cc, src/f-det.cc, src/f-chol.cc, src/f-qzval.cc,
  3124.     src/f-inv.cc, src/f-ifft.cc, src/f-givens.cc, src/f-fft.cc, 
  3125.     src/f-balance.cc, src/f-expm.cc, src/f-fsqp.cc, src/f-syl.cc,
  3126.     src/xdiv.cc, src/xpow.cc, src/idx-vector.cc, src/pr-output.cc,
  3127.     src/unwind-prot.cc, src/file-io.cc, liboctave/Bounds.h,
  3128.     liboctave/CollocWt.h, liboctave/DAE.h, liboctave/EIG.h,
  3129.     liboctave/FEGrid.h, liboctave/LP.h, liboctave/LPsolve.cc,
  3130.     liboctave/LinConst.h, liboctave/NLEqn.cc, liboctave/NLEqn.h,
  3131.     liboctave/NLP.h, liboctave/NPSOL.cc, liboctave/NPSOL.h,
  3132.     liboctave/ODE.h, liboctave/Objective.h, liboctave/QLD.cc,
  3133.     liboctave/QP.h, liboctave/QPSOL.h, liboctave/Quad.h:
  3134.     Instead of including Matrix.h, only include the individual
  3135.     matrix/vector/etc. header files that are needed.
  3136.  
  3137.     * liboctave/QLD.cc, liboctave/ODE.cc, liboctave/NLFunc.cc,
  3138.     liboctave/DAEFunc.cc, liboctave/DAE.cc, liboctave/NLEqn.cc,
  3139.     liboctave/ODEFunc.cc:
  3140.     Use 0, not NULL.
  3141.  
  3142.     * liboctave/mx-inlines.cc: Include Complex.h.
  3143.  
  3144.     * liboctave/mx-kludge.h: Don't enclose contents in extern "C++".
  3145.  
  3146.     * liboctave/Matrix.h: Simply include mx-base.h and mx-ext.h.
  3147.  
  3148.     * liboctave/mx-base.h: New file, includes all basic matrix/vector
  3149.     header files.
  3150.     * liboctave/mx-ext.h: New file, includes all extra matrix/vector
  3151.     related header files.
  3152.     * liboctave/mx-defs.h: New file, for matrix/vector related
  3153.     defines.  Also provides forward declarations for all matrix/vector
  3154.     classes.
  3155.  
  3156.     * liboctave/Makefile.in: Cope with new files.
  3157.  
  3158.     * liboctave/CmplxAEPBAL.cc, liboctave/CmplxDET.h,
  3159.     liboctave/CmplxQR.cc, liboctave/CmplxSVD.h, liboctave/dbleDET.cc,
  3160.     liboctave/dbleHESS.h, liboctave/dbleSCHUR.cc,
  3161.     liboctave/CmplxAEPBAL.h, liboctave/CmplxHESS.cc,
  3162.     liboctave/CmplxQR.h, liboctave/dbleAEPBAL.cc, liboctave/dbleDET.h,
  3163.     liboctave/dbleLU.cc, liboctave/dbleSCHUR.h,
  3164.     liboctave/CmplxCHOL.cc, liboctave/CmplxHESS.h,
  3165.     liboctave/CmplxSCHUR.cc, liboctave/dbleAEPBAL.h,
  3166.     liboctave/dbleGEPBAL.cc, liboctave/dbleLU.h, liboctave/dbleSVD.cc,
  3167.     liboctave/CmplxCHOL.h, liboctave/CmplxLU.cc,
  3168.     liboctave/CmplxSCHUR.h, liboctave/dbleCHOL.cc
  3169.     liboctave/dbleGEPBAL.h, liboctave/dbleQR.cc, liboctave/dbleSVD.h,
  3170.     liboctave/CmplxDET.cc, liboctave/CmplxLU.h, liboctave/CmplxSVD.cc,
  3171.     liboctave/dbleCHOL.h, liboctave/dbleHESS.cc, liboctave/dbleQR.h,
  3172.     liboctave/EIG.h, liboctave/EIG.cc:
  3173.     New files, extracted from Matrix-ext.cc, in an attempt to allow
  3174.     effective use of pragma interface/implementation and make
  3175.     generated code somewhat smaller.
  3176.     * liboctave/dColVector.cc liboctave/CColVector.cc: Likewise, from
  3177.     ColVector.{cc,h}.
  3178.     * liboctave/dRowVector.cc liboctave/CRowVector.cc: Likewise, from
  3179.     RowVector.{cc,h}.
  3180.     * liboctave/dMatrix.cc liboctave/CMatrix.cc: Likewise, from
  3181.     Matrix.{cc,h}.
  3182.     * liboctave/dDiagMatrix.cc liboctave/CDiagMatrix.cc: Likewise,
  3183.     from DiagMatrix.{cc,h}.
  3184.  
  3185. Fri Jun  3 15:32:53 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3186.  
  3187.     * liboctave/Array.h: Include assert.h.
  3188.     (DiagArray<T>::operator T ()): [! _AIX] Only call get() if i is
  3189.     also equal to j.
  3190.  
  3191.     * scripts/rem.m: Allow mixing of scalar/matrix args, but complain
  3192.     if both args are matrices and the dimensions don't agree.
  3193.  
  3194.     * src/lex.l (grab_help_text): Correct previous change.
  3195.  
  3196. Thu Jun  2 12:08:18 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3197.  
  3198.     * Matrix.h (conversion): New enum, for binary read/write
  3199.     functions.
  3200.     * Matrix.cc (read, write) New functions.
  3201.     * file-io.cc (feof_internal, ferror_internal, fread_internal,
  3202.     fwrite_internal, get_size_conv, get_whats_left): New functions.
  3203.     * g-builtins.cc (builtin_feof, builtin_ferror, builtin_fread,
  3204.     builtin_fwrite): New functions.
  3205.     * builtins.cc (general_functions): Add them to the list.
  3206.  
  3207.     * configure.in: Check for infinity() and quiet_nan().
  3208.     * sysdep.h (octave_Inf, octave_NaN): New global variables.
  3209.     * sysdep.cc (octave_ieee_init): New function.  Initialize
  3210.     octave_Inf and octave_NaN.
  3211.     (sysdep_init): Call it.
  3212.     * builtins.cc (initialize_builtins): Don't compute Inf and NaN
  3213.     values here.
  3214.     
  3215. Tue May 31 20:06:27 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3216.  
  3217.     * src/variables.cc (identifier_exists): Only return 1 for
  3218.     variables if they are also defined.
  3219.  
  3220. Sun May 29 20:40:55 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3221.  
  3222.     * src/lex.l: Don't declare beginning_of_function as static.
  3223.     (COMMENT): Delete unnecessary exclusive start state.
  3224.     (\#, \%): Handle comments directly.  Try to be smart about not
  3225.     returning a newline character when reading a matrix list.
  3226.     (grab_help_text): Don't put a newline back on the input stream.
  3227.     * src/parse.y (list1): Set beginning_of_function to zero here.
  3228.  
  3229. Wed May 25 03:34:17 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3230.  
  3231.     * src/error.cc (error): If error_state is -2, don't do anything.
  3232.     If the format string ends in a new line character, strip it, print
  3233.     the error message, and set the error state to -2.
  3234.     * src/tree.cc (tree_function::traceback_error): Don't set the
  3235.     error_state if it is already negative.
  3236.  
  3237.     * src/tree-const.cc (convert_to_row_or_column_vector): New function.
  3238.     * src/idx-vector.cc (idx_vector::shorten): New function.
  3239.     * src/tc-assign.cc (fortran_style_matrix_assignment
  3240.     (tree_constant&, tree_constant&)): Handle deleting elements by
  3241.     assignment of `[]'.  Use convert_to_row_or_column_vector to handle
  3242.     conversion to a vector in the case of deleting some elements from
  3243.     a matrix.  Use idx_vector::shorten() to remove unnecessary index
  3244.     vector elements.
  3245.     (do_scalar_assignment (tree_constant&, tree_constant*, int)):
  3246.     Handle assignment of empty matrix.
  3247.     If converting complex to real, delete old complex value.
  3248.     (delete_rows (idx_vector&)): If deleting all rows of a column
  3249.     vector, convert to empty matrix.
  3250.     (delete_rows (Range&)): Ditto.
  3251.     (delete_columns (idx_vector&)): If deleting all columns of a row
  3252.     vector, convert to empty matrix.
  3253.     (delete_columns (Range&)): Ditto.
  3254.  
  3255.     * src/tc-extras.cc (column_max (tree_constant*, int, int)):
  3256.     Use MAX, not MIN when trying to find the biggest scalar.
  3257.     Likewise, find the complex scalar with the largest, not the
  3258.     smallest absolute value.
  3259.  
  3260.     * src/tc-assign.cc (do_matrix_assignment (tree_constant&,
  3261.     tree_constant_rep::constant_type, tree_constant&): For case of
  3262.     j_arg == matrix constant, don't negate return value of
  3263.     indexed_assign_conforms().
  3264.  
  3265.     * src/user-prefs.cc (commas_in_literal_matrix): New function.
  3266.     Put functions in alphabetical order.
  3267.     * src/user-prefs.h (commas_in_literal_matrix): New structure element.
  3268.     Alphabetize structure elements and lists of functions.
  3269.     * src/builtins.cc (string_variables): Add commas_in_literal_matrix
  3270.     to the list.
  3271.     * src/lex.l (<MATRIX>{SN}*\]{S}*): Pay attention to the value of
  3272.     usre_pref.commas_in_literal_matrix when deciding whether to insert
  3273.     a comma after seeing a ']' character.
  3274.     (handle_identifier): Likewise.
  3275.     (<MATRIX>{S}+): If commas are required, just eat the spaces.
  3276.  
  3277. Tue May 24 19:49:51 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3278.  
  3279.     * src/tc-assign.cc (tree_constant_rep::do_matrix_assignment
  3280.       (tree_constant&, tree_constant*, int)): Handle empty arguments
  3281.     for two index values.
  3282.     (tree_constant_rep::do_matrix_assignment
  3283.       (tree_constant&, tree_constant&)):
  3284.     Likewise, for single index values.
  3285.  
  3286. Mon May 23 01:43:23 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3287.  
  3288.     * Makefile.in (snapshot, snapshot-version): New targets.
  3289.  
  3290.     * configure.in: Handle --enable-run-in-place (was easier than
  3291.     doing the work to parse --run-in-place like Emacs uses).
  3292.  
  3293.     * acconfig.h: Add #undef for RUN_IN_PLACE.
  3294.  
  3295.     * Makeconf.in (OCTAVE_HOME): New macro.
  3296.     * src/Makefile.in (defaults.h): Use it instead of ${prefix}.
  3297.  
  3298.     * Makeconf.in (OCTAVE_INFO_DIR, OCTAVE_LIB_DIR): New macros.
  3299.     * src/Makefile.in (defaults.h): Substitute them too.
  3300.  
  3301.     * src/defaults.h.in (OCTAVE_INFO_DIR): New macro, used if
  3302.     RUN_IN_PLACE is defined.
  3303.     (OCTAVE_LIB_DIR): Likewise.
  3304.  
  3305.     * src/utils.cc (octave_home): Handle RUN_IN_PLACE
  3306.     (octave_info_dir): Ditto.
  3307.     (octave_lib_dir): Ditto.
  3308.  
  3309.     * src/tree-const.cc (tree_constant_rep::diag (void)): For empty
  3310.     matrix, return empty matrix.
  3311.     (tree_constant_rep::diag (tree_constant &)): Likewise, regardless
  3312.     of value of arg.
  3313.  
  3314.     * scripts/int2str.m: Format as integer, not float.
  3315.     Don't add trailing new line character.
  3316.  
  3317. Sun May 22 22:13:01 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3318.  
  3319.     * scripts/plot_int.m: When looking for imaginary arguments, check
  3320.     if any element has an imaginary component, not if all elements
  3321.     have imaginary components.
  3322.  
  3323. Thu May 19 19:46:23 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3324.  
  3325.     * src/parse.y (EXPR_AND_AND, EXPR_OR_OR): New tokens, for
  3326.     short-circuit logical AND and OR operators.
  3327.     (simple_expression): Handle new tokens.
  3328.     * src/lex.l (&&) [SHORT_CIRCUIT_LOGICALS]: Return EXPR_AND_AND.
  3329.     (||) [SHORT_CIRCUIT_LOGICALS]: Return EXPR_OR_OR.
  3330.     * src/tree.cc (tree_binary_expression::eval): Handle short-circuit
  3331.     boolean operators.
  3332.     (tree_binary_expression::eval_error): Print different messages for
  3333.     or_or/or and and_and/and.
  3334.     * src/tree-base.h (tree_expression_type): Add new structure
  3335.     elements and_and and or_or.
  3336.     * src/tree-const.cc (tree_constant_rep::is_true): New function.
  3337.  
  3338. Tue May 17 17:04:00 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3339.  
  3340.     * src/idx-vector.cc (idx_vector::sort_uniq ()): New function.
  3341.     * src/tc-assign.cc (tree_constant_rep::delete_rows ()): Use it.
  3342.     (tree_constant_rep::delete_columns ()): Likewise.
  3343.  
  3344. Mon May 16 13:31:33 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3345.  
  3346.     * scripts/linspace.m: Replace for loop with range operation.
  3347.     * scripts/logspace.m: Replace for loop with element by element
  3348.     exponentiation.
  3349.  
  3350. Sun May  8 00:49:38 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3351.  
  3352.     * scripts/lqe.m: Correct comment.
  3353.     Transpose k before returning. 
  3354.  
  3355. Fri May  6 00:47:24 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3356.  
  3357.     * src/tree.cc (quit_loop_now): New function.
  3358.     (tree_while_command::eval): Use it.
  3359.     (tree_for_command::eval): Ditto.
  3360.  
  3361.     * src/tree.cc (tree_for_command::do_for_loop_once): New function.
  3362.     (tree_for_command::eval): Use it.
  3363.  
  3364. Mon May  2 19:45:39 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3365.  
  3366.     * src/tree.cc (tree_for_command::eval): Handle returning,
  3367.     breaking, and continuing for case of scalar expression in loop
  3368.     control statement.
  3369.  
  3370. Wed Apr 20 00:38:26 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3371.  
  3372.     * src/lex.l (\[{S}*): Don't return ',' for this    match when
  3373.     convert_spaces_to_comma is true, since that can never be the right
  3374.     thing to do.
  3375.  
  3376.     * All Makefile.in files: Set top_srcdir here.
  3377.     * Makeconf.in: Not here.
  3378.  
  3379.     * Makeconf.in: Use top_srcdir instead of root_srcdir
  3380.  
  3381.     * configure.in: Update for autoconf-1.8.  Use AC_VERBOSE for
  3382.     verbose messages.  Use AC_WARN and AC_ERROR instead of echo for
  3383.     warning and error messages.  Organize feature tests a bit better.
  3384.     Use new autoconf macros to check for C++ compiler.  Add copyright
  3385.     notice.  Recognize --enable-dld instead of --with-dld since that
  3386.     seems to be more in line with the intent of the --enable/--with
  3387.     options for configure scripts.  Use new autoconf macros
  3388.     AC_REVISION and AC_PREREQ.  Don't add -Wall to CFLAGS and CXXFLAGS
  3389.     until after all feature tests are done.  Etc.
  3390.  
  3391. Fri Apr 15 01:56:20 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3392.  
  3393.     * acconfig.h: Add #undefs for HAVE_FINITE, HAVE_ISINF, and
  3394.     HAVE_ISNAN.
  3395.     * configure.in: Check for floatingpoint.h.
  3396.     * src/sysdep.cc (sysdep_init): Disable trapping on common
  3397.     exceptions for 386BSD systems that have floatingpoint.h.
  3398.  
  3399.     * src/utils.cc: Don't declare ioctl() with prototype.
  3400.  
  3401. Sat Apr  9 17:48:07 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3402.  
  3403.     * src/tc-assign.cc (tree_constant_rep::fortran_style_matrix_assignment
  3404.       (tree_constant&, tree_constant&)):
  3405.     Handle case of M (X) = scalar, where X is a zero-one vector with
  3406.     only one nonzero element.
  3407.  
  3408.     * src/tc-assign.cc (tree_constant_rep::do_vector_assign
  3409.       (tree_constant&, Range&):
  3410.     Handle case of right hand side being a scalar.
  3411.     (tree_constant_rep::do_vector_assign (tree_constant&, idx_vector&):
  3412.     Ditto.
  3413.  
  3414.     * src/tc-assign.cc (tree_constant_rep::do_matrix_assignment
  3415.       (int,tree_constant_rep::constant_type)):
  3416.     Allow assignment of complex scalar too. 
  3417.     (tree_constant_rep::do_matrix_assignment
  3418.       (tree_constant_rep::constant_type, int)):
  3419.     Ditto.
  3420.  
  3421.     * src/tree-const.h (REP_RHS_MATRIX): Initialize nr and nc.
  3422.     Abort if rhs is not a real or complex matrix.
  3423.  
  3424. Wed Apr  6 13:59:37 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3425.  
  3426.     * liboctave/Range.cc (Range::nelem_internal): Use an integer, not
  3427.     a double, for the number of intervals.    Avoid possible problems
  3428.     with extended precision registers on some systems (e.g. x86/Linux).
  3429.  
  3430. Mon Mar 28 17:23:18 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3431.  
  3432.     * src/utils.cc (raw_mode): For OCRNL, ONOCR, and ONLRET, check to
  3433.     see if they are defined before using them instead of checking to
  3434.     see if NeXT is defined.
  3435.  
  3436.     * info/terminal.c (terminal_prep_terminal): Check to see if OCRNL
  3437.     is defined before using it instead of checking to see if NeXT is
  3438.     defined.
  3439.  
  3440. Thu Mar 24 03:21:01 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3441.  
  3442.     * src/tree.cc (tree_parameter_list::define_from_arg_vector):
  3443.     New function.
  3444.     (tree_parameter_list::convert_to_const_vector): Ditto.
  3445.     (tree_function::eval): Use them instead of trying to do this
  3446.     in-line.
  3447.  
  3448.     * src/symtab.h (symbol_record::global_link_context): New stack for
  3449.     saving linked_to_global flag.
  3450.     * src/symtab.cc (symbol_record::push_context): Save
  3451.     linked_to_global too.
  3452.     (symbol_record::pop_context): And restore it.
  3453.  
  3454. Wed Mar 23 16:18:19 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3455.  
  3456.     * doc/refcard.tex.in: New file.
  3457.     * doc/Makefile.in: Create refcard.* and refcard-local.* from
  3458.     refcard.tex.in.
  3459.  
  3460. Tue Mar 22 15:23:55 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3461.  
  3462.     * octave.sh: exec $OCTAVE_HOME/bin/octave.bin, not just
  3463.     octave.bin.
  3464.  
  3465. Thu Mar 17 01:06:10 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3466.  
  3467.     * src/arith-ops.cc (do_binary_op (ComplexMatrix&, Matrix& b)):
  3468.     Correctly handle element by element left division.
  3469.  
  3470.     * src/g-builtins.cc (builtin_error): Return without calling error
  3471.     (and setting error_state) if the message is empty.
  3472.  
  3473.     * src/help.cc (operators): Correct help message for `.^'.
  3474.  
  3475.     * src/tc-index.cc (tree_contant_rep::fortran_style_matrix_index):
  3476.     Preserve vector orientation when indexing with a zero-one vector.
  3477.  
  3478.     * src/tc-index.cc (tree_constant_rep::do_scalar_index): Handle
  3479.     indexing a scalar with `0'.
  3480.  
  3481.     * src/tc-index.cc (tree_constant_rep::do_scalar_index): Handle the
  3482.     index `:' the same as the index `1'.
  3483.  
  3484. Tue Mar 15 17:22:00 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3485.  
  3486.     * liboctave/Array.cc: Fix typo in comments about compiler flags.
  3487.  
  3488. Wed Mar  9 15:08:21 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3489.  
  3490.     * Version 1.0.1.
  3491.  
  3492.     * src/*.h: Use the macro octave_FOO_h instead of _FOO_h to protect
  3493.     against multiple inclusion.
  3494.     * liboctave/*.h: Likewise.
  3495.  
  3496.     * liboctave/*.h: Surround contents of files in extern "C++" { }.
  3497.  
  3498. Tue Mar  8 18:06:54 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3499.  
  3500.     * src/tc-index.cc (tree_constant_rep::do_vector_index (const
  3501.     tree_constant&) const): Don't crash if matrix is empty.
  3502.  
  3503.     * scripts/norm.m: Return empty matrix for empty argument.
  3504.  
  3505. Mon Mar  7 23:34:44 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3506.  
  3507.     * doinstall.sh: chmod new directories to 755.
  3508.  
  3509. Sat Mar  5 13:15:10 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3510.  
  3511.     * bsd-math/log1p.c: Declare finite as returning int, not double.
  3512.     * bsd-math/finite.c (finite): Add return type.
  3513.  
  3514. Thu Mar  3 14:42:00 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3515.  
  3516.     * liboctave/DiagMatrix.cc (operator *): Provide definitions for
  3517.     DiagMatrix * DiagMatrix, ComplexDiagMatrix * ComplexDiagMatrix, 
  3518.     ComplexDiagMatrix * DiagMatrix, and DiagMatrix * ComplexDiagMatrix.
  3519.  
  3520.     * liboctave/ColVector.cc (operator >>): Provide definitions for
  3521.     real and complex column vectors.
  3522.  
  3523.     * liboctave/RowVector.cc (operator >>): Provide definitions for
  3524.     real and complex row vectors.
  3525.  
  3526. Wed Mar  2 18:00:47 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3527.  
  3528.     * liboctave/Array.h (DiagArray::Proxy::operator & ()): Provide
  3529.     function body.
  3530.  
  3531. Tue Mar  1 13:18:35 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3532.  
  3533.     * src/tree-const.cc (tree_constant::load (istream&)): Don't skip
  3534.     past first type keyword if not global.
  3535.     (tree_constant::load (istream&, tree_constant_rep::constant_type)): 
  3536.     Allocate storage for reading complex scalar.
  3537.  
  3538. Sun Feb 20 14:17:47 1994  John Eaton  (jwe@schoch.che.utexas.edu)
  3539.  
  3540.     * scripts/menu.m: Don't fail on input that is empty or not a
  3541.     scalar.
  3542.  
  3543.     * Makefile.in (DISTFILES): Distribute ChangeLog.[0-9].
  3544.  
  3545.     * src/lex.l (reset_parser): Don't resynch line number to command
  3546.     history number if reading a script file.
  3547.  
  3548. See ChangeLog.1 for earlier changes.
  3549.