a1752133a1
Release tzcode2012i and tzdata2012i.
...
* Makefile (VERSION): Increase to 2012i.
2012-11-03 12:57:09 -07:00
d31d208f7e
Automate the building of tarball signatures.
...
* Makefile (public): Rewrite in terms of new rules, below.
(check_public): New rule, containing the old checking part of
'make public'.
(tarballs): New rule, containing the old tarball-making part of
'make public'. Do not run checktab twice.
(signatures, tzcode$(VERSION).tar.gz.sign, tzdata$(VERSION).tar.gz.sign):
New rules.
2012-11-03 12:56:05 -07:00
6daf83cd40
Have tzselect.ksh use Bash by default; this can be overridden.
...
* Makefile (KSHELL): New macro.
(tzselect): Use it.
* tzselect.ksh: Use "#!/bin/bash", not "#! /bin/ksh". The Makefile
can override this. No need for a space after "!'; that was put in
years ago only because of an urban legend.
2012-10-27 13:54:13 -07:00
540e58b0aa
Makefile portability improvements.
...
* Makefile (LDFLAGS): Rename from LFLAGS, with backwards compatibility.
All uses changed. Suggested by Mike Frysinger in
<http://mm.icann.org/pipermail/tz/2012-October/018396.html >.
(zdump, zic, date): Use $(CC) -o $@ ... rather than $(CC) ... -o $@,
for portability to strict older POSIX hosts.
($(TZLIB)): Don't use [ ... -o ... ], as it's not portable.
2012-10-27 13:19:45 -07:00
cff2e6fb6e
* Makefile (AWK): Default to 'awk'; this is more portable these days.
...
Suggested by Mike Frysinger in
<http://mm.icann.org/pipermail/tz/2012-October/018397.html >.
2012-10-27 12:36:00 -07:00
001a626d31
Release tzcode2012h and tzdata2012h.
...
* Makefile (VERSION): Increase to 2012h.
2012-10-26 22:49:10 -07:00
c350bfd55f
More C modernization.
...
* Makefile (typecheck): Add -D__time_t_defined to CFLAGS,
for glibc 2.15.
* asctime.c (asctime_r, asctime):
* date.c (main, dogmt, reset, nondigit, sametm, convert, checkfinal):
* ialloc.c (icatalloc):
* localtime.c (detzcode, detzcode64, settzname, tzload)
(typesequiv, getzname, getqzname, getnum, getsecs, getoffset)
(getrule, transtime, tzparse, tzset, localsub, gmtsub)
(leaps_thru_end_of, timesub, increment_overflow)
(long_increment_overflow, normalize_overflow)
(long_normalize_overflow, tmcomp, time2sub, time1, leapcorr):
* scheck.c (scheck):
* strftime.c (_yconv):
* zdump.c (my_localtime, abbrok, main, yeartot, hunt)
(delta, show, abbr, dumptime):
* zic.c (main, dolink, itsdir, associate, infile, inrule)
(inzone, inzcont, inzsub, inleap, inlink, rulesub, convert64)
(writezone, doabbr, stringoffset, stringrule, stringzone)
(outzone, addtype, leapadd, adjleap, ciequal, itsabbr, byword)
(getfields, rpytime, newabbr, mkdirs):
Omit 'register', as it adds no value these days. See Christos Zoulas in
<http://mm.icann.org/pipermail/tz/2012-October/018376.html >.
* date.c (netsettime) [TSP_SETDATE]: Add forward decl.
Don't rely on implicit int. Now static. Use NULL, not 0.
* zdump.c: Include "limits.h".
(absolute_min_time, absolute_max_time): Compute at compile-time,
as the run-time tests relied on undefined behavior.
(checkabsolutes): Rename from setabsolutes. Just check, since
there's nothing to set now. All uses changed.
2012-10-26 00:48:01 -07:00
ec6a124c84
Release tzcode2012g and tzdata2012g.
...
* Makefile (VERSION): Increase to 2012g.
(COMMON): New macro.
(DOCS): Remove Makefile.
(ENCHILADA): Adjust to above changes.
(public): Put $(COMMON) in both tarballs, so that the version
number is in both distributions.
2012-10-17 20:59:45 -07:00
400ecf36bb
Assume C89.
...
* Makefile (GCC_DEBUG_FLAGS): Modernize for GCC 4.6.3 x86.
* asctime.c (asctime_r, asctime):
* date.c (main, dogmt, reset, wildinput, nondigit, oops, display)
(timeout, sametm, netsettime):
* difftime.c (difftime):
* ialloc.c (icatalloc, icpyalloc):
* localtime.c (detzcode, detzcode64, differ_by_repeat)
(tzload, typesequiv, getzname, getnum, getsecs, getoffset)
(getrule, transtime, tzparse, gmtload, tzsetwall, tzset)
(localsub, localtime, localtime_r, gmtsub, gmtime, gmtime_r)
(offtime, leaps_thru_end_of, timesub, ctime, ctime_r)
(increment_overflow, long_increment_overflow)
(normalize_overflow, long_normalize_overflow, tmcomp, time2sub)
(time2, time1, mktime, timelocal, timegm, timeoff, gtime)
(leapcorr, time2posix, posix2time):
* scheck.c (scheck):
* strftime.c (strftime, _fmt, _conv, _add, _yconv, _loc):
* zdump.c (my_localtime, abbrok, usage, main, yeartot)
(delta, abbr, dumptime):
* zic.c (memcheck, eats, eat, error, warning, main)
(dolink, itsdir, rcomp, associate, infile, gethms, inrule)
(inzone, inzcont, inzsub, inleap, inlink, rulesub, convert)
(convert64, puttzcode, puttzcode64, atcomp, is32, writezone, DO)
(doabbr, updateminmax, stringoffset, stringrule, stringzone)
(outzone, addtt, addtype, leapadd, yearistype, lowerit, ciequal)
(itsabbr, byword, getfields, oadd, tadd, rpytime, newabbr)
(mkdirs, eitol):
Assume C89 or better. Mostly this consists of using function
prototypes. In a few places, prototypes are required for
portability to hosts where time_t does not promote to itself and
where a preceding prototype does not override a definition. But
while we're at it we might as well be consistent: it's safe to
assume at-least-C89 these days.
* ialloc.c (nonzero, imalloc, icalloc, irealloc, ifree, icfree):
Remove; no longer needed now that we assume C89 or better.
All callers changed to use malloc, calloc, realloc, free.
* localtime.c (getzname, getqzname, leaps_thru_end_of, transtime):
* zdump.c (delta, yeartot):
* zic.c (eitol):
Now pure.
* private.h, zdump.c (ATTRIBUTE_PURE): New macro.
* private.h (icalloc, imalloc, irealloc, icfree, ifree): Remove decls.
* zic.c: Remove no-longer-necessary forward decls.
(max_time, min_time): Now const.
(setboundaries): Remove.
2012-10-12 07:53:12 -07:00
66f0c30ddc
Release tzdata2012f.
...
* Makefile (VERSION): Increase to 2012f.
2012-09-12 23:17:03 -07:00
60e612c3f4
Release tzcode2012e and tzdata2012e.
...
* Makefile (VERSION): Increase to 2012e.
2012-08-02 20:44:55 -07:00
33232258ad
Use a single version number for both code and data.
...
* Makefile (VERSION): New macro, superseding ...
(TZCODE_VERSION, TZDATA_VERSION): Remove. All uses changed.
(version.h): Call the variable TZVERSION, not TZCODE_VERSION.
All uses changed.
(tzselect): Interpolate TZVERSION, not TZCODE_VERSION.
(public): Adjust to new versioning scheme.
* tzselect.ksh (TZVERSION): Rename from TZCODE_VERSION.
* zdump.c, zic.c (main): Use TZVERSION, not TZCODE_VERSION.
2012-07-25 07:46:06 -07:00
ee42236d51
Release tzcode2012c and tzdata2012d.
...
* Makefile (TZCODE_VERSION): Increase to tzcode2012c.
(TZDATA_VERSION, GNUTARFLAGS, TARFLAGS, GZIPFLAGS): New macros.
(maintainer-clean): Remove all the old tar.gz files.
(set-timestamps): New rule.
(public): Use it. Create distribution files that are more
reproducible, by omitting irrelevant information such as the time
of checkout or build, the builder's user name, the builder's
locale, and so forth. Be more careful about file permissions in /tmp.
2012-07-19 16:35:33 -07:00
8a52da39ed
Fix HTML validation issues.
...
* Makefile (SGML_TOPDIR): New macro, with default for Ubuntu
(SGML_SEARCH_DIR): Use it.
* tz-art.htm: Fix HTML typos uncovered by validator.
2012-07-18 19:23: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
300b05dba1
2012b revert Makefile to 8.11
...
SCCS-file: Makefile
SCCS-SID: 8.13
2012-07-18 03:03:15 -04:00
a61bc0b2e2
2012a KREified version of Makefile
...
SCCS-file: Makefile
SCCS-SID: 8.12
2012-07-18 03:03:15 -04:00
b203274e2f
remove itca.jpg from distribution
...
SCCS-file: Makefile
SCCS-SID: 8.11
2012-07-18 03:03:13 -04:00
9846f4d541
goose GCC_DEBUG_FLAGS
...
SCCS-file: Makefile
SCCS-SID: 8.10
2012-07-18 03:03:12 -04:00
1ae13499b8
abandon factory; make GMT default
...
SCCS-file: Makefile
SCCS-SID: 8.9
2012-07-18 03:03:10 -04:00
d79e87ddad
public domain
...
SCCS-file: Makefile
SCCS-SID: 8.8
2012-07-18 03:03:07 -04:00
8d6eadc36b
logwtmp.c goes
...
SCCS-file: Makefile
SCCS-SID: 8.7
2012-07-18 03:03:05 -04:00
3661fc971c
HAVE_STRERROR goes
...
SCCS-file: Makefile
SCCS-SID: 8.6
2012-07-18 03:03:03 -04:00
a64f25d483
noncontroversial changes
...
SCCS-file: Makefile
SCCS-SID: 8.5
2012-07-18 03:03:02 -04:00
5c2f9241b4
Eggert mods
...
SCCS-file: Makefile
SCCS-SID: 8.4
2012-07-18 03:02:59 -04:00
da4516f8fb
Eggert mods
...
SCCS-file: Makefile
SCCS-SID: 8.3
2012-07-18 03:02:58 -04:00
e89d1def9d
zon*.pl in release
...
SCCS-file: Makefile
SCCS-SID: 8.2
2012-07-18 03:02:58 -04:00
8f6eb92ace
64-bit version
...
SCCS-file: Makefile
SCCS-SID: 8.1
2012-07-18 03:02:52 -04:00
7a82175910
abbreviation warnings
...
SCCS-file: Makefile
SCCS-SID: 7.109
2012-07-18 03:02:48 -04:00
c8c1aae947
SCCS-file: Makefile
...
SCCS-SID: 7.108
2012-07-18 03:02:48 -04:00
1d38e56f43
delinted
...
SCCS-file: Makefile
SCCS-SID: 7.107
2012-07-18 03:02:47 -04:00
1b61fdd2bb
public: rule change
...
SCCS-file: Makefile
SCCS-SID: 7.106
2012-07-18 03:02:47 -04:00
087a386621
improved link-to-link checking
...
SCCS-file: Makefile
SCCS-SID: 7.105
2012-07-18 03:02:47 -04:00
381dcaf4a7
better public rule
...
SCCS-file: Makefile
SCCS-SID: 7.104
2012-07-18 03:02:47 -04:00
81fd631361
define TYPECHECK when doing make typecheck
...
SCCS-file: Makefile
SCCS-SID: 7.103
2012-07-18 03:02:46 -04:00
fdde3842e1
improved typecheck
...
SCCS-file: Makefile
SCCS-SID: 7.102
2012-07-18 03:02:46 -04:00
132f4bf7f5
typecheck work
...
SCCS-file: Makefile
SCCS-SID: 7.101
2012-07-18 03:02:46 -04:00
a28f523385
more typecheck work
...
SCCS-file: Makefile
SCCS-SID: 7.100
2012-07-18 03:02:45 -04:00
d2209e4843
typecheck rule added
...
SCCS-file: Makefile
SCCS-SID: 7.99
2012-07-18 03:02:45 -04:00
de9fa3e802
usno2004 goes
...
SCCS-file: Makefile
SCCS-SID: 7.98
2012-07-18 03:02:44 -04:00
9a56545d86
SCCS-file: Makefile
...
SCCS-SID: 7.97
2012-07-18 03:02:44 -04:00
0e78330941
usno2004
...
SCCS-file: Makefile
SCCS-SID: 7.96
2012-07-18 03:02:44 -04:00
80bc3b5eb2
workman.sh work
...
SCCS-file: Makefile
SCCS-SID: 7.95
2012-07-18 03:02:44 -04:00
b2817de394
STRICTLY_STANDARD_ASCTIME note
...
SCCS-file: Makefile
SCCS-SID: 7.94
2012-07-18 03:02:43 -04:00
40301482f1
avoid use of asctime in zdump
...
SCCS-file: Makefile
SCCS-SID: 7.93
2012-07-18 03:02:43 -04:00
c59a6327f6
itca.jpg added
...
SCCS-file: Makefile
SCCS-SID: 7.92
2012-07-18 03:02:42 -04:00
23d5f02c44
clean work
...
SCCS-file: Makefile
SCCS-SID: 7.91
2012-07-18 03:02:42 -04:00
003f3278d3
eggert mods
...
SCCS-file: Makefile
SCCS-SID: 7.90
2012-07-18 03:02:42 -04:00
0829662a96
more 24:00 work
...
SCCS-file: Makefile
SCCS-SID: 7.89
2012-07-18 03:02:41 -04:00
9202470b45
24:00 warning
...
SCCS-file: Makefile
SCCS-SID: 7.88
2012-07-18 03:02:41 -04:00