1 2001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
3 * srfi-1.scm: Replaced calls to `map' in several procedures to
5 (map, for-each): New procedures, extended from R5RS.
7 2001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
9 * srfi-4.c: Minor cleanups.
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.
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().
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().
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.
41 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
43 * Makefile.am: Added SRFI-4 files in various places.
45 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
47 2001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
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.
54 (scm_reverse_list_to_string, string_titlecase_x): Prefer
55 !SCM_<pred> over SCM_N<pred>.
57 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
59 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
62 2001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
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
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
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
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
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.
101 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
103 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
105 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
107 * srfi-14.c (charset_print): Mark unused parameters with
110 2001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
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
118 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
122 * srfi-1.scm: New file.
124 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
126 Added exception notice to all files.
128 2001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
130 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
133 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
135 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
137 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
139 2001-05-28 Michael Livshin <mlivshin@bigfoot.com>
141 * srfi-19.scm: removed a stray open parenthesis. (thanks to
142 Matthias Köppe for the report).
144 2001-05-23 Rob Browning <rlb@cs.utexas.edu>
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
152 (time-utc->date): add inexact->exact and floor so quotient will
155 2001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
157 * README: Update, document available SRFIs.
159 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
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
166 2001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
168 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
171 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
173 Avoid using module operations from C.
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".
184 2001-05-16 Rob Browning <rlb@cs.utexas.edu>
186 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
188 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
190 * Makefile.am (srfi_DATA): Added srfi-16.scm.
192 * srfi-16.scm: New file.
194 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
196 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
199 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
201 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
203 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
205 * Makefile.am (srfi_DATA): added srfi-19.scm.
207 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
210 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
212 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
214 * srfi-10.scm: Typo fix.
216 2001-05-02 Rob Browning <rlb@cs.utexas.edu>
218 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
220 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
222 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
224 * srfi-10.scm: New file.
226 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
228 Added `Commentary:' tag.
230 * srfi-9.scm: Added `Commentary:' tag.
232 2001-04-27 Rob Browning <rlb@cs.utexas.edu>
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.
240 2001-04-27 Gary Houston <ghouston@arglist.com>
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.
246 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
248 * Makefile.am (srfi_DATA): Added srfi-9.scm.
250 * srfi-9.scm: New file. Exports `define-record-type'.
252 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
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.
259 * srfi-11.scm: new file - exports let-values and let*-values.
261 * srfi-6.scm: new file - guile already has srfi-6 procedures
262 loaded by default, so this is a dummy file right now.
264 * srfi-8.scm: new file - exports receive.
266 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
268 2001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
270 Changed two procedure names to match final SRFI document. Thanks
271 to Rob Browning for spotting this.
273 * srfi-13.scm (string-concatenate-reverse),
274 (string-concatenate-reverse/shared): Rename from
275 reverse-string-concatenate[/shared].
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.
282 2001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
284 * configure.in, autogen.sh: Removed.
286 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
287 when using memmove().
289 * srfi-14.h: Added prototypes for all exported procedures..
291 * srfi-13.c: Include srfi-13.h
293 * srfi-13.h: New file containing the prototypes.
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
298 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
300 2001-04-24 Neil Jerram <neil@ossau.uklinux.net>
302 * Makefile.am: Fixed "srf-14.x" typo.
304 2001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
306 * guile-srfi.texi: Removed, because merged with the GRM.
308 * guile-srfi.texi: The docs are now up to date with the
309 implementation and have new introductory material.
311 2001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
313 Integrated the guile-srfi package into the Guile distribution.
315 * srfi-13.c: All procedures so specified in the SRFI now accept
316 character set arguments.
318 * Makefile.am: Snarfed some variables from the guile-readline
321 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
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
327 * srfi-13.c, srfi-14.c: Include srfi-14.h.
328 (scm_init_srfi_13_14): Initialize the complete module, if not
331 * srfi-14.h: New file.
333 * srfi-13.scm, srfi-14.scm: Load new combined library.
335 * Makefile.am: Build only one library,
336 `libguile-srfi-srfi-13-14.la'
338 2001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
340 * guile-srfi.texi: Integrated the SRFI-14 documentation.
342 * srfi-14.c, srfi-14.scm: Made the procedures and variables
343 compliant to the final SRFI document.
345 * Renamed the package to guile-srfi.
347 2001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
349 * NEWS: New section for 0.0.3.
351 * configure.in, README, guile-srfi-13.texi: Bumped version number
354 * Released version 0.0.2.
356 * Makefile.am: Added rules for builing the SRFI-14 library.
358 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
359 (character set library).
361 2001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
363 * README: Updated procedure and incompatibility list.
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
372 * srfi-13.scm: Export new case mapping procedures.
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.
378 2001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
380 * NEWS: New section for 0.0.2
382 * configure.in, README, guile-srfi-13.texi: Bumbed version number
385 * Released version 0.0.1.
387 * README: Made procedure list up-to-date.
389 * guile-srfi-13.texi: Fixed typos, completed reference and added
392 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
394 2001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
396 * Started guile-srfi-13 package. Files are copied from the
397 guile-gdbm and slightly modified.