Start reforming error message support. In this phase, we get rid of
[pspp-builds.git] / src / libpspp / ChangeLog
1 Sun Apr 16 11:48:07 2006  Ben Pfaff  <blp@gnu.org>
2
3         Start reforming error message support.  In this phase, we get rid
4         of "installation errors" and change all uses of msg() in the
5         output drivers to uses of error() or error_at_line().
6
7         * message.h: Remove IE, IS enums.
8
9 Mon Apr  3 11:10:21 2006  Ben Pfaff  <blp@gnu.org>
10
11         * str.c: (ds_separate) Change interface for cleanliness and
12         consistency with ds_tokenize(), and rewrite to shorten and
13         simplify.  Updated all callers.
14         (ds_tokenize) New function.
15
16 Fri Mar 31 10:38:46 2006  Ben Pfaff  <blp@gnu.org>
17
18         Add freaderror() analogous to fwriteerror() in gnulib.
19
20         * freaderror.c: New file.
21
22         * freaderror.h: New file.
23
24 Thu Mar 30 16:15:37 2006  Ben Pfaff  <blp@gnu.org>
25
26         * str.c: (ds_create) Adjust capacity selection.
27         (ds_init) Use MAX macro for clarity.
28         (ds_create_substr) Rewrote.
29         (ds_replace) Renamed ds_assign_c_str(), reimplemented.  Changed
30         all callers to use a ds_assign_*() function.
31         (ds_init_substring) New function.
32         (ds_assign_string) New function.
33         (ds_assign_substring) New function.
34         (ds_assign_buffer) New function.
35         (ds_assign_c_str) New function.
36         (ds_truncate) Rewrote for clarity.
37         (ds_rpad) Reimplement in terms of ds_putc_multiple().
38         (ds_ltrim_spaces) Reimplement.
39         (ds_trim_spaces) New function.
40         (ds_separate) New function.
41         (ds_c_str) Make tolerant of null pointer, allowing static
42         initialization of strings.
43         (ds_find) Rename ds_span(), change interface.
44         (ds_n_find) Rename ds_cspan(), change interface.
45         (ds_at) New function.
46         (ds_first) Reimplement in terms of ds_at().
47         (remove_comment) New function.
48         (ds_get_config_line) Reimplement in terms of other functions.
49         Change type of LINE_NUMBER parameter.  Updated all callers.
50         (ds_vprintf) Modify for clarity.
51         (ds_putc) Better to be safe than sorry.
52         (ds_putc_multiple) New function.
53
54         * str.h: (struct string) Reorder members.
55         (macro DS_INITIALIZER) New macro that can be used to initialize a
56         string (as empty).
57         (ds_c_str) Remove inline version.
58
59 Tue Mar 28 13:49:11 WST 2006 John Darrington <john@darrington.wattle.id.au>
60
61         * str.[ch]: New functions ds_create_substr, ds_find, ds_n_find, 
62         ds_ltrim_spaces
63
64 Sat Mar  4 12:59:01 2006  Ben Pfaff  <blp@gnu.org>
65
66         * compiler.h: New file.
67
68 Sat Mar  4 11:55:16 2006  Ben Pfaff  <blp@gnu.org>
69
70         * str.h: Now assume that sprintf() returns the correct value.
71         Always implement spprintf as a static inline function.  Change
72         nsprintf, nvsprintf to simple macros that call sprintf, vsprintf.
73
74         * str.c: Remove spprintf, nsprintf, nvsprintf conditional
75         definitions.
76
77 Thu Mar  2 08:40:33 WST 2006 John Darrington <john@darrington.wattle.id.au>
78         
79         * Moved files from src directory