Commit | Line | Data |
---|---|---|
d0e06238 MV |
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 | ||
0f002b27 MV |
40 | 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de> |
41 | ||
42 | * srfi-13.scm: Prevent `export' from re-exporting core bindings. | |
43 | ||
e81d98ec DH |
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 | ||
563058ef MG |
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. | |
563058ef | 56 | |
e9680547 MG |
57 | 2001-06-06 Martin Grabmueller <mgrabmue@cs.tu-berlin.de> |
58 | ||
59 | * README: Update. | |
60 | ||
61 | * srfi-1.scm: New file. | |
62 | ||
f480396b MV |
63 | 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de> |
64 | ||
65 | Added exception notice to all files. | |
66 | ||
dd22a80a MG |
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 | ||
998c3141 ML |
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 | ||
6b0d28a3 ML |
78 | 2001-05-28 Michael Livshin <mlivshin@bigfoot.com> |
79 | ||
80 | * srfi-19.scm: removed a stray open parenthesis. (thanks to | |
81 |