(scm_char_set_map): Bug-fix: char-set-map was modifying the
[bpt/guile.git] / srfi / ChangeLog
CommitLineData
139777e5
MG
12001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
2
3 (scm_char_set_map): Bug-fix: char-set-map was modifying the
4 argument instead of the return value.
5
cebf3d62
MG
62001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
7
8 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
9 use this value for initializing and comparing charsets.
10 (scm_char_set_hash): Use ``better'' hash algorithm which produces
11 more values.
12
396f36cd
GH
132001-07-15 Gary Houston <ghouston@arglist.com>
14
15 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
16 opt arg to give default bound, as in final spec. don't allow
17 negative bounds.
b87f5a83
GH
18 (scm_char_set_hash): bug fix: was overrunning the buffer and
19 calculating based on garbage.
20 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
21 reporting: wasn't incremented due to macro coding.
22 (scm_char_set): report argument number in error reporting: was
23 hard coded to 1. remove a couple of local variables.
396f36cd 24
22647fef
MV
252001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
26
27 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
28 `export-syntax'.
29
dd84cd4d
GH
302001-07-11 Gary Houston <ghouston@arglist.com>
31
32 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
33 return #t instead of giving wrong-number-of-arguments . take a
34 single "rest" argument. use memcmp instead of a loop to compare
35 the values.
be390de2
GH
36 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
37 take a single "rest" argument.
38 srfi-14.h: update the declarations.
dd84cd4d 39
ee85583a
MG
402001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
41
42 * README: Cleanup.
43
99f59e93
GH
442001-07-06 Gary Houston <ghouston@arglist.com>
45
46 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
47 delete!, assoc): roll back the previous change. instead place
48 dummy definitions in a deprecated block at the beginning as in
49 srfi-13.scm.
50
0d6209aa
RB
512001-07-06 Rob Browning <rlb@defaultvalue.org>
52
53 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
54
26c22ea8
GH
552001-07-03 Gary Houston <ghouston@arglist.com>
56
57 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
58 delete!, assoc): don't export until the new bindings have been
59 created. otherwise "export" thinks they are being re-exported and
60 a deprecation warning is produced.
6d52dbf2
GH
61 (map-in-order): defined and exported, to support lists of unequal
62 length.
26c22ea8 63
018adcae
MG
642001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
65
66 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
e800aa04
MG
67 invalid arguments. Same fix for several other procedures (do not
68 use zero?, use <= 0).
018adcae 69
cef248dd
MG
702001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
71
72 * srfi-1.scm: Replaced calls to `map' in several procedures to
73 calls to `map1'.
74 (map, for-each): New procedures, extended from R5RS.
75
2c4df451
MG
762001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
77
78 * srfi-4.c: Minor cleanups.
79
80 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
81 (scm_char_set_unfold_x, scm_char_set_for_each)
82 (scm_char_set_map, scm_char_set_filter)
83 (scm_char_set_filter_x, scm_char_set_count)
84 (scm_char_set_every, scm_char_set_any): Replace calls to
85 scm_apply() with the corresponding scm_call_N() functions.
86
87 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
88 (scm_char_set_unfold, scm_char_set_unfold_x)
89 (scm_char_set_map, scm_char_set_diff_plus_intersection)
90 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
91 SCM_LISTN with calls to scm_list_N().
92
93 * srfi-13.c (scm_string_tabulate, scm_string_map)
94 (scm_string_map_x, scm_string_unfold)
95 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
96 with calls to scm_list_N().
97
98 * srfi-13.c (scm_string_any, scm_string_every),
99 (scm_string_tabulate, scm_string_trim),
100 (scm_string_trim_right, scm_string_trim_both),
101 (scm_string_compare, scm_string_compare_ci),
102 (scm_string_indexS, scm_string_index_right),
103 (scm_string_skip, scm_string_skip_right, scm_string_count),
104 (scm_string_map, scm_string_map_x, scm_string_fold),
105 (scm_string_fold_right, scm_string_unfold),
106 (scm_string_unfold_right, scm_string_for_each),
107 (scm_string_filter, scm_string_delete): Replace calls to
108 scm_apply() with the corresponding scm_call_N() functions.
109
71ca65d9
MG
1102001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
111
112 * Makefile.am: Added SRFI-4 files in various places.
113
114 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
115
36284627
DH
1162001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
117
118 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
119 scm_string_take_right, scm_string_drop_right, scm_string_trim,
120 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
121 Use scm_mem2string instead of scm_makfromstr.
122
123 (scm_reverse_list_to_string, string_titlecase_x): Prefer
124 !SCM_<pred> over SCM_N<pred>.
125
f6581113
MV
1262001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
127
128 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
129 `receive'.
130
d0e06238
MV
1312001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
132
133 The SRFI-19 implementation was completely broken. Already the
134 reference implementation did not handle DST and time zones
135 properly and relied on non-R5RS-isms like passing reals to
136 `quotient'. For Guile, some additional fixes were needed because
137 of the incomplete numeric tower implementation. See also
138 srfi-19.test.
139
140 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
141 (add-duration): Renamed from priv:add-duration.
142 (priv:time-normalize!): Handle fractional nanoseconds; remove
143 duplicate definition.
144 (priv:current-time-tai): Fixed typo.
145 (time=?, time<=?): Fixed typos.
146 (time-tai->time-utc, time-utc->time-tai,
147 time-utc->time-monotonic): Use make-time-unnormalized instead of
148 make-time when uninitialized time fields are used.
149 (set-date-nanosecond!, set-date-second!, set-date-minute!,
150 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
151 set-date-zone-offset!): Define.
152 (priv:local-tz-offset): Take an extra argument in order to handle
153 DST effects.
154 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
155 changed signature of priv:local-tz-offset. Don't pass non-integer
156 arguments to quotient (non-R5RS, not supported by Guile).
157 (date->time-utc): Ensure that seconds in a date structure are
158 always exact integers. Handle DST properly.
159 (current-date, julian-day->date, modified-julian-day->date):
160 Handle the changed signature of priv:local-tz-offset.
161 (julian-day->time-utc): Reverted earlier inexact->exact hack;
162 make-time now handles inexact arguments.
163 (priv:locale-print-time-zone): At least print the numerical time
164 zone.
165 (priv:integer-reader): Fixed named let iteration.
166 (priv:read-directives): Use set-date-month! instead of
167 priv:set-date-month! etc.
168 (string->date): Handle DST properly.
169
0f002b27
MV
1702001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
171
172 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
173
e81d98ec
DH
1742001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
175
176 * srfi-14.c (charset_print): Mark unused parameters with
177 SCM_UNUSED.
178
563058ef
MG
1792001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
180
181 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
182 (delete-duplicates): Now the first occurrence of an element is
183 retained, as required.
184 (member, assoc): Fixed wrong order of equality predicate
185 application.
563058ef 186
e9680547
MG
1872001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
188
189 * README: Update.
190
191 * srfi-1.scm: New file.
192
f480396b
MV
1932001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
194
195 Added exception notice to all files.
196
dd22a80a
MG
1972001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
198
199 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
200 shared library.
201
998c3141
ML
2022001-05-31 Michael Livshin <mlivshin@bigfoot.com>
203
204 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
205 case.
206 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
207
6b0d28a3
ML
2082001-05-28 Michael Livshin <mlivshin@bigfoot.com>
209
210 * srfi-19.scm: removed a stray open parenthesis. (thanks to
211