Continue reforming procedure execution. In this phase, remove PROCESS
[pspp-builds.git] / src / language / ChangeLog
1 Sat May  6 13:25:25 2006  Ben Pfaff  <blp@gnu.org>
2
3         Continue reforming procedure execution.  In this phase, remove
4         PROCESS IF, which was deprecated anyway and can be easily
5         simulated with TEMPORARY followed by SELECT IF.
6
7         * command.def: Removed PROCESS IF.
8
9 Mon May  1 18:17:52 2006  Ben Pfaff  <blp@gnu.org>
10
11         Further clean up the CMD_* command result codes.
12         
13         * command.c (cmd_result_is_valid): New function.
14         (cmd_result_is_success) Assert that argument is valid.  Simplified
15         check to one for a positive result.
16         (cmd_result_is_failure) Assert that argument is valid.  Simplified
17         check to one for a negative result.
18         (do_parse_command) Check that command's returned result is valid.
19
20         * command.h: (enum cmd_result) Renamed CMD_QUIT to CMD_FINISH and
21         updated all users.  Removed CMD_END_SUBLOOP in favor of new
22         CMD_PRIVATE_FIRST...CMD_PRIVATE_LAST range.  Changed failure codes
23         to have negative values.
24
25 Mon May  1 15:56:56 2006  Ben Pfaff  <blp@gnu.org>
26
27         Remove vestiges of FILE TYPE support. 
28         
29         * command.def: Mark FILE TYPE, RECORD TYPE unimplemented.
30
31 Wed Apr 26 21:13:46 2006  Ben Pfaff  <blp@gnu.org>
32
33         CLEAR TRANSFORMATIONS is unsafe as implemented.  It's a fair
34         amount of work to implement it correctly, so make it
35         unimplemented.
36                 
37         * command.c: (cmd_clear_transformations) Removed.
38
39         * command.def: Mark CLEAR TRANSFORMATIONS as unimplemented.
40
41 Wed Apr 26 13:06:42 2006  Ben Pfaff  <blp@gnu.org>
42
43         Work on readline completion.
44
45         * command.c: (pspp_completion_function) Removed.
46         (pspp_attempted_completion_function) New function.
47         (command_generator) New function.
48
49 Wed Apr 26 13:04:48 2006  Ben Pfaff  <blp@gnu.org>
50
51         Improve the way we handle the various parsing "states".  Until now
52         we've hard-coded the state transitions in the command definition
53         file, but that's error-prone and, worse, it's redundant--we can
54         figure out what state we're in anyhow.  We can cleanly handle
55         INPUT PROGRAM and FILE TYPE with a nested command-processing loop.
56         
57         * command.c: (cmd_result_is_success) New function.
58         (cmd_result_is_failure) New function.
59         (enum states) New enum.
60         (enum flags) New enum.
61         (struct command) Add states, flags members.  Remove transition,
62         skip_entire_name, debug members.  Renamed func member as function.
63         (macro DEFCMD) Removed.
64         (macro DBGCMD) Removed.
65         (macro SPCCMD) Removed.
66         (macro UNIMPL) Removed.
67         (macro DEF_CMD) New.
68         (macro UNIMPL_CMD) New.
69         (macro COMMAND_CNT) Changed to static const var, renamed
70         command_cnt.  Updated all references.
71         (FILE_TYPE_okay) Removed.
72         (cmd_parse) Rewrote in terms of do_parse_command().
73         (do_parse_command) New function.
74         (find_command) New function.
75         (unknown_command_error) Use struct string to simplify code.
76         (parse_command_name) Recognize comment command names.  Handle
77         flags.  Don't reject testing-mode-only commands here--let higher
78         level do it.
79         (verify_valid_command) New function.
80         (cmd_comment) New function.
81
82         * command.def: Completely rewritten and now sensibly organized.
83
84         * command.h: (enum STATE_*) Renamed CMD_STATE_*.
85         (CMD_*) Now "enum cmd_result".  Added CMD_QUIT.  New
86         CMD_END_SUBLOOP.  Removed CMD_TRAILING_GARBAGE, CMD_PART_SUCCESS,
87         CMD_PART_SUCCESS_MAYBE and replaced all references by CMD_FAILURE.
88         Added CMD_NOT_IMPLEMENTED.
89         (macro DEFCMD) Removed.
90         (macro DBGCMD) Removed.
91         (macro SPCCMD) Removed.
92         (macro UNIMPL) Removed.
93         (macro DEF_CMD) New.
94         (macro UNIMPL_CMD) New.
95
96 Mon Apr  3 11:03:36 2006  Ben Pfaff  <blp@gnu.org>
97
98         * list.q: (write_all_headers) Adapt to new html and output
99         internals.
100         (clean_up) Ditto.
101         (write_varname) Ditto.
102         (write_fallback_headers) Ditto.
103         (determine_layout) Ditto.
104         (list_cases) Ditto.
105         
106
107 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
108         
109         * Moved files from src directory