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