]> dxcluster.org Git - spider.git/log
spider.git
12 years agoMerge PC34 unbless ref changes from main line
Dirk Koopman [Fri, 9 Mar 2012 22:20:03 +0000 (22:20 +0000)]
Merge PC34 unbless ref changes from main line

Conflicts:
perl/DXUser.pm

12 years agoadd yet more changes in pc34
Dirk Koopman [Fri, 9 Mar 2012 22:15:30 +0000 (22:15 +0000)]
add yet more changes in pc34

12 years agotry to fix unblessed refs in PC34s
Dirk Koopman [Fri, 9 Mar 2012 22:13:29 +0000 (22:13 +0000)]
try to fix unblessed refs in PC34s

12 years agoMerge branch 'master' into anyevent
Dirk Koopman [Wed, 15 Feb 2012 15:47:15 +0000 (15:47 +0000)]
Merge branch 'master' into anyevent

Conflicts:
data/cty.dat
data/prefix_data.pl
perl/Version.pm

12 years agoupdate version
Dirk Koopman [Wed, 15 Feb 2012 15:44:26 +0000 (15:44 +0000)]
update version

12 years agoadd CTY-2202 prefix data
Dirk Koopman [Wed, 15 Feb 2012 15:43:50 +0000 (15:43 +0000)]
add CTY-2202 prefix data

and also fix mysql show tables

12 years agoadded support for subroutines in commands
Dirk Koopman [Sun, 29 Jan 2012 18:02:02 +0000 (18:02 +0000)]
added support for subroutines in commands

Traditionally, a command is a piece of perl that is a simple
in line lump of code e.g (blank.pl):

my ($self, $line) = @_;
my $lines = 1;
my $data = ' ';
my @f = split /\s+/, $line;
if (@f && $f[0] !~ /^\d+$/) {
$data = shift @f;
$data = $data x int(($self->width-1) / length($data));
$data .= substr $data, 0, int(($self->width-1) % length($data))
}
if (@f && $f[0] =~ /^\d+$/) {
$lines = shift @f;
$lines = 9 if $lines > 9;
$lines = 1 if $lines < 1;
}
my @out;
push @out, $data for (1..$lines);
return (1, @out);

It is now possible to have a 'handler' and any other code you like in
a command file, for instance (again blank.pl):

sub this {}

sub that {}

sub another {}

sub handle
{
my ($self, $line) = @_;
my $lines = 1;
my $data = ' ';
my @f = split /\s+/, $line;
if (@f && $f[0] !~ /^\d+$/) {
$data = shift @f;
$data = $data x int(($self->width-1) / length($data));
$data .= substr $data, 0, int(($self->width-1) % length($data))
}
if (@f && $f[0] =~ /^\d+$/) {
$lines = shift @f;
$lines = 9 if $lines > 9;
$lines = 1 if $lines < 1;
}
my @out;
push @out, $data for (1..$lines);
return (1, @out);
}

The 'sub handle' being the cue that distiguishes one form from the other.

The first form has the 'sub handle { <code> }' wrapped around it so, internally
they are treated the same. Each command is placed in its own DXCommandmode sub
package with a standard set of packages "use"d in front of it.

For now (at least) any functions you declare are just that. "$self" is a DXCommandmode
not a blessed reference to this command's full package name, you cannot use things like

$self->this() or $self->that()

they must be called as local functions.

This may change in the future.

12 years agoer.. actually generate the CTY-2201 prefixes
Dirk Koopman [Sun, 29 Jan 2012 10:41:58 +0000 (10:41 +0000)]
er.. actually generate the CTY-2201 prefixes

12 years agoadd CTY-2201 prefixes
Dirk Koopman [Sun, 29 Jan 2012 10:41:23 +0000 (10:41 +0000)]
add CTY-2201 prefixes

12 years agoadd CTY-2201
Dirk Koopman [Sun, 29 Jan 2012 10:39:58 +0000 (10:39 +0000)]
add CTY-2201

12 years agoput back some command debugging
Dirk Koopman [Tue, 17 Jan 2012 21:48:36 +0000 (21:48 +0000)]
put back some command debugging

to do with cached/uncached commands

12 years agovarious small speed up changes
Dirk Koopman [Thu, 5 Jan 2012 15:19:44 +0000 (15:19 +0000)]
various small speed up changes

12 years agofix export_user and create_sysop.pl
Dirk Koopman [Mon, 2 Jan 2012 20:23:01 +0000 (20:23 +0000)]
fix export_user and create_sysop.pl

12 years agomake DXUser use JSON::XS and Sqlite
Dirk Koopman [Mon, 2 Jan 2012 18:07:30 +0000 (18:07 +0000)]
make DXUser use JSON::XS and Sqlite

We are starting the removal of DB_File out of the product.

12 years agoadd by_dxcc to sh/dx
Dirk Koopman [Mon, 2 Jan 2012 18:06:40 +0000 (18:06 +0000)]
add by_dxcc to sh/dx

12 years agoadd logging to show/dxsql
Dirk Koopman [Tue, 27 Dec 2011 15:28:24 +0000 (15:28 +0000)]
add logging to show/dxsql

this is to find out whether anyone is using this command.

12 years agomake sh/contest async
Dirk Koopman [Tue, 27 Dec 2011 15:19:34 +0000 (15:19 +0000)]
make sh/contest async

12 years agonow with async sh/qrz!
Dirk Koopman [Tue, 27 Dec 2011 13:59:32 +0000 (13:59 +0000)]
now with async sh/qrz!

There is a new DXCommandmode::http_get() async http get routine
that is callable from a command such as sh/qrz.

12 years agofix error message on disconnect from peer
Dirk Koopman [Fri, 23 Dec 2011 13:06:31 +0000 (13:06 +0000)]
fix error message on disconnect from peer

12 years agofix disconnect from peer
Dirk Koopman [Fri, 23 Dec 2011 11:23:15 +0000 (11:23 +0000)]
fix disconnect from peer

12 years agonormalise peerhost on outgoing connects
Dirk Koopman [Thu, 22 Dec 2011 23:51:10 +0000 (23:51 +0000)]
normalise peerhost on outgoing connects

12 years agofix (remove) peerhost on connect error
Dirk Koopman [Thu, 22 Dec 2011 23:13:46 +0000 (23:13 +0000)]
fix (remove) peerhost on connect error

12 years agoupissue version
Dirk Koopman [Thu, 22 Dec 2011 23:03:06 +0000 (23:03 +0000)]
upissue version

12 years agofix echoing (?)
Dirk Koopman [Thu, 22 Dec 2011 23:02:35 +0000 (23:02 +0000)]
fix echoing (?)

12 years agofix console.pl so it ends gracefully
Dirk Koopman [Thu, 22 Dec 2011 22:42:15 +0000 (22:42 +0000)]
fix console.pl so it ends gracefully

12 years agoGot something basically working
Dirk Koopman [Thu, 22 Dec 2011 22:06:04 +0000 (22:06 +0000)]
Got something basically working

Need to sort out shutdown and related things

12 years agoWIP AnyEvent version
Dirk Koopman [Thu, 22 Dec 2011 20:41:45 +0000 (20:41 +0000)]
WIP AnyEvent version

12 years agostart of AnyEvent conversion 1.56
Dirk Koopman [Wed, 21 Dec 2011 22:25:16 +0000 (22:25 +0000)]
start of AnyEvent conversion

12 years agoadd CTY2118 changes
Dirk Koopman [Wed, 21 Dec 2011 13:35:57 +0000 (13:35 +0000)]
add CTY2118 changes

12 years agofix barf on encountering an empty lockfile
Dirk Koopman [Tue, 20 Dec 2011 19:47:28 +0000 (19:47 +0000)]
fix barf on encountering an empty lockfile

12 years agofix shutdown() error and add CTY2117
Dirk Koopman [Tue, 29 Nov 2011 18:50:47 +0000 (18:50 +0000)]
fix shutdown() error and add CTY2117

13 years agoadded cty2116 changes with fixed version
Dirk Koopman [Sat, 5 Nov 2011 17:20:43 +0000 (17:20 +0000)]
added cty2116 changes with fixed version

13 years agoMerge branch 'master' of ssh://server/scm/spider
Dirk Koopman [Fri, 4 Nov 2011 18:06:34 +0000 (18:06 +0000)]
Merge branch 'master' of ssh://server/scm/spider

Conflicts:
Changes
data/cty.dat
data/prefix_data.pl

13 years agoadd CTY2115 prefixes
Dirk Koopman [Fri, 4 Nov 2011 18:00:03 +0000 (18:00 +0000)]
add CTY2115 prefixes

13 years agoadd CTY2113 prefixes
Dirk Koopman [Tue, 25 Oct 2011 14:23:41 +0000 (15:23 +0100)]
add CTY2113 prefixes

13 years agochange internal 40m band areas
Dirk Koopman [Sun, 2 Oct 2011 12:18:15 +0000 (13:18 +0100)]
change internal 40m band areas

13 years agoadd CTY2110 changes
Dirk Koopman [Mon, 25 Jul 2011 20:14:04 +0000 (21:14 +0100)]
add CTY2110 changes

13 years agoadd ST0 to prefixes
Dirk Koopman [Sat, 23 Jul 2011 12:20:36 +0000 (13:20 +0100)]
add ST0 to prefixes

13 years agoadd CTY-2108 prefixes
Dirk Koopman [Tue, 24 May 2011 09:23:19 +0000 (10:23 +0100)]
add CTY-2108 prefixes

13 years agofix IPV4 handling on non-IPV6 capable hosts
Dirk Koopman [Mon, 4 Apr 2011 21:08:02 +0000 (22:08 +0100)]
fix IPV4 handling on non-IPV6 capable hosts

13 years agoitry to fix outgoing IPV6 connects
Dirk Koopman [Mon, 4 Apr 2011 20:54:43 +0000 (21:54 +0100)]
itry to fix outgoing IPV6 connects

13 years agoadd CTY-2106 prefixes
Dirk Koopman [Tue, 29 Mar 2011 18:51:52 +0000 (19:51 +0100)]
add CTY-2106 prefixes

13 years agoadd CTY-2105 prefixes
Dirk Koopman [Wed, 16 Mar 2011 10:36:52 +0000 (10:36 +0000)]
add CTY-2105 prefixes

13 years agooops forgot to use gcommit...
Dirk Koopman [Fri, 11 Mar 2011 17:16:47 +0000 (17:16 +0000)]
oops forgot to use gcommit...

13 years agoadd CTY-2104 data
Dirk Koopman [Fri, 11 Mar 2011 08:47:13 +0000 (08:47 +0000)]
add CTY-2104 data

13 years agoadd CTY-2103 prefixes
Dirk Koopman [Tue, 1 Mar 2011 21:24:50 +0000 (21:24 +0000)]
add CTY-2103 prefixes

14 years agoincrease PC92 A/D slug time to 5 minutes
Dirk Koopman [Sun, 31 Oct 2010 16:26:30 +0000 (16:26 +0000)]
increase PC92 A/D slug time to 5 minutes

14 years agoallow debug to track cluster config
Dirk Koopman [Fri, 29 Oct 2010 16:02:41 +0000 (17:02 +0100)]
allow debug to track cluster config

This is for Jim AD1C really. But "set/debug cluster" will put out
lines like:

CLUSTER: node N0VD-7 added
CLUSTER: user AD6KH added
and
CLUSTER: user AD6KH deleted
CLUSTER: node N0VD-7 deleted

and represent this node's view of which nodes and users are
available on the cluster as a whole.

14 years agofix chat problem introdcued last update
Dirk Koopman [Wed, 27 Oct 2010 17:02:15 +0000 (18:02 +0100)]
fix chat problem introdcued last update

14 years agoadd CTY-2009 prefixes (from cty_wt.dat)
Dirk Koopman [Mon, 25 Oct 2010 18:52:41 +0000 (19:52 +0100)]
add CTY-2009 prefixes (from cty_wt.dat)

14 years agoadd CTY-2008 from cty_wt.dat, stop chat on pc12
Dirk Koopman [Mon, 25 Oct 2010 18:46:02 +0000 (19:46 +0100)]
add CTY-2008 from cty_wt.dat, stop chat on pc12

Try using cty_wt.dat instead of cty.dat as it is more complete.

Prevent PC93 chat being downgraded to PC12.

14 years agoDrop PC12 from pc9x nodes, increase ann dup age.
Dirk Koopman [Mon, 25 Oct 2010 09:42:08 +0000 (10:42 +0100)]
Drop PC12 from pc9x nodes, increase ann dup age.

Assume that PC12s coming from pc9x nodes are coming via some other
route and have been converted.

Increase the default announce dup age from 5 to 18 hrs.

14 years agofix dxqsl_export titling in help
Dirk Koopman [Sun, 24 Oct 2010 09:34:44 +0000 (10:34 +0100)]
fix dxqsl_export titling in help

14 years agoadded dbexport & dxqsl_import/export cmds
Dirk Koopman [Sat, 23 Oct 2010 22:39:19 +0000 (23:39 +0100)]
added dbexport & dxqsl_import/export cmds

14 years agoadd cty-2007
Dirk Koopman [Fri, 15 Oct 2010 19:42:58 +0000 (20:42 +0100)]
add cty-2007

14 years agoup issue version...
Dirk Koopman [Mon, 4 Oct 2010 23:38:41 +0000 (00:38 +0100)]
up issue version...

14 years agoadded CTY-2006
Dirk Koopman [Mon, 4 Oct 2010 20:45:47 +0000 (21:45 +0100)]
added CTY-2006

14 years agoallow 4 letter callsigns, add git id sh/version
Dirk Koopman [Thu, 17 Jun 2010 12:26:29 +0000 (13:26 +0100)]
allow 4 letter callsigns, add git id sh/version

14 years agoadd ip addresses to dxspots emitted as PC61
Dirk Koopman [Thu, 17 Jun 2010 10:45:21 +0000 (11:45 +0100)]
add ip addresses to dxspots emitted as PC61

14 years agoincrease PC41 dupe time, add CTY-2004 data
Dirk Koopman [Wed, 16 Jun 2010 16:14:58 +0000 (17:14 +0100)]
increase PC41 dupe time, add CTY-2004 data

14 years agoadd start of DB_File -> SQLite changes
Dirk Koopman [Fri, 14 May 2010 23:15:25 +0000 (00:15 +0100)]
add start of DB_File -> SQLite changes

14 years agofix console.pl for Windows better
Dirk Koopman [Thu, 8 Apr 2010 12:29:13 +0000 (13:29 +0100)]
fix console.pl for Windows better

so that it continues to work OK on Linux.

14 years agomake priv 0 stick on nodes if set
Dirk Koopman [Thu, 18 Mar 2010 20:22:19 +0000 (20:22 +0000)]
make priv 0 stick on nodes if set

14 years agoadd setting csort to to_connected
Dirk Koopman [Sat, 13 Mar 2010 20:42:00 +0000 (20:42 +0000)]
add setting csort to to_connected

14 years agoadd more fixes for peerhosts
Dirk Koopman [Sat, 13 Mar 2010 19:41:54 +0000 (19:41 +0000)]
add more fixes for peerhosts

14 years agotry to fix crashes on AGW with peerhost.
Dirk Koopman [Sat, 13 Mar 2010 15:55:04 +0000 (15:55 +0000)]
try to fix crashes on AGW with peerhost.

14 years agoadd CTY-2002 changes
Dirk Koopman [Wed, 3 Mar 2010 15:10:13 +0000 (15:10 +0000)]
add CTY-2002 changes

14 years agoMerge commit '64461bf14f8ce1a'
Dirk Koopman [Wed, 3 Mar 2010 14:50:44 +0000 (14:50 +0000)]
Merge commit '64461bf14f8ce1a'

merge in 500khz changes

Conflicts:

Changes
perl/Version.pm

14 years agoMerge branch 'ip_address'
Dirk Koopman [Wed, 3 Mar 2010 14:47:15 +0000 (14:47 +0000)]
Merge branch 'ip_address'

Add ip addresses to PC92 A records

Conflicts:

perl/Version.pm

14 years agoAdd clear/cmd_cache command to git
dirk [Fri, 26 Feb 2010 18:28:43 +0000 (18:28 +0000)]
Add clear/cmd_cache command to git

15 years agoadd 500khz band and CTY-1923 prefixes
Dirk Koopman [Fri, 27 Nov 2009 12:13:33 +0000 (12:13 +0000)]
add 500khz band and CTY-1923 prefixes

15 years agoadd logging of PC92A ip addresses ip_address
Dirk Koopman [Thu, 26 Nov 2009 12:58:28 +0000 (12:58 +0000)]
add logging of PC92A ip addresses

15 years agofix IP addresses on multiple entries in PC92 A
Dirk Koopman [Thu, 26 Nov 2009 11:22:16 +0000 (11:22 +0000)]
fix IP addresses on multiple entries in PC92 A

15 years agoadd IP Address to PC92 A record
Dirk Koopman [Thu, 26 Nov 2009 11:10:33 +0000 (11:10 +0000)]
add IP Address to PC92 A record

Start some extra auditing.

15 years agoiadd CTY-1922 changes
Dirk Koopman [Wed, 25 Nov 2009 17:21:34 +0000 (17:21 +0000)]
iadd CTY-1922 changes

15 years agoadd xml version of sh/qrz
Dirk Koopman [Wed, 25 Nov 2009 17:15:57 +0000 (17:15 +0000)]
add xml version of sh/qrz

you will need a subscription to the xml service. See:
http://www.qrz.com/XML/index.html for more info.

Disable the incomplete Encoding of textual data. Work out what to do after
more agreement with people.

15 years agoadd version
Dirk Koopman [Sat, 14 Nov 2009 11:47:02 +0000 (11:47 +0000)]
add version

15 years agoadd CTY-1921 prefixes
Dirk Koopman [Sat, 14 Nov 2009 11:46:13 +0000 (11:46 +0000)]
add CTY-1921 prefixes

15 years agofix ssid handling on (un)set/badnode.pl
Dirk Koopman [Sat, 14 Nov 2009 11:38:43 +0000 (11:38 +0000)]
fix ssid handling on (un)set/badnode.pl

15 years agolimit sh/newc et al to 10 levels
Dirk Koopman [Fri, 28 Aug 2009 14:23:27 +0000 (15:23 +0100)]
limit sh/newc et al to 10 levels

One can change this with a set/var $Route::maxlevel = 10

15 years agoadd CTY-1912 changes
Dirk Koopman [Wed, 8 Jul 2009 07:29:41 +0000 (08:29 +0100)]
add CTY-1912 changes

15 years agoadd CTY-1911 prefixes
Dirk Koopman [Fri, 26 Jun 2009 20:08:21 +0000 (21:08 +0100)]
add CTY-1911 prefixes

15 years agoAdd CTY-1910 cty .dat
Dirk Koopman [Mon, 15 Jun 2009 10:53:28 +0000 (11:53 +0100)]
Add CTY-1910 cty .dat

15 years agoadd CTY-1909 prefixes
Dirk Koopman [Thu, 4 Jun 2009 20:04:22 +0000 (21:04 +0100)]
add CTY-1909 prefixes

15 years agofix warnings in debug.c in the C Client
Dirk Koopman [Wed, 3 Jun 2009 21:01:21 +0000 (22:01 +0100)]
fix warnings in debug.c in the C Client

15 years agoadd CTY-1908 prefix data
Dirk Koopman [Tue, 2 Jun 2009 05:12:44 +0000 (06:12 +0100)]
add CTY-1908 prefix data

15 years agoadded CTY-1907 prefixes
Dirk Koopman [Fri, 29 May 2009 12:26:53 +0000 (13:26 +0100)]
added CTY-1907 prefixes

15 years agoadd CTY-1905 prefixes
Dirk Koopman [Tue, 19 May 2009 19:47:31 +0000 (20:47 +0100)]
add CTY-1905 prefixes

15 years agofix issue.pl to use "new style" git commands
Dirk Koopman [Fri, 15 May 2009 22:15:25 +0000 (23:15 +0100)]
fix issue.pl to use "new style" git commands

15 years agoadd CTY1904 prefixes
Dirk Koopman [Fri, 15 May 2009 20:50:12 +0000 (21:50 +0100)]
add CTY1904 prefixes

15 years agoadd new wpxloc.raw + cty-1903 data
Dirk Koopman [Wed, 4 Mar 2009 13:33:26 +0000 (13:33 +0000)]
add new wpxloc.raw + cty-1903 data

15 years agoadd Geo::TAF changes from Robin Johnson + CTY1902
Dirk Koopman [Thu, 26 Feb 2009 11:11:53 +0000 (11:11 +0000)]
add Geo::TAF changes from Robin Johnson + CTY1902

15 years agoadd missing show/motd command
Dirk Koopman [Mon, 29 Dec 2008 22:00:08 +0000 (22:00 +0000)]
add missing show/motd command

15 years agoadd show/motd command
Dirk Koopman [Mon, 29 Dec 2008 18:23:48 +0000 (18:23 +0000)]
add show/motd command

and also CTY-1817 prefix changes

15 years agomake it more difficult to have $mycall & $myalias the same
Dirk Koopman [Sun, 28 Dec 2008 23:30:18 +0000 (23:30 +0000)]
make it more difficult to have $mycall & $myalias the same

16 years agofix sh/425 to point to new server
Dirk Koopman [Mon, 17 Nov 2008 00:09:29 +0000 (00:09 +0000)]
fix sh/425 to point to new server

unfortunately this is http/1.1 only which causes problems with
detecting the EOF ('cos there ain't one). So it is slower than it was.

Add CTY-1814 prefixes 'Kingman Reef'

16 years agoadded CTY-1811 prefixes
Dirk Koopman [Tue, 21 Oct 2008 18:27:19 +0000 (19:27 +0100)]
added CTY-1811 prefixes

16 years agoset $main::maxconnect back to 0 as default
Dirk Koopman [Sat, 4 Oct 2008 12:35:36 +0000 (13:35 +0100)]
set $main::maxconnect back to 0 as default

16 years agomake sure the maxconnect check is on incoming only
Dirk Koopman [Thu, 2 Oct 2008 22:03:15 +0000 (23:03 +0100)]
make sure the maxconnect check is on incoming only

16 years agoAdd set/maxconnect command
Dirk Koopman [Thu, 2 Oct 2008 09:13:18 +0000 (10:13 +0100)]
Add set/maxconnect command