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

3294 Commits

Author SHA1 Message Date
Paul Eggert
9a8aa790bc Don't abuse "`" to mean open quote.
This was appropriate before Unicode, where "`" and "'" often balanced
in visual output, but that's been obsolete for a while.
Overall, single-quote 'like this' instead of `like this', and
double-quote "like this" or (in typeset output) “like this”
instead of ``like this''.  While we're at it, fix some glitches
with hyphens versus minus versus en dash versus em dash.
* Makefile ($(MANTXTS)): Use UTF-8 locale to produce *.txt output.
* checktab.awk, tzselect.ksh:
Quote 'like this' in diagnostics, instead of `like this'.
* date.1, newctime.3, newtzset.3, time2posix.3, zic.8 (q, lq, rq):
New macros.  Use them for better double-quoting in output.
* workman.sh: Tell Perl that its stdin and stdout are UTF-8.
* NEWS: Document this.
2014-06-15 13:27:37 -07:00
Paul Eggert
ac99ec780d Revert fix for "stack buffer overrun", which was a false alarm.
* localtime.c (time1): Shrink size of 'types' local back down
from TZ_MAX_TIMES to TZ_MAX_TYPES.  The smaller value suffices,
since nseen can grow to at most TZ_MAX_TYPES.  (Thanks to
Arthur David Olson.)
* NEWS: Remove mention of non-fix.
2014-06-15 10:33:17 -07:00
Paul Eggert
80569ec12d * europe (Turkey): Document the massive confusion on March 30.
(Thanks to Randal L. Schwartz.)
2014-06-15 00:17:08 -07:00
Paul Eggert
c6abc0f671 * Theory: Fix Swedish-language typo. (Thanks to Philip Newton.) 2014-06-14 23:47:21 -07:00
Paul Eggert
be51b8b1be Document ALL_STATE fix. 2014-06-14 23:42:07 -07:00
Paul Eggert
13b204c3b4 Shrink stack frame sizes, particularly if ALL_STATE.
* localtime.c (tzload) [ALL_STATE]:
Redo to keep the stack frame tiny.
(time1): Shrink sizes of local arrays so that this stack frame
doesn't take much more than about TZ_MAX_TIMES bytes total.
2014-06-14 23:35:37 -07:00
Paul Eggert
ce7bf999f7 Fix stack buffer overrun in mktime and similar functions.
* localtime.c (time1): Declare 'types' array to have TZ_MAX_TIMES
entries, not TZ_MAX_TYPES entries.
* NEWS: Document this.
2014-06-14 23:22:03 -07:00
Paul Eggert
05c08c6a63 Fix Finland's 1942 fall-back transition.
* europe (Finland), NEWS: Finland's 1942 fall-back transition was
10-04 01:00, not 10-03 00:00.  (Thanks to Konstantin Hyppönen.)
2014-06-14 19:19:41 -07:00
Paul Eggert
41c79956c3 Now that we can use UTF-8, restore accents that ASCII lost.
* NEWS, Theory, africa, europe, northamerica, southamerica:
Don't insist on ASCII when normal English usage would have
accented words.
2014-06-14 19:11:27 -07:00
Paul Eggert
7587516fbb Change web page encoding from US-ASCII to UTF-8.
* Makefile (DOCS): Move $(WEB_PAGES) here ...
(MISC): ... from here, so that they can contain UTF-8.
* tz-art.htm, tz-link.htm: Switch to UTF-8 encoding.
Prefer UTF-8 to HTML entities, e.g., prefer '–' to '–'.
2014-06-14 17:19:27 -07:00
Paul Eggert
1f8eea5374 Allow non-ASCII characters in the commentary.
* Makefile (INVALID_CHAR1): Rename to SAFE_CHARSET1.
(INVALID_CHAR2): Rename to SAFE_CHARSET2.
(INVALID_CHAR3): Rename to SAFE_CHARSET3.
(INVALID_CHAR): Remove.
(SAFE_CHARSET, SAFE_CHAR, SAFE_LINE, SAFE_SHARP_LINE, VALID_LINE):
New macros.
(check_character_set): Allow any UTF-8 character in some contexts,
including comments in the data, and in some auxiliary commentary files.
2014-06-14 16:36:18 -07:00
Paul Eggert
2d889e995b Improve performance a bit with GNU Make.
* Makefile (.PHONY): New rule, listing non-file targets.
2014-06-14 15:25:13 -07:00
Paul Eggert
aac77e9d1d Release tzcode2014e and tzdata2014e.
* NEWS, Makefile (VERSION): Increase to 2014e.
2014e
2014-06-12 21:55:29 -07:00
Paul Eggert
cae673e3d7 Morocco's Ramadan-based transitions expand to Saturday-Saturday.
(Thanks to Milamber Space Network.)
* africa (Morocco): 2014 transitions are Jun 28 03:00 and Aug 2 02:00.
Guess a similar pattern for future years.  Fix white space to be
more consistent.
* NEWS: Document this.
2014-06-05 21:17:33 -07:00
Paul Eggert
fc2f26f0d6 * tz-link.htm: "IEEE" is an abbreviation. 2014-06-04 23:38:04 -07:00
Paul Eggert
29e324e952 * tz-link.htm, NEWS: jCal is now RFC 7265. Mention PTP and the
draft CalDAV extension.  Update URLs for TSP, TZInfo, IATA.
Remove stale pointers to World Time Explorer and WORLDTIME.
2014-06-04 22:30:32 -07:00
Paul Eggert
9293a3c16f * europe, northamerica: Update Willett URL. 2014-06-04 19:26:45 -07:00
Tim Parenti
3e4bfaac03 * africa (Egypt): Prefer 24:00 to 23:00s, as 24:00 works nowadays. 2014-06-04 19:23:39 -07:00
Paul Eggert
8d0ecf1a59 * NEWS: Fix date typo. (Thanks to Tim Parenti.) 2014-06-04 19:10:31 -07:00
Paul Eggert
5e27c6a8ea Egypt's Ramadan-based transitions expand to Thursday-to-Thursday 24:00.
* africa (Egypt): 2014 transitions are June 26 and July 31 at 24:00.
(Thanks to Imed Chihi.)  Guess a similar pattern for future years,
namely, DST is not observed in Ramadan, nor in the days following the
last Thursday before Ramadan, nor in the days preceding the first
Friday after Ramadan.
* NEWS: Document this.
2014-06-04 09:33:15 -07:00
Paul Eggert
16312a4d1d * europe (Asia/Vladivostok): Fix "VLASST" typo for Vladivostok in 1991
summer, where the abbreviation should be "VLAST".  (Thanks to Hank W.)
* NEWS: Document this.
2014-05-31 22:51:23 -07:00
Paul Eggert
8d558674ce * europe (Russia, Europe/Moscow): Use "MSM" for Moscow Midsummer Time
in 1921.  (Thanks to Hank W. for reporting the problem.)
Also, update a stale URL.
* NEWS: Document the Moscow change.
2014-05-31 15:37:07 -07:00
Paul Eggert
918e24e0a5 * australasia: Move Cook Is to after New Zealand,
since they're in free association with NZ not Australia.
Mention notation problem with Chatham.
(Thanks to Hank W.)
This change doesn't alter the data files produced.
2014-05-30 01:34:20 -07:00
Paul Eggert
a91cc14d7f Release tzcode2014d and tzdata2014d.
* NEWS, Makefile (VERSION): Increase to 2014d.
2014d
2014-05-27 21:35:46 -07:00
Paul Eggert
23f3f2edcb * tz-link.htm, NEWS: Mention GNOME. 2014-05-27 08:25:26 -07:00
Paul Eggert
1421881858 zic: move Big Bang to - 2**59
This should help forestall flame wars among competing camps of physicists.
(Thanks to James Cloos.)
* NEWS, zic.8 (NOTES): Document this.
* zic.c (BIG_BANG): Use - 2**59 rather than a more-precise estimate.
2014-05-26 17:22:33 -07:00
Paul Eggert
0880e2fe56 zic: disallow leap seconds before the Big Bang
* zic.c (inleap): Reject leap seconds preceding big_bang_time.
(Thanks to Arthur David Olson.)  Also, remove redundant test and cast.
* NEWS: Document this.
2014-05-25 12:20:29 -07:00
Paul Eggert
b22d459a36 zic: work around GNOME bug by refusing to go back before the Big Bang
This works around Gnome bug 730332
<https://bugzilla.gnome.org/show_bug.cgi?id=730332>.
zic 2014c introduced the idea of generating a transition at the
minimum time value -2**63, to avoid ambiguities about what to do
before the first real transition.  Through Glib release 2.40, the
interval_end function of Glib's gtimezone.c subtracts one from
this, to find the end time of the zeroth interval (i.e., the
interval containing all the "early" time stamps); this subtraction
typically overflows and wraps around to 2**63 - 1, which causes
Glib to go off the rails and assume that all time stamps are
"early".  For example, Glib computes Sao Paulo time stamps as if
Brazil's circa-1913 rules were still in effect.
(Thanks to Leonardo Chiquitto for reporting the bug.)
Work around the bug by not generating time stamps equal to -2**63.
Come to think of it, time stamps before the Big Bang are physically
suspect anyway, so don't generate time stamps before the Big Bang.
* Makefile (GCC_DEBUG_FLAGS): Add comment re BIG_BANG.
* NEWS, zic.8 (NOTES): Document this.
* zic.c (BIG_BANG): New macro.
(big_bang_time): New constant.
(writezone, outzone, addtt): Compare to big_bang_time, not to
min_time, when deciding whether to output a time stamp.
2014-05-23 23:02:47 -03:00
Paul Eggert
9dc32cd094 * NEWS: Fix to match 2014c email announcement text. 2014-05-23 11:37:27 -07:00
Paul Eggert
afa8e7a12b Release tzcode2014c and tzdata2014c.
* NEWS, Makefile (VERSION): Increase to 2014c.
2014c
2014-05-13 07:45:53 -07:00
Paul Eggert
0fb00e8461 africa: Egypt's May 15 transition is at 24:00
* africa (Egypt): Change to 24:00.  (Thanks to Gunther Vermier.)
2014-05-13 07:43:31 -07:00
Paul Eggert
c9ebcee69b africa: Egypt resumes DST on May 15
(Thanks to Ahmad El-Dardiry.)
* NEWS: Document this.
* africa (Egypt): Add rules for 2014 through 2038.  They all
involve some guesswork, unfortunately.
2014-05-07 18:09:14 -07:00
Paul Eggert
ebd01ad62e * NEWS: Document zic change for low-valued time stamps. 2014-05-01 16:36:16 -07:00
Arthur David Olson
7fb077a9ff zic: improve handling of low-valued time stamps
* zic.c (writezone, outzone): Arrange things so that binary files
include "transition" entries for minimum time values; these
entries eliminate localtime guesswork in handling low-valued time
stamps.  The bad news: binary files grow slightly as a result of
these changes.  The good news: there are no changes in the output
of "zdump -v" applied to before-and-after versions of all the
binary files generated by a "make install".
2014-05-01 16:32:16 -07:00
Arthur David Olson
2586e998c6 zic: revert Macquarie-specific changes
These were part of commit fada9b7b05
dated 2013-05-23 12:19:13 -0700.
* zic.c (writezone): Don't set type 0 to that of lowest-valued time.
(writezone, outzone): Don't reserve type 0.
2014-05-01 16:25:19 -07:00
Paul Eggert
aea9e44149 * europe (Europe/Simferopol): Add comment about ceremonies. 2014-03-30 22:24:33 -07:00
Paul Eggert
6eeb85f729 Revert "* europe (Europe/Simferopol), NEWS: Crimea switches to Moscow time"
This reverts commit 61ebb5f190.
2014-03-30 15:05:35 -07:00
Paul Eggert
61ebb5f190 * europe (Europe/Simferopol), NEWS: Crimea switches to Moscow time
less than an hour from now.
2014-03-29 12:05:12 -07:00
Paul Eggert
9214f0f930 * asia (Jordan): Remove now-confusing comment from Phil Pizzey.
Reported by Oleksii Nochovnyi in:
http://mm.icann.org/pipermail/tz/2014-March/020807.html
* NEWS: Mention this.
2014-03-28 12:40:20 -07:00
Arthur David Olson
cbea42a159 * Makefile (clean_misc): Remove libtz.a. 2014-03-26 18:20:38 -07:00
Paul Eggert
451eb87ddd * private.h, zdump.c (HAVE_STDINT_H), NEWS: Define to 1 if __CYGWIN__.
(Thanks to Arthur David Olson.)
2014-03-26 18:16:48 -07:00
Arthur David Olson
af89d6b362 Update warnings about old zic and client software.
* zic.c (gethms): Remove obsolete warning about pre-1998 zic versions.
(writezone): Warn about pre-2014 clients.
2014-03-25 07:51:00 -07:00
Paul Eggert
ea08a2f6ef Release tzcode2014b and tzdata2014b.
* NEWS, Makefile (VERSION): Increase to 2014b.
2014b
2014-03-24 21:30:17 -07:00
Paul Eggert
d7e1bc39f2 * australasia (Pacific/Johnston): Fix date typo in commentary.
(Thanks to Tim Parenti.)
2014-03-24 21:23:27 -07:00
Paul Eggert
6285081401 Approximate Troll's rules with just UTC and CEST.
* antarctica (Antarctica/Troll), NEWS: Uncomment, but with an
approximation that uses only UTC and CEST.  (Thanks to Bengt-Inge
Larsson.)
* zone.tab (Antarctica/Troll): New entry.
2014-03-21 08:54:06 -07:00
Paul Eggert
feb4476d27 * zic.c (growalloc): Fix typos in size calculation and diagnostic. 2014-03-20 20:21:43 -07:00
Paul Eggert
b979bceed1 Remove unused rules, and add a check for this.
* checktab.awk: Check for a Rule defined but never used.
* antarctica (NZAQ): Remove unused rule.
* NEWS: Document this.
2014-03-20 19:01:21 -07:00
Paul Eggert
440c8dbcca * antarctica, NEWS: Add a commented-out entry for Troll station.
(Thanks to Paul-Inge Flakstad.)
2014-03-20 18:48:46 -07:00
Paul Eggert
a3129e54ee * tzfile.h (TZ_MAX_TIMES), NEWS: Increase from 1200 to 2000.
This lets localtime handle Troll station.  Hack suggested by Zefram.
2014-03-20 18:41:02 -07:00
Paul Eggert
725779ad2f Remove TZ_MAX_TIMES restriction in zic.c.
This lets zic handle the time rules of Troll station,
Antarctica.  Adapted from a fix by Zefram in:
http://mm.icann.org/pipermail/tz/2014-March/020759.html
* zic.c (timecnt_alloc): New static var.
(attypes): Now a pointer to an array, not a fixed size array.
(writezone, addtt): Don't assume the number of times is less than
TZ_MAX_TIMES.
* NEWS: Document this.
2014-03-20 18:11:23 -07:00