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