Changes up to 1.3.0: by Bernhard Reiter : * Fixed the unit tests. + tests/test_4_1.sh: fixed test: expecting new comment in the output. + tests/check_memory_handling.c: fixed test for "check" v>=0.9.0. * Minor editing of the English manual. + Minor clean of doc/Makefile: - Ignoring errors of rm. - Declared phony targets .PHONY. Also rewrote "all" target. + Called the operating system GNU/Linux as Linux is only a kernel. + Made the message recommending Free Software friendlier and more correct about the security implications. + added the gnuplot method to create output files. + updated the build and install instructions. "su -" in general is prefered over "su". Changes up to 1.3.0: by Jakson Aquino * Added myrealloc() to memoryhandling.c. * Added the function getline() to data.c, adapted from the GNU function getndelim2() (coreutils/lib/getndelim2.c). * New options format. Long option begin with `--', and now we have short versions of the options. * Small changes in the code to keep it compiling on DOS/Windows: gettext support is working under Windows. The use of pgnuplot makes possible the communication with gnuplot through pipe. Statist looks for message catalogs in %WINDIR% and saves temporary files in %TEMP%, which are Windows environment variables. * Updated documentation (English and Portuguese). * Added new features: (1) extract columns from fixed width data file; (2) extract a sample from the rows of a file; and (3) recode a Statist data file. * Replaced the option -delrow with a new system. Now, the rows are deleted during analyzes (when necessary), and we are using the smallest double number as missing value. It was necessary a lot of data manipulation to do some analyzes with the old system. Changes made with helpfull comments by Andreas Beyer and Bernhard Reiter. * Fixed defaults names given to columns after column z. Now, after z, we have aa, ab, ac ... The columns were receiving non-alpha numeric or even unprintable characters as names. * With Andreas Beyer and Bernhard Reiter, fixed conflict between gettext and gnuplot, setting locale to C before working with data files and with gnuplot, and resseting locale to current locale after these tasks. * Translation into English of comments that still were in German. With the help of Michael Gebhard and Bernhard Reiter. Changes up to June 2005 (cvs version of Statist) by Bernhard Reiter * added first part of new English manual by Jakson Aquino and README in doc/. * eliminated lang_defs.h as proposed by Jakson Aquino, because we will only have two language in the source and others with gettext. * funcs.[hc] Removed unused function get_quantile(). (This was in the code a long while and unused even before 0.11.b010.) * Added Makefile.inc to have a central place to configure where stuff is installed and the message cataloges are searched in. Included it from */Makefile. * src/Makefile: Added an "install" target. * added new directory po with translations. The work was done by Jakson Aquino. (This is untested so far, as a recent gettext and root right are currently necessary.) Added translations de_DE.po Original statist texts es_ES.po Carlos Enrique Carleos Artime pt_BR.po Jakson Alves de Aquino it_IT.po Nicola Intini * statist.h: Bumbed publishing year to 2005, added newline between copyright and the hint. * src/*: Checked in a lot of language corrections by Jakson Aquino. Mainly the English test is improved, but also some translations were added and Bernhard made some additional improvements. * Makefile: added rule for memory_handling.o (patch by Jakson Aquino). * statist.h: removed declaration of external errno as int. Both K&R and the GNU libc manual (section Checking for Errors) mention that this is declared in errno.h, which leaves the possibility of this being a macro and not a real int. * removed very old unused file src/iodefs.c from the repository. (It had been made inactive before statist 0.12. in 1998.) * preparations for gettext usage: * Makefile: Moved LANGUAGE into EXTRACFLAGS. Added examples for running xgettext, msgmerge and msgfmt and EXTRACFLAGS settings. * data.c, menu.c, procs.c: Indicated choice defaults, switched y from char to string in preperating for using real gettext. * menu.c,statist.c: Added double translatable _ALL_. * gettext.h: Updated header. Added N_() Makros. Including and instread of . * statist.c: added setting of locale for LC_CTYPE and LC_MESSAGES when using gettext. * statist.c: Changed way of printing the VERSION_INFO to make it translatable. Added printout of compile flags like DEBUG LOCALEDIR or LANG. * statist.h: New VERSION_INFO to make it translatable. Added LOCALEDIR fallback. * statist.h: _ALL_ is N_() here. * Resolved name clash with out_err errno, discovered by Stefan Fronzek trying to compile on Cygwin. * added hint for compilation with MinGW (Thanks to Andreas Beyer). Changes up to v1.0.1: Bernhard Reiter * 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 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 src/oldmakefiles 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 ) * include 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 für 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 für die grafische Oberfläche möglich, | den gesamten output, der sich auf eine Menufunktion bezieht in einem | Fenster darzustellen. [..] | Für diese Funktionen gelten strenge Regeln: | (a) Vor dem Aufruf des ersten out_r() MUSS out_start() ausgeführt werden. | (b) Vor dem Verlassen einer Prozedur MUSS out_end() ausgeführt werden. | (c) Beide Funktionen dürfen/müssen 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 können. 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 für v0.12 übernommen wurden. | | plot_histo hat sich geändert. 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 geändert, 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 Länge 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 Länge 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 Ergänzung 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 für die | lineare Regression zu definieren, verwenden jetzt Variablen. | | plot_histo() | (Änderungn für Parameter discrete wurden von mir nicht | übernommen) | | procs.c:multiple_reg() | Erstmal neue Variablen: int j, REAL *resi, theo | Später wird eine Spalte "resi" angelegt, bzw. aufgefrischt. | | equal_freq() und compare_freq() | Neue Variable: REAL chi; | chisq wird mit Zwischenwert chi berechnet. | | standard() | "discrete" eingeführt, mit anderem plot_hist() Aufruf. | (Nicht übernommen, da die Lösung 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" --> "Häufigkeit" 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.