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

62 Commits

Author SHA1 Message Date
Paul Eggert
ee82eb4a05 * Theory, NEWS: Also document EST5EDT etc. as exceptions.
Use the term "legacy names" for exceptions.
2014-06-26 09:39:13 -07:00
Paul Eggert
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
Paul Eggert
e1f721201a More spelling and accent fixes.
(Thanks to Ian Abbott for catching some stray '’'s.)
2014-06-25 11:04:15 -07:00
Paul Eggert
fe8b770c2d Add encoding directives for unibyte GNU Emacs.
(Thanks to Garrett Wollman for reporting the problem.)
* NEWS, Theory, northamerica: Add "coding: utf-8" directives so
that GNU Emacs, when run in a unibyte locale, does not mistakenly
interpret these files to be unibyte.  This change should make no
difference if you use Emacs to read these files in a UTF-8 locale.
I didn't bother to add coding directives to files where GNU Emacs
already deduces the encoding correctly in a Latin-1 locale.
2014-06-24 14:55:26 -07:00
Paul Eggert
ffb8e529e0 Switch back to ASCII for symbols.
Garrett Wollman reported privately that XEmacs 21.4.22, the current
stable version, doesn't work with the UTF-8 recently introduced
into our commentary.  For example, the UTF-8 character '−'
(MINUS SIGN), which is stored as the three bytes "\342\210\222",
displays as 'â\210\222'.  For proper names this is annoying but
tolerable, as there's little loss in utility from (say) 'Racoviță'
to its display form 'RacoviÈ\233Ä\203'.  But for symbols this is a
real pain that can make it hard to understand the documentation, e.g.,
'Release 2014e – 2014-06-12 21:53:52 −0700' displays as
'Release 2014e â\200\223 2014-06-12 21:53:52 â\210\2220700'.
To work around this problem, make the following substitutions in
commentary to mostly revert these symbols to their pre-UTF-8 versions:
'§' -> 'section', '°' -> 'degrees', '±' -> '+-', '–' -> '-' (en
dash), '—' -> '--' (em dash), '′' -> "'", '″' -> '"', '→' -> '->',
'−' -> '-' (minus sign), '≤' -> '<='.  Leave proper names and
foreign words in UTF-8.
2014-06-19 17:51:16 -07:00
Paul Eggert
3001a6adf4 Fix a few more accents and hyphens, and update a name and a URL. 2014-06-18 00:02:48 -07:00
Paul Eggert
f653657333 * Theory: Prefer '≤' to '<=' in commentary. 2014-06-17 18:57:07 -07:00
Paul Eggert
a577b388f3 Distinguish hyphen from minus from dashes.
Most of this patch is to commentary, to distinguish better among
the similar characters hyphen '-', minus sign '−', en dash '–' (used
for ranges), and em dash '—'.  Render ordinary dashes in text as
spaced en dashes, as this gives better-looking results in monospaced
fonts.
* yearistype.sh, zic.c: Reword diagnostics so that they do not use
hyphens as if they were dashes.  Since we are sticking to ASCII in
programs, we can't use proper dashes in diagnostics.
2014-06-17 18:46:31 -07:00
Dominique Pelle
85e3d22f86 Fixed a couple of typos. 2014-06-16 22:53:58 -07:00
Paul Eggert
248d1f10a1 Restore more accents. Also, update Antarctic commentary.
This does not change any of the data.
2014-06-16 20:18:01 -07:00
Paul Eggert
09d35582da Simplify use of URLs in text files.
In several cases our text files had commentary like this:
# Egypt to cancel daylight saving time
# <a href="http://www.almasryalyoum.com/en/node/407168">
# http://www.almasryalyoum.com/en/node/407168
# </a>
where lines 2 and 4 let the file be viewed by a browser with the
URL being clickable.  In practice this approach does not work with
many modern browsers (I tested with Firefox and with Chrome) and
it clutters up the data, so in cases like the above this patch
removes lines 2 and 4.
(Problem reported by Steffen "Daode" Nurpmeso.)
2014-06-15 17:38:04 -07:00
Paul Eggert
c6abc0f671 * Theory: Fix Swedish-language typo. (Thanks to Philip Newton.) 2014-06-14 23:47:21 -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
a48e137422 * Theory: Fix typos noted by Philip Newton
in <http://mm.icann.org/pipermail/tz/2013-September/020197.html>.
2013-09-15 18:36:34 -05:00
Paul Eggert
9d3b5229ca * Theory (Accuracy of the tz database): New section.
It contains material moved here from other sections, along
with material taken from my recent emails to the tz mailing list.
Suggested by Zefram in
<http://mm.icann.org/pipermail/tz/2013-September/019863.html>.
2013-09-14 22:28:37 -07:00
Paul Eggert
2e053b5600 Remove -t ZONETABTYPE option from 'tzselect'.
This was experimental, and it appears that the tzwinnow
approach will be better.  We need to cut a new stable
release soon, and the -t option might make it harder to
integrate tzwinnow later, so let's omit -t for now.
* .gitignore: Remove time.tab.
* Makefile (ZONETABTYPE): Remove.  All uses removed.
(time.tab): Remove.  All uses removed.
* Theory: Omit discussion of time.tab.
* zone-time.awk: Remove.
* tzselect.8: Omit -t and time.tab.
* tzselect.ksh (ZONETABTYPE): Remove.  All uses removed.
Remove -t ZONETABTYPE option.
* zone.tab: Restore first comment line, since there's no longer
a need to distinguish this file from time.tab.
2013-09-10 17:47:17 -07:00
Paul Eggert
b9fe626167 * Theory: Say that excluding 'backward' should not affect other data.
Suggested by Stephen Colebourne in
<http://mm.icann.org/pipermail/tz/2013-September/019939.html>.
2013-09-05 07:46:03 -07:00
Paul Eggert
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
Paul Eggert
3d046bc0e4 * Theory: Suggest at least one name per inhabited country or territory.
From a suggestion by Stephen Colebourne in
<http://mm.icann.org/pipermail/tz/2013-September/019868.html>.
2013-09-04 17:42:56 -07:00
Paul Eggert
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
Paul Eggert
614b193e52 * Theory: Improve citation to Morrison & Stephenson.
Mention the 1972 UTC transition.  See Steve Allen in
<http://mm.icann.org/pipermail/tz/2013-September/019770.html>.
2013-09-02 01:51:15 -07:00
Paul Eggert
28cf16f575 * Theory: Describe LMT, cutoffs, zone.tab, and time.tab better.
Following discussion by Lester Caine in
<http://mm.icann.org/pipermail/tz/2013-August/019716.html>
and Garrett Wollman in
<http://mm.icann.org/pipermail/tz/2013-August/019715.html>.
2013-08-31 04:20:31 -07:00
Paul Eggert
5e8489b16d * Theory: Describe LMT better.
Following a suggestion by Guy Harris in
<http://mm.icann.org/pipermail/tz/2013-August/019706.html>.
2013-08-30 16:43:57 -07:00
Paul Eggert
3cfb933344 Remove attempt to support floating-point time_t.
It wasn't tested and probably never worked, no platform used it,
and the latest POSIX no longer allows it.
* Makefile (typecheck): Don't check time_t being 'double'.
* Theory: Document the change.
* difftime.c (difftime):
* localtime.c (differ_by_repeat, tzload, timesub, time2sub):
* private.h (time_t_min, time_t_max):
* zdump.c (absolute_min_time, absolute_max_time, tformat):
Don't try to support floating-point time_t.
* localtime.c, private.h, zdump.c: Don't include float.h.
* localtime.c (truncate_time, double_to_time):
* private.h (TYPE_INTEGRAL):
* zdump.c (checkabsolutes):
Remove; no longer needed.  All uses removed.
* zdump.8 (LIMITATIONS): Remove discussion of floating-point time_t.
2013-08-12 01:41:34 -07:00
Paul Eggert
8fe97ff3bc * Theory: Document time_t better and update for POSIX.1-2013.
Change "`" to "'"; these days, "`" and "'" are not symmetric.
2013-08-07 17:19:22 -07:00
Paul Eggert
d3b025adb2 Adjust commentary to try to defuse recent issues somewhat.
This change stemmed from a long discussion on the tz mailing list
about what country the Jerusalem zone entry is in.  The idea of
this change is to deemphasize the role of countries in the tz
database, to lessen the amount of controversy in the future.
Due to backward compatibility concerns this change does not eliminate
the role of countries entirely.  With one minor exception this
change does not alter any code or data, just comments.
* Theory, zone.tab: Deemphasize the role of countries in choosing
location names, as they tend to introduce political conflict
during maintenance, and country information isn't needed for
typical uses of the database.
* Theory: Say that names should differ in more than just case, and why;
and explain why 'backward' means old names will continue to work.
(thanks to Norbert Lindenberg for spotting these issues).
Update citation date and URL.
* iso3166.tab: Mention latest maintenance update.
Update citation URL.  Add missing comma for BQ.
Be more consistent about abbreviating Sint like Saint.
Mention SX "Dutch part" for consistency with MF "French part".
* iso3166.tab, zone.tab: Add legal/territorial disclaimer.
* zone.tab: Say that country/zone overlaps can occur in both
directions, and that column 2 need not lie within column 1.
(Asia/Jerusalem): Change the coordinates from a sloppy value,
taken from an old astrology book, to a more-precise value, the
site of city hall.  The sloppy value sparked some controversy and
the hope is that the more-precise value will be a bit less
controversial.
2013-05-27 18:08:26 -07:00
Paul Eggert
11f660a42c Fix typo: simplifes -> simplifies. Thanks to Jonathan Leffler in
<http://mm.icann.org/pipermail/tz/2012-August/018236.html>.
2012-08-31 06:00:04 -07:00
Paul Eggert
369851954c Remove trailing white space. 2012-07-25 07:13:46 -07:00
Paul Eggert
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
Arthur David Olson
5885b37621 scope of database
SCCS-file: Theory
SCCS-SID: 8.6
2012-07-18 03:03:11 -04:00
Arthur David Olson
f7a13521eb Factory goes
SCCS-file: Theory
SCCS-SID: 8.5
2012-07-18 03:03:10 -04:00
Arthur David Olson
a48ab4afe0 Calendrical Calculations update
SCCS-file: Theory
SCCS-SID: 8.4
2012-07-18 03:03:08 -04:00
Arthur David Olson
0936871c93 public domain
SCCS-file: Theory
SCCS-SID: 8.3
2012-07-18 03:03:07 -04:00
Arthur David Olson
aff0e06f93 trailing white space eliminated
SCCS-file: Theory
SCCS-SID: 8.2
2012-07-18 03:03:01 -04:00
Arthur David Olson
32f9e73acf Eggert mods
SCCS-file: Theory
SCCS-SID: 7.19
2012-07-18 03:02:50 -04:00
Arthur David Olson
84cabf4e0e near-future material deleted
SCCS-file: Theory
SCCS-SID: 7.18
2012-07-18 03:02:50 -04:00
Arthur David Olson
c6d174249d eggert mods
SCCS-file: Theory
SCCS-SID: 7.17
2012-07-18 03:02:49 -04:00
Arthur David Olson
55fd4956a7 user@machine eliminated
SCCS-file: Theory
SCCS-SID: 7.16
2012-07-18 03:02:49 -04:00
Arthur David Olson
8bc035d78e Eggert mods
SCCS-file: Theory
SCCS-SID: 7.15
2012-07-18 03:02:42 -04:00
Arthur David Olson
4f568e5bef Unix -> UNIX
SCCS-file: Theory
SCCS-SID: 7.14
2012-07-18 03:02:41 -04:00
Arthur David Olson
6d0c991275 eggert mods
SCCS-file: Theory
SCCS-SID: 7.13
2012-07-18 03:02:38 -04:00
Arthur David Olson
830dd791dc Eggert mods
SCCS-file: Theory
SCCS-SID: 7.12
2012-07-18 03:02:36 -04:00
Arthur David Olson
5ed57be947 Eggert mods
SCCS-file: Theory
SCCS-SID: 7.11
2012-07-18 03:02:35 -04:00
Arthur David Olson
4c039494b8 Eggert mods
SCCS-file: Theory
SCCS-SID: 7.10
2012-07-18 03:02:34 -04:00
Arthur David Olson
de3b269fac Eggert mods
SCCS-file: Theory
SCCS-SID: 7.9
2012-07-18 03:02:32 -04:00
Arthur David Olson
8f4ba9320d Eggert mods
SCCS-file: Theory
SCCS-SID: 7.8
2012-07-18 03:02:32 -04:00
Arthur David Olson
39e6a2ed33 Eggert mods
SCCS-file: Theory
SCCS-SID: 7.7
2012-07-18 03:02:31 -04:00
Arthur David Olson
227a5c61c1 Eggert mods
SCCS-file: Theory
SCCS-SID: 7.6
2012-07-18 03:02:29 -04:00
Arthur David Olson
9d0f6c217d Eggert mods
SCCS-file: Theory
SCCS-SID: 7.5
2012-07-18 03:02:28 -04:00
Arthur David Olson
8646197a80 SCCS-file: Theory
SCCS-SID: 7.4
2012-07-18 03:02:21 -04:00