X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2FChangeLog;h=a3d3b20b79c9a448b8d8edccdbd97edb9aa675da;hb=29e712969d0d5bc1ee20458309dee7df2c38f1ae;hp=ce8805cd38ae9b14a0a9103dbdf292989c570350;hpb=8444d8d47de5e5f8d076b6f43f73c2c29494031e;p=pspp-builds.git diff --git a/src/language/ChangeLog b/src/language/ChangeLog index ce8805cd..a3d3b20b 100644 --- a/src/language/ChangeLog +++ b/src/language/ChangeLog @@ -1,3 +1,98 @@ +Sat May 6 13:25:25 2006 Ben Pfaff + + Continue reforming procedure execution. In this phase, remove + PROCESS IF, which was deprecated anyway and can be easily + simulated with TEMPORARY followed by SELECT IF. + + * command.def: Removed PROCESS IF. + +Mon May 1 18:17:52 2006 Ben Pfaff + + Further clean up the CMD_* command result codes. + + * command.c (cmd_result_is_valid): New function. + (cmd_result_is_success) Assert that argument is valid. Simplified + check to one for a positive result. + (cmd_result_is_failure) Assert that argument is valid. Simplified + check to one for a negative result. + (do_parse_command) Check that command's returned result is valid. + + * command.h: (enum cmd_result) Renamed CMD_QUIT to CMD_FINISH and + updated all users. Removed CMD_END_SUBLOOP in favor of new + CMD_PRIVATE_FIRST...CMD_PRIVATE_LAST range. Changed failure codes + to have negative values. + +Mon May 1 15:56:56 2006 Ben Pfaff + + Remove vestiges of FILE TYPE support. + + * command.def: Mark FILE TYPE, RECORD TYPE unimplemented. + +Wed Apr 26 21:13:46 2006 Ben Pfaff + + CLEAR TRANSFORMATIONS is unsafe as implemented. It's a fair + amount of work to implement it correctly, so make it + unimplemented. + + * command.c: (cmd_clear_transformations) Removed. + + * command.def: Mark CLEAR TRANSFORMATIONS as unimplemented. + +Wed Apr 26 13:06:42 2006 Ben Pfaff + + Work on readline completion. + + * command.c: (pspp_completion_function) Removed. + (pspp_attempted_completion_function) New function. + (command_generator) New function. + +Wed Apr 26 13:04:48 2006 Ben Pfaff + + Improve the way we handle the various parsing "states". Until now + we've hard-coded the state transitions in the command definition + file, but that's error-prone and, worse, it's redundant--we can + figure out what state we're in anyhow. We can cleanly handle + INPUT PROGRAM and FILE TYPE with a nested command-processing loop. + + * command.c: (cmd_result_is_success) New function. + (cmd_result_is_failure) New function. + (enum states) New enum. + (enum flags) New enum. + (struct command) Add states, flags members. Remove transition, + skip_entire_name, debug members. Renamed func member as function. + (macro DEFCMD) Removed. + (macro DBGCMD) Removed. + (macro SPCCMD) Removed. + (macro UNIMPL) Removed. + (macro DEF_CMD) New. + (macro UNIMPL_CMD) New. + (macro COMMAND_CNT) Changed to static const var, renamed + command_cnt. Updated all references. + (FILE_TYPE_okay) Removed. + (cmd_parse) Rewrote in terms of do_parse_command(). + (do_parse_command) New function. + (find_command) New function. + (unknown_command_error) Use struct string to simplify code. + (parse_command_name) Recognize comment command names. Handle + flags. Don't reject testing-mode-only commands here--let higher + level do it. + (verify_valid_command) New function. + (cmd_comment) New function. + + * command.def: Completely rewritten and now sensibly organized. + + * command.h: (enum STATE_*) Renamed CMD_STATE_*. + (CMD_*) Now "enum cmd_result". Added CMD_QUIT. New + CMD_END_SUBLOOP. Removed CMD_TRAILING_GARBAGE, CMD_PART_SUCCESS, + CMD_PART_SUCCESS_MAYBE and replaced all references by CMD_FAILURE. + Added CMD_NOT_IMPLEMENTED. + (macro DEFCMD) Removed. + (macro DBGCMD) Removed. + (macro SPCCMD) Removed. + (macro UNIMPL) Removed. + (macro DEF_CMD) New. + (macro UNIMPL_CMD) New. + Mon Apr 3 11:03:36 2006 Ben Pfaff * list.q: (write_all_headers) Adapt to new html and output