Include <config.h> in SRFI-1.
[bpt/guile.git] / srfi / ChangeLog
CommitLineData
a030cb4b
LC
12008-04-27 Ludovic Courtès <ludo@gnu.org>
2
3 * srfi-1.c: Include <config.h>.
4
816e3edf
LC
52008-04-26 Ludovic Courtès <ludo@gnu.org>
6
7 * srfi-35.scm: Provide `srfi-35' through `cond-expand-provide'.
8
189681f5
LC
92008-04-26 Ludovic Courtès <ludo@gnu.org>
10
11 * Makefile.am (srfi_DATA): Add `srfi-88.scm'.
12 * srfi-88.scm: New file.
13
62c5382b
LC
142008-03-12 Ludovic Courtès <ludo@gnu.org>
15
16 * srfi-37.scm (args-fold)[short-option]: Set ARGS to `(cdr
17 args)' before calling `next-arg'. This fixes parsing of
18 argument-less options when using short names.
19
d3cf93bc
NJ
202008-01-22 Neil Jerram <neil@ossau.uklinux.net>
21
22 * srfi-39.scm: Update copyright statement to LGPL.
23
70a44044
LC
242007-12-13 Stephen Compall <s11@member.fsf.org>
25
26 * srfi-69.scm (without-keyword-args): Use `cdr' instead of
27 `rest'.
28
1317062f
LC
292007-12-03 Stephen Compall <s11@member.fsf.org>
30
31 * srfi-69.scm: New file.
32 * Makefile.am: Add it.
33
bc4ee34e
LC
342007-09-10 Ludovic Courtès <ludo@gnu.org>
35
36 * srfi-35.scm (make-compound-condition-type): When PARENTS
37 contains only one element, return its car. This improves the
38 output of `print-condition' for non-compound conditions returned
39 by `make-compound-condition'.
40
f50ca8da
LC
412007-08-11 Ludovic Courtès <ludo@gnu.org>
42
43 * srfi-35.scm: New file.
44 * Makefile.am (srfi_DATA): Added `srfi-35.scm'.
45
6caac03c
LC
462007-07-29 Ludovic Courtès <ludo@gnu.org>
47
48 * Makefile.am (INCLUDES): Added Gnulib includes.
49 (libguile_srfi_srfi_1_v_@LIBGUILE_SRFI_SRFI_1_MAJOR@_la_LIBADD):
50 Added `../lib/libgnu.la'.
51 (libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_LIBADD):
52 Likewise.
53 (libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_LIBADD):
54 Likewise.
55 (libguile_srfi_srfi_60_v_@LIBGUILE_SRFI_SRFI_60_MAJOR@_la_LIBADD):
56 Likewise.
57
d4c38221
LC
582007-07-18 Stephen Compall <s11@member.fsf.org>
59
60 * srfi-37.scm: New file.
61 * Makefile.am: Add it.
62
0867f7ba
LC
632007-07-09 Ludovic Courtès <ludo@gnu.org>
64
65 * srfi-19.scm (date->julian-day): Take OFFSET into account.
66 Patch by Jon Wilson <j85wilson@fastmail.fm>.
67
a7db5522
LC
682007-05-09 Ludovic Courtès <ludo@chbouib.org>
69
70 * srfi-19.scm (priv:current-time-process): Removed shadowing
71 definition that returned a list. Use the right argument order to
72 `make-time'. Reported by Scott Shedden.
73
2656b1b2
LC
742007-02-04 Ludovic Courtès <ludovic.courtes@laas.fr>
75
76 * srfi/srfi-19.scm (priv:locale-abbr-weekday): Add one to the day
77 number before invoking `locale-day-short'. Failing to do so
78 resulted in days shifted by one in the result of `date->string',
79 or in the failure of `date->string' when the day is zero.
80 (priv:locale-long-weekday): Likewise.
81
a2f00b9b
LC
822007-01-31 Ludovic Courtès <ludovic.courtes@laas.fr>
83
84 * srfi-19.scm: Use `(ice-9 i18n)'.
85 (priv:locale-abbr-weekday-vector, priv:locale-long-weekday-vector,
86 priv:locale-abbr-month-vector, priv:locale-long-month-vector):
87 Removed.
88 (priv:locale-number-separator, priv:locale-pm, priv:locale-am,
89 priv:locale-abbr-weekday, priv:locale-long-weekday,
90 priv:locale-abbr-month, priv:locale-long-month): Aliases for their
91 respective `(ice-9 i18n)' equivalent.
92 (priv:vector-find): Removed, replaced by...
93 (priv:date-reverse-lookup): New procedure. Updated callers.
94 (priv:locale-am/pm): Use `priv:locale-pm' and `priv:locale-am' as
95 procedures.
96 (priv:directives): Use `priv:locale-number-separator' as a
97 procedure.
98
23d72566
KR
992006-12-02 Kevin Ryde <user42@zip.com.au>
100
101 * srfi-60.c (scm_srfi60_copy_bit): Should be long not int for fixnum
102 bitshift, fixes 64-bit systems setting a bit between 32 and 63.
103 Reported by Aaron M. Ucko, Debian bug 396119.
104
9a993171
KR
1052006-05-28 Kevin Ryde <user42@zip.com.au>
106
107 * srfi-1.scm, srfi-1.c, srfi-1.h (append-reverse, append-reverse!):
108 Rewrite in C.
109
1102006-05-20 Kevin Ryde <user42@zip.com.au>
111
112 * srfi-1.c (scm_srfi1_assoc): Correction to comparison procedure
113 argument order, SRFI-1 specifies given key is first.
114
0f24e75b
MV
1152006-02-06 Marius Vollmer <mvo@zagadka.de>
116
117 * srfi-1.scm, srfi-60.scm: Updated versions in library name to
118 match GUILE-VERSION.
119
0aa90220
KR
1202006-02-04 Kevin Ryde <user42@zip.com.au>
121
f36978c9
KR
122 * srfi-1.c (scm_srfi1_delete, scm_srfi1_delete_duplicates): Use a
123 count to protect against nasty code in the equality procedure changing
124 the lists we're working on. The results don't have to be sensible in
125 that case, just not hang or access non-cells.
126
0aa90220
KR
127 * srfi-60.c (booleans->integer): Avoid newline in macro, it breaks the
128 snarfer.
129
203a6c87
KR
1302005-11-24 Kevin Ryde <user42@zip.com.au>
131
132 * srfi-1.scm, srfi-1.c, srfi-1.h (lset-difference!): Rewrite in C.
133
ae2ffa26
KR
1342005-08-19 Kevin Ryde <user42@zip.com.au>
135
136 * srfi-19.scm (priv:leap-second-table): Add new 2005 leap second.
137
036482e9
MV
1382005-08-12 Marius Vollmer <mvo@zagadka.de>
139
140 * srfi-1.c: Use scm_is_null instead of SCM_NULLP. Thanks to
141 Peter Gavin!
142
5070fd11
MV
1432005-08-01 Marius Vollmer <mvo@zagadka.de>
144
145 * srfi-1.c (check_map_args): Move check_map_error label and elt
146 variable outside of loop scope so that we do not jump past the
147 initialization of elt.
148
fc4abd0e
MV
1492005-06-12 Marius Vollmer <mvo@zagadka.de>
150
151 * srfi-1.c: Do not use INUM macros, they are deprecated.
152
b52f5697
KR
1532005-05-07 Kevin Ryde <user42@zip.com.au>
154
155 * srfi-1.scm, srfi-1.c, srfi-1.h (car+cdr, fold, last, list-index,
156 list-tabulate, not-pair, xcons): Rewrite in C.
157
8ad5d74a
KR
1582005-05-04 Kevin Ryde <user42@zip.com.au>
159
160 * srfi-1.scm, srfi-1.c, srfi-1.h (break, break!, drop-right!,
161 drop-while, eighth, fifth, lset-adjoin, ninth, reduce, reduce-right,
162 seventh, sixth, span, span!, take!, take-while, take-while!, tenth):
163 Rewrite in C.
164
c51682b4
KR
1652005-04-23 Kevin Ryde <user42@zip.com.au>
166
167 * srfi-1.c (scm_srfi1_count, scm_srfi1_filter_map): Don't modify the
168 rest argument, that belongs to the caller when reached from apply.
169 Use a temp vector like scm_srfi1_for_each.
170
044bc597
KR
1712005-04-04 Kevin Ryde <user42@zip.com.au>
172
173 * srfi-1.c, srfi-1.h (scm_srfi1_concatenate, scm_srfi1_concatenate_x):
174 Add code to check argument is a list, scm_append and scm_append_x
175 don't do that on their "rest" list (in a normal build).
176
9b60e16f
KR
1772005-04-02 Kevin Ryde <user42@zip.com.au>
178
179 * srfi-1.c (scm_srfi1_count): Use scm_list_copy to make arg list,
180 instead of an inline loop. Share final list check between all cases
181 to save some code.
182
183 * srfi-1.c (scm_srfi1_filter_map): Have 2-arg case share finalization
184 code of 1-arg case.
185
161ec47f
KR
186 * srfi-1.scm (alist-cons): Define just as acons, not a call to acons.
187
188 * srfi-1.scm, srfi-1.c, srfi-1.h (alist-copy): Rewrite in C.
189
9b60e16f
KR
190 * srfi-1.scm (lset-union): Rewrite to accumulate result by consing in
191 the order specified by the SRFI.
192
87bdbdbc
MV
1932005-03-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
194
195 * srfi-60.c: Replaced SCM_INUMP with SCM_I_INUMP and SCM_INUM with
196 SCM_I_INUM throughout.
197
22ed4dd8
MV
1982005-03-26 Marius Vollmer <mvo@zagadka.de>
199
200 * Makefile.am (srfiinclude_HEADERS): Added srfi-60.h.
201
4bc6f1c6
KR
2022005-03-18 Kevin Ryde <user42@zip.com.au>
203
204 * srfi-1.scm, srfi-1.c, srfi-1.h (filter-map): Rewrite in C.
205
44981fcb
KR
2062005-03-16 Kevin Ryde <user42@zip.com.au>
207
208 * srfi-1.scm, srfi-1.c, srfi-1.h (drop-right, partition!, remove!,
74b23573
KR
209 split-at, split-at!, take-right): Rewrite in C. remove! derived from
210 core filter!.
44981fcb 211
d68c4ebb
KR
2122005-03-14 Kevin Ryde <user42@zip.com.au>
213
214 * srfi-1.scm, srfi-1.c, srfi-1.h (find, find-tail): Rewrite in C.
215
ba78f311
KR
2162005-03-13 Kevin Ryde <user42@zip.com.au>
217
85542c38
KR
218 * srfi-1.scm (lset-union): Call `=' procedure with args in the order
219 specified by the SRFI.
220
ba78f311
KR
221 * srfi-60.scm, srfi-60.c, srfi-60.h: New files.
222 * Makefile.am: Add them.
223
a81b8618
MV
2242005-03-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
225
226 * srfi-1.c: Use scm_is_pair instead of SCM_CONSP; use scm_is_null
227 instead of SCM_NULLP.
228
b5199d5d
KR
2292005-02-18 Kevin Ryde <user42@zip.com.au>
230
231 * srfi-1.scm (lset-adjoin): Revert change using `list' not `acc', the
232 spec is not quite clear, but reference code uses acc, so do that.
233
3087a981
KR
2342005-02-12 Kevin Ryde <user42@zip.com.au>
235
236 * srfi-1.scm (reduce, reduce-right): Don't call f with ridentity, use
237 it only if lst is empty, per srfi and intended optimization reduce
238 represents over fold.
239
cbec54af
KR
2402005-02-04 Kevin Ryde <user42@zip.com.au>
241
242 * srfi-1.scm (list=): Correction to arguments passed to given elt=,
243 spec is (elt= e[i] e[i+1]) for lists i and i+1, previously the first
244 arg was always from list 0 not list i.
245
38c3534c
KR
2462005-01-29 Kevin Ryde <user42@zip.com.au>
247
248 * srfi-1.scm (lset-adjoin): Actually use the given `=' procedure.
249 Test membership only on the given `list', not `acc', as per the spec.
250
83743da0
KR
251 * srfi-1.c, srfi-1.scm (remove): Rewrite in C, a trivial adaption from
252 scm_filter in the core.
253 * srfi-1.scm (remove!): Use filter!.
254
feb22e8f
KR
2552005-01-28 Kevin Ryde <user42@zip.com.au>
256
257 * srfi-1.scm (lset=): Correction to pred call arg order, srfi spec is
258 (= e[i] e[i+1]), but had some calls the other way around.
259
2f0a4e30
KR
2602005-01-24 Kevin Ryde <user42@zip.com.au>
261
262 * srfi-1.c (scm_srfi1_member): Correction to pred call arg order, srfi
d27d4bf7 263 spec is (PRED X elem). Update docstring from manual.
2f0a4e30
KR
264
265 * srfi-1.scm (lset=): Allow no list arguments, per srfi spec example.
266
0f0bf3b2
KR
2672005-01-18 Kevin Ryde <user42@zip.com.au>
268
269 * srfi-1.scm: Remove (ice-9 session) and (ice-9 receive), not used.
270
89efd60c
KR
2712005-01-12 Kevin Ryde <user42@zip.com.au>
272
273 * srfi-39.scm (current-input-port, current-output-port): Parameter
274 replacements for core functions, per SRFI spec.
275 (current-error-port): The same, for consistency.
276
3d8bccbd
MV
2772005-01-10 Marius Vollmer <mvo@zagadka.de>
278
279 * srfi-1.c (check_args): Bugfix to change from 2005-01-02: ARGV is
280 the vector to check, not ARGS.
281
5be5e699
MV
2822005-01-02 Marius Vollmer <mvo@zagadka.de>
283
284 * srfi-1.c: Use new vector elements API or simple vector API, as
285 appropriate.
286
45bb786f
KR
2872005-01-02 Kevin Ryde <user42@zip.com.au>
288
289 * Makefile.am (srfi_DATA): Add srfi-39.scm.
290
e1ea3bf9
MD
2912004-12-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
292
293 * README: Update, document available SRFIs.
294
64f79420
KR
2952004-12-06 Kevin Ryde <user42@zip.com.au>
296
371e3f77
KR
297 * srfi-1.scm (alist-copy, alist-delete, break, span): Change to
298 tail-recursive forms.
299
300 * srfi-1.scm (alist-delete): Correction to equality proc call argument
301 order, spec is for given KEY param first.
64f79420 302
da9c77cf
KR
3032004-12-05 Kevin Ryde <user42@zip.com.au>
304
305 * srfi-1.scm (filter-map): Change to a tail-recursive form.
eadc07b5
KR
306 (append-map, append-map!): Rewrite as simple "concatenate map" forms,
307 for tail recursiveness.
da9c77cf 308
79d52182
MV
3092004-10-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
310
311 * srfi-4.scm, srfi-4.h, srfi-4.c: Moved content into core; only
312 the skeletons remains.
313
3350b676
MV
3142004-10-22 Marius Vollmer <marius.vollmer@uni-dortmund.de>
315
316 * srfi-4.c (print_int64, print_uint64): Removed.
317 (uvec_print): Use scm_intprint for signed elemets and
318 scm_uintprint for unsigned ones. Do not use print_int64 and
319 print_uint64 since scm_intprint and scm_Uintprint can handle 64
320 bits now.
321
edea856c
SJ
3222004-09-03 Stefan Jahn <stefan@lkcc.org>
323
324 * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
325 lst1 is a #define on Win32 systems.
326
c581203a
KR
3272004-08-26 Kevin Ryde <user42@zip.com.au>
328
329 * srfi-31.scm (rec): Add missing `error' to else clause.
330
51fab002
MV
3312004-08-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
332
333 * Makefile.am: Added appropriate @LIBGUILE_*_MAJOR@ substitutions
334 to the library names.
335 * srfi-1.scm, srfi-4.scm: Use the new library names with
336 load-extension.
337
c5080b51
MV
3382004-08-25 Marius Vollmer <mvo@zagadka.de>
339
340 SRFI-13 and SRFI-14 have been moved into the core.
341
342 * srfi-13.scm, srfi-14.scm: Simply re-export the relevant
343 bindings.
344
345 * srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
346 content except for the init functions.
347
f26b9395
MV
3482004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
349
350 * srfi-13.h, srfi-13.c: (scm_substring_shared): Renamed to
351 scm_substring_sharedS.
352
353 * srfi-14.c, srfi-13.c: Adapted to new internal string and symbol
354 API.
355
356 * srfi-13.scm (substring/shared): Export as replacement since we
357 now have a version in the core.
358
bc97364a
MV
3592004-08-15 Marius Vollmer <mvo@zagadka.de>
360
361 * srfi-39.scm: New, from Jose A Ortega Ruiz. Thanks!
362
038a7484
KR
3632004-08-14 Kevin Ryde <user42@zip.com.au>
364
365 * srfi-13.c (scm_string_any, scm_string_every): Add support for char
366 and charset as predicates, per SRFI-13 spec.
367
c41acab3
MV
3682004-08-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
369
370 * srfi-13.c (MY_VALIDATE_SUBSTRING_SPEC_COPY,
371 MY_VALIDATE_STRING_COPY): Modernized clones of the deprecated
372 validation macros. Replaced every use.
373
03034594
KR
3742004-08-05 Kevin Ryde <user42@zip.com.au>
375
376 * srfi-13.c (scm_string_any, scm_string_every): Enhance docstrings as
377 per doc/ref/srfi-modules.texi.
378
dbf3eb1f
MV
3792004-08-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
380
381 * srfi-4.c: Replaced scm_num2* and scm_*2num with scm_to_* and
382 scm_from_*, respectively.
383 (print_int64, print_uint64): Rewritten by just calling scm_iprin1
384 on a SCM.
385
71234d0c
KR
3862004-08-02 Kevin Ryde <user42@zip.com.au>
387
388 * srfi-13.c (scm_string_every): Correction to initial "res" value,
a2f00b9b 389 return should be #t for an empty string. Reported by Andreas Vögele.
71234d0c 390
66998138
MV
3912004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
392
393 * srfi-13.c, srfi-14.c, srfi-4.c: Changed all uses of
394 SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY, SCM_VALIDATE_BIGINT,
395 SCM_VALIDATE_INUM_MIN, SCM_VALIDATE_INUM_MIN_COPY,
396 SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
397 SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
398 SCM_VALIDATE_INUM_RANGE_COPY to scm_to_size_t or similar.
399
054ebf6c
MV
4002004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
401
402 * srfi-1.c, srfi-13.c, srfi-14.c, srfi-4.c: Replaced all uses of
403 deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL, SCM_NEGATE_BOOL, and
404 SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and
405 scm_is_bool, respectively.
406
981e8059
KR
4072004-07-05 Kevin Ryde <user42@zip.com.au>
408
409 * srfi-4.c (uvec_sizes): Add "const".
410
ad3e9ceb
KR
411 * srfi-31.scm: Correction to heading comment.
412
6293838c
RB
4132004-06-20 Rob Browning <rlb@defaultvalue.org>
414
82d5c4b7 415 * srfi-4.c: fix #ifdef checks for 64-bit types; should be #if.
48de9bb3 416 Add separate symmetric test for SCM_HAVE_T_UINT64 in one case.
82d5c4b7 417 (uvec_print): rewrite using a union to make more
f5d54eb7
RB
418 compact, and use static print_uint64 and print_int64 to print
419 64-bit elements.
420 (print_int64): new static function (temporary fix).
421 (print_uint64): new static function (temporary fix).
422
f8ac3733
RB
423 * Makefile.am (srfi_DATA): add srfi-31.scm.
424
6293838c
RB
425 * srfi-31.scm: new file.
426
6aef9d2b
DH
4272004-04-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
428
429 * srfi-17.scm (setter, car, cdr etc.): When within one define
430 expression a new variable in the local module is defined in terms
431 of an equally named variable from some other module, use @ to
432 refer to the variable in the other module. This is necessary due
433 to section 5.2.1 of R5RS: In a define expression first the new
434 binding is created and then the expression is evaluated.
435
7301de79
KR
4362004-04-24 Kevin Ryde <user42@zip.com.au>
437
438 * srfi-11.scm (let-values): Use make-symbol rather than gensym, for
439 guaranteed uniqueness of temp variable symbols.
440
05fa9121
KR
4412004-04-15 Kevin Ryde <user42@zip.com.au>
442
443 * srfi-13.c (scm_string_trim, scm_string_trim_right,
444 scm_string_trim_both): Cast to unsigned char for isspace.
445
84fad130
HWN
4462004-04-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
447
448 * srfi-13.c (s_scm_string_map): convert character to unsigned char
449 before converting to unsigned int. This prevents hi-bit ascii as
450 being converted large integers.
451 (string_upcase_x): change caller for scm_{up,down}case to
452 scm_c_{up,down}case
453
c344fddd
KR
4542004-03-23 Kevin Ryde <user42@zip.com.au>
455
456 * srfi-1.scm (circular-list): Rewrite using set-cdr!, no need to copy
457 parameter list.
458
f1dc5f45
MD
4592004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
460
461 * Makefile.am (TAGS_FILES): Use this variable instead of
462 ETAGS_ARGS so that TAGS can be built using separate build
463 directory.
464
67314101
MV
4652004-01-24 Marius Vollmer <mvo@zagadka.de>
466
467 * Makefile.am (srfi_DATA): Added srfi-26.scm.
468
9a5fc8c2
MV
4692004-01-21 Marius Vollmer <m.vollmer@ping.de>
470
471 * srfi-26.scm: New, from Daniel Skarda. Thanks!
472
b35072cd
KR
4732003-12-03 Kevin Ryde <user42@zip.com.au>
474
475 * srfi-1.c, srfi-1.h, srfi-1.scm (count): Rewrite in C, avoiding
476 non-tail recursion.
477
478 * srfi-1.scm (map!): Define as an alias for map, previous definition
479 was not tail-recursive.
480
a54e06e5
KR
4812003-08-23 Kevin Ryde <user42@zip.com.au>
482
483 * srfi-1.c, srfi-1.h, srfi-1.scm (list-copy): New function, derived
484 from core list-copy but allowing improper lists, per SRFI-1 spec.
485
486 * srfi-19.scm (date-week-number): Correction, day of week starting
487 week applied was off by one.
488
8e5b4b9e
KR
4892003-07-29 Kevin Ryde <user42@zip.com.au>
490
491 * srfi-1.c, srfi-1.scm (concatenate, concatenate!): Use scm_append and
492 scm_append_x.
493
494 * srfi-1.c, srfi-1.h, srfi-1.scm (length+): Rewrite using scm_ilength.
495
496 * srfi-34.scm: Add cond-expand-provide srfi-34.
497
e7cc532b
KR
4982003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
499
500 * srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition):
501 Re-implement in C to avoid stack overflows for long input lists.
502
e5a74c26
KR
5032003-07-08 Kevin Ryde <user42@zip.com.au>
504
505 * srfi-1.c, srfi-1.h (scm_srfi1_delete, scm_srfi1_delete_x,
506 scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
507 functions. scm_srfi1_delete_x is derived from scm_delete_x.
508 * srfi-1.scm (delete, delete!, delete-duplicates, delete-duplicates!):
509 Remove.
510
f2478375
KR
5112003-06-07 Kevin Ryde <user42@zip.com.au>
512
513 * srfi-6.scm: #:re-export open-input-string, open-output-string and
514 get-output-string, for the benefit of applications wanting to use
515 #:select on the module.
516
2e945bcc
SJ
5172003-05-29 Stefan Jahn <stefan@lkcc.org>
518
519 * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
520 libguile_srfi_srfi_4_la_LDFLAGS,
521 libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
522 option for the mingw32 build.
523
a658e41b
KR
5242003-05-13 Kevin Ryde <user42@zip.com.au>
525
526 * srfi-1.scm (delete): Fix predicate arg order to match srfi-1 spec.
527
9c8721b5
KR
5282003-05-10 Kevin Ryde <user42@zip.com.au>
529
530 * srfi-1.scm (take): Make this an alias for list-head.
531 (drop): Make this an alias for list-tail.
532
a1a5dfa8
NJ
5332003-04-30 Neil Jerram <neil@ossau.uklinux.net>
534
535 * srfi-34.scm: New file.
536
2d2f76fc
MV
5372003-04-23 Marius Vollmer <mvo@zagadka.de>
538
539 * srfi-1.scm: Removed stray "o" from exports list.
540
1685446c
DH
5412003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
542
543 * srfi-1.c (srfi1_ilength): Prefer !SCM_CONSP over SCM_NCONSP.
544 Now, guile itself does not include any calls to SCM_NCONSP any
545 more.
546
73be1d9e
MV
5472003-04-05 Marius Vollmer <mvo@zagadka.de>
548
549 * Changed license terms to the plain LGPL thru-out.
550
e3c0c3b9
RB
5512003-03-25 Rob Browning <rlb@defaultvalue.org>
552
553 * srfi-4.c: replace typedefs for basic types with typedefs using
554 new standard int types (i.e. scm_t_uint8, etc.) -- should probably
555 remove typedefs altogether later.
556
b8b0abf0
MD
5572003-03-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
558
559 * srfi-1.scm: Re-export all srfi-1 bindings implemented by the
560 core. (Thanks to Kevin Ryde.)
561
d57da08b
MD
5622003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
563
564 * srfi-13.scm: Mark replacements.
565
566 * srfi-17.scm: Mark replacements.
567
f595ccfe
MD
5682003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
569
c614a00b
MD
570 * srfi-1.scm (iota, map, for-each, map-in-order, list-index,
571 member, delete, delete!, assoc): Marked as replacements.
572 (filter, filter!): Removed. (Now implemented in the core.)
f595ccfe 573
a48d60b1
MD
5742003-03-06 Mikael Djurfeldt <djurfeldt@nada.kth.se>
575
576 * srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
577 with the versions in this module using
578 scm_c_extend_primitive_generic.
579
f9ac1c2d
MD
5802003-02-03 Mikael Djurfeldt <djurfeldt@nada.kth.se>
581
582 * srfi-1.c (srfi1_for_each): Corrected argument checking for the
583 case of two argument lists. (Thanks to Kevin Ryde.)
584
b2cbe8d8
RB
5852002-12-08 Rob Browning <rlb@defaultvalue.org>
586
587 * Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.
588
2ab05d78
MV
5892002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
590
591 * Makefile.am (srfiinclude_HEADERS): Added srfi-1.h.
592
ee6aac97
MD
5932002-12-01 Mikael Djurfeldt <mdj@linnaeus>
594
595 * srfi-1.scm: Load srfi-1 extension.
7692d26b
MD
596 (map, map-in-order, for-each, member, assoc): Replaced by
597 primitives in srfi-1.c.
598 (map1): Defined as `map'.
ee6aac97
MD
599
600 * Makefile.am: Added rules for srfi-1.c.
601
602 * srfi-1.c, srfi-1.h: New files.
603
beac3691
MV
6042002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
605
606 * srfi-13.c (scm_string_tokenize): Instead of using "isgraphic" as
607 the subtitute for char-set:graphic when then token-set hsa been
608 defaulted, grab the real char-set:graphic from (srfi srfi-14).
609
610 * srfi-14.h (SCM_CHARSET_GET): Cast IDX to unsigned char so that
611 it works for 8-bit characters. Thanks to Matthias Koeppe! No,
a2f00b9b 612 make that "Köppe".
beac3691 613
54d4ac1f
MV
6142002-04-24 Marius Vollmer <mvo@zagadka.ping.de>
615
616 * srfi-13.c (s_scm_string_tokenize): Only take character sets as
617 the second arg. Collect characters belonging to this set into
618 tokens (as specified by the SRFI), instead of splitting at these
619 characters. Default to an equivalent of char-set:graphic instead
620 of everything-but-whitespace. Thanks to Matthias Koeppe!
621
21550b10
RB
6222002-04-10 Rob Browning <rlb@defaultvalue.org>
623
624 * .cvsignore: add *.c.clean.c.
625
cdfc4a7d
TTN
6262002-03-27 Thien-Thi Nguyen <ttn@giblet.glug.org>
627
628 * srfi-1.scm, srfi-13.scm, srfi-17.scm, srfi-4.scm, srfi-9.scm,
629 srfi-10.scm, srfi-14.scm, srfi-19.scm, srfi-6.scm, srfi-11.scm,
630 srfi-16.scm, srfi-2.scm, srfi-8.scm: Update copyright.
631 Point to manual in commentary; nfc.
632
e2bd68e0
MV
6332002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
634
635 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
636
2cd7ecb9
TTN
6372002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
638
639 * srfi-13.c, srfi-14.c, srfi-4.c:
640 Retire inclusion guard macro SCM_MAGIC_SNARFER.
641
ffaf65cd
TTN
642 * Makefile.am (snarfcppopts): New var.
643 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
644
16d98032
MV
6452002-03-11 Marius Vollmer <mvo@zagadka.ping.de>
646
647 * srfi-13.c (string_titlecase_x): Treat characters as unsigned so
648 that 8-bit chars work. Thanks to David Pirotte!
649
46151112
RB
6502002-02-24 Rob Browning <rlb@defaultvalue.org>
651
652 * Makefile.am (libguile_srfi_srfi_4_la_LDFLAGS): use
653 @LIBGUILE_SRFI_SRFI_4_INTERFACE@.
654 (libguile_srfi_srfi_13_14_la_LDFLAGS): use
655 @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@.
656
359b471e
NJ
6572002-02-23 Neil Jerram <neil@ossau.uklinux.net>
658
659 * srfi-19.scm (priv:month-assoc): Correct numbers so that they
660 match the expectations of priv:year-day.
661
cd328b4f
NJ
6622002-02-22 Neil Jerram <neil@ossau.uklinux.net>
663
664 * srfi-19.scm (priv:year-day): Index into priv:month-assoc using
a2f00b9b 665 month number, not day number. (Thanks to Sébastien de Menten de
cd328b4f
NJ
666 Horne for reporting the problem.)
667
7c686ba8
MV
6682002-02-11 Marius Vollmer <marius.vollmer@uni-dortmund.de>
669
670 * srfi-14.c, srfi-4.c: Use scm_gc_malloc/scm_malloc and
671 scm_gc_free/free instead of scm_must_malloc and scm_must_free, as
672 appropriate.
673
229d2c9c
TTN
6742002-01-21 Thien-Thi Nguyen <ttn@giblet.glug.org>
675
676 * srfi-1.scm (count1, take-while): Rewrite to be tail-recursive.
677 Thanks to Panagiotis Vossos.
678
c323f1f4
TTN
6792002-01-20 Thien-Thi Nguyen <ttn@giblet.glug.org>
680
681 * srfi-1.scm (map1): Rewrite to be tail-recursive.
682 Thanks to Panagiotis Vossos for the bug report.
683
197ee3d3
MV
6842001-12-16 Marius Vollmer <mvo@zagadka.ping.de>
685
686 * srfi-11.scm (let-values): Use `gensym' instead of `gentemp'.
687
ee148ae7
NJ
6882001-11-30 Neil Jerram <neil@ossau.uklinux.net>
689
690 * Makefile.am (ETAGS_ARGS): Added.
691
5d8fc640
MV
6922001-11-12 Marius Vollmer <mvo@zagadka.ping.de>
693
694 * srfi-4.c: Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
695 it with `#ifdef' instead of `#if'.
696
9401323e
NJ
6972001-11-07 Neil Jerram <neil@ossau.uklinux.net>
698
699 * srfi-13.c (scm_string_unfold, scm_string_unfold_right),
700 srfi-14.c (scm_char_set_unfold, scm_char_set_unfold_x): Remove
701 superfluous whitespace at end of docstring lines.
702
23b1bf4b
TTN
7032001-11-06 Thien-Thi Nguyen <ttn@glug.org>
704
705 * srfi-19.scm (time-monotonic->time-monotonic): Spurious;
706 remove from exports.
707
8f99e3f3
SJ
7082001-11-04 Stefan Jahn <stefan@lkcc.org>
709
23b1bf4b 710 * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed
8f99e3f3
SJ
711 __FOO__ macros into FOO.
712
836b6557
MV
7132001-11-03 Marius Vollmer <mvo@zagadka.ping.de>
714
715 * Makefile.am (libguile_srfi_srfi_4_la_LIBADD,
716 libguile_srfi_srfi_13_14_la_LIBADD): Refer to build directory, not
717 the source directory, for libguile.la. Thanks to Ken Raeburn.
718
f712d833
MV
7192001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
720
721 Support for native Win32. Thanks to Stefan Jahn!
23b1bf4b
TTN
722
723 * Makefile.am: Put `-no-undefined' into LDFLAGS to support linkers
f712d833
MV
724 which do not allow unresolved symbols inside shared libraries.
725
23b1bf4b 726 * srfi-13.h, srfi-14.h: Defined SCM_SRFI1314_API. Prefixed each
f712d833
MV
727 exported symbol with SCM_SRFI1314_API.
728
23b1bf4b 729 * srfi-4.h: Defined SCM_SRFI4_API. Prefixed each exported
f712d833
MV
730 symbol with SCM_SRFI4_API.
731
1a179b03
MD
7322001-10-21 Mikael Djurfeldt <mdj@linnaeus>
733
734 * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
735 srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
736 directives `export', `export-syntax', `re-export' and
737 `re-export-syntax' into the `define-module' form. This is the
738 recommended way of exporting bindings.
739
b21cccf3
MD
7402001-09-22 Mikael Djurfeldt <mdj@linnaeus>
741
742 * srfi-19.scm (priv:split-real): Inserted missing call to
743 inexact->exact.
744
0b073f0f
RB
7452001-09-21 Rob Browning <rlb@defaultvalue.org>
746
747 * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<".
748
749 * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
750 (scm_char_set_hash): val needs to be long, not just unsigned.
751 (scm_char_set): need 1L, not just 1 in "<<".
752 (scm_list_to_char_set): need 1L, not just 1 in "<<".
753 (scm_list_to_char_set_x): need 1L, not just 1 in "<<".
754 (scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
755 (scm_string_to_char_set): string length var needed to be
756 scm_sizet, not int.
757 (scm_string_to_char_set): need 1L, not just 1 in "<<".
758 (scm_string_to_char_set_x): string length var needed to be
759 scm_sizet, not int.
760 (scm_string_to_char_set_x): need 1L, not just 1 in "<<".
761 (scm_char_set_filter): need 1L, not just 1 in "<<".
762 (scm_char_set_filter_x): need 1L, not just 1 in "<<".
763 (scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
764 (scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
765 (scm_char_set_adjoin): need 1L, not just 1 in "<<".
766 (scm_char_set_delete): need 1L, not just 1 in "<<".
767 (scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
768 (scm_char_set_delete_x): need 1L, not just 1 in "<<".
769
6ddd9412
GH
7702001-09-12 Gary Houston <ghouston@arglist.com>
771
772 * srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
773
8c494e99
DH
7742001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
775
776 * srfi-1.scm, srfi-13.scm: Remove the defines that were needed to
777 trick export from the beginning of the files.
778
fa5a8c00
TTN
7792001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
780
781 * srfi-19.scm (add-duration): Fix bug: Call `add-duration!' w/
782 two args. Thanks to Alex Shinn.
783
b573e744
MV
7842001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
785
786 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
787
e9313ed7
TTN
7882001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
789
790 * srfi-13.h (scm_string_map, scm_string_map_x,
791 scm_string_for_each): Reverse order of first two args.
792 (scm_string_for_each_index): New proc.
793
794 * srfi-13.c (scm_string_for_each): Reverse order of first 2 args.
795 (scm_string_for_each_index): New func.
796
797 * srfi-13.scm (string-for-each-index): New exported proc.
798
799 Thanks to Alex Shinn.
800
80fdeb4e
MD
8012001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
802
803 * srfi-13.c (string-map): Swapped order of string and proc args to
804 conform with the srfi. (Thanks to Alex Shinn.)
805
5753f02f
GH
8062001-08-05 Gary Houston <ghouston@arglist.com>
807
808 * srfi-1.scm (check-arg-type, non-negative-integer?): a couple of new
809 internal definitions.
810 (list-tabulate, iota): check for bad arguments that otherwise
811 give weird output.
812 (filter): check for proper list, to avoid infinite recursion on
813 a circular list.
814
848458d9
GH
8152001-08-04 Gary Houston <ghouston@arglist.com>
816
817 * srfi-1.scm (filter): replaced with a tail-recursive version.
818 (remove): implement using filter, to make it tail-recursive.
819
9be74503
GH
8202001-07-31 Gary Houston <ghouston@arglist.com>
821
822 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
823 accounting for the (char-set-union cs2...) in the spec. i.e.,
824 (char-set-diff+intersection a) -> copy-of-a, empty-set
825 and the following are equivalent:
826 (char-set-diff+intersection a (char-set #\a) (char-set #\b))
827 (char-set-diff+intersection a (char-set #\a #\b))
828
829 (scm_char_set_xor_x): disabled the side-effecting code, since it
830 gives inconsistent results to scm_char_set_xor for the case
831 (char-set-xor! a a a).
e9313ed7 832
9be74503
GH
833 (scm_char_set_diff_plus_intersection_x): added cs2 argument, since
834 two arguments are compulsory in final spec. also similar changes
835 as for scm_char_set_diff_plus_intersection.
836 * srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
837
d1bc6602
GH
8382001-07-22 Gary Houston <ghouston@arglist.com>
839
840 * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
841 the compulsory cs1 arguments: all args are optional in final spec.
42b54c05 842
d1bc6602
GH
843 * srfi-14.h: declarations updated.
844
46a7b46f
MG
8452001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
846
847 * srfi-11.scm, srfi-8.scm: Update copyright notice.
848
4c4185ee
MG
8492001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
850
851 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
852 Guaranteed. (Maybe)
e9313ed7 853
4c4185ee
MG
854 * srfi-19.scm: Define `current-time' before exporting it.
855
2671725a
MG
8562001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
857
858 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
859 side. Bit sets were handled wrong because I couldn't tell bit
860 counts from byte counts. Also, the bit array should be 256 / 8
e9313ed7 861 bytes long. Thank you, Gary!
2671725a
MG
862
863 Removed unnecessary protoype for scm_char_set_copy.
864
8b19021c
GH
8652001-07-16 Gary Houston <ghouston@arglist.com>
866
867 * srfi-14.scm: export string->char-set!, not string-char-set!.
868
869 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
870 scm_end_of_char_set_p): reject negative cursor values.
871 (scm_list_to_char_set, scm_list_to_char_set_x): when reporting
872 type error in list component, omit the position (was always 1).
873
139777e5
MG
8742001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
875
876 (scm_char_set_map): Bug-fix: char-set-map was modifying the
877 argument instead of the return value.
878
cebf3d62
MG
8792001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
880
881 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
882 use this value for initializing and comparing charsets.
883 (scm_char_set_hash): Use ``better'' hash algorithm which produces
884 more values.
885
396f36cd 8862001-07-15 Gary Houston <ghouston@arglist.com>
e9313ed7 887
396f36cd
GH
888 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
889 opt arg to give default bound, as in final spec. don't allow
890 negative bounds.
b87f5a83
GH
891 (scm_char_set_hash): bug fix: was overrunning the buffer and
892 calculating based on garbage.
893 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
894 reporting: wasn't incremented due to macro coding.
895 (scm_char_set): report argument number in error reporting: was
896 hard coded to 1. remove a couple of local variables.
396f36cd 897
22647fef
MV
8982001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
899
900 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
901 `export-syntax'.
902
dd84cd4d
GH
9032001-07-11 Gary Houston <ghouston@arglist.com>
904
905 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
906 return #t instead of giving wrong-number-of-arguments . take a
907 single "rest" argument. use memcmp instead of a loop to compare
908 the values.
be390de2
GH
909 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
910 take a single "rest" argument.
911 srfi-14.h: update the declarations.
dd84cd4d 912
ee85583a
MG
9132001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
914
915 * README: Cleanup.
916
99f59e93
GH
9172001-07-06 Gary Houston <ghouston@arglist.com>
918
919 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
920 delete!, assoc): roll back the previous change. instead place
921 dummy definitions in a deprecated block at the beginning as in
922 srfi-13.scm.
e9313ed7 923
0d6209aa
RB
9242001-07-06 Rob Browning <rlb@defaultvalue.org>
925
926 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
927
26c22ea8
GH
9282001-07-03 Gary Houston <ghouston@arglist.com>
929
930 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
931 delete!, assoc): don't export until the new bindings have been
932 created. otherwise "export" thinks they are being re-exported and
933 a deprecation warning is produced.
6d52dbf2
GH
934 (map-in-order): defined and exported, to support lists of unequal
935 length.
26c22ea8 936
018adcae
MG
9372001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
938
939 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
e800aa04
MG
940 invalid arguments. Same fix for several other procedures (do not
941 use zero?, use <= 0).
018adcae 942
cef248dd
MG
9432001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
944
945 * srfi-1.scm: Replaced calls to `map' in several procedures to
946 calls to `map1'.
947 (map, for-each): New procedures, extended from R5RS.
948
2c4df451
MG
9492001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
950
951 * srfi-4.c: Minor cleanups.
952
953 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
954 (scm_char_set_unfold_x, scm_char_set_for_each)
955 (scm_char_set_map, scm_char_set_filter)
956 (scm_char_set_filter_x, scm_char_set_count)
957 (scm_char_set_every, scm_char_set_any): Replace calls to
958 scm_apply() with the corresponding scm_call_N() functions.
959
960 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
961 (scm_char_set_unfold, scm_char_set_unfold_x)
962 (scm_char_set_map, scm_char_set_diff_plus_intersection)
963 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
964 SCM_LISTN with calls to scm_list_N().
965
966 * srfi-13.c (scm_string_tabulate, scm_string_map)
967 (scm_string_map_x, scm_string_unfold)
968 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
969 with calls to scm_list_N().
970
971 * srfi-13.c (scm_string_any, scm_string_every),
972 (scm_string_tabulate, scm_string_trim),
973 (scm_string_trim_right, scm_string_trim_both),
974 (scm_string_compare, scm_string_compare_ci),
975 (scm_string_indexS, scm_string_index_right),
976 (scm_string_skip, scm_string_skip_right, scm_string_count),
977 (scm_string_map, scm_string_map_x, scm_string_fold),
978 (scm_string_fold_right, scm_string_unfold),
979 (scm_string_unfold_right, scm_string_for_each),
980 (scm_string_filter, scm_string_delete): Replace calls to
981 scm_apply() with the corresponding scm_call_N() functions.
982
71ca65d9
MG
9832001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
984
985 * Makefile.am: Added SRFI-4 files in various places.
986
987 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
988
36284627
DH
9892001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
990
991 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
992 scm_string_take_right, scm_string_drop_right, scm_string_trim,
993 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
994 Use scm_mem2string instead of scm_makfromstr.
995
996 (scm_reverse_list_to_string, string_titlecase_x): Prefer
997 !SCM_<pred> over SCM_N<pred>.
998
f6581113
MV
9992001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
1000
1001 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
1002 `receive'.
1003
d0e06238
MV
10042001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
1005
1006 The SRFI-19 implementation was completely broken. Already the
1007 reference implementation did not handle DST and time zones
1008 properly and relied on non-R5RS-isms like passing reals to
1009 `quotient'. For Guile, some additional fixes were needed because
1010 of the incomplete numeric tower implementation. See also
e9313ed7
TTN
1011 srfi-19.test.
1012
d0e06238 1013 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
e9313ed7 1014 (add-duration): Renamed from priv:add-duration.
d0e06238
MV
1015 (priv:time-normalize!): Handle fractional nanoseconds; remove
1016 duplicate definition.
1017 (priv:current-time-tai): Fixed typo.
1018 (time=?, time<=?): Fixed typos.
1019 (time-tai->time-utc, time-utc->time-tai,
1020 time-utc->time-monotonic): Use make-time-unnormalized instead of
1021 make-time when uninitialized time fields are used.
1022 (set-date-nanosecond!, set-date-second!, set-date-minute!,
1023 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
1024 set-date-zone-offset!): Define.
1025 (priv:local-tz-offset): Take an extra argument in order to handle
1026 DST effects.
1027 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
1028 changed signature of priv:local-tz-offset. Don't pass non-integer
e9313ed7 1029 arguments to quotient (non-R5RS, not supported by Guile).
d0e06238
MV
1030 (date->time-utc): Ensure that seconds in a date structure are
1031 always exact integers. Handle DST properly.
1032 (current-date, julian-day->date, modified-julian-day->date):
e9313ed7 1033 Handle the changed signature of priv:local-tz-offset.
d0e06238
MV
1034 (julian-day->time-utc): Reverted earlier inexact->exact hack;
1035 make-time now handles inexact arguments.
1036 (priv:locale-print-time-zone): At least print the numerical time
e9313ed7 1037 zone.
d0e06238
MV
1038 (priv:integer-reader): Fixed named let iteration.
1039 (priv:read-directives): Use set-date-month! instead of
1040 priv:set-date-month! etc.
1041 (string->date): Handle DST properly.
1042
0f002b27
MV
10432001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
1044
1045 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
1046
e81d98ec
DH
10472001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
1048
1049 * srfi-14.c (charset_print): Mark unused parameters with
1050 SCM_UNUSED.
1051
563058ef
MG
10522001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1053
1054 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
1055 (delete-duplicates): Now the first occurrence of an element is
1056 retained, as required.
1057 (member, assoc): Fixed wrong order of equality predicate
1058 application.
563058ef 1059
e9680547
MG
10602001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1061
1062 * README: Update.
1063
1064 * srfi-1.scm: New file.
1065
f480396b
MV
10662001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
1067
1068 Added exception notice to all files.
1069
dd22a80a
MG
10702001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1071
1072 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
1073 shared library.
1074
998c3141
ML
10752001-05-31 Michael Livshin <mlivshin@bigfoot.com>
1076
1077 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
1078 case.
1079 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
1080
6b0d28a3
ML
10812001-05-28 Michael Livshin <mlivshin@bigfoot.com>
1082
1083 * srfi-19.scm: removed a stray open parenthesis. (thanks to
a2f00b9b 1084 Matthias Köppe for the report).
6b0d28a3 1085
b9309d16
RB
10862001-05-23 Rob Browning <rlb@cs.utexas.edu>
1087
1088 * srfi-19.scm (:optional): renamed to optional to avoid reader
60a54e2f
RB
1089 keywords conflict. Time passes... Removed :optional altogether
1090 and just handle optional args directly. Thanks to Matthias Koeppe
1091 for the report of this and the two bits below.
1092 (priv:decode-julian-day-number): add inexact->exact for truncate
1093 result.
1094 (time-utc->date): add inexact->exact and floor so quotient will
1095 work.
b9309d16 1096
1b2f40b9
MG
10972001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1098
1099 * README: Update, document available SRFIs.
1100
11012001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1102
1103 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
1104 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
1105 srfi-2.scm: Use `cond-expand-provide' for providing features to
1106 `cond-expand'.
1107
2fc933fe
MV
11082001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
1109
1110 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
1111 `initialized'.
1112
7c628196
MV
11132001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
1114
1115 Avoid using module operations from C.
e9313ed7 1116
7c628196
MV
1117 * srfi-13.c (scm_init_srfi_13_14): Removed.
1118 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
1119 initializations needed by C clients of srfi-14.
1120 (scm_init_srfi_13, scm_init_srfi_14): Call it.
de208a74 1121 * srfi-13.scm: Call "scm_init_srfi_13" instead of
7c628196 1122 "scm_init_srfi_13_14".
de208a74 1123 * srfi-14.scm: Call "scm_init_srfi_14" instead of
7c628196
MV
1124 "scm_init_srfi_13_14".
1125
d579d165
RB
11262001-05-16 Rob Browning <rlb@cs.utexas.edu>
1127
1128 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
1129
6851c8a4
MG
11302001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1131
1132 * Makefile.am (srfi_DATA): Added srfi-16.scm.
1133
1134 * srfi-16.scm: New file.
1135
163a7e0d
MG
11362001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1137
1138 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
1139 Fixed.
1140
2abe254d
MG
11412001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1142
1143 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
1144
2b60bc95
RB
11452001-05-05 Rob Browning <rlb@cs.utexas.edu>
1146
1147 * Makefile.am (srfi_DATA): added srfi-19.scm.
1148
1149 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
1150 Fitzgerald.
1151
2d953700
MG
11522001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1153
1154 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
1155
1156 * srfi-10.scm: Typo fix.
1157
109c463f
RB
11582001-05-02 Rob Browning <rlb@cs.utexas.edu>
1159
1160 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
1161
e1633bf3
MG
11622001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1163
1164 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
1165
1166 * srfi-10.scm: New file.
1167
1168 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
e9313ed7 1169 lot!
e1633bf3
MG
1170 Added `Commentary:' tag.
1171
1172 * srfi-9.scm: Added `Commentary:' tag.
1173
a0f979ac
RB
11742001-04-27 Rob Browning <rlb@cs.utexas.edu>
1175
1176 * srfi-13.h
1177 (scm_reverse_string_concatenate): renamed to
1178 scm_string_concatentate_reverse.
1179 (scm_reverse_string_concatenate_shared): renamed to
1180 scm_string_concatenate_reverse_shared.
1181
485efc12
GH
11822001-04-27 Gary Houston <ghouston@arglist.com>
1183
1184 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
1185 add "srfi/" to lines including .x files so they can be found
1186 when build_dir != src_dir.
1187
a6fd89a4
MG
11882001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1189
1190 * Makefile.am (srfi_DATA): Added srfi-9.scm.
1191
1192 * srfi-9.scm: New file. Exports `define-record-type'.
1193
b9c6d7a5
RB
11942001-04-26 Rob Browning <rlb@cs.utexas.edu>
1195
1196 * Makefile.am (srfi_DATA): added srfi-6.scm.
1197 (srfi_DATA): added srfi-11.scm.
1198 (srfi_DATA): added srfi-8.scm.
1199 (srfi_DATA): added srfi-2.scm.
1200
1201 * srfi-11.scm: new file - exports let-values and let*-values.
1202
1203 * srfi-6.scm: new file - guile already has srfi-6 procedures
1204 loaded by default, so this is a dummy file right now.
1205
1206 * srfi-8.scm: new file - exports receive.
1207
1208 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
1209
8dddb4bc
MG
12102001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1211
1212 Changed two procedure names to match final SRFI document. Thanks
1213 to Rob Browning for spotting this.
e9313ed7 1214
8dddb4bc
MG
1215 * srfi-13.scm (string-concatenate-reverse),
1216 (string-concatenate-reverse/shared): Rename from
1217 reverse-string-concatenate[/shared].
1218
1219 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
1220 scm_reverse_string_concatenate_shared.
1221 (scm_string_concatenate_reverse): Renamed from
1222 scm_reverse_string_concatenate.
1223
653c7291
MG
12242001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1225
1f7a1dc9
MG
1226 * configure.in, autogen.sh: Removed.
1227
653c7291
MG
1228 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
1229 when using memmove().
1230
1231 * srfi-14.h: Added prototypes for all exported procedures..
1232
1233 * srfi-13.c: Include srfi-13.h
1234
1235 * srfi-13.h: New file containing the prototypes.
1236
1237 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
1238 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
1239 distributed.
1240 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
1241
30f32820
NJ
12422001-04-24 Neil Jerram <neil@ossau.uklinux.net>
1243
1244 * Makefile.am: Fixed "srf-14.x" typo.
1245
fafb71de
MG
12462001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1247
1248 * guile-srfi.texi: Removed, because merged with the GRM.
1249
1250 * guile-srfi.texi: The docs are now up to date with the
1251 implementation and have new introductory material.
1252
ca003b26
MG
12532001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1254
1255 Integrated the guile-srfi package into the Guile distribution.
e9313ed7 1256
ca003b26
MG
1257 * srfi-13.c: All procedures so specified in the SRFI now accept
1258 character set arguments.
1259
1260 * Makefile.am: Snarfed some variables from the guile-readline
1261 directory.
1262
1263 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
1264
1265 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
1266 configure.in, Makefile.am: Added FSF copyright and Guile license
1267 information.
1268
1269 * srfi-13.c, srfi-14.c: Include srfi-14.h.
1270 (scm_init_srfi_13_14): Initialize the complete module, if not
1271 already done so.
1272
1273 * srfi-14.h: New file.
1274
1275 * srfi-13.scm, srfi-14.scm: Load new combined library.
1276
1277 * Makefile.am: Build only one library,
1278 `libguile-srfi-srfi-13-14.la'
1279
12802001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1281
1282 * guile-srfi.texi: Integrated the SRFI-14 documentation.
1283
1284 * srfi-14.c, srfi-14.scm: Made the procedures and variables
1285 compliant to the final SRFI document.
1286
1287 * Renamed the package to guile-srfi.
1288
12892001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1290
1291 * NEWS: New section for 0.0.3.
1292
1293 * configure.in, README, guile-srfi-13.texi: Bumped version number
1294 to 0.0.3.
1295
1296 * Released version 0.0.2.
e9313ed7 1297
ca003b26
MG
1298 * Makefile.am: Added rules for builing the SRFI-14 library.
1299
1300 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
1301 (character set library).
1302
13032001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1304
1305 * README: Updated procedure and incompatibility list.
1306
1307 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
1308 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
1309 (scm_string_downcaseS, string_titlecase_x),
1310 (scm_string_titlecase_x, scm_string_titlecase),
1311 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
1312 procedures.
1313
1314 * srfi-13.scm: Export new case mapping procedures.
1315
1316 * guile-srfi-13.texi (What cannot be done): Removed case mapping
1317 procedures from incompatibility list.
1318 (Case Mapping): New section for case mapping procedures.
1319
13202001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1321
1322 * NEWS: New section for 0.0.2
1323
1324 * configure.in, README, guile-srfi-13.texi: Bumbed version number
1325 to 0.0.2
1326
1327 * Released version 0.0.1.
1328
1329 * README: Made procedure list up-to-date.
1330
1331 * guile-srfi-13.texi: Fixed typos, completed reference and added
1332 introductory blurb.
1333
1334 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
1335
13362001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1337
1338 * Started guile-srfi-13 package. Files are copied from the
1339 guile-gdbm and slightly modified.
a2f00b9b
LC
1340
1341;; Local Variables:
1342;; coding: utf-8
1343;; End: