Disclaimer:
  This software is supplied without any warranty of any kind.
  Permission to use this software is granted only if the user accepts full
  responsibility for any damages arising from its use. In no circumstances 
  the authors will be held liable for any damages arising from the use 
  of this software as loss of data, corruption of computer systems, 
  business interruption, etc.

-----------------------------------------------------------------------------

This directory contains additional information on the various
third party software used in this product.

-----------------------------------------------------------------------------

This software uses the FOX Toolkit Library (http://www.fox-toolkit.org).
It is the library which creates the graphical user interface.
FOX is covered by the LGPL which requires one to supply a copy 
of it with the software. This copy is in the file "fox/LICENSE".
For FOX, see also "fox/LICENSE_ADDENDUM". For specific issues on
windows see below.

This software can generate PDF output. The PDF data structures, operators and 
specification are copyrighted by Adobe Systems Incorporated.

Other third party software used in this product:
    libjpeg: The Independent JPEG Group's JPEG software
    libpng : PNG reference library
    zlib   : data compression library

The relevant information files extracted from the official releases can be
found in the directories "fox", "libjpeg", "libpng" and "zlib".

For the version numbers of the packages "libjpeg","libpng" and 
"zlib" see the README-files in the corresponding directories.

If the Chaos-programs are compiled with freetype-support, then the following
statement applies:
  Portions of this software are copyright  1996-2002 The FreeType
  Project (www.freetype.org).  All rights reserved.

This software uses GNU libstdc++-v3 (the GNU ISO C++ Library). This library 
is provided under the GPL(v2) with the so-called "runtime exception". See 
the libstdcpp-directory. The auxiliary-library libgcc from gcc has a
similar license. See the same directory.

This software uses Inno-Setup for the windows installer.
  Inno-Setup:  Copyright (C) 1997-2004 Jordan Russell. All rights reserved.

-----------------------------------------------------------------------------

This software contains routines to solve ordinary differential equation
systems numerically. Parts of the code is based on the book and the software 
from E. Hairer and G. Wanner. See the homepage of E.Hairer for the source 
code and "Solving ordinary differential equations I & II" by E. Hairer, 
S.P. Norsett and G. Wanner for an explanation of the methods.
See the directory "ode_hairer_wanner" for their license. 
Note that the code is heavily rewritten and  reordered in order to achieve 
a better C++-shape. So any errors found in the ode-solver are almost certainly 
due to these modifications and not to be blamed on the original authors.

This software contains a routine based on a preceding one originally written 
by O. Keselyov and which is released in the public domain. This is the routine
"zeroin" in the package linalg.tar.gz from http://okmij.org/ftp (see there for 
the copyright). It is also contained in the package brent.shar from www.netlib.org.

This software contains a font which is based on the original public domain 
Hershey font data, distributed on the USENET network. The Hershey Fonts were 
originally created by A. V. Hershey while working at the U. S. National Bureau 
of Standards. The format of the original public domain Hershey font data was 
originally created by James Hurt (Cognition, Inc.; 900 Technology Park Drive; 
Billerica, MA 01821). See more concerning this in the directory "hershey_font".

-----------------------------------------------------------------------------

In order to do a few special things with FOX, the following minor changes 
have been made:
  - A few functions are marked as inline in the headers in order to build 
    dll's with mingw.
  - For win32 a faster dc is needed. This is fast_dc. It is needed only to 
    draw lines and points.
  - The win32-last-pixel-error for drawLine is solved by using round caps 
    and joins as default.
  - To draw wchar_t with fox-1.4, there are a view hacks neccessary. (These 
    where started before fox-1.6; it is working now and the code was not
    adapted to fox-1.6.)
    changes:
     - drawArea(const FXDCWindow*...) to copy from an active dc (to rotate 
       an image fast by 90)
     - drawText+getTextWidth for wchar_t
     - select fontencoding for linux

These changes are supplied in the fox_patch-directory. Use them under the same license as FOX
itself.

-----------------------------------------------------------------------------

For those interested in the creation of the dll's for windows:
  After building the static libraries the dynamic libraries were made with mingw
  using the following commands:
    gcc -shared -o libjpeg.dll -Wl,-whole-archive,libjpeg.a -Wl,-no-whole-archive                  -Wl,--disable-auto-import
    gcc -shared -o libz.dll    -Wl,-whole-archive,zlib/libz.a -Wl,-no-whole-archive                -Wl,--disable-auto-import
    gcc -shared -o libpng.dll  -Wl,-whole-archive,libpng/libpng.a -Wl,-no-whole-archive -L./ -lz   -Wl,--disable-auto-import
    strip --strip-unneeded libpng.dll
    strip --strip-unneeded libz.dll
    strip --strip-unneeded libjpeg.dll

  For fox, the build process is more complicated:
    1.) Configure fox with autoconf:
       ./configure --with-opengl=no --enable-png --enable-jpeg --enable-release
    2.) Hack the makefiles in the src-directory of fox:
           CXXFLAGS += -DFOXDLL -DFOXDLL_EXPORTS
    3.) Run make in the src-directory to build the static library.
    4.) Build the dll:
          g++ -shared -o libFOX-1.4.dll -Wl,-whole-archive,libFOX-1.4.a -Wl,-no-whole-archive -lcomctl32 -lwsock32 -lwinspool -lgdi32 -ljpeg -lpng -lz -lm -lstdc++
          strip --strip-unneeded libFOX-1.4.dll 

  Build your sources which should use libFOX-1.4.dll with the flag -DFOXDLL.
  To use the fox-library in your source-code, you must eventually hack the header 
  files of fox in order to mark a view function as inline (only with mingw!).

