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