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