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