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