Changes up to v1.0.1: Bernhard Reiter <bernhard@intevation.de>
	* cleanup: grouped memory functions and moved them to
	new source files: memory_handling.[hc]

	* fix: reworked memory handling, only the functions mycalloc, myalloc
	and myfree() are used now. A couple of free()s where too much.
	Thanks to KAWAMURA Masao <kawamura@mlb.co.jp> and his patch   
	for pointing me to the problem.

	* memory handling: no fixed limit on temporary variables anymore
	all memory allocated with m_calloc() is now deallocated by m_freeall(). 
	So removed n_ptr, ptr_arr and MPTR from the code.

	* cleanup: removed alread inactived myfopen() from the code completly

	* Improved err message if a bad option is given.

	* cleanup: removed oldmakefiles and Makefile.in as they were
	getting more and more out of date.

Changes up to v1.0:   Bernhard Reiter
	* Andreas Beyer contributed for a patch for procs.c 
	to make the u-Test single sided Result more clear
	* added a bit more buffer and a limit to a sscanf format string.
	* added percentile calculation
	* the "enter gnuplot command" menu entry has got a different number!

Changes up to v0.16:  Bernhard Reiter
        * restructured added src, doc and othermakefiles directories
	* fixed Makefile, added Makefile.in which is not necessary
	* added Dirk's patch to procs.c to fix strange segfault 
		in correl_matrix and rank_matrix

	  changes by Andreas Beyer <abeyer@usf.uni-osnabrueck.de) 10. Feb 2000:

	* introduction of two-language-code and translation to English
	(compile with -DLANG=LANG_EN for English, -DLANG=LANG_DE for German>)
	* include <stdio.h> in statist.h
	* saver check in func. col_exist() in data.c
	* all printf() either changed to out_r or commented out for StatistX


Changes up to v0.15:	Bernhard Reiter
	* statist.h
		fixed the GET.LINE macros in statist.h, Dirk forgot
		to eliminate the "\n" 

	* statist.h 
          data.c
		added MSDOS_FIXED_TMP_FILE macro

	Contributions from D.Melcher, he resolves the following bugs:
		in  statist.h data.c procs.c                                                                       
| 1.) Ich habe von jemandem den Hinweis bekommen, dass noch ein kleiner Fehler 
| in der Wilcoxn-Prozedur fuer den Paarvergleich drin ist. Es handelt sich um 
| das Konfidenzintervall. Im Gegensatz zu der Testgroesse muss naemlich dass
| Konfidenzintervall auss ALLEN Differenzen EINSCHLIESSLICH der 0-Differenzen
| werden werden.
|  
| 2.) Nach dem Update auf die glibc habe ich einige seltsame Abstuerze bei
| statist entdeckt, die beim 'Aufraeumen' stattfanden. Ich bin dahinter 
| gekommen, dass das durch einige free() Aufrufe zustandegekommen ist, bei 
| denen der Zeiger nicht (mehr) auf reservierten Speicher zeigte.
|  
| 3.) Bein kompilieren mit einer neueren gcc -Version wird darauf hingewiesen,
| dass man aus Sicherheitsgruenden statt gets() fgets verwenden sollte.           


	Andreas Beyer made statist fit for his StatistX GUI,
	I tried to integrate that in a sensible manner.

[...]
| lediglich fr den Gebrauch mit StatistX angepasst. Wesentliche
| nderungen sind:
| (1) Die Funktionen out_start() und out_end() in procs.c.
|     Diese Funktionen indizieren den Beginn bzw. das Ende eines 
|     Ergebnissblocks. Dadurch wird es fr die grafische Oberflche mglich, 
|     den gesamten output, der sich auf eine Menufunktion bezieht in einem 
|     Fenster darzustellen.
[..]
|     Fr diese Funktionen gelten strenge Regeln:
|     (a) Vor dem Aufruf des ersten out_r() MUSS out_start() ausgefhrt werden.
|     (b) Vor dem Verlassen einer Prozedur MUSS out_end() ausgefhrt werden.
|     (c) Beide Funktionen drfen/mssen nur genau einmal in jeder Prozedur
|         aufgerufen werden.
| (2) statist.h:
|    Hier sind die beiden Funktionen von oben deklariert.

[Wenn keine Biliothek gemacht wird, werden diese Funktione zum leeren Makro ]

|    TRUE und FALSE werden nur noch dann definiert, wenn sie es noch nicht
|    sind. Das verhindert Kollisionen mit der gdk-lib.
| (3) Die Funktion get_label wird nicht kompiliert, wenn das Makro STATIST_X
|     definiert ist.
| (4) Das Makefile wurde angepasst, damit Bibliotheken erzeugt werden knnen.
	
	


Changes up to v0.14.1: 
Sat Feb 13 01:04:49 UTC 1999	Bernhard Reiter
	One error message improved. 

	* data.c
		The string, which cannot be read as data value from a file
		is now given in the error message. Thanks to Carsten Schulze.

	* Makefile
		Added (simple) compiler flags for DEC's cc. 

Changes up to v0.14:
Tue Aug 18 16:10:03 UTC 1998	Bernhard Reiter
	Only cosmetic changes and documentation improvements.
        
	* data.c
        	- added comment lines to makefilename() so it is clear,
                which line to change, if you want another place for the
                temporary files under MSDOS.
                - added check if old indicator (#!) for label lines is used
                (if the current label indicator is not equal to the old one)
               
       	* Makefile
        	- added *.log *.aux to rm of target clean
        
        Documentation:
        * mydefs.sty
        	deactivated lines which aren`t used in programm.tex, but
                confused modern LaTeXs.

	* programm.tex
        	Added warning that documentation is outdated.
                
        * stat_man.tex
        	Some updates.
                - about how to give columnnames to statist
                with the new indicator "#%". 
                - about using "M" instead of "." for missing data
		- that c:\tmp has to exist on MSDOS systems
                - how to change the sources to
                get back the old behaviour in this three cases
                
                   
Changes up to v0.13:
Wed Feb 18 10:24:10 UTC 1998	Bernhard Reiter
	* in procs.c/procs.h
        	-splitted standard(): calculation for the histogram 
                was extracted into new funtion histogram()
		-bug fix: check of zeroclass is now entered, when 
                autoclass is enabled.


Changes up to v0.12:
Mon Feb 16 17:27:17 UTC 1998	Bernhard Reiter
Dirk Melcher has made some changes, which were incorporated in the 
code base. Some notes in German follow:

| Notizen zu den nderungen von statist-0.11pl1 zu Dirks Version vom 13.2.1998.
| Es wird angemerkt, welche nderungen fr v0.12 bernommen wurden.
| 
| plot_histo hat sich gendert. Es gibt einen Parameter mehr: BOOLEAN discrete.
| (nicht bernommen.)
| 
| Eine neue Option: "-delrow" berliest Zeilen, die nicht alle Werte enthalten
| 
| Ein fehlender Wert wird nun mit "M" gekennzeichnet.
| 	(dies wurde wohl auch deshalb gendert, weil es die Implementation
|         von "-delrow" erleichtert.)
| 
| Fehler mit exakten Spaltennamen, die den Anfang eines anderen Spaltennamen
| 	darstellen ist behoben.
| 
| Fehler, der bei mehrmaligem Exportieren als Textdatei (Men Datenverwaltung)
| 	auftreten konnte, ist behoben.
| 
| (Ein kleines Miniprogramm, um die Lnge einiger Datentpyen auszugeben: size.c)
| 
| 
| Die Quelldateien im Einzelnen:
| ==============================
| 
| data.c: makefilename()
| 		Wenn MSDOS definiert ist, gehen Dateien nach c:\tmp\statxxx.tmp
| 	
|         readsourcefile()
|        	*Kein Vergleich mehr, ob die Lnge des gelesenen Tokens Eins ist
|               An zwei Stellen.(Habe ich nicht bernommen.)
|               *Fehlermeldung, wenn Spaltenzahl berschritten, verbessert.	
|         	*berlese Zeilen, die NODATA enthalten.
|         
|         getcols()
|         	*testet erst auf exakte Spaltennamen, bevor Ergnzung probiert
|                 wird.
|                 
|         neue Funktion: col_exist()
| 
| 
| data.h: col_exist() eingetragen
| 
| 
| iodefs.c entfernt.
| 
| 
| menue.c: Fall "6" bei Men Datenverwaltung: n_max initialisieren.
| 
| 
| plot.c:	init_gnuplot()
| 		Wenn MSDOS definiert ist: FOPEN mit "wt" anstatt mit "w" 
| 	
|         plot_pair()
|         	Die Gnuplotbefehle, um die Funktion fr die 
|                 lineare Regression zu definieren, verwenden jetzt Variablen.
|                 
|         plot_histo()
|         	(nderungn fr Parameter discrete wurden von mir nicht 
|                 bernommen)
| 
| procs.c:multiple_reg()
| 		Erstmal neue Variablen: int j, REAL *resi, theo
|                 Spter wird eine Spalte "resi" angelegt, bzw. aufgefrischt.
|              
|         equal_freq() und compare_freq()
|         	Neue Variable: REAL chi;
|                 chisq wird mit Zwischenwert chi berechnet.
|                 
|         standard()
|         	"discrete" eingefhrt, mit anderem plot_hist() Aufruf.
|                 (Nicht bernommen, da die Lsung in Bernhards Hacks besser ist.)        		             
| 


Changes up to Bernhard`s Hacks v0.10:
(Changing the version number in statist.h is not further mentioned.)

Wed Feb 11 10:52:58 UTC 1998	Bernhard Reiter
bv0.10
	* in procs.c
        	autoclass and choosing a number of classes now
                	use the same algorithm 

Fri Jan 16 20:40:11 UTC 1998	Bernhard Reiter
bv0.09
	* in plot.c / plot_histo()
        	gnuplot command "set xtics" is only done with numbers,
                	if the plot would have not more than ten classes
        * type in statist.h fixed
                       
Thu Jan 15 22:53:25 UTC 1998	Bernhard Reiter
	* typo in menue.c fixed: Datenmaniputlation
        
Wed Jan 14 18:11:40 UTC 1998	Bernhard Reiter
	* changed plot.c
        	-sets gnuplot variable linestyle=1 per default.
                -Leaves more space on the top of histo-plots
                especially if the maxy is high
                
Sun Jan 11 17:58:56 UTC 1998	Bernhard Reiter
bv0.08
	* changed plot.c:
        	sets gnuplot variable "linestyle=2" and plot_histo uses that
                the user can now change the linestyle and do replot
                with typing e.g. "linestyle=1" as a gnuplot command 
                "Haeufigkeit" --> "Hufigkeit" at ylabel

Dec 23 1997	Bernhard Reiter 
bv0.07
	* added: natural log and exp transformation 
        * added: hint for "alle" at column selection for correlation matrix 
        * changed: behaviour when plotting histograms
        	sets the classes different and more correctly
                checks for discret data and uses plot_histo_discrete then
        	TODO: adapt automatic class estimation to that.
        * new/changed: plot_histo and plot_histo_discrete
        	plot_histo will plot with "linestyle 2" must have gnuplot 3.6
        
Jul 23 1997	Bernhard Reiter
	* added: Option "--bernhard" 
        	=> Table output at misc/standard deviation
                => if "-noplot" is given, no text histogram will be put out


Changes up to Bernhards Bugfixes v0.01:

Wed Jul 23 18:22:36 UTC 1997	Bernhard Reiter
	* procs.c (standard()) fixed a bug, which caused a seg-fault, if
		a higher min or lower max was choosen for standard.

	* procs.c (outlier()) fixed a bug.
		The new column was not created correctly.
		(It was obivously forgotten, when Dirk changed 
		make_new_col() )

Last revision from Dirk was v0.11.
