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