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