1d08101057104aeafb0bc547dfe5266650138fe7
[pspp-builds.git] / src / ui / terminal / ChangeLog
1 Wed Apr 26 13:34:54 2006  Ben Pfaff  <blp@gnu.org>
2
3         Improve command name completion in readline.
4         
5         * read-line.c (readln_initialize): Set up readline to only break
6         words for completion at new-line.  That way we can complete a
7         whole command name.  Also, set rl_attempted_completion_function
8         instead of rl_completion_entry_function so we can disable
9         completing on file names, which is usually not what we want in
10         PSPP.
11
12 Wed Apr 26 13:31:00 2006  Ben Pfaff  <blp@gnu.org>
13
14         Improve the way we handle the various parsing "states".  Until now
15         we've hard-coded the state transitions in the command definition
16         file, but that's error-prone and, worse, it's redundant--we can
17         figure out what state we're in anyhow.  We can cleanly handle
18         INPUT PROGRAM and FILE TYPE with a nested command-processing loop.
19         
20         * automake.mk (src_ui_terminal_pspp_LDADD): Move libui earlier to
21         avoid link errors.
22
23         * main.c (main): Handle new CMD_* results.
24         (execute_command) Move most per-command actions into cmd_parse().
25         (handle_error) Removed.  cmd_parse() handles command failure.
26
27 Tue Apr 25 11:08:17 2006  Ben Pfaff  <blp@gnu.org>
28
29         Finish reforming error message support.  In this phase, move
30         message.c into libpspp.
31         
32         * automake.mk: Remove message.c from sources.
33
34 Tue Apr 25 10:58:19 2006  Ben Pfaff  <blp@gnu.org>
35
36         Continue reforming error message support.  In this phase, drop
37         actual message printing from core code, substituting a callback,
38         and add the callback to each UI.  Also, move verbose_msg() into
39         its own module.
40
41         * automake.mk (src_ui_terminal_libui_a_SOURCES): Add msg-ui.c,
42         msg-ui.h.
43
44         * command-line.c: (parse_command_line) Call
45         verbose_increment_level() instead of increment err_verbosity
46         directly, now that we have a little abstraction.
47
48         * msg-ui.c: New file.
49
50         * msg-ui.h: New file.
51
52         * main.c: (main) Call msg_ui_init().  Use any_errors().
53         (terminate) Call msg_ui_done().  Make termination order more
54         rational.
55
56         * read-line.c: (readln_read) Use reset_msg_count() now we have a
57         little abstraction.
58
59 Tue Apr 25 09:39:46 2006  Ben Pfaff  <blp@gnu.org>
60
61         * main.c: (terminate) Mark static and NO_RETURN.  If called
62         recursively, which can only happen via signal, just exit instead
63         of trying to gracefully shut down.      
64
65 Fri Mar 31 10:33:37 2006  Ben Pfaff  <blp@gnu.org>
66
67         * command-line.c: (var pre_syntax_message) -d and -u are no longer
68         supported.
69
70 Sat Mar 11 14:18:39 WST 2006 John Darrington <john@darrington.wattle.id.au>
71
72         * automake.mk: Moved the pspp binary here.
73
74 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
75         
76         * Moved files from src directory