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