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