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