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