CLEAR TRANSFORMATIONS is unsafe as implemented. It's a fair amount of
[pspp-builds.git] / src / language / ChangeLog
1 Wed Apr 26 21:13:46 2006  Ben Pfaff  <blp@gnu.org>
2
3         CLEAR TRANSFORMATIONS is unsafe as implemented.  It's a fair
4         amount of work to implement it correctly, so make it
5         unimplemented.
6                 
7         * command.c: (cmd_clear_transformations) Removed.
8
9         * command.def: Mark CLEAR TRANSFORMATIONS as unimplemented.
10
11 Wed Apr 26 13:06:42 2006  Ben Pfaff  <blp@gnu.org>
12
13         Work on readline completion.
14
15         * command.c: (pspp_completion_function) Removed.
16         (pspp_attempted_completion_function) New function.
17         (command_generator) New function.
18
19 Wed Apr 26 13:04:48 2006  Ben Pfaff  <blp@gnu.org>
20
21         Improve the way we handle the various parsing "states".  Until now
22         we've hard-coded the state transitions in the command definition
23         file, but that's error-prone and, worse, it's redundant--we can
24         figure out what state we're in anyhow.  We can cleanly handle
25         INPUT PROGRAM and FILE TYPE with a nested command-processing loop.
26         
27         * command.c: (cmd_result_is_success) New function.
28         (cmd_result_is_failure) New function.
29         (enum states) New enum.
30         (enum flags) New enum.
31         (struct command) Add states, flags members.  Remove transition,
32         skip_entire_name, debug members.  Renamed func member as function.
33         (macro DEFCMD) Removed.
34         (macro DBGCMD) Removed.
35         (macro SPCCMD) Removed.
36         (macro UNIMPL) Removed.
37         (macro DEF_CMD) New.
38         (macro UNIMPL_CMD) New.
39         (macro COMMAND_CNT) Changed to static const var, renamed
40         command_cnt.  Updated all references.
41         (FILE_TYPE_okay) Removed.
42         (cmd_parse) Rewrote in terms of do_parse_command().
43         (do_parse_command) New function.
44         (find_command) New function.
45         (unknown_command_error) Use struct string to simplify code.
46         (parse_command_name) Recognize comment command names.  Handle
47         flags.  Don't reject testing-mode-only commands here--let higher
48         level do it.
49         (verify_valid_command) New function.
50         (cmd_comment) New function.
51
52         * command.def: Completely rewritten and now sensibly organized.
53
54         * command.h: (enum STATE_*) Renamed CMD_STATE_*.
55         (CMD_*) Now "enum cmd_result".  Added CMD_QUIT.  New
56         CMD_END_SUBLOOP.  Removed CMD_TRAILING_GARBAGE, CMD_PART_SUCCESS,
57         CMD_PART_SUCCESS_MAYBE and replaced all references by CMD_FAILURE.
58         Added CMD_NOT_IMPLEMENTED.
59         (macro DEFCMD) Removed.
60         (macro DBGCMD) Removed.
61         (macro SPCCMD) Removed.
62         (macro UNIMPL) Removed.
63         (macro DEF_CMD) New.
64         (macro UNIMPL_CMD) New.
65
66 Mon Apr  3 11:03:36 2006  Ben Pfaff  <blp@gnu.org>
67
68         * list.q: (write_all_headers) Adapt to new html and output
69         internals.
70         (clean_up) Ditto.
71         (write_varname) Ditto.
72         (write_fallback_headers) Ditto.
73         (determine_layout) Ditto.
74         (list_cases) Ditto.
75         
76
77 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
78         
79         * Moved files from src directory