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