Commit 474265c2 authored by Christoph Berg's avatar Christoph Berg

Import Upstream version 0.9.22

parents
Rein Couperus <pa0r@eudxf.org>
contributions by: Joop Stakenborg (PG4I), Dimiter Kroumov (LZ3NY).
This diff is collapsed.
2003-09-10 dimiter (mitko) kroumov <lz3ny@bfra.org>
version 0.9.1:
* added an autoRXVTdiscovery and a hack XTERM arrows by putting "linux" native driver
as TERMinal in the environment.
* Introduced WAZMULT (CQWW like) and ITUMULT switches as contest rule multipliers
* logcfg.dat has been split up. added a new "rules/" directory for the contest rules file.
2002-11-03 rein couperus <rein@couperus.com>
version 0.8.6:
* bug fixes: various modules
* fixed getctydata.c to interpret ctydb properly
* fixed bug in callinput.c allowing input of too many characters in call field
* added TIME_OFFSET to allow running PC on local time instaead of UTC
* added arrl sweepstakes contest with flexible exchange input
2002-10-01 rein couperus <rein@couperus.com>
version 0.8.1:
* various modules: added frequency data, talk data and serialnr data network distribution
* added :info and :freq displays
2002-09-07 rein couperus <rein@couperus.com>
version 0.8.0:
* lancode.c, lancode.h: added networking module
* various modules: major code changes to interface to the networking module
for log data and packet data distribution
2002-08-30 rein couperus <rein@couperus.com>
version 0.7.3:
* background_process.c: added cw simulator mode
* changeparams.c: added command :simulator
* logit.c, call_input.c: added simulator code
* main.c: added various global variables for cw simulator
* searchlog.c: fixed bug to enable working more than 20 JA's (now 999)
2002-08-30 rein couperus <rein@couperus.com>
version 0.7.2:
* configure.in : added --enable-hamlib to switch on Hamlib support
* sendtxinfo.c, main.c: changed the code to support library switch
2002-08-21 rein couperus <rein@couperus.com>
version 0.7.1:
* parse_logcfg.c: added RIGPORT parameter
* clusterinfo.c : added ctrl-g support for spot list
2002-08-21 rein couperus <rein@couperus.com>
version 0.7.0:
* sendqrg.c: added Hamlib support
* gettxinfo.c: added Hamlib support
* parse_logconfig.c: added Hamlib support
* added rig.h
2002-08-12 rein couperus <rein@couperus.com>
version 0.6.1:
* splitscreen.c: telnet client does now display correctly when
long buffers come in.
* preliminary fix for bandmap display
* added FIFO interface to cluster monitor
* added command to logcfg.dat:
FIFO_INTERFACE
this starts a FIFO called clfile in the working directory for
added flexibility and backward compatability with previous
versions
2002-08-08 rein couperus <rein@couperus.com>
version 0.6.0:
* major rewrite of all routines making disk access.
* Removed all system calls.
* included telnet client and tnc terminal based on splitscreen by
Dave Brown, N2RJT. Now fully integrated with tlf.
* Added commands to logcfg.com:
TELNETHOST, TELNETPORT
TNCPORT (1 or 2)
* callinput.c: ESCAPE now erases call + exchange
* show_score.c: Color change in header line
2002-07-21 rein couperus <rein@couperus.com>
* searchlog.c: now keeps logdata in ram to speed up dupe check
removed sys calls and reference to /tmp/tlf
* store_to disk.c copy logdata into ram array
* delete_qso.c remove qso from ram array
* edit_last.c change qso in ram array
* readcalls.c read qso data into ram array
* main.c added global qso array (3000 qso's)
2002-07-21 rein couperus <rein@couperus.com>
* searchlog.c: changed partials routine to run in RAM
added load_partials function
* main.c: added load partials from disk
* time_update.c removed disk acces to logfile every 5 secs
* score.c changed cqww scoring (2 pts within NA)
2002-07-14 Rein Couperus <rein@couperus.com>
* edit_last.c: added instert and delete
* removed call to tlf_deletelogline
2002-07-13 Rein Couperus <rein@couperus.com>
tlf-0.5.4.3:
* main.c: added mixedmode parameter
* searchlog.c added mixed mode capability to dupe logic
* writecabrillo.c added wysiwyg multiplier format and mixed capability
* changeparameters.c added :CWMODE, :SSBMODE and :DIGIMODE commands
* show_help.c added new mode switch commands
2002-07-07 Rein Couperus <rein@couperus.com>
tlf-0.5.4.2:
* readcalls.c: fixed logic for wysiwyg multipliers
* getexchange.c : added "\" command
2002-06-09 Rein Couperus <rein@couperus.com>
tlf-0.5.4.1: adjustments for bugs in debian floppy version
(delete last qso, write cabrillo)
* deleteqso.c: killed the system call to script tlf_deletelogline, wrote
inline code to do the job.
*writecabrillo.c: removed system call to 'sed'
2002-05-31 Rein Couperus <rein@couperus.com>
tlf-0.5.4:
* tlf.h: added definition of EDITOR_E3
* various: added support for e3 editor (debian floppy )
* clusterinfo.c: read cl3file only if read successful
2002-05-26 Rein Couperus <rein@couperus.com>
tlf-0.5.3:
* getmessages.c: don't initialize call and logfile name if present in logcfg.dat
* getctydata.c: bug fix: calculate right cty for /P calls
2002-05-26 Rein Couperus <rein@couperus.com>
tlf-0.5.3:
* score.c: wpx + cqww: added 2 point mode for NA stations
* searchlog.c: added red warning signal in case of call lock (check partials)
* parse_logcfg.c: added generic parameters 2EU3DX_POINTS, COUNTRY_MULT,
PORTABLE_MULT2 , SERIAL_EXCHANGE for
use in logcfg.dat (e.g. in Region 1 field day..).
* added new parameters and logic to various files to enable "universal" contest
* edit_last.c : added new code to edit last qso ("@" command)
2002-05-24 Rein Couperus <rein@couperus.com>
tlf-0.5.2a: bug fixes:
* deleteqso.c: fixed call to tlf_deletelogline
* writecabrillo.c: changed version to 0.5.2
New feature: allow CW logging without external keyer....
* tlf.h: added #definition NO_KEYER
* write_keyer.c: check explicitly for presence of keyer
* parse_logcfg.c: make default NO_KEYER
* main.c: initialize keyerport to NO_KEYER
* keyer.c: bail out if NO_KEYER
* sendbuf.c: bail out if NO_KEYER
2002-05-24 Rein Couperus <rein@couperus.com>
* tlf-0.5.2: Automatic generation of .paras file in working directory
* changed tlf_cleanup to automatically generate clfile and wwvfile at startup
* removed .paras, clfile, wwvfile and logfiles from /examples/xxx/
* added parameter MANY_CALLS to logcfg.dat
* added parameters POWERMULT to logcfg.dat (for arrlfd)
* update of scoring routine for arrlfd
* added larger partial call window
2002-05-19 Rein Couperus <rein@couperus.com>
* tlf-0.5.1: Initial version with automake and autoconf.
Tlf now comes with automake and autoconf.
Easiest way to install tlf is by typing:
./configure
make
make install
if support for Hamlib-1.1.3 is wanted, use ./configure --enable-hamlib
By default, tlf will install into /usr/local/bin, together with the
shell-scripts in the scripts directory. Data files will install into
/usr/local/share/tlf.
If you want to change any of these paths, you can do this with the
configure script, e.g. './configure --prefix=/usr --datadir=/usr/share'
will install tlf and scipts into /usr/bin, datafiles into /usr/share/tlf.
See doc/README for more details.
\ No newline at end of file
SUBDIRS = doc rules src share scripts
EXTRA_DIST =
CLEANFILES = *~
man_MANS = tlf.1
This diff is collapsed.
tlf-0.8.20
==========
Added hamlib-1.1.4 compatibility.
tlf-0.8.9
=======
Added CT compatibility mode.
tlf-0.8.7
=======
Added time sync protocol to the network.
tlf-0.8.5
=======
Added time shift parameter to run computer at local time.
tlf-0.8.4
=======
Added ARRL Sweepstakes for SO and M/S
tlf-0.8.0
=======
Added full ip network support for M2, M/S or M/M operation of CQWW and WPX
tlf-0.7.4
=======
Added support for user mode cwdaemon (NETKEYER)
(now with direct mode !!)
tlf-0.7.3
=======
Added CW contest simulator for cqww...
tlf-0.7.0
=======
Added Hamlib-1.1.3 support for rig control of most popular radios
tlf-0.6.1
=========
Added telnet client and tnc terminal
Check routines now completely memory based for lightning speed...
tlf-0.5.4
========
Added support for e3 editor
tlf-0.5.3
========
Major changes with respect to version tlf-0.5.0 are:
- addition of region 1 fieldday contest
- complete overhaul of "edit last qso"
- auto_complete now gives a warning if the call is locked
- added new parameters for "universal" contest
- bug fix: added 2-point mode for wpx and cqww for NA stns
It is now possible to create your own contest.
E.g. for the r1fieldday you can enter the following in logcfg.dat:
#dissable all standard contests
CONTEST=fieldday
COUNTRY_MULT (dxcc countries = multiplier)
2EU3DX_POINTS (2 points for qso's in own continent, 3 for DX)
PORTABLE_MULT_2 (x 2 for qso with portable stations)
If you need specific parameters for certain contest, please ask (you never know..).
tlf-0.5.2
========
Major changes with respect to version tlf-0.5.0 are:
- Autoconf and automake support
- New parameter MANY_CALLS gives you 50 partial calls if you need it
- Call edit now includes INSERT and DELETE functions (see the manual..)
- New parameters POWERMULT introduced for the arrlfd contest
tlf-0.5.0
=========
Major changes with respect to version TLF-0.4.5 are:
- Globalisation of the directory structure
- Partial call / auto-complete function (optional)
- Flush logfile to disk after each qso
- Some bug fixes.
- Final check on wpx-cw
- Added Arrl-fd test version (for hf)
- Arrl-fd needed a DIG mode
The new directory structure:
/<homedir>/.../<contestdir> separate directory per contest (r/w)
<PREFIX>/bin binaries and scripts
<PREFIX>/share/tlf callmaster, ctydb, default templates
<PREFIX>/share/tlf/doc documentation
<PREFIX>/share/tlf/examples template config files per contest
<PREFIX>/share/tlf/src source code
/tmp/tlf all temporary files
See /doc/README and ChangeLog for details
See the html manual for answers to most of your questions :-)
See doc/README, For installation see the INSTALL file.
\ No newline at end of file
#undef PACKAGE_DATA_DIR
#serial 3
dnl From Jim Meyering
dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared --
dnl usually in <utime.h>.
dnl Some systems have utime.h but don't declare the struct anywhere.
AC_DEFUN(jm_CHECK_TYPE_STRUCT_UTIMBUF,
[
AC_CHECK_HEADERS(utime.h)
AC_REQUIRE([AC_HEADER_TIME])
AC_CACHE_CHECK([for struct utimbuf], fu_cv_sys_struct_utimbuf,
[AC_TRY_COMPILE(
[
#ifdef TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
# else
# include <time.h>
# endif
#endif
#ifdef HAVE_UTIME_H
# include <utime.h>
#endif
],
[static struct utimbuf x; x.actime = x.modtime;],
fu_cv_sys_struct_utimbuf=yes,
fu_cv_sys_struct_utimbuf=no)
])
if test $fu_cv_sys_struct_utimbuf = yes; then
AC_DEFINE_UNQUOTED(HAVE_STRUCT_UTIMBUF, 1,
[Define if struct utimbuf is declared -- usually in <utime.h>.
Some systems have utime.h but don't declare the struct anywhere. ])
fi
])
AC_DEFUN([ACX_PTHREAD], [
AC_REQUIRE([AC_CANONICAL_HOST])
AC_LANG_SAVE
AC_LANG_C
acx_pthread_ok=no
# We used to check for pthread.h first, but this fails if pthread.h
# requires special compiler flags (e.g. on True64 or Sequent).
# It gets checked for in the link test anyway.
# First of all, check if the user has set any of the PTHREAD_LIBS,
# etcetera environment variables, and if threads linking works using
# them:
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
save_LIBS="$LIBS"
LIBS="$PTHREAD_LIBS $LIBS"
AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
AC_TRY_LINK_FUNC(pthread_join, acx_pthread_ok=yes)
AC_MSG_RESULT($acx_pthread_ok)
if test x"$acx_pthread_ok" = xno; then
PTHREAD_LIBS=""
PTHREAD_CFLAGS=""
fi
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
fi
# We must check for the threads library under a number of different
# names; the ordering is very important because some systems
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
# libraries is broken (non-POSIX).
# Create a list of thread flags to try. Items starting with a "-" are
# C compiler flags, and other items are library names, except for "none"
# which indicates that we try without any flags at all.
acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt"
# The ordering *is* (sometimes) important. Some notes on the
# individual items follow:
# pthreads: AIX (must check this before -lpthread)
# none: in case threads are in libc; should be tried before -Kthread and
# other compiler flags to prevent continual compiler warnings
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
# -pthreads: Solaris/gcc
# -mthreads: Mingw32/gcc, Lynx/gcc
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
# doesn't hurt to check since this sometimes defines pthreads too;
# also defines -D_REENTRANT)
# pthread: Linux, etcetera
# --thread-safe: KAI C++
case "${host_cpu}-${host_os}" in
*solaris*)
# On Solaris (at least, for some versions), libc contains stubbed
# (non-functional) versions of the pthreads routines, so link-based
# tests will erroneously succeed. (We need to link with -pthread or
# -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
# a function called by this macro, so we could check for that, but
# who knows whether they'll stub that too in a future libc.) So,
# we'll just look for -pthreads and -lpthread first:
acx_pthread_flags="-pthread -pthreads pthread -mt $acx_pthread_flags"
;;
esac
if test x"$acx_pthread_ok" = xno; then
for flag in $acx_pthread_flags; do
case $flag in
none)
AC_MSG_CHECKING([whether pthreads work without any flags])
;;
-*)
AC_MSG_CHECKING([whether pthreads work with $flag])
PTHREAD_CFLAGS="$flag"
;;
*)
AC_MSG_CHECKING([for the pthreads library -l$flag])
PTHREAD_LIBS="-l$flag"
;;
esac
save_LIBS="$LIBS"
save_CFLAGS="$CFLAGS"
LIBS="$PTHREAD_LIBS $LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
# Check for various functions. We must include pthread.h,
# since some functions may be macros. (On the Sequent, we
# need a special flag -Kthread to make this header compile.)
# We check for pthread_join because it is in -lpthread on IRIX
# while pthread_create is in libc. We check for pthread_attr_init
# due to DEC craziness with -lpthreads. We check for
# pthread_cleanup_push because it is one of the few pthread
# functions on Solaris that doesn't have a non-functional libc stub.
# We try pthread_create on general principles.
AC_TRY_LINK([#include <pthread.h>],
[pthread_t th; pthread_join(th, 0);
pthread_attr_init(0); pthread_cleanup_push(0, 0);
pthread_create(0,0,0,0); pthread_cleanup_pop(0); ],
[acx_pthread_ok=yes])
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
AC_MSG_RESULT($acx_pthread_ok)
if test "x$acx_pthread_ok" = xyes; then
break;
fi
PTHREAD_LIBS=""
PTHREAD_CFLAGS=""
done
fi
# Various other checks:
if test "x$acx_pthread_ok" = xyes; then
save_LIBS="$LIBS"
LIBS="$PTHREAD_LIBS $LIBS"
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
# Detect AIX lossage: threads are created detached by default
# and the JOINABLE attribute has a nonstandard name (UNDETACHED).
AC_MSG_CHECKING([for joinable pthread attribute])
AC_TRY_LINK([#include <pthread.h>],
[int attr=PTHREAD_CREATE_JOINABLE;],
ok=PTHREAD_CREATE_JOINABLE, ok=unknown)
if test x"$ok" = xunknown; then
AC_TRY_LINK([#include <pthread.h>],
[int attr=PTHREAD_CREATE_UNDETACHED;],
ok=PTHREAD_CREATE_UNDETACHED, ok=unknown)
fi
if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then
AC_DEFINE(PTHREAD_CREATE_JOINABLE, $ok,
[Define to the necessary symbol if this constant
uses a non-standard name on your system.])
fi
AC_MSG_RESULT(${ok})
if test x"$ok" = xunknown; then
AC_MSG_WARN([we do not know how to create joinable pthreads])
fi
AC_MSG_CHECKING([if more special flags are required for pthreads])
flag=no
case "${host_cpu}-${host_os}" in
*-aix* | *-freebsd*) flag="-D_THREAD_SAFE";;
*solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
esac
AC_MSG_RESULT(${flag})
if test "x$flag" != xno; then
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
fi
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
# More AIX lossage: must compile with cc_r
AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC})
else
PTHREAD_CC="$CC"
fi
AC_SUBST(PTHREAD_LIBS)
AC_SUBST(PTHREAD_CFLAGS)
AC_SUBST(PTHREAD_CC)
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
if test x"$acx_pthread_ok" = xyes; then
ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
:
else
acx_pthread_ok=no
$2
fi
AC_LANG_RESTORE
])dnl ACX_PTHREAD
This diff is collapsed.
This diff is collapsed.
/* config.h.in. Generated automatically from configure.in by autoheader. */
#undef PACKAGE_DATA_DIR
/* Define if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define if you have the `floor' function. */
#undef HAVE_FLOOR
/* Define if you have the <hamlib/riglist.h> header file. */
#undef HAVE_HAMLIB_RIGLIST_H
/* Define if you have the <hamlib/rig.h> header file. */
#undef HAVE_HAMLIB_RIG_H
/* Define if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if you have the `hamlib' library (-lhamlib). */
#undef HAVE_LIBHAMLIB
/* Define if you have the `m' library (-lm). */
#undef HAVE_LIBM
/* Define if you have the `ncurses' library (-lncurses). */
#undef HAVE_LIBNCURSES
/* Define if you have the `pthread' library (-lpthread). */
#undef HAVE_LIBPTHREAD
/* Define if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define if you have the `sqrt' function. */