Fix lack of ->name and ->location in DO REPEAT's getl_interface.
[pspp] / src / ui / terminal / ChangeLog
1 Sun Dec  3 11:57:00 2006  Ben Pfaff  <blp@gnu.org>
2
3         * read-line.c (read_interactive): Always read GETL_INTERACTIVE
4         lines.
5         
6 Thu Nov 16 20:46:35 WST 2006 John Darrington <john@darrington.wattle.id.au>
7
8         * main.c: Connect debugger on errors.
9
10 Tue Nov  7 20:54:32 WST 2006 John Darrington <john@darrington.wattle.id.au>
11
12         * command-line.c msg-ui.c msg-ui.h main.c: Added an -e
13         option to set the file for error messages.
14
15 Sat Nov  4 15:48:04 2006  Ben Pfaff  <blp@gnu.org>
16
17         * msg-ui.c (handle_msg): Only write message to terminal if
18         get_error_routing_to_terminal() returns true.
19
20 Fri Jul  7 20:03:42 2006  Ben Pfaff  <blp@gnu.org>
21
22         * main.c: (main) Register SIGABRT with bug_handler also.
23         (bug_handler) Handle SIGABRT also.
24
25 Tue Jun 27 22:44:56 2006  Ben Pfaff  <blp@gnu.org>
26
27         Fix regression in command name completion reported by John
28         Darrington.  Now completion is again state-dependent and occurs
29         only on the first line of a command.
30         
31         * main.c (main): Reading of first token in command moved into
32         cmd_parse.
33         (execute_command) Removed.
34
35         * read-line.c: [HAVE_READLINE] (readln_initialize) Postpone
36         setting rl_attempted_completion_function until readln_read.
37         [HAVE_READLINE] (readln_read) Change param from const char * to
38         enum getl_prompt_style.  Set rl_attempted_completion_function
39         based on style.
40         [HAVE_READLINE] (complete_command_name) New function.
41         [HAVE_READLINE] (dont_complete) New function.
42         [HAVE_READLINE] (command_generator) New function.
43
44 Tue Jun 27 08:23:07 2006  Ben Pfaff  <blp@gnu.org>
45
46         * automake.mk (src_ui_terminal_pspp_LDADD): Add $(LIBICONV).
47         Thanks to Jason Stover for reporting the omission.
48
49 Thu May  4 21:50:59 2006  Ben Pfaff  <blp@gnu.org>
50
51         Continue reforming procedure execution.  In this phase, move
52         procedure.c and procedure.h from src to src/data.  Update
53         makefiles and #includes accordingly.
54
55         * automake.mk: (src_ui_terminal_pspp_SOURCES) Remove
56         src/procedure.c and src/procedure.h.
57         (src_ui_terminal_pspp_LDADD) Move libexpressions.a later in list
58         to make the link work.
59
60 Wed May  3 23:09:37 2006  Ben Pfaff  <blp@gnu.org>
61
62         Continue reforming procedure execution.  In this phase, get rid of
63         many global variables, consolidating procedure execution in
64         procedure.c.  Encapsulate transformations in new "struct
65         trns_chain".  Also, change implementation of N OF CASES, FILTER,
66         and PROCESS IF from special cases to transformations.
67          
68         * main.c: (main) Use proc_init().
69         (terminate) Use proc_done().
70
71 Wed Apr 26 13:34:54 2006  Ben Pfaff  <blp@gnu.org>
72
73         Improve command name completion in readline.
74         
75         * read-line.c (readln_initialize): Set up readline to only break
76         words for completion at new-line.  That way we can complete a
77         whole command name.  Also, set rl_attempted_completion_function
78         instead of rl_completion_entry_function so we can disable
79         completing on file names, which is usually not what we want in
80         PSPP.
81
82 Wed Apr 26 13:31:00 2006  Ben Pfaff  <blp@gnu.org>
83
84         Improve the way we handle the various parsing "states".  Until now
85         we've hard-coded the state transitions in the command definition
86         file, but that's error-prone and, worse, it's redundant--we can
87         figure out what state we're in anyhow.  We can cleanly handle
88         INPUT PROGRAM and FILE TYPE with a nested command-processing loop.
89         
90         * automake.mk (src_ui_terminal_pspp_LDADD): Move libui earlier to
91         avoid link errors.
92
93         * main.c (main): Handle new CMD_* results.
94         (execute_command) Move most per-command actions into cmd_parse().
95         (handle_error) Removed.  cmd_parse() handles command failure.
96
97 Tue Apr 25 11:08:17 2006  Ben Pfaff  <blp@gnu.org>
98
99         Finish reforming error message support.  In this phase, move
100         message.c into libpspp.
101         
102         * automake.mk: Remove message.c from sources.
103
104 Tue Apr 25 10:58:19 2006  Ben Pfaff  <blp@gnu.org>
105
106         Continue reforming error message support.  In this phase, drop
107         actual message printing from core code, substituting a callback,
108         and add the callback to each UI.  Also, move verbose_msg() into
109         its own module.
110
111         * automake.mk (src_ui_terminal_libui_a_SOURCES): Add msg-ui.c,
112         msg-ui.h.
113
114         * command-line.c: (parse_command_line) Call
115         verbose_increment_level() instead of increment err_verbosity
116         directly, now that we have a little abstraction.
117
118         * msg-ui.c: New file.
119
120         * msg-ui.h: New file.
121
122         * main.c: (main) Call msg_ui_init().  Use any_errors().
123         (terminate) Call msg_ui_done().  Make termination order more
124         rational.
125
126         * read-line.c: (readln_read) Use reset_msg_count() now we have a
127         little abstraction.
128
129 Tue Apr 25 09:39:46 2006  Ben Pfaff  <blp@gnu.org>
130
131         * main.c: (terminate) Mark static and NO_RETURN.  If called
132         recursively, which can only happen via signal, just exit instead
133         of trying to gracefully shut down.      
134
135 Fri Mar 31 10:33:37 2006  Ben Pfaff  <blp@gnu.org>
136
137         * command-line.c: (var pre_syntax_message) -d and -u are no longer
138         supported.
139
140 Sat Mar 11 14:18:39 WST 2006 John Darrington <john@darrington.wattle.id.au>
141
142         * automake.mk: Moved the pspp binary here.
143
144 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
145         
146         * Moved files from src directory