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