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