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