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