* srfi-1.scm (list-tabulate): Do not go into infinite loop for
[bpt/guile.git] / srfi / ChangeLog
CommitLineData
018adcae
MG
12001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
2
3 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
4 invalid arguments.
5
cef248dd
MG
62001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
7
8 * srfi-1.scm: Replaced calls to `map' in several procedures to
9 calls to `map1'.
10 (map, for-each): New procedures, extended from R5RS.
11
2c4df451
MG
122001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
13
14 * srfi-4.c: Minor cleanups.
15
16 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
17 (scm_char_set_unfold_x, scm_char_set_for_each)
18 (scm_char_set_map, scm_char_set_filter)
19 (scm_char_set_filter_x, scm_char_set_count)
20 (scm_char_set_every, scm_char_set_any): Replace calls to
21 scm_apply() with the corresponding scm_call_N() functions.
22
23 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
24 (scm_char_set_unfold, scm_char_set_unfold_x)
25 (scm_char_set_map, scm_char_set_diff_plus_intersection)
26 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
27 SCM_LISTN with calls to scm_list_N().
28
29 * srfi-13.c (scm_string_tabulate, scm_string_map)
30 (scm_string_map_x, scm_string_unfold)
31 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
32 with calls to scm_list_N().
33
34 * srfi-13.c (scm_string_any, scm_string_every),
35 (scm_string_tabulate, scm_string_trim),
36 (scm_string_trim_right, scm_string_trim_both),
37 (scm_string_compare, scm_string_compare_ci),
38 (scm_string_indexS, scm_string_index_right),
39 (scm_string_skip, scm_string_skip_right, scm_string_count),
40 (scm_string_map, scm_string_map_x, scm_string_fold),
41 (scm_string_fold_right, scm_string_unfold),
42 (scm_string_unfold_right, scm_string_for_each),
43 (scm_string_filter, scm_string_delete): Replace calls to
44 scm_apply() with the corresponding scm_call_N() functions.
45
71ca65d9
MG
462001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
47
48 * Makefile.am: Added SRFI-4 files in various places.
49
50 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
51
36284627
DH
522001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
53
54 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
55 scm_string_take_right, scm_string_drop_right, scm_string_trim,
56 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
57 Use scm_mem2string instead of scm_makfromstr.
58
59 (scm_reverse_list_to_string, string_titlecase_x): Prefer
60 !SCM_<pred> over SCM_N<pred>.
61
f6581113
MV
622001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
63
64 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
65 `receive'.
66
d0e06238
MV
672001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
68
69 The SRFI-19 implementation was completely broken. Already the
70 reference implementation did not handle DST and time zones
71 properly and relied on non-R5RS-isms like passing reals to
72 `quotient'. For Guile, some additional fixes were needed because
73 of the incomplete numeric tower implementation. See also
74 srfi-19.test.
75
76 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
77 (add-duration): Renamed from priv:add-duration.
78 (priv:time-normalize!): Handle fractional nanoseconds; remove
79 duplicate definition.
80 (priv:current-time-tai): Fixed typo.
81 (time=?, time<=?): Fixed typos.
82 (time-tai->time-utc, time-utc->time-tai,
83 time-utc->time-monotonic): Use make-time-unnormalized instead of
84 make-time when uninitialized time fields are used.
85 (set-date-nanosecond!, set-date-second!, set-date-minute!,
86 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
87 set-date-zone-offset!): Define.
88 (priv:local-tz-offset): Take an extra argument in order to handle
89 DST effects.
90 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
91 changed signature of priv:local-tz-offset. Don't pass non-integer
92 arguments to quotient (non-R5RS, not supported by Guile).
93 (date->time-utc): Ensure that seconds in a date structure are
94 always exact integers. Handle DST properly.
95 (current-date, julian-day->date, modified-julian-day->date):
96 Handle the changed signature of priv:local-tz-offset.
97 (julian-day->time-utc): Reverted earlier inexact->exact hack;
98 make-time now handles inexact arguments.
99 (priv:locale-print-time-zone): At least print the numerical time
100 zone.
101 (priv:integer-reader): Fixed named let iteration.
102 (priv:read-directives): Use set-date-month! instead of
103 priv:set-date-month! etc.
104 (string->date): Handle DST properly.
105
0f002b27
MV
1062001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
107
108 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
109
e81d98ec
DH
1102001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
111
112 * srfi-14.c (charset_print): Mark unused parameters with
113 SCM_UNUSED.
114
563058ef
MG
1152001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
116
117 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
118 (delete-duplicates): Now the first occurrence of an element is
119 retained, as required.
120 (member, assoc): Fixed wrong order of equality predicate
121 application.
563058ef 122
e9680547
MG
1232001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
124
125 * README: Update.
126
127 * srfi-1.scm: New file.
128
f480396b
MV
1292001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
130
131 Added exception notice to all files.
132
dd22a80a
MG
1332001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
134
135 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
136 shared library.
137
998c3141
ML
1382001-05-31 Michael Livshin <mlivshin@bigfoot.com>
139
140 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
141 case.
142 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
143
6b0d28a3
ML
1442001-05-28 Michael Livshin <mlivshin@bigfoot.com>
145
146 * srfi-19.scm: removed a stray open parenthesis. (thanks to
147