1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-22 16:24:14 +00:00
Commit Graph

89 Commits

Author SHA1 Message Date
07394c4ada * NEWS, Theory, zdump.8, zic.8: Document that the proleptic Gregorian
calendar is used.  (Thanks to Alan Barrett for the suggestion.)
2014-09-11 00:29:22 -07:00
78e3924ea4 Rename fields of Link lines for clarity.
* zic.8, zoneinfo2tdf.pl: Change names of Link line fields to be more
descriptive and more like the parameters of 'ln'.  LINK-FROM becomes
TARGET, and LINK-TO becomes LINK-NAME.
* backward: Add a '# Link' header.
* europe, northamerica: Add a few '# Zone' headers where needed.
* NEWS: Document this.
2014-08-16 22:48:03 -07:00
11be44dce3 The word "data" is plural. 2014-08-12 18:03:14 -07:00
4908c6e060 More consistent spacing in UNTIL fields.
* zic.8: Also fix this in the Zone line example.
2014-08-09 17:42:55 -07:00
62060419e3 Minor spelling, accent, and spacing fixes.
In particular, this patch is makes the commentary more systematic
about preferring "time zone" to "timezone" except when quoting someone
else or when talking about code that uses "timezone".
2014-08-09 14:15:12 -07:00
27b3aeb0ba * zic.8, NEWS: Clarify use of time types in rule lines.
(Thanks to Arthur David Olson.)
2014-07-08 16:58:15 -07:00
34a42d72b2 Commentary fixes related to AEST/AEDT etc.
* antarctica (Antarctica/Casey): Spell out AWST in comment.
* tz-link.htm: Use CST instead of EST in the example, as in Theory, to
match the current database.
* zic.8: Update Australia/Adelaide Zone line example to match current
usage.
2014-06-30 23:19:11 -07:00
468555e32d Fix glitches with '-' and italics in man pages.
Using '\-' to denote ASCII minus has problems in groff output, since
it generates a minus sign in the current font, and if you cut and
paste from the documentation the resulting text won't work.  To avoid
the problem, define a string \*- that expands to ASCII minus in a
constant-width font in groff.  Also, change some instances of \(mi and
\(pl to use plain \- and +, since we no longer need special fonts for
these.  Finally, remove some no-longer-needed instances of "\^" after
italicized words.
2014-06-28 16:37:21 -07:00
8fd7c232b7 * zic.8: Fix formatting of long URL.
* zic.8: Format the URL better, by using groff's .URL macro,
falling back on a portable alternative for non-groff implementations.
2014-06-27 01:46:22 -07:00
2c780353d2 'zic' now rejects output file names with '.' or '..' components.
* zic.8, NEWS: Say that "." and ".." file name
components are not allowed in output file names.
* zic.c (componentcheck, namecheck): Do not allow such
file name components.
2014-06-26 23:37:51 -07:00
100a770913 * zic.8, NEWS: Document character encoding issues better.
(Thanks to Guy Harris for reporting the problem.)
2014-06-26 14:25:47 -07:00
300e008f98 'zic -v' now warns about all '.'s in output file names.
* zic.c (componentcheck, namecheck): Warn about all '.'s in
the file name, not merely about "." and ".." file name components.
* zic.8 (DESCRIPTION), NEWS: Document this.
2014-06-26 09:36:50 -07:00
0c0f598f26 Check POSIX file name restrictions more carefully.
Also, document the longstanding exceptions to POSIX.
Derived from Arthur David Olson's patch in:
http://mm.icann.org/pipermail/tz/2014-June/021052.html
* Theory: Document the exceptional file name components in 'etcetera'
and 'backward' that contain '+' or digits, or are too long.
* zic.8 (DESCRIPTION): Document the change to zic.
* zic.c (component_length_check, namecheck): New functions.
(dolink, writezone): Use them to check that file name components
obey the POSIX rules, and do not contain "." or "..".
* NEWS: Document the above.
2014-06-25 23:15:27 -07:00
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
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
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
9ae173df4c * zic.8: "any number of" -> "one or more" white space chars.
Problem reported by Michael Deckers in
<http://mm.icann.org/pipermail/tz/2013-September/020206.html>.
2013-09-15 23:17:45 -05:00
9805c5c4a3 * europe, zic.8 (Europe/Zurich): Change transition to 1853-07-16.
Explain how I derived this guess from Messerli's book.
Also, give better evidence about the 1894 transition,
from Pierre-Yves Berger.
2013-09-11 18:28:36 -07:00
09f994d25d * europe, zic.8: Correct Bern Mean Time to 0:29:46.
Reported by Alois Treindl in
<http://mm.icann.org/pipermail/tz/2013-September/020139.html>.
2013-09-11 09:17:03 -07:00
a46793a95b Revert the change that added meta-information to version-3 format.
Further testing found that it was incompatible with Ubuntu 12.04 glibc
so this feature requires redesign and more testing.
* Makefile (ZFLAGS): Remove comment about name and version info.
Make it an empty var instead.
* tzfile.5, tzfile.h: Remove description of meta-information.
* zic.8: Remove options -n and -o.
* zic.c: Don't include <stddef.h>.
(genoption, genoptions, genname, addgenoption, writevalue): Remove.
(usage, main, writezone): Remove support for -n and -o.
2013-09-11 02:42:07 -07:00
fe717b16cc * zic.8 (EXTENDED EXAMPLE): Adjust to match what's in 'europe' now.
Reported by Alois Treindl in
<http://mm.icann.org/pipermail/tz/2011-August/008722.html>.
2013-09-11 01:54:41 -07:00
d7680ffd3d Add optional meta-information to version-3 format.
* Makefile (ZFLAGS): Add a comment about how to enable meta-info.
* tzfile.5: Describe meta-information.
* zic.8: Document new options -n and -o, which cause zic to
generate meta-info.
* zic.c: Include <stddef.h>, for ptrdiff_t.
(genoption, genoptions, genname): New static vars.
(usage): Summarize new options.
(addgenoption, writevalue): New function.
(main, writezone): Add support for new options.
2013-09-09 17:16:37 -07:00
27c15f3625 Bump tzfile format to version 3.
Also, improve the documentation and diagnostics in this area.
Suggested by Arthur David Olson in
<http://mm.icann.org/pipermail/tz/2013-September/020064.html>.
* tzfile.5, tzfile.h: Bump tzfile format to version 3.
* zic.8: Document -v better.
* zic.c (ZIC_VERSION): Bump from '2' to '3'.
(stringrule, stringzone, outzone): Report compatibility issues
more carefully, mentioning client dates.
2013-09-08 23:04:07 -07:00
42801d2b1f Correct some UTC-vs-UT solecisms.
In several places the code and documentation incorrectly used
"UTC" to describe time stamps that might precede the introduction
of UTC and for which UTC is therefore undefined.  Change these
uses to "UT", as that's the correct term when talking about these
time stamps.  Problem reported by Steve Allen in
<http://mm.icann.org/pipermail/tz/2013-September/019907.html>.
The major compatibility issue here is with 'zdump -v'; it'll now
output "UT" instead of the possibly-incorrect "UTC".
Many files change in minor ways in the commentary.
* zdump.c (show):
* zic.c (inzsub, addtype):
In output, say "UT" rather than "UTC", since the time stamp we're
talking about might precede the introduction of UTC.
2013-09-04 19:07:31 -07:00
f636932933 Document some longstanding unwritten guidelines.
These come from POSIX or similar platforms, or from the standard
'zic' implementation, but never got written down anywhere.
* Theory: Document other POSIX-inspired restrictions on names.
* zic.8 (DESCRIPTION): Document that zic's behavior is unspecified
if some names are duplicates.  Sometimes it complains, sometimes not.
2013-09-03 16:51:22 -07:00
dccd5a16af Switch from SCCS to git.
Remove the SCCS keyword '%W%' from all files.
Mostly this just remove comments.
Remove trailing white space, too.
* Makefile (TZCODE_VERSION): New macro.
(version.h): New rule.
(tzselect): Interpolate TZCODE_VERSION.
(clean): Remove version.h.
(zdump.o, zic.o): Depend on version.h.
* asctime.c, date.c, difftime.c, ialloc.c, localtime.c, scheck.c:
* strftime.c, zdump.c, zic.c: Remove elsieid.
* private.h: Remove privatehid.
* tzfile.h: Remove tzfilehid.
* tzselect.h (TZCODE_VERSION): Rename from VERSION.
* zdump.c, zic.c: Include "version.h",
and use TZCODE_VERSION instead of elsieid.
2012-07-18 17:30:38 -07:00
d7603d4635 disclaimer
SCCS-file: zic.8
SCCS-SID: 8.6
2012-07-18 03:03:09 -04:00
6c5d352d68 public domain
SCCS-file: zic.8
SCCS-SID: 8.5
2012-07-18 03:03:07 -04:00
61ff133bdf trailing white space eliminated
SCCS-file: zic.8
SCCS-SID: 8.4
2012-07-18 03:03:01 -04:00
179988664a Eggert mods
SCCS-file: zic.8
SCCS-SID: 8.3
2012-07-18 03:03:00 -04:00
88c07777cf until clarifications
SCCS-file: zic.8
SCCS-SID: 8.2
2012-07-18 03:02:59 -04:00
55d9335218 modified notes
SCCS-file: zic.8
SCCS-SID: 7.24
2012-07-18 03:02:52 -04:00
b4927f2028 stab at zic documentation
SCCS-file: zic.8
SCCS-SID: 7.23
2012-07-18 03:02:52 -04:00
40118fbb13 eggert mods
SCCS-file: zic.8
SCCS-SID: 7.22
2012-07-18 03:02:42 -04:00
a6de1e3645 -v work
SCCS-file: zic.8
SCCS-SID: 7.21
2012-07-18 03:02:42 -04:00
2b1a872425 SCCS-file: zic.8
SCCS-SID: 7.20
2012-07-18 03:02:40 -04:00
d824c9db7d document that - is equivalent to zero
SCCS-file: zic.8
SCCS-SID: 7.19
2012-07-18 03:02:33 -04:00
8cb9b324b1 document acceptability of 24:00
SCCS-file: zic.8
SCCS-SID: 7.18
2012-07-18 03:02:31 -04:00
c4a67b8241 Eggert mods
SCCS-file: zic.8
SCCS-SID: 7.17
2012-07-18 03:02:29 -04:00
fb2beb55f1 time stamp stuff backed out
SCCS-file: zic.8
SCCS-SID: 7.16
2012-07-18 03:02:28 -04:00
3493698447 ugly pass at Updated information
SCCS-file: zic.8
SCCS-SID: 7.15
2012-07-18 03:02:28 -04:00
eb06b04b84 elaboration
SCCS-file: zic.8
SCCS-SID: 7.14
2012-07-18 03:02:25 -04:00
bd71a92961 US/ goes
SCCS-file: zic.8
SCCS-SID: 7.12
2012-07-18 03:02:20 -04:00
8e914ae457 allow GMT/BST in zones
SCCS-file: zic.8
SCCS-SID: 7.11
2012-07-18 03:02:16 -04:00
9b95cad8ea fine tuning
SCCS-file: zic.8
SCCS-SID: 7.10
2012-07-18 03:02:14 -04:00
d4d0cfb775 universal time flag
SCCS-file: zic.8
SCCS-SID: 7.9
2012-07-18 03:02:14 -04:00
c0b3d961bd uspres and nonpres moved to yearistype.sh
SCCS-file: zic.8
SCCS-SID: 7.8
2012-07-18 03:02:14 -04:00
565ff7d9a7 Eggert 1994 updates
SCCS-file: zic.8
SCCS-SID: 7.7
2012-07-18 03:02:13 -04:00
310454e743 groff glitch avoidance
SCCS-file: zic.8
SCCS-SID: 7.5
2012-07-18 03:02:08 -04:00
7db543195f yearistype work
SCCS-file: zic.8
SCCS-SID: 7.4
2012-07-18 03:02:08 -04:00