1 Tue Nov 7 20:54:32 WST 2006 John Darrington <john@darrington.wattle.id.au>
3 * command-line.c msg-ui.c msg-ui.h main.c: Added an -e
4 option to set the file for error messages.
6 Sat Nov 4 15:48:04 2006 Ben Pfaff <blp@gnu.org>
8 * msg-ui.c (handle_msg): Only write message to terminal if
9 get_error_routing_to_terminal() returns true.
11 Fri Jul 7 20:03:42 2006 Ben Pfaff <blp@gnu.org>
13 * main.c: (main) Register SIGABRT with bug_handler also.
14 (bug_handler) Handle SIGABRT also.
16 Tue Jun 27 22:44:56 2006 Ben Pfaff <blp@gnu.org>
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.
22 * main.c (main): Reading of first token in command moved into
24 (execute_command) Removed.
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
31 [HAVE_READLINE] (complete_command_name) New function.
32 [HAVE_READLINE] (dont_complete) New function.
33 [HAVE_READLINE] (command_generator) New function.
35 Tue Jun 27 08:23:07 2006 Ben Pfaff <blp@gnu.org>
37 * automake.mk (src_ui_terminal_pspp_LDADD): Add $(LIBICONV).
38 Thanks to Jason Stover for reporting the omission.
40 Thu May 4 21:50:59 2006 Ben Pfaff <blp@gnu.org>
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.
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.
51 Wed May 3 23:09:37 2006 Ben Pfaff <blp@gnu.org>
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.
59 * main.c: (main) Use proc_init().
60 (terminate) Use proc_done().
62 Wed Apr 26 13:34:54 2006 Ben Pfaff <blp@gnu.org>
64 Improve command name completion in readline.
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
73 Wed Apr 26 13:31:00 2006 Ben Pfaff <blp@gnu.org>
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.
81 * automake.mk (src_ui_terminal_pspp_LDADD): Move libui earlier to
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.
88 Tue Apr 25 11:08:17 2006 Ben Pfaff <blp@gnu.org>
90 Finish reforming error message support. In this phase, move
91 message.c into libpspp.
93 * automake.mk: Remove message.c from sources.
95 Tue Apr 25 10:58:19 2006 Ben Pfaff <blp@gnu.org>
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
102 * automake.mk (src_ui_terminal_libui_a_SOURCES): Add msg-ui.c,
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.
109 * msg-ui.c: New file.
111 * msg-ui.h: New file.
113 * main.c: (main) Call msg_ui_init(). Use any_errors().
114 (terminate) Call msg_ui_done(). Make termination order more
117 * read-line.c: (readln_read) Use reset_msg_count() now we have a
120 Tue Apr 25 09:39:46 2006 Ben Pfaff <blp@gnu.org>
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.
126 Fri Mar 31 10:33:37 2006 Ben Pfaff <blp@gnu.org>
128 * command-line.c: (var pre_syntax_message) -d and -u are no longer
131 Sat Mar 11 14:18:39 WST 2006 John Darrington <john@darrington.wattle.id.au>
133 * automake.mk: Moved the pspp binary here.
135 Thu Mar 2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
137 * Moved files from src directory