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