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