2003-02-12  Mats Peterson  <matsp888@yahoo.com>

	* Version 0.5.21

	* tknap.in (napRecurse): Now accepts symbolic links (provided
	they point to regular files).
	Error messages while getting MP3 info now goes to the info
	window instead of popping up a message box.

	* napLib/mp3info.c (MP3InfoCmd): Now using
	Tcl_UtfToExternalDString() to handle international characters
	in filenames.

	* AUTHORS, README, napchat.tcl.in, tknap.in: Updated the
	e-mail address.

2002-02-18  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.20

	* sample.tknaprc: New variables nap(monofont), nap(propfont)
	and nap(labelfont) added for customization of the fonts.

	* Version 0.5.19

	* tknap.in (napConnect): Now showing the "Connecting to"
	message box the first time only, on subsequent reconnects the
	connecting message will be displayed in the info window.

2002-02-17  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.18

	* tknap.in: Added auto-reconnect.  See sample.tknaprc for new
	variables.
	(napReconnect): New function.

	* tknap.in (napDownload): Now using the standard Tk file
	selector instead of the one in mpTk.
	
	* tknap.in: Changed the class of all toplevel windows to
	"Tknap".
	* napchat.tcl.in: Likewise.

	* tknap.in (napReadMP3Data): Now closing the socket when the
	total number of bytes has been read.  There seems to be no
	guarantee that the peer will close its socket.
	
2000-09-22  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.17

	* tknap.in: Optimized the search/browse response handling.

2000-09-20  Mats Peterson  <mats_peterson@swipnet.se>

	* tknap.in (napShowOnline): Added a 'Browse' button.

	* napchat.tcl.in (napShowChannels): Added long lost titles to
	the channel list window.

	* tknap.in: Now sorting the ban list, online list and upload
	list in case-insensitive order.
	* napchat.tcl.in: Now sorting the channel list and channel
	window user list in case-insensitive order.

2000-09-18  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.16

2000-09-17  Mats Peterson  <mats_peterson@swipnet.se>

	* tknap.in (napShowResults): The parent directory of a file is
 	now always displayed, regardless of the value of
 	'nap(showpath)'.

	* napchat.tcl.in: Now using a monospaced font in chat
	windows.

2000-09-12  Mats Peterson  <mats_peterson@swipnet.se>

	* tknap.in: Added resume of downloads.

	* Various fixes.

2000-08-30  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.15

	* tknap.in (napProcessCmd): Removed the 'oplist' command.  It
	is no longer supported by the opennap protocol.
	The list of channel operators is now retrieved by using the
	'op' command without parameters.
	
2000-08-11  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.14

	* tknap.in (napShowWhois): The fields for total uploads and
	total downloads were mixed up.  Fixed.

2000-08-06  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.13

	* tknap.in (napConnect): Cleaned up the login process; the
 	procedure now simply returns after sending the registration or
 	login message instead of waiting for an acknowledge from the
 	server.  It completes the registration/login process at a
 	later stage, upon receipt of the acknowledge.

	* tknap.in (napRecurse): Now using 'find' for the scanning of
 	shared directories.  There were problems with directory links
 	pointing to their own directory, effectively causing infinite
 	loops.  Since 'find' doesn't follow xymbolic links by default,
	it seems to be the best choice for this purpose.

	* Small change in mpTk.  See mpTk/ChangeLog for details.
	
2000-07-29  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.12

	* tknap.in (napDoShowStats): Now converting the bytes value to
 	a float instead of unsigned long when calculating the
 	gigabytes value.  An unsigned long is obviously not enough in
 	cases where the server has many files.

	* Version 0.5.11

	* tknap.in (napDoShowStats): Fix to handle additional fields
 	in the (opennap) server status response without causing
 	erroneous display of the ones used in the program.

2000-07-27  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.10

	* tknap.in (napShowWhois): Added a "guard" against negative
 	time values in whois responses.  This happens quite often on
	the opennap network for some reason.

	* napchat.tcl.in (napChannelWindow): Improved the resizing
 	behaviour of the window somewhat.
	The channel is now parted properly upon receipt of a
 	'WM_DELETE_WINDOW' message (such as when closing the window
 	with the window manager instead of the 'Part' button).

2000-07-13  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.9

	* tknap.in (napDownload2): It seems that the "original"
 	napster protocol now has a version number or similar tacked
 	onto the end of the search response strings.  TkNap now
 	handles this properly.  Thanks to Carl J. Kendall Jr. for
 	notifying me of this.  I am mostly on the opennap servers
 	myself, so I didn't notice it until now.

	* Version 0.5.8

	* tknap.in (napShowResults): Fixed a typo in the search
 	string; "AT LEAsT" should be "AT LEAST".  Doesn't seem to
	affect the functionality though.

2000-06-29  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.7

	* Small fix in mpTk.  See mpTk/ChangeLog for details.

2000-06-27  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.6

	* napLib/mp3info.c (MP3InfoCmd): Some further clean-up of the
	ID3v2 header size calculation.

	* Version 0.5.5

	* napLib/mp3info.c (MP3InfoCmd): Fixed a bug in the
	calculation of the ID3v2 header size.

2000-06-26  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.4

	* README: Updated to reflect the name changes.

	* napchat.tcl.in (napChannelWindow): Changed 'ChOp' and
	'DeChOp' to 'Op' and 'DeOp'.
	(napMenuCmd): Changed 'chop' and 'dechop' to 'op' and 'deop'.

	* tknap.in (napProcessCmd): Changed 'chop', 'dechop' and
	'choplist' to 'op', 'deop' and 'oplist' respectively.

	* Minor fix in mpTk.  See mpTk/ChangeLog for changes.

2000-06-25  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.3
	
	* tknap.in (napProcessCmd): 'cloak' command added.

	* tknap.in (napProcessCmd): Added 'link', 'unlink', 'killserv'
	and 'remserv' server management commands (opennap-specific).

2000-06-24  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5.2

	* napchat.tcl.in (napChannelWindow): Added keyboard shortcuts
 	for 'chop' and 'dechop' in the user list menu.  Should have
 	been done in 0.5.1.

	* Version 0.5.1

	* README: Added descriptions for the 'chop', 'dechop' and
 	'choplist' commands.

	* napchat.tcl.in (napChannelWindow): 'ChOp' and 'DeChOp' added
 	to the user list pop-up menu.
	(napMenuCmd): 'chop' and 'dechop' added.

	* tknap.in (napProcessCmd): New opennap-specific commands
	'chop', 'dechop' and 'choplist' added.

2000-06-20  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.5

	* README: Updated.

	* tknap.in (napShowWhois): Changed the regexp to properly
	handle channel names containing double quotes.
	
	* napchat.tcl.in (napS2B): New procedure.  Maps '%' to '%%' to
 	make channel names with a percent sign work in bindings.
  	Changed every occurrence of a channel name variable in
 	bindings to 'napS2B' with the channel name as parameter.
	
	* napchat.tcl.in: Channel names or user names containing a '.'
 	would cause invalid Tk window names.  Fixed.
	(napS2W): New procedure, maps '.' to \000.
	
	* napchat.tcl.in (napPrivWindow): Added a pop-up menu like the
	one in channel window user lists.
	(napUserMenu): Changed to a more generic 'napPopupMenu' that
	is used by private message windows as well.
	
	* napLib/Makefile.am: Added init.tcl and pkgIndex.tcl to
	'naplib_SOURCES', 'BUILT_SOURCES' and 'CLEANFILES'.
	
	* Makefile.am: Added tknap and napchat.tcl to 'CLEANFILES'.
		
	* napchat.tcl.in (napShowChannels): Removed the '-index 0'
 	option when sorting the channel list, since it would in some
	cases cause an error.

	* tknap.in (napAdjLen): The channel name extraction in the
 	'clist' branch would in some cases cause an error when the
 	topic contained double quotes.  'napListMap' is now replaced
 	with 'split' at this particular place.
	
	* Version 0.4.56

	* Minor change in mpTk.  See mpTk/ChangeLog.

2000-06-19  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.55

	* tknap.in (napProcessCmd): The command parsing would in some
	cases produce an uncaught error if a "/" with a space or
 	hyphen following it was entered.  Fixed.

	* Version 0.4.54

	* tknap.in (napDisconnect): Now destroying most windows upon
	disconnect.
	
	* Version 0.4.53

	* napchat.tcl.in (napMenuCmd): Added 'msg' branch.
	(napChannelWindow): Added 'Message' (private message) to the
 	user list pop-up menu.

	* Version 0.4.52

	* napchat.tcl.in (napAddText): New generic procedure that adds
 	text to a window, adjusts the total number of lines and
	adjusts the view to make the last line visible.

2000-06-18  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.51

	* napchat.tcl.in (napUserListEntry): Removed.  The processing
 	of the initial channel user list is now handled by
 	'napUpdateUserList'.
	(napRcvChannel): Removed the 406, 407 and 408 branches.  These
	messages are now handled by 'napUpdateUserList' alone.
	(napUpdateUserList, napDoJoinChannel): The channel user list
 	is now sorted.

	* Version 0.4.50

	* README: Removed the description for 'automode' since the
	command no longer exists.

	* tknap.in (napProcessCmd): 'automode' command removed.
	Should have been done earlier.
	
	* Version 0.4.49

	* napchat.tcl.in (napCalcPingTime): Included the "second[s]"
 	string in the return value.

	* napchat.tcl.in (napCalcPingTime): Check for unset variable
	before trying to use it.

2000-06-17  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.48

	* napchat.tcl.in (napChannelWindow, napPrivWindow): Added
 	'-spacing2' value for correct spacing of wrapped lines.

	* Version 0.4.47

	* napchat.tcl.in (napCalcPingTime): Small fix.  Tried to unset
	the *value* of the variable instead of the variable itself.

	* Version 0.4.46

	* napchat.tcl.in (napCalcPingTime):  Now takes the nick as
	parameter to calculate separate ping times for each user.

	* tknap.in (napProcessCmd):  Using a separate ping variable
	for each user.

	* Version 0.4.45

	* napchat.tcl.in (napRcvGlobal): The ping response now shows
	ping time.  Should have been done long ago.
	(napCalcPingTime): New procedure.
	
	* Version 0.4.44

	* tknap.in (napSendUsermode): Removed.
	(napConnect):  The procedure now runs the commands defined in
	'nap(auto_commands)' as a final step.

	* sample.tknaprc (nap(automode), nap(usermode)): Removed.  The
 	same functionality can be achieved by defining 'usermode' as a
 	command to run at login time in 'nap(auto_commands)'.
	(nap(auto_commands)): New variable, defines commands to be
	executed at login time.

2000-06-16  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.43

	* tknap.in (napShowWhois): Using the whois result as a list
 	instead of using regex for extracting the fields.
	
	* tknap.in (napDoShowBans, napDoShowLinks, napDoShowStats):
	New procedures that complete the 'listbans', 'links' and
	'stats' commands.

	* napchat.tcl.in (napDoJoinChannel): New procedure, completes
 	the 'join' command; gets invoked after receiving the last user
	list entry.
	(napUserListEnd): Procedure removed.

	* tknap.in (napGetMsg): Removed the parsing of the type 404
 	text completely.

2000-06-16  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.42

	* README:  Added description for 'chlevel'.
	
	* tknap.in: New opennap 'chlevel' command added.

	* napchat.tcl.in (napJoinChannel): No timeout while waiting
 	for the channel join acknowledge.  It is necessary to wait all
 	the way until the ack is received.

	* tknap.in (napGetMsg): 'nap(joined)' was incorrectly set in
	some cases.  Added explicit 'string match' commands to catch
	channel join responses.

	* Version 0.4.41
	
	* tknap.in (napGetMsg): Removed a 'simplemsg destroy' from the
 	type 404 branch that would cause a message box to disappear
 	prematurely when a type 404 message arrived.
	Using 'string match' for the 404 response parsing instead of
	regexp where possible.
	
2000-06-15  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.40
	
	* tknap.in (napShowBans): Added titles to the window.

	* tknap.in (napShowBans): The ban list is now sorted.
	
	* README: Added descriptions for the new commands.

	* tknap.in (napSendUsermode): New procedure, sends user mode
 	automatically at login time if 'nap(automode)' is set to '1'.
	(napConnect): Updated to invoke napSendUsermode.
	(napProcessCmd): New command 'automode' to enable/disable
 	automatic sending of user mode.

	* sample.tknaprc (nap(automode)): New variable, set to '1' to
 	enable automatic sending of user mode at login time.
	(nap(usermode)): New variable, sets the user mode to send when
 	'nap(automode)' is 1.

	* tknap.in (napProcessCmd): Added the opennap-specific
 	'usermode' (10203) command.  See the opennap documentation for
	an explanation of the parameter syntax.
	(napGetMsg): Updated to handle the response from 'usermode'
 	when invoked without parameters.

	* sample.tknaprc (nap(main_pos), nap(info_pos)): New variables
 	to set the initial position of the main window and info window
 	respectively.
	
	* tknap.in (napShowStats): Added number of registered users to
 	the list to match the new format of the opennap server
 	response.

	* tknap.in (napProcessCmd): the 'motd' command now sends a
 	real request for the "message of the day", instead of using
 	some previously accumulated text.

	* tknap.in (napShowBans): Using a common list for both user
 	and ip bans to accommodate a change in the opennap server.

	* tknap.in (napShowMotd): Replaced with a generic
 	'napShowMiscInfo' procedure that shows various information in
 	a common text window.

2000-06-14  Mats Peterson  <mats_peterson@swipnet.se>
	
	* Version 0.4.39

	* acinclude.m4 (MP_GET_BLKSIZE): Removed.  Used by the MD5
	code only.  This should have been done in 0.4.38.

	* configure.in (AC_STRUCT_ST_BLKSIZE): Removed.  Used by the
 	MD5 code only.  This should have been done in 0.4.38.
	(MP_GET_BLKSIZE): Likewise.

2000-06-13  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.38

	* configure.in (AC_C_BIGENDIAN): Removed.  Used by the MD5
	code only.
  	AC_CHECK_SIZEOF(int): Likewise.
  	AC_CHECK_FUNCS(memcpy): Likewise.

	* napLib/Makefile.am (naplib_SOURCES): Removed md5.c and md5.h.

	* napLib/md5.c, napLib/md5.h: Removed.

	* tknap.in (napReadMP3Data): Removed the resume option.
	(napResume): Procedure removed.

	* napLib/mp3info.c: Removed the MD5 calculation stuff.

	* sample.tknaprc: New file, replaces the old '.tknaprc'
 	example configuration file.

2000-06-05  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.37

	* See mpTk/ChangeLog for changes.

2000-06-03  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.36

	* Fixed a small binding quirk in the mpTk file selector.

	* tknap.in (napDownload2): Check for zero bytes file size.

	* Version 0.4.35

2000-06-02  Mats Peterson  <mats_peterson@swipnet.se>

	* Yet more changes to the file selector.  See mpTk/ChangeLog.

2000-06-01  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.34

	* Changes to the file selector in mpTk; see mpTk/ChangeLog for
	details.

	* Version 0.4.33

	* configure.in: Moved the MP_CONFIG_TCL macro call to the top
	of the file in order to set CC as early as possible.

	* Version 0.4.32

	* configure.in (AC_PROG_CC): Removed.
	
	* acinclude.m4 (MP_CONFIG_TCL): The compiler to use is now
	determined by the TCL_CC variable in tclConfig.sh.

2000-05-31  Mats Peterson  <mats_peterson@swipnet.se>

	* napLib/images/Makefile.am (install-exec-local): Fixed a path
	problem where install-sh couldn't be found if used. Duh.
	* mpTk/Makefile.am (install-exec-local): Likewise.

	* napLib/Makefile.am: Removed some superfluous @xxxx@ entries.
	* napLib/Makefile.am (ALL_CFLAGS): Added TCL_EXTRA_CFLAGS.

	* acinclude.m4 (MP_CONFIG_TCL): Added TCL_EXTRA_CFLAGS to the
	output variables.
	
2000-05-29  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.31

	* napLib/mp3info.c (MP3InfoCmd): Included the file size in the
	returned list to eliminate the need for a call to "file size"
	later on in the main script.
	* tknap.in (napRecurse): Changed to match the new behaviour of
	'mp3info'.

2000-05-10  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.30

	* napLib/images/Makefile.am (EXTRA_DIST): Major blunder. I had
	forgotten to include disconnect.gif :(.

	* Version 0.4.29

2000-05-08  Mats Peterson  <mats_peterson@swipnet.se>

	* Makefile.am: Removed napchat.tcl from EXTRA_DIST.

	* configure.in: Added napchat.tcl.in to AC_OUTPUT.

	* napchat.tcl.in: Replaces old napchat.tcl, gets updated by
	configure.

	* versions, configure.in, tknap.in, napchat.tcl.in: Added
	'TKNAP_VERSION'.

	* tknap.in (napShowResults): Changed the format of the last
	(link type) field in a search result from "%-11s" to plain
	"%-s", making TkNap take care of the length adjustment.

2000-05-07  Mats Peterson  <mats_peterson@swipnet.se>

	* Version 0.4.28

2000-05-06  Mats Peterson  <mats_peterson@swipnet.se>

	* napLib/images/(Makefile.am, Makefile.in): New files.

	
2000-05-04  Mats Peterson  <mats_peterson@swipnet.se>

	* Makefile.am, mpTk/Makefile.am, mpTk/Makefile.in,
	napLib/Makefile.am, acinclude.m4, AUTHORS, NEWS, missing,
	mkinstalldirs: New files.

	* ChangeLog: New file, replaces Changes.

	* Makefile.in: Moved package-specific stuff to dedicated
	directories.

	* napLib/Makefile.in: Now generated by Automake.

	* napLib package updated to version 0.2.2 to reflect the new
	Automake configuration.  No changes to the source code.

	* configure, configure.in: Updated for Automake.

	* config.h.in: Now generated by autoheader.

	* aclocal.m4: Now generated by 'aclocal'.  Moved the
	MP_CONFIG_TCL and MP_GET_BLKSIZE macros to acinclude.m4.

	* acinclude.m4 (MP_CONFIG_TCL): Now using a cache variable for
	the result.
	(MP_GET_BLKSIZE): Likewise.
