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