*** empty log message ***
[bpt/guile.git] / srfi / ChangeLog
1 2004-12-05 Kevin Ryde <user42@zip.com.au>
2
3 * srfi-1.scm (filter-map): Change to a tail-recursive form.
4 (append-map, append-map!): Rewrite as simple "concatenate map" forms,
5 for tail recursiveness.
6
7 2004-10-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
8
9 * srfi-4.scm, srfi-4.h, srfi-4.c: Moved content into core; only
10 the skeletons remains.
11
12 2004-10-22 Marius Vollmer <marius.vollmer@uni-dortmund.de>
13
14 * srfi-4.c (print_int64, print_uint64): Removed.
15 (uvec_print): Use scm_intprint for signed elemets and
16 scm_uintprint for unsigned ones. Do not use print_int64 and
17 print_uint64 since scm_intprint and scm_Uintprint can handle 64
18 bits now.
19
20 2004-09-03 Stefan Jahn <stefan@lkcc.org>
21
22 * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
23 lst1 is a #define on Win32 systems.
24
25 2004-08-26 Kevin Ryde <user42@zip.com.au>
26
27 * srfi-31.scm (rec): Add missing `error' to else clause.
28
29 2004-08-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
30
31 * Makefile.am: Added appropriate @LIBGUILE_*_MAJOR@ substitutions
32 to the library names.
33 * srfi-1.scm, srfi-4.scm: Use the new library names with
34 load-extension.
35
36 2004-08-25 Marius Vollmer <mvo@zagadka.de>
37
38 SRFI-13 and SRFI-14 have been moved into the core.
39
40 * srfi-13.scm, srfi-14.scm: Simply re-export the relevant
41 bindings.
42
43 * srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
44 content except for the init functions.
45
46 2004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
47
48 * srfi-13.h, srfi-13.c: (scm_substring_shared): Renamed to
49 scm_substring_sharedS.
50
51 * srfi-14.c, srfi-13.c: Adapted to new internal string and symbol
52 API.
53
54 * srfi-13.scm (substring/shared): Export as replacement since we
55 now have a version in the core.
56
57 2004-08-15 Marius Vollmer <mvo@zagadka.de>
58
59 * srfi-39.scm: New, from Jose A Ortega Ruiz. Thanks!
60
61 2004-08-14 Kevin Ryde <user42@zip.com.au>
62
63 * srfi-13.c (scm_string_any, scm_string_every): Add support for char
64 and charset as predicates, per SRFI-13 spec.
65
66 2004-08-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
67
68 * srfi-13.c (MY_VALIDATE_SUBSTRING_SPEC_COPY,
69 MY_VALIDATE_STRING_COPY): Modernized clones of the deprecated
70 validation macros. Replaced every use.
71
72 2004-08-05 Kevin Ryde <user42@zip.com.au>
73
74 * srfi-13.c (scm_string_any, scm_string_every): Enhance docstrings as
75 per doc/ref/srfi-modules.texi.
76
77 2004-08-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
78
79 * srfi-4.c: Replaced scm_num2* and scm_*2num with scm_to_* and
80 scm_from_*, respectively.
81 (print_int64, print_uint64): Rewritten by just calling scm_iprin1
82 on a SCM.
83
84 2004-08-02 Kevin Ryde <user42@zip.com.au>
85
86 * srfi-13.c (scm_string_every): Correction to initial "res" value,
87 return should be #t for an empty string. Reported by Andreas Vögele.
88
89 2004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
90
91 * srfi-13.c, srfi-14.c, srfi-4.c: Changed all uses of
92 SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY, SCM_VALIDATE_BIGINT,
93 SCM_VALIDATE_INUM_MIN, SCM_VALIDATE_INUM_MIN_COPY,
94 SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
95 SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
96 SCM_VALIDATE_INUM_RANGE_COPY to scm_to_size_t or similar.
97
98 2004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
99
100 * srfi-1.c, srfi-13.c, srfi-14.c, srfi-4.c: Replaced all uses of
101 deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL, SCM_NEGATE_BOOL, and
102 SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and
103 scm_is_bool, respectively.
104
105 2004-07-05 Kevin Ryde <user42@zip.com.au>
106
107 * srfi-4.c (uvec_sizes): Add "const".
108
109 * srfi-31.scm: Correction to heading comment.
110
111 2004-06-20 Rob Browning <rlb@defaultvalue.org>
112
113 * srfi-4.c: fix #ifdef checks for 64-bit types; should be #if.
114 Add separate symmetric test for SCM_HAVE_T_UINT64 in one case.
115 (uvec_print): rewrite using a union to make more
116 compact, and use static print_uint64 and print_int64 to print
117 64-bit elements.
118 (print_int64): new static function (temporary fix).
119 (print_uint64): new static function (temporary fix).
120
121 * Makefile.am (srfi_DATA): add srfi-31.scm.
122
123 * srfi-31.scm: new file.
124
125 2004-04-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
126
127 * srfi-17.scm (setter, car, cdr etc.): When within one define
128 expression a new variable in the local module is defined in terms
129 of an equally named variable from some other module, use @ to
130 refer to the variable in the other module. This is necessary due
131 to section 5.2.1 of R5RS: In a define expression first the new
132 binding is created and then the expression is evaluated.
133
134 2004-04-24 Kevin Ryde <user42@zip.com.au>
135
136 * srfi-11.scm (let-values): Use make-symbol rather than gensym, for
137 guaranteed uniqueness of temp variable symbols.
138
139 2004-04-15 Kevin Ryde <user42@zip.com.au>
140
141 * srfi-13.c (scm_string_trim, scm_string_trim_right,
142 scm_string_trim_both): Cast to unsigned char for isspace.
143
144 2004-04-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
145
146 * srfi-13.c (s_scm_string_map): convert character to unsigned char
147 before converting to unsigned int. This prevents hi-bit ascii as
148 being converted large integers.
149 (string_upcase_x): change caller for scm_{up,down}case to
150 scm_c_{up,down}case
151
152 2004-03-23 Kevin Ryde <user42@zip.com.au>
153
154 * srfi-1.scm (circular-list): Rewrite using set-cdr!, no need to copy
155 parameter list.
156
157 2004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
158
159 * Makefile.am (TAGS_FILES): Use this variable instead of
160 ETAGS_ARGS so that TAGS can be built using separate build
161 directory.
162
163 2004-01-24 Marius Vollmer <mvo@zagadka.de>
164
165 * Makefile.am (srfi_DATA): Added srfi-26.scm.
166
167 2004-01-21 Marius Vollmer <m.vollmer@ping.de>
168
169 * srfi-26.scm: New, from Daniel Skarda. Thanks!
170
171 2003-12-03 Kevin Ryde <user42@zip.com.au>
172
173 * srfi-1.c, srfi-1.h, srfi-1.scm (count): Rewrite in C, avoiding
174 non-tail recursion.
175
176 * srfi-1.scm (map!): Define as an alias for map, previous definition
177 was not tail-recursive.
178
179 2003-08-23 Kevin Ryde <user42@zip.com.au>
180
181 * srfi-1.c, srfi-1.h, srfi-1.scm (list-copy): New function, derived
182 from core list-copy but allowing improper lists, per SRFI-1 spec.
183
184 * srfi-19.scm (date-week-number): Correction, day of week starting
185 week applied was off by one.
186
187 2003-07-29 Kevin Ryde <user42@zip.com.au>
188
189 * srfi-1.c, srfi-1.scm (concatenate, concatenate!): Use scm_append and
190 scm_append_x.
191
192 * srfi-1.c, srfi-1.h, srfi-1.scm (length+): Rewrite using scm_ilength.
193
194 * srfi-34.scm: Add cond-expand-provide srfi-34.
195
196 2003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
197
198 * srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition):
199 Re-implement in C to avoid stack overflows for long input lists.
200
201 2003-07-08 Kevin Ryde <user42@zip.com.au>
202
203 * srfi-1.c, srfi-1.h (scm_srfi1_delete, scm_srfi1_delete_x,
204 scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
205 functions. scm_srfi1_delete_x is derived from scm_delete_x.
206 * srfi-1.scm (delete, delete!, delete-duplicates, delete-duplicates!):
207 Remove.
208
209 2003-06-07 Kevin Ryde <user42@zip.com.au>
210
211 * srfi-6.scm: #:re-export open-input-string, open-output-string and
212 get-output-string, for the benefit of applications wanting to use
213 #:select on the module.
214
215 2003-05-29 Stefan Jahn <stefan@lkcc.org>
216
217 * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
218 libguile_srfi_srfi_4_la_LDFLAGS,
219 libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
220 option for the mingw32 build.
221
222 2003-05-13 Kevin Ryde <user42@zip.com.au>
223
224 * srfi-1.scm (delete): Fix predicate arg order to match srfi-1 spec.
225
226 2003-05-10 Kevin Ryde <user42@zip.com.au>
227
228 * srfi-1.scm (take): Make this an alias for list-head.
229 (drop): Make this an alias for list-tail.
230
231 2003-04-30 Neil Jerram <neil@ossau.uklinux.net>
232
233 * srfi-34.scm: New file.
234
235 2003-04-23 Marius Vollmer <mvo@zagadka.de>
236
237 * srfi-1.scm: Removed stray "o" from exports list.
238
239 2003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
240
241 * srfi-1.c (srfi1_ilength): Prefer !SCM_CONSP over SCM_NCONSP.
242 Now, guile itself does not include any calls to SCM_NCONSP any
243 more.
244
245 2003-04-05 Marius Vollmer <mvo@zagadka.de>
246
247 * Changed license terms to the plain LGPL thru-out.
248
249 2003-03-25 Rob Browning <rlb@defaultvalue.org>
250
251 * srfi-4.c: replace typedefs for basic types with typedefs using
252 new standard int types (i.e. scm_t_uint8, etc.) -- should probably
253 remove typedefs altogether later.
254
255 2003-03-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
256
257 * srfi-1.scm: Re-export all srfi-1 bindings implemented by the
258 core. (Thanks to Kevin Ryde.)
259
260 2003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
261
262 * srfi-13.scm: Mark replacements.
263
264 * srfi-17.scm: Mark replacements.
265
266 2003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
267
268 * srfi-1.scm (iota, map, for-each, map-in-order, list-index,
269 member, delete, delete!, assoc): Marked as replacements.
270 (filter, filter!): Removed. (Now implemented in the core.)
271
272 2003-03-06 Mikael Djurfeldt <djurfeldt@nada.kth.se>
273
274 * srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
275 with the versions in this module using
276 scm_c_extend_primitive_generic.
277
278 2003-02-03 Mikael Djurfeldt <djurfeldt@nada.kth.se>
279
280 * srfi-1.c (srfi1_for_each): Corrected argument checking for the
281 case of two argument lists. (Thanks to Kevin Ryde.)
282
283 2002-12-08 Rob Browning <rlb@defaultvalue.org>
284
285 * Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.
286
287 2002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
288
289 * Makefile.am (srfiinclude_HEADERS): Added srfi-1.h.
290
291 2002-12-01 Mikael Djurfeldt <mdj@linnaeus>
292
293 * srfi-1.scm: Load srfi-1 extension.
294 (map, map-in-order, for-each, member, assoc): Replaced by
295 primitives in srfi-1.c.
296 (map1): Defined as `map'.
297
298 * Makefile.am: Added rules for srfi-1.c.
299
300 * srfi-1.c, srfi-1.h: New files.
301
302 2002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
303
304 * srfi-13.c (scm_string_tokenize): Instead of using "isgraphic" as
305 the subtitute for char-set:graphic when then token-set hsa been
306 defaulted, grab the real char-set:graphic from (srfi srfi-14).
307
308 * srfi-14.h (SCM_CHARSET_GET): Cast IDX to unsigned char so that
309 it works for 8-bit characters. Thanks to Matthias Koeppe! No,
310 make that "Köppe".
311
312 2002-04-24 Marius Vollmer <mvo@zagadka.ping.de>
313
314 * srfi-13.c (s_scm_string_tokenize): Only take character sets as
315 the second arg. Collect characters belonging to this set into
316 tokens (as specified by the SRFI), instead of splitting at these
317 characters. Default to an equivalent of char-set:graphic instead
318 of everything-but-whitespace. Thanks to Matthias Koeppe!
319
320 2002-04-10 Rob Browning <rlb@defaultvalue.org>
321
322 * .cvsignore: add *.c.clean.c.
323
324 2002-03-27 Thien-Thi Nguyen <ttn@giblet.glug.org>
325
326 * srfi-1.scm, srfi-13.scm, srfi-17.scm, srfi-4.scm, srfi-9.scm,
327 srfi-10.scm, srfi-14.scm, srfi-19.scm, srfi-6.scm, srfi-11.scm,
328 srfi-16.scm, srfi-2.scm, srfi-8.scm: Update copyright.
329 Point to manual in commentary; nfc.
330
331 2002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
332
333 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
334
335 2002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
336
337 * srfi-13.c, srfi-14.c, srfi-4.c:
338 Retire inclusion guard macro SCM_MAGIC_SNARFER.
339
340 * Makefile.am (snarfcppopts): New var.
341 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
342
343 2002-03-11 Marius Vollmer <mvo@zagadka.ping.de>
344
345 * srfi-13.c (string_titlecase_x): Treat characters as unsigned so
346 that 8-bit chars work. Thanks to David Pirotte!
347
348 2002-02-24 Rob Browning <rlb@defaultvalue.org>
349
350 * Makefile.am (libguile_srfi_srfi_4_la_LDFLAGS): use
351 @LIBGUILE_SRFI_SRFI_4_INTERFACE@.
352 (libguile_srfi_srfi_13_14_la_LDFLAGS): use
353 @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@.
354
355 2002-02-23 Neil Jerram <neil@ossau.uklinux.net>
356
357 * srfi-19.scm (priv:month-assoc): Correct numbers so that they
358 match the expectations of priv:year-day.
359
360 2002-02-22 Neil Jerram <neil@ossau.uklinux.net>
361
362 * srfi-19.scm (priv:year-day): Index into priv:month-assoc using
363 month number, not day number. (Thanks to Sébastien de Menten de
364 Horne for reporting the problem.)
365
366 2002-02-11 Marius Vollmer <marius.vollmer@uni-dortmund.de>
367
368 * srfi-14.c, srfi-4.c: Use scm_gc_malloc/scm_malloc and
369 scm_gc_free/free instead of scm_must_malloc and scm_must_free, as
370 appropriate.
371
372 2002-01-21 Thien-Thi Nguyen <ttn@giblet.glug.org>
373
374 * srfi-1.scm (count1, take-while): Rewrite to be tail-recursive.
375 Thanks to Panagiotis Vossos.
376
377 2002-01-20 Thien-Thi Nguyen <ttn@giblet.glug.org>
378
379 * srfi-1.scm (map1): Rewrite to be tail-recursive.
380 Thanks to Panagiotis Vossos for the bug report.
381
382 2001-12-16 Marius Vollmer <mvo@zagadka.ping.de>
383
384 * srfi-11.scm (let-values): Use `gensym' instead of `gentemp'.
385
386 2001-11-30 Neil Jerram <neil@ossau.uklinux.net>
387
388 * Makefile.am (ETAGS_ARGS): Added.
389
390 2001-11-12 Marius Vollmer <mvo@zagadka.ping.de>
391
392 * srfi-4.c: Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
393 it with `#ifdef' instead of `#if'.
394
395 2001-11-07 Neil Jerram <neil@ossau.uklinux.net>
396
397 * srfi-13.c (scm_string_unfold, scm_string_unfold_right),
398 srfi-14.c (scm_char_set_unfold, scm_char_set_unfold_x): Remove
399 superfluous whitespace at end of docstring lines.
400
401 2001-11-06 Thien-Thi Nguyen <ttn@glug.org>
402
403 * srfi-19.scm (time-monotonic->time-monotonic): Spurious;
404 remove from exports.
405
406 2001-11-04 Stefan Jahn <stefan@lkcc.org>
407
408 * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed
409 __FOO__ macros into FOO.
410
411 2001-11-03 Marius Vollmer <mvo@zagadka.ping.de>
412
413 * Makefile.am (libguile_srfi_srfi_4_la_LIBADD,
414 libguile_srfi_srfi_13_14_la_LIBADD): Refer to build directory, not
415 the source directory, for libguile.la. Thanks to Ken Raeburn.
416
417 2001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
418
419 Support for native Win32. Thanks to Stefan Jahn!
420
421 * Makefile.am: Put `-no-undefined' into LDFLAGS to support linkers
422 which do not allow unresolved symbols inside shared libraries.
423
424 * srfi-13.h, srfi-14.h: Defined SCM_SRFI1314_API. Prefixed each
425 exported symbol with SCM_SRFI1314_API.
426
427 * srfi-4.h: Defined SCM_SRFI4_API. Prefixed each exported
428 symbol with SCM_SRFI4_API.
429
430 2001-10-21 Mikael Djurfeldt <mdj@linnaeus>
431
432 * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
433 srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
434 directives `export', `export-syntax', `re-export' and
435 `re-export-syntax' into the `define-module' form. This is the
436 recommended way of exporting bindings.
437
438 2001-09-22 Mikael Djurfeldt <mdj@linnaeus>
439
440 * srfi-19.scm (priv:split-real): Inserted missing call to
441 inexact->exact.
442
443 2001-09-21 Rob Browning <rlb@defaultvalue.org>
444
445 * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<".
446
447 * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
448 (scm_char_set_hash): val needs to be long, not just unsigned.
449 (scm_char_set): need 1L, not just 1 in "<<".
450 (scm_list_to_char_set): need 1L, not just 1 in "<<".
451 (scm_list_to_char_set_x): need 1L, not just 1 in "<<".
452 (scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
453 (scm_string_to_char_set): string length var needed to be
454 scm_sizet, not int.
455 (scm_string_to_char_set): need 1L, not just 1 in "<<".
456 (scm_string_to_char_set_x): string length var needed to be
457 scm_sizet, not int.
458 (scm_string_to_char_set_x): need 1L, not just 1 in "<<".
459 (scm_char_set_filter): need 1L, not just 1 in "<<".
460 (scm_char_set_filter_x): need 1L, not just 1 in "<<".
461 (scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
462 (scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
463 (scm_char_set_adjoin): need 1L, not just 1 in "<<".
464 (scm_char_set_delete): need 1L, not just 1 in "<<".
465 (scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
466 (scm_char_set_delete_x): need 1L, not just 1 in "<<".
467
468 2001-09-12 Gary Houston <ghouston@arglist.com>
469
470 * srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
471
472 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
473
474 * srfi-1.scm, srfi-13.scm: Remove the defines that were needed to
475 trick export from the beginning of the files.
476
477 2001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
478
479 * srfi-19.scm (add-duration): Fix bug: Call `add-duration!' w/
480 two args. Thanks to Alex Shinn.
481
482 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
483
484 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
485
486 2001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
487
488 * srfi-13.h (scm_string_map, scm_string_map_x,
489 scm_string_for_each): Reverse order of first two args.
490 (scm_string_for_each_index): New proc.
491
492 * srfi-13.c (scm_string_for_each): Reverse order of first 2 args.
493 (scm_string_for_each_index): New func.
494
495 * srfi-13.scm (string-for-each-index): New exported proc.
496
497 Thanks to Alex Shinn.
498
499 2001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
500
501 * srfi-13.c (string-map): Swapped order of string and proc args to
502 conform with the srfi. (Thanks to Alex Shinn.)
503
504 2001-08-05 Gary Houston <ghouston@arglist.com>
505
506 * srfi-1.scm (check-arg-type, non-negative-integer?): a couple of new
507 internal definitions.
508 (list-tabulate, iota): check for bad arguments that otherwise
509 give weird output.
510 (filter): check for proper list, to avoid infinite recursion on
511 a circular list.
512
513 2001-08-04 Gary Houston <ghouston@arglist.com>
514
515 * srfi-1.scm (filter): replaced with a tail-recursive version.
516 (remove): implement using filter, to make it tail-recursive.
517
518 2001-07-31 Gary Houston <ghouston@arglist.com>
519
520 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
521 accounting for the (char-set-union cs2...) in the spec. i.e.,
522 (char-set-diff+intersection a) -> copy-of-a, empty-set
523 and the following are equivalent:
524 (char-set-diff+intersection a (char-set #\a) (char-set #\b))
525 (char-set-diff+intersection a (char-set #\a #\b))
526
527 (scm_char_set_xor_x): disabled the side-effecting code, since it
528 gives inconsistent results to scm_char_set_xor for the case
529 (char-set-xor! a a a).
530
531 (scm_char_set_diff_plus_intersection_x): added cs2 argument, since
532 two arguments are compulsory in final spec. also similar changes
533 as for scm_char_set_diff_plus_intersection.
534 * srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
535
536 2001-07-22 Gary Houston <ghouston@arglist.com>
537
538 * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
539 the compulsory cs1 arguments: all args are optional in final spec.
540
541 * srfi-14.h: declarations updated.
542
543 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
544
545 * srfi-11.scm, srfi-8.scm: Update copyright notice.
546
547 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
548
549 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
550 Guaranteed. (Maybe)
551
552 * srfi-19.scm: Define `current-time' before exporting it.
553
554 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
555
556 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
557 side. Bit sets were handled wrong because I couldn't tell bit
558 counts from byte counts. Also, the bit array should be 256 / 8
559 bytes long. Thank you, Gary!
560
561 Removed unnecessary protoype for scm_char_set_copy.
562
563 2001-07-16 Gary Houston <ghouston@arglist.com>
564
565 * srfi-14.scm: export string->char-set!, not string-char-set!.
566
567 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
568 scm_end_of_char_set_p): reject negative cursor values.
569 (scm_list_to_char_set, scm_list_to_char_set_x): when reporting
570 type error in list component, omit the position (was always 1).
571
572 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
573
574 (scm_char_set_map): Bug-fix: char-set-map was modifying the
575 argument instead of the return value.
576
577 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
578
579 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
580 use this value for initializing and comparing charsets.
581 (scm_char_set_hash): Use ``better'' hash algorithm which produces
582 more values.
583
584 2001-07-15 Gary Houston <ghouston@arglist.com>
585
586 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
587 opt arg to give default bound, as in final spec. don't allow
588 negative bounds.
589 (scm_char_set_hash): bug fix: was overrunning the buffer and
590 calculating based on garbage.
591 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
592 reporting: wasn't incremented due to macro coding.
593 (scm_char_set): report argument number in error reporting: was
594 hard coded to 1. remove a couple of local variables.
595
596 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
597
598 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
599 `export-syntax'.
600
601 2001-07-11 Gary Houston <ghouston@arglist.com>
602
603 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
604 return #t instead of giving wrong-number-of-arguments . take a
605 single "rest" argument. use memcmp instead of a loop to compare
606 the values.
607 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
608 take a single "rest" argument.
609 srfi-14.h: update the declarations.
610
611 2001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
612
613 * README: Cleanup.
614
615 2001-07-06 Gary Houston <ghouston@arglist.com>
616
617 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
618 delete!, assoc): roll back the previous change. instead place
619 dummy definitions in a deprecated block at the beginning as in
620 srfi-13.scm.
621
622 2001-07-06 Rob Browning <rlb@defaultvalue.org>
623
624 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
625
626 2001-07-03 Gary Houston <ghouston@arglist.com>
627
628 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
629 delete!, assoc): don't export until the new bindings have been
630 created. otherwise "export" thinks they are being re-exported and
631 a deprecation warning is produced.
632 (map-in-order): defined and exported, to support lists of unequal
633 length.
634
635 2001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
636
637 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
638 invalid arguments. Same fix for several other procedures (do not
639 use zero?, use <= 0).
640
641 2001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
642
643 * srfi-1.scm: Replaced calls to `map' in several procedures to
644 calls to `map1'.
645 (map, for-each): New procedures, extended from R5RS.
646
647 2001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
648
649 * srfi-4.c: Minor cleanups.
650
651 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
652 (scm_char_set_unfold_x, scm_char_set_for_each)
653 (scm_char_set_map, scm_char_set_filter)
654 (scm_char_set_filter_x, scm_char_set_count)
655 (scm_char_set_every, scm_char_set_any): Replace calls to
656 scm_apply() with the corresponding scm_call_N() functions.
657
658 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
659 (scm_char_set_unfold, scm_char_set_unfold_x)
660 (scm_char_set_map, scm_char_set_diff_plus_intersection)
661 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
662 SCM_LISTN with calls to scm_list_N().
663
664 * srfi-13.c (scm_string_tabulate, scm_string_map)
665 (scm_string_map_x, scm_string_unfold)
666 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
667 with calls to scm_list_N().
668
669 * srfi-13.c (scm_string_any, scm_string_every),
670 (scm_string_tabulate, scm_string_trim),
671 (scm_string_trim_right, scm_string_trim_both),
672 (scm_string_compare, scm_string_compare_ci),
673 (scm_string_indexS, scm_string_index_right),
674 (scm_string_skip, scm_string_skip_right, scm_string_count),
675 (scm_string_map, scm_string_map_x, scm_string_fold),
676 (scm_string_fold_right, scm_string_unfold),
677 (scm_string_unfold_right, scm_string_for_each),
678 (scm_string_filter, scm_string_delete): Replace calls to
679 scm_apply() with the corresponding scm_call_N() functions.
680
681 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
682
683 * Makefile.am: Added SRFI-4 files in various places.
684
685 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
686
687 2001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
688
689 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
690 scm_string_take_right, scm_string_drop_right, scm_string_trim,
691 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
692 Use scm_mem2string instead of scm_makfromstr.
693
694 (scm_reverse_list_to_string, string_titlecase_x): Prefer
695 !SCM_<pred> over SCM_N<pred>.
696
697 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
698
699 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
700 `receive'.
701
702 2001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
703
704 The SRFI-19 implementation was completely broken. Already the
705 reference implementation did not handle DST and time zones
706 properly and relied on non-R5RS-isms like passing reals to
707 `quotient'. For Guile, some additional fixes were needed because
708 of the incomplete numeric tower implementation. See also
709 srfi-19.test.
710
711 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
712 (add-duration): Renamed from priv:add-duration.
713 (priv:time-normalize!): Handle fractional nanoseconds; remove
714 duplicate definition.
715 (priv:current-time-tai): Fixed typo.
716 (time=?, time<=?): Fixed typos.
717 (time-tai->time-utc, time-utc->time-tai,
718 time-utc->time-monotonic): Use make-time-unnormalized instead of
719 make-time when uninitialized time fields are used.
720 (set-date-nanosecond!, set-date-second!, set-date-minute!,
721 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
722 set-date-zone-offset!): Define.
723 (priv:local-tz-offset): Take an extra argument in order to handle
724 DST effects.
725 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
726 changed signature of priv:local-tz-offset. Don't pass non-integer
727 arguments to quotient (non-R5RS, not supported by Guile).
728 (date->time-utc): Ensure that seconds in a date structure are
729 always exact integers. Handle DST properly.
730 (current-date, julian-day->date, modified-julian-day->date):
731 Handle the changed signature of priv:local-tz-offset.
732 (julian-day->time-utc): Reverted earlier inexact->exact hack;
733 make-time now handles inexact arguments.
734 (priv:locale-print-time-zone): At least print the numerical time
735 zone.
736 (priv:integer-reader): Fixed named let iteration.
737 (priv:read-directives): Use set-date-month! instead of
738 priv:set-date-month! etc.
739 (string->date): Handle DST properly.
740
741 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
742
743 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
744
745 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
746
747 * srfi-14.c (charset_print): Mark unused parameters with
748 SCM_UNUSED.
749
750 2001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
751
752 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
753 (delete-duplicates): Now the first occurrence of an element is
754 retained, as required.
755 (member, assoc): Fixed wrong order of equality predicate
756 application.
757
758 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
759
760 * README: Update.
761
762 * srfi-1.scm: New file.
763
764 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
765
766 Added exception notice to all files.
767
768 2001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
769
770 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
771 shared library.
772
773 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
774
775 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
776 case.
777 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
778
779 2001-05-28 Michael Livshin <mlivshin@bigfoot.com>
780
781 * srfi-19.scm: removed a stray open parenthesis. (thanks to
782 Matthias Köppe for the report).
783
784 2001-05-23 Rob Browning <rlb@cs.utexas.edu>
785
786 * srfi-19.scm (:optional): renamed to optional to avoid reader
787 keywords conflict. Time passes... Removed :optional altogether
788 and just handle optional args directly. Thanks to Matthias Koeppe
789 for the report of this and the two bits below.
790 (priv:decode-julian-day-number): add inexact->exact for truncate
791 result.
792 (time-utc->date): add inexact->exact and floor so quotient will
793 work.
794
795 2001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
796
797 * README: Update, document available SRFIs.
798
799 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
800
801 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
802 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
803 srfi-2.scm: Use `cond-expand-provide' for providing features to
804 `cond-expand'.
805
806 2001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
807
808 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
809 `initialized'.
810
811 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
812
813 Avoid using module operations from C.
814
815 * srfi-13.c (scm_init_srfi_13_14): Removed.
816 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
817 initializations needed by C clients of srfi-14.
818 (scm_init_srfi_13, scm_init_srfi_14): Call it.
819 * srfi-13.scm: Call "scm_init_srfi_13" instead of
820 "scm_init_srfi_13_14".
821 * srfi-14.scm: Call "scm_init_srfi_14" instead of
822 "scm_init_srfi_13_14".
823
824 2001-05-16 Rob Browning <rlb@cs.utexas.edu>
825
826 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
827
828 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
829
830 * Makefile.am (srfi_DATA): Added srfi-16.scm.
831
832 * srfi-16.scm: New file.
833
834 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
835
836 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
837 Fixed.
838
839 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
840
841 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
842
843 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
844
845 * Makefile.am (srfi_DATA): added srfi-19.scm.
846
847 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
848 Fitzgerald.
849
850 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
851
852 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
853
854 * srfi-10.scm: Typo fix.
855
856 2001-05-02 Rob Browning <rlb@cs.utexas.edu>
857
858 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
859
860 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
861
862 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
863
864 * srfi-10.scm: New file.
865
866 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
867 lot!
868 Added `Commentary:' tag.
869
870 * srfi-9.scm: Added `Commentary:' tag.
871
872 2001-04-27 Rob Browning <rlb@cs.utexas.edu>
873
874 * srfi-13.h
875 (scm_reverse_string_concatenate): renamed to
876 scm_string_concatentate_reverse.
877 (scm_reverse_string_concatenate_shared): renamed to
878 scm_string_concatenate_reverse_shared.
879
880 2001-04-27 Gary Houston <ghouston@arglist.com>
881
882 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
883 add "srfi/" to lines including .x files so they can be found
884 when build_dir != src_dir.
885
886 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
887
888 * Makefile.am (srfi_DATA): Added srfi-9.scm.
889
890 * srfi-9.scm: New file. Exports `define-record-type'.
891
892 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
893
894 * Makefile.am (srfi_DATA): added srfi-6.scm.
895 (srfi_DATA): added srfi-11.scm.
896 (srfi_DATA): added srfi-8.scm.
897 (srfi_DATA): added srfi-2.scm.
898
899 * srfi-11.scm: new file - exports let-values and let*-values.
900
901 * srfi-6.scm: new file - guile already has srfi-6 procedures
902 loaded by default, so this is a dummy file right now.
903
904 * srfi-8.scm: new file - exports receive.
905
906 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
907
908 2001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
909
910 Changed two procedure names to match final SRFI document. Thanks
911 to Rob Browning for spotting this.
912
913 * srfi-13.scm (string-concatenate-reverse),
914 (string-concatenate-reverse/shared): Rename from
915 reverse-string-concatenate[/shared].
916
917 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
918 scm_reverse_string_concatenate_shared.
919 (scm_string_concatenate_reverse): Renamed from
920 scm_reverse_string_concatenate.
921
922 2001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
923
924 * configure.in, autogen.sh: Removed.
925
926 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
927 when using memmove().
928
929 * srfi-14.h: Added prototypes for all exported procedures..
930
931 * srfi-13.c: Include srfi-13.h
932
933 * srfi-13.h: New file containing the prototypes.
934
935 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
936 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
937 distributed.
938 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
939
940 2001-04-24 Neil Jerram <neil@ossau.uklinux.net>
941
942 * Makefile.am: Fixed "srf-14.x" typo.
943
944 2001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
945
946 * guile-srfi.texi: Removed, because merged with the GRM.
947
948 * guile-srfi.texi: The docs are now up to date with the
949 implementation and have new introductory material.
950
951 2001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
952
953 Integrated the guile-srfi package into the Guile distribution.
954
955 * srfi-13.c: All procedures so specified in the SRFI now accept
956 character set arguments.
957
958 * Makefile.am: Snarfed some variables from the guile-readline
959 directory.
960
961 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
962
963 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
964 configure.in, Makefile.am: Added FSF copyright and Guile license
965 information.
966
967 * srfi-13.c, srfi-14.c: Include srfi-14.h.
968 (scm_init_srfi_13_14): Initialize the complete module, if not
969 already done so.
970
971 * srfi-14.h: New file.
972
973 * srfi-13.scm, srfi-14.scm: Load new combined library.
974
975 * Makefile.am: Build only one library,
976 `libguile-srfi-srfi-13-14.la'
977
978 2001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
979
980 * guile-srfi.texi: Integrated the SRFI-14 documentation.
981
982 * srfi-14.c, srfi-14.scm: Made the procedures and variables
983 compliant to the final SRFI document.
984
985 * Renamed the package to guile-srfi.
986
987 2001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
988
989 * NEWS: New section for 0.0.3.
990
991 * configure.in, README, guile-srfi-13.texi: Bumped version number
992 to 0.0.3.
993
994 * Released version 0.0.2.
995
996 * Makefile.am: Added rules for builing the SRFI-14 library.
997
998 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
999 (character set library).
1000
1001 2001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1002
1003 * README: Updated procedure and incompatibility list.
1004
1005 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
1006 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
1007 (scm_string_downcaseS, string_titlecase_x),
1008 (scm_string_titlecase_x, scm_string_titlecase),
1009 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
1010 procedures.
1011
1012 * srfi-13.scm: Export new case mapping procedures.
1013
1014 * guile-srfi-13.texi (What cannot be done): Removed case mapping
1015 procedures from incompatibility list.
1016 (Case Mapping): New section for case mapping procedures.
1017
1018 2001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1019
1020 * NEWS: New section for 0.0.2
1021
1022 * configure.in, README, guile-srfi-13.texi: Bumbed version number
1023 to 0.0.2
1024
1025 * Released version 0.0.1.
1026
1027 * README: Made procedure list up-to-date.
1028
1029 * guile-srfi-13.texi: Fixed typos, completed reference and added
1030 introductory blurb.
1031
1032 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
1033
1034 2001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1035
1036 * Started guile-srfi-13 package. Files are copied from the
1037 guile-gdbm and slightly modified.