2003-11-01  David Smith  <courierdave@users.sourceforge.net>

	Version 0.7.1 - minor bugfix
	
	* xmlstuff.c: Changed the handling of errors from libxml2 so
	that they longer print to stderr. If logging level is >2 then
	they will print to your log file. Same for warnings. This was
	causing a problem with libxml2 >= 2.6.1

	* hotwayd.c: Added logging level 3.

2003-10-18  David Smith	 <courierdave@users.sourceforge.net>

	Closer towards version 0.7 :-)

	* libghttp-1.0.9-mod/http_lazy.c: Now we report the total length
	of the message we are about to grab to the handler function to 
	prevent calling a read when there is no data waiting, which 
	prevents a stall at the end of a message when using lycos/spray 
	and when using a proxy server.

	* commands.c: Added support for various other lycos mailboxes
	and spray.se mailboxes, could possibly be more..

	Fixed a memory allocation bug with the serverurl when it changes
	which was causing memory corruption of the response headers.

	Removed some passing of global variables via function calls,
	what's the point?

	* hotwayd.c: Prevent the daemon from hanging at end of retr and 
	top when waiting for more data from a socket that has no more
	data to read. Instead we use the Content-Length field of the 
	header to "know" when we have reached the end of the data. We
	just hope the sending server doesn't lie to us about the 
	Content-Length :-)
	
2003-10-16  David Smith  <courierdave@users.sourceforge.net>

	Towards Version 0.7...
	
	* commands.c: Added in new support for lycos.co.uk mailboxes,
	this also involved added the Basic authentication scheme into
	the authentication schemes that hotwayd could recognise. This
	is done via libghttp.

	Changed logging output to be command line configurable.

	Had to modify invalid password handling to allow detection 
	when using a proxy server. 

	* hotwayd.c: Minor fixup with error messages and added in 
	support for logging levels. 

	* xmlstuff.c: Added support for logging levels

	* libghttp-1.0.9-mod/ghttp.c: Fixed allocation of URI which
	was causing proxy support to fail with error message that
	inbox cannot be found.

	* libghttp-1.0.9-mod/http_req.c: Memory allocation issue 
	when using proxy resolved.

	* libghttp-1.0.9-mod/http_resp.c: Needed to make it detect \n\n
	in addition to \r\n\r\n between header and body of HTTP response
	as lycos was only sending \n\n and causing this code to bomb out.
	This also meant some magic numbers in here had to be changed.

2003-09-24  David Smith  <courierdave@users.sourceforge.net>

	* commands.c: Bit of code cleanup and changed handling of
	ParseXMLResponse so that it is now split into 3 functions. See
	xmlstuff.c for more details

	* hotwayd.c: Made it so cache doesn't reset on unknown command. 

	Made it possible to get a particular folder by putting it after
	the domain name. E.g. to get the inbox, which is already the
	default anyway, use: user@hotmail.com/inbox as the login. 

	Don't run the stat command twice on login now, should speedup a
	tiny bit.

	* xmlstuff.c: Split ParseXMLResponse into ParseXMLFolderProps,
	ParseXMLMsgList and ParseXMLFolderRoot. 

	Modified folderprops so that you can get the properties of any
	folder which is passed to it as an argument. Now the href is set
	inside this function. Before it was hardcoded for the inbox in
	ParseXMLResponse. 

	Added error checking for XML encoding alias allocation.

	Tried to make it a bit easier to follow the code in here through
	tidyup. 

2003-09-20  David Smith  <courierdave@users.sourceforge.net>

	Version 0.6

	* commands.c: Overhauled login error reporting. Now it shouldn't
	randomly present an error with incorrect username/password and
	should report login problem more precisely. 

	Added in proxy support via libghttp - couldn't test it though as I
	don't have a proxy server. Thanks to Frank Schckermann for an
	implementation guideline via his patch.

	Also changed the username handling so that it can handle a
	username of any size, should solve any long username problems. 

	Can now specify addresses as xxx%hotmail.com xxx%msn.com should
	you have problems with supplying an @. Thanks to Johannes Berg for
	the patch.

	* hotwayd.c: Similar to commands.c added in better login error
	reporting and added proxy support. Proxy details provided via
	command line, check README or website for more details.

	* httpmail.h: Added in INVALIDUSER define. It _seems_ to be that
	an invalid username triggers a 503 server busy response. So this
	is now detected via commands.c
	
2003-05-05  David Smith  <courierdave@users.sourceforge.net>

	Version 0.5.3
	
	* hotwayd.c (user_cmd): Fixed up login problem where people have
	long login names for hotmail.com addresses. hotwayd no longer
	sends the complete email address to the server (i.e. now only
	sends the username like 0.4.x). msn.com address still send the
	domain name as it is required by the servers.

	* Makefile.am: Updated makefiles

	* hotway.spec: First attempt at RPM packages

	* command.c (httpmail_uidl): UIDL was not reporting +OK after
	second execution due to not being written to cache, fixed in this
	version

	Added option to only operate on messages marked as unread on the
	hotmail/msn mail server, refer to httpmail.h or check
	http://hotwayd.sf.net/faq/ for more details.

	
2003-02-21
	Version 0.5.2 (RenE Bertin & JBM)
	-	A few minor cleanups (including the last malloc() of a msg_props 
		entry).
	- Implementation of a caching scheme. This speeds up operation
		somewhat (or a lot, depending on your situation):
		* clients that issue a STAT immediately after the login 
		  operation get the result from the login, without an additional
		  query of the server. This kind of caching times out after 30s
		* getting the message for either a TOP or a RETR results in
		  persistent caching of the message; a subsequent TOP or RETR 
		  on the same message will be almost instantaneous. This speeds 
		  up things for clients that do a TOP on each (new) message 
		  first and/or always do a RETR when a message is selected 
		  (StarOffice 5.2 Mail, e.g.). This caching is persistent as
		  the message is not supposed to change on the server (and 
		  properties like the read mask are determined by the STAT 
		  command).
	-	Updates to the ghttp libraries thanks to Josh Myer
	-	Updates to caching system and other fixes thanks to Josh Myer
	-	Added timeout to getlist function to allow for changes to the
		mailbox due to changes on the web interface. Currently set to
		2 minutes (David Smith)
	-	User name verification tuned to occur directly after the USER
		command rather than after the USER/PASS combination (DSmith)
	-	More fixes to the xmlstuff.c file to update the structures
		after commands like DELE. (DSmith)
	-	Minor change to included files of inet.c to fix a compilation
		bug with FreeBSD (David Smith)
	-	Updated configuration scripts (David Smith)
	-	Updated web page :-) (David Smith)
	
2002-10-23
	Version 0.5.1
	-	Resolved an issue with the STAT command after re-logging in 
		(RenE Bertin)
	-	Implemented 'byte-stuffing' (RenE Bertin; thanks to 'voicebox' 
		who pointed this one out)
	-	Modified commands.c to handle msn.com accounts (RenE Bertin)
	-	Included patch to commands.c to cope with certain proxies 
		and redirection (RenE Bertin)
	-	Modified configure.in and Makefile.am to support libghttp as 
		a static library
		(that still has to be built manually; developers only) 
		(RenE Bertin).
	-	Administration of the hotwayd project has been transferred to 
		David Smith and RenE Bertin!

2002-09-24
	Version 0.5
	-	Implemented TOP command (thanks to RenE Bertin & Timothy Lee)
	-	Minor cookie handling corrections (RenE Bertin)
	-	Clearing of global variables improved at termination of login
		& UIDL corrected to correspond to RFC1939 specs. Improved
		configure/makefile scripts (David Smith)

2002-07-08
	Version 0.4-R2 - David Smith & RenE Bertin
	-	Changed printfs to fputs (RenE Bertin)
	-	Improved null pointer checking in xmlstuff.c
	-	Improved configure script to link all libraries that libxml2
		depends on (RenE Bertin)

2002-07-07
	Version 0.4-R1 - David Smith
	-	Changed xmlstuff.c so that it handles xml nodes in any order
		which prevents the segfault from previous version

2002-06-16
	Version 0.4 - David Smith
	- 	Failure when logging in is now reported to mail client via standard
	  	POP-3 messages. (in commands.c)
	- 	Removed all internal queues from xmlstuff.c which would overrun if
	  	there were too many messages or too many folders.  Now it
	  	should be able to handle a hotmail account with an unlimited number
	  	of folders.
	- 	Added some more checks to make sure we don't try to allocate
		memory to null pointers and don't try to copy data from a null
		pointer.
	-	Fixed some pointer/array memory allocations as described by
		Korwin Smith and R.J.V. Bertin
	-	Restored global variables for cookies when clearing in
		command.c

2002-05-11
	Version 0.3-patched - Korwin Smith
	- 	Only authorise when asked via message 401.
	-	Fixed cookie management - some old cookies were being
		overwritten by new cookies.
	- 	Removal of internal queues from function msglengths in
		xmlstuff.c and improved xml node tranversal.
	-	Clear memory in http_digest.c were references were being made to
		internal pointers to struct.

2002-05-03
	Version 0.3 - Frank de Lange
	-	Memory allocation errors made the program dump core in many cases.
		Fixed there errors.
	-	Started changing insecure functions to more secure versions (strlcat,
		strlcpy, snprintf). Included strlcat and strlcpy source from OpenBSD.
	-	Program was looping because of authentication errors. Made program
		use Authorize: header only on explicit request from server to get
		out of those loops... Outlook behaves like this, so this program
		should do so as well...
	-	Made program compile without warnings with -Wall
	-	Fixed Makefile.in so it includes the xml2 header include directory
		This needs the xml2-config program, which should be available on
		any box which has libxml2 installed.
	-	According to RFC 1939, a POP server should be able to handle
		the RETR command immideately after entering the TRANSACTION
		state. For this to work, we need to do an implicit STAT on the
		mail store, otherwise RETR will fail. The STAT will also produce
		the needed +OK response.

2001-12-13
	Version 0.2
        libghttp is now statically linked. (bigger binary but easier to install)
        Thanks to: David McClosky <dmcc@bigasterisk.com>
        Changed User Agent to MS Outlook.

2001-04-18
	First Release
