1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-20 07:31:57 +00:00
Commit Graph

25 Commits

Author SHA1 Message Date
649397ecb4 Document thread-safe functions in man pages.
* NEWS, newctime.3, newstrftime.3, newtzset.3, time2posix.3:
Mention localtime_r etc.  Also, use function prototypes rather
than K&R style, and use 'restrict' where POSIX does.
2014-08-25 08:20:52 -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
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
85e3d22f86 Fixed a couple of typos. 2014-06-16 22:53:58 -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
10a38b7ee2 * newctime.3, newstrftime.3, newtzset.3, zdump.8: Explain UT vs UTC better.
Suggested by Steve Allen in
<http://mm.icann.org/pipermail/tz/2013-September/019924.html>.
2013-09-05 07:03:28 -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
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
a5a4df7fe4 remove erroneous public domain note
SCCS-file: newstrftime.3
SCCS-SID: 8.3
2012-07-18 03:03:14 -04:00
229037019b public domain
SCCS-file: newstrftime.3
SCCS-SID: 8.2
2012-07-18 03:03:07 -04:00
689d104342 delinted
SCCS-file: newstrftime.3
SCCS-SID: 7.15
2012-07-18 03:02:47 -04:00
64e803cc1c UCT -> UTC
SCCS-file: newstrftime.3
SCCS-SID: 7.14
2012-07-18 03:02:34 -04:00
9c6223c806 z and Z
SCCS-file: newstrftime.3
SCCS-SID: 7.13
2012-07-18 03:02:34 -04:00
c7d0b23cb5 documentation of Eggert mods
SCCS-file: newstrftime.3
SCCS-SID: 7.12
2012-07-18 03:02:34 -04:00
70274ed4bb libz -> libtz; -lz -> -ltz
SCCS-file: newstrftime.3
SCCS-SID: 7.11
2012-07-18 03:02:27 -04:00
c0f87646ab X and x swapped
SCCS-file: newstrftime.3
SCCS-SID: 7.10
2012-07-18 03:02:22 -04:00
57a8663d20 zap stray quote
SCCS-file: newstrftime.3
SCCS-SID: 7.9
2012-07-18 03:02:21 -04:00
6fdcf34b0b + format added
SCCS-file: newstrftime.3
SCCS-SID: 7.8
2012-07-18 03:02:21 -04:00
e16741c573 more reordering
SCCS-file: newstrftime.3
SCCS-SID: 7.7
2012-07-18 03:02:21 -04:00
fc8cbd0a00 reordered
SCCS-file: newstrftime.3
SCCS-SID: 7.6
2012-07-18 03:02:21 -04:00
c7404452ad SCCS-file: newstrftime.3
SCCS-SID: 7.5
2012-07-18 03:02:21 -04:00
f9e6f12a1e SCCS-file: newstrftime.3
SCCS-SID: 7.4
2012-07-18 03:02:21 -04:00
f41edde406 first crack at corrected version
SCCS-file: newstrftime.3
SCCS-SID: 7.3
2012-07-18 03:02:21 -04:00
b4c9a8e72a UCB version
SCCS-file: newstrftime.3
SCCS-SID: 7.2
2012-07-18 03:02:21 -04:00
4f70083aa3 created
SCCS-file: newstrftime.3
SCCS-SID: 7.1
2012-07-18 03:02:21 -04:00