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