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

24 Commits

Author SHA1 Message Date
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
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
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
8b05d8e8ec * zdump.8: Fix minor typos in recent changes. 2013-05-30 00:00:09 -07:00
8a883a64cb Add support for testing time_t types other than the system's.
This makes it easier to test on (say) Debian, even if we're
testing the time_t type on (say) NetBSD.  NetBSD uses 64-bit
time_t on 32-bit hosts, and this lets us test a NetBSD-style
implementation (32-bit 'long', 64-bit time_t) on a 32-bit Debian host.
* Makefile: Update comments to talk about TIME_T_FLOATING and time_tz.
Sort the comments.
* private.h (restrict): Define to empty with older compilers.
'restrict' is now needed, to define gmtime_r and localtime_r in
standard ways when time_tz is defined.
Make the following changes if time_tz is defined:
(sys_time, time): New static functions.  The former is the system
'time' function that applies to the system time_t, the latter
our function that applies to our time_t.
(time_t, ctime, ctime_r, difftime, gmtime, gmtime_r, localtime)
(localtime_r, mktime): Rename to tz_time_t, tz_ctime, etc.,
via macros.  Declare the renamed versions.
* zdump.8: Document new options -V, -t.
* zdump.c: Include private.h if time_tz is defined.
(INITIALIZE): Remove; no longer needed.
(absolute_min_time, absolute_max_time): Work even if time_t
is wider than intmax_t, which can be true with GCC and __int128_t.
Use the new TIME_T_FLOATING macro for this.
(usage): Document new flags.
(main): Support them.
2013-05-27 14:59:09 -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
25766f54c3 public domain
SCCS-file: zdump.8
SCCS-SID: 8.2
2012-07-18 03:03:07 -04:00
3e86996091 SCCS-file: zdump.8
SCCS-SID: 7.7
2012-07-18 03:02:45 -04:00
ce64c7c95b cutoff defaults
SCCS-file: zdump.8
SCCS-SID: 7.6
2012-07-18 03:02:45 -04:00
f5f2a62ad5 allow two years in zdump args
SCCS-file: zdump.8
SCCS-SID: 7.5
2012-07-18 03:02:45 -04:00
91f9cfb83d SCCS-file: zdump.8
SCCS-SID: 7.4
2012-07-18 03:02:40 -04:00
7b0e88d216 change in -v description
SCCS-file: zdump.8
SCCS-SID: 7.3
2012-07-18 03:02:23 -04:00
63f2d3722c groff glitch avoidance
SCCS-file: zdump.8
SCCS-SID: 7.2
2012-07-18 03:02:08 -04:00
d1ff52ad40 etc -> usr/local/etc
SCCS-file: zdump.8
SCCS-SID: 4.4
2012-07-18 03:01:57 -04:00
03c752a5cd foggified
SCCS-file: zdump.8
SCCS-SID: 4.3
2012-07-18 03:01:52 -04:00
3596402ef4 black box version
SCCS-file: zdump.8
SCCS-SID: 4.2
2012-07-18 03:01:51 -04:00
c245d147bf leap second words
SCCS-file: zdump.8
SCCS-SID: 3.2
2012-07-18 03:01:45 -04:00
ed24a02d4a last minute stuff
SCCS-file: zdump.8
SCCS-SID: 3.1
2012-07-18 03:01:44 -04:00
7aadba734d TZDUMP->ZDUMP
SCCS-file: zdump.8
SCCS-SID: 1.5
2012-07-18 03:01:40 -04:00
cb85d3b356 cutoff option added
SCCS-file: zdump.8
SCCS-SID: 1.4
2012-07-18 03:01:40 -04:00
f4bd37691c name changes
SCCS-file: zdump.8
SCCS-SID: 1.3
2012-07-18 03:01:39 -04:00
26b09aff29 tzdump writeup
SCCS-file: zdump.8
SCCS-SID: 1.2
2012-07-18 03:01:39 -04:00
3ba331ea4b created
SCCS-file: zdump.8
SCCS-SID: 1.1
2012-07-18 03:01:39 -04:00