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