Revision: lcourtes@laas.fr--2006-libre/guile-core--cvs-head--0--patch-81
[bpt/guile.git] / srfi / ChangeLog
CommitLineData
d4c38221
LC
12007-07-18 Stephen Compall <s11@member.fsf.org>
2
3 * srfi-37.scm: New file.
4 * Makefile.am: Add it.
5
0867f7ba
LC
62007-07-09 Ludovic Courtès <ludo@gnu.org>
7
8 * srfi-19.scm (date->julian-day): Take OFFSET into account.
9 Patch by Jon Wilson <j85wilson@fastmail.fm>.
10
a7db5522
LC
112007-05-09 Ludovic Courtès <ludo@chbouib.org>
12
13 * srfi-19.scm (priv:current-time-process): Removed shadowing
14 definition that returned a list. Use the right argument order to
15 `make-time'. Reported by Scott Shedden.
16
2656b1b2
LC
172007-02-04 Ludovic Courtès <ludovic.courtes@laas.fr>
18
19 * srfi/srfi-19.scm (priv:locale-abbr-weekday): Add one to the day
20 number before invoking `locale-day-short'. Failing to do so
21 resulted in days shifted by one in the result of `date->string',
22 or in the failure of `date->string' when the day is zero.
23 (priv:locale-long-weekday): Likewise.
24
a2f00b9b
LC
252007-01-31 Ludovic Courtès <ludovic.courtes@laas.fr>
26
27 * srfi-19.scm: Use `(ice-9 i18n)'.
28 (priv:locale-abbr-weekday-vector, priv:locale-long-weekday-vector,
29 priv:locale-abbr-month-vector, priv:locale-long-month-vector):
30 Removed.
31 (priv:locale-number-separator, priv:locale-pm, priv:locale-am,
32 priv:locale-abbr-weekday, priv:locale-long-weekday,
33 priv:locale-abbr-month, priv:locale-long-month): Aliases for their
34 respective `(ice-9 i18n)' equivalent.
35 (priv:vector-find): Removed, replaced by...
36 (priv:date-reverse-lookup): New procedure. Updated callers.
37 (priv:locale-am/pm): Use `priv:locale-pm' and `priv:locale-am' as
38 procedures.
39 (priv:directives): Use `priv:locale-number-separator' as a
40 procedure.
41
23d72566
KR
422006-12-02 Kevin Ryde <user42@zip.com.au>
43
44 * srfi-60.c (scm_srfi60_copy_bit): Should be long not int for fixnum
45 bitshift, fixes 64-bit systems setting a bit between 32 and 63.
46 Reported by Aaron M. Ucko, Debian bug 396119.
47
9a993171
KR
482006-05-28 Kevin Ryde <user42@zip.com.au>
49
50 * srfi-1.scm, srfi-1.c, srfi-1.h (append-reverse, append-reverse!):
51 Rewrite in C.
52
532006-05-20 Kevin Ryde <user42@zip.com.au>
54
55 * srfi-1.c (scm_srfi1_assoc): Correction to comparison procedure
56 argument order, SRFI-1 specifies given key is first.
57
0f24e75b
MV
582006-02-06 Marius Vollmer <mvo@zagadka.de>
59
60 * srfi-1.scm, srfi-60.scm: Updated versions in library name to
61 match GUILE-VERSION.
62
0aa90220
KR
632006-02-04 Kevin Ryde <user42@zip.com.au>
64
f36978c9
KR
65 * srfi-1.c (scm_srfi1_delete, scm_srfi1_delete_duplicates): Use a
66 count to protect against nasty code in the equality procedure changing
67 the lists we're working on. The results don't have to be sensible in
68 that case, just not hang or access non-cells.
69
0aa90220
KR
70 * srfi-60.c (booleans->integer): Avoid newline in macro, it breaks the
71 snarfer.
72
203a6c87
KR
732005-11-24 Kevin Ryde <user42@zip.com.au>
74
75 * srfi-1.scm, srfi-1.c, srfi-1.h (lset-difference!): Rewrite in C.
76
ae2ffa26
KR
772005-08-19 Kevin Ryde <user42@zip.com.au>
78
79 * srfi-19.scm (priv:leap-second-table): Add new 2005 leap second.
80
036482e9
MV
812005-08-12 Marius Vollmer <mvo@zagadka.de>
82
83 * srfi-1.c: Use scm_is_null instead of SCM_NULLP. Thanks to
84 Peter Gavin!
85
5070fd11
MV
862005-08-01 Marius Vollmer <mvo@zagadka.de>
87
88 * srfi-1.c (check_map_args): Move check_map_error label and elt
89 variable outside of loop scope so that we do not jump past the
90 initialization of elt.
91
fc4abd0e
MV
922005-06-12 Marius Vollmer <mvo@zagadka.de>
93
94 * srfi-1.c: Do not use INUM macros, they are deprecated.
95
b52f5697
KR
962005-05-07 Kevin Ryde <user42@zip.com.au>
97
98 * srfi-1.scm, srfi-1.c, srfi-1.h (car+cdr, fold, last, list-index,
99 list-tabulate, not-pair, xcons): Rewrite in C.
100
8ad5d74a
KR
1012005-05-04 Kevin Ryde <user42@zip.com.au>
102
103 * srfi-1.scm, srfi-1.c, srfi-1.h (break, break!, drop-right!,
104 drop-while, eighth, fifth, lset-adjoin, ninth, reduce, reduce-right,
105 seventh, sixth, span, span!, take!, take-while, take-while!, tenth):
106 Rewrite in C.
107
c51682b4
KR
1082005-04-23 Kevin Ryde <user42@zip.com.au>
109
110 * srfi-1.c (scm_srfi1_count, scm_srfi1_filter_map): Don't modify the
111 rest argument, that belongs to the caller when reached from apply.
112 Use a temp vector like scm_srfi1_for_each.
113
044bc597
KR
1142005-04-04 Kevin Ryde <user42@zip.com.au>
115
116 * srfi-1.c, srfi-1.h (scm_srfi1_concatenate, scm_srfi1_concatenate_x):
117 Add code to check argument is a list, scm_append and scm_append_x
118 don't do that on their "rest" list (in a normal build).
119
9b60e16f
KR
1202005-04-02 Kevin Ryde <user42@zip.com.au>
121
122 * srfi-1.c (scm_srfi1_count): Use scm_list_copy to make arg list,
123 instead of an inline loop. Share final list check between all cases
124 to save some code.
125
126 * srfi-1.c (scm_srfi1_filter_map): Have 2-arg case share finalization
127 code of 1-arg case.
128
161ec47f
KR
129 * srfi-1.scm (alist-cons): Define just as acons, not a call to acons.
130
131 * srfi-1.scm, srfi-1.c, srfi-1.h (alist-copy): Rewrite in C.
132
9b60e16f
KR
133 * srfi-1.scm (lset-union): Rewrite to accumulate result by consing in
134 the order specified by the SRFI.
135
87bdbdbc
MV
1362005-03-29 Marius Vollmer <marius.vollmer@uni-dortmund.de>
137
138 * srfi-60.c: Replaced SCM_INUMP with SCM_I_INUMP and SCM_INUM with
139 SCM_I_INUM throughout.
140
22ed4dd8
MV
1412005-03-26 Marius Vollmer <mvo@zagadka.de>
142
143 * Makefile.am (srfiinclude_HEADERS): Added srfi-60.h.
144
4bc6f1c6
KR
1452005-03-18 Kevin Ryde <user42@zip.com.au>
146
147 * srfi-1.scm, srfi-1.c, srfi-1.h (filter-map): Rewrite in C.
148
44981fcb
KR
1492005-03-16 Kevin Ryde <user42@zip.com.au>
150
151 * srfi-1.scm, srfi-1.c, srfi-1.h (drop-right, partition!, remove!,
74b23573
KR
152 split-at, split-at!, take-right): Rewrite in C. remove! derived from
153 core filter!.
44981fcb 154
d68c4ebb
KR
1552005-03-14 Kevin Ryde <user42@zip.com.au>
156
157 * srfi-1.scm, srfi-1.c, srfi-1.h (find, find-tail): Rewrite in C.
158
ba78f311
KR
1592005-03-13 Kevin Ryde <user42@zip.com.au>
160
85542c38
KR
161 * srfi-1.scm (lset-union): Call `=' procedure with args in the order
162 specified by the SRFI.
163
ba78f311
KR
164 * srfi-60.scm, srfi-60.c, srfi-60.h: New files.
165 * Makefile.am: Add them.
166
a81b8618
MV
1672005-03-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
168
169 * srfi-1.c: Use scm_is_pair instead of SCM_CONSP; use scm_is_null
170 instead of SCM_NULLP.
171
b5199d5d
KR
1722005-02-18 Kevin Ryde <user42@zip.com.au>
173
174 * srfi-1.scm (lset-adjoin): Revert change using `list' not `acc', the
175 spec is not quite clear, but reference code uses acc, so do that.
176
3087a981
KR
1772005-02-12 Kevin Ryde <user42@zip.com.au>
178
179 * srfi-1.scm (reduce, reduce-right): Don't call f with ridentity, use
180 it only if lst is empty, per srfi and intended optimization reduce
181 represents over fold.
182
cbec54af
KR
1832005-02-04 Kevin Ryde <user42@zip.com.au>
184
185 * srfi-1.scm (list=): Correction to arguments passed to given elt=,
186 spec is (elt= e[i] e[i+1]) for lists i and i+1, previously the first
187 arg was always from list 0 not list i.
188
38c3534c
KR
1892005-01-29 Kevin Ryde <user42@zip.com.au>
190
191 * srfi-1.scm (lset-adjoin): Actually use the given `=' procedure.
192 Test membership only on the given `list', not `acc', as per the spec.
193
83743da0
KR
194 * srfi-1.c, srfi-1.scm (remove): Rewrite in C, a trivial adaption from
195 scm_filter in the core.
196 * srfi-1.scm (remove!): Use filter!.
197
feb22e8f
KR
1982005-01-28 Kevin Ryde <user42@zip.com.au>
199
200 * srfi-1.scm (lset=): Correction to pred call arg order, srfi spec is
201 (= e[i] e[i+1]), but had some calls the other way around.
202
2f0a4e30
KR
2032005-01-24 Kevin Ryde <user42@zip.com.au>
204
205 * srfi-1.c (scm_srfi1_member): Correction to pred call arg order, srfi
d27d4bf7 206 spec is (PRED X elem). Update docstring from manual.
2f0a4e30
KR
207
208 * srfi-1.scm (lset=): Allow no list arguments, per srfi spec example.
209
0f0bf3b2
KR
2102005-01-18 Kevin Ryde <user42@zip.com.au>
211
212 * srfi-1.scm: Remove (ice-9 session) and (ice-9 receive), not used.
213
89efd60c
KR
2142005-01-12 Kevin Ryde <user42@zip.com.au>
215
216 * srfi-39.scm (current-input-port, current-output-port): Parameter
217 replacements for core functions, per SRFI spec.
218 (current-error-port): The same, for consistency.
219
3d8bccbd
MV
2202005-01-10 Marius Vollmer <mvo@zagadka.de>
221
222 * srfi-1.c (check_args): Bugfix to change from 2005-01-02: ARGV is
223 the vector to check, not ARGS.
224
5be5e699
MV
2252005-01-02 Marius Vollmer <mvo@zagadka.de>
226
227 * srfi-1.c: Use new vector elements API or simple vector API, as
228 appropriate.
229
45bb786f
KR
2302005-01-02 Kevin Ryde <user42@zip.com.au>
231
232 * Makefile.am (srfi_DATA): Add srfi-39.scm.
233
e1ea3bf9
MD
2342004-12-20 Mikael Djurfeldt <djurfeldt@nada.kth.se>
235
236 * README: Update, document available SRFIs.
237
64f79420
KR
2382004-12-06 Kevin Ryde <user42@zip.com.au>
239
371e3f77
KR
240 * srfi-1.scm (alist-copy, alist-delete, break, span): Change to
241 tail-recursive forms.
242
243 * srfi-1.scm (alist-delete): Correction to equality proc call argument
244 order, spec is for given KEY param first.
64f79420 245
da9c77cf
KR
2462004-12-05 Kevin Ryde <user42@zip.com.au>
247
248 * srfi-1.scm (filter-map): Change to a tail-recursive form.
eadc07b5
KR
249 (append-map, append-map!): Rewrite as simple "concatenate map" forms,
250 for tail recursiveness.
da9c77cf 251
79d52182
MV
2522004-10-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
253
254 * srfi-4.scm, srfi-4.h, srfi-4.c: Moved content into core; only
255 the skeletons remains.
256
3350b676
MV
2572004-10-22 Marius Vollmer <marius.vollmer@uni-dortmund.de>
258
259 * srfi-4.c (print_int64, print_uint64): Removed.
260 (uvec_print): Use scm_intprint for signed elemets and
261 scm_uintprint for unsigned ones. Do not use print_int64 and
262 print_uint64 since scm_intprint and scm_Uintprint can handle 64
263 bits now.
264
edea856c
SJ
2652004-09-03 Stefan Jahn <stefan@lkcc.org>
266
267 * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
268 lst1 is a #define on Win32 systems.
269
c581203a
KR
2702004-08-26 Kevin Ryde <user42@zip.com.au>
271
272 * srfi-31.scm (rec): Add missing `error' to else clause.
273
51fab002
MV
2742004-08-26 Marius Vollmer <marius.vollmer@uni-dortmund.de>
275
276 * Makefile.am: Added appropriate @LIBGUILE_*_MAJOR@ substitutions
277 to the library names.
278 * srfi-1.scm, srfi-4.scm: Use the new library names with
279 load-extension.
280
c5080b51
MV
2812004-08-25 Marius Vollmer <mvo@zagadka.de>
282
283 SRFI-13 and SRFI-14 have been moved into the core.
284
285 * srfi-13.scm, srfi-14.scm: Simply re-export the relevant
286 bindings.
287
288 * srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
289 content except for the init functions.
290
f26b9395
MV
2912004-08-19 Marius Vollmer <marius.vollmer@uni-dortmund.de>
292
293 * srfi-13.h, srfi-13.c: (scm_substring_shared): Renamed to
294 scm_substring_sharedS.
295
296 * srfi-14.c, srfi-13.c: Adapted to new internal string and symbol
297 API.
298
299 * srfi-13.scm (substring/shared): Export as replacement since we
300 now have a version in the core.
301
bc97364a
MV
3022004-08-15 Marius Vollmer <mvo@zagadka.de>
303
304 * srfi-39.scm: New, from Jose A Ortega Ruiz. Thanks!
305
038a7484
KR
3062004-08-14 Kevin Ryde <user42@zip.com.au>
307
308 * srfi-13.c (scm_string_any, scm_string_every): Add support for char
309 and charset as predicates, per SRFI-13 spec.
310
c41acab3
MV
3112004-08-12 Marius Vollmer <marius.vollmer@uni-dortmund.de>
312
313 * srfi-13.c (MY_VALIDATE_SUBSTRING_SPEC_COPY,
314 MY_VALIDATE_STRING_COPY): Modernized clones of the deprecated
315 validation macros. Replaced every use.
316
03034594
KR
3172004-08-05 Kevin Ryde <user42@zip.com.au>
318
319 * srfi-13.c (scm_string_any, scm_string_every): Enhance docstrings as
320 per doc/ref/srfi-modules.texi.
321
dbf3eb1f
MV
3222004-08-02 Marius Vollmer <marius.vollmer@uni-dortmund.de>
323
324 * srfi-4.c: Replaced scm_num2* and scm_*2num with scm_to_* and
325 scm_from_*, respectively.
326 (print_int64, print_uint64): Rewritten by just calling scm_iprin1
327 on a SCM.
328
71234d0c
KR
3292004-08-02 Kevin Ryde <user42@zip.com.au>
330
331 * srfi-13.c (scm_string_every): Correction to initial "res" value,
a2f00b9b 332 return should be #t for an empty string. Reported by Andreas Vögele.
71234d0c 333
66998138
MV
3342004-07-10 Marius Vollmer <marius.vollmer@uni-dortmund.de>
335
336 * srfi-13.c, srfi-14.c, srfi-4.c: Changed all uses of
337 SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY, SCM_VALIDATE_BIGINT,
338 SCM_VALIDATE_INUM_MIN, SCM_VALIDATE_INUM_MIN_COPY,
339 SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
340 SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
341 SCM_VALIDATE_INUM_RANGE_COPY to scm_to_size_t or similar.
342
054ebf6c
MV
3432004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
344
345 * srfi-1.c, srfi-13.c, srfi-14.c, srfi-4.c: Replaced all uses of
346 deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL, SCM_NEGATE_BOOL, and
347 SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and
348 scm_is_bool, respectively.
349
981e8059
KR
3502004-07-05 Kevin Ryde <user42@zip.com.au>
351
352 * srfi-4.c (uvec_sizes): Add "const".
353
ad3e9ceb
KR
354 * srfi-31.scm: Correction to heading comment.
355
6293838c
RB
3562004-06-20 Rob Browning <rlb@defaultvalue.org>
357
82d5c4b7 358 * srfi-4.c: fix #ifdef checks for 64-bit types; should be #if.
48de9bb3 359 Add separate symmetric test for SCM_HAVE_T_UINT64 in one case.
82d5c4b7 360 (uvec_print): rewrite using a union to make more
f5d54eb7
RB
361 compact, and use static print_uint64 and print_int64 to print
362 64-bit elements.
363 (print_int64): new static function (temporary fix).
364 (print_uint64): new static function (temporary fix).
365
f8ac3733
RB
366 * Makefile.am (srfi_DATA): add srfi-31.scm.
367
6293838c
RB
368 * srfi-31.scm: new file.
369
6aef9d2b
DH
3702004-04-24 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
371
372 * srfi-17.scm (setter, car, cdr etc.): When within one define
373 expression a new variable in the local module is defined in terms
374 of an equally named variable from some other module, use @ to
375 refer to the variable in the other module. This is necessary due
376 to section 5.2.1 of R5RS: In a define expression first the new
377 binding is created and then the expression is evaluated.
378
7301de79
KR
3792004-04-24 Kevin Ryde <user42@zip.com.au>
380
381 * srfi-11.scm (let-values): Use make-symbol rather than gensym, for
382 guaranteed uniqueness of temp variable symbols.
383
05fa9121
KR
3842004-04-15 Kevin Ryde <user42@zip.com.au>
385
386 * srfi-13.c (scm_string_trim, scm_string_trim_right,
387 scm_string_trim_both): Cast to unsigned char for isspace.
388
84fad130
HWN
3892004-04-06 Han-Wen Nienhuys <hanwen@xs4all.nl>
390
391 * srfi-13.c (s_scm_string_map): convert character to unsigned char
392 before converting to unsigned int. This prevents hi-bit ascii as
393 being converted large integers.
394 (string_upcase_x): change caller for scm_{up,down}case to
395 scm_c_{up,down}case
396
c344fddd
KR
3972004-03-23 Kevin Ryde <user42@zip.com.au>
398
399 * srfi-1.scm (circular-list): Rewrite using set-cdr!, no need to copy
400 parameter list.
401
f1dc5f45
MD
4022004-02-08 Mikael Djurfeldt <djurfeldt@nada.kth.se>
403
404 * Makefile.am (TAGS_FILES): Use this variable instead of
405 ETAGS_ARGS so that TAGS can be built using separate build
406 directory.
407
67314101
MV
4082004-01-24 Marius Vollmer <mvo@zagadka.de>
409
410 * Makefile.am (srfi_DATA): Added srfi-26.scm.
411
9a5fc8c2
MV
4122004-01-21 Marius Vollmer <m.vollmer@ping.de>
413
414 * srfi-26.scm: New, from Daniel Skarda. Thanks!
415
b35072cd
KR
4162003-12-03 Kevin Ryde <user42@zip.com.au>
417
418 * srfi-1.c, srfi-1.h, srfi-1.scm (count): Rewrite in C, avoiding
419 non-tail recursion.
420
421 * srfi-1.scm (map!): Define as an alias for map, previous definition
422 was not tail-recursive.
423
a54e06e5
KR
4242003-08-23 Kevin Ryde <user42@zip.com.au>
425
426 * srfi-1.c, srfi-1.h, srfi-1.scm (list-copy): New function, derived
427 from core list-copy but allowing improper lists, per SRFI-1 spec.
428
429 * srfi-19.scm (date-week-number): Correction, day of week starting
430 week applied was off by one.
431
8e5b4b9e
KR
4322003-07-29 Kevin Ryde <user42@zip.com.au>
433
434 * srfi-1.c, srfi-1.scm (concatenate, concatenate!): Use scm_append and
435 scm_append_x.
436
437 * srfi-1.c, srfi-1.h, srfi-1.scm (length+): Rewrite using scm_ilength.
438
439 * srfi-34.scm: Add cond-expand-provide srfi-34.
440
e7cc532b
KR
4412003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
442
443 * srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition):
444 Re-implement in C to avoid stack overflows for long input lists.
445
e5a74c26
KR
4462003-07-08 Kevin Ryde <user42@zip.com.au>
447
448 * srfi-1.c, srfi-1.h (scm_srfi1_delete, scm_srfi1_delete_x,
449 scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
450 functions. scm_srfi1_delete_x is derived from scm_delete_x.
451 * srfi-1.scm (delete, delete!, delete-duplicates, delete-duplicates!):
452 Remove.
453
f2478375
KR
4542003-06-07 Kevin Ryde <user42@zip.com.au>
455
456 * srfi-6.scm: #:re-export open-input-string, open-output-string and
457 get-output-string, for the benefit of applications wanting to use
458 #:select on the module.
459
2e945bcc
SJ
4602003-05-29 Stefan Jahn <stefan@lkcc.org>
461
462 * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
463 libguile_srfi_srfi_4_la_LDFLAGS,
464 libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
465 option for the mingw32 build.
466
a658e41b
KR
4672003-05-13 Kevin Ryde <user42@zip.com.au>
468
469 * srfi-1.scm (delete): Fix predicate arg order to match srfi-1 spec.
470
9c8721b5
KR
4712003-05-10 Kevin Ryde <user42@zip.com.au>
472
473 * srfi-1.scm (take): Make this an alias for list-head.
474 (drop): Make this an alias for list-tail.
475
a1a5dfa8
NJ
4762003-04-30 Neil Jerram <neil@ossau.uklinux.net>
477
478 * srfi-34.scm: New file.
479
2d2f76fc
MV
4802003-04-23 Marius Vollmer <mvo@zagadka.de>
481
482 * srfi-1.scm: Removed stray "o" from exports list.
483
1685446c
DH
4842003-04-21 Dirk Herrmann <D.Herrmann@tu-bs.de>
485
486 * srfi-1.c (srfi1_ilength): Prefer !SCM_CONSP over SCM_NCONSP.
487 Now, guile itself does not include any calls to SCM_NCONSP any
488 more.
489
73be1d9e
MV
4902003-04-05 Marius Vollmer <mvo@zagadka.de>
491
492 * Changed license terms to the plain LGPL thru-out.
493
e3c0c3b9
RB
4942003-03-25 Rob Browning <rlb@defaultvalue.org>
495
496 * srfi-4.c: replace typedefs for basic types with typedefs using
497 new standard int types (i.e. scm_t_uint8, etc.) -- should probably
498 remove typedefs altogether later.
499
b8b0abf0
MD
5002003-03-24 Mikael Djurfeldt <djurfeldt@nada.kth.se>
501
502 * srfi-1.scm: Re-export all srfi-1 bindings implemented by the
503 core. (Thanks to Kevin Ryde.)
504
d57da08b
MD
5052003-03-12 Mikael Djurfeldt <djurfeldt@nada.kth.se>
506
507 * srfi-13.scm: Mark replacements.
508
509 * srfi-17.scm: Mark replacements.
510
f595ccfe
MD
5112003-03-11 Mikael Djurfeldt <djurfeldt@nada.kth.se>
512
c614a00b
MD
513 * srfi-1.scm (iota, map, for-each, map-in-order, list-index,
514 member, delete, delete!, assoc): Marked as replacements.
515 (filter, filter!): Removed. (Now implemented in the core.)
f595ccfe 516
a48d60b1
MD
5172003-03-06 Mikael Djurfeldt <djurfeldt@nada.kth.se>
518
519 * srfi-1.c (scm_init_srfi_1): Extend root module map and for-each
520 with the versions in this module using
521 scm_c_extend_primitive_generic.
522
f9ac1c2d
MD
5232003-02-03 Mikael Djurfeldt <djurfeldt@nada.kth.se>
524
525 * srfi-1.c (srfi1_for_each): Corrected argument checking for the
526 case of two argument lists. (Thanks to Kevin Ryde.)
527
b2cbe8d8
RB
5282002-12-08 Rob Browning <rlb@defaultvalue.org>
529
530 * Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.
531
2ab05d78
MV
5322002-12-02 Marius Vollmer <mvo@zagadka.ping.de>
533
534 * Makefile.am (srfiinclude_HEADERS): Added srfi-1.h.
535
ee6aac97
MD
5362002-12-01 Mikael Djurfeldt <mdj@linnaeus>
537
538 * srfi-1.scm: Load srfi-1 extension.
7692d26b
MD
539 (map, map-in-order, for-each, member, assoc): Replaced by
540 primitives in srfi-1.c.
541 (map1): Defined as `map'.
ee6aac97
MD
542
543 * Makefile.am: Added rules for srfi-1.c.
544
545 * srfi-1.c, srfi-1.h: New files.
546
beac3691
MV
5472002-05-06 Marius Vollmer <mvo@zagadka.ping.de>
548
549 * srfi-13.c (scm_string_tokenize): Instead of using "isgraphic" as
550 the subtitute for char-set:graphic when then token-set hsa been
551 defaulted, grab the real char-set:graphic from (srfi srfi-14).
552
553 * srfi-14.h (SCM_CHARSET_GET): Cast IDX to unsigned char so that
554 it works for 8-bit characters. Thanks to Matthias Koeppe! No,
a2f00b9b 555 make that "Köppe".
beac3691 556
54d4ac1f
MV
5572002-04-24 Marius Vollmer <mvo@zagadka.ping.de>
558
559 * srfi-13.c (s_scm_string_tokenize): Only take character sets as
560 the second arg. Collect characters belonging to this set into
561 tokens (as specified by the SRFI), instead of splitting at these
562 characters. Default to an equivalent of char-set:graphic instead
563 of everything-but-whitespace. Thanks to Matthias Koeppe!
564
21550b10
RB
5652002-04-10 Rob Browning <rlb@defaultvalue.org>
566
567 * .cvsignore: add *.c.clean.c.
568
cdfc4a7d
TTN
5692002-03-27 Thien-Thi Nguyen <ttn@giblet.glug.org>
570
571 * srfi-1.scm, srfi-13.scm, srfi-17.scm, srfi-4.scm, srfi-9.scm,
572 srfi-10.scm, srfi-14.scm, srfi-19.scm, srfi-6.scm, srfi-11.scm,
573 srfi-16.scm, srfi-2.scm, srfi-8.scm: Update copyright.
574 Point to manual in commentary; nfc.
575
e2bd68e0
MV
5762002-03-24 Marius Vollmer <mvo@zagadka.ping.de>
577
578 * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
579
2cd7ecb9
TTN
5802002-03-13 Thien-Thi Nguyen <ttn@giblet.glug.org>
581
582 * srfi-13.c, srfi-14.c, srfi-4.c:
583 Retire inclusion guard macro SCM_MAGIC_SNARFER.
584
ffaf65cd
TTN
585 * Makefile.am (snarfcppopts): New var.
586 (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
587
16d98032
MV
5882002-03-11 Marius Vollmer <mvo@zagadka.ping.de>
589
590 * srfi-13.c (string_titlecase_x): Treat characters as unsigned so
591 that 8-bit chars work. Thanks to David Pirotte!
592
46151112
RB
5932002-02-24 Rob Browning <rlb@defaultvalue.org>
594
595 * Makefile.am (libguile_srfi_srfi_4_la_LDFLAGS): use
596 @LIBGUILE_SRFI_SRFI_4_INTERFACE@.
597 (libguile_srfi_srfi_13_14_la_LDFLAGS): use
598 @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@.
599
359b471e
NJ
6002002-02-23 Neil Jerram <neil@ossau.uklinux.net>
601
602 * srfi-19.scm (priv:month-assoc): Correct numbers so that they
603 match the expectations of priv:year-day.
604
cd328b4f
NJ
6052002-02-22 Neil Jerram <neil@ossau.uklinux.net>
606
607 * srfi-19.scm (priv:year-day): Index into priv:month-assoc using
a2f00b9b 608 month number, not day number. (Thanks to Sébastien de Menten de
cd328b4f
NJ
609 Horne for reporting the problem.)
610
7c686ba8
MV
6112002-02-11 Marius Vollmer <marius.vollmer@uni-dortmund.de>
612
613 * srfi-14.c, srfi-4.c: Use scm_gc_malloc/scm_malloc and
614 scm_gc_free/free instead of scm_must_malloc and scm_must_free, as
615 appropriate.
616
229d2c9c
TTN
6172002-01-21 Thien-Thi Nguyen <ttn@giblet.glug.org>
618
619 * srfi-1.scm (count1, take-while): Rewrite to be tail-recursive.
620 Thanks to Panagiotis Vossos.
621
c323f1f4
TTN
6222002-01-20 Thien-Thi Nguyen <ttn@giblet.glug.org>
623
624 * srfi-1.scm (map1): Rewrite to be tail-recursive.
625 Thanks to Panagiotis Vossos for the bug report.
626
197ee3d3
MV
6272001-12-16 Marius Vollmer <mvo@zagadka.ping.de>
628
629 * srfi-11.scm (let-values): Use `gensym' instead of `gentemp'.
630
ee148ae7
NJ
6312001-11-30 Neil Jerram <neil@ossau.uklinux.net>
632
633 * Makefile.am (ETAGS_ARGS): Added.
634
5d8fc640
MV
6352001-11-12 Marius Vollmer <mvo@zagadka.ping.de>
636
637 * srfi-4.c: Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
638 it with `#ifdef' instead of `#if'.
639
9401323e
NJ
6402001-11-07 Neil Jerram <neil@ossau.uklinux.net>
641
642 * srfi-13.c (scm_string_unfold, scm_string_unfold_right),
643 srfi-14.c (scm_char_set_unfold, scm_char_set_unfold_x): Remove
644 superfluous whitespace at end of docstring lines.
645
23b1bf4b
TTN
6462001-11-06 Thien-Thi Nguyen <ttn@glug.org>
647
648 * srfi-19.scm (time-monotonic->time-monotonic): Spurious;
649 remove from exports.
650
8f99e3f3
SJ
6512001-11-04 Stefan Jahn <stefan@lkcc.org>
652
23b1bf4b 653 * srfi-13.h, srfi-14.h, srfi-4.h: Follow-up patch. Renamed
8f99e3f3
SJ
654 __FOO__ macros into FOO.
655
836b6557
MV
6562001-11-03 Marius Vollmer <mvo@zagadka.ping.de>
657
658 * Makefile.am (libguile_srfi_srfi_4_la_LIBADD,
659 libguile_srfi_srfi_13_14_la_LIBADD): Refer to build directory, not
660 the source directory, for libguile.la. Thanks to Ken Raeburn.
661
f712d833
MV
6622001-11-02 Marius Vollmer <mvo@zagadka.ping.de>
663
664 Support for native Win32. Thanks to Stefan Jahn!
23b1bf4b
TTN
665
666 * Makefile.am: Put `-no-undefined' into LDFLAGS to support linkers
f712d833
MV
667 which do not allow unresolved symbols inside shared libraries.
668
23b1bf4b 669 * srfi-13.h, srfi-14.h: Defined SCM_SRFI1314_API. Prefixed each
f712d833
MV
670 exported symbol with SCM_SRFI1314_API.
671
23b1bf4b 672 * srfi-4.h: Defined SCM_SRFI4_API. Prefixed each exported
f712d833
MV
673 symbol with SCM_SRFI4_API.
674
1a179b03
MD
6752001-10-21 Mikael Djurfeldt <mdj@linnaeus>
676
677 * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm,
678 srfi-11.scm, srfi-14.scm, srfi-16.scm: Move module the system
679 directives `export', `export-syntax', `re-export' and
680 `re-export-syntax' into the `define-module' form. This is the
681 recommended way of exporting bindings.
682
b21cccf3
MD
6832001-09-22 Mikael Djurfeldt <mdj@linnaeus>
684
685 * srfi-19.scm (priv:split-real): Inserted missing call to
686 inexact->exact.
687
0b073f0f
RB
6882001-09-21 Rob Browning <rlb@defaultvalue.org>
689
690 * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<".
691
692 * srfi-14.c (SCM_CHARSET_SET): need 1L, not just 1 in "<<".
693 (scm_char_set_hash): val needs to be long, not just unsigned.
694 (scm_char_set): need 1L, not just 1 in "<<".
695 (scm_list_to_char_set): need 1L, not just 1 in "<<".
696 (scm_list_to_char_set_x): need 1L, not just 1 in "<<".
697 (scm_list_to_char_set_x): FUNC_NAME was wrong - added a _x.
698 (scm_string_to_char_set): string length var needed to be
699 scm_sizet, not int.
700 (scm_string_to_char_set): need 1L, not just 1 in "<<".
701 (scm_string_to_char_set_x): string length var needed to be
702 scm_sizet, not int.
703 (scm_string_to_char_set_x): need 1L, not just 1 in "<<".
704 (scm_char_set_filter): need 1L, not just 1 in "<<".
705 (scm_char_set_filter_x): need 1L, not just 1 in "<<".
706 (scm_ucs_range_to_char_set): need 1L, not just 1 in "<<".
707 (scm_ucs_range_to_char_set_x): need 1L, not just 1 in "<<".
708 (scm_char_set_adjoin): need 1L, not just 1 in "<<".
709 (scm_char_set_delete): need 1L, not just 1 in "<<".
710 (scm_char_set_adjoin_x): need 1L, not just 1 in "<<".
711 (scm_char_set_delete_x): need 1L, not just 1 in "<<".
712
6ddd9412
GH
7132001-09-12 Gary Houston <ghouston@arglist.com>
714
715 * srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
716
8c494e99
DH
7172001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
718
719 * srfi-1.scm, srfi-13.scm: Remove the defines that were needed to
720 trick export from the beginning of the files.
721
fa5a8c00
TTN
7222001-08-25 Thien-Thi Nguyen <ttn@revel.glug.org>
723
724 * srfi-19.scm (add-duration): Fix bug: Call `add-duration!' w/
725 two args. Thanks to Alex Shinn.
726
b573e744
MV
7272001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
728
729 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
730
e9313ed7
TTN
7312001-08-24 Thien-Thi Nguyen <ttn@revel.glug.org>
732
733 * srfi-13.h (scm_string_map, scm_string_map_x,
734 scm_string_for_each): Reverse order of first two args.
735 (scm_string_for_each_index): New proc.
736
737 * srfi-13.c (scm_string_for_each): Reverse order of first 2 args.
738 (scm_string_for_each_index): New func.
739
740 * srfi-13.scm (string-for-each-index): New exported proc.
741
742 Thanks to Alex Shinn.
743
80fdeb4e
MD
7442001-08-22 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
745
746 * srfi-13.c (string-map): Swapped order of string and proc args to
747 conform with the srfi. (Thanks to Alex Shinn.)
748
5753f02f
GH
7492001-08-05 Gary Houston <ghouston@arglist.com>
750
751 * srfi-1.scm (check-arg-type, non-negative-integer?): a couple of new
752 internal definitions.
753 (list-tabulate, iota): check for bad arguments that otherwise
754 give weird output.
755 (filter): check for proper list, to avoid infinite recursion on
756 a circular list.
757
848458d9
GH
7582001-08-04 Gary Houston <ghouston@arglist.com>
759
760 * srfi-1.scm (filter): replaced with a tail-recursive version.
761 (remove): implement using filter, to make it tail-recursive.
762
9be74503
GH
7632001-07-31 Gary Houston <ghouston@arglist.com>
764
765 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
766 accounting for the (char-set-union cs2...) in the spec. i.e.,
767 (char-set-diff+intersection a) -> copy-of-a, empty-set
768 and the following are equivalent:
769 (char-set-diff+intersection a (char-set #\a) (char-set #\b))
770 (char-set-diff+intersection a (char-set #\a #\b))
771
772 (scm_char_set_xor_x): disabled the side-effecting code, since it
773 gives inconsistent results to scm_char_set_xor for the case
774 (char-set-xor! a a a).
e9313ed7 775
9be74503
GH
776 (scm_char_set_diff_plus_intersection_x): added cs2 argument, since
777 two arguments are compulsory in final spec. also similar changes
778 as for scm_char_set_diff_plus_intersection.
779 * srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
780
d1bc6602
GH
7812001-07-22 Gary Houston <ghouston@arglist.com>
782
783 * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
784 the compulsory cs1 arguments: all args are optional in final spec.
42b54c05 785
d1bc6602
GH
786 * srfi-14.h: declarations updated.
787
46a7b46f
MG
7882001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
789
790 * srfi-11.scm, srfi-8.scm: Update copyright notice.
791
4c4185ee
MG
7922001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
793
794 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
795 Guaranteed. (Maybe)
e9313ed7 796
4c4185ee
MG
797 * srfi-19.scm: Define `current-time' before exporting it.
798
2671725a
MG
7992001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
800
801 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
802 side. Bit sets were handled wrong because I couldn't tell bit
803 counts from byte counts. Also, the bit array should be 256 / 8
e9313ed7 804 bytes long. Thank you, Gary!
2671725a
MG
805
806 Removed unnecessary protoype for scm_char_set_copy.
807
8b19021c
GH
8082001-07-16 Gary Houston <ghouston@arglist.com>
809
810 * srfi-14.scm: export string->char-set!, not string-char-set!.
811
812 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
813 scm_end_of_char_set_p): reject negative cursor values.
814 (scm_list_to_char_set, scm_list_to_char_set_x): when reporting
815 type error in list component, omit the position (was always 1).
816
139777e5
MG
8172001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
818
819 (scm_char_set_map): Bug-fix: char-set-map was modifying the
820 argument instead of the return value.
821
cebf3d62
MG
8222001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
823
824 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
825 use this value for initializing and comparing charsets.
826 (scm_char_set_hash): Use ``better'' hash algorithm which produces
827 more values.
828
396f36cd 8292001-07-15 Gary Houston <ghouston@arglist.com>
e9313ed7 830
396f36cd
GH
831 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
832 opt arg to give default bound, as in final spec. don't allow
833 negative bounds.
b87f5a83
GH
834 (scm_char_set_hash): bug fix: was overrunning the buffer and
835 calculating based on garbage.
836 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
837 reporting: wasn't incremented due to macro coding.
838 (scm_char_set): report argument number in error reporting: was
839 hard coded to 1. remove a couple of local variables.
396f36cd 840
22647fef
MV
8412001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
842
843 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
844 `export-syntax'.
845
dd84cd4d
GH
8462001-07-11 Gary Houston <ghouston@arglist.com>
847
848 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
849 return #t instead of giving wrong-number-of-arguments . take a
850 single "rest" argument. use memcmp instead of a loop to compare
851 the values.
be390de2
GH
852 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
853 take a single "rest" argument.
854 srfi-14.h: update the declarations.
dd84cd4d 855
ee85583a
MG
8562001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
857
858 * README: Cleanup.
859
99f59e93
GH
8602001-07-06 Gary Houston <ghouston@arglist.com>
861
862 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
863 delete!, assoc): roll back the previous change. instead place
864 dummy definitions in a deprecated block at the beginning as in
865 srfi-13.scm.
e9313ed7 866
0d6209aa
RB
8672001-07-06 Rob Browning <rlb@defaultvalue.org>
868
869 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
870
26c22ea8
GH
8712001-07-03 Gary Houston <ghouston@arglist.com>
872
873 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
874 delete!, assoc): don't export until the new bindings have been
875 created. otherwise "export" thinks they are being re-exported and
876 a deprecation warning is produced.
6d52dbf2
GH
877 (map-in-order): defined and exported, to support lists of unequal
878 length.
26c22ea8 879
018adcae
MG
8802001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
881
882 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
e800aa04
MG
883 invalid arguments. Same fix for several other procedures (do not
884 use zero?, use <= 0).
018adcae 885
cef248dd
MG
8862001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
887
888 * srfi-1.scm: Replaced calls to `map' in several procedures to
889 calls to `map1'.
890 (map, for-each): New procedures, extended from R5RS.
891
2c4df451
MG
8922001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
893
894 * srfi-4.c: Minor cleanups.
895
896 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
897 (scm_char_set_unfold_x, scm_char_set_for_each)
898 (scm_char_set_map, scm_char_set_filter)
899 (scm_char_set_filter_x, scm_char_set_count)
900 (scm_char_set_every, scm_char_set_any): Replace calls to
901 scm_apply() with the corresponding scm_call_N() functions.
902
903 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
904 (scm_char_set_unfold, scm_char_set_unfold_x)
905 (scm_char_set_map, scm_char_set_diff_plus_intersection)
906 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
907 SCM_LISTN with calls to scm_list_N().
908
909 * srfi-13.c (scm_string_tabulate, scm_string_map)
910 (scm_string_map_x, scm_string_unfold)
911 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
912 with calls to scm_list_N().
913
914 * srfi-13.c (scm_string_any, scm_string_every),
915 (scm_string_tabulate, scm_string_trim),
916 (scm_string_trim_right, scm_string_trim_both),
917 (scm_string_compare, scm_string_compare_ci),
918 (scm_string_indexS, scm_string_index_right),
919 (scm_string_skip, scm_string_skip_right, scm_string_count),
920 (scm_string_map, scm_string_map_x, scm_string_fold),
921 (scm_string_fold_right, scm_string_unfold),
922 (scm_string_unfold_right, scm_string_for_each),
923 (scm_string_filter, scm_string_delete): Replace calls to
924 scm_apply() with the corresponding scm_call_N() functions.
925
71ca65d9
MG
9262001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
927
928 * Makefile.am: Added SRFI-4 files in various places.
929
930 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
931
36284627
DH
9322001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
933
934 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
935 scm_string_take_right, scm_string_drop_right, scm_string_trim,
936 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
937 Use scm_mem2string instead of scm_makfromstr.
938
939 (scm_reverse_list_to_string, string_titlecase_x): Prefer
940 !SCM_<pred> over SCM_N<pred>.
941
f6581113
MV
9422001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
943
944 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
945 `receive'.
946
d0e06238
MV
9472001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
948
949 The SRFI-19 implementation was completely broken. Already the
950 reference implementation did not handle DST and time zones
951 properly and relied on non-R5RS-isms like passing reals to
952 `quotient'. For Guile, some additional fixes were needed because
953 of the incomplete numeric tower implementation. See also
e9313ed7
TTN
954 srfi-19.test.
955
d0e06238 956 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
e9313ed7 957 (add-duration): Renamed from priv:add-duration.
d0e06238
MV
958 (priv:time-normalize!): Handle fractional nanoseconds; remove
959 duplicate definition.
960 (priv:current-time-tai): Fixed typo.
961 (time=?, time<=?): Fixed typos.
962 (time-tai->time-utc, time-utc->time-tai,
963 time-utc->time-monotonic): Use make-time-unnormalized instead of
964 make-time when uninitialized time fields are used.
965 (set-date-nanosecond!, set-date-second!, set-date-minute!,
966 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
967 set-date-zone-offset!): Define.
968 (priv:local-tz-offset): Take an extra argument in order to handle
969 DST effects.
970 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
971 changed signature of priv:local-tz-offset. Don't pass non-integer
e9313ed7 972 arguments to quotient (non-R5RS, not supported by Guile).
d0e06238
MV
973 (date->time-utc): Ensure that seconds in a date structure are
974 always exact integers. Handle DST properly.
975 (current-date, julian-day->date, modified-julian-day->date):
e9313ed7 976 Handle the changed signature of priv:local-tz-offset.
d0e06238
MV
977 (julian-day->time-utc): Reverted earlier inexact->exact hack;
978 make-time now handles inexact arguments.
979 (priv:locale-print-time-zone): At least print the numerical time
e9313ed7 980 zone.
d0e06238
MV
981 (priv:integer-reader): Fixed named let iteration.
982 (priv:read-directives): Use set-date-month! instead of
983 priv:set-date-month! etc.
984 (string->date): Handle DST properly.
985
0f002b27
MV
9862001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
987
988 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
989
e81d98ec
DH
9902001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
991
992 * srfi-14.c (charset_print): Mark unused parameters with
993 SCM_UNUSED.
994
563058ef
MG
9952001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
996
997 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
998 (delete-duplicates): Now the first occurrence of an element is
999 retained, as required.
1000 (member, assoc): Fixed wrong order of equality predicate
1001 application.
563058ef 1002
e9680547
MG
10032001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1004
1005 * README: Update.
1006
1007 * srfi-1.scm: New file.
1008
f480396b
MV
10092001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
1010
1011 Added exception notice to all files.
1012
dd22a80a
MG
10132001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1014
1015 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
1016 shared library.
1017
998c3141
ML
10182001-05-31 Michael Livshin <mlivshin@bigfoot.com>
1019
1020 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
1021 case.
1022 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
1023
6b0d28a3
ML
10242001-05-28 Michael Livshin <mlivshin@bigfoot.com>
1025
1026 * srfi-19.scm: removed a stray open parenthesis. (thanks to
a2f00b9b 1027 Matthias Köppe for the report).
6b0d28a3 1028
b9309d16
RB
10292001-05-23 Rob Browning <rlb@cs.utexas.edu>
1030
1031 * srfi-19.scm (:optional): renamed to optional to avoid reader
60a54e2f
RB
1032 keywords conflict. Time passes... Removed :optional altogether
1033 and just handle optional args directly. Thanks to Matthias Koeppe
1034 for the report of this and the two bits below.
1035 (priv:decode-julian-day-number): add inexact->exact for truncate
1036 result.
1037 (time-utc->date): add inexact->exact and floor so quotient will
1038 work.
b9309d16 1039
1b2f40b9
MG
10402001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1041
1042 * README: Update, document available SRFIs.
1043
10442001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1045
1046 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
1047 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
1048 srfi-2.scm: Use `cond-expand-provide' for providing features to
1049 `cond-expand'.
1050
2fc933fe
MV
10512001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
1052
1053 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
1054 `initialized'.
1055
7c628196
MV
10562001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
1057
1058 Avoid using module operations from C.
e9313ed7 1059
7c628196
MV
1060 * srfi-13.c (scm_init_srfi_13_14): Removed.
1061 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
1062 initializations needed by C clients of srfi-14.
1063 (scm_init_srfi_13, scm_init_srfi_14): Call it.
de208a74 1064 * srfi-13.scm: Call "scm_init_srfi_13" instead of
7c628196 1065 "scm_init_srfi_13_14".
de208a74 1066 * srfi-14.scm: Call "scm_init_srfi_14" instead of
7c628196
MV
1067 "scm_init_srfi_13_14".
1068
d579d165
RB
10692001-05-16 Rob Browning <rlb@cs.utexas.edu>
1070
1071 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
1072
6851c8a4
MG
10732001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1074
1075 * Makefile.am (srfi_DATA): Added srfi-16.scm.
1076
1077 * srfi-16.scm: New file.
1078
163a7e0d
MG
10792001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1080
1081 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
1082 Fixed.
1083
2abe254d
MG
10842001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1085
1086 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
1087
2b60bc95
RB
10882001-05-05 Rob Browning <rlb@cs.utexas.edu>
1089
1090 * Makefile.am (srfi_DATA): added srfi-19.scm.
1091
1092 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
1093 Fitzgerald.
1094
2d953700
MG
10952001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1096
1097 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
1098
1099 * srfi-10.scm: Typo fix.
1100
109c463f
RB
11012001-05-02 Rob Browning <rlb@cs.utexas.edu>
1102
1103 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
1104
e1633bf3
MG
11052001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1106
1107 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
1108
1109 * srfi-10.scm: New file.
1110
1111 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
e9313ed7 1112 lot!
e1633bf3
MG
1113 Added `Commentary:' tag.
1114
1115 * srfi-9.scm: Added `Commentary:' tag.
1116
a0f979ac
RB
11172001-04-27 Rob Browning <rlb@cs.utexas.edu>
1118
1119 * srfi-13.h
1120 (scm_reverse_string_concatenate): renamed to
1121 scm_string_concatentate_reverse.
1122 (scm_reverse_string_concatenate_shared): renamed to
1123 scm_string_concatenate_reverse_shared.
1124
485efc12
GH
11252001-04-27 Gary Houston <ghouston@arglist.com>
1126
1127 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
1128 add "srfi/" to lines including .x files so they can be found
1129 when build_dir != src_dir.
1130
a6fd89a4
MG
11312001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1132
1133 * Makefile.am (srfi_DATA): Added srfi-9.scm.
1134
1135 * srfi-9.scm: New file. Exports `define-record-type'.
1136
b9c6d7a5
RB
11372001-04-26 Rob Browning <rlb@cs.utexas.edu>
1138
1139 * Makefile.am (srfi_DATA): added srfi-6.scm.
1140 (srfi_DATA): added srfi-11.scm.
1141 (srfi_DATA): added srfi-8.scm.
1142 (srfi_DATA): added srfi-2.scm.
1143
1144 * srfi-11.scm: new file - exports let-values and let*-values.
1145
1146 * srfi-6.scm: new file - guile already has srfi-6 procedures
1147 loaded by default, so this is a dummy file right now.
1148
1149 * srfi-8.scm: new file - exports receive.
1150
1151 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
1152
8dddb4bc
MG
11532001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1154
1155 Changed two procedure names to match final SRFI document. Thanks
1156 to Rob Browning for spotting this.
e9313ed7 1157
8dddb4bc
MG
1158 * srfi-13.scm (string-concatenate-reverse),
1159 (string-concatenate-reverse/shared): Rename from
1160 reverse-string-concatenate[/shared].
1161
1162 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
1163 scm_reverse_string_concatenate_shared.
1164 (scm_string_concatenate_reverse): Renamed from
1165 scm_reverse_string_concatenate.
1166
653c7291
MG
11672001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1168
1f7a1dc9
MG
1169 * configure.in, autogen.sh: Removed.
1170
653c7291
MG
1171 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
1172 when using memmove().
1173
1174 * srfi-14.h: Added prototypes for all exported procedures..
1175
1176 * srfi-13.c: Include srfi-13.h
1177
1178 * srfi-13.h: New file containing the prototypes.
1179
1180 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
1181 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
1182 distributed.
1183 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
1184
30f32820
NJ
11852001-04-24 Neil Jerram <neil@ossau.uklinux.net>
1186
1187 * Makefile.am: Fixed "srf-14.x" typo.
1188
fafb71de
MG
11892001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1190
1191 * guile-srfi.texi: Removed, because merged with the GRM.
1192
1193 * guile-srfi.texi: The docs are now up to date with the
1194 implementation and have new introductory material.
1195
ca003b26
MG
11962001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1197
1198 Integrated the guile-srfi package into the Guile distribution.
e9313ed7 1199
ca003b26
MG
1200 * srfi-13.c: All procedures so specified in the SRFI now accept
1201 character set arguments.
1202
1203 * Makefile.am: Snarfed some variables from the guile-readline
1204 directory.
1205
1206 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
1207
1208 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
1209 configure.in, Makefile.am: Added FSF copyright and Guile license
1210 information.
1211
1212 * srfi-13.c, srfi-14.c: Include srfi-14.h.
1213 (scm_init_srfi_13_14): Initialize the complete module, if not
1214 already done so.
1215
1216 * srfi-14.h: New file.
1217
1218 * srfi-13.scm, srfi-14.scm: Load new combined library.
1219
1220 * Makefile.am: Build only one library,
1221 `libguile-srfi-srfi-13-14.la'
1222
12232001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1224
1225 * guile-srfi.texi: Integrated the SRFI-14 documentation.
1226
1227 * srfi-14.c, srfi-14.scm: Made the procedures and variables
1228 compliant to the final SRFI document.
1229
1230 * Renamed the package to guile-srfi.
1231
12322001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1233
1234 * NEWS: New section for 0.0.3.
1235
1236 * configure.in, README, guile-srfi-13.texi: Bumped version number
1237 to 0.0.3.
1238
1239 * Released version 0.0.2.
e9313ed7 1240
ca003b26
MG
1241 * Makefile.am: Added rules for builing the SRFI-14 library.
1242
1243 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
1244 (character set library).
1245
12462001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1247
1248 * README: Updated procedure and incompatibility list.
1249
1250 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
1251 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
1252 (scm_string_downcaseS, string_titlecase_x),
1253 (scm_string_titlecase_x, scm_string_titlecase),
1254 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
1255 procedures.
1256
1257 * srfi-13.scm: Export new case mapping procedures.
1258
1259 * guile-srfi-13.texi (What cannot be done): Removed case mapping
1260 procedures from incompatibility list.
1261 (Case Mapping): New section for case mapping procedures.
1262
12632001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1264
1265 * NEWS: New section for 0.0.2
1266
1267 * configure.in, README, guile-srfi-13.texi: Bumbed version number
1268 to 0.0.2
1269
1270 * Released version 0.0.1.
1271
1272 * README: Made procedure list up-to-date.
1273
1274 * guile-srfi-13.texi: Fixed typos, completed reference and added
1275 introductory blurb.
1276
1277 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
1278
12792001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
1280
1281 * Started guile-srfi-13 package. Files are copied from the
1282 guile-gdbm and slightly modified.
a2f00b9b
LC
1283
1284;; Local Variables:
1285;; coding: utf-8
1286;; End: