1 2004-03-23 Kevin Ryde <user42@zip.com.au>
3 * srfi-1.scm (circular-list): Rewrite using set-cdr!, no need to copy
6 2004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
8 * Makefile.am (TAGS_FILES): Use this variable instead of
9 ETAGS_ARGS so that TAGS can be built using separate build
12 2004-01-24 Marius Vollmer <mvo@zagadka.de>
14 * Makefile.am (srfi_DATA): Added srfi-26.scm.
16 2004-01-21 Marius Vollmer <m.vollmer@ping.de>
18 * srfi-26.scm: New, from Daniel Skarda. Thanks!
20 2003-12-03 Kevin Ryde <user42@zip.com.au>
22 * srfi-1.c, srfi-1.h, srfi-1.scm (count): Rewrite in C, avoiding
25 * srfi-1.scm (map!): Define as an alias for map, previous definition
26 was not tail-recursive.
28 2003-08-23 Kevin Ryde <user42@zip.com.au>
30 * srfi-1.c, srfi-1.h, srfi-1.scm (list-copy): New function, derived
31 from core list-copy but allowing improper lists, per SRFI-1 spec.
33 * srfi-19.scm (date-week-number): Correction, day of week starting
34 week applied was off by one.
36 2003-07-29 Kevin Ryde <user42@zip.com.au>
38 * srfi-1.c, srfi-1.scm (concatenate, concatenate!): Use scm_append and
41 * srfi-1.c, srfi-1.h, srfi-1.scm (length+): Rewrite using scm_ilength.
43 * srfi-34.scm: Add cond-expand-provide srfi-34.
45 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
47 * srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition):
48 Re-implement in C to avoid stack overflows for long input lists.
50 2003-07-08 Kevin Ryde <user42@zip.com.au>
52 * srfi-1.c, srfi-1.h (scm_srfi1_delete, scm_srfi1_delete_x,
53 scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
54 functions. scm_srfi1_delete_x is derived from scm_delete_x.
55 * srfi-1.scm (delete, delete!, delete-duplicates, delete-duplicates!):
58 2003-06-07 Kevin Ryde <user42@zip.com.au>
60 * srfi-6.scm: #:re-export open-input-string, open-output-string and
61 get-output-string, for the benefit of applications wanting to use
62 #:select on the module.
64 2003-05-29 Stefan Jahn <stefan@lkcc.org>
66 * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
67 libguile_srfi_srfi_4_la_LDFLAGS,
68 libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
69 option for the mingw32 build.
71 2003-05-13 Kevin Ryde <user42@zip.com.au>
73 * srfi-1.scm (delete): Fix predicate arg order to match srfi-1 spec.
75 2003-05-10 Kevin Ryde <user42@zip.com.au>
77 * srfi-1.scm (take): Make this an alias for list-head.
78 (drop): Make this an alias for list-tail.
80 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
82 * srfi-34.scm: New file.
84 2003-04-23 Marius Vollmer <mvo@zagadka.de>
86 * srfi-1.scm: Removed stray "o" from exports list.
88 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
90 * srfi-1.c (srfi1_ilength): Prefer !SCM_CONSP over SCM_NCONSP.
91 Now, guile itself does not include any calls to SCM_NCONSP any
94 2003-04-05 Marius Vollmer <mvo@zagadka.de>
96 * Changed license terms to the plain LGPL thru-out.
98 2003-03-25 Rob Browning <rlb@defaultvalue.org>
100 * srfi-4.c: replace typedefs for basic types with typedefs using
101 new standard int types (i.e. scm_t_uint8, etc.) -- should probably
102 remove typedefs altogether later.
104 2003-03-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
106 * srfi-1.scm: Re-export all srfi-1 bindings implemented by the
107 core. (Thanks to Kevin Ryde.)
109 2003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
111 * srfi-13.scm: Mark replacements.
113 * srfi-17.scm: Mark replacements.
115 2003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
117 * srfi-1.scm (iota, map, for-each, map-in-order, list-index,
118 member, delete, delete!, assoc): Marked as replacements.
119 (filter, filter!): Removed. (Now implemented in the core.)
121 2003-03-06 Mikael Djurfeldt <djurfeldt@nada.kth.se>
123 * srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
124 with the versions in this module using
125 scm_c_extend_primitive_generic.
127 2003-02-03 Mikael Djurfeldt <djurfeldt@nada.kth.se>
129 * srfi-1.c (srfi1_for_each): Corrected argument checking for the
130 case of two argument lists. (Thanks to Kevin Ryde.)
132 2002-12-08 Rob Browning <rlb@defaultvalue.org>
134 * Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.
136 2002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
138 * Makefile.am (srfiinclude_HEADERS): Added srfi-1.h.
140 2002-12-01 Mikael Djurfeldt <mdj@linnaeus>
142 * srfi-1.scm: Load srfi-1 extension.
143 (map, map-in-order, for-each, member, assoc): Replaced by
144 primitives in srfi-1.c.
145 (map1): Defined as `map'.
147 * Makefile.am: Added rules for srfi-1.c.
149 * srfi-1.c, srfi-1.h: New files.
151 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
153 * srfi-13.c (scm_string_tokenize): Instead of using "isgraphic" as
154 the subtitute for char-set:graphic when then token-set hsa been
155 defaulted, grab the real char-set:graphic from (srfi srfi-14).
157 * srfi-14.h (SCM_CHARSET_GET): Cast IDX to unsigned char so that
158 it works for 8-bit characters. Thanks to Matthias Koeppe! No,
161 2002-04-24 Marius Vollmer <mvo@zagadka.ping.de>
163 * srfi-13.c (s_scm_string_tokenize): Only take character sets as
164 the second arg. Collect characters belonging to this set into
165 tokens (as specified by the SRFI), instead of splitting at these
166 characters. Default to an equivalent of char-set:graphic instead
167 of everything-but-whitespace. Thanks to Matthias Koeppe!
169 2002-04-10 Rob Browning <rlb@defaultvalue.org>
171 * .cvsignore: add *.c.clean.c.
173 2002-03-27 Thien-Thi Nguyen <ttn@giblet.glug.org>
175 * srfi-1.scm, srfi-13.scm, srfi-17.scm, srfi-4.scm, srfi-9.scm,
176 srfi-10.scm, srfi-14.scm, srfi-19.scm, srfi-6.scm, srfi-11.scm,
177 srfi-16.scm, srfi-2.scm, srfi-8.scm: Update copyright.
178 Point to manual in commentary; nfc.
180 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
182 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
184 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
186 * srfi-13.c, srfi-14.c, srfi-4.c:
187 Retire inclusion guard macro SCM_MAGIC_SNARFER.
189 * Makefile.am (snarfcppopts): New var.
190 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
192 2002-03-11 Marius Vollmer <mvo@zagadka.ping.de>
194 * srfi-13.c (string_titlecase_x): Treat characters as unsigned so
195 that 8-bit chars work. Thanks to David Pirotte!
197 2002-02-24 Rob Browning <rlb@defaultvalue.org>
199 * Makefile.am (libguile_srfi_srfi_4_la_LDFLAGS): use
200 @LIBGUILE_SRFI_SRFI_4_INTERFACE@.
201 (libguile_srfi_srfi_13_14_la_LDFLAGS): use
202 @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@.
204 2002-02-23 Neil Jerram <neil@ossau.uklinux.net>
206 * srfi-19.scm (priv:month-assoc): Correct numbers so that they
207 match the expectations of priv:year-day.
209 2002-02-22 Neil Jerram <neil@ossau.uklinux.net>
211 * srfi-19.scm (priv:year-day): Index into priv:month-assoc using
212 month number, not day number. (Thanks to Sébastien de Menten de
213 Horne for reporting the problem.)
215 2002-02-11 Marius Vollmer <marius.vollmer@uni-dortmund.de>
217 * srfi-14.c, srfi-4.c: Use scm_gc_malloc/scm_malloc and
218 scm_gc_free/free instead of scm_must_malloc and scm_must_free, as
221 2002-01-21 Thien-Thi Nguyen <ttn@giblet.glug.org>
223 * srfi-1.scm (count1, take-while): Rewrite to be tail-recursive.
224 Thanks to Panagiotis Vossos.
226 2002-01-20 Thien-Thi Nguyen <ttn@giblet.glug.org>
228 * srfi-1.scm (map1): Rewrite to be tail-recursive.
229 Thanks to Panagiotis Vossos for the bug report.
231 2001-12-16 Marius Vollmer <mvo@zagadka.ping.de>
233 * srfi-11.scm (let-values): Use `gensym' instead of `gentemp'.
235 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
237 * Makefile.am (ETAGS_ARGS): Added.
239 2001-11-12 Marius Vollmer <mvo@zagadka.ping.de>
241 * srfi-4.c: Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
242 it with `#ifdef' instead of `#if'.
244 2001-11-07 Neil Jerram <neil@ossau.uklinux.net>
246 * srfi-13.c (scm_string_unfold, scm_string_unfold_right),
247 srfi-14.c (scm_char_set_unfold, scm_char_set_unfold_x): Remove
248 superfluous whitespace at end of docstring lines.
250 2001-11-06 Thien-Thi Nguyen <ttn@glug.org>
252 * srfi-19.scm (time-monotonic->time-monotonic): Spurious;
255 2001-11-04 Stefan Jahn <stefan@lkcc.org>
257 * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed
258 __FOO__ macros into FOO.
260 2001-11-03 Marius Vollmer <mvo@zagadka.ping.de>
262 * Makefile.am (libguile_srfi_srfi_4_la_LIBADD,
263 libguile_srfi_srfi_13_14_la_LIBADD): Refer to build directory, not
264 the source directory, for libguile.la. Thanks to Ken Raeburn.
266 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
268 Support for native Win32. Thanks to Stefan Jahn!
270 * Makefile.am: Put `-no-undefined' into LDFLAGS to support linkers
271 which do not allow unresolved symbols inside shared libraries.
273 * srfi-13.h, srfi-14.h: Defined SCM_SRFI1314_API. Prefixed each
274 exported symbol with SCM_SRFI1314_API.
276 * srfi-4.h: Defined SCM_SRFI4_API. Prefixed each exported
277 symbol with SCM_SRFI4_API.
279 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
281 * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
282 srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
283 directives `export', `export-syntax', `re-export' and
284 `re-export-syntax' into the `define-module' form. This is the
285 recommended way of exporting bindings.
287 2001-09-22 Mikael Djurfeldt <mdj@linnaeus>
289 * srfi-19.scm (priv:split-real): Inserted missing call to
292 2001-09-21 Rob Browning <rlb@defaultvalue.org>
294 * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<".
296 * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
297 (scm_char_set_hash): val needs to be long, not just unsigned.
298 (scm_char_set): need 1L, not just 1 in "<<".
299 (scm_list_to_char_set): need 1L, not just 1 in "<<".
300 (scm_list_to_char_set_x): need 1L, not just 1 in "<<".
301 (scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
302 (scm_string_to_char_set): string length var needed to be
304 (scm_string_to_char_set): need 1L, not just 1 in "<<".
305 (scm_string_to_char_set_x): string length var needed to be
307 (scm_string_to_char_set_x): need 1L, not just 1 in "<<".
308 (scm_char_set_filter): need 1L, not just 1 in "<<".
309 (scm_char_set_filter_x): need 1L, not just 1 in "<<".
310 (scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
311 (scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
312 (scm_char_set_adjoin): need 1L, not just 1 in "<<".
313 (scm_char_set_delete): need 1L, not just 1 in "<<".
314 (scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
315 (scm_char_set_delete_x): need 1L, not just 1 in "<<".
317 2001-09-12 Gary Houston <ghouston@arglist.com>
319 * srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
321 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
323 * srfi-1.scm, srfi-13.scm: Remove the defines that were needed to
324 trick export from the beginning of the files.
326 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
328 * srfi-19.scm (add-duration): Fix bug: Call `add-duration!' w/
329 two args. Thanks to Alex Shinn.
331 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
333 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
335 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
337 * srfi-13.h (scm_string_map, scm_string_map_x,
338 scm_string_for_each): Reverse order of first two args.
339 (scm_string_for_each_index): New proc.
341 * srfi-13.c (scm_string_for_each): Reverse order of first 2 args.
342 (scm_string_for_each_index): New func.
344 * srfi-13.scm (string-for-each-index): New exported proc.
346 Thanks to Alex Shinn.
348 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
350 * srfi-13.c (string-map): Swapped order of string and proc args to
351 conform with the srfi. (Thanks to Alex Shinn.)
353 2001-08-05 Gary Houston <ghouston@arglist.com>
355 * srfi-1.scm (check-arg-type, non-negative-integer?): a couple of new
356 internal definitions.
357 (list-tabulate, iota): check for bad arguments that otherwise
359 (filter): check for proper list, to avoid infinite recursion on
362 2001-08-04 Gary Houston <ghouston@arglist.com>
364 * srfi-1.scm (filter): replaced with a tail-recursive version.
365 (remove): implement using filter, to make it tail-recursive.
367 2001-07-31 Gary Houston <ghouston@arglist.com>
369 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
370 accounting for the (char-set-union cs2...) in the spec. i.e.,
371 (char-set-diff+intersection a) -> copy-of-a, empty-set
372 and the following are equivalent:
373 (char-set-diff+intersection a (char-set #\a) (char-set #\b))
374 (char-set-diff+intersection a (char-set #\a #\b))
376 (scm_char_set_xor_x): disabled the side-effecting code, since it
377 gives inconsistent results to scm_char_set_xor for the case
378 (char-set-xor! a a a).
380 (scm_char_set_diff_plus_intersection_x): added cs2 argument, since
381 two arguments are compulsory in final spec. also similar changes
382 as for scm_char_set_diff_plus_intersection.
383 * srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
385 2001-07-22 Gary Houston <ghouston@arglist.com>
387 * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
388 the compulsory cs1 arguments: all args are optional in final spec.
390 * srfi-14.h: declarations updated.
392 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
394 * srfi-11.scm, srfi-8.scm: Update copyright notice.
396 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
398 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
401 * srfi-19.scm: Define `current-time' before exporting it.
403 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
405 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
406 side. Bit sets were handled wrong because I couldn't tell bit
407 counts from byte counts. Also, the bit array should be 256 / 8
408 bytes long. Thank you, Gary!
410 Removed unnecessary protoype for scm_char_set_copy.
412 2001-07-16 Gary Houston <ghouston@arglist.com>
414 * srfi-14.scm: export string->char-set!, not string-char-set!.
416 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
417 scm_end_of_char_set_p): reject negative cursor values.
418 (scm_list_to_char_set, scm_list_to_char_set_x): when reporting
419 type error in list component, omit the position (was always 1).
421 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
423 (scm_char_set_map): Bug-fix: char-set-map was modifying the
424 argument instead of the return value.
426 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
428 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
429 use this value for initializing and comparing charsets.
430 (scm_char_set_hash): Use ``better'' hash algorithm which produces
433 2001-07-15 Gary Houston <ghouston@arglist.com>
435 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
436 opt arg to give default bound, as in final spec. don't allow
438 (scm_char_set_hash): bug fix: was overrunning the buffer and
439 calculating based on garbage.
440 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
441 reporting: wasn't incremented due to macro coding.
442 (scm_char_set): report argument number in error reporting: was
443 hard coded to 1. remove a couple of local variables.
445 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
447 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
450 2001-07-11 Gary Houston <ghouston@arglist.com>
452 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
453 return #t instead of giving wrong-number-of-arguments . take a
454 single "rest" argument. use memcmp instead of a loop to compare
456 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
457 take a single "rest" argument.
458 srfi-14.h: update the declarations.
460 2001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
464 2001-07-06 Gary Houston <ghouston@arglist.com>
466 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
467 delete!, assoc): roll back the previous change. instead place
468 dummy definitions in a deprecated block at the beginning as in
471 2001-07-06 Rob Browning <rlb@defaultvalue.org>
473 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
475 2001-07-03 Gary Houston <ghouston@arglist.com>
477 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
478 delete!, assoc): don't export until the new bindings have been
479 created. otherwise "export" thinks they are being re-exported and
480 a deprecation warning is produced.
481 (map-in-order): defined and exported, to support lists of unequal
484 2001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
486 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
487 invalid arguments. Same fix for several other procedures (do not
488 use zero?, use <= 0).
490 2001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
492 * srfi-1.scm: Replaced calls to `map' in several procedures to
494 (map, for-each): New procedures, extended from R5RS.
496 2001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
498 * srfi-4.c: Minor cleanups.
500 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
501 (scm_char_set_unfold_x, scm_char_set_for_each)
502 (scm_char_set_map, scm_char_set_filter)
503 (scm_char_set_filter_x, scm_char_set_count)
504 (scm_char_set_every, scm_char_set_any): Replace calls to
505 scm_apply() with the corresponding scm_call_N() functions.
507 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
508 (scm_char_set_unfold, scm_char_set_unfold_x)
509 (scm_char_set_map, scm_char_set_diff_plus_intersection)
510 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
511 SCM_LISTN with calls to scm_list_N().
513 * srfi-13.c (scm_string_tabulate, scm_string_map)
514 (scm_string_map_x, scm_string_unfold)
515 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
516 with calls to scm_list_N().
518 * srfi-13.c (scm_string_any, scm_string_every),
519 (scm_string_tabulate, scm_string_trim),
520 (scm_string_trim_right, scm_string_trim_both),
521 (scm_string_compare, scm_string_compare_ci),
522 (scm_string_indexS, scm_string_index_right),
523 (scm_string_skip, scm_string_skip_right, scm_string_count),
524 (scm_string_map, scm_string_map_x, scm_string_fold),
525 (scm_string_fold_right, scm_string_unfold),
526 (scm_string_unfold_right, scm_string_for_each),
527 (scm_string_filter, scm_string_delete): Replace calls to
528 scm_apply() with the corresponding scm_call_N() functions.
530 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
532 * Makefile.am: Added SRFI-4 files in various places.
534 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
536 2001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
538 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
539 scm_string_take_right, scm_string_drop_right, scm_string_trim,
540 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
541 Use scm_mem2string instead of scm_makfromstr.
543 (scm_reverse_list_to_string, string_titlecase_x): Prefer
544 !SCM_<pred> over SCM_N<pred>.
546 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
548 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
551 2001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
553 The SRFI-19 implementation was completely broken. Already the
554 reference implementation did not handle DST and time zones
555 properly and relied on non-R5RS-isms like passing reals to
556 `quotient'. For Guile, some additional fixes were needed because
557 of the incomplete numeric tower implementation. See also
560 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
561 (add-duration): Renamed from priv:add-duration.
562 (priv:time-normalize!): Handle fractional nanoseconds; remove
563 duplicate definition.
564 (priv:current-time-tai): Fixed typo.
565 (time=?, time<=?): Fixed typos.
566 (time-tai->time-utc, time-utc->time-tai,
567 time-utc->time-monotonic): Use make-time-unnormalized instead of
568 make-time when uninitialized time fields are used.
569 (set-date-nanosecond!, set-date-second!, set-date-minute!,
570 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
571 set-date-zone-offset!): Define.
572 (priv:local-tz-offset): Take an extra argument in order to handle
574 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
575 changed signature of priv:local-tz-offset. Don't pass non-integer
576 arguments to quotient (non-R5RS, not supported by Guile).
577 (date->time-utc): Ensure that seconds in a date structure are
578 always exact integers. Handle DST properly.
579 (current-date, julian-day->date, modified-julian-day->date):
580 Handle the changed signature of priv:local-tz-offset.
581 (julian-day->time-utc): Reverted earlier inexact->exact hack;
582 make-time now handles inexact arguments.
583 (priv:locale-print-time-zone): At least print the numerical time
585 (priv:integer-reader): Fixed named let iteration.
586 (priv:read-directives): Use set-date-month! instead of
587 priv:set-date-month! etc.
588 (string->date): Handle DST properly.
590 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
592 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
594 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
596 * srfi-14.c (charset_print): Mark unused parameters with
599 2001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
601 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
602 (delete-duplicates): Now the first occurrence of an element is
603 retained, as required.
604 (member, assoc): Fixed wrong order of equality predicate
607 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
611 * srfi-1.scm: New file.
613 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
615 Added exception notice to all files.
617 2001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
619 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
622 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
624 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
626 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
628 2001-05-28 Michael Livshin <mlivshin@bigfoot.com>
630 * srfi-19.scm: removed a stray open parenthesis. (thanks to
631 Matthias Köppe for the report).
633 2001-05-23 Rob Browning <rlb@cs.utexas.edu>
635 * srfi-19.scm (:optional): renamed to optional to avoid reader
636 keywords conflict. Time passes... Removed :optional altogether
637 and just handle optional args directly. Thanks to Matthias Koeppe
638 for the report of this and the two bits below.
639 (priv:decode-julian-day-number): add inexact->exact for truncate
641 (time-utc->date): add inexact->exact and floor so quotient will
644 2001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
646 * README: Update, document available SRFIs.
648 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
650 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
651 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
652 srfi-2.scm: Use `cond-expand-provide' for providing features to
655 2001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
657 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
660 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
662 Avoid using module operations from C.
664 * srfi-13.c (scm_init_srfi_13_14): Removed.
665 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
666 initializations needed by C clients of srfi-14.
667 (scm_init_srfi_13, scm_init_srfi_14): Call it.
668 * srfi-13.scm: Call "scm_init_srfi_13" instead of
669 "scm_init_srfi_13_14".
670 * srfi-14.scm: Call "scm_init_srfi_14" instead of
671 "scm_init_srfi_13_14".
673 2001-05-16 Rob Browning <rlb@cs.utexas.edu>
675 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
677 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
679 * Makefile.am (srfi_DATA): Added srfi-16.scm.
681 * srfi-16.scm: New file.
683 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
685 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
688 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
690 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
692 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
694 * Makefile.am (srfi_DATA): added srfi-19.scm.
696 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
699 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
701 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
703 * srfi-10.scm: Typo fix.
705 2001-05-02 Rob Browning <rlb@cs.utexas.edu>
707 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
709 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
711 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
713 * srfi-10.scm: New file.
715 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
717 Added `Commentary:' tag.
719 * srfi-9.scm: Added `Commentary:' tag.
721 2001-04-27 Rob Browning <rlb@cs.utexas.edu>
724 (scm_reverse_string_concatenate): renamed to
725 scm_string_concatentate_reverse.
726 (scm_reverse_string_concatenate_shared): renamed to
727 scm_string_concatenate_reverse_shared.
729 2001-04-27 Gary Houston <ghouston@arglist.com>
731 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
732 add "srfi/" to lines including .x files so they can be found
733 when build_dir != src_dir.
735 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
737 * Makefile.am (srfi_DATA): Added srfi-9.scm.
739 * srfi-9.scm: New file. Exports `define-record-type'.
741 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
743 * Makefile.am (srfi_DATA): added srfi-6.scm.
744 (srfi_DATA): added srfi-11.scm.
745 (srfi_DATA): added srfi-8.scm.
746 (srfi_DATA): added srfi-2.scm.
748 * srfi-11.scm: new file - exports let-values and let*-values.
750 * srfi-6.scm: new file - guile already has srfi-6 procedures
751 loaded by default, so this is a dummy file right now.
753 * srfi-8.scm: new file - exports receive.
755 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
757 2001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
759 Changed two procedure names to match final SRFI document. Thanks
760 to Rob Browning for spotting this.
762 * srfi-13.scm (string-concatenate-reverse),
763 (string-concatenate-reverse/shared): Rename from
764 reverse-string-concatenate[/shared].
766 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
767 scm_reverse_string_concatenate_shared.
768 (scm_string_concatenate_reverse): Renamed from
769 scm_reverse_string_concatenate.
771 2001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
773 * configure.in, autogen.sh: Removed.
775 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
776 when using memmove().
778 * srfi-14.h: Added prototypes for all exported procedures..
780 * srfi-13.c: Include srfi-13.h
782 * srfi-13.h: New file containing the prototypes.
784 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
785 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
787 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
789 2001-04-24 Neil Jerram <neil@ossau.uklinux.net>
791 * Makefile.am: Fixed "srf-14.x" typo.
793 2001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
795 * guile-srfi.texi: Removed, because merged with the GRM.
797 * guile-srfi.texi: The docs are now up to date with the
798 implementation and have new introductory material.
800 2001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
802 Integrated the guile-srfi package into the Guile distribution.
804 * srfi-13.c: All procedures so specified in the SRFI now accept
805 character set arguments.
807 * Makefile.am: Snarfed some variables from the guile-readline
810 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
812 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
813 configure.in, Makefile.am: Added FSF copyright and Guile license
816 * srfi-13.c, srfi-14.c: Include srfi-14.h.
817 (scm_init_srfi_13_14): Initialize the complete module, if not
820 * srfi-14.h: New file.
822 * srfi-13.scm, srfi-14.scm: Load new combined library.
824 * Makefile.am: Build only one library,
825 `libguile-srfi-srfi-13-14.la'
827 2001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
829 * guile-srfi.texi: Integrated the SRFI-14 documentation.
831 * srfi-14.c, srfi-14.scm: Made the procedures and variables
832 compliant to the final SRFI document.
834 * Renamed the package to guile-srfi.
836 2001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
838 * NEWS: New section for 0.0.3.
840 * configure.in, README, guile-srfi-13.texi: Bumped version number
843 * Released version 0.0.2.
845 * Makefile.am: Added rules for builing the SRFI-14 library.
847 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
848 (character set library).
850 2001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
852 * README: Updated procedure and incompatibility list.
854 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
855 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
856 (scm_string_downcaseS, string_titlecase_x),
857 (scm_string_titlecase_x, scm_string_titlecase),
858 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
861 * srfi-13.scm: Export new case mapping procedures.
863 * guile-srfi-13.texi (What cannot be done): Removed case mapping
864 procedures from incompatibility list.
865 (Case Mapping): New section for case mapping procedures.
867 2001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
869 * NEWS: New section for 0.0.2
871 * configure.in, README, guile-srfi-13.texi: Bumbed version number
874 * Released version 0.0.1.
876 * README: Made procedure list up-to-date.
878 * guile-srfi-13.texi: Fixed typos, completed reference and added
881 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
883 2001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
885 * Started guile-srfi-13 package. Files are copied from the
886 guile-gdbm and slightly modified.