1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-06 15:06:15 +00:00
Commit Graph

3215 Commits

Author SHA1 Message Date
Paul Eggert
1f4030f845 Release tzcode2013i and tzdata2013i.
* NEWS, Makefile (VERSION): Increase to 2013i.
2013i
2013-12-17 07:26:04 -08:00
Paul Eggert
b0cde690c6 Asia/Amman: Jordan's Dec. 20 transition is DST, not standard time
(Thanks to Steffen Thorsen.)
* asia (Jordan): Transition is at 00:00, not 00:00s.
* NEWS: Document this.
2013-12-11 12:29:10 -08:00
Paul Eggert
ed8f3bd6d2 Asia/Amman: Jordan reverts to standard time on Dec. 20
* asia (Jordan, Asia/Amman): Jordan switches back to standard time
on 2013-12-20.  (Thanks to Steffen Thorsen.)  Assume this is at
00:00s, and that the previous schedule resumes next year.
* NEWS: Document this.
2013-12-11 11:30:51 -08:00
Paul Eggert
f0b7563dc2 America/Havana: fix spring 2004 transition
* northamerica (Cuba), NEWS: In 2004, Cuba began DST on March 28,
not April 4.  (Thanks to Steffen Thorsen.)
2013-11-13 01:00:16 -08:00
Paul Eggert
1b2656774f build: remove NOSOLAR option
The current tzdata now goes to 17, which is uncomfortably close to
the NOSOLAR limit of 20.
* Makefile (CFLAGS): Remove NOSOLAR comment.
* tzfile.h (TZ_MAX_TYPES): Ignore NOSOLAR; always default to 256.
* NEWS: Document this.
2013-11-13 00:49:41 -08:00
Paul Eggert
a9ac0f6938 maint: remove solar-time experiment
It occasionally causes confusion, e.g.,
<http://mm.icann.org/pipermail/tz/2013-November/020486.html>.
* Makefile (SDATA): Remove.  All uses removed.
* newctime.3 (NOTES): Remove reference to solar time.
* solar87, solar88, solar89: Remove.
* NEWS: Document this.
2013-11-13 00:49:41 -08:00
Paul Eggert
d13040f09f * NEWS: Describe Noda Time change to tz-link. 2013-10-28 15:13:43 -07:00
Paul Eggert
eb03aa784c * tz-link.htm: Mention Noda Time (thanks to Matt Johnson).
Also, use abbr and endashes more consistently, and call it
a "web page" rather than a "file".
2013-10-28 14:27:22 -07:00
Paul Eggert
52d3619cc1 Release tzcode2013h and tzdata2013h.
* NEWS, Makefile (VERSION): Increase to 2013h.
2013h
2013-10-25 15:34:35 -07:00
Paul Eggert
baea52df7a Africa/Tripoli: switch to EET sans DST as of 02:00 today
(Thanks to Even Scharning for the heads-up.)
* africa (Libya): DST rules are for 2013 only.
(Africa/Tripoli): Switch to EET without DST as of 02:00 today.
* NEWS: Document this.
2013-10-25 08:02:57 -07:00
Paul Eggert
0d85102c8b Western Sahara uses Moroccan DST rules.
* africa (Africa/El_Aaiun): Assume it's been using Moroccan DST
rules ever since Morocco took over.  (Thanks to Gwillim Law.)
* NEWS: Document this.
2013-10-23 23:42:15 -07:00
Paul Eggert
398eb5d16c * tz-link.htm: Update URLs.
* NEWS: Document the above.
2013-10-21 00:16:15 -07:00
Paul Eggert
2c0ed4f527 * NEWS: Document recent localtime and zdump fixes. 2013-10-20 23:04:26 -07:00
Paul Eggert
45bc0b2552 localtime: fix overflow bugs for 32-bit unsigned time_t
This fixes a longstanding test-case failure with
'make check_time_t_alternatives'.
* localtime.c (detzcode64): Return int_fast64_t, not time_t,
for the benefit of platforms where time_t is narrower than 64 bits.
The distinction matters if time_t is 32-bit unsigned.
Simplify the shifts and masks.
(tzload): Fix the check for overflow when storing the loaded time
value into a time_t object.  The old code didn't work when
time_t was an unsigned 32-bit quantity.
(transtime): Return the offset from the start of the year,
not the offset since the Epoch, since the former cannot overflow
but the latter can.  Caller changed.
(tzparse): Check for overflow more carefully when computing
time stamps.  The old code didn't work for 32-bit unsigned values,
in unusual situations such as Pacific/Fiji and Pacific/Auckland
for times past 2038.
(increment_overflow_time): New function.
2013-10-20 16:51:18 -07:00
Paul Eggert
cfc4f57d98 zdump: remove unportable assumption about sscanf and overflow
* zdump.c (strtoimax) [!INTMAX_MAX]: Define like private.h does.
(SCNdMAX): Remove; no longer used.
(main): Use strtoimax, not sscanf with SCNdMAX, as strtoimax has
well-defined behavior when the input number is out of numeric range.
2013-10-20 16:20:23 -07:00
Paul Eggert
59257b1b04 Acre and (we guess) western Amazonas will switch from UTC-4 to UTC-5.
* southamerica (America/Rio_Branco, America/Eirunepe): Switch from
UTC-4 to UTC-5 on November 10.  (Thanks to Steffen Thorsen).
* NEWS: Document this.
2013-10-17 07:30:00 -07:00
Paul Eggert
43909bd2a3 * tz-link.htm, NEWS: Mention TimezoneJS.Date (thanks to Jim Fehrle).
Also, update Joda Time URL.
2013-10-08 08:58:43 -07:00
Paul Eggert
0f9614ba9e * tzselect.ksh (doselect): Prompt to stderr, not stdout.
(Thanks to Patrick 'P. J.' McDermott.)
2013-10-06 12:28:30 -07:00
Paul Eggert
63b0906c92 * .gitignore: Ignore *.a files. 2013-10-06 02:25:29 -07:00
Paul Eggert
868ed00c10 tzselect: work around an old BusyBox awk bug
Patch by Patrick 'P. J.' McDermott in
<http://mm.icann.org/pipermail/tz/2013-October/020444.html>.
* tzselect.ksh: Replace awk -F options with FS assignments.
Before version 1.21.0, BusyBox awk didn't unescape the argument to
the -F option.  As a result, tzselect couldn't parse tables with
such versions of BusyBox awk.  See
<https://bugs.busybox.net/show_bug.cgi?id=5126> and
<http://git.busybox.net/busybox/commit?id=ea664dd>.
* NEWS: Document this.
2013-10-06 02:24:36 -07:00
Paul Eggert
be06aa48db tzselect: port to /bin/sh
Problem reported by Patrick 'P. J.' McDermott in
<http://mm.icann.org/pipermail/tz/2013-October/020441.html>.
This code is quite a bit different from what he proposed.
* tzselect.ksh: Rewrite so that it should work with /bin/sh on
common platforms.  For portability to Solaris 9 /bin/sh, use
`...`, not $(...), and avoid $((...)).
(doselect): New function.  Use this instead of plain 'select'.
Callers no longer need to worry whether it sets the var to empty.
* Makefile, NEWS: Document this.
2013-10-06 02:11:51 -07:00
Paul Eggert
b9b27d5b7e * africa (Morocco): Fix off-by-one typo in comment. 2013-10-03 00:22:09 -07:00
Paul Eggert
2ecfc39ab6 Fix problem with Morocco time stamps after 2037.
Problem reported by Yoshito Umaoka in
<http://mm.icann.org/pipermail/tz/2013-October/020423.html>.
* africa (Morocco): Stop after 2038, not 2037.
* NEWS: Document this.
2013-10-02 18:43:31 -07:00
Paul Eggert
a7a55e113d * NEWS: Document recent Makefile changes. 2013-10-02 11:29:21 -07:00
Paul Eggert
1d67c5bfca build: Makefile fixes; let user give AR and RANLIB; local libtz.a
* Makefile: Let the user override AR, and build libtz.a before
installing it, as suggested by Michael Forney in
<https://github.com/eggert/tz/pull/3>.  Also, let the user
override RANLIB.  Modernize a bit by assuming POSIX.2-1992 or
later; this is safe nowadays and simplifies the libtz.a business.
And treat 'leapseconds' more like we used to, since it's
machine-independent a 'make clean' doesn't need to remove it.
(TZLIB): Remove.
(AR, RANLIB): New macros.
(TABDATA): Add leapseconds, so that 'make' builds it by default.
(DATA): Remove leapseconds, since $(TABDATA) now has it.
(all): Depend on libtz.a, not $(LIBOBJS).
(install): Install libtz.a using 'cp', like other files.
Also invoke $(RANLIB) on it, after installing.
Do not assume that TZDIR is not overridden.
(install, INSTALL, check_time_t_alternatives): Use 'mkdir -p', as
it's safe to assume nowadays (standardized in POSIX.2-1992).
(install, INSTALL): Prefer 'cp -f' to 'rm' followed by 'cp', as
it's safe to assume 'cp -f' nowadays (also standardized in POSIX.2-1992).
(libtz.a): Rename from $(DESTDIR)$(TZLIB), since we now build it here.
Use $(AR) rather than ar.
Use $(RANLIB) rather than trying to guess it.
(clean_misc): Do not remove 'leapseconds', as it's machine-independent.
(maintainer-clean): Remove 'leapseconds' here instead.
(clean, check_public): Standardize on 'rm -fr' rather than 'rm -f -r';
formerly the makefile was inconsistent.
(set-timestamps.out): Don't ignore failurs of the actual touch command.
2013-10-02 10:48:46 -07:00
Paul Eggert
1479cad711 * Makefile (TZCSRCS, TZDSRCS, DATESRCS): Remove; unused.
* NEWS: Document recent Makefile fixes.
2013-10-01 21:54:42 -07:00
Paul Eggert
132e8351b6 * Makefile (TZDSRCS, TZDOBJS): Interchange asctime.c and asctime.o.
(Thanks to Andrew Paprocki.)
2013-10-01 21:45:25 -07:00
Paul Eggert
17ca83e6f8 doc: mention TC TIMEZONE's draft timezone service protocol
(Thanks to Mike Douglass.)
* tz-link.htm, NEWS: Add info about this.
2013-10-01 15:40:52 -07:00
Paul Eggert
320239cf81 Release tzcode2013g and tzdata2013g.
* NEWS, Makefile (VERSION): Increase to 2013g.
2013g
2013-09-30 21:10:49 -07:00
Paul Eggert
22fe30e600 zic: restore missing diagnostic with 'zic -v'
* zic.c (outzone): Restore diagnostic that was inadvertently
suppressed by the 2013-09-08 change to the 400-years-hack.
This doesn't affect zic's binary output; it affects only the
diagnostics generated by 'zic -v'.  The problem evinced itself
with Asia/Tehran, which currently should generate a diagnostic,
but doesn't without this patch.
* NEWS: Document the above.
2013-09-30 19:41:02 -07:00
Paul Eggert
0a6a92937f Morocco changed start-of-DST from March to April.
* africa (Morocco): The spring-forward date was moved too,
to the last Sunday in March.
* NEWS: Document this.
2013-09-30 09:01:01 -07:00
Paul Eggert
4b556f8dc8 * Makefile (check_public): When rebuilding, make $(ENCHILADA)
as well as 'all', so that the *.txt files are built.
2013-09-29 23:45:06 -07:00
Paul Eggert
a070443b0c * africa (Morocco): Fix typos in comments. 2013-09-29 21:52:19 -07:00
Paul Eggert
fce6e0c0bd * africa (Morocco): Adjust predicted transitions in 2036-7
to match GNU Emacs predictions for Ramadan.
2013-09-29 21:48:09 -07:00
Paul Eggert
c074178903 * NEWS: Add thanks for the PD issue. 2013-09-29 21:30:51 -07:00
Paul Eggert
0def5ed0fd Morocco changed end-of-DST from September to October.
* africa (Morocco): Morocco now ends DST the last Sunday in
October, not September.  (Thanks to Steffen Thorsen.)
* NEWS: Document the above.
2013-09-29 21:30:30 -07:00
Paul Eggert
399f16a1ac * README: Clarify BSD text.
(Thanks to Philip Newton.)
2013-09-26 06:54:26 -07:00
Paul Eggert
7896da414f * private.h: Fix typo in comment.
(Thanks to Philip Newton.)
2013-09-26 06:52:15 -07:00
Paul Eggert
dad4eed8a8 build: port to MinGW and fix symlink bugs
MinGW problem reported by Theo Veenker in
<http://mm.icann.org/pipermail/tz/2013-September/020378.html>.
The patched code should work even on POSIXish hosts
where 'link' and 'symlink' fail for whatever reason,
e.g., if the destination file system is VFAT.
Also, the patch fixes some bugs when symlinks are used.
* Makefile (CFLAGS): Mention HAVE_LINK in the comment.
(TZDSRCS): Add asctime.o, since MinGW lacks asctime.
(TZDOBJS): Add asctime.c.
* private.h (HAVE_LINK): Default to 1.
* zic.c (link) [!HAVE_LINK]: New macro.
(symlink) [!HAVE_SYMLINK]: New macro.
(dolink): Fix some bugs when 'link' fails but 'symlink' succeeds.
Fall back on copying when both fail.
* NEWS: Document the above.
2013-09-26 00:35:00 -07:00
Paul Eggert
a5851f83d3 main: distribute leapseconds in tzdata, and fix timestamps
Problem with leapseconds reported by Matt Burgess in
<http://mm.icann.org/pipermail/tz/2013-September/020379.html>
with a followup by Ian Abbott in
<http://mm.icann.org/pipermail/tz/2013-September/020383.html>.
* Makefile (MANTXTS): New macro.
(maintainer-clean): Use it.
(DOCS): Add it.
(DATA): Add 'leapseconds'.
(LEAP_DEPS): New macro.
(leapseconds): Use it.
(public): Don't depend on set-timestamps; each tarball does that
individually now, to allow for more parallelization.
(date.1.txt, newctime.3.txt, newstrftime.3.txt, newtzset.3.txt)
(time2posix.3.txt, tzfile.5.txt, tzselect.8.txt, zdump.8.txt)
(zic.8.txt): Depend on the corresponding non-.txt file.
$(MANTXTS): New rule.
(set-timestamps.out): Rename from set-timestamps, and make it a file,
so that it has its own timestamp; this avoids useless rework.
Depend on $(ENCHILADA) and ignore files under Git that are not
also listed in $(ENCHILADA).  Set the timestamp of 'leapseconds'
and each $(MANTXTS) to be the maximum of its dependencies, to avoid
timestamp churn in future tarballs.  Prefer touch -m, as we don't
care about access time here.
(tzcode$(VERSION).tar.gz, tzdata$(VERSION).tar.gz):
Depend on set-timestamps.out rather than the individual files,
so timestamps are set before creating the tarballs even when
make is parallelized.
(tzcode$(VERSION).tar.gz): Don't mention *.[1-8].txt explicitly,
since we now get $(MANTXTS) via $(DOCS).
* NEWS: Document the above.
2013-09-25 15:50:44 -07:00
Paul Eggert
ca267f2db1 doc: document public-domain status of files, and streamline README
* Makefile (COMMON): Move README here ...
(DOCS): ... from here, as it talks about the public-domain status
of the files, and this should be in both tarballs.
* README: Add intro.  Mention public-domain status of files.
Remove and reorganize some obsolete text, e.g., move 1989 release
info from here to NEWS's tail.
* NEWS: Document the above.
2013-09-25 13:16:49 -07:00
Paul Eggert
7436d74387 Release tzcode2013f and tzdata2013f.
* NEWS, Makefile (VERSION): Increase to 2013f.
2013f
2013-09-24 23:42:08 -07:00
Paul Eggert
6e770de058 Port to x32 by fixing type incompatibility with POSIX.
Reported by Elliott Hughes in
<http://mm.icann.org/pipermail/tz/2013-September/020376.html>.
* localtime.c (timezone) [USG_COMPAT]:
(altzone) [ALTZONE]: Now long, not time_t.
* strftime.c (_fmt): Use long, not int, to store timezone.
* NEWS: Document this.
2013-09-24 18:42:34 -07:00
Paul Eggert
e28afbbac3 * asia (Palestine): Autumn transition is now at 00:00, not 01:00.
(Thanks to Steffen Thorsen.)
* NEWS: Document this.
2013-09-24 12:02:25 -07:00
Paul Eggert
13c1a17683 * NEWS: Mention mawk bug and workaround. 2013-09-24 11:41:53 -07:00
Paul Eggert
464a055adf * leapseconds.awk: Avoid long string literals.
This works around an Awk bug in Ubuntu 12.04 LTS, 32 bits,
reported by Cyril Baurand in
<http://mm.icann.org/pipermail/tz/2013-September/020370.html>
2013-09-24 08:54:39 -07:00
Paul Eggert
8ea4850bf6 dist: 'make set-timestamps' cleanup
* Makefile (set-timestamps): Use git's tformat rather than format,
to port to strict POSIX hosts where `` output in shell scripts
cannot end in a non-newline.  Use git diff --quiet rather than git
diff --name-only, as it's simpler.  Use touch -c for safety, and
-m to avoid setting last-access time, which we don't care about.
Diagnose files that don't match repository.
* NEWS: Document this.
2013-09-23 10:58:56 -07:00
Paul Eggert
bdf636b211 * NEWS: Mention self and git tags. 2013-09-23 00:10:57 -07:00
Paul Eggert
928fb7ab7e * NEWS: Update release dates slightly; use "-", not "+" to connect. 2013-09-23 00:00:49 -07:00
Paul Eggert
e6033febb1 * Makefile (DOCS): Add NEWS. 2013-09-21 16:26:59 -07:00