* boot-9.scm (process-define-module): Bug fixed.
[bpt/guile.git] / srfi / ChangeLog
CommitLineData
d1bc6602
GH
12001-07-22 Gary Houston <ghouston@arglist.com>
2
3 * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
4 the compulsory cs1 arguments: all args are optional in final spec.
42b54c05 5
d1bc6602
GH
6 * srfi-14.h: declarations updated.
7
46a7b46f
MG
82001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
9
10 * srfi-11.scm, srfi-8.scm: Update copyright notice.
11
4c4185ee
MG
122001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
13
14 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
15 Guaranteed. (Maybe)
16
17 * srfi-19.scm: Define `current-time' before exporting it.
18
2671725a
MG
192001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
20
21 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
22 side. Bit sets were handled wrong because I couldn't tell bit
23 counts from byte counts. Also, the bit array should be 256 / 8
24 bytes long. Thank you, Gary!
25
26 Removed unnecessary protoype for scm_char_set_copy.
27
8b19021c
GH
282001-07-16 Gary Houston <ghouston@arglist.com>
29
30 * srfi-14.scm: export string->char-set!, not string-char-set!.
31
32 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
33 scm_end_of_char_set_p): reject negative cursor values.
34 (scm_list_to_char_set, scm_list_to_char_set_x): when reporting
35 type error in list component, omit the position (was always 1).
36
139777e5
MG
372001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
38
39 (scm_char_set_map): Bug-fix: char-set-map was modifying the
40 argument instead of the return value.
41
cebf3d62
MG
422001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
43
44 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
45 use this value for initializing and comparing charsets.
46 (scm_char_set_hash): Use ``better'' hash algorithm which produces
47 more values.
48
396f36cd 492001-07-15 Gary Houston <ghouston@arglist.com>
8b19021c 50
396f36cd
GH
51 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
52 opt arg to give default bound, as in final spec. don't allow
53 negative bounds.
b87f5a83
GH
54 (scm_char_set_hash): bug fix: was overrunning the buffer and
55 calculating based on garbage.
56 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
57 reporting: wasn't incremented due to macro coding.
58 (scm_char_set): report argument number in error reporting: was
59 hard coded to 1. remove a couple of local variables.
396f36cd 60
22647fef
MV
612001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
62
63 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
64 `export-syntax'.
65
dd84cd4d
GH
662001-07-11 Gary Houston <ghouston@arglist.com>
67
68 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
69 return #t instead of giving wrong-number-of-arguments . take a
70 single "rest" argument. use memcmp instead of a loop to compare
71 the values.
be390de2
GH
72 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
73 take a single "rest" argument.
74 srfi-14.h: update the declarations.
dd84cd4d 75
ee85583a
MG
762001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
77
78 * README: Cleanup.
79
99f59e93
GH
802001-07-06 Gary Houston <ghouston@arglist.com>
81
82 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
83 delete!, assoc): roll back the previous change. instead place
84 dummy definitions in a deprecated block at the beginning as in
85 srfi-13.scm.
86
0d6209aa
RB
872001-07-06 Rob Browning <rlb@defaultvalue.org>
88
89 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
90
26c22ea8
GH
912001-07-03 Gary Houston <ghouston@arglist.com>
92
93 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
94 delete!, assoc): don't export until the new bindings have been
95 created. otherwise "export" thinks they are being re-exported and
96 a deprecation warning is produced.
6d52dbf2
GH
97 (map-in-order): defined and exported, to support lists of unequal
98 length.
26c22ea8 99
018adcae
MG
1002001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
101
102 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
e800aa04
MG
103 invalid arguments. Same fix for several other procedures (do not
104 use zero?, use <= 0).
018adcae 105
cef248dd
MG
1062001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
107
108 * srfi-1.scm: Replaced calls to `map' in several procedures to
109 calls to `map1'.
110 (map, for-each): New procedures, extended from R5RS.
111
2c4df451
MG
1122001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
113
114 * srfi-4.c: Minor cleanups.
115
116 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
117 (scm_char_set_unfold_x, scm_char_set_for_each)
118 (scm_char_set_map, scm_char_set_filter)
119 (scm_char_set_filter_x, scm_char_set_count)
120 (scm_char_set_every, scm_char_set_any): Replace calls to
121 scm_apply() with the corresponding scm_call_N() functions.
122
123 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
124 (scm_char_set_unfold, scm_char_set_unfold_x)
125 (scm_char_set_map, scm_char_set_diff_plus_intersection)
126 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
127 SCM_LISTN with calls to scm_list_N().
128
129 * srfi-13.c (scm_string_tabulate, scm_string_map)
130 (scm_string_map_x, scm_string_unfold)
131 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
132 with calls to scm_list_N().
133
134 * srfi-13.c (scm_string_any, scm_string_every),
135 (scm_string_tabulate, scm_string_trim),
136 (scm_string_trim_right, scm_string_trim_both),
137 (scm_string_compare, scm_string_compare_ci),
138 (scm_string_indexS, scm_string_index_right),
139 (scm_string_skip, scm_string_skip_right, scm_string_count),
140 (scm_string_map, scm_string_map_x, scm_string_fold),
141 (scm_string_fold_right, scm_string_unfold),
142 (scm_string_unfold_right, scm_string_for_each),
143 (scm_string_filter, scm_string_delete): Replace calls to
144 scm_apply() with the corresponding scm_call_N() functions.
145
71ca65d9
MG
1462001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
147
148 * Makefile.am: Added SRFI-4 files in various places.
149
150 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
151
36284627
DH
1522001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
153
154 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
155 scm_string_take_right, scm_string_drop_right, scm_string_trim,
156 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
157 Use scm_mem2string instead of scm_makfromstr.
158
159 (scm_reverse_list_to_string, string_titlecase_x): Prefer
160 !SCM_<pred> over SCM_N<pred>.
161
f6581113
MV
1622001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
163
164 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
165 `receive'.
166
d0e06238
MV
1672001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
168
169 The SRFI-19 implementation was completely broken. Already the
170 reference implementation did not handle DST and time zones
171 properly and relied on non-R5RS-isms like passing reals to
172 `quotient'. For Guile, some additional fixes were needed because
173 of the incomplete numeric tower implementation. See also
174 srfi-19.test.
175
176 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
177 (add-duration): Renamed from priv:add-duration.
178 (priv:time-normalize!): Handle fractional nanoseconds; remove
179 duplicate definition.
180 (priv:current-time-tai): Fixed typo.
181 (time=?, time<=?): Fixed typos.
182 (time-tai->time-utc, time-utc->time-tai,
183 time-utc->time-monotonic): Use make-time-unnormalized instead of
184 make-time when uninitialized time fields are used.
185 (set-date-nanosecond!, set-date-second!, set-date-minute!,
186 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
187 set-date-zone-offset!): Define.
188 (priv:local-tz-offset): Take an extra argument in order to handle
189 DST effects.
190 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
191 changed signature of priv:local-tz-offset. Don't pass non-integer
192 arguments to quotient (non-R5RS, not supported by Guile).
193 (date->time-utc): Ensure that seconds in a date structure are
194 always exact integers. Handle DST properly.
195 (current-date, julian-day->date, modified-julian-day->date):
196 Handle the changed signature of priv:local-tz-offset.
197 (julian-day->time-utc): Reverted earlier inexact->exact hack;
198 make-time now handles inexact arguments.
199 (priv:locale-print-time-zone): At least print the numerical time
200 zone.
201 (priv:integer-reader): Fixed named let iteration.
202 (priv:read-directives): Use set-date-month! instead of
203 priv:set-date-month! etc.
204 (string->date): Handle DST properly.
205
0f002b27
MV
2062001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
207
208 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
209
e81d98ec
DH
2102001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
211
212 * srfi-14.c (charset_print): Mark unused parameters with
213 SCM_UNUSED.
214
563058ef
MG
2152001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
216
217 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
218 (delete-duplicates): Now the first occurrence of an element is
219 retained, as required.
220 (member, assoc): Fixed wrong order of equality predicate
221 application.
563058ef 222
e9680547
MG
2232001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
224
225 * README: Update.
226
227 * srfi-1.scm: New file.
228
f480396b
MV
2292001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
230
231 Added exception notice to all files.
232
dd22a80a
MG
2332001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
234
235 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
236 shared library.
237
998c3141
ML
2382001-05-31 Michael Livshin <mlivshin@bigfoot.com>
239
240 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
241 case.
242 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
243
6b0d28a3
ML
2442001-05-28 Michael Livshin <mlivshin@bigfoot.com>
245
246 * srfi-19.scm: removed a stray open parenthesis. (thanks to
247