* srfi-19.scm (priv:locale-reader): don't need open-output-string.
[bpt/guile.git] / srfi / ChangeLog
CommitLineData
26c22ea8
GH
12001-07-03 Gary Houston <ghouston@arglist.com>
2
3 * srfi-1.scm (iota, map, for-each, list-index, member, delete,
4 delete!, assoc): don't export until the new bindings have been
5 created. otherwise "export" thinks they are being re-exported and
6 a deprecation warning is produced.
6d52dbf2
GH
7 (map-in-order): defined and exported, to support lists of unequal
8 length.
26c22ea8 9
018adcae
MG
102001-07-03 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
11
12 * srfi-1.scm (list-tabulate): Do not go into infinite loop for
e800aa04
MG
13 invalid arguments. Same fix for several other procedures (do not
14 use zero?, use <= 0).
018adcae 15
cef248dd
MG
162001-07-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
17
18 * srfi-1.scm: Replaced calls to `map' in several procedures to
19 calls to `map1'.
20 (map, for-each): New procedures, extended from R5RS.
21
2c4df451
MG
222001-06-28 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
23
24 * srfi-4.c: Minor cleanups.
25
26 * srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
27 (scm_char_set_unfold_x, scm_char_set_for_each)
28 (scm_char_set_map, scm_char_set_filter)
29 (scm_char_set_filter_x, scm_char_set_count)
30 (scm_char_set_every, scm_char_set_any): Replace calls to
31 scm_apply() with the corresponding scm_call_N() functions.
32
33 * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
34 (scm_char_set_unfold, scm_char_set_unfold_x)
35 (scm_char_set_map, scm_char_set_diff_plus_intersection)
36 (scm_char_set_diff_plus_intersection_x): Replace deprecated macros
37 SCM_LISTN with calls to scm_list_N().
38
39 * srfi-13.c (scm_string_tabulate, scm_string_map)
40 (scm_string_map_x, scm_string_unfold)
41 (scm_string_unfold_right): Replace deprecated macros SCM_LISTN
42 with calls to scm_list_N().
43
44 * srfi-13.c (scm_string_any, scm_string_every),
45 (scm_string_tabulate, scm_string_trim),
46 (scm_string_trim_right, scm_string_trim_both),
47 (scm_string_compare, scm_string_compare_ci),
48 (scm_string_indexS, scm_string_index_right),
49 (scm_string_skip, scm_string_skip_right, scm_string_count),
50 (scm_string_map, scm_string_map_x, scm_string_fold),
51 (scm_string_fold_right, scm_string_unfold),
52 (scm_string_unfold_right, scm_string_for_each),
53 (scm_string_filter, scm_string_delete): Replace calls to
54 scm_apply() with the corresponding scm_call_N() functions.
55
71ca65d9
MG
562001-06-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
57
58 * Makefile.am: Added SRFI-4 files in various places.
59
60 * srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
61
36284627
DH
622001-06-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
63
64 * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
65 scm_string_take_right, scm_string_drop_right, scm_string_trim,
66 scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
67 Use scm_mem2string instead of scm_makfromstr.
68
69 (scm_reverse_list_to_string, string_titlecase_x): Prefer
70 !SCM_<pred> over SCM_N<pred>.
71
f6581113
MV
722001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
73
74 * srfi-8.scm: Use `re-export-syntax' to correctly re-export
75 `receive'.
76
d0e06238
MV
772001-06-18 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
78
79 The SRFI-19 implementation was completely broken. Already the
80 reference implementation did not handle DST and time zones
81 properly and relied on non-R5RS-isms like passing reals to
82 `quotient'. For Guile, some additional fixes were needed because
83 of the incomplete numeric tower implementation. See also
84 srfi-19.test.
85
86 * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
87 (add-duration): Renamed from priv:add-duration.
88 (priv:time-normalize!): Handle fractional nanoseconds; remove
89 duplicate definition.
90 (priv:current-time-tai): Fixed typo.
91 (time=?, time<=?): Fixed typos.
92 (time-tai->time-utc, time-utc->time-tai,
93 time-utc->time-monotonic): Use make-time-unnormalized instead of
94 make-time when uninitialized time fields are used.
95 (set-date-nanosecond!, set-date-second!, set-date-minute!,
96 set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
97 set-date-zone-offset!): Define.
98 (priv:local-tz-offset): Take an extra argument in order to handle
99 DST effects.
100 (time-utc->date, time-tai->date, time-monotonic->date): Handle the
101 changed signature of priv:local-tz-offset. Don't pass non-integer
102 arguments to quotient (non-R5RS, not supported by Guile).
103 (date->time-utc): Ensure that seconds in a date structure are
104 always exact integers. Handle DST properly.
105 (current-date, julian-day->date, modified-julian-day->date):
106 Handle the changed signature of priv:local-tz-offset.
107 (julian-day->time-utc): Reverted earlier inexact->exact hack;
108 make-time now handles inexact arguments.
109 (priv:locale-print-time-zone): At least print the numerical time
110 zone.
111 (priv:integer-reader): Fixed named let iteration.
112 (priv:read-directives): Use set-date-month! instead of
113 priv:set-date-month! etc.
114 (string->date): Handle DST properly.
115
0f002b27
MV
1162001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
117
118 * srfi-13.scm: Prevent `export' from re-exporting core bindings.
119
e81d98ec
DH
1202001-06-07 Dirk Herrmann <D.Herrmann@tu-bs.de>
121
122 * srfi-14.c (charset_print): Mark unused parameters with
123 SCM_UNUSED.
124
563058ef
MG
1252001-06-07 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
126
127 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
128 (delete-duplicates): Now the first occurrence of an element is
129 retained, as required.
130 (member, assoc): Fixed wrong order of equality predicate
131 application.
563058ef 132
e9680547
MG
1332001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
134
135 * README: Update.
136
137 * srfi-1.scm: New file.
138
f480396b
MV
1392001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
140
141 Added exception notice to all files.
142
dd22a80a
MG
1432001-05-31 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
144
145 * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
146 shared library.
147
998c3141
ML
1482001-05-31 Michael Livshin <mlivshin@bigfoot.com>
149
150 * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
151 case.
152 (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
153
6b0d28a3
ML
1542001-05-28 Michael Livshin <mlivshin@bigfoot.com>
155
156 * srfi-19.scm: removed a stray open parenthesis. (thanks to
157