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