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