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