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

253 Commits

Author SHA1 Message Date
363a1be6df More spelling and accent fixes. 2014-06-25 01:02:29 -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
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
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
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
be51b8b1be Document ALL_STATE fix. 2014-06-14 23:42:07 -07:00
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
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
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
aac77e9d1d Release tzcode2014e and tzdata2014e.
* NEWS, Makefile (VERSION): Increase to 2014e.
2014-06-12 21:55:29 -07:00
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
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
8d0ecf1a59 * NEWS: Fix date typo. (Thanks to Tim Parenti.) 2014-06-04 19:10:31 -07:00
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
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
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
a91cc14d7f Release tzcode2014d and tzdata2014d.
* NEWS, Makefile (VERSION): Increase to 2014d.
2014-05-27 21:35:46 -07:00
23f3f2edcb * tz-link.htm, NEWS: Mention GNOME. 2014-05-27 08:25:26 -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
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
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
9dc32cd094 * NEWS: Fix to match 2014c email announcement text. 2014-05-23 11:37:27 -07:00
afa8e7a12b Release tzcode2014c and tzdata2014c.
* NEWS, Makefile (VERSION): Increase to 2014c.
2014-05-13 07:45:53 -07:00
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
ebd01ad62e * NEWS: Document zic change for low-valued time stamps. 2014-05-01 16:36:16 -07:00
6eeb85f729 Revert "* europe (Europe/Simferopol), NEWS: Crimea switches to Moscow time"
This reverts commit 61ebb5f190.
2014-03-30 15:05:35 -07:00
61ebb5f190 * europe (Europe/Simferopol), NEWS: Crimea switches to Moscow time
less than an hour from now.
2014-03-29 12:05:12 -07:00
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
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
ea08a2f6ef Release tzcode2014b and tzdata2014b.
* NEWS, Makefile (VERSION): Increase to 2014b.
2014-03-24 21:30:17 -07:00
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
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
440c8dbcca * antarctica, NEWS: Add a commented-out entry for Troll station.
(Thanks to Paul-Inge Flakstad.)
2014-03-20 18:48:46 -07:00
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
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
45badd3cb0 Fix overallocation problem in zic.
* zic.c (writezone), NEWS: Give 'writetype' TX_MAX_TYPES entries,
not TZ_MAX_TIMES.  (Thanks to Zefram.)
2014-03-20 13:35:02 -07:00
6c44b67414 Morocco's 2014 DST start will be as predicted.
* africa (Morocco), NEWS: Document this.
(Thanks to Sebastien Willemijns.)
2014-03-19 22:41:49 -07:00
bb203f1bb0 Crimea switches to Moscow time.
* europe (Europe/Simferopol), NEWS:
Crimea switches to MSK on 2014-03-30 at 02:00 local time.
(Thanks to Alexander Krivenyshev.)
* zone.tab: Move its zone.tab entry from UA to RU.
2014-03-19 22:27:24 -07:00
fc140d7eba * NEWS: Give proper credit for Tuesday/Thursday typo fix. 2014-03-14 00:09:42 -07:00
3f0f945c17 Fix Tuesday/Thursday typo in tzset man page.
* newtzset.3 (DESCRIPTION), NEWS: Fix typo in description of Israel time.
Reported by Mike Frysinger for glibc in:
https://sourceware.org/ml/libc-alpha/2014-03/msg00326.html
2014-03-13 17:30:17 -07:00
edde76c952 * australasia, NEWS: Comment re Johnston Island time in the 1960s.
(Thanks to Lyle McElhaney.)
2014-03-12 21:31:59 -07:00