88955ac42ca3797e2f3e8197f9921cc02c59f754
[pspp-builds.git] / src / libpspp / ChangeLog
1 Sun Apr 16 20:43:35 2006  Ben Pfaff  <blp@gnu.org>
2
3         Continue reforming error message support.  In this phase, we
4         divide the classification of messages along "category" and
5         "severity" axes.
6
7         * message.h: (enum msg_class) Named this set of enumerations.
8         (enum msg_category) New enum: MSG_GENERAL, MSG_SYNTAX, MSG_DATA.
9         (enum msg_severity) New enum: MSG_ERROR, MSG_WARNING, MSG_NOTE.
10         (msg_class_to_category) New inline function.
11         (msg_class_to_severity) New inline function.
12         (msg_class_from_category_and_severity) New inline function.
13         (struct error) Removed `class' member, added `category',
14         `severity'.  Updated all users of this struct to use the new
15         members.
16
17 Sun Apr 16 20:33:19 2006  Ben Pfaff  <blp@gnu.org>
18
19         * str.c (ds_vprintf): Don't try to write into the string if it is
20         null.
21
22 Sun Apr 16 18:52:41 2006  Ben Pfaff  <blp@gnu.org>
23
24         GNU standards require "file name" instead of "filename" in
25         documentation.  It's nice for our code to follow the convention
26         too.
27         
28         * message.h: (struct file_locator) Rename filename member to
29         file_name.  Updated all references.
30
31 Sun Apr 16 16:05:43 2006  Ben Pfaff  <blp@gnu.org>
32
33         Continue reforming error message support.  In this phase, we get
34         rid of VM() and the other msg() support for "verbosity", replacing
35         it by a new function verbose_msg().
36
37         * message.h: (enum ERR_CLASS_COUNT) Renamed ERR_CLASS_CNT.
38         (enum ERR_CLASS_MASK) Removed.
39         (enum ERR_VERBOSITY_SHIFT) Removed.
40         (enum ERR_VERBOSITY_MASK) Removed.
41         (macro VM) Removed.
42
43 Sun Apr 16 11:48:07 2006  Ben Pfaff  <blp@gnu.org>
44
45         Start reforming error message support.  In this phase, we get rid
46         of "installation errors" and change all uses of msg() in the
47         output drivers to uses of error() or error_at_line().
48
49         * message.h: Remove IE, IS enums.
50
51 Mon Apr  3 11:10:21 2006  Ben Pfaff  <blp@gnu.org>
52
53         * str.c: (ds_separate) Change interface for cleanliness and
54         consistency with ds_tokenize(), and rewrite to shorten and
55         simplify.  Updated all callers.
56         (ds_tokenize) New function.
57
58 Fri Mar 31 10:38:46 2006  Ben Pfaff  <blp@gnu.org>
59
60         Add freaderror() analogous to fwriteerror() in gnulib.
61
62         * freaderror.c: New file.
63
64         * freaderror.h: New file.
65
66 Thu Mar 30 16:15:37 2006  Ben Pfaff  <blp@gnu.org>
67
68         * str.c: (ds_create) Adjust capacity selection.
69         (ds_init) Use MAX macro for clarity.
70         (ds_create_substr) Rewrote.
71         (ds_replace) Renamed ds_assign_c_str(), reimplemented.  Changed
72         all callers to use a ds_assign_*() function.
73         (ds_init_substring) New function.
74         (ds_assign_string) New function.
75         (ds_assign_substring) New function.
76         (ds_assign_buffer) New function.
77         (ds_assign_c_str) New function.
78         (ds_truncate) Rewrote for clarity.
79         (ds_rpad) Reimplement in terms of ds_putc_multiple().
80         (ds_ltrim_spaces) Reimplement.
81         (ds_trim_spaces) New function.
82         (ds_separate) New function.
83         (ds_c_str) Make tolerant of null pointer, allowing static
84         initialization of strings.
85         (ds_find) Rename ds_span(), change interface.
86         (ds_n_find) Rename ds_cspan(), change interface.
87         (ds_at) New function.
88         (ds_first) Reimplement in terms of ds_at().
89         (remove_comment) New function.
90         (ds_get_config_line) Reimplement in terms of other functions.
91         Change type of LINE_NUMBER parameter.  Updated all callers.
92         (ds_vprintf) Modify for clarity.
93         (ds_putc) Better to be safe than sorry.
94         (ds_putc_multiple) New function.
95
96         * str.h: (struct string) Reorder members.
97         (macro DS_INITIALIZER) New macro that can be used to initialize a
98         string (as empty).
99         (ds_c_str) Remove inline version.
100
101 Tue Mar 28 13:49:11 WST 2006 John Darrington <john@darrington.wattle.id.au>
102
103         * str.[ch]: New functions ds_create_substr, ds_find, ds_n_find, 
104         ds_ltrim_spaces
105
106 Sat Mar  4 12:59:01 2006  Ben Pfaff  <blp@gnu.org>
107
108         * compiler.h: New file.
109
110 Sat Mar  4 11:55:16 2006  Ben Pfaff  <blp@gnu.org>
111
112         * str.h: Now assume that sprintf() returns the correct value.
113         Always implement spprintf as a static inline function.  Change
114         nsprintf, nvsprintf to simple macros that call sprintf, vsprintf.
115
116         * str.c: Remove spprintf, nsprintf, nvsprintf conditional
117         definitions.
118
119 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
120         
121         * Moved files from src directory