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