2005-12-09  Andreas Kupries <andreask@activestate.com>

	* mimetypes.man: Corrected package names used in the
	* filetypes.man: manpage headings.

2005-10-06  Andreas Kupries  <andreas_kupries@users.sourceforge.net>

	*
	* Released and tagged Tcllib 1.8 ========================
	* 

2005-09-19  Andreas Kupries  <andreas_kupries@users.sourceforge.net>

	* filetypes.test (fumagic.filetype-1.2): Modified test result to
	* mimetypes.test (fumagic.mimetype-1.2): make it independent of
	  the exact channel handle listed in the error message. Has
	  changed with Tcl 8.5.

2005-03-16  Andreas Kupries <andreask@activestate.com>

	* Fixed typos in the manpage headers.

2005-02-17  Andreas Kupries  <andreas_kupries@users.sourceforge.net>

	* tmc:           Added basic magic compiler, and script to
	* regenerate.sh: regenerate the recognizers.

	* filetypes.tcl:  Added general recognizer for file types,
	* filetypes.man:  tests, and documentation for it.
	* filetypes.test: WARNING. This recognizer is LARGE.

2005-02-16  Andreas Kupries  <andreas_kupries@users.sourceforge.net>

	* rtcore.tcl: Added the Nvx, Nx, and Sx commands to handle the
	  generation of location data for use by the R command for the
	  handling of relative addressing.

	* cgen.tcl:
	* rtcore.tcl: Rewritten the intialization of the typemap, fixing
	  bugs in the definition of the types using native byteorder
	  instead of explicitly specified big/little endian.

	* mimetypes,man: Added REFERENCES section, and olisted url where
	  Colin found the sources of file(1) and of the magic files used.

2005-02-15  Andreas Kupries  <andreas_kupries@users.sourceforge.net>

	* rtcore.tcl: Added commands I, R, and L to support indirect and
	  relative adressing.

	* cgen.tcl: Rewrote the whole offset handling in the generator, to
	  support all types of offsets, i.e relative, indirect and
	  indirect relative ones. A new stage now parses all offsets into
	  standard components. The treegen stage then assembles proper
	  base handling using new rtcore commands (I, R). Also now saving
	  indicators about which branches actually need saving of field
	  locations for relative adressing, this is used to optimize usage
	  of check commands with saving (Nx, Sx, Nvx), and when to
	  regenerate the level information (L). The latter is an implicit
	  variable in the generated recognizer procedure, accessed via
	  'upvar 1' from the runtime commands.

2005-02-14  Andreas Kupries  <andreas_kupries@users.sourceforge.net>

	* cfront.tcl: More fixes and 8.5 feature removal for the
	* cgen.tcl:   compiler packages.

2005-02-10  Andreas Kupries  <andreas_kupries@users.sourceforge.net>

	* cgen.tcl: Removed usage of catch 8.5 feature.
	* cfront.tcl: Fixed bad reference to file/scope local
	  command. Repaced usage 0f 8.5 feature 'lrepeat' with forward
	  compatibility command provided by 'struct::list'.

	* cgen.tcl: Moved the 'provide' definition to the front, so that
	* cfront.tcl: sak recognizes it and registers the provision of a
	* mimetypes.tcl: package when validating the module.

	* mimetypes.man: Basic documentation for the main recognizer
	  command.

	* mimetypes.test: Copied the filetype tests from fileutil over for
	  use by the mimetype command, and adapted the results. Only four
	  places where the result can be said to be bogus
	* mimetypes.tcl: Added code to remove duplicates from the output
	  of the low-level recognizer.
	* rtcore.tcl: Added 'resultv' command which does not stop
	  processing in the caller as well. Needed by our wrapper.

	* mimetypes.tcl: Moved code in 'magic.tcl' to
	* magic.tcl:    'mimetypes.tcl'. There is no need for a highlevel
	  package loading all the different recognizers. Each recognizer
	  is fully in its own package now. That makes the addition of more
	  recognizers easier, without causing the wrapper to load more and
	  more unneeded code. Things are large as they are, no need to
	  make them larger. Deleted "magic.tcl".

2005-02-09  Andreas Kupries  <andreas_kupries@users.sourceforge.net>

	* New module 'fumagic'. file(1) magic(5) based file type
	  recognition, in pure Tcl. Basic packages: runtime core,
	  mime-type engine, and a command wrapping the functionality for
	  easy access. The mime-type engine is not exactly so, it is
	  possible for to produce non-mime strings. We keep it for now
	  until the compiler has been put into this module as well.

	* rtcore.tcl:     Runtime core.
	* magic-mime.tcl: Mime engine
	* magic.tcl:      Wrapper.

	* Compiler packages now present as well
	
	* cgen.tcl:   Backend, tree-based code generator
	* cfront.tcl: Frontend, parsing of magic(5) files.
