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

3338 Commits

Author SHA1 Message Date
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
f7a73336e9 * asia: 'Urumqi' -> 'Ürümqi' in commentary. 2014-06-30 23:16:57 -07:00
15b01c042a Simplify China's time zones from five to two.
* NEWS, asia: Document this.
* asia (Asia/Harbin, Asia/Chongqing, Asia/Kashgar): Remove.
These are now links in 'backward'.
(Asia/Shanghai): Change pre-standard-time offset from 8:05:57 to
8:05:43.  Change transition to standard time from 1928 to 1901.
(Asia/Urumqi): Remove 1980 transition to UTC+8.
* backward (Asia/Harbin, Asia/Chongqing, Asia/Kashgar): New links.
(Asia/Chungking): Avoid link-to-link.
* zone.tab (Asia/Harbin, Asia/Chongqing, Asia/Kashgar): Remove.
2014-06-30 23:07:22 -07:00
81a7abf902 A few more fixes related to AEST/AEDT etc. (Thanks to Tim Parenti.)
* Theory: Use CST instead of EST in the example, so that it matches
the current database.
* antarctica (Antarctica/Casey): AWST, not WST.
* asia (Asia/Jayapura): ACST, not CST.
* australasia: Prepend "[A]" to "EST" in quote about EST.
2014-06-30 01:19:46 -07:00
62df86e10c Use AEST/AEDT etc. instead of EST etc. for Australian abbreviations.
* NEWS, australasia (Aus, Australia/Darwin, AW, Australia/Perth)
(Australia/Eucla, AQ, Holiday, Australia/Brisbane, Australia/Lindeman)
(AS, Australia/Adelaide, AT, Australia/Hobart, Australia/Currie, AV)
(Australia/Melbourne, AN, Australia/Sydney, Australia/Broken_Hill)
(LH, Australia/Lord_Howe, Antarctica/Macquarie):
Prefix Australian time zone abbreviations with "A", and switch
from "ST" to "DT" to denote daylight saving time.  (Thanks to Ian
Abbott, Russ Allbery, Timothy Arceri, Alan Barrett, Stuart Bishop,
Shaun Bouckaert, Stephen Colebourne, Tobias Conradi, Mark Davis,
Robert Elz, Clive D.W. Feather, Dennis Ferguson, Edwin Groothuis,
Guy Harris, John Hawkinson, John Haxby, Brian Inglis, Paul Koning,
Kevin Lyda, Curtis Manwaring, Alan Mintz, Arthur David Olson, Matt
Paine, David Patte, Tim Parenti, random832, Derick Rethans, SM,
Peter Stagg, Rich Tibbett, Bennett Todd, and Garrett Wollman for
their contributions to this topic.)
2014-06-30 00:35:15 -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
8f065f5aa9 * asctime.c, newctime.3, newtzset.3: Don't imply ASCII is required. 2014-06-28 14:09:32 -07:00
c25e1180cf More spelling and accent fixes.
Plus, update a now-obsolete source for Samoa's late-2011 change to the
International Date Line.
2014-06-27 16:06:47 -07:00
1f511fbd8b * leap-seconds.list: Copy from current NIST version. 2014-06-27 15:38:49 -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
5be5ee3dd4 Mention more JavaScript libraries.
* tz-link.htm, NEWS: Mention Moment Timezone, TimezoneJS.Date, Walltime-js,
and Timezone.  (Thanks to a heads-up from Matt Johnson.)  Also, list
license for timezone-olson.
2014-06-27 01:09:39 -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
f88bd423e6 Fix some 'zic' issues when run as root.
* zic.c: Use angle brackets for <sys/stat.h>.
(dolink): Don't try to link from a directory, as this can
cause trouble on some systems when superuser.
(dolink, itsdir): Rewrite to avoid use of 'access', which is
problematic when setuid.
(itsdir): If S_ISDIR is defined, use plain 'stat' and S_ISDIR;
that's more reliable.  Return -1 if trouble; all callers changed.
(mkdirs): Simplify by using mkdir-itsdir rather than
itsdir-mkdir-itsdir.  Don't assume strerror preserves errno.
2014-06-26 21:22:12 -07:00
dcf567c4e9 * private.h, zdump.c (TZ_DOMAIN): Look at HAVE_GETTEXT,
not TZ_DOMAINDIR, when deciding whether to define.  This fixes a
recently-introduced typo.  Found by compiling with -DHAVE_GETTEXT
under GNU/Linux.
2014-06-26 15:19:00 -07:00
52518704ee Avoid <ctype.h> locale problems.
* zdump.c, zic.c: Don't include <ctype.h>, because the behavior if
its macros is locale-dependent if HAVE_GETTEXT, and we want the C
locale's semantics.  Instead, use portable replacements for
ctype.h operations, with the desired semantics.  All uses of
isalpha etc. replaced by calls to new functions is_alpha etc.  or
by inline code.
(isascii): Remove.
(is_alpha): New function.
* zic.c (doabbr): Simplify by using is_alpha.
(is_space): New function.
* NEWS: Document the above.
2014-06-26 14:47:12 -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
0e07c140e8 A few more spelling, accent, and commentary cleanups. 2014-06-26 10:07:15 -07:00
ee82eb4a05 * Theory, NEWS: Also document EST5EDT etc. as exceptions.
Use the term "legacy names" for exceptions.
2014-06-26 09:39:13 -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
5b9d37cbea Go back to ASCII in *.txt files, too.
For *.txt files, UTF-8 is not that important, and avoiding it
is better for users with older or misconfigured manpage readers.
* Makefile (check_character_set): Check that *.txt files
contain only safe characters.
($(MANTXTS)): Build *.txt files in the C locale, not in en_US.utf8.
2014-06-25 23:29:43 -07:00
2d118af291 Add 'Thanks' for previous change. 2014-06-25 23:17:28 -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
d8cf675093 Remove no-longer-necessary trademark notices.
(Thanks to Arthur David Olson.)
* private.h, zic.c: Remove UNIX notices.
2014-06-25 17:19:42 -07:00
367870dc72 * africa, asia: Provide dates of reference for USNO citations. 2014-06-25 14:14:32 -07:00
437a132016 Remove usno* files.
(Thanks to Tim Parenti for the suggestion.)
* Makefile (MISC), NEWS: Remove usno* files.
* usno1988, usno1989, usno1989a, usno1995, usno1997, usno1998: Remove.
* africa, asia, australasia, tz-link.htm: Remove commentary about
these files.
2014-06-25 13:53:15 -07:00
4127a54685 Improve checking for non-ASCII characters.
* Makefile (NONSYM_CHAR, NONSYM_LINE): New macros.
(SAFE_SHARP_LINE): Don't let comments contain troublesome symbols.
(check_character_set): Don't let troublesome symbols appear in
source files, and don't let non-ASCII appear in .html files.
2014-06-25 12:17:43 -07:00
e1f721201a More spelling and accent fixes.
(Thanks to Ian Abbott for catching some stray '’'s.)
2014-06-25 11:04:15 -07:00
363a1be6df More spelling and accent fixes. 2014-06-25 01:02:29 -07:00
6cab305e57 * africa: A few fixes to typos and capitalization in commentary. 2014-06-24 23:39:25 -07:00
a9da35214b Further updates to commentary, mostly un-ASCII-fying contributors' names.
Change attributions for contributors' names using the Latin alphabet
only where it was possible to reconstruct from mailing list records.
Leave attributions for Андрей Чернов, Иофис Герман Романович, and 李耀
宗 with their romanized versions instead (Andrey A. Chernov, German
Iofis, and Lee Yiu Chung, respectively).
2014-06-24 23:39:10 -07:00
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
68c374b829 * tz-link.htm: Avoid non-ASCII char in source. 2014-06-24 14:37:59 -07:00
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
6ca6cceade Fix a couple more accents and one misspelled name. 2014-06-19 00:29:16 -07:00
99544d30aa Update to pacify recent GCC's static checking.
These changes pacify gcc 4.8.2-19ubuntu1 on Ubuntu 14.04,
and take advantage of recently-added GCC options when compiling
with GCC_DEBUG_FLAGS.
* Makefile (GCC_DEBUG_FLAGS): Add -Wdeclaration-after-statement,
-Wjump-misses-init, -Wsuggest-attribute=format.
* date.c (copyright, sccsid):
* strftime.c (sccsid):
Remove unused vars.
* date.c (main):
* localtime.c (tzparse):
Remove no-longer-needed uses of INITIALIZE; GCC is smart enough to
figure these out on its own now.
* localtime.c (gmtsub): Redo initialization of gmt_is_set to pacify GCC.
Retry malloc next time even if it failed this time.
* private.h, zdump.c (GNUC_or_lint): Remove, as it provoked a GCC
diagnostic about unused macros in some cases.  Instead, just use
'lint'.  All uses removed.
(TZ_DOMAIN): Don't define unless needed, as otherwise it provokes
a GCC diagnostic about unused macros.
* private.h (INITIALIZE): Simplify accordingly.
* NEWS: Document this.
2014-06-18 23:35:58 -07:00
3001a6adf4 Fix a few more accents and hyphens, and update a name and a URL. 2014-06-18 00:02:48 -07:00
f653657333 * Theory: Prefer '≤' to '<=' in commentary. 2014-06-17 18:57:07 -07:00
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
1d41c06051 Be more consistent about bracketing URLs in commentary.
Use angle brackets unless the URL is already surrounded by white space.
(Thanks to a suggestion from Steffen Nurpmeso.)
2014-06-17 13:14:45 -07:00
03555bfb58 * antarctica: 'ţ' → 'ț' in Romanian. (Thanks to Philip Newton.) 2014-06-16 23:01:58 -07:00
85e3d22f86 Fixed a couple of typos. 2014-06-16 22:53:58 -07:00
248d1f10a1 Restore more accents. Also, update Antarctic commentary.
This does not change any of the data.
2014-06-16 20:18:01 -07:00
678ef76670 Restore more accents. Also, don't mention Salas y Gómez in zone.tab.
* zone.tab (Pacific/Easter):
Don't mention Salas y Gómez, as it is uninhabited.
* NEWS: Document this.
2014-06-16 00:51:49 -07:00
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
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
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
80569ec12d * europe (Turkey): Document the massive confusion on March 30.
(Thanks to Randal L. Schwartz.)
2014-06-15 00:17:08 -07:00
c6abc0f671 * Theory: Fix Swedish-language typo. (Thanks to Philip Newton.) 2014-06-14 23:47:21 -07:00
be51b8b1be Document ALL_STATE fix. 2014-06-14 23:42:07 -07:00
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