1 2004-09-03 Stefan Jahn <stefan@lkcc.org>
3 * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
4 lst1 is a #define on Win32 systems.
6 2004-08-26 Kevin Ryde <user42@zip.com.au>
8 * srfi-31.scm (rec): Add missing `error' to else clause.
10 2004-08-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
12 * Makefile.am: Added appropriate @LIBGUILE_*_MAJOR@ substitutions
14 * srfi-1.scm, srfi-4.scm: Use the new library names with
17 2004-08-25 Marius Vollmer <mvo@zagadka.de>
19 SRFI-13 and SRFI-14 have been moved into the core.
21 * srfi-13.scm, srfi-14.scm: Simply re-export the relevant
24 * srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
25 content except for the init functions.
27 2004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
29 * srfi-13.h, srfi-13.c: (scm_substring_shared): Renamed to
30 scm_substring_sharedS.
32 * srfi-14.c, srfi-13.c: Adapted to new internal string and symbol
35 * srfi-13.scm (substring/shared): Export as replacement since we
36 now have a version in the core.
38 2004-08-15 Marius Vollmer <mvo@zagadka.de>
40 * srfi-39.scm: New, from Jose A Ortega Ruiz. Thanks!
42 2004-08-14 Kevin Ryde <user42@zip.com.au>
44 * srfi-13.c (scm_string_any, scm_string_every): Add support for char
45 and charset as predicates, per SRFI-13 spec.
47 2004-08-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
49 * srfi-13.c (MY_VALIDATE_SUBSTRING_SPEC_COPY,
50 MY_VALIDATE_STRING_COPY): Modernized clones of the deprecated
51 validation macros. Replaced every use.
53 2004-08-05 Kevin Ryde <user42@zip.com.au>
55 * srfi-13.c (scm_string_any, scm_string_every): Enhance docstrings as
56 per doc/ref/srfi-modules.texi.
58 2004-08-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
60 * srfi-4.c: Replaced scm_num2* and scm_*2num with scm_to_* and
61 scm_from_*, respectively.
62 (print_int64, print_uint64): Rewritten by just calling scm_iprin1
65 2004-08-02 Kevin Ryde <user42@zip.com.au>
67 * srfi-13.c (scm_string_every): Correction to initial "res" value,
68 return should be #t for an empty string. Reported by Andreas Vögele.
70 2004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
72 * srfi-13.c, srfi-14.c, srfi-4.c: Changed all uses of
73 SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY, SCM_VALIDATE_BIGINT,
74 SCM_VALIDATE_INUM_MIN, SCM_VALIDATE_INUM_MIN_COPY,
75 SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
76 SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
77 SCM_VALIDATE_INUM_RANGE_COPY to scm_to_size_t or similar.
79 2004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
81 * srfi-1.c, srfi-13.c, srfi-14.c, srfi-4.c: Replaced all uses of
82 deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL, SCM_NEGATE_BOOL, and
83 SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and
84 scm_is_bool, respectively.
86 2004-07-05 Kevin Ryde <user42@zip.com.au>
88 * srfi-4.c (uvec_sizes): Add "const".
90 * srfi-31.scm: Correction to heading comment.
92 2004-06-20 Rob Browning <rlb@defaultvalue.org>
94 * srfi-4.c: fix #ifdef checks for 64-bit types; should be #if.
95 Add separate symmetric test for SCM_HAVE_T_UINT64 in one case.
96 (uvec_print): rewrite using a union to make more
97 compact, and use static print_uint64 and print_int64 to print
99 (print_int64): new static function (temporary fix).
100 (print_uint64): new static function (temporary fix).
102 * Makefile.am (srfi_DATA): add srfi-31.scm.
104 * srfi-31.scm: new file.
106 2004-04-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
108 * srfi-17.scm (setter, car, cdr etc.): When within one define
109 expression a new variable in the local module is defined in terms
110 of an equally named variable from some other module, use @ to
111 refer to the variable in the other module. This is necessary due
112 to section 5.2.1 of R5RS: In a define expression first the new
113 binding is created and then the expression is evaluated.
115 2004-04-24 Kevin Ryde <user42@zip.com.au>
117 * srfi-11.scm (let-values): Use make-symbol rather than gensym, for
118 guaranteed uniqueness of temp variable symbols.
120 2004-04-15 Kevin Ryde <user42@zip.com.au>
122 * srfi-13.c (scm_string_trim, scm_string_trim_right,
123 scm_string_trim_both): Cast to unsigned char for isspace.
125 2004-04-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
127 * srfi-13.c (s_scm_string_map): convert character to unsigned char
128 before converting to unsigned int. This prevents hi-bit ascii as
129 being converted large integers.
130 (string_upcase_x): change caller for scm_{up,down}case to
133 2004-03-23 Kevin Ryde <user42@zip.com.au>
135 * srfi-1.scm (circular-list): Rewrite using set-cdr!, no need to copy
138 2004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
140 * Makefile.am (TAGS_FILES): Use this variable instead of
141 ETAGS_ARGS so that TAGS can be built using separate build
144 2004-01-24 Marius Vollmer <mvo@zagadka.de>
146 * Makefile.am (srfi_DATA): Added srfi-26.scm.
148 2004-01-21 Marius Vollmer <m.vollmer@ping.de>
150 * srfi-26.scm: New, from Daniel Skarda. Thanks!
152 2003-12-03 Kevin Ryde <user42@zip.com.au>
154 * srfi-1.c, srfi-1.h, srfi-1.scm (count): Rewrite in C, avoiding
157 * srfi-1.scm (map!): Define as an alias for map, previous definition
158 was not tail-recursive.
160 2003-08-23 Kevin Ryde <user42@zip.com.au>
162 * srfi-1.c, srfi-1.h, srfi-1.scm (list-copy): New function, derived
163 from core list-copy but allowing improper lists, per SRFI-1 spec.
165 * srfi-19.scm (date-week-number): Correction, day of week starting
166 week applied was off by one.
168 2003-07-29 Kevin Ryde <user42@zip.com.au>
170 * srfi-1.c, srfi-1.scm (concatenate, concatenate!): Use scm_append and
173 * srfi-1.c, srfi-1.h, srfi-1.scm (length+): Rewrite using scm_ilength.
175 * srfi-34.scm: Add cond-expand-provide srfi-34.
177 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
179 * srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition):
180 Re-implement in C to avoid stack overflows for long input lists.
182 2003-07-08 Kevin Ryde <user42@zip.com.au>
184 * srfi-1.c, srfi-1.h (scm_srfi1_delete, scm_srfi1_delete_x,
185 scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
186 functions. scm_srfi1_delete_x is derived from scm_delete_x.
187 * srfi-1.scm (delete, delete!, delete-duplicates, delete-duplicates!):
190 2003-06-07 Kevin Ryde <user42@zip.com.au>
192 * srfi-6.scm: #:re-export open-input-string, open-output-string and
193 get-output-string, for the benefit of applications wanting to use
194 #:select on the module.
196 2003-05-29 Stefan Jahn <stefan@lkcc.org>
198 * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
199 libguile_srfi_srfi_4_la_LDFLAGS,
200 libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
201 option for the mingw32 build.
203 2003-05-13 Kevin Ryde <user42@zip.com.au>
205 * srfi-1.scm (delete): Fix predicate arg order to match srfi-1 spec.
207 2003-05-10 Kevin Ryde <user42@zip.com.au>
209 * srfi-1.scm (take): Make this an alias for list-head.
210 (drop): Make this an alias for list-tail.
212 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
214 * srfi-34.scm: New file.
216 2003-04-23 Marius Vollmer <mvo@zagadka.de>
218 * srfi-1.scm: Removed stray "o" from exports list.
220 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
222 * srfi-1.c (srfi1_ilength): Prefer !SCM_CONSP over SCM_NCONSP.
223 Now, guile itself does not include any calls to SCM_NCONSP any
226 2003-04-05 Marius Vollmer <mvo@zagadka.de>
228 * Changed license terms to the plain LGPL thru-out.
230 2003-03-25 Rob Browning <rlb@defaultvalue.org>
232 * srfi-4.c: replace typedefs for basic types with typedefs using
233 new standard int types (i.e. scm_t_uint8, etc.) -- should probably
234 remove typedefs altogether later.
236 2003-03-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
238 * srfi-1.scm: Re-export all srfi-1 bindings implemented by the
239 core. (Thanks to Kevin Ryde.)
241 2003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
243 * srfi-13.scm: Mark replacements.
245 * srfi-17.scm: Mark replacements.
247 2003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
249 * srfi-1.scm (iota, map, for-each, map-in-order, list-index,
250 member, delete, delete!, assoc): Marked as replacements.
251 (filter, filter!): Removed. (Now implemented in the core.)
253 2003-03-06 Mikael Djurfeldt <djurfeldt@nada.kth.se>
255 * srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
256 with the versions in this module using
257 scm_c_extend_primitive_generic.
259 2003-02-03 Mikael Djurfeldt <djurfeldt@nada.kth.se>
261 * srfi-1.c (srfi1_for_each): Corrected argument checking for the
262 case of two argument lists. (Thanks to Kevin Ryde.)
264 2002-12-08 Rob Browning <rlb@defaultvalue.org>
266 * Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.
268 2002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
270 * Makefile.am (srfiinclude_HEADERS): Added srfi-1.h.
272 2002-12-01 Mikael Djurfeldt <mdj@linnaeus>
274 * srfi-1.scm: Load srfi-1 extension.
275 (map, map-in-order, for-each, member, assoc): Replaced by
276 primitives in srfi-1.c.
277 (map1): Defined as `map'.
279 * Makefile.am: Added rules for srfi-1.c.
281 * srfi-1.c, srfi-1.h: New files.
283 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
285 * srfi-13.c (scm_string_tokenize): Instead of using "isgraphic" as
286 the subtitute for char-set:graphic when then token-set hsa been
287 defaulted, grab the real char-set:graphic from (srfi srfi-14).
289 * srfi-14.h (SCM_CHARSET_GET): Cast IDX to unsigned char so that
290 it works for 8-bit characters. Thanks to Matthias Koeppe! No,
293 2002-04-24 Marius Vollmer <mvo@zagadka.ping.de>
295 * srfi-13.c (s_scm_string_tokenize): Only take character sets as
296 the second arg. Collect characters belonging to this set into
297 tokens (as specified by the SRFI), instead of splitting at these
298 characters. Default to an equivalent of char-set:graphic instead
299 of everything-but-whitespace. Thanks to Matthias Koeppe!
301 2002-04-10 Rob Browning <rlb@defaultvalue.org>
303 * .cvsignore: add *.c.clean.c.
305 2002-03-27 Thien-Thi Nguyen <ttn@giblet.glug.org>
307 * srfi-1.scm, srfi-13.scm, srfi-17.scm, srfi-4.scm, srfi-9.scm,
308 srfi-10.scm, srfi-14.scm, srfi-19.scm, srfi-6.scm, srfi-11.scm,
309 srfi-16.scm, srfi-2.scm, srfi-8.scm: Update copyright.
310 Point to manual in commentary; nfc.
312 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
314 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
316 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
318 * srfi-13.c, srfi-14.c, srfi-4.c:
319 Retire inclusion guard macro SCM_MAGIC_SNARFER.
321 * Makefile.am (snarfcppopts): New var.
322 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
324 2002-03-11 Marius Vollmer <mvo@zagadka.ping.de>
326 * srfi-13.c (string_titlecase_x): Treat characters as unsigned so
327 that 8-bit chars work. Thanks to David Pirotte!
329 2002-02-24 Rob Browning <rlb@defaultvalue.org>
331 * Makefile.am (libguile_srfi_srfi_4_la_LDFLAGS): use
332 @LIBGUILE_SRFI_SRFI_4_INTERFACE@.
333 (libguile_srfi_srfi_13_14_la_LDFLAGS): use
334 @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@.
336 2002-02-23 Neil Jerram <neil@ossau.uklinux.net>
338 * srfi-19.scm (priv:month-assoc): Correct numbers so that they
339 match the expectations of priv:year-day.
341 2002-02-22 Neil Jerram <neil@ossau.uklinux.net>
343 * srfi-19.scm (priv:year-day): Index into priv:month-assoc using
344 month number, not day number. (Thanks to Sébastien de Menten de
345 Horne for reporting the problem.)
347 2002-02-11 Marius Vollmer <marius.vollmer@uni-dortmund.de>
349 * srfi-14.c, srfi-4.c: Use scm_gc_malloc/scm_malloc and
350 scm_gc_free/free instead of scm_must_malloc and scm_must_free, as
353 2002-01-21 Thien-Thi Nguyen <ttn@giblet.glug.org>
355 * srfi-1.scm (count1, take-while): Rewrite to be tail-recursive.
356 Thanks to Panagiotis Vossos.
358 2002-01-20 Thien-Thi Nguyen <ttn@giblet.glug.org>
360 * srfi-1.scm (map1): Rewrite to be tail-recursive.
361 Thanks to Panagiotis Vossos for the bug report.
363 2001-12-16 Marius Vollmer <mvo@zagadka.ping.de>
365 * srfi-11.scm (let-values): Use `gensym' instead of `gentemp'.
367 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
369 * Makefile.am (ETAGS_ARGS): Added.
371 2001-11-12 Marius Vollmer <mvo@zagadka.ping.de>
373 * srfi-4.c: Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
374 it with `#ifdef' instead of `#if'.
376 2001-11-07 Neil Jerram <neil@ossau.uklinux.net>
378 * srfi-13.c (scm_string_unfold, scm_string_unfold_right),
379 srfi-14.c (scm_char_set_unfold, scm_char_set_unfold_x): Remove
380 superfluous whitespace at end of docstring lines.
382 2001-11-06 Thien-Thi Nguyen <ttn@glug.org>
384 * srfi-19.scm (time-monotonic->time-monotonic): Spurious;
387 2001-11-04 Stefan Jahn <stefan@lkcc.org>
389 * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed
390 __FOO__ macros into FOO.
392 2001-11-03 Marius Vollmer <mvo@zagadka.ping.de>
394 * Makefile.am (libguile_srfi_srfi_4_la_LIBADD,
395 libguile_srfi_srfi_13_14_la_LIBADD): Refer to build directory, not
396 the source directory, for libguile.la. Thanks to Ken Raeburn.
398 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
400 Support for native Win32. Thanks to Stefan Jahn!
402 * Makefile.am: Put `-no-undefined' into LDFLAGS to support linkers
403 which do not allow unresolved symbols inside shared libraries.
405 * srfi-13.h, srfi-14.h: Defined SCM_SRFI1314_API. Prefixed each
406 exported symbol with SCM_SRFI1314_API.
408 * srfi-4.h: Defined SCM_SRFI4_API. Prefixed each exported
409 symbol with SCM_SRFI4_API.
411 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
413 * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
414 srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
415 directives `export', `export-syntax', `re-export' and
416 `re-export-syntax' into the `define-module' form. This is the
417 recommended way of exporting bindings.
419 2001-09-22 Mikael Djurfeldt <mdj@linnaeus>
421 * srfi-19.scm (priv:split-real): Inserted missing call to
424 2001-09-21 Rob Browning <rlb@defaultvalue.org>
426 * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<".
428 * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
429 (scm_char_set_hash): val needs to be long, not just unsigned.
430 (scm_char_set): need 1L, not just 1 in "<<".
431 (scm_list_to_char_set): need 1L, not just 1 in "<<".
432 (scm_list_to_char_set_x): need 1L, not just 1 in "<<".
433 (scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
434 (scm_string_to_char_set): string length var needed to be
436 (scm_string_to_char_set): need 1L, not just 1 in "<<".
437 (scm_string_to_char_set_x): string length var needed to be
439 (scm_string_to_char_set_x): need 1L, not just 1 in "<<".
440 (scm_char_set_filter): need 1L, not just 1 in "<<".
441 (scm_char_set_filter_x): need 1L, not just 1 in "<<".
442 (scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
443 (scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
444 (scm_char_set_adjoin): need 1L, not just 1 in "<<".
445 (scm_char_set_delete): need 1L, not just 1 in "<<".
446 (scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
447 (scm_char_set_delete_x): need 1L, not just 1 in "<<".
449 2001-09-12 Gary Houston <ghouston@arglist.com>
451 * srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
453 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
455 * srfi-1.scm, srfi-13.scm: Remove the defines that were needed to
456 trick export from the beginning of the files.
458 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
460 * srfi-19.scm (add-duration): Fix bug: Call `add-duration!' w/
461 two args. Thanks to Alex Shinn.
463 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
465 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
467 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
469 * srfi-13.h (scm_string_map, scm_string_map_x,
470 scm_string_for_each): Reverse order of first two args.
471 (scm_string_for_each_index): New proc.
473 * srfi-13.c (scm_string_for_each): Reverse order of first 2 args.
474 (scm_string_for_each_index): New func.
476 * srfi-13.scm (string-for-each-index): New exported proc.
478 Thanks to Alex Shinn.
480 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
482 * srfi-13.c (string-map): Swapped order of string and proc args to
483 conform with the srfi. (Thanks to Alex Shinn.)
485 2001-08-05 Gary Houston <ghouston@arglist.com>
487 * srfi-1.scm (check-arg-type, non-negative-integer?): a couple of new
488 internal definitions.
489 (list-tabulate, iota): check for bad arguments that otherwise
491 (filter): check for proper list, to avoid infinite recursion on
494 2001-08-04 Gary Houston <ghouston@arglist.com>
496 * srfi-1.scm (filter): replaced with a tail-recursive version.
497 (remove): implement using filter, to make it tail-recursive.
499 2001-07-31 Gary Houston <ghouston@arglist.com>
501 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
502 accounting for the (char-set-union cs2...) in the spec. i.e.,
503 (char-set-diff+intersection a) -> copy-of-a, empty-set
504 and the following are equivalent:
505 (char-set-diff+intersection a (char-set #\a) (char-set #\b))
506 (char-set-diff+intersection a (char-set #\a #\b))
508 (scm_char_set_xor_x): disabled the side-effecting code, since it
509 gives inconsistent results to scm_char_set_xor for the case
510 (char-set-xor! a a a).
512 (scm_char_set_diff_plus_intersection_x): added cs2 argument, since
513 two arguments are compulsory in final spec. also similar changes
514 as for scm_char_set_diff_plus_intersection.
515 * srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
517 2001-07-22 Gary Houston <ghouston@arglist.com>
519 * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
520 the compulsory cs1 arguments: all args are optional in final spec.
522 * srfi-14.h: declarations updated.
524 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
526 * srfi-11.scm, srfi-8.scm: Update copyright notice.
528 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
530 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
533 * srfi-19.scm: Define `current-time' before exporting it.
535 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
537 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
538 side. Bit sets were handled wrong because I couldn't tell bit
539 counts from byte counts. Also, the bit array should be 256 / 8
540 bytes long. Thank you, Gary!
542 Removed unnecessary protoype for scm_char_set_copy.
544 2001-07-16 Gary Houston <ghouston@arglist.com>
546 * srfi-14.scm: export string->char-set!, not string-char-set!.
548 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
549 scm_end_of_char_set_p): reject negative cursor values.
550 (scm_list_to_char_set, scm_list_to_char_set_x): when reporting
551 type error in list component, omit the position (was always 1).
553 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
555 (scm_char_set_map): Bug-fix: char-set-map was modifying the
556 argument instead of the return value.
558 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
560 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
561 use this value for initializing and comparing charsets.
562 (scm_char_set_hash): Use ``better'' hash algorithm which produces
565 2001-07-15 Gary Houston <ghouston@arglist.com>
567 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
568 opt arg to give default bound, as in final spec. don't allow
570 (scm_char_set_hash): bug fix: was overrunning the buffer and
571 calculating based on garbage.
572 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
573 reporting: wasn't incremented due to macro coding.
574 (scm_char_set): report argument number in error reporting: was
575 hard coded to 1. remove a couple of local variables.
577 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
579 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
582 2001-07-11 Gary Houston <ghouston@arglist.com>
584 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
585 return #t instead of giving wrong-number-of-arguments . take a
586 single "rest" argument. use memcmp instead of a loop to compare
588 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
589 take a single "rest" argument.
590 srfi-14.h: update the declarations.
592 2001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
596 2001-07-06 Gary Houston <ghouston@arglist.com>
598 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
599 delete!, assoc): roll back the previous change. instead place
600 dummy definitions in a deprecated block at the beginning as in
603 2001-07-06 Rob Browning <rlb@defaultvalue.org>
605 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
607 2001-07-03 Gary Houston <ghouston@arglist.com>
609 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
610 delete!, assoc): don't export until the new bindings have been
611 created. otherwise "export" thinks they are being re-exported and
612 a deprecation warning is produced.
613 (map-in-order): defined and exported, to support lists of unequal
616 2001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
618 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
619 invalid arguments. Same fix for several other procedures (do not
620 use zero?, use <= 0).
622 2001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
624 * srfi-1.scm: Replaced calls to `map' in several procedures to
626 (map, for-each): New procedures, extended from R5RS.
628 2001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
630 * srfi-4.c: Minor cleanups.
632 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
633 (scm_char_set_unfold_x, scm_char_set_for_each)
634 (scm_char_set_map, scm_char_set_filter)
635 (scm_char_set_filter_x, scm_char_set_count)
636 (scm_char_set_every, scm_char_set_any): Replace calls to
637 scm_apply() with the corresponding scm_call_N() functions.
639 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
640 (scm_char_set_unfold, scm_char_set_unfold_x)
641 (scm_char_set_map, scm_char_set_diff_plus_intersection)
642 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
643 SCM_LISTN with calls to scm_list_N().
645 * srfi-13.c (scm_string_tabulate, scm_string_map)
646 (scm_string_map_x, scm_string_unfold)
647 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
648 with calls to scm_list_N().
650 * srfi-13.c (scm_string_any, scm_string_every),
651 (scm_string_tabulate, scm_string_trim),
652 (scm_string_trim_right, scm_string_trim_both),
653 (scm_string_compare, scm_string_compare_ci),
654 (scm_string_indexS, scm_string_index_right),
655 (scm_string_skip, scm_string_skip_right, scm_string_count),
656 (scm_string_map, scm_string_map_x, scm_string_fold),
657 (scm_string_fold_right, scm_string_unfold),
658 (scm_string_unfold_right, scm_string_for_each),
659 (scm_string_filter, scm_string_delete): Replace calls to
660 scm_apply() with the corresponding scm_call_N() functions.
662 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
664 * Makefile.am: Added SRFI-4 files in various places.
666 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
668 2001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
670 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
671 scm_string_take_right, scm_string_drop_right, scm_string_trim,
672 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
673 Use scm_mem2string instead of scm_makfromstr.
675 (scm_reverse_list_to_string, string_titlecase_x): Prefer
676 !SCM_<pred> over SCM_N<pred>.
678 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
680 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
683 2001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
685 The SRFI-19 implementation was completely broken. Already the
686 reference implementation did not handle DST and time zones
687 properly and relied on non-R5RS-isms like passing reals to
688 `quotient'. For Guile, some additional fixes were needed because
689 of the incomplete numeric tower implementation. See also
692 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
693 (add-duration): Renamed from priv:add-duration.
694 (priv:time-normalize!): Handle fractional nanoseconds; remove
695 duplicate definition.
696 (priv:current-time-tai): Fixed typo.
697 (time=?, time<=?): Fixed typos.
698 (time-tai->time-utc, time-utc->time-tai,
699 time-utc->time-monotonic): Use make-time-unnormalized instead of
700 make-time when uninitialized time fields are used.
701 (set-date-nanosecond!, set-date-second!, set-date-minute!,
702 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
703 set-date-zone-offset!): Define.
704 (priv:local-tz-offset): Take an extra argument in order to handle
706 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
707 changed signature of priv:local-tz-offset. Don't pass non-integer
708 arguments to quotient (non-R5RS, not supported by Guile).
709 (date->time-utc): Ensure that seconds in a date structure are
710 always exact integers. Handle DST properly.
711 (current-date, julian-day->date, modified-julian-day->date):
712 Handle the changed signature of priv:local-tz-offset.
713 (julian-day->time-utc): Reverted earlier inexact->exact hack;
714 make-time now handles inexact arguments.
715 (priv:locale-print-time-zone): At least print the numerical time
717 (priv:integer-reader): Fixed named let iteration.
718 (priv:read-directives): Use set-date-month! instead of
719 priv:set-date-month! etc.
720 (string->date): Handle DST properly.
722 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
724 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
726 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
728 * srfi-14.c (charset_print): Mark unused parameters with
731 2001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
733 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
734 (delete-duplicates): Now the first occurrence of an element is
735 retained, as required.
736 (member, assoc): Fixed wrong order of equality predicate
739 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
743 * srfi-1.scm: New file.
745 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
747 Added exception notice to all files.
749 2001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
751 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
754 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
756 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
758 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
760 2001-05-28 Michael Livshin <mlivshin@bigfoot.com>
762 * srfi-19.scm: removed a stray open parenthesis. (thanks to
763 Matthias Köppe for the report).
765 2001-05-23 Rob Browning <rlb@cs.utexas.edu>
767 * srfi-19.scm (:optional): renamed to optional to avoid reader
768 keywords conflict. Time passes... Removed :optional altogether
769 and just handle optional args directly. Thanks to Matthias Koeppe
770 for the report of this and the two bits below.
771 (priv:decode-julian-day-number): add inexact->exact for truncate
773 (time-utc->date): add inexact->exact and floor so quotient will
776 2001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
778 * README: Update, document available SRFIs.
780 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
782 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
783 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
784 srfi-2.scm: Use `cond-expand-provide' for providing features to
787 2001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
789 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
792 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
794 Avoid using module operations from C.
796 * srfi-13.c (scm_init_srfi_13_14): Removed.
797 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
798 initializations needed by C clients of srfi-14.
799 (scm_init_srfi_13, scm_init_srfi_14): Call it.
800 * srfi-13.scm: Call "scm_init_srfi_13" instead of
801 "scm_init_srfi_13_14".
802 * srfi-14.scm: Call "scm_init_srfi_14" instead of
803 "scm_init_srfi_13_14".
805 2001-05-16 Rob Browning <rlb@cs.utexas.edu>
807 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
809 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
811 * Makefile.am (srfi_DATA): Added srfi-16.scm.
813 * srfi-16.scm: New file.
815 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
817 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
820 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
822 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
824 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
826 * Makefile.am (srfi_DATA): added srfi-19.scm.
828 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
831 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
833 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
835 * srfi-10.scm: Typo fix.
837 2001-05-02 Rob Browning <rlb@cs.utexas.edu>
839 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
841 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
843 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
845 * srfi-10.scm: New file.
847 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
849 Added `Commentary:' tag.
851 * srfi-9.scm: Added `Commentary:' tag.
853 2001-04-27 Rob Browning <rlb@cs.utexas.edu>
856 (scm_reverse_string_concatenate): renamed to
857 scm_string_concatentate_reverse.
858 (scm_reverse_string_concatenate_shared): renamed to
859 scm_string_concatenate_reverse_shared.
861 2001-04-27 Gary Houston <ghouston@arglist.com>
863 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
864 add "srfi/" to lines including .x files so they can be found
865 when build_dir != src_dir.
867 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
869 * Makefile.am (srfi_DATA): Added srfi-9.scm.
871 * srfi-9.scm: New file. Exports `define-record-type'.
873 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
875 * Makefile.am (srfi_DATA): added srfi-6.scm.
876 (srfi_DATA): added srfi-11.scm.
877 (srfi_DATA): added srfi-8.scm.
878 (srfi_DATA): added srfi-2.scm.
880 * srfi-11.scm: new file - exports let-values and let*-values.
882 * srfi-6.scm: new file - guile already has srfi-6 procedures
883 loaded by default, so this is a dummy file right now.
885 * srfi-8.scm: new file - exports receive.
887 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
889 2001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
891 Changed two procedure names to match final SRFI document. Thanks
892 to Rob Browning for spotting this.
894 * srfi-13.scm (string-concatenate-reverse),
895 (string-concatenate-reverse/shared): Rename from
896 reverse-string-concatenate[/shared].
898 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
899 scm_reverse_string_concatenate_shared.
900 (scm_string_concatenate_reverse): Renamed from
901 scm_reverse_string_concatenate.
903 2001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
905 * configure.in, autogen.sh: Removed.
907 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
908 when using memmove().
910 * srfi-14.h: Added prototypes for all exported procedures..
912 * srfi-13.c: Include srfi-13.h
914 * srfi-13.h: New file containing the prototypes.
916 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
917 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
919 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
921 2001-04-24 Neil Jerram <neil@ossau.uklinux.net>
923 * Makefile.am: Fixed "srf-14.x" typo.
925 2001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
927 * guile-srfi.texi: Removed, because merged with the GRM.
929 * guile-srfi.texi: The docs are now up to date with the
930 implementation and have new introductory material.
932 2001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
934 Integrated the guile-srfi package into the Guile distribution.
936 * srfi-13.c: All procedures so specified in the SRFI now accept
937 character set arguments.
939 * Makefile.am: Snarfed some variables from the guile-readline
942 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
944 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
945 configure.in, Makefile.am: Added FSF copyright and Guile license
948 * srfi-13.c, srfi-14.c: Include srfi-14.h.
949 (scm_init_srfi_13_14): Initialize the complete module, if not
952 * srfi-14.h: New file.
954 * srfi-13.scm, srfi-14.scm: Load new combined library.
956 * Makefile.am: Build only one library,
957 `libguile-srfi-srfi-13-14.la'
959 2001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
961 * guile-srfi.texi: Integrated the SRFI-14 documentation.
963 * srfi-14.c, srfi-14.scm: Made the procedures and variables
964 compliant to the final SRFI document.
966 * Renamed the package to guile-srfi.
968 2001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
970 * NEWS: New section for 0.0.3.
972 * configure.in, README, guile-srfi-13.texi: Bumped version number
975 * Released version 0.0.2.
977 * Makefile.am: Added rules for builing the SRFI-14 library.
979 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
980 (character set library).
982 2001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
984 * README: Updated procedure and incompatibility list.
986 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
987 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
988 (scm_string_downcaseS, string_titlecase_x),
989 (scm_string_titlecase_x, scm_string_titlecase),
990 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
993 * srfi-13.scm: Export new case mapping procedures.
995 * guile-srfi-13.texi (What cannot be done): Removed case mapping
996 procedures from incompatibility list.
997 (Case Mapping): New section for case mapping procedures.
999 2001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1001 * NEWS: New section for 0.0.2
1003 * configure.in, README, guile-srfi-13.texi: Bumbed version number
1006 * Released version 0.0.1.
1008 * README: Made procedure list up-to-date.
1010 * guile-srfi-13.texi: Fixed typos, completed reference and added
1013 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
1015 2001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1017 * Started guile-srfi-13 package. Files are copied from the
1018 guile-gdbm and slightly modified.