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