Commit | Line | Data |
---|---|---|
5753f02f GH |
1 | 2001-08-05 Gary Houston <ghouston@arglist.com> |
2 | ||
3 | * srfi-1.scm (check-arg-type, non-negative-integer?): a couple of new | |
4 | internal definitions. | |
5 | (list-tabulate, iota): check for bad arguments that otherwise | |
6 | give weird output. | |
7 | (filter): check for proper list, to avoid infinite recursion on | |
8 | a circular list. | |
9 | ||
848458d9 GH |
10 | 2001-08-04 Gary Houston <ghouston@arglist.com> |
11 | ||
12 | * srfi-1.scm (filter): replaced with a tail-recursive version. | |
13 | (remove): implement using filter, to make it tail-recursive. | |
14 | ||
9be74503 GH |
15 | 2001-07-31 Gary Houston <ghouston@arglist.com> |
16 | ||
17 | * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly | |
18 | accounting for the (char-set-union cs2...) in the spec. i.e., | |
19 | (char-set-diff+intersection a) -> copy-of-a, empty-set | |
20 | and the following are equivalent: | |
21 | (char-set-diff+intersection a (char-set #\a) (char-set #\b)) | |
22 | (char-set-diff+intersection a (char-set #\a #\b)) | |
23 | ||
24 | (scm_char_set_xor_x): disabled the side-effecting code, since it | |
25 | gives inconsistent results to scm_char_set_xor for the case | |
26 | (char-set-xor! a a a). | |
27 | ||
28 | (scm_char_set_diff_plus_intersection_x): added cs2 argument, since | |
29 | two arguments are compulsory in final spec. also similar changes | |
30 | as for scm_char_set_diff_plus_intersection. | |
31 | * srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2. | |
32 | ||
d1bc6602 GH |
33 | 2001-07-22 Gary Houston <ghouston@arglist.com> |
34 | ||
35 | * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove | |
36 | the compulsory cs1 arguments: all args are optional in final spec. | |
42b54c05 | 37 | |
d1bc6602 GH |
38 | * srfi-14.h: declarations updated. |
39 | ||
46a7b46f MG |
40 | 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
41 | ||
42 | * srfi-11.scm, srfi-8.scm: Update copyright notice. | |
43 | ||
4c4185ee MG |
44 | 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
45 | ||
46 | * srfi-14.c: Okay. Now I got it. Really. This time it's fixed. | |
47 | Guaranteed. (Maybe) | |
48 | ||
49 | * srfi-19.scm: Define `current-time' before exporting it. | |
50 | ||
2671725a MG |
51 | 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
52 | ||
53 | * srfi-14.c: Fix for bug caused by brain-malfunctioning on my | |
54 | side. Bit sets were handled wrong because I couldn't tell bit | |
55 | counts from byte counts. Also, the bit array should be 256 / 8 | |
56 | bytes long. Thank you, Gary! | |
57 | ||
58 | Removed unnecessary protoype for scm_char_set_copy. | |
59 | ||
8b19021c GH |
60 | 2001-07-16 Gary Houston <ghouston@arglist.com> |
61 | ||
62 | * srfi-14.scm: export string->char-set!, not string-char-set!. | |
63 | ||
64 | * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next, | |
65 | scm_end_of_char_set_p): reject negative cursor values. | |
66 | (scm_list_to_char_set, scm_list_to_char_set_x): when reporting | |
67 | type error in list component, omit the position (was always 1). | |
68 | ||
139777e5 MG |
69 | 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
70 | ||
71 | (scm_char_set_map): Bug-fix: char-set-map was modifying the | |
72 | argument instead of the return value. | |
73 | ||
cebf3d62 MG |
74 | 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
75 | ||
76 | * srfi-14.c: Allocate correct memory size for charsets (32 bytes), | |
77 | use this value for initializing and comparing charsets. | |
78 | (scm_char_set_hash): Use ``better'' hash algorithm which produces | |
79 | more values. | |
80 | ||
396f36cd | 81 | 2001-07-15 Gary Houston <ghouston@arglist.com> |
8b19021c | 82 | |
396f36cd GH |
83 | * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the |
84 | opt arg to give default bound, as in final spec. don't allow | |
85 | negative bounds. | |
b87f5a83 GH |
86 | (scm_char_set_hash): bug fix: was overrunning the buffer and |
87 | calculating based on garbage. | |
88 | (scm_char_set_eq, scm_char_set_leq): fix argument number in error | |
89 | reporting: wasn't incremented due to macro coding. | |
90 | (scm_char_set): report argument number in error reporting: was | |
91 | hard coded to 1. remove a couple of local variables. | |
396f36cd | 92 | |
22647fef MV |
93 | 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de> |
94 | ||
95 | * srfi-2.scm (and-let*): Use `re-export-syntax' instead of | |
96 | `export-syntax'. | |
97 | ||
dd84cd4d GH |
98 | 2001-07-11 Gary Houston <ghouston@arglist.com> |
99 | ||
100 | * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should | |
101 | return #t instead of giving wrong-number-of-arguments . take a | |
102 | single "rest" argument. use memcmp instead of a loop to compare | |
103 | the values. | |
be390de2 GH |
104 | (s_scm_char_set_leq): similarly, (char-set<=) should return #t. |
105 | take a single "rest" argument. | |
106 | srfi-14.h: update the declarations. | |
dd84cd4d | 107 | |
ee85583a MG |
108 | 2001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
109 | ||
110 | * README: Cleanup. | |
111 | ||
99f59e93 GH |
112 | 2001-07-06 Gary Houston <ghouston@arglist.com> |
113 | ||
114 | * srfi-1.scm (iota, map, for-each, list-index, member, delete, | |
115 | delete!, assoc): roll back the previous change. instead place | |
116 | dummy definitions in a deprecated block at the beginning as in | |
117 | srfi-13.scm. | |
118 | ||
0d6209aa RB |
119 | 2001-07-06 Rob Browning <rlb@defaultvalue.org> |
120 | ||
121 | * srfi-19.scm (priv:locale-reader): don't need open-output-string. | |
122 | ||
26c22ea8 GH |
123 | 2001-07-03 Gary Houston <ghouston@arglist.com> |
124 | ||
125 | * srfi-1.scm (iota, map, for-each, list-index, member, delete, | |
126 | delete!, assoc): don't export until the new bindings have been | |
127 | created. otherwise "export" thinks they are being re-exported and | |
128 | a deprecation warning is produced. | |
6d52dbf2 GH |
129 | (map-in-order): defined and exported, to support lists of unequal |
130 | length. | |
26c22ea8 | 131 | |
018adcae MG |
132 | 2001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
133 | ||
134 | * srfi-1.scm (list-tabulate): Do not go into infinite loop for | |
e800aa04 MG |
135 | invalid arguments. Same fix for several other procedures (do not |
136 | use zero?, use <= 0). | |
018adcae | 137 | |
cef248dd MG |
138 | 2001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
139 | ||
140 | * srfi-1.scm: Replaced calls to `map' in several procedures to | |
141 | calls to `map1'. | |
142 | (map, for-each): New procedures, extended from R5RS. | |
143 | ||
2c4df451 MG |
144 | 2001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
145 | ||
146 | * srfi-4.c: Minor cleanups. | |
147 | ||
148 | * srfi-14.c (scm_char_set_fold, scm_char_set_unfold) | |
149 | (scm_char_set_unfold_x, scm_char_set_for_each) | |
150 | (scm_char_set_map, scm_char_set_filter) | |
151 | (scm_char_set_filter_x, scm_char_set_count) | |
152 | (scm_char_set_every, scm_char_set_any): Replace calls to | |
153 | scm_apply() with the corresponding scm_call_N() functions. | |
154 | ||
155 | * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next) | |
156 | (scm_char_set_unfold, scm_char_set_unfold_x) | |
157 | (scm_char_set_map, scm_char_set_diff_plus_intersection) | |
158 | (scm_char_set_diff_plus_intersection_x): Replace deprecated macros | |
159 | SCM_LISTN with calls to scm_list_N(). | |
160 | ||
161 | * srfi-13.c (scm_string_tabulate, scm_string_map) | |
162 | (scm_string_map_x, scm_string_unfold) | |
163 | (scm_string_unfold_right): Replace deprecated macros SCM_LISTN | |
164 | with calls to scm_list_N(). | |
165 | ||
166 | * srfi-13.c (scm_string_any, scm_string_every), | |
167 | (scm_string_tabulate, scm_string_trim), | |
168 | (scm_string_trim_right, scm_string_trim_both), | |
169 | (scm_string_compare, scm_string_compare_ci), | |
170 | (scm_string_indexS, scm_string_index_right), | |
171 | (scm_string_skip, scm_string_skip_right, scm_string_count), | |
172 | (scm_string_map, scm_string_map_x, scm_string_fold), | |
173 | (scm_string_fold_right, scm_string_unfold), | |
174 | (scm_string_unfold_right, scm_string_for_each), | |
175 | (scm_string_filter, scm_string_delete): Replace calls to | |
176 | scm_apply() with the corresponding scm_call_N() functions. | |
177 | ||
71ca65d9 MG |
178 | 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
179 | ||
180 | * Makefile.am: Added SRFI-4 files in various places. | |
181 | ||
182 | * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4. | |
183 | ||
36284627 DH |
184 | 2001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de> |
185 | ||
186 | * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop, | |
187 | scm_string_take_right, scm_string_drop_right, scm_string_trim, | |
188 | scm_string_trim_right, scm_string_trim_both, scm_string_tokenize): | |
189 | Use scm_mem2string instead of scm_makfromstr. | |
190 | ||
191 | (scm_reverse_list_to_string, string_titlecase_x): Prefer | |
192 | !SCM_<pred> over SCM_N<pred>. | |
193 | ||
f6581113 MV |
194 | 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de> |
195 | ||
196 | * srfi-8.scm: Use `re-export-syntax' to correctly re-export | |
197 | `receive'. | |
198 | ||
d0e06238 MV |
199 | 2001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de> |
200 | ||
201 | The SRFI-19 implementation was completely broken. Already the | |
202 | reference implementation did not handle DST and time zones | |
203 | properly and relied on non-R5RS-isms like passing reals to | |
204 | `quotient'. For Guile, some additional fixes were needed because | |
205 | of the incomplete numeric tower implementation. See also | |
206 | srfi-19.test. | |
207 | ||
208 | * srfi-19.scm (date-zone-offset): Fixed typo in export clause. | |
209 | (add-duration): Renamed from priv:add-duration. | |
210 | (priv:time-normalize!): Handle fractional nanoseconds; remove | |
211 | duplicate definition. | |
212 | (priv:current-time-tai): Fixed typo. | |
213 | (time=?, time<=?): Fixed typos. | |
214 | (time-tai->time-utc, time-utc->time-tai, | |
215 | time-utc->time-monotonic): Use make-time-unnormalized instead of | |
216 | make-time when uninitialized time fields are used. | |
217 | (set-date-nanosecond!, set-date-second!, set-date-minute!, | |
218 | set-date-hour!, set-date-day!, set-date-month!, set-date-year!, | |
219 | set-date-zone-offset!): Define. | |
220 | (priv:local-tz-offset): Take an extra argument in order to handle | |
221 | DST effects. | |
222 | (time-utc->date, time-tai->date, time-monotonic->date): Handle the | |
223 | changed signature of priv:local-tz-offset. Don't pass non-integer | |
224 | arguments to quotient (non-R5RS, not supported by Guile). | |
225 | (date->time-utc): Ensure that seconds in a date structure are | |
226 | always exact integers. Handle DST properly. | |
227 | (current-date, julian-day->date, modified-julian-day->date): | |
228 | Handle the changed signature of priv:local-tz-offset. | |
229 | (julian-day->time-utc): Reverted earlier inexact->exact hack; | |
230 | make-time now handles inexact arguments. | |
231 | (priv:locale-print-time-zone): At least print the numerical time | |
232 | zone. | |
233 | (priv:integer-reader): Fixed named let iteration. | |
234 | (priv:read-directives): Use set-date-month! instead of | |
235 | priv:set-date-month! etc. | |
236 | (string->date): Handle DST properly. | |
237 | ||
0f002b27 MV |
238 | 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de> |
239 | ||
240 | * srfi-13.scm: Prevent `export' from re-exporting core bindings. | |
241 | ||
e81d98ec DH |
242 | 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de> |
243 | ||
244 | * srfi-14.c (charset_print): Mark unused parameters with | |
245 | SCM_UNUSED. | |
246 | ||
563058ef MG |
247 | 2001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
248 | ||
249 | * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply. | |
250 | (delete-duplicates): Now the first occurrence of an element is | |
251 | retained, as required. | |
252 | (member, assoc): Fixed wrong order of equality predicate | |
253 | application. | |
563058ef | 254 | |
e9680547 MG |
255 | 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
256 | ||
257 | * README: Update. | |
258 | ||
259 | * srfi-1.scm: New file. | |
260 | ||
f480396b MV |
261 | 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de> |
262 | ||
263 | Added exception notice to all files. | |
264 | ||
dd22a80a MG |
265 | 2001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
266 | ||
267 | * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the | |
268 | shared library. | |
269 | ||
998c3141 ML |
270 | 2001-05-31 Michael Livshin <mlivshin@bigfoot.com> |
271 | ||
272 | * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in | |
273 | case. | |
274 | (CLEANFILES): added *.x (and removed from DISTCLEANFILES) | |
275 | ||
6b0d28a3 ML |
276 | 2001-05-28 Michael Livshin <mlivshin@bigfoot.com> |
277 | ||
278 | * srfi-19.scm: removed a stray open parenthesis. (thanks to | |
279 |