* srfi-1.scm: Replaced calls to `map' in several procedures to
[bpt/guile.git] / srfi / ChangeLog
1 2001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
2
3 * srfi-1.scm: Replaced calls to `map' in several procedures to
4 calls to `map1'.
5 (map, for-each): New procedures, extended from R5RS.
6
7 2001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
8
9 * srfi-4.c: Minor cleanups.
10
11 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
12 (scm_char_set_unfold_x, scm_char_set_for_each)
13 (scm_char_set_map, scm_char_set_filter)
14 (scm_char_set_filter_x, scm_char_set_count)
15 (scm_char_set_every, scm_char_set_any): Replace calls to
16 scm_apply() with the corresponding scm_call_N() functions.
17
18 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
19 (scm_char_set_unfold, scm_char_set_unfold_x)
20 (scm_char_set_map, scm_char_set_diff_plus_intersection)
21 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
22 SCM_LISTN with calls to scm_list_N().
23
24 * srfi-13.c (scm_string_tabulate, scm_string_map)
25 (scm_string_map_x, scm_string_unfold)
26 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
27 with calls to scm_list_N().
28
29 * srfi-13.c (scm_string_any, scm_string_every),
30 (scm_string_tabulate, scm_string_trim),
31 (scm_string_trim_right, scm_string_trim_both),
32 (scm_string_compare, scm_string_compare_ci),
33 (scm_string_indexS, scm_string_index_right),
34 (scm_string_skip, scm_string_skip_right, scm_string_count),
35 (scm_string_map, scm_string_map_x, scm_string_fold),
36 (scm_string_fold_right, scm_string_unfold),
37 (scm_string_unfold_right, scm_string_for_each),
38 (scm_string_filter, scm_string_delete): Replace calls to
39 scm_apply() with the corresponding scm_call_N() functions.
40
41 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
42
43 * Makefile.am: Added SRFI-4 files in various places.
44
45 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
46
47 2001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
48
49 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
50 scm_string_take_right, scm_string_drop_right, scm_string_trim,
51 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
52 Use scm_mem2string instead of scm_makfromstr.
53
54 (scm_reverse_list_to_string, string_titlecase_x): Prefer
55 !SCM_<pred> over SCM_N<pred>.
56
57 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
58
59 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
60 `receive'.
61
62 2001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
63
64 The SRFI-19 implementation was completely broken. Already the
65 reference implementation did not handle DST and time zones
66 properly and relied on non-R5RS-isms like passing reals to
67 `quotient'. For Guile, some additional fixes were needed because
68 of the incomplete numeric tower implementation. See also
69 srfi-19.test.
70
71 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
72 (add-duration): Renamed from priv:add-duration.
73 (priv:time-normalize!): Handle fractional nanoseconds; remove
74 duplicate definition.
75 (priv:current-time-tai): Fixed typo.
76 (time=?, time<=?): Fixed typos.
77 (time-tai->time-utc, time-utc->time-tai,
78 time-utc->time-monotonic): Use make-time-unnormalized instead of
79 make-time when uninitialized time fields are used.
80 (set-date-nanosecond!, set-date-second!, set-date-minute!,
81 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
82 set-date-zone-offset!): Define.
83 (priv:local-tz-offset): Take an extra argument in order to handle
84 DST effects.
85 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
86 changed signature of priv:local-tz-offset. Don't pass non-integer
87 arguments to quotient (non-R5RS, not supported by Guile).
88 (date->time-utc): Ensure that seconds in a date structure are
89 always exact integers. Handle DST properly.
90 (current-date, julian-day->date, modified-julian-day->date):
91 Handle the changed signature of priv:local-tz-offset.
92 (julian-day->time-utc): Reverted earlier inexact->exact hack;
93 make-time now handles inexact arguments.
94 (priv:locale-print-time-zone): At least print the numerical time
95 zone.
96 (priv:integer-reader): Fixed named let iteration.
97 (priv:read-directives): Use set-date-month! instead of
98 priv:set-date-month! etc.
99 (string->date): Handle DST properly.
100
101 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
102
103 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
104
105 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
106
107 * srfi-14.c (charset_print): Mark unused parameters with
108 SCM_UNUSED.
109
110 2001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
111
112 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
113 (delete-duplicates): Now the first occurrence of an element is
114 retained, as required.
115 (member, assoc): Fixed wrong order of equality predicate
116 application.
117
118 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
119
120 * README: Update.
121
122 * srfi-1.scm: New file.
123
124 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
125
126 Added exception notice to all files.
127
128 2001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
129
130 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
131 shared library.
132
133 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
134
135 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
136 case.
137 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
138
139 2001-05-28 Michael Livshin <mlivshin@bigfoot.com>
140
141 * srfi-19.scm: removed a stray open parenthesis. (thanks to
142 Matthias Köppe for the report).
143
144 2001-05-23 Rob Browning <rlb@cs.utexas.edu>
145
146 * srfi-19.scm (:optional): renamed to optional to avoid reader
147 keywords conflict. Time passes... Removed :optional altogether
148 and just handle optional args directly. Thanks to Matthias Koeppe
149 for the report of this and the two bits below.
150 (priv:decode-julian-day-number): add inexact->exact for truncate
151 result.
152 (time-utc->date): add inexact->exact and floor so quotient will
153 work.
154
155 2001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
156
157 * README: Update, document available SRFIs.
158
159 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
160
161 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
162 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
163 srfi-2.scm: Use `cond-expand-provide' for providing features to
164 `cond-expand'.
165
166 2001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
167
168 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
169 `initialized'.
170
171 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
172
173 Avoid using module operations from C.
174
175 * srfi-13.c (scm_init_srfi_13_14): Removed.
176 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
177 initializations needed by C clients of srfi-14.
178 (scm_init_srfi_13, scm_init_srfi_14): Call it.
179 * srfi-13.scm: Call "scm_init_srfi_13" instead of
180 "scm_init_srfi_13_14".
181 * srfi-14.scm: Call "scm_init_srfi_14" instead of
182 "scm_init_srfi_13_14".
183
184 2001-05-16 Rob Browning <rlb@cs.utexas.edu>
185
186 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
187
188 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
189
190 * Makefile.am (srfi_DATA): Added srfi-16.scm.
191
192 * srfi-16.scm: New file.
193
194 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
195
196 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
197 Fixed.
198
199 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
200
201 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
202
203 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
204
205 * Makefile.am (srfi_DATA): added srfi-19.scm.
206
207 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
208 Fitzgerald.
209
210 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
211
212 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
213
214 * srfi-10.scm: Typo fix.
215
216 2001-05-02 Rob Browning <rlb@cs.utexas.edu>
217
218 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
219
220 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
221
222 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
223
224 * srfi-10.scm: New file.
225
226 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
227 lot!
228 Added `Commentary:' tag.
229
230 * srfi-9.scm: Added `Commentary:' tag.
231
232 2001-04-27 Rob Browning <rlb@cs.utexas.edu>
233
234 * srfi-13.h
235 (scm_reverse_string_concatenate): renamed to
236 scm_string_concatentate_reverse.
237 (scm_reverse_string_concatenate_shared): renamed to
238 scm_string_concatenate_reverse_shared.
239
240 2001-04-27 Gary Houston <ghouston@arglist.com>
241
242 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
243 add "srfi/" to lines including .x files so they can be found
244 when build_dir != src_dir.
245
246 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
247
248 * Makefile.am (srfi_DATA): Added srfi-9.scm.
249
250 * srfi-9.scm: New file. Exports `define-record-type'.
251
252 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
253
254 * Makefile.am (srfi_DATA): added srfi-6.scm.
255 (srfi_DATA): added srfi-11.scm.
256 (srfi_DATA): added srfi-8.scm.
257 (srfi_DATA): added srfi-2.scm.
258
259 * srfi-11.scm: new file - exports let-values and let*-values.
260
261 * srfi-6.scm: new file - guile already has srfi-6 procedures
262 loaded by default, so this is a dummy file right now.
263
264 * srfi-8.scm: new file - exports receive.
265
266 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
267
268 2001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
269
270 Changed two procedure names to match final SRFI document. Thanks
271 to Rob Browning for spotting this.
272
273 * srfi-13.scm (string-concatenate-reverse),
274 (string-concatenate-reverse/shared): Rename from
275 reverse-string-concatenate[/shared].
276
277 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
278 scm_reverse_string_concatenate_shared.
279 (scm_string_concatenate_reverse): Renamed from
280 scm_reverse_string_concatenate.
281
282 2001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
283
284 * configure.in, autogen.sh: Removed.
285
286 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
287 when using memmove().
288
289 * srfi-14.h: Added prototypes for all exported procedures..
290
291 * srfi-13.c: Include srfi-13.h
292
293 * srfi-13.h: New file containing the prototypes.
294
295 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
296 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
297 distributed.
298 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
299
300 2001-04-24 Neil Jerram <neil@ossau.uklinux.net>
301
302 * Makefile.am: Fixed "srf-14.x" typo.
303
304 2001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
305
306 * guile-srfi.texi: Removed, because merged with the GRM.
307
308 * guile-srfi.texi: The docs are now up to date with the
309 implementation and have new introductory material.
310
311 2001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
312
313 Integrated the guile-srfi package into the Guile distribution.
314
315 * srfi-13.c: All procedures so specified in the SRFI now accept
316 character set arguments.
317
318 * Makefile.am: Snarfed some variables from the guile-readline
319 directory.
320
321 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
322
323 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
324 configure.in, Makefile.am: Added FSF copyright and Guile license
325 information.
326
327 * srfi-13.c, srfi-14.c: Include srfi-14.h.
328 (scm_init_srfi_13_14): Initialize the complete module, if not
329 already done so.
330
331 * srfi-14.h: New file.
332
333 * srfi-13.scm, srfi-14.scm: Load new combined library.
334
335 * Makefile.am: Build only one library,
336 `libguile-srfi-srfi-13-14.la'
337
338 2001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
339
340 * guile-srfi.texi: Integrated the SRFI-14 documentation.
341
342 * srfi-14.c, srfi-14.scm: Made the procedures and variables
343 compliant to the final SRFI document.
344
345 * Renamed the package to guile-srfi.
346
347 2001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
348
349 * NEWS: New section for 0.0.3.
350
351 * configure.in, README, guile-srfi-13.texi: Bumped version number
352 to 0.0.3.
353
354 * Released version 0.0.2.
355
356 * Makefile.am: Added rules for builing the SRFI-14 library.
357
358 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
359 (character set library).
360
361 2001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
362
363 * README: Updated procedure and incompatibility list.
364
365 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
366 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
367 (scm_string_downcaseS, string_titlecase_x),
368 (scm_string_titlecase_x, scm_string_titlecase),
369 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
370 procedures.
371
372 * srfi-13.scm: Export new case mapping procedures.
373
374 * guile-srfi-13.texi (What cannot be done): Removed case mapping
375 procedures from incompatibility list.
376 (Case Mapping): New section for case mapping procedures.
377
378 2001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
379
380 * NEWS: New section for 0.0.2
381
382 * configure.in, README, guile-srfi-13.texi: Bumbed version number
383 to 0.0.2
384
385 * Released version 0.0.1.
386
387 * README: Made procedure list up-to-date.
388
389 * guile-srfi-13.texi: Fixed typos, completed reference and added
390 introductory blurb.
391
392 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
393
394 2001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
395
396 * Started guile-srfi-13 package. Files are copied from the
397 guile-gdbm and slightly modified.