(and-let*): Use `re-export-syntax' instead of `export-syntax'.
[bpt/guile.git] / srfi / ChangeLog
1 2001-07-11 Gary Houston <ghouston@arglist.com>
2
3 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
4 return #t instead of giving wrong-number-of-arguments . take a
5 single "rest" argument. use memcmp instead of a loop to compare
6 the values.
7 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
8 take a single "rest" argument.
9 srfi-14.h: update the declarations.
10
11 2001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
12
13 * README: Cleanup.
14
15 2001-07-06 Gary Houston <ghouston@arglist.com>
16
17 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
18 delete!, assoc): roll back the previous change. instead place
19 dummy definitions in a deprecated block at the beginning as in
20 srfi-13.scm.
21
22 2001-07-06 Rob Browning <rlb@defaultvalue.org>
23
24 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
25
26 2001-07-03 Gary Houston <ghouston@arglist.com>
27
28 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
29 delete!, assoc): don't export until the new bindings have been
30 created. otherwise "export" thinks they are being re-exported and
31 a deprecation warning is produced.
32 (map-in-order): defined and exported, to support lists of unequal
33 length.
34
35 2001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
36
37 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
38 invalid arguments. Same fix for several other procedures (do not
39 use zero?, use <= 0).
40
41 2001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
42
43 * srfi-1.scm: Replaced calls to `map' in several procedures to
44 calls to `map1'.
45 (map, for-each): New procedures, extended from R5RS.
46
47 2001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
48
49 * srfi-4.c: Minor cleanups.
50
51 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
52 (scm_char_set_unfold_x, scm_char_set_for_each)
53 (scm_char_set_map, scm_char_set_filter)
54 (scm_char_set_filter_x, scm_char_set_count)
55 (scm_char_set_every, scm_char_set_any): Replace calls to
56 scm_apply() with the corresponding scm_call_N() functions.
57
58 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
59 (scm_char_set_unfold, scm_char_set_unfold_x)
60 (scm_char_set_map, scm_char_set_diff_plus_intersection)
61 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
62 SCM_LISTN with calls to scm_list_N().
63
64 * srfi-13.c (scm_string_tabulate, scm_string_map)
65 (scm_string_map_x, scm_string_unfold)
66 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
67 with calls to scm_list_N().
68
69 * srfi-13.c (scm_string_any, scm_string_every),
70 (scm_string_tabulate, scm_string_trim),
71 (scm_string_trim_right, scm_string_trim_both),
72 (scm_string_compare, scm_string_compare_ci),
73 (scm_string_indexS, scm_string_index_right),
74 (scm_string_skip, scm_string_skip_right, scm_string_count),
75 (scm_string_map, scm_string_map_x, scm_string_fold),
76 (scm_string_fold_right, scm_string_unfold),
77 (scm_string_unfold_right, scm_string_for_each),
78 (scm_string_filter, scm_string_delete): Replace calls to
79 scm_apply() with the corresponding scm_call_N() functions.
80
81 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
82
83 * Makefile.am: Added SRFI-4 files in various places.
84
85 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
86
87 2001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
88
89 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
90 scm_string_take_right, scm_string_drop_right, scm_string_trim,
91 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
92 Use scm_mem2string instead of scm_makfromstr.
93
94 (scm_reverse_list_to_string, string_titlecase_x): Prefer
95 !SCM_<pred> over SCM_N<pred>.
96
97 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
98
99 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
100 `receive'.
101
102 2001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
103
104 The SRFI-19 implementation was completely broken. Already the
105 reference implementation did not handle DST and time zones
106 properly and relied on non-R5RS-isms like passing reals to
107 `quotient'. For Guile, some additional fixes were needed because
108 of the incomplete numeric tower implementation. See also
109 srfi-19.test.
110
111 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
112 (add-duration): Renamed from priv:add-duration.
113 (priv:time-normalize!): Handle fractional nanoseconds; remove
114 duplicate definition.
115 (priv:current-time-tai): Fixed typo.
116 (time=?, time<=?): Fixed typos.
117 (time-tai->time-utc, time-utc->time-tai,
118 time-utc->time-monotonic): Use make-time-unnormalized instead of
119 make-time when uninitialized time fields are used.
120 (set-date-nanosecond!, set-date-second!, set-date-minute!,
121 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
122 set-date-zone-offset!): Define.
123 (priv:local-tz-offset): Take an extra argument in order to handle
124 DST effects.
125 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
126 changed signature of priv:local-tz-offset. Don't pass non-integer
127 arguments to quotient (non-R5RS, not supported by Guile).
128 (date->time-utc): Ensure that seconds in a date structure are
129 always exact integers. Handle DST properly.
130 (current-date, julian-day->date, modified-julian-day->date):
131 Handle the changed signature of priv:local-tz-offset.
132 (julian-day->time-utc): Reverted earlier inexact->exact hack;
133 make-time now handles inexact arguments.
134 (priv:locale-print-time-zone): At least print the numerical time
135 zone.
136 (priv:integer-reader): Fixed named let iteration.
137 (priv:read-directives): Use set-date-month! instead of
138 priv:set-date-month! etc.
139 (string->date): Handle DST properly.
140
141 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
142
143 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
144
145 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
146
147 * srfi-14.c (charset_print): Mark unused parameters with
148 SCM_UNUSED.
149
150 2001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
151
152 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
153 (delete-duplicates): Now the first occurrence of an element is
154 retained, as required.
155 (member, assoc): Fixed wrong order of equality predicate
156 application.
157
158 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
159
160 * README: Update.
161
162 * srfi-1.scm: New file.
163
164 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
165
166 Added exception notice to all files.
167
168 2001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
169
170 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
171 shared library.
172
173 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
174
175 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
176 case.
177 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
178
179 2001-05-28 Michael Livshin <mlivshin@bigfoot.com>
180
181 * srfi-19.scm: removed a stray open parenthesis. (thanks to
182 Matthias Köppe for the report).
183
184 2001-05-23 Rob Browning <rlb@cs.utexas.edu>
185
186 * srfi-19.scm (:optional): renamed to optional to avoid reader
187 keywords conflict. Time passes... Removed :optional altogether
188 and just handle optional args directly. Thanks to Matthias Koeppe
189 for the report of this and the two bits below.
190 (priv:decode-julian-day-number): add inexact->exact for truncate
191 result.
192 (time-utc->date): add inexact->exact and floor so quotient will
193 work.
194
195 2001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
196
197 * README: Update, document available SRFIs.
198
199 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
200
201 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
202 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
203 srfi-2.scm: Use `cond-expand-provide' for providing features to
204 `cond-expand'.
205
206 2001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
207
208 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
209 `initialized'.
210
211 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
212
213 Avoid using module operations from C.
214
215 * srfi-13.c (scm_init_srfi_13_14): Removed.
216 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
217 initializations needed by C clients of srfi-14.
218 (scm_init_srfi_13, scm_init_srfi_14): Call it.
219 * srfi-13.scm: Call "scm_init_srfi_13" instead of
220 "scm_init_srfi_13_14".
221 * srfi-14.scm: Call "scm_init_srfi_14" instead of
222 "scm_init_srfi_13_14".
223
224 2001-05-16 Rob Browning <rlb@cs.utexas.edu>
225
226 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
227
228 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
229
230 * Makefile.am (srfi_DATA): Added srfi-16.scm.
231
232 * srfi-16.scm: New file.
233
234 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
235
236 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
237 Fixed.
238
239 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
240
241 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
242
243 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
244
245 * Makefile.am (srfi_DATA): added srfi-19.scm.
246
247 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
248 Fitzgerald.
249
250 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
251
252 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
253
254 * srfi-10.scm: Typo fix.
255
256 2001-05-02 Rob Browning <rlb@cs.utexas.edu>
257
258 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
259
260 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
261
262 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
263
264 * srfi-10.scm: New file.
265
266 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
267 lot!
268 Added `Commentary:' tag.
269
270 * srfi-9.scm: Added `Commentary:' tag.
271
272 2001-04-27 Rob Browning <rlb@cs.utexas.edu>
273
274 * srfi-13.h
275 (scm_reverse_string_concatenate): renamed to
276 scm_string_concatentate_reverse.
277 (scm_reverse_string_concatenate_shared): renamed to
278 scm_string_concatenate_reverse_shared.
279
280 2001-04-27 Gary Houston <ghouston@arglist.com>
281
282 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
283 add "srfi/" to lines including .x files so they can be found
284 when build_dir != src_dir.
285
286 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
287
288 * Makefile.am (srfi_DATA): Added srfi-9.scm.
289
290 * srfi-9.scm: New file. Exports `define-record-type'.
291
292 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
293
294 * Makefile.am (srfi_DATA): added srfi-6.scm.
295 (srfi_DATA): added srfi-11.scm.
296 (srfi_DATA): added srfi-8.scm.
297 (srfi_DATA): added srfi-2.scm.
298
299 * srfi-11.scm: new file - exports let-values and let*-values.
300
301 * srfi-6.scm: new file - guile already has srfi-6 procedures
302 loaded by default, so this is a dummy file right now.
303
304 * srfi-8.scm: new file - exports receive.
305
306 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
307
308 2001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
309
310 Changed two procedure names to match final SRFI document. Thanks
311 to Rob Browning for spotting this.
312
313 * srfi-13.scm (string-concatenate-reverse),
314 (string-concatenate-reverse/shared): Rename from
315 reverse-string-concatenate[/shared].
316
317 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
318 scm_reverse_string_concatenate_shared.
319 (scm_string_concatenate_reverse): Renamed from
320 scm_reverse_string_concatenate.
321
322 2001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
323
324 * configure.in, autogen.sh: Removed.
325
326 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
327 when using memmove().
328
329 * srfi-14.h: Added prototypes for all exported procedures..
330
331 * srfi-13.c: Include srfi-13.h
332
333 * srfi-13.h: New file containing the prototypes.
334
335 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
336 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
337 distributed.
338 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
339
340 2001-04-24 Neil Jerram <neil@ossau.uklinux.net>
341
342 * Makefile.am: Fixed "srf-14.x" typo.
343
344 2001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
345
346 * guile-srfi.texi: Removed, because merged with the GRM.
347
348 * guile-srfi.texi: The docs are now up to date with the
349 implementation and have new introductory material.
350
351 2001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
352
353 Integrated the guile-srfi package into the Guile distribution.
354
355 * srfi-13.c: All procedures so specified in the SRFI now accept
356 character set arguments.
357
358 * Makefile.am: Snarfed some variables from the guile-readline
359 directory.
360
361 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
362
363 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
364 configure.in, Makefile.am: Added FSF copyright and Guile license
365 information.
366
367 * srfi-13.c, srfi-14.c: Include srfi-14.h.
368 (scm_init_srfi_13_14): Initialize the complete module, if not
369 already done so.
370
371 * srfi-14.h: New file.
372
373 * srfi-13.scm, srfi-14.scm: Load new combined library.
374
375 * Makefile.am: Build only one library,
376 `libguile-srfi-srfi-13-14.la'
377
378 2001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
379
380 * guile-srfi.texi: Integrated the SRFI-14 documentation.
381
382 * srfi-14.c, srfi-14.scm: Made the procedures and variables
383 compliant to the final SRFI document.
384
385 * Renamed the package to guile-srfi.
386
387 2001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
388
389 * NEWS: New section for 0.0.3.
390
391 * configure.in, README, guile-srfi-13.texi: Bumped version number
392 to 0.0.3.
393
394 * Released version 0.0.2.
395
396 * Makefile.am: Added rules for builing the SRFI-14 library.
397
398 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
399 (character set library).
400
401 2001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
402
403 * README: Updated procedure and incompatibility list.
404
405 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
406 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
407 (scm_string_downcaseS, string_titlecase_x),
408 (scm_string_titlecase_x, scm_string_titlecase),
409 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
410 procedures.
411
412 * srfi-13.scm: Export new case mapping procedures.
413
414 * guile-srfi-13.texi (What cannot be done): Removed case mapping
415 procedures from incompatibility list.
416 (Case Mapping): New section for case mapping procedures.
417
418 2001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
419
420 * NEWS: New section for 0.0.2
421
422 * configure.in, README, guile-srfi-13.texi: Bumbed version number
423 to 0.0.2
424
425 * Released version 0.0.1.
426
427 * README: Made procedure list up-to-date.
428
429 * guile-srfi-13.texi: Fixed typos, completed reference and added
430 introductory blurb.
431
432 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
433
434 2001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
435
436 * Started guile-srfi-13 package. Files are copied from the
437 guile-gdbm and slightly modified.