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