prefer compilers earlier in list
[bpt/guile.git] / libguile / ChangeLog-srfi
CommitLineData
d0b6ad34
JG
12008-08-30 Julian Graham <joolean@gmail.com>
2
3 * srfi-18.scm: Raise error if Guile not built with threading
4 support.
5
582a4997
LC
62008-08-25 Ludovic Courtès <ludo@gnu.org>
7
8 * Makefile.am (AM_CFLAGS): New.
9
994e8417
LC
102008-06-28 Ludovic Courtès <ludo@gnu.org>
11
47871d5a
LC
12 * Makefile.am (INCLUDES): Renamed to...
13 (AM_CPPFLAGS): this, to match current Automake conventions.
14
994e8417
LC
15 * srfi-19.scm (priv:read-tai-utc-data): Use `eof-object?'
16 instead of comparing LINE with `eof'.
17
b046219e
JG
182008-05-15 Julian Graham <joolean@gmail.com>
19
20 * srfi-18.scm: New file.
21
0fb11ae4
LC
222008-04-28 Ludovic Courtès <ludo@gnu.org>
23
24 * srfi-1.c (scm_srfi1_partition): Properly type-check LIST.
25 Reported by Julian Graham <joolean@gmail.com>.
26
a030cb4b
LC
272008-04-27 Ludovic Courtès <ludo@gnu.org>
28
29 * srfi-1.c: Include <config.h>.
30
816e3edf
LC
312008-04-26 Ludovic Courtès <ludo@gnu.org>
32
33 * srfi-35.scm: Provide `srfi-35' through `cond-expand-provide'.
34
189681f5
LC
352008-04-26 Ludovic Courtès <ludo@gnu.org>
36
37 * Makefile.am (srfi_DATA): Add `srfi-88.scm'.
38 * srfi-88.scm: New file.
39
62c5382b
LC
402008-03-12 Ludovic Courtès <ludo@gnu.org>
41
42 * srfi-37.scm (args-fold)[short-option]: Set ARGS to `(cdr
43 args)' before calling `next-arg'. This fixes parsing of
44 argument-less options when using short names.
45
d3cf93bc
NJ
462008-01-22 Neil Jerram <neil@ossau.uklinux.net>
47
48 * srfi-39.scm: Update copyright statement to LGPL.
49
70a44044
LC
502007-12-13 Stephen Compall <s11@member.fsf.org>
51
52 * srfi-69.scm (without-keyword-args): Use `cdr' instead of
53 `rest'.
54
1317062f
LC
552007-12-03 Stephen Compall <s11@member.fsf.org>
56
57 * srfi-69.scm: New file.
58 * Makefile.am: Add it.
59
bc4ee34e
LC
602007-09-10 Ludovic Courtès <ludo@gnu.org>
61
62 * srfi-35.scm (make-compound-condition-type): When PARENTS
63 contains only one element, return its car. This improves the
64 output of `print-condition' for non-compound conditions returned
65 by `make-compound-condition'.
66
f50ca8da
LC
672007-08-11 Ludovic Courtès <ludo@gnu.org>
68
69 * srfi-35.scm: New file.
70 * Makefile.am (srfi_DATA): Added `srfi-35.scm'.
71
6caac03c
LC
722007-07-29 Ludovic Courtès <ludo@gnu.org>
73
74 * Makefile.am (INCLUDES): Added Gnulib includes.
75 (libguile_srfi_srfi_1_v_@LIBGUILE_SRFI_SRFI_1_MAJOR@_la_LIBADD):
76 Added `../lib/libgnu.la'.
77 (libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_LIBADD):
78 Likewise.
79 (libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_LIBADD):
80 Likewise.
81 (libguile_srfi_srfi_60_v_@LIBGUILE_SRFI_SRFI_60_MAJOR@_la_LIBADD):
82 Likewise.
83
d4c38221
LC
842007-07-18 Stephen Compall <s11@member.fsf.org>
85
86 * srfi-37.scm: New file.
87 * Makefile.am: Add it.
88
0867f7ba
LC
892007-07-09 Ludovic Courtès <ludo@gnu.org>
90
91 * srfi-19.scm (date->julian-day): Take OFFSET into account.
92 Patch by Jon Wilson <j85wilson@fastmail.fm>.
93
a7db5522
LC
942007-05-09 Ludovic Courtès <ludo@chbouib.org>
95
96 * srfi-19.scm (priv:current-time-process): Removed shadowing
97 definition that returned a list. Use the right argument order to
98 `make-time'. Reported by Scott Shedden.
99
2656b1b2
LC
1002007-02-04 Ludovic Courtès <ludovic.courtes@laas.fr>
101
102 * srfi/srfi-19.scm (priv:locale-abbr-weekday): Add one to the day
103 number before invoking `locale-day-short'. Failing to do so
104 resulted in days shifted by one in the result of `date->string',
105 or in the failure of `date->string' when the day is zero.
106 (priv:locale-long-weekday): Likewise.
107
a2f00b9b
LC
1082007-01-31 Ludovic Courtès <ludovic.courtes@laas.fr>
109
110 * srfi-19.scm: Use `(ice-9 i18n)'.
111 (priv:locale-abbr-weekday-vector, priv:locale-long-weekday-vector,
112 priv:locale-abbr-month-vector, priv:locale-long-month-vector):
113 Removed.
114 (priv:locale-number-separator, priv:locale-pm, priv:locale-am,
115 priv:locale-abbr-weekday, priv:locale-long-weekday,
116 priv:locale-abbr-month, priv:locale-long-month): Aliases for their
117 respective `(ice-9 i18n)' equivalent.
118 (priv:vector-find): Removed, replaced by...
119 (priv:date-reverse-lookup): New procedure. Updated callers.
120 (priv:locale-am/pm): Use `priv:locale-pm' and `priv:locale-am' as
121 procedures.
122 (priv:directives): Use `priv:locale-number-separator' as a
123 procedure.
124
23d72566
KR
1252006-12-02 Kevin Ryde <user42@zip.com.au>
126
127 * srfi-60.c (scm_srfi60_copy_bit): Should be long not int for fixnum
128 bitshift, fixes 64-bit systems setting a bit between 32 and 63.
129 Reported by Aaron M. Ucko, Debian bug 396119.
130
9a993171
KR
1312006-05-28 Kevin Ryde <user42@zip.com.au>
132
133 * srfi-1.scm, srfi-1.c, srfi-1.h (append-reverse, append-reverse!):
134 Rewrite in C.
135
1362006-05-20 Kevin Ryde <user42@zip.com.au>
137
138 * srfi-1.c (scm_srfi1_assoc): Correction to comparison procedure
139 argument order, SRFI-1 specifies given key is first.
140
0f24e75b
MV
1412006-02-06 Marius Vollmer <mvo@zagadka.de>
142
143 * srfi-1.scm, srfi-60.scm: Updated versions in library name to
144 match GUILE-VERSION.
145
0aa90220
KR
1462006-02-04 Kevin Ryde <user42@zip.com.au>
147
f36978c9
KR
148 * srfi-1.c (scm_srfi1_delete, scm_srfi1_delete_duplicates): Use a
149 count to protect against nasty code in the equality procedure changing
150 the lists we're working on. The results don't have to be sensible in
151 that case, just not hang or access non-cells.
152
0aa90220
KR
153 * srfi-60.c (booleans->integer): Avoid newline in macro, it breaks the
154 snarfer.
155
203a6c87
KR
1562005-11-24 Kevin Ryde <user42@zip.com.au>
157
158 * srfi-1.scm, srfi-1.c, srfi-1.h (lset-difference!): Rewrite in C.
159
ae2ffa26
KR
1602005-08-19 Kevin Ryde <user42@zip.com.au>
161
162 * srfi-19.scm (priv:leap-second-table): Add new 2005 leap second.
163
036482e9
MV
1642005-08-12 Marius Vollmer <mvo@zagadka.de>
165
166 * srfi-1.c: Use scm_is_null instead of SCM_NULLP. Thanks to
167 Peter Gavin!
168
5070fd11
MV
1692005-08-01 Marius Vollmer <mvo@zagadka.de>
170
171 * srfi-1.c (check_map_args): Move check_map_error label and elt
172 variable outside of loop scope so that we do not jump past the
173 initialization of elt.
174
fc4abd0e
MV
1752005-06-12 Marius Vollmer <mvo@zagadka.de>
176
177 * srfi-1.c: Do not use INUM macros, they are deprecated.
178
b52f5697
KR
1792005-05-07 Kevin Ryde <user42@zip.com.au>
180
181 * srfi-1.scm, srfi-1.c, srfi-1.h (car+cdr, fold, last, list-index,
182 list-tabulate, not-pair, xcons): Rewrite in C.
183
8ad5d74a
KR
1842005-05-04 Kevin Ryde <user42@zip.com.au>
185
186 * srfi-1.scm, srfi-1.c, srfi-1.h (break, break!, drop-right!,
187 drop-while, eighth, fifth, lset-adjoin, ninth, reduce, reduce-right,
188 seventh, sixth, span, span!, take!, take-while, take-while!, tenth):
189 Rewrite in C.
190
c51682b4
KR
1912005-04-23 Kevin Ryde <user42@zip.com.au>
192
193 * srfi-1.c (scm_srfi1_count, scm_srfi1_filter_map): Don't modify the
194 rest argument, that belongs to the caller when reached from apply.
195 Use a temp vector like scm_srfi1_for_each.
196
044bc597
KR
1972005-04-04 Kevin Ryde <user42@zip.com.au>
198
199 * srfi-1.c, srfi-1.h (scm_srfi1_concatenate, scm_srfi1_concatenate_x):
200 Add code to check argument is a list, scm_append and scm_append_x
201 don't do that on their "rest" list (in a normal build).
202
9b60e16f
KR
2032005-04-02 Kevin Ryde <user42@zip.com.au>
204
205 * srfi-1.c (scm_srfi1_count): Use scm_list_copy to make arg list,
206 instead of an inline loop. Share final list check between all cases
207 to save some code.
208
209 * srfi-1.c (scm_srfi1_filter_map): Have 2-arg case share finalization
210 code of 1-arg case.
211
161ec47f
KR
212 * srfi-1.scm (alist-cons): Define just as acons, not a call to acons.
213
214 * srfi-1.scm, srfi-1.c, srfi-1.h (alist-copy): Rewrite in C.
215
9b60e16f
KR
216 * srfi-1.scm (lset-union): Rewrite to accumulate result by consing in
217 the order specified by the SRFI.
218
87bdbdbc
MV
2192005-03-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
220
221 * srfi-60.c: Replaced SCM_INUMP with SCM_I_INUMP and SCM_INUM with
222 SCM_I_INUM throughout.
223
22ed4dd8
MV
2242005-03-26 Marius Vollmer <mvo@zagadka.de>
225
226 * Makefile.am (srfiinclude_HEADERS): Added srfi-60.h.
227
4bc6f1c6
KR
2282005-03-18 Kevin Ryde <user42@zip.com.au>
229
230 * srfi-1.scm, srfi-1.c, srfi-1.h (filter-map): Rewrite in C.
231
44981fcb
KR
2322005-03-16 Kevin Ryde <user42@zip.com.au>
233
234 * srfi-1.scm, srfi-1.c, srfi-1.h (drop-right, partition!, remove!,
74b23573
KR
235 split-at, split-at!, take-right): Rewrite in C. remove! derived from
236 core filter!.
44981fcb 237
d68c4ebb
KR
2382005-03-14 Kevin Ryde <user42@zip.com.au>
239
240 * srfi-1.scm, srfi-1.c, srfi-1.h (find, find-tail): Rewrite in C.
241
ba78f311
KR
2422005-03-13 Kevin Ryde <user42@zip.com.au>
243
85542c38
KR
244 * srfi-1.scm (lset-union): Call `=' procedure with args in the order
245 specified by the SRFI.
246
ba78f311
KR
247 * srfi-60.scm, srfi-60.c, srfi-60.h: New files.
248 * Makefile.am: Add them.
249
a81b8618
MV
2502005-03-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
251
252 * srfi-1.c: Use scm_is_pair instead of SCM_CONSP; use scm_is_null
253 instead of SCM_NULLP.
254
b5199d5d
KR
2552005-02-18 Kevin Ryde <user42@zip.com.au>
256
257 * srfi-1.scm (lset-adjoin): Revert change using `list' not `acc', the
258 spec is not quite clear, but reference code uses acc, so do that.
259
3087a981
KR
2602005-02-12 Kevin Ryde <user42@zip.com.au>
261
262 * srfi-1.scm (reduce, reduce-right): Don't call f with ridentity, use
263 it only if lst is empty, per srfi and intended optimization reduce
264 represents over fold.
265
cbec54af
KR
2662005-02-04 Kevin Ryde <user42@zip.com.au>
267
268 * srfi-1.scm (list=): Correction to arguments passed to given elt=,
269 spec is (elt= e[i] e[i+1]) for lists i and i+1, previously the first
270 arg was always from list 0 not list i.
271
38c3534c
KR
2722005-01-29 Kevin Ryde <user42@zip.com.au>
273
274 * srfi-1.scm (lset-adjoin): Actually use the given `=' procedure.
275 Test membership only on the given `list', not `acc', as per the spec.
276
83743da0
KR
277 * srfi-1.c, srfi-1.scm (remove): Rewrite in C, a trivial adaption from
278 scm_filter in the core.
279 * srfi-1.scm (remove!): Use filter!.
280
feb22e8f
KR
2812005-01-28 Kevin Ryde <user42@zip.com.au>
282
283 * srfi-1.scm (lset=): Correction to pred call arg order, srfi spec is
284 (= e[i] e[i+1]), but had some calls the other way around.
285
2f0a4e30
KR
2862005-01-24 Kevin Ryde <user42@zip.com.au>
287
288 * srfi-1.c (scm_srfi1_member): Correction to pred call arg order, srfi
d27d4bf7 289 spec is (PRED X elem). Update docstring from manual.
2f0a4e30
KR
290
291 * srfi-1.scm (lset=): Allow no list arguments, per srfi spec example.
292
0f0bf3b2
KR
2932005-01-18 Kevin Ryde <user42@zip.com.au>
294
295 * srfi-1.scm: Remove (ice-9 session) and (ice-9 receive), not used.
296
89efd60c
KR
2972005-01-12 Kevin Ryde <user42@zip.com.au>
298
299 * srfi-39.scm (current-input-port, current-output-port): Parameter
300 replacements for core functions, per SRFI spec.
301 (current-error-port): The same, for consistency.
302
3d8bccbd
MV
3032005-01-10 Marius Vollmer <mvo@zagadka.de>
304
305 * srfi-1.c (check_args): Bugfix to change from 2005-01-02: ARGV is
306 the vector to check, not ARGS.
307
5be5e699
MV
3082005-01-02 Marius Vollmer <mvo@zagadka.de>
309
310 * srfi-1.c: Use new vector elements API or simple vector API, as
311 appropriate.
312
45bb786f
KR
3132005-01-02 Kevin Ryde <user42@zip.com.au>
314
315 * Makefile.am (srfi_DATA): Add srfi-39.scm.
316
e1ea3bf9
MD
3172004-12-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
318
319 * README: Update, document available SRFIs.
320
64f79420
KR
3212004-12-06 Kevin Ryde <user42@zip.com.au>
322
371e3f77
KR
323 * srfi-1.scm (alist-copy, alist-delete, break, span): Change to
324 tail-recursive forms.
325
326 * srfi-1.scm (alist-delete): Correction to equality proc call argument
327 order, spec is for given KEY param first.
64f79420 328
da9c77cf
KR
3292004-12-05 Kevin Ryde <user42@zip.com.au>
330
331 * srfi-1.scm (filter-map): Change to a tail-recursive form.
eadc07b5
KR
332 (append-map, append-map!): Rewrite as simple "concatenate map" forms,
333 for tail recursiveness.
da9c77cf 334
79d52182
MV
3352004-10-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
336
337 * srfi-4.scm, srfi-4.h, srfi-4.c: Moved content into core; only
338 the skeletons remains.
339
3350b676
MV
3402004-10-22 Marius Vollmer <marius.vollmer@uni-dortmund.de>
341
342 * srfi-4.c (print_int64, print_uint64): Removed.
343 (uvec_print): Use scm_intprint for signed elemets and
344 scm_uintprint for unsigned ones. Do not use print_int64 and
345 print_uint64 since scm_intprint and scm_Uintprint can handle 64
346 bits now.
347
edea856c
SJ
3482004-09-03 Stefan Jahn <stefan@lkcc.org>
349
350 * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
351 lst1 is a #define on Win32 systems.
352
c581203a
KR
3532004-08-26 Kevin Ryde <user42@zip.com.au>
354
355 * srfi-31.scm (rec): Add missing `error' to else clause.
356
51fab002
MV
3572004-08-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
358
359 * Makefile.am: Added appropriate @LIBGUILE_*_MAJOR@ substitutions
360 to the library names.
361 * srfi-1.scm, srfi-4.scm: Use the new library names with
362 load-extension.
363
c5080b51
MV
3642004-08-25 Marius Vollmer <mvo@zagadka.de>
365
366 SRFI-13 and SRFI-14 have been moved into the core.
367
368 * srfi-13.scm, srfi-14.scm: Simply re-export the relevant
369 bindings.
370
371 * srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
372 content except for the init functions.
373
f26b9395
MV
3742004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
375
376 * srfi-13.h, srfi-13.c: (scm_substring_shared): Renamed to
377 scm_substring_sharedS.
378
379 * srfi-14.c, srfi-13.c: Adapted to new internal string and symbol
380 API.
381
382 * srfi-13.scm (substring/shared): Export as replacement since we
383 now have a version in the core.
384
bc97364a
MV
3852004-08-15 Marius Vollmer <mvo@zagadka.de>
386
387 * srfi-39.scm: New, from Jose A Ortega Ruiz. Thanks!
388
038a7484
KR
3892004-08-14 Kevin Ryde <user42@zip.com.au>
390
391 * srfi-13.c (scm_string_any, scm_string_every): Add support for char
392 and charset as predicates, per SRFI-13 spec.
393
c41acab3
MV
3942004-08-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
395
396 * srfi-13.c (MY_VALIDATE_SUBSTRING_SPEC_COPY,
397 MY_VALIDATE_STRING_COPY): Modernized clones of the deprecated
398 validation macros. Replaced every use.
399
03034594
KR
4002004-08-05 Kevin Ryde <user42@zip.com.au>
401
402 * srfi-13.c (scm_string_any, scm_string_every): Enhance docstrings as
403 per doc/ref/srfi-modules.texi.
404
dbf3eb1f
MV
4052004-08-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
406
407 * srfi-4.c: Replaced scm_num2* and scm_*2num with scm_to_* and
408 scm_from_*, respectively.
409 (print_int64, print_uint64): Rewritten by just calling scm_iprin1
410 on a SCM.
411
71234d0c
KR
4122004-08-02 Kevin Ryde <user42@zip.com.au>
413
414 * srfi-13.c (scm_string_every): Correction to initial "res" value,
a2f00b9b 415 return should be #t for an empty string. Reported by Andreas Vögele.
71234d0c 416
66998138
MV
4172004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
418
419 * srfi-13.c, srfi-14.c, srfi-4.c: Changed all uses of
420 SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY, SCM_VALIDATE_BIGINT,
421 SCM_VALIDATE_INUM_MIN, SCM_VALIDATE_INUM_MIN_COPY,
422 SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
423 SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
424 SCM_VALIDATE_INUM_RANGE_COPY to scm_to_size_t or similar.
425
054ebf6c
MV
4262004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
427
428 * srfi-1.c, srfi-13.c, srfi-14.c, srfi-4.c: Replaced all uses of
429 deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL, SCM_NEGATE_BOOL, and
430 SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and
431 scm_is_bool, respectively.
432
981e8059
KR
4332004-07-05 Kevin Ryde <user42@zip.com.au>
434
435 * srfi-4.c (uvec_sizes): Add "const".
436
ad3e9ceb
KR
437 * srfi-31.scm: Correction to heading comment.
438
6293838c
RB
4392004-06-20 Rob Browning <rlb@defaultvalue.org>
440
82d5c4b7 441 * srfi-4.c: fix #ifdef checks for 64-bit types; should be #if.
48de9bb3 442 Add separate symmetric test for SCM_HAVE_T_UINT64 in one case.
82d5c4b7 443 (uvec_print): rewrite using a union to make more
f5d54eb7
RB
444 compact, and use static print_uint64 and print_int64 to print
445 64-bit elements.
446 (print_int64): new static function (temporary fix).
447 (print_uint64): new static function (temporary fix).
448
f8ac3733
RB
449 * Makefile.am (srfi_DATA): add srfi-31.scm.
450
6293838c
RB
451 * srfi-31.scm: new file.
452
6aef9d2b
DH
4532004-04-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
454
455 * srfi-17.scm (setter, car, cdr etc.): When within one define
456 expression a new variable in the local module is defined in terms
457 of an equally named variable from some other module, use @ to
458 refer to the variable in the other module. This is necessary due
459 to section 5.2.1 of R5RS: In a define expression first the new
460 binding is created and then the expression is evaluated.
461
7301de79
KR
4622004-04-24 Kevin Ryde <user42@zip.com.au>
463
464 * srfi-11.scm (let-values): Use make-symbol rather than gensym, for
465 guaranteed uniqueness of temp variable symbols.
466
05fa9121
KR
4672004-04-15 Kevin Ryde <user42@zip.com.au>
468
469 * srfi-13.c (scm_string_trim, scm_string_trim_right,
470 scm_string_trim_both): Cast to unsigned char for isspace.
471
84fad130
HWN
4722004-04-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
473
474 * srfi-13.c (s_scm_string_map): convert character to unsigned char
475 before converting to unsigned int. This prevents hi-bit ascii as
476 being converted large integers.
477 (string_upcase_x): change caller for scm_{up,down}case to
478 scm_c_{up,down}case
479
c344fddd
KR
4802004-03-23 Kevin Ryde <user42@zip.com.au>
481
482 * srfi-1.scm (circular-list): Rewrite using set-cdr!, no need to copy
483 parameter list.
484
f1dc5f45
MD
4852004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
486
487 * Makefile.am (TAGS_FILES): Use this variable instead of
488 ETAGS_ARGS so that TAGS can be built using separate build
489 directory.
490
67314101
MV
4912004-01-24 Marius Vollmer <mvo@zagadka.de>
492
493 * Makefile.am (srfi_DATA): Added srfi-26.scm.
494
9a5fc8c2
MV
4952004-01-21 Marius Vollmer <m.vollmer@ping.de>
496
497 * srfi-26.scm: New, from Daniel Skarda. Thanks!
498
b35072cd
KR
4992003-12-03 Kevin Ryde <user42@zip.com.au>
500
501 * srfi-1.c, srfi-1.h, srfi-1.scm (count): Rewrite in C, avoiding
502 non-tail recursion.
503
504 * srfi-1.scm (map!): Define as an alias for map, previous definition
505 was not tail-recursive.
506
a54e06e5
KR
5072003-08-23 Kevin Ryde <user42@zip.com.au>
508
509 * srfi-1.c, srfi-1.h, srfi-1.scm (list-copy): New function, derived
510 from core list-copy but allowing improper lists, per SRFI-1 spec.
511
512 * srfi-19.scm (date-week-number): Correction, day of week starting
513 week applied was off by one.
514
8e5b4b9e
KR
5152003-07-29 Kevin Ryde <user42@zip.com.au>
516
517 * srfi-1.c, srfi-1.scm (concatenate, concatenate!): Use scm_append and
518 scm_append_x.
519
520 * srfi-1.c, srfi-1.h, srfi-1.scm (length+): Rewrite using scm_ilength.
521
522 * srfi-34.scm: Add cond-expand-provide srfi-34.
523
e7cc532b
KR
5242003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
525
526 * srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition):
527 Re-implement in C to avoid stack overflows for long input lists.
528
e5a74c26
KR
5292003-07-08 Kevin Ryde <user42@zip.com.au>
530
531 * srfi-1.c, srfi-1.h (scm_srfi1_delete, scm_srfi1_delete_x,
532 scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
533 functions. scm_srfi1_delete_x is derived from scm_delete_x.
534 * srfi-1.scm (delete, delete!, delete-duplicates, delete-duplicates!):
535 Remove.
536
f2478375
KR
5372003-06-07 Kevin Ryde <user42@zip.com.au>
538
539 * srfi-6.scm: #:re-export open-input-string, open-output-string and
540 get-output-string, for the benefit of applications wanting to use
541 #:select on the module.
542
2e945bcc
SJ
5432003-05-29 Stefan Jahn <stefan@lkcc.org>
544
545 * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
546 libguile_srfi_srfi_4_la_LDFLAGS,
547 libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
548 option for the mingw32 build.
549
a658e41b
KR
5502003-05-13 Kevin Ryde <user42@zip.com.au>
551
552 * srfi-1.scm (delete): Fix predicate arg order to match srfi-1 spec.
553
9c8721b5
KR
5542003-05-10 Kevin Ryde <user42@zip.com.au>
555
556 * srfi-1.scm (take): Make this an alias for list-head.
557 (drop): Make this an alias for list-tail.
558
a1a5dfa8
NJ
5592003-04-30 Neil Jerram <neil@ossau.uklinux.net>
560
561 * srfi-34.scm: New file.
562
2d2f76fc
MV
5632003-04-23 Marius Vollmer <mvo@zagadka.de>
564
565 * srfi-1.scm: Removed stray "o" from exports list.
566
1685446c
DH
5672003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
568
569 * srfi-1.c (srfi1_ilength): Prefer !SCM_CONSP over SCM_NCONSP.
570 Now, guile itself does not include any calls to SCM_NCONSP any
571 more.
572
73be1d9e
MV
5732003-04-05 Marius Vollmer <mvo@zagadka.de>
574
575 * Changed license terms to the plain LGPL thru-out.
576
e3c0c3b9
RB
5772003-03-25 Rob Browning <rlb@defaultvalue.org>
578
579 * srfi-4.c: replace typedefs for basic types with typedefs using
580 new standard int types (i.e. scm_t_uint8, etc.) -- should probably
581 remove typedefs altogether later.
582
b8b0abf0
MD
5832003-03-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
584
585 * srfi-1.scm: Re-export all srfi-1 bindings implemented by the
586 core. (Thanks to Kevin Ryde.)
587
d57da08b
MD
5882003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
589
590 * srfi-13.scm: Mark replacements.
591
592 * srfi-17.scm: Mark replacements.
593
f595ccfe
MD
5942003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
595
c614a00b
MD
596 * srfi-1.scm (iota, map, for-each, map-in-order, list-index,
597 member, delete, delete!, assoc): Marked as replacements.
598 (filter, filter!): Removed. (Now implemented in the core.)
f595ccfe 599
a48d60b1
MD
6002003-03-06 Mikael Djurfeldt <djurfeldt@nada.kth.se>
601
602 * srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
603 with the versions in this module using
604 scm_c_extend_primitive_generic.
605
f9ac1c2d
MD
6062003-02-03 Mikael Djurfeldt <djurfeldt@nada.kth.se>
607
608 * srfi-1.c (srfi1_for_each): Corrected argument checking for the
609 case of two argument lists. (Thanks to Kevin Ryde.)
610
b2cbe8d8
RB
6112002-12-08 Rob Browning <rlb@defaultvalue.org>
612
613 * Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.
614
2ab05d78
MV
6152002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
616
617 * Makefile.am (srfiinclude_HEADERS): Added srfi-1.h.
618
ee6aac97
MD
6192002-12-01 Mikael Djurfeldt <mdj@linnaeus>
620
621 * srfi-1.scm: Load srfi-1 extension.
7692d26b
MD
622 (map, map-in-order, for-each, member, assoc): Replaced by
623 primitives in srfi-1.c.
624 (map1): Defined as `map'.
ee6aac97
MD
625
626 * Makefile.am: Added rules for srfi-1.c.
627
628 * srfi-1.c, srfi-1.h: New files.
629
beac3691
MV
6302002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
631
632 * srfi-13.c (scm_string_tokenize): Instead of using "isgraphic" as
633 the subtitute for char-set:graphic when then token-set hsa been
634 defaulted, grab the real char-set:graphic from (srfi srfi-14).
635
636 * srfi-14.h (SCM_CHARSET_GET): Cast IDX to unsigned char so that
637 it works for 8-bit characters. Thanks to Matthias Koeppe! No,
a2f00b9b 638 make that "Köppe".
beac3691 639
54d4ac1f
MV
6402002-04-24 Marius Vollmer <mvo@zagadka.ping.de>
641
642 * srfi-13.c (s_scm_string_tokenize): Only take character sets as
643 the second arg. Collect characters belonging to this set into
644 tokens (as specified by the SRFI), instead of splitting at these
645 characters. Default to an equivalent of char-set:graphic instead
646 of everything-but-whitespace. Thanks to Matthias Koeppe!
647
21550b10
RB
6482002-04-10 Rob Browning <rlb@defaultvalue.org>
649
650 * .cvsignore: add *.c.clean.c.
651
cdfc4a7d
TTN
6522002-03-27 Thien-Thi Nguyen <ttn@giblet.glug.org>
653
654 * srfi-1.scm, srfi-13.scm, srfi-17.scm, srfi-4.scm, srfi-9.scm,
655 srfi-10.scm, srfi-14.scm, srfi-19.scm, srfi-6.scm, srfi-11.scm,
656 srfi-16.scm, srfi-2.scm, srfi-8.scm: Update copyright.
657 Point to manual in commentary; nfc.
658
e2bd68e0
MV
6592002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
660
661 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
662
2cd7ecb9
TTN
6632002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
664
665 * srfi-13.c, srfi-14.c, srfi-4.c:
666 Retire inclusion guard macro SCM_MAGIC_SNARFER.
667
ffaf65cd
TTN
668 * Makefile.am (snarfcppopts): New var.
669 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
670
16d98032
MV
6712002-03-11 Marius Vollmer <mvo@zagadka.ping.de>
672
673 * srfi-13.c (string_titlecase_x): Treat characters as unsigned so
674 that 8-bit chars work. Thanks to David Pirotte!
675
46151112
RB
6762002-02-24 Rob Browning <rlb@defaultvalue.org>
677
678 * Makefile.am (libguile_srfi_srfi_4_la_LDFLAGS): use
679 @LIBGUILE_SRFI_SRFI_4_INTERFACE@.
680 (libguile_srfi_srfi_13_14_la_LDFLAGS): use
681 @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@.
682
359b471e
NJ
6832002-02-23 Neil Jerram <neil@ossau.uklinux.net>
684
685 * srfi-19.scm (priv:month-assoc): Correct numbers so that they
686 match the expectations of priv:year-day.
687
cd328b4f
NJ
6882002-02-22 Neil Jerram <neil@ossau.uklinux.net>
689
690 * srfi-19.scm (priv:year-day): Index into priv:month-assoc using
a2f00b9b 691 month number, not day number. (Thanks to Sébastien de Menten de
cd328b4f
NJ
692 Horne for reporting the problem.)
693
7c686ba8
MV
6942002-02-11 Marius Vollmer <marius.vollmer@uni-dortmund.de>
695
696 * srfi-14.c, srfi-4.c: Use scm_gc_malloc/scm_malloc and
697 scm_gc_free/free instead of scm_must_malloc and scm_must_free, as
698 appropriate.
699
229d2c9c
TTN
7002002-01-21 Thien-Thi Nguyen <ttn@giblet.glug.org>
701
702 * srfi-1.scm (count1, take-while): Rewrite to be tail-recursive.
703 Thanks to Panagiotis Vossos.
704
c323f1f4
TTN
7052002-01-20 Thien-Thi Nguyen <ttn@giblet.glug.org>
706
707 * srfi-1.scm (map1): Rewrite to be tail-recursive.
708 Thanks to Panagiotis Vossos for the bug report.
709
197ee3d3
MV
7102001-12-16 Marius Vollmer <mvo@zagadka.ping.de>
711
712 * srfi-11.scm (let-values): Use `gensym' instead of `gentemp'.
713
ee148ae7
NJ
7142001-11-30 Neil Jerram <neil@ossau.uklinux.net>
715
716 * Makefile.am (ETAGS_ARGS): Added.
717
5d8fc640
MV
7182001-11-12 Marius Vollmer <mvo@zagadka.ping.de>
719
720 * srfi-4.c: Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
721 it with `#ifdef' instead of `#if'.
722
9401323e
NJ
7232001-11-07 Neil Jerram <neil@ossau.uklinux.net>
724
725 * srfi-13.c (scm_string_unfold, scm_string_unfold_right),
726 srfi-14.c (scm_char_set_unfold, scm_char_set_unfold_x): Remove
727 superfluous whitespace at end of docstring lines.
728
23b1bf4b
TTN
7292001-11-06 Thien-Thi Nguyen <ttn@glug.org>
730
731 * srfi-19.scm (time-monotonic->time-monotonic): Spurious;
732 remove from exports.
733
8f99e3f3
SJ
7342001-11-04 Stefan Jahn <stefan@lkcc.org>
735
23b1bf4b 736 * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed
8f99e3f3
SJ
737 __FOO__ macros into FOO.
738
836b6557
MV
7392001-11-03 Marius Vollmer <mvo@zagadka.ping.de>
740
741 * Makefile.am (libguile_srfi_srfi_4_la_LIBADD,
742 libguile_srfi_srfi_13_14_la_LIBADD): Refer to build directory, not
743 the source directory, for libguile.la. Thanks to Ken Raeburn.
744
f712d833
MV
7452001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
746
747 Support for native Win32. Thanks to Stefan Jahn!
23b1bf4b
TTN
748
749 * Makefile.am: Put `-no-undefined' into LDFLAGS to support linkers
f712d833
MV
750 which do not allow unresolved symbols inside shared libraries.
751
23b1bf4b 752 * srfi-13.h, srfi-14.h: Defined SCM_SRFI1314_API. Prefixed each
f712d833
MV
753 exported symbol with SCM_SRFI1314_API.
754
23b1bf4b 755 * srfi-4.h: Defined SCM_SRFI4_API. Prefixed each exported
f712d833
MV
756 symbol with SCM_SRFI4_API.
757
1a179b03
MD
7582001-10-21 Mikael Djurfeldt <mdj@linnaeus>
759
760 * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
761 srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
762 directives `export', `export-syntax', `re-export' and
763 `re-export-syntax' into the `define-module' form. This is the
764 recommended way of exporting bindings.
765
b21cccf3
MD
7662001-09-22 Mikael Djurfeldt <mdj@linnaeus>
767
768 * srfi-19.scm (priv:split-real): Inserted missing call to
769 inexact->exact.
770
0b073f0f
RB
7712001-09-21 Rob Browning <rlb@defaultvalue.org>
772
773 * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<".
774
775 * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
776 (scm_char_set_hash): val needs to be long, not just unsigned.
777 (scm_char_set): need 1L, not just 1 in "<<".
778 (scm_list_to_char_set): need 1L, not just 1 in "<<".
779 (scm_list_to_char_set_x): need 1L, not just 1 in "<<".
780 (scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
781 (scm_string_to_char_set): string length var needed to be
782 scm_sizet, not int.
783 (scm_string_to_char_set): need 1L, not just 1 in "<<".
784 (scm_string_to_char_set_x): string length var needed to be
785 scm_sizet, not int.
786 (scm_string_to_char_set_x): need 1L, not just 1 in "<<".
787 (scm_char_set_filter): need 1L, not just 1 in "<<".
788 (scm_char_set_filter_x): need 1L, not just 1 in "<<".
789 (scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
790 (scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
791 (scm_char_set_adjoin): need 1L, not just 1 in "<<".
792 (scm_char_set_delete): need 1L, not just 1 in "<<".
793 (scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
794 (scm_char_set_delete_x): need 1L, not just 1 in "<<".
795
6ddd9412
GH
7962001-09-12 Gary Houston <ghouston@arglist.com>
797
798 * srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
799
8c494e99
DH
8002001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
801
802 * srfi-1.scm, srfi-13.scm: Remove the defines that were needed to
803 trick export from the beginning of the files.
804
fa5a8c00
TTN
8052001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
806
807 * srfi-19.scm (add-duration): Fix bug: Call `add-duration!' w/
808 two args. Thanks to Alex Shinn.
809
b573e744
MV
8102001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
811
812 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
813
e9313ed7
TTN
8142001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
815
816 * srfi-13.h (scm_string_map, scm_string_map_x,
817 scm_string_for_each): Reverse order of first two args.
818 (scm_string_for_each_index): New proc.
819
820 * srfi-13.c (scm_string_for_each): Reverse order of first 2 args.
821 (scm_string_for_each_index): New func.
822
823 * srfi-13.scm (string-for-each-index): New exported proc.
824
825 Thanks to Alex Shinn.
826
80fdeb4e
MD
8272001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
828
829 * srfi-13.c (string-map): Swapped order of string and proc args to
830 conform with the srfi. (Thanks to Alex Shinn.)
831
5753f02f
GH
8322001-08-05 Gary Houston <ghouston@arglist.com>
833
834 * srfi-1.scm (check-arg-type, non-negative-integer?): a couple of new
835 internal definitions.
836 (list-tabulate, iota): check for bad arguments that otherwise
837 give weird output.
838 (filter): check for proper list, to avoid infinite recursion on
839 a circular list.
840
848458d9
GH
8412001-08-04 Gary Houston <ghouston@arglist.com>
842
843 * srfi-1.scm (filter): replaced with a tail-recursive version.
844 (remove): implement using filter, to make it tail-recursive.
845
9be74503
GH
8462001-07-31 Gary Houston <ghouston@arglist.com>
847
848 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
849 accounting for the (char-set-union cs2...) in the spec. i.e.,
850 (char-set-diff+intersection a) -> copy-of-a, empty-set
851 and the following are equivalent:
852 (char-set-diff+intersection a (char-set #\a) (char-set #\b))
853 (char-set-diff+intersection a (char-set #\a #\b))
854
855 (scm_char_set_xor_x): disabled the side-effecting code, since it
856 gives inconsistent results to scm_char_set_xor for the case
857 (char-set-xor! a a a).
e9313ed7 858
9be74503
GH
859 (scm_char_set_diff_plus_intersection_x): added cs2 argument, since
860 two arguments are compulsory in final spec. also similar changes
861 as for scm_char_set_diff_plus_intersection.
862 * srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
863
d1bc6602
GH
8642001-07-22 Gary Houston <ghouston@arglist.com>
865
866 * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
867 the compulsory cs1 arguments: all args are optional in final spec.
42b54c05 868
d1bc6602
GH
869 * srfi-14.h: declarations updated.
870
46a7b46f
MG
8712001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
872
873 * srfi-11.scm, srfi-8.scm: Update copyright notice.
874
4c4185ee
MG
8752001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
876
877 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
878 Guaranteed. (Maybe)
e9313ed7 879
4c4185ee
MG
880 * srfi-19.scm: Define `current-time' before exporting it.
881
2671725a
MG
8822001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
883
884 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
885 side. Bit sets were handled wrong because I couldn't tell bit
886 counts from byte counts. Also, the bit array should be 256 / 8
e9313ed7 887 bytes long. Thank you, Gary!
2671725a
MG
888
889 Removed unnecessary protoype for scm_char_set_copy.
890
8b19021c
GH
8912001-07-16 Gary Houston <ghouston@arglist.com>
892
893 * srfi-14.scm: export string->char-set!, not string-char-set!.
894
895 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
896 scm_end_of_char_set_p): reject negative cursor values.
897 (scm_list_to_char_set, scm_list_to_char_set_x): when reporting
898 type error in list component, omit the position (was always 1).
899
139777e5
MG
9002001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
901
902 (scm_char_set_map): Bug-fix: char-set-map was modifying the
903 argument instead of the return value.
904
cebf3d62
MG
9052001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
906
907 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
908 use this value for initializing and comparing charsets.
909 (scm_char_set_hash): Use ``better'' hash algorithm which produces
910 more values.
911
396f36cd 9122001-07-15 Gary Houston <ghouston@arglist.com>
e9313ed7 913
396f36cd
GH
914 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
915 opt arg to give default bound, as in final spec. don't allow
916 negative bounds.
b87f5a83
GH
917 (scm_char_set_hash): bug fix: was overrunning the buffer and
918 calculating based on garbage.
919 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
920 reporting: wasn't incremented due to macro coding.
921 (scm_char_set): report argument number in error reporting: was
922 hard coded to 1. remove a couple of local variables.
396f36cd 923
22647fef
MV
9242001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
925
926 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
927 `export-syntax'.
928
dd84cd4d
GH
9292001-07-11 Gary Houston <ghouston@arglist.com>
930
931 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
932 return #t instead of giving wrong-number-of-arguments . take a
933 single "rest" argument. use memcmp instead of a loop to compare
934 the values.
be390de2
GH
935 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
936 take a single "rest" argument.
937 srfi-14.h: update the declarations.
dd84cd4d 938
ee85583a
MG
9392001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
940
941 * README: Cleanup.
942
99f59e93
GH
9432001-07-06 Gary Houston <ghouston@arglist.com>
944
945 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
946 delete!, assoc): roll back the previous change. instead place
947 dummy definitions in a deprecated block at the beginning as in
948 srfi-13.scm.
e9313ed7 949
0d6209aa
RB
9502001-07-06 Rob Browning <rlb@defaultvalue.org>
951
952 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
953
26c22ea8
GH
9542001-07-03 Gary Houston <ghouston@arglist.com>
955
956 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
957 delete!, assoc): don't export until the new bindings have been
958 created. otherwise "export" thinks they are being re-exported and
959 a deprecation warning is produced.
6d52dbf2
GH
960 (map-in-order): defined and exported, to support lists of unequal
961 length.
26c22ea8 962
018adcae
MG
9632001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
964
965 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
e800aa04
MG
966 invalid arguments. Same fix for several other procedures (do not
967 use zero?, use <= 0).
018adcae 968
cef248dd
MG
9692001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
970
971 * srfi-1.scm: Replaced calls to `map' in several procedures to
972 calls to `map1'.
973 (map, for-each): New procedures, extended from R5RS.
974
2c4df451
MG
9752001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
976
977 * srfi-4.c: Minor cleanups.
978
979 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
980 (scm_char_set_unfold_x, scm_char_set_for_each)
981 (scm_char_set_map, scm_char_set_filter)
982 (scm_char_set_filter_x, scm_char_set_count)
983 (scm_char_set_every, scm_char_set_any): Replace calls to
984 scm_apply() with the corresponding scm_call_N() functions.
985
986 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
987 (scm_char_set_unfold, scm_char_set_unfold_x)
988 (scm_char_set_map, scm_char_set_diff_plus_intersection)
989 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
990 SCM_LISTN with calls to scm_list_N().
991
992 * srfi-13.c (scm_string_tabulate, scm_string_map)
993 (scm_string_map_x, scm_string_unfold)
994 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
995 with calls to scm_list_N().
996
997 * srfi-13.c (scm_string_any, scm_string_every),
998 (scm_string_tabulate, scm_string_trim),
999 (scm_string_trim_right, scm_string_trim_both),
1000 (scm_string_compare, scm_string_compare_ci),
1001 (scm_string_indexS, scm_string_index_right),
1002 (scm_string_skip, scm_string_skip_right, scm_string_count),
1003 (scm_string_map, scm_string_map_x, scm_string_fold),
1004 (scm_string_fold_right, scm_string_unfold),
1005 (scm_string_unfold_right, scm_string_for_each),
1006 (scm_string_filter, scm_string_delete): Replace calls to
1007 scm_apply() with the corresponding scm_call_N() functions.
1008
71ca65d9
MG
10092001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1010
1011 * Makefile.am: Added SRFI-4 files in various places.
1012
1013 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
1014
36284627
DH
10152001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
1016
1017 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
1018 scm_string_take_right, scm_string_drop_right, scm_string_trim,
1019 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
1020 Use scm_mem2string instead of scm_makfromstr.
1021
1022 (scm_reverse_list_to_string, string_titlecase_x): Prefer
1023 !SCM_<pred> over SCM_N<pred>.
1024
f6581113
MV
10252001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
1026
1027 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
1028 `receive'.
1029
d0e06238
MV
10302001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
1031
1032 The SRFI-19 implementation was completely broken. Already the
1033 reference implementation did not handle DST and time zones
1034 properly and relied on non-R5RS-isms like passing reals to
1035 `quotient'. For Guile, some additional fixes were needed because
1036 of the incomplete numeric tower implementation. See also
e9313ed7
TTN
1037 srfi-19.test.
1038
d0e06238 1039 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
e9313ed7 1040 (add-duration): Renamed from priv:add-duration.
d0e06238
MV
1041 (priv:time-normalize!): Handle fractional nanoseconds; remove
1042 duplicate definition.
1043 (priv:current-time-tai): Fixed typo.
1044 (time=?, time<=?): Fixed typos.
1045 (time-tai->time-utc, time-utc->time-tai,
1046 time-utc->time-monotonic): Use make-time-unnormalized instead of
1047 make-time when uninitialized time fields are used.
1048 (set-date-nanosecond!, set-date-second!, set-date-minute!,
1049 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
1050 set-date-zone-offset!): Define.
1051 (priv:local-tz-offset): Take an extra argument in order to handle
1052 DST effects.
1053 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
1054 changed signature of priv:local-tz-offset. Don't pass non-integer
e9313ed7 1055 arguments to quotient (non-R5RS, not supported by Guile).
d0e06238
MV
1056 (date->time-utc): Ensure that seconds in a date structure are
1057 always exact integers. Handle DST properly.
1058 (current-date, julian-day->date, modified-julian-day->date):
e9313ed7 1059 Handle the changed signature of priv:local-tz-offset.
d0e06238
MV
1060 (julian-day->time-utc): Reverted earlier inexact->exact hack;
1061 make-time now handles inexact arguments.
1062 (priv:locale-print-time-zone): At least print the numerical time
e9313ed7 1063 zone.
d0e06238
MV
1064 (priv:integer-reader): Fixed named let iteration.
1065 (priv:read-directives): Use set-date-month! instead of
1066 priv:set-date-month! etc.
1067 (string->date): Handle DST properly.
1068
0f002b27
MV
10692001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
1070
1071 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
1072
e81d98ec
DH
10732001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
1074
1075 * srfi-14.c (charset_print): Mark unused parameters with
1076 SCM_UNUSED.
1077
563058ef
MG
10782001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1079
1080 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
1081 (delete-duplicates): Now the first occurrence of an element is
1082 retained, as required.
1083 (member, assoc): Fixed wrong order of equality predicate
1084 application.
563058ef 1085
e9680547
MG
10862001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1087
1088 * README: Update.
1089
1090 * srfi-1.scm: New file.
1091
f480396b
MV
10922001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
1093
1094 Added exception notice to all files.
1095
dd22a80a
MG
10962001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1097
1098 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
1099 shared library.
1100
998c3141
ML
11012001-05-31 Michael Livshin <mlivshin@bigfoot.com>
1102
1103 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
1104 case.
1105 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
1106
6b0d28a3
ML
11072001-05-28 Michael Livshin <mlivshin@bigfoot.com>
1108
1109 * srfi-19.scm: removed a stray open parenthesis. (thanks to
a2f00b9b 1110 Matthias Köppe for the report).
6b0d28a3 1111
b9309d16
RB
11122001-05-23 Rob Browning <rlb@cs.utexas.edu>
1113
1114 * srfi-19.scm (:optional): renamed to optional to avoid reader
60a54e2f
RB
1115 keywords conflict. Time passes... Removed :optional altogether
1116 and just handle optional args directly. Thanks to Matthias Koeppe
1117 for the report of this and the two bits below.
1118 (priv:decode-julian-day-number): add inexact->exact for truncate
1119 result.
1120 (time-utc->date): add inexact->exact and floor so quotient will
1121 work.
b9309d16 1122
1b2f40b9
MG
11232001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1124
1125 * README: Update, document available SRFIs.
1126
11272001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1128
1129 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
1130 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
1131 srfi-2.scm: Use `cond-expand-provide' for providing features to
1132 `cond-expand'.
1133
2fc933fe
MV
11342001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
1135
1136 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
1137 `initialized'.
1138
7c628196
MV
11392001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
1140
1141 Avoid using module operations from C.
e9313ed7 1142
7c628196
MV
1143 * srfi-13.c (scm_init_srfi_13_14): Removed.
1144 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
1145 initializations needed by C clients of srfi-14.
1146 (scm_init_srfi_13, scm_init_srfi_14): Call it.
de208a74 1147 * srfi-13.scm: Call "scm_init_srfi_13" instead of
7c628196 1148 "scm_init_srfi_13_14".
de208a74 1149 * srfi-14.scm: Call "scm_init_srfi_14" instead of
7c628196
MV
1150 "scm_init_srfi_13_14".
1151
d579d165
RB
11522001-05-16 Rob Browning <rlb@cs.utexas.edu>
1153
1154 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
1155
6851c8a4
MG
11562001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1157
1158 * Makefile.am (srfi_DATA): Added srfi-16.scm.
1159
1160 * srfi-16.scm: New file.
1161
163a7e0d
MG
11622001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1163
1164 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
1165 Fixed.
1166
2abe254d
MG
11672001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1168
1169 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
1170
2b60bc95
RB
11712001-05-05 Rob Browning <rlb@cs.utexas.edu>
1172
1173 * Makefile.am (srfi_DATA): added srfi-19.scm.
1174
1175 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
1176 Fitzgerald.
1177
2d953700
MG
11782001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1179
1180 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
1181
1182 * srfi-10.scm: Typo fix.
1183
109c463f
RB
11842001-05-02 Rob Browning <rlb@cs.utexas.edu>
1185
1186 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
1187
e1633bf3
MG
11882001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1189
1190 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
1191
1192 * srfi-10.scm: New file.
1193
1194 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
e9313ed7 1195 lot!
e1633bf3
MG
1196 Added `Commentary:' tag.
1197
1198 * srfi-9.scm: Added `Commentary:' tag.
1199
a0f979ac
RB
12002001-04-27 Rob Browning <rlb@cs.utexas.edu>
1201
1202 * srfi-13.h
1203 (scm_reverse_string_concatenate): renamed to
1204 scm_string_concatentate_reverse.
1205 (scm_reverse_string_concatenate_shared): renamed to
1206 scm_string_concatenate_reverse_shared.
1207
485efc12
GH
12082001-04-27 Gary Houston <ghouston@arglist.com>
1209
1210 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
1211 add "srfi/" to lines including .x files so they can be found
1212 when build_dir != src_dir.
1213
a6fd89a4
MG
12142001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1215
1216 * Makefile.am (srfi_DATA): Added srfi-9.scm.
1217
1218 * srfi-9.scm: New file. Exports `define-record-type'.
1219
b9c6d7a5
RB
12202001-04-26 Rob Browning <rlb@cs.utexas.edu>
1221
1222 * Makefile.am (srfi_DATA): added srfi-6.scm.
1223 (srfi_DATA): added srfi-11.scm.
1224 (srfi_DATA): added srfi-8.scm.
1225 (srfi_DATA): added srfi-2.scm.
1226
1227 * srfi-11.scm: new file - exports let-values and let*-values.
1228
1229 * srfi-6.scm: new file - guile already has srfi-6 procedures
1230 loaded by default, so this is a dummy file right now.
1231
1232 * srfi-8.scm: new file - exports receive.
1233
1234 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
1235
8dddb4bc
MG
12362001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1237
1238 Changed two procedure names to match final SRFI document. Thanks
1239 to Rob Browning for spotting this.
e9313ed7 1240
8dddb4bc
MG
1241 * srfi-13.scm (string-concatenate-reverse),
1242 (string-concatenate-reverse/shared): Rename from
1243 reverse-string-concatenate[/shared].
1244
1245 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
1246 scm_reverse_string_concatenate_shared.
1247 (scm_string_concatenate_reverse): Renamed from
1248 scm_reverse_string_concatenate.
1249
653c7291
MG
12502001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1251
1f7a1dc9
MG
1252 * configure.in, autogen.sh: Removed.
1253
653c7291
MG
1254 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
1255 when using memmove().
1256
1257 * srfi-14.h: Added prototypes for all exported procedures..
1258
1259 * srfi-13.c: Include srfi-13.h
1260
1261 * srfi-13.h: New file containing the prototypes.
1262
1263 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
1264 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
1265 distributed.
1266 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
1267
30f32820
NJ
12682001-04-24 Neil Jerram <neil@ossau.uklinux.net>
1269
1270 * Makefile.am: Fixed "srf-14.x" typo.
1271
fafb71de
MG
12722001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1273
1274 * guile-srfi.texi: Removed, because merged with the GRM.
1275
1276 * guile-srfi.texi: The docs are now up to date with the
1277 implementation and have new introductory material.
1278
ca003b26
MG
12792001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1280
1281 Integrated the guile-srfi package into the Guile distribution.
e9313ed7 1282
ca003b26
MG
1283 * srfi-13.c: All procedures so specified in the SRFI now accept
1284 character set arguments.
1285
1286 * Makefile.am: Snarfed some variables from the guile-readline
1287 directory.
1288
1289 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
1290
1291 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
1292 configure.in, Makefile.am: Added FSF copyright and Guile license
1293 information.
1294
1295 * srfi-13.c, srfi-14.c: Include srfi-14.h.
1296 (scm_init_srfi_13_14): Initialize the complete module, if not
1297 already done so.
1298
1299 * srfi-14.h: New file.
1300
1301 * srfi-13.scm, srfi-14.scm: Load new combined library.
1302
1303 * Makefile.am: Build only one library,
1304 `libguile-srfi-srfi-13-14.la'
1305
13062001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1307
1308 * guile-srfi.texi: Integrated the SRFI-14 documentation.
1309
1310 * srfi-14.c, srfi-14.scm: Made the procedures and variables
1311 compliant to the final SRFI document.
1312
1313 * Renamed the package to guile-srfi.
1314
13152001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1316
1317 * NEWS: New section for 0.0.3.
1318
1319 * configure.in, README, guile-srfi-13.texi: Bumped version number
1320 to 0.0.3.
1321
1322 * Released version 0.0.2.
e9313ed7 1323
ca003b26
MG
1324 * Makefile.am: Added rules for builing the SRFI-14 library.
1325
1326 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
1327 (character set library).
1328
13292001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1330
1331 * README: Updated procedure and incompatibility list.
1332
1333 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
1334 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
1335 (scm_string_downcaseS, string_titlecase_x),
1336 (scm_string_titlecase_x, scm_string_titlecase),
1337 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
1338 procedures.
1339
1340 * srfi-13.scm: Export new case mapping procedures.
1341
1342 * guile-srfi-13.texi (What cannot be done): Removed case mapping
1343 procedures from incompatibility list.
1344 (Case Mapping): New section for case mapping procedures.
1345
13462001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1347
1348 * NEWS: New section for 0.0.2
1349
1350 * configure.in, README, guile-srfi-13.texi: Bumbed version number
1351 to 0.0.2
1352
1353 * Released version 0.0.1.
1354
1355 * README: Made procedure list up-to-date.
1356
1357 * guile-srfi-13.texi: Fixed typos, completed reference and added
1358 introductory blurb.
1359
1360 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
1361
13622001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1363
1364 * Started guile-srfi-13 package. Files are copied from the
1365 guile-gdbm and slightly modified.
a2f00b9b
LC
1366
1367;; Local Variables:
1368;; coding: utf-8
1369;; End: