$Id: ChangeLog,v 1.27.2.8 2004/03/08 13:14:36 haraldkipp Exp $

2004-02-01  Harald Kipp  <harald.kipp@egnite.de>

	* net/lcpout.c: Bugfix, establishing PPP sessions failed. Thanks to
	Zoltan Korbai.

	* os/version.c: Release 3.4.2.


2004-03-05  Oliver Schulz  <olischulz@web.de>

	* os/timer.c: Bugfix in NutTimerInit. ICCAVR failed to compile, if 
	NUT_CPU_FREQ is defined.


2004-03-03  Oliver Schulz  <olischulz@web.de>

	* os/confos.c: Bugfix in NutSaveConfig. Write only to eeprom if actual 
	byte in eeprom differs from byte to write.


2004-03-02  Oliver Schulz  <olischulz@web.de>

	* pro/httpd.c: Bugfix in NutHttpSendError. Appended \r\n to auth_fmt_P 
	to write the next header line to a new line.


2004-02-28  Oliver Schulz  <olischulz@web.de>

	* net/tcpsm.c: Bugfix in several tcp state functions. Swapped around the 
	check for ACK and SYN flag. Because initial SYN packets don't have an 
	ACK flag, recevied SYN packets were never rejected.

	* pro/resolv.c: Memory leak fixed in CreateDnsQuestion.

	* crt/getf.c: Several bugfixes applied.
 	- "%%" didnt work.
 	- integer parsing corrected.
 	- support for "%u".


2004-02-01  Harald Kipp  <harald.kipp@egnite.de>

	* appload/appload.c, appload/ip.c: Bugfix. SMSC bootloader failed if
	DHCP offer is not broadcasted. Now IP input routine accepts any target
	IP while our local IP is unconfigured.


2004-02-18  Oliver Schulz  <olischulz@web.de>

	* os/thread.c: Bugfix in NutThreadCreate. If NutHeapAlloc fails, the 
	function returned without calling NutExitCritical to reenable 
	interrupts.


2004-02-09  Oliver Schulz  <olischulz@web.de>

	* include/net/if_var.h, net/ifconfig.c, pro/dhcp.c: Gateway ip 
	address was not set, if static network configuration from 
	EEPROM is used. <Merged from HEAD.>


2004-02-08  Oliver Schulz  <olischulz@web.de>

	* net/arpcache.c: Arp entries with set ATF_PERM are not removed from the 
	cache list any more.


2004-01-30  Harald Kipp  <harald.kipp@egnite.de>

	* net/ipcpin.c: Fixed a memory hole in case of incoming IPCP
	with bad identifiers.

	* net/lcpout.c: Added a parameter to LcpTxConfReq to handle
	rejected magic number requests. This is a dirty hack, but
	should help for now. All calls in lcpin.c and pppsm.c plus
	the prototype in include/netinet/if_ppp.h had been adapted as 
	well. Thanks to Alex Joni and Zoltan Korbai, who discovered
	this problem.


2004-01-25  Oliver Schulz  <olischulz@web.de>

	* net/tcpsm.c: Bugfix for establishing tcp connections by
	calling NutTcpConnect. If no answer is received, retransmission
	is stoped after about 6 secs. If RST if received, the
	connection request is now properly aborted and the error is
	returned to the caller.


2004-01-14  Oliver Schulz  <olischulz@web.de>

	* pro/dhcpc.c, include/pro/dhcp.h: Applied changes by Damian
	Slee. Now it should be possible to obtain gateway and dns 
	server ip address from Win2k DHCP servers.
	
	* net/lcpin.c: Same bug fix like in IpcpRxConfReq applied
	also to LcpRxConfReq.
	
	* dev/lanc111.c: Speed improvements for transfering bytes
	from and to nic applied.
	
	* net/tcpsock.c: New TCP output buffering implemented. If not
	configured, it works nearly like the old buffering. To
	configure, use NutTcpSetSockOpt with new option SO_SNDBUF.
	
	* net/tcpsm.c: Now the retransmission timer is also 
	started on call of NutTcpConnect. 


2004-01-04  Oliver Schulz  <olischulz@web.de>

	* app/basemon/basemon.c: After adding thread termination
	support to Nut/OS, the priority of basemon's own idle
	thread was also changed from 255 to 254 to avoid idle thread
	termination.


2003-12-19  Oliver Schulz  <olischulz@web.de>

	* include/time.h, crt/time.c, crt/mktime.c, crt/gmtime.c
	crt/localtim.c: Dox written.


2003-12-18  Harald Kipp  <harald.kipp@egnite.de>

	* include/dev: Added missing usart driver include files.


2003-12-15  Harald Kipp  <harald.kipp@egnite.de>

	* os/version.c: Switched to 3.3.3, still preview.

	* os/thread.c: Long awaited support for terminating
	threads had been implemented. The context switch frame
	has been reduced to those registers, which really need
	to be saved. These most valuable changes had been
	contributed by Ralph Mason.

	* os/nutinit.c: Destroys terminated threads. Priority
	255 is used to terminate threads, thus the idle thread's
	priority changed from 255 to 254. This may break your
	existing application. Thanks again to Ralph Mason.

	* appicc: Imagecraft projects updated to version 6.29.

	* dev/usart.c: Hardware independant U(S)ART device driver
	added.

	* dev/usartavr.c: ATmega128/103 USART hardware support 
	for new usart.c. Includes HW/SW handshake, 9-bit and
	synchronous communication.

	* include/fcntl.h: Dox updated.

	* include/bankmem.h: Banking enabled with Ethernut 2.


2003-12-12  Oliver Schulz  <olischulz@web.de>

	* crt/putf.c: Rewritten support for strings stored in prgram
	space. Using still type character 'P', but also some heap
	to store the string in RAM before the output function is
	called.
	
	
2003-12-06  Oliver Schulz  <olischulz@web.de>

	* os/nutinit.c, os/init.c: Using __heap_start instead of
	__bss_end to support .noinit section under gcc.

	* os/nutinit.c: changed external RAM detection. Now it's
	possible to used more than 4KB static data under gcc.


2003-11-28  Harald Kipp  <harald.kipp@egnite.de>

	* net/tcpsm.c: TCP connections suddenly drop during 
	transmission. Bug in retransmission timer fixed.


2003-11-27  Oliver Schulz  <olischulz@web.de>

	* pro/dencode.c: Bug fix and code size improvement


2003-11-26  Oliver Schulz  <olischulz@web.de>

	* nutlibcrt.a: Added some standard C time functions to
	implement time handling and real time clocks.

	* pro/sntp.c: Added SNTP protocol to retreive universal
	coordinated time (UCT) from SNTP servers.

	* net/udpin.c, net/udpsock.h: Added a configurable receive
	packet queue for UDP packets.

	* crt/putf.c: Added support for program space character
	strings (%P).


2003-11-05  Harald Kipp  <harald.kipp@egnite.de>

	* Version 3.3.2

	* app/pppc.c: Added a note, that this will not work with
	ATmega103 chips as long as debugging is enabled, which
	requires a second UART.

	* dev/lanc111.c: Leftover from debugging set last byte
	of MAC address to 1.


2003-11-04  Harald Kipp  <harald.kipp@egnite.de>

	* All applications will work on Ethernut 1 and 2.

	* net/tcpsm.c: Race condition in TCP state machine left
	socket in CLOSE-WAIT state. Fixed.

	* app/basemon: Ignore PD5 in port test. Used with RS485.

	* dev/lanc111.c: Still link problems. Finally it should
	work now after correcting delays during PHY configuration.


2003-11-03  Harald Kipp  <harald.kipp@egnite.de>

	* app/isp2: New application to update the ISP adapter
	included in the Ethernut Starter Kit.

	* app/basemon: Rewritten to support RTL8019AS and
	LAN91C111 Ethernet Controllers and banked memory.

	* appload: New bootloader for LAN91C111 added.

	* include/lanc111.h: Allow applications to link
	both Ethernet Controller Drivers.

	* dev/lanc111.c: Several optimizations and bugfixes.
	The driver will reliably link now on 10 MBit networks.
	Sudden buffer allocation failures had been fixed by
	resetting the MMU in this situation.

	* pro/dhcpc.c: Renewal disabled, if lease time is set 
	to zero

	* os/timer.c: New API function returns system uptime in 
	miliseconds. This function is now used by the TCP state
	machine to calculate retransmission timeouts. Another
	step towards round trip time calculation, which is
	still missing in Nut/Net.

	* include/compiler.h: New register types added for
	better portability to different MCU platforms.

	* dev/twif.c: Documentation of API calls enhanced.


2003-10-14  Harald Kipp  <harald.kipp@egnite.de>

	* tools/nutconf: New GUI configuration tool named nutconf.
	Based on the excellent wxWindows class library.

	* crt/icc: Imagecraft runtime initialization added to
	the CVS repository.


2003-10-13  Harald Kipp  <harald.kipp@egnite.de>

	* dev/lanc111.c: New driver for SMSC LAN91C111 provides
	100 Mbps Ethernet interface.

	* os/timer.c: Added a seconds counter.

	* pro/dhcpc.c: Replaced tick counter with seconds
	counter. This should fix the DHCP timer bug.

	* Added hardware definition to Makedef files.


2003-09-03  Harald Kipp  <harald.kipp@egnite.de>

	* Tested with WinAVR-20030913

	* app/httpd/httpserv.c: Using strtok and portable 
	version of strtok_r.

	* crt/srttok_r.c: Incompatible strtok_r marked 
	deprecated and removed from GCC compile.

	* os/nutinit.c: XRAMEND replaced by NUTRAMEND to avoid
	GCC conflicts.

	* app/nutpiper/player.c: Include file sequence changed.

	* app/nutpiper/scanner.c: dito.

	* dev/chat.c: Report function contributed by Jelle
	Martijn Kok.


2003-08-14  Harald Kipp  <harald.kipp@egnite.de>

	* Version 3.3.1

	* app/pppc.c: PPP sample added.

	* crt/putf.c: Formatted output of unsigned int fixed
	by Ralph Mason.

	* dev/ppp.c: Bugfix, HDLC may only use a single flag
	between two consecutive frames.

	* Avoid changing the PPP request identifier while 
	resending unanswered frames.

	* net/lcpout.c: Negotiate local PPP magic.

	* net/lcpin.c: LCP echo reply support added.

	* net/lcpout.c: Bugfix, send protocol reject in correct
	byte order.

	* net/pppdebug.c: Added support for LCP echo and
	discard frames.

	* net/pppsm.c: Retry for authentication request added.

	* net/tcpsm.c: Bugfix by Ralph Mason, NutTcpAccept
	fails if caller got higher priority.

	* net/tcpsm.c: Bugfix by Ralph Mason, incoming TCP 
	NETBUFs will never be released if TCP is not used by
	application.

	* net/tcpsock.c: Another fix by Ralph, TCP may reuse
	socket ports because of wrong byte order during
	compare.


2003-08-07  Harald Kipp  <harald.kipp@egnite.de>

	* app/httpd/httpserv.c: Bugfix, remote not displayed
	in the socket list.

	* pro/dhcpc.c: Complete redesign to follow RFC 2131.


2003-08-05  Harald Kipp  <harald.kipp@egnite.de>

	* app: Examples updated and checked in.

	* Removed DNS entries from network interface
	structure. This may break your driver/app.

	* dev/nicrtl.c: Bugfix, failed to boot with empty 
	EEPROM.

	* include/compiler.h: Added strcmp_P(), outb() and
	_BV() for ICCAVR.


2003-07-24  Harald Kipp  <harald.kipp@egnite.de>

	* net/ipcpin.c: Bugfix, PPP always used the secondary 
	DNS.

	* net/ipcpout.c: When the PPP server rejects the 
	secondary DNS, IPCP negotiation was trapped in a
	loop.


2003-07-23  Harald Kipp  <harald.kipp@egnite.de>

	* Michael Fisher contributed the first ATAPI version
	of his IDE driver and FAT filesystem. Note, that the
	IDE port moved from 0x8000 to 0xE000.


2003-07-21  Harald Kipp  <harald.kipp@egnite.de>

	* Version 3.3 prepared for release.

	* os/bankmem.c: Support for banked memory added.

	* os/ir.c: Support for infrared remote control added.

	* dev/irsony.c: First infrared remote control driver
	for Sony TV codes.

	* dev/vs1001k.c: Internal buffer handling replaced by
	banked memory support routines.

	* app/nutpiper: New application. Shoutcast radio with
	remote control, LCD displayand banked memory support.
	Experimental.


2003-07-20  Harald Kipp  <harald.kipp@egnite.de>

	* pro/httpd.c: Reduced RAM usage by moving string
	literals to program space.

	* net/ipout.c: Memory hole bugfix.

	* net/udpsock.c: System crash on UDP send failure
	has been fixed.

	* app/httpd: Redesigned HTTP server sample added.

	* dev: New Ethernet driver for CS8900A.

	* crt/vsscanf.c: Bugfix for sscanf functions.

	* crt/sprintf_p.c: Bugfix.

	* crt/filelength.c: Wrong description replaced.

	* pro/dhcpc.c: Added code to support secondary DNS.

	* pro/resolve.c: Dito.

	* No explanation had been given how to disable the
	timeout of several functions using NutEventWait().
	A defined value of NUT_WAIT_INFINITE has been added
	to event.h.

	* Missing directories added to repository.

	* urom filesystem filenames moved to program space
	to save RAM.

	* Conflicting Ethernet driver routine names solved.


2003-07-17  Harald Kipp  <harald.kipp@egnite.de>

	* dev/hd44780.c: Works with applications which may
	change the data direction registers.

	* dev/nicrtl.c: Speed enhancements and being less
	strictly for accepting valid frames.

	* dev/twif.c: Missing speed settings added.

	* pro/dhcpc.c: No more default (egnite) MAC address.

	* pro/httpd.c: Memory hole fixed.


2003-07-13  Harald Kipp  <harald.kipp@egnite.de>

	* ChangeLog: Added.

	* net/confnet.c: Unconfigured MAC address changed to
	broadcast address.

	* net/tcpsm.c: Changing the socket data buffer into
	a NETBUF queue results in faster TCP transfers.

	* net/tcpsock.c: dito.

	* include/sys/sock_var.h: dito.
