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