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