2001-10-10  Jonas Oberg  <jonas@gnu.org>

	* src/whois.c (whois_query): Fix off-by-one bug when calling strncpy

2001-10-01  Jonas Oberg  <jonas@gnu.org>

	* src/http.c (http_query): Fix to make POST work.

2001-09-30  peter karlsson <peter@softwolves.pp.se>

	* example/jwhois.conf: Added .biz and .info data.

2001-09-26  Jonas Oberg  <jonas@gnu.org>

	* src/jwhois.c (jwhois_query): Preserve old query string when
	being redirected through multiple servers.
	(main): Make queries -after- having checked the cache.

2001-09-08  peter karlsson <peter@softwolves.pp.se>

	* po/jwhois.pot, sv.po: Updated translation files.

2001-09-07  Jonas Oberg  <jonas@gnu.org>

	* doc/jwhois.1, jwhois.texi: Updated to version 3.0

2001-09-06  Jonas Oberg  <jonas@gnu.org>

	* src/jwhois.c (jwhois_query): Added generic function to perform
	queries.
	(main): Changed to use jwhois_query

	* src/whois.c (whois_query): Changed to use jwhois_query

2001-09-06  peter karlsson <peter@softwolves.pp.se>

	* src/http.c, rwhois.c, utils.c, whois.c: Gettext cleanups.
	* po/jwhois.pot, sv.po: Updated translation files.

2001-09-06  Jonas Oberg  <jonas@gnu.org>

	* src/rwhois.c (rwhois_query_internal): Rwhois queries now follows
	referrals.

2001-09-02  peter karlsson <peter@softwolves.pp.se>

	* src/http.c, example/jwhois.conf: Changed name of the form element
	  specifier from html-element to form-element.

2001-09-01  Jonas Oberg  <jonas@gnu.org>

	* src/lookup.c (find_regex): Fixed priority problem when mixing
	old style and new style rules.

	* src/jconfig.c (jconfig_parse_file): Changed domain separator
	to '|' instead of '.'.

2001-08-29  Jonas Oberg  <jonas@gnu.org>

	* src/jconfig.c (jconfig_getone): Make sure that it searches the
	entire configuration file for options.

2001-08-28  peter karlsson <peter@softwolves.pp.se>

	* src/http.c, include/http.h: Added support for sending HTTP
	  queries. Requires a browser capable of sending text data to
	  stdout, e.g Lynx.
	* example/jwhois.conf: Query whois.co.za and www.nic-se.se via
	  HTTP.
	* po/POTFILES.in, jwhois.pot, ru.po, sv.po: Updated gettext files.

2001-08-27  peter karlsson <peter@softwolves.pp.se>

	* example/jwhois.conf: Rewrite whois.internic.net default domain
          queries
	  (Lee Maguire, Debian bug #84161)

2001-08-27  Jonas Oberg  <jonas@gnu.org>

	* Added support for having query-format on every rule instead
	of globally for every host. Also introduced new rule format in
	jwhois.conf consisting of a block of options for each rule instead
	of just a hostname.

2001-08-08  peter karlsson <peter@softwolves.pp.se>

	* example/jwhois.conf: Fixed 164.0.0.0/8 mapping, .hk and .cn lookup,
	  added mapping for .pl
	  (Lee Maguire, Debian bugs #106245, #106255, #107260, #107353)

2001-07-23  Jonas Oberg  <jonas@gnu.org>

	* example/jwhois.conf: Changed .hk (Patrick Liu)

2001-07-19  peter karlsson <peter@softwolves.pp.se>

  	* example/jwhois.conf: Added mappings for 200.128/9 to cidr-blocks
	  (Lee Maguire, Debian bug#105807)

2001-07-18  Jonas Oberg  <jonas@gnu.org>

	* src/whois.c (whois_query): Fixed a problem with whois.domaininfo.com
	and whois.godaddy.com which returned erroneous results when the whole
	query (domain plus terminating "\r\n") did not arrive in the same
	IP packet.

2001-07-01  Jonas Oberg  <jonas@gnu.org>

	* src/jwhois.c (main): Changed to call whois_query() instead of
	doing lookup.

	* src/whois.c: Added (with whois_query taken from jwhois.c and
	whois_read from utils.c).
	
	* src/rwhois.c: Added.

2001-06-30  Jonas Oberg  <jonas@gnu.org>

	* src/lookup.c (lookup_redirect): Changed to lookup whois_redirect in
	server-options block instead of content-redirect block. Removes 128
	redirection matches limit.
	(find_regex_all): Removed.
	(lookup_query_format): Changed to lookup query-format in
	server-options block.

	* src/utils.c (get_whois_server_domain_path, get_whois_server_option): 
	Added functions to lookup information in the server-options block.

	* src/lookup.c (lookup_whois_servers): Added function to search the
	whois-servers.net service, or other similar such services.
	(lookup_query_format): Added feature to mangle query string before
	sending to target whois server.

2001-06-29  Jonas Oberg  <jonas@gnu.org>

	* src/lookup.c (find_regex): Added translate map to regex pattern
	buffer to make matching case insensitive.

	* src/utils.c (add_text_to_buffer): Added utility function.
	(create_string): Added utility function.
	(fdread): Changed so that origin hostname is recorded in cache.

2001-06-27  Jonas Oberg  <jonas@gnu.org>

	* src/init.c (parse_args) src/lookup.c (lookup_redirec): Added
	display-redirections option that displays output from all
	redirections instead of hiding it.

2001-05-25  peter karlsson <peter@softwolves.pp.se>

        * AUTHORS: Changed my status

2001-05-16  peter karlsson <peter@softwolves.pp.se>

	* example/jwhois.conf: Added mappings for {80,81,217,218}/8 to
	  cidr-blocks (Lee Maguire, Debian bug#97699)

2001-03-27  Jonas Oberg  <jonas@gnu.org>

	* src/jwhois.c (main): Fix so that specifying a host doesn't imply forcing a query

2001-03-18  peter karlsson <peter@softwolves.pp.se>

  	* example/jwhois.conf: Fix syntax error.
        * po/sv.po: Improve translation.

2001-02-21  peter karlsson <peter@softwolves.pp.se>

  	* example/jwhois.conf: Change .za entry (whois.co.za only provides
	a web interface) (Lee Maguire, Debian bug#86167)

2001-02-19  peter karlsson <peter@softwolves.pp.se>

  	* example/jwhois.conf: Changed .cz, .si, .su, and added CZ handle
	(Lee Maguire, Debian bug#86563)

2001-02-18  peter karlsson <peter@softwolves.pp.se>

  	* example/jwhois.conf: Added .net.au, .ng, .ve, and handles AU,
	CKNIC, IDNIC, KG, NICAT (Lee Maguire, Debian bug#86167, #86245)

	* doc/jwhois.1: Updated to list RIPE exentions (Debian bug#84180)

2001-02-15  peter karlsson <peter@softwolves.pp.se>

	* po/sv.po: Updated with comments from sv@li.org (Gran Uddeborg).

2001-02-13  peter karlsson <peter@softwolves.pp.se>

	* example/jwhois.conf: Changed .br, .hu, .ie, .ro. Added .je, .kg
	(Lee Maguire)

	* po/sv.po: Updated (again).

	* src/jwhois.c: If creating an IPv6 socket fails, and there were
	more DNS hits, try next entry in the hope that it is IPv4.

2001-02-12  peter karlsson <peter@softwolves.pp.se>

	* example/jwhois.conf: Changed .de, .hm, .il, .lu. Added .do, .fj,
	.gg, .gm (Lee Maguire)

	* po/sv.po: Updated.

2001-01-28  Jonas Oberg  <jonas@gnu.org>

	* example/jwhois.conf: Added .la, changed .dk (Kandra Nygrds)
	Changed .nz (Lee Maguire)

	* src/init.c (parse_args): Added feature to disable content redirection
	through command line option (requested by Kandra Nygrds)
	* src/jwhois.c (main): Set locale to LC_ALL so translations work
	(Peter Karlsson)

2001-01-11  Jonas Oberg  <jonas@gnu.org>

	* example/jwhois.conf: Added .bv, .ck, .fm, .id, .nz, .pw, .sj, .ws
	Removed .md, .pl and changed .ca (Dan Fandrich)

2001-01-09  Jonas Oberg  <jonas@gnu.org>

	* Released 2.4.2
	
	* src/lookup.c (find_cidr): Fix for big endian machines

	* src/jwhois.c (main): Better handling of cache errors (Pl Lberg)

	* example/jwhois.conf: Added .in, .nu (Kandra Nygrds),
	.hk (Patrick Liu), .as (Pl Lberg), .gov.uk (Michael Stevens),
	.at (Alexander Lehmann)

	* src/lookup.c (find_cidr): Match n bits in an /n block instead of
	32-n (Tom Hughes, Emil LAURENTIU)

	* po/ru.po: Added (from Dmitry G. Mastrukov)
	
Tue Jan 25 16:10:48 2000  Jonas Oberg  <jonas@coyote.org>

	* Released 2.4.1
	
	* example/jwhois.conf: Added more CIDR blocks
	Changed registry for .no and added -NORID handles (from
	Pl Lberg)

	* configure.in: Added generation of jwhois.spec

	* Makefile.am (EXTRA_DIST): Added distribution of jwhois.spec

	* jwhois.spec.in: Added (from Ryan Weaver)

Sat Jan 22 09:20:14 2000  Jonas Oberg  <jonas@coyote.org>

	* src/jwhois.c (make_connect): Output [host]\n -before- doing a
	resolver query (speeds up output so the user doesn't think it's
	hung)

	* src/utils.c (fdread): Check return value from read correctly

	* example/jwhois.conf: corrected \. to be \\.

Sun Dec 12 03:58:23 1999  Jonas Oberg  <jonas@coyote.org>

	* Released 2.4
	
	* src/jwhois.c (split_host_from_query): Added
	(main): Added possibility to make 'foo@bar.org' queries

	* example/jwhois.conf: Added lots of data from Oren Tirosh

	* configure.in: Added check for malloc.h

	* src/lookup.c: Added include of malloc.h

Thu Dec  2 19:28:35 1999  Jonas Oberg  <jonas@coyote.org>

	* src/init.c (help_version): Added this to replace version and help

	* example/jwhois.conf: Changed .de to whois.ripe.net

	* src/jconfig.c (jconfig_parse_file): Fixed minor bugg in strncpy()

Wed Dec 02 10:46:55 1999  Peter Karlsson <peter@softwolevs.pp.se>

        * src/lookup.c: Fixed a cosmetic problem with the routine that
                        prints the address in a redirection.

Wed Dec 01 23:59:59 1999  Peter Karlsson <peter@softwolves.pp.se>

        * example/jwhois.conf: Added an entry for .no

Wed Dec  1 20:23:06 1999  Jonas Oberg  <jonas@coyote.org>

	* Bumped to 2.3.1

	* example/jwhois.conf: Fixed regexp for struct cidr-block

	* src/lookup.c (find_cidr): Fixed bug (this function now works)

Wed Dec 01 18:44:00 1999  Peter Karlsson  <peter@softwolves.pp.se>

        * po/sv.po: Added Swedish translation

Wed Dec 01 16:18:54 1999  Joans Oberg  <jonas@coyote.org>

        * src/utils.c (readfd): Fixed nasty bug (didn't \0 terminate)

	* Makefile.am: Added debian/ and macros/ to EXTRA_DISTS

	* example/jwhois.conf: Fixed content-redirect to look the way it
	should

Sun Nov 28 20:57:34 1999  Jonas Oberg  <jonas@coyote.org>

	* Bumped to 2.3

	* doc/jwhois.texi: Rewrote parts for new release

	* src/init.c (parse_args): Fixed output of --version and --help

Sat Nov 27 14:39:11 1999  Jonas Oberg  <jonas@coyote.org>

	* Went through and added i18n support

	* src/jconfig.c (jconfig_parse_file): Added (replaces lexer.l)
	Note: Must escape groups with \\ instead of \ now.

	* src/init.c (parse_args): Removed datadir search of jwhois.conf

Thu Nov 25 13:33:47 1999  Jonas Oberg  <jonas@coyote.org>

	* src/jwhois.c (main): Fixed bug when creating qstring
	(main): Fixed bug when outputing qstring instead of host

Tue Nov 23 14:03:28 1999  Jonas Oberg  <jonas@coyote.org>

	* configure.in: Check for db1/ndbm.h

	* src/cache.c: Fallback include of db1/ndbm.h

Mon Nov 22 19:31:06 1999  Jonas Oberg  <jonas@coyote.org>

	* src/dns.c: Added

	* src/cache.c: Rewritten to fit new structure

	* src/jwhois.c (main): Changed to use new structure

	* src/init.c: Added

	* src/jwhois.c (make_connect): Added

	* src/lookup.c: Added

	* src/utils.c (fdread): Added

Sat Nov 20 01:20:47 1999  Jonas Oberg  <jonas@coyote.org>

	* src/gai_strerror.c (EAI_*: Added definitions

	* src/jwhois.c (query_host): Changed to use cache functions
	(main): Added extra options for cache functionality control

	* src/cache.c (cache_store): Changed to support the content-redirect
	block from the configuration file to redirect searches to other hosts.

	* src/cache.c: Added

	* doc/jwhois.texi (Cache Functionality): Added section
	explaining how cache works.

	* example/jwhois.conf: Added content-redirect block and some
	extended information on cache configuration options.

	* configure.in: Added options for cache configuration
	Added warning and disabling of cache if no dbm libraries found

	* README: Added information from INSTALL and info on cache

1999-11-11  Jonas Oberg  <jonas@poledra.coyote.org>

	* configure.in: Added tentative checks for gdbm and ndbm.

Wed Oct 27 16:40:21 1999  Jonas Oberg  <jonas@coyote.org>

	* src/jwhois.c (main): Added --loop-args as recommended by RIPE

	* configure.in, src/gai_strerror.c: Added internal gai_strerror
	for systems lacking this.

Sun Oct 24 15:16:29 1999  Jonas Oberg  <jonas@coyote.org>

	* src/jwhois.c (query_host): Bugfix for little-endian machines
	(reported by phil@psidev.net)

Tue Oct 23 23:31:34 1999  Jonas Oberg  <jonas@coyote.org>

	* Released 2.2

	* Cleanup of example jwhois.conf

Tue Oct  5 16:42:08 1999  Jonas Oberg  <jonas@coyote.org>

	* Released 2.2pre4

	* src/jwhois.c (query_host): Now checking whois port against
	/etc/services et al if not using getaddrinfo()

	* doc/jwhois.texi: Added direntry

1999-10-04  Jonas Oberg  <jonas@coyote.org>

	* Released 2.2pre3

1999-10-03  Jonas Oberg  <jor@circuitous-route.coyote.org>

	* src/jwhois.c (query_host): Converted to getaddrinfo and
	added conditionals in case getaddrinfo should be missing
	(revert back to gethostbyname et al)
	(lookup_host): Changed separator between port number and
	IP/host to space from colon to maintain a decent compatibility with
	IPv6 hosts.

1999-10-02  Jonas Oberg  <jor@circuitous-route.coyote.org>

	* src/string.c (strncasecmp): Added function

	* src/jconfig.c (jconfig_getone): Added function

	* src/jwhois.c (main,find_cidr,find_regex): Finalized structure of
	configuration file

	* configure.in: Fixed so that libnsl is linked only if gethostbyname
	is in it and not when gethostbyname is in libc.

	* Released version 2.2pre0

	* example/jwhois.conf: Added initial support for IP CIDR block

	* src/jwhois.c (find_ip): Added support for IP CIDR blocks

	* src/getopt.c, src/getopt1.c: Added conditionals

	* configure.in: Added check for getopt_long, regexec and removed
	linking against libfl,libl

	* src/lexer.l: Added %option noyywrap

Sun Sep 26 11:15:40 1999  Jonas Oberg  <jonas@coyote.org>

	* Released version 2.1
	
	* configure.in: Added check for strcasecmp

	* src/string.c (strcasecmp): Added function.

	* src/jconfig.c (jconfig_add): Added support for line numbers.
	(jconfig_next): Now handles comparations correctly.

	* src/lexer.l: Counting line numbers for each option.

	* src/jwhois.c (main): Changed default location of configuration
	file to SYSCONFDIR.

	* doc/jwhois.texi (RIPE Extensions): Added information on RIPE
	extensions and how to use them.

	* example/jwhois.conf: Added RIPE, ARIN and APNIC handles

Thu Aug 19 16:21:07 1999  Jonas Oberg  <jonas@coyote.org>

	* src/jwhois.c (help, query_host, make_query, main): added support
	for specifying port numbers

Thu Jul 29 13:57:56 1999  Jonas Oberg  <jonas@coyote.org>

	* example/jwhois.conf: replaced whois.dk.net with joshua.ripe.net
	after being informed by Klaus Alexander Seistrup <kas@magnetic-ink.dk>
	and verified this with <tech@dk-hostmaster.dk>

Wed Jul 28 21:22:07 1999  Jonas Oberg  <jonas@coyote.org>

	* Released version 2.0

