Estimate parameters. Moved some code to re-usable functions.
[pspp-builds.git] / src / language / ChangeLog
index a3d3b20b79c9a448b8d8edccdbd97edb9aa675da..a32af121a96d2b5bb380ab04f8c22c357e2b2d5f 100644 (file)
@@ -1,3 +1,144 @@
+2008-03-04  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6441.  Reviewed by John Darrington.
+
+       * command.def: Add DEBUG FORMAT GUESSER command.
+
+2007-12-04  Ben Pfaff  <blp@gnu.org>
+
+       * command.def: Add GET DATA command.
+
+2007-11-05  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6258.  Reviewed by John Darrington.
+
+       * command.c (report_state_mismatch): Replace code to construct an
+       error message from bits and pieces by a switch statement that
+       hard-codes each possible error.  Makes i18n easier.
+       Suggested by Chusslove Illich <caslav.ilic@gmx.net>.
+
+2007-09-22  Ben Pfaff  <blp@gnu.org>
+
+       Bug #21128.  Reviewed by John Darrington.
+
+       * command.def: Add DEBUG PAPER SIZE command.
+
+2007-09-05  John Darrington <john@darrington.wattle.id.au>
+
+       * command.c (do_parse_command): Translate CMD_FAILURE into
+       CMD_CASCADING_FAILURE, if the ERRMODE_STOP is set on the syntax
+       source. 
+       
+2007-06-06  Ben Pfaff  <blp@gnu.org>
+
+       * command.def: Add DEBUG DATASHEET command.  Remove DEBUG CASEFILE
+       command.
+
+2007-03-18  Ben Pfaff  <blp@gnu.org>
+
+       * syntax-string-source.c (close): Rename to do_close to avoid
+       conflict with POSIX function of the same name.
+
+Thu Feb  8 15:04:42 2007  Ben Pfaff  <blp@gnu.org>
+
+       Reduce platform dependence.
+
+       * command.c (shell): Always define this function, instead of only
+       in unix, but make it a stub when fork or execl is not available.
+       (run_command): Move parsing code into cmd_host.
+       (cmd_host): Drop unix dependence now that the shell function is
+       always defined. 
+
+Sun Jan 21 15:31:52 WST 2007 John Darrington <john@darrington.wattle.id.au>
+
+       * command.c command.h: Renamed cmd_parse to cmd_parse_in_state.
+       New function cmd_parse.
+
+Wed Dec 13 21:02:51 2006  Ben Pfaff  <blp@gnu.org>
+
+       * command.def: Add DELETE VARS.
+
+Sat Dec 16 22:15:55 2006  Ben Pfaff  <blp@gnu.org>
+
+       Make it possible to pull cases from the active file with a
+       function call, instead of requiring indirection through a callback
+       function.
+
+       * command.def: Marked MATRIX DATA as unimplemented.
+
+Sun Dec  3 11:59:10 2006  Ben Pfaff  <blp@gnu.org>
+
+       * syntax-file.c (read_syntax_file): Always read GETL_BATCH lines.
+
+Wed Nov 29 19:35:44 WST 2006 John Darrington <john@darrington.wattle.id.au>
+
+       * command.c: Updated to reflect changed function names.
+
+       * line-buffer.c line-buffer.h: Removed.  Guts of it moved to
+       libpspp/getl.[ch] The rest moved to files listed below.
+
+       * syntax-file.c syntax-file.h prompt.c prompt.h: New files.
+
+Wed Nov 22 06:26:42 2006  Ben Pfaff  <blp@gnu.org>
+
+       * command.def: HOST command needs F_KEEP_FINAL_TOKEN.
+
+Sat Oct 28 16:15:56 WST 2006 John Darrington <john@darrington.wattle.id.au>
+
+       * linebuffer.c linebuffer.h: Moved getl_buf from here, into
+       lexer/lexer.c
+
+Thu Oct 26 20:19:00 2006  Ben Pfaff  <blp@gnu.org>
+
+       * command.def: Add DEBUG FLOAT FORMAT.
+
+Fri Oct 20 10:59:06 WST 2006 John Darrington <john@darrington.wattle.id.au>
+
+       * command.def: Added additional unimpl commands.
+
+Sun Oct 15 19:38:55 2006  Ben Pfaff  <blp@gnu.org>
+
+       * command.c: (do_parse_command) Issue an error for unimplemented
+       commands, instead of silently ignoring them.  Reported by John
+       Darrington.
+
+Wed Jun 28 11:38:23 2006  Ben Pfaff  <blp@gnu.org>
+
+       Don't offer both the full and abbreviated names for a single
+       command in command name completion.
+       
+       * command.c: (enum flags) Add F_ABBREV flag.
+       (cmd_complete) Ignore command with F_ABBREV flag set.
+
+       * command.def: Add F_ABBREV to N, Q, SORT commands.
+
+Tue Jun 27 22:36:38 2006  Ben Pfaff  <blp@gnu.org>
+
+       Fix regression in command name completion reported by John
+       Darrington.  Now completion is again state-dependent and occurs
+       only on the first line of a command.
+       
+       * command.c (do_parse_command): Move reading the first token of
+       the command here, from execute_command and cmd_input_program.
+       Call set_completion_state and getl_set_prompt_style here.
+       (do_parse_command) Use in_correct_state instead of
+       verify_valid_command.
+       (verify_valid_command) Break into two new functions,
+       in_correct_state and report_state_mismatch.
+       (set_completion_state) New function.
+       (cmd_complete) New function.
+       [HAVE_READLINE] (pspp_attempted_completion_function) Removed.
+       [HAVE_READLINE] (command_generator) Removed.
+
+       * line-buffer.c: (struct getl_source) Change `interactive' member
+       signature to take enum getl_prompt_style instead of const char *.
+       (create_interactive_source) Ditto, for parameter type.
+       (getl_append_interactive) Ditto.
+       (read_line_from_source) Pass get_prompt_style() to interactive
+       function instead of get_prompt().
+       (get_prompt) Removed.
+       (get_prompt_style) New function.
+       
 Sat May  6 13:25:25 2006  Ben Pfaff  <blp@gnu.org>
 
        Continue reforming procedure execution.  In this phase, remove