1 2001-07-31 Gary Houston <ghouston@arglist.com>
3 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
4 accounting for the (char-set-union cs2...) in the spec. i.e.,
5 (char-set-diff+intersection a) -> copy-of-a, empty-set
6 and the following are equivalent:
7 (char-set-diff+intersection a (char-set #\a) (char-set #\b))
8 (char-set-diff+intersection a (char-set #\a #\b))
10 (scm_char_set_xor_x): disabled the side-effecting code, since it
11 gives inconsistent results to scm_char_set_xor for the case
12 (char-set-xor! a a a).
14 (scm_char_set_diff_plus_intersection_x): added cs2 argument, since
15 two arguments are compulsory in final spec. also similar changes
16 as for scm_char_set_diff_plus_intersection.
17 * srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
19 2001-07-22 Gary Houston <ghouston@arglist.com>
21 * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
22 the compulsory cs1 arguments: all args are optional in final spec.
24 * srfi-14.h: declarations updated.
26 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
28 * srfi-11.scm, srfi-8.scm: Update copyright notice.
30 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
32 * srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
35 * srfi-19.scm: Define `current-time' before exporting it.
37 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
39 * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
40 side. Bit sets were handled wrong because I couldn't tell bit
41 counts from byte counts. Also, the bit array should be 256 / 8
42 bytes long. Thank you, Gary!
44 Removed unnecessary protoype for scm_char_set_copy.
46 2001-07-16 Gary Houston <ghouston@arglist.com>
48 * srfi-14.scm: export string->char-set!, not string-char-set!.
50 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
51 scm_end_of_char_set_p): reject negative cursor values.
52 (scm_list_to_char_set, scm_list_to_char_set_x): when reporting
53 type error in list component, omit the position (was always 1).
55 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
57 (scm_char_set_map): Bug-fix: char-set-map was modifying the
58 argument instead of the return value.
60 2001-07-16 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
62 * srfi-14.c: Allocate correct memory size for charsets (32 bytes),
63 use this value for initializing and comparing charsets.
64 (scm_char_set_hash): Use ``better'' hash algorithm which produces
67 2001-07-15 Gary Houston <ghouston@arglist.com>
69 * srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
70 opt arg to give default bound, as in final spec. don't allow
72 (scm_char_set_hash): bug fix: was overrunning the buffer and
73 calculating based on garbage.
74 (scm_char_set_eq, scm_char_set_leq): fix argument number in error
75 reporting: wasn't incremented due to macro coding.
76 (scm_char_set): report argument number in error reporting: was
77 hard coded to 1. remove a couple of local variables.
79 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
81 * srfi-2.scm (and-let*): Use `re-export-syntax' instead of
84 2001-07-11 Gary Houston <ghouston@arglist.com>
86 * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
87 return #t instead of giving wrong-number-of-arguments . take a
88 single "rest" argument. use memcmp instead of a loop to compare
90 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
91 take a single "rest" argument.
92 srfi-14.h: update the declarations.
94 2001-07-09 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
98 2001-07-06 Gary Houston <ghouston@arglist.com>
100 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
101 delete!, assoc): roll back the previous change. instead place
102 dummy definitions in a deprecated block at the beginning as in
105 2001-07-06 Rob Browning <rlb@defaultvalue.org>
107 * srfi-19.scm (priv:locale-reader): don't need open-output-string.
109 2001-07-03 Gary Houston <ghouston@arglist.com>
111 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
112 delete!, assoc): don't export until the new bindings have been
113 created. otherwise "export" thinks they are being re-exported and
114 a deprecation warning is produced.
115 (map-in-order): defined and exported, to support lists of unequal
118 2001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
120 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
121 invalid arguments. Same fix for several other procedures (do not
122 use zero?, use <= 0).
124 2001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
126 * srfi-1.scm: Replaced calls to `map' in several procedures to
128 (map, for-each): New procedures, extended from R5RS.
130 2001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
132 * srfi-4.c: Minor cleanups.
134 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
135 (scm_char_set_unfold_x, scm_char_set_for_each)
136 (scm_char_set_map, scm_char_set_filter)
137 (scm_char_set_filter_x, scm_char_set_count)
138 (scm_char_set_every, scm_char_set_any): Replace calls to
139 scm_apply() with the corresponding scm_call_N() functions.
141 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
142 (scm_char_set_unfold, scm_char_set_unfold_x)
143 (scm_char_set_map, scm_char_set_diff_plus_intersection)
144 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
145 SCM_LISTN with calls to scm_list_N().
147 * srfi-13.c (scm_string_tabulate, scm_string_map)
148 (scm_string_map_x, scm_string_unfold)
149 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
150 with calls to scm_list_N().
152 * srfi-13.c (scm_string_any, scm_string_every),
153 (scm_string_tabulate, scm_string_trim),
154 (scm_string_trim_right, scm_string_trim_both),
155 (scm_string_compare, scm_string_compare_ci),
156 (scm_string_indexS, scm_string_index_right),
157 (scm_string_skip, scm_string_skip_right, scm_string_count),
158 (scm_string_map, scm_string_map_x, scm_string_fold),
159 (scm_string_fold_right, scm_string_unfold),
160 (scm_string_unfold_right, scm_string_for_each),
161 (scm_string_filter, scm_string_delete): Replace calls to
162 scm_apply() with the corresponding scm_call_N() functions.
164 2001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
166 * Makefile.am: Added SRFI-4 files in various places.
168 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
170 2001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
172 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
173 scm_string_take_right, scm_string_drop_right, scm_string_trim,
174 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
175 Use scm_mem2string instead of scm_makfromstr.
177 (scm_reverse_list_to_string, string_titlecase_x): Prefer
178 !SCM_<pred> over SCM_N<pred>.
180 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
182 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
185 2001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
187 The SRFI-19 implementation was completely broken. Already the
188 reference implementation did not handle DST and time zones
189 properly and relied on non-R5RS-isms like passing reals to
190 `quotient'. For Guile, some additional fixes were needed because
191 of the incomplete numeric tower implementation. See also
194 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
195 (add-duration): Renamed from priv:add-duration.
196 (priv:time-normalize!): Handle fractional nanoseconds; remove
197 duplicate definition.
198 (priv:current-time-tai): Fixed typo.
199 (time=?, time<=?): Fixed typos.
200 (time-tai->time-utc, time-utc->time-tai,
201 time-utc->time-monotonic): Use make-time-unnormalized instead of
202 make-time when uninitialized time fields are used.
203 (set-date-nanosecond!, set-date-second!, set-date-minute!,
204 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
205 set-date-zone-offset!): Define.
206 (priv:local-tz-offset): Take an extra argument in order to handle
208 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
209 changed signature of priv:local-tz-offset. Don't pass non-integer
210 arguments to quotient (non-R5RS, not supported by Guile).
211 (date->time-utc): Ensure that seconds in a date structure are
212 always exact integers. Handle DST properly.
213 (current-date, julian-day->date, modified-julian-day->date):
214 Handle the changed signature of priv:local-tz-offset.
215 (julian-day->time-utc): Reverted earlier inexact->exact hack;
216 make-time now handles inexact arguments.
217 (priv:locale-print-time-zone): At least print the numerical time
219 (priv:integer-reader): Fixed named let iteration.
220 (priv:read-directives): Use set-date-month! instead of
221 priv:set-date-month! etc.
222 (string->date): Handle DST properly.
224 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
226 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
228 2001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
230 * srfi-14.c (charset_print): Mark unused parameters with
233 2001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
235 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
236 (delete-duplicates): Now the first occurrence of an element is
237 retained, as required.
238 (member, assoc): Fixed wrong order of equality predicate
241 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
245 * srfi-1.scm: New file.
247 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
249 Added exception notice to all files.
251 2001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
253 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
256 2001-05-31 Michael Livshin <mlivshin@bigfoot.com>
258 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
260 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
262 2001-05-28 Michael Livshin <mlivshin@bigfoot.com>
264 * srfi-19.scm: removed a stray open parenthesis. (thanks to
265 Matthias Köppe for the report).
267 2001-05-23 Rob Browning <rlb@cs.utexas.edu>
269 * srfi-19.scm (:optional): renamed to optional to avoid reader
270 keywords conflict. Time passes... Removed :optional altogether
271 and just handle optional args directly. Thanks to Matthias Koeppe
272 for the report of this and the two bits below.
273 (priv:decode-julian-day-number): add inexact->exact for truncate
275 (time-utc->date): add inexact->exact and floor so quotient will
278 2001-05-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
280 * README: Update, document available SRFIs.
282 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
284 * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
285 srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
286 srfi-2.scm: Use `cond-expand-provide' for providing features to
289 2001-05-20 Marius Vollmer <mvo@zagadka.ping.de>
291 * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
294 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
296 Avoid using module operations from C.
298 * srfi-13.c (scm_init_srfi_13_14): Removed.
299 * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains
300 initializations needed by C clients of srfi-14.
301 (scm_init_srfi_13, scm_init_srfi_14): Call it.
302 * srfi-13.scm: Call "scm_init_srfi_13" instead of
303 "scm_init_srfi_13_14".
304 * srfi-14.scm: Call "scm_init_srfi_14" instead of
305 "scm_init_srfi_13_14".
307 2001-05-16 Rob Browning <rlb@cs.utexas.edu>
309 * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
311 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
313 * Makefile.am (srfi_DATA): Added srfi-16.scm.
315 * srfi-16.scm: New file.
317 2001-05-10 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
319 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
322 2001-05-08 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
324 * srfi-13.c (scm_string_copyS): Fixed nasty bug.
326 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
328 * Makefile.am (srfi_DATA): added srfi-19.scm.
330 * srfi-19.scm: New file - time/date SRFI. Thanks to Will
333 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
335 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
337 * srfi-10.scm: Typo fix.
339 2001-05-02 Rob Browning <rlb@cs.utexas.edu>
341 * srfi-11.scm (let-values): fix (a b c . d) case. Thanks Martin.
343 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
345 * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.
347 * srfi-10.scm: New file.
349 * srfi-17.scm: New file, contributed by Matthias Koeppe. Thanks a
351 Added `Commentary:' tag.
353 * srfi-9.scm: Added `Commentary:' tag.
355 2001-04-27 Rob Browning <rlb@cs.utexas.edu>
358 (scm_reverse_string_concatenate): renamed to
359 scm_string_concatentate_reverse.
360 (scm_reverse_string_concatenate_shared): renamed to
361 scm_string_concatenate_reverse_shared.
363 2001-04-27 Gary Houston <ghouston@arglist.com>
365 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
366 add "srfi/" to lines including .x files so they can be found
367 when build_dir != src_dir.
369 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
371 * Makefile.am (srfi_DATA): Added srfi-9.scm.
373 * srfi-9.scm: New file. Exports `define-record-type'.
375 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
377 * Makefile.am (srfi_DATA): added srfi-6.scm.
378 (srfi_DATA): added srfi-11.scm.
379 (srfi_DATA): added srfi-8.scm.
380 (srfi_DATA): added srfi-2.scm.
382 * srfi-11.scm: new file - exports let-values and let*-values.
384 * srfi-6.scm: new file - guile already has srfi-6 procedures
385 loaded by default, so this is a dummy file right now.
387 * srfi-8.scm: new file - exports receive.
389 * srfi-2.scm: new file - just use/export (ice-9 and-let-star)
391 2001-04-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
393 Changed two procedure names to match final SRFI document. Thanks
394 to Rob Browning for spotting this.
396 * srfi-13.scm (string-concatenate-reverse),
397 (string-concatenate-reverse/shared): Rename from
398 reverse-string-concatenate[/shared].
400 * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
401 scm_reverse_string_concatenate_shared.
402 (scm_string_concatenate_reverse): Renamed from
403 scm_reverse_string_concatenate.
405 2001-04-25 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
407 * configure.in, autogen.sh: Removed.
409 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
410 when using memmove().
412 * srfi-14.h: Added prototypes for all exported procedures..
414 * srfi-13.c: Include srfi-13.h
416 * srfi-13.h: New file containing the prototypes.
418 * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
419 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
421 (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
423 2001-04-24 Neil Jerram <neil@ossau.uklinux.net>
425 * Makefile.am: Fixed "srf-14.x" typo.
427 2001-04-24 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
429 * guile-srfi.texi: Removed, because merged with the GRM.
431 * guile-srfi.texi: The docs are now up to date with the
432 implementation and have new introductory material.
434 2001-04-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
436 Integrated the guile-srfi package into the Guile distribution.
438 * srfi-13.c: All procedures so specified in the SRFI now accept
439 character set arguments.
441 * Makefile.am: Snarfed some variables from the guile-readline
444 * srfi-14.c, srfi-14.h: Add prefix SCM_ to exported macros.
446 * srfi-13.scm, srfi-14.scm, srfi-13.c, srfi-14.c, srfi-14.h,
447 configure.in, Makefile.am: Added FSF copyright and Guile license
450 * srfi-13.c, srfi-14.c: Include srfi-14.h.
451 (scm_init_srfi_13_14): Initialize the complete module, if not
454 * srfi-14.h: New file.
456 * srfi-13.scm, srfi-14.scm: Load new combined library.
458 * Makefile.am: Build only one library,
459 `libguile-srfi-srfi-13-14.la'
461 2001-04-04 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
463 * guile-srfi.texi: Integrated the SRFI-14 documentation.
465 * srfi-14.c, srfi-14.scm: Made the procedures and variables
466 compliant to the final SRFI document.
468 * Renamed the package to guile-srfi.
470 2001-04-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
472 * NEWS: New section for 0.0.3.
474 * configure.in, README, guile-srfi-13.texi: Bumped version number
477 * Released version 0.0.2.
479 * Makefile.am: Added rules for builing the SRFI-14 library.
481 * srfi-14.c, srfi-14.scm: New files, implementing SRFI-14
482 (character set library).
484 2001-03-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
486 * README: Updated procedure and incompatibility list.
488 * srfi-13.c (string_upcase_x, scm_string_upcase_xS),
489 (scm_string_upcase, string_downcase_x, scm_string_downcase_xS),
490 (scm_string_downcaseS, string_titlecase_x),
491 (scm_string_titlecase_x, scm_string_titlecase),
492 (scm_string_fill_xS, scm_string_copyS, scm_string_to_listS): New
495 * srfi-13.scm: Export new case mapping procedures.
497 * guile-srfi-13.texi (What cannot be done): Removed case mapping
498 procedures from incompatibility list.
499 (Case Mapping): New section for case mapping procedures.
501 2001-03-26 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
503 * NEWS: New section for 0.0.2
505 * configure.in, README, guile-srfi-13.texi: Bumbed version number
508 * Released version 0.0.1.
510 * README: Made procedure list up-to-date.
512 * guile-srfi-13.texi: Fixed typos, completed reference and added
515 * srfi-13.c, srfi-13.scm: Filled in the last missing pieces.
517 2001-03-22 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
519 * Started guile-srfi-13 package. Files are copied from the
520 guile-gdbm and slightly modified.