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