Suggestions for NEWS from John Darrington.
[pspp-builds.git] / NEWS
1 PSPP NEWS -- history of user-visible changes.
2 Time-stamp: <2007-11-04 08:01:18 blp>
3 Copyright (C) 1996-9, 2000 Free Software Foundation, Inc.
4 See the end for copying conditions.
5
6 Please send PSPP bug reports to bug-gnu-pspp@gnu.org.
7
8 Changes since 0.4.3:
9
10   * The PSPP license is now version 3 or later of the GNU General
11     Public License.  Previously, it was version 2 or later.
12
13   * PSPP now has a graphical interface, called PSPPIRE.  This
14     interface allows you to enter data and variable definitions
15     interactively.  Commands may be executed in syntax form, or by
16     using the interactive dialog boxes available from the dropdown
17     menus.
18
19   * A few sample syntax files are now included in the `examples'
20     directory.
21
22   * Numerous major and minor bugs have been fixed.
23
24   Build changes:
25
26     * The INSTALL file now reflects the details of how to install
27       PSPP.  It is a tailored version of the generic installation
28       instructions, instead of a verbatim copy.
29
30     * iconv, which is ordinarily installed as part of a Unix-like
31       system, is now required.  If you don't have it already, you can
32       install GNU libiconv (http://www.gnu.org/software/libiconv/).
33
34     * libxml2 and zlib are new optional dependencies.  They are
35       required to use PSPP's support for reading Gnumeric files.
36
37   Statistical procedure changes:
38
39     * REGRESSION is a new procedure for fitting linear models to data
40       via least-squares estimation.
41
42     * NPAR TESTS is a new procedure for non-parametric tests.  In this
43       release, it supports binomial and chi-square tests.
44
45     * RANK is a new procedure to rank variables.  It supports numerous
46       forms of ranking.
47
48     * FREQUENCIES can now output histograms and pie charts.  These
49       features were present in earlier releases, but not documented.
50
51   User interface changes:
52
53     * In many situations where PSPP once terminated with a fatal
54       error, PSPP now recovers and continues execution.
55
56     * Journaling of interactive commands to a disk file is now
57       implemented.  By default, journaling is enabled, to a file named
58       `pspp.jnl' in the current directory.  SET JOURNAL may be used to
59       control journaling.
60
61     * The use of `+' between syntax file names on the command line to
62       prevent the dictionary from being cleared between their
63       executions is no longer supported.  All syntax files are now
64       executed as if `+' had been specified.
65
66     * The -d/--define and -u/--undef command line options are no
67       longer supported.  Instead, use /usr/bin/env or shell primitives
68       to define or clear environment variables before invoking PSPP.
69
70     * If a syntax file named named `rc' is found in a configuration
71       directory (such as $HOME/.pspp), it is executed before any
72       syntax file specified on the command line.  The -r or
73       --no-statrc command line option may be used to disable this
74       behavior.
75
76   Output changes:
77
78     * Most error messages are now written to PSPP output files by
79       default.  SET ERROR can be used to disable this behavior.
80
81     * When invoked interactively, PSPP now by default produces output
82       on the terminal, piping it through the "more" program.
83       Previously, by default output was written only to file
84       pspp.list.  On most terminals, the page length used for output
85       automatically adapts to the terminal size, even if the terminal
86       is resized.
87
88     * The ASCII output driver now supports charts in output.  Charts
89       are written as separate files that the main output file refers
90       to.  By default, charts are written in PNG format to files named
91       pspp-1.png, pspp-2.png, and so on.
92
93     * An output device is provided that uses VT100 (and xterm)
94       line-drawing characters in tables.  The option "-o list-vt100"
95       requests use of this device for output to pspp.list.
96
97     * The default paper size for the PostScript driver is now determined
98       using the PAPERSIZE environment variable, or the LC_PAPER locale
99       category on systems that support it.  If these are not set, the
100       default is now A4, instead of US letter.  To make US letter the
101       default, set PAPERSIZE to "letter" in your environment.
102
103     * Standard paper sizes no longer need to be specified through a
104       configuration file.  The "papersize" configuration file is no
105       longer needed, or supported.
106
107     * The HTML and PostScript prologues are no longer obtained from
108       the "html-prologue" and "ps-prologue" configuration files.
109       These configuration files are no longer needed, or supported.
110
111   Command language changes:
112
113     * The following commands are new:
114
115       - GET DATA, which currently supports reading Gnumeric files.  It
116         will be extended later to read other types of foreign data.
117
118       - CD, to change the current directory.
119
120       - INSERT, to execute a syntax file.
121
122       - DELETE VARIABLES, to remove variables from the active file
123         dictionary.
124
125       - ADD DOCUMENT, to add text to active file documents.
126
127       - XEXPORT, a PSPP extension that is a transformation equivalent
128         to EXPORT.
129
130     * The following functions for transformation expressions are new:
131
132       - DATEDIFF, for computing the difference of two dates.
133
134       - DATESUM, for advancing a date by a specified duration.
135
136       - VALUELABEL, to obtain the value label for a value.
137
138     * MATCH FILES now supports the FIRST and LAST subcommands.
139
140     * Previous versions of PSPP prohibited using commands to both read and
141       write a single file at the same time.  Now, PSPP allows this, and
142       the new version of the file atomically replaces the old version.
143
144     * The following commands are no longer available.  They will be
145       re-implemented in a later release:
146
147       - CLEAR TRANSFORMATIONS
148
149       - MATRIX DATA
150
151       - REPEATING DATA
152
153     * The PROCESS IF command, which was deprecated, has been removed.
154       You may replace any usage of it by SELECT IF following
155       TEMPORARY, which has the same effect.
156
157     * The output format for variables created by VECTOR may now be
158       specified as part of the VECTOR syntax.
159
160   Data access changes:
161
162     * Binary formats and IBM/360 formats, including ASCII/EBCDIC
163       translation, are now supported.  Use FILE HANDLE to specify the
164       format of these files.
165
166     * Little-endian, big-endian, and VAX-endian formats are now
167       supported for integer binary formats when reading and writing
168       data files.  The new RIB and WIB subcommands on the SET command
169       control endianness of integer data.  The default is the host's
170       native endianness.
171
172     * IEEE 754, VAX, and IBM hexadecimal formats are now supported for
173       floating point binary formats when reading and writing data
174       files.  The new RRB and WRB subcommands on the SET command
175       control the floating point format.  The default is the host's
176       native floating point format.
177
178     * DATA LIST now supports the SKIP subcommand, to skip records at
179       the beginning of a file.  For compatibility, DATA LIST now
180       treats N format as F format for FREE and LIST format input.
181
182     * The SAVE and XSAVE commands now support the UNSELECTED,
183       PERMISSIONS, NAMES, and MAP subcommands.
184
185     * The EXPORT command has been re-implemented to obtain better
186       results.  Support for the UNSELECTED, DIGITS, and TYPE
187       subcommands has been added.
188
189     * For compatibility, PRINT now inserts a space at the beginning of
190       every output line, even lines that would otherwise be blank,
191       when OUTFILE is specified.  (The behavior of WRITE is
192       unchanged.)
193
194     * For compatibility, PRINT EJECT now inserts the digit `1' at the
195       beginning of each line that should begin a new page.
196
197     * For compatibility, WRITE now outputs the system-missing value as
198       a field filled with spaces.  Binary formats are an exception.
199       (The behavior of PRINT is unchanged.)
200
201   Documentation:
202
203     * Input and output format descriptions have been rewritten.  They
204       now precisely describe what is accepted on input and written on
205       output.
206
207     * The descriptions of the PSPP system and portable file formats
208       have been extensively revised and improved.
209
210   For developers, the build system now requires Autoconf 2.60 and
211   Automake 1.10.
212 \f
213 Changes since 0.4.0 to 0.4.1:
214
215   Added support for very long string variables (over 255 bytes long).
216
217   Output changes:
218
219     * Output configuration options have changed.  Please refer to the
220       manual for a full description of the available options.
221
222       In consequence, you will need to reinstall your "devices" file.
223       "make install" will do this for you.
224
225     * The PostScript driver now obtains font metrics from AFM files,
226       instead of Groff-format metrics files.  It can now embed
227       PostScript fonts in its output.
228
229       In consequence, you will need to install an AFM file for each
230       font used in PostScript output.  "make install" will install AFM
231       files for the standard PostScript files, including the ones that
232       the PostScript driver uses by default.
233
234   Newly implemented commands and statistical features:
235
236     * CLOSE FILE HANDLE (a PSPP extension; see below).
237
238     * REGRESSION.
239
240     * XEXPORT (a PSPP extension).
241
242   New PSPP extension:
243
244     A new PSPP extension called "scratch files" has been implemented.
245     A scratch file, like a system file, consists of a dictionary and
246     any number of cases.  Small scratch files are stored in memory;
247     one that grows too large is written to disk.  By default, any file
248     handle whose name begins with # is assumed to refer to a scratch
249     file.
250
251     Scratch files can be used just about anywhere a system or portable
252     file can be used.  Also, portable files are now allowed in most
253     places that system files were allowed in previous PSPP version.
254
255     A new CLOSE FILE HANDLE command allows the storage associated with
256     scratch files to be freed.  It also allows file handles to be
257     reassigned to new files.
258
259     For more information on scratch files, refer to the "File Handles"
260     section in the PSPP manual.  For specifics of what commands now
261     allow what kinds of files to be specified, refer to the
262     documentation on those particular commands.
263
264   PSPP is now able to start up and run even if it cannot find its
265   configuration files.
266
267 Changes from 0.3.0 to 0.4.0:
268
269   Changes in build dependencies:
270
271     * The GNU Scientific Library (libgsl), version 1.6 or later, is
272       now required.
273
274     * libplot from GNU plotutils is optional.  Without it, the new
275       graphing features will not work.  If you do not have it
276       installed, you must run `configure' with --without-libplot.
277
278     * libgmp2 is no longer a dependency.
279
280   Newly implemented commands and statistical features:
281
282     * EXAMINE, including its graphing features.
283
284     * FREQUENCIES now supports percentiles.
285
286     * ONEWAY.
287
288     * PERMISSIONS.
289
290     * SHOW.
291
292     * SORT CASES now sorts stably, that is, two cases with equal sort
293       criteria will be in the same relative order before and after the
294       sort.
295
296     * T-TEST (re-written).
297
298     * DATE and USE.  These commands are parsed but otherwise ignored,
299       to enhance compatibility with certain command files that invoke
300       them unnecessarily.
301
302     * VARIABLE WIDTH, VARIABLE ALIGNMENT, and VARIABLE LEVEL.  These
303       currently have no effect on PSPP output, but their values are
304       written to and read from system files and thus may affect
305       third-party software.
306
307     * SET EPOCH implemented.
308
309     * DATA LIST FREE and DATA LIST LIST now support arbitrary field
310       delimiters.
311
312     * FILE HANDLE now supports custom tab widths.
313
314   Long variable names (and other identifiers) are now supported.  Up
315   to the first 64 bytes of each identifier is significant.  PSPP now
316   reads and writes system files compatible with SPSS version 12.
317
318   New --algorithm and --syntax command line options allow
319   SPSS-compatible or enhanced modes to be selected.
320
321   Support for transformation expressions has been rewritten and
322   significantly improved.  Refer to the manual for details.
323
324   Calculation of moments (mean, standard deviation, kurtosis,
325   skewness) has been rewritten and should now be more accurate.  In
326   --algorithm=enhanced mode moments may be more accurate than SPSS in
327   some cases.
328
329   Numerous bugs have been fixed, too many to mention here.  Many new
330   tests have been added, leading to the discovery and fixing of many
331   of these bugs.
332
333   The ASCII output driver can now squeeze multiple blank lines into
334   single blank lines.
335
336   Much of the code has been rewritten and refactored.  It is now much
337   cleaner.
338
339   The FILE TYPE and REPEATING DATA commands have been disabled for
340   this release because their implementations were deemed too buggy to
341   be useful.  They will be fixed and replaced in a future release.
342
343   New pspp-mode for Emacs (in pspp-mode.el).
344
345   Added rudimentary command-line completion for interactive input.
346
347   lib/julcal and lib/dcdflib are no longer used, so they have been
348   removed.
349
350   For developers, the build system now requires Autoconf 2.58 and
351   Automake 1.7.  The included gettext has been updated to version
352   0.12.1.
353
354   Some reports state that Texinfo 4.8, the latest version, may be
355   necessary to successfully format the documentation on some systems.
356
357 Version 0.3.0 changes since 0.2.3:
358
359   Bugs fixed:
360
361     * Using alphanumeric variables in functions under AGGREGATE
362       segfaulted.  Fixed.
363
364     * Under certain circumstances, the final case would be omitted
365       from the results of an AGGREGATE operation.  Fixed.
366
367     * Undefined behavior was invoked by referencing a freed pointer
368       under certain circumstances.  Fixed.
369
370     * A wrong record size was displayed when paging the active file to
371       disk.  Fixed.
372
373     * Not having enough temporary space for sorting caused a core
374       dump.  Fixed.
375
376     * Syntax errors in function descriptions on AGGREGATE caused core
377       dumps.  Fixed.
378
379     * A null pointer was dereferenced, causing a core dump, when
380       PERCENTILES was specified on FREQUENCIES.  This fixes the
381       problem, but PSPP still doesn't calculate percentiles.
382
383     * SORT always sorted in ascending order.  Fixed.
384
385     * Some minor memory leaks in the expression parser were removed.
386
387     * Many assertions fixed for strict ANSI C compliance.
388
389   New features:
390
391     * SET ECHO ON now implemented, but turned off by default.
392
393     * PRINT specifier supported on END REPEAT.
394
395   Other:
396
397     * System libgmp2 library is used if installed instead of
398       unconditionally using the included libgmp2 subset.
399
400     * Extensive code cleanup, which continues.
401
402     * Added CORRELATIONS command parser, but not implemented.
403
404 Version 0.2.3 changes since 0.2.2:
405
406   Bugs fixed:
407
408     * SPLIT FILE with a string variable caused a core dump.  Fixed.
409
410     * Nested INCLUDEs didn't work.  Fixed.
411
412     * The MATCH FILES procedure set the values of variables not present
413       to 0.  It should have been SYSMIS.  This is now fixed.
414
415     * The REMARK command was too aggressive about skipping lines.  It
416       didn't like being the last command in a file.
417
418     * Comment parsing wasn't consistent with the rest of the code in its
419       idea of where one command ends and another starts.  This meant
420       that sometimes commands would be mysteriously ignored.  Thanks to
421       Dr. Dirk Melcher <BZN-mdksh@t-online.de> for reporting this bug.
422
423     * The TABLE subcommand on MATCH FILES worked only erratically at
424       best.  This fixes it.  Thanks to Dr. Dirk Melcher
425       <BZN-mdksh@t-online.de> for reporting this bug.
426
427     * VARIABLE LABELS rejected a slash before the first variable
428       specification, contradicting the documentation.  Thanks to Walter
429       M. Gray <graywm@northernc.on.ca> for reporting this bug.
430
431     * Because of an incorrect optimization in memory allocation,
432       CROSSTABS sometimes segfaulted when asked to output multiple
433       tables.  Thanks to Walter M. Gray <graywm@northernc.on.ca> for
434       reporting this bug.
435
436     * CROSSTABS didn't display value labels for column and row
437       variables.  Thanks to Walter M. Gray <graywm@northernc.on.ca> for
438       reporting this bug.
439
440     * WRITE didn't write line ends.  Fixed.  Thanks to Dr. Dirk Melcher
441       <BZN-mdksh@t-online.de> for reporting this bug.
442
443     * The TABLE subcommand on MATCH FILES worked only erratically at
444       best.  This fixes it.  Thanks to Dr. Dirk Melcher
445       <BZN-mdksh@t-online.de> for reporting this bug.
446
447     * VARIABLE LABELS rejected a slash before the first variable
448       specification, contradicting the documentation.  Thanks to Walter
449       M. Gray <graywm@northernc.on.ca> for reporting this bug.
450
451     * Because of an incorrect optimization in memory allocation,
452       CROSSTABS sometimes segfaulted when asked to output multiple
453       tables.  Thanks to Walter M. Gray <graywm@northernc.on.ca> for
454       reporting this bug.
455
456     * CROSSTABS didn't display value labels for column and row
457       variables.  Thanks to Walter M. Gray <graywm@northernc.on.ca> for
458       reporting this bug.
459
460     * WRITE didn't write line ends.  Fixed.  Thanks to Dr. Dirk Melcher
461       <BZN-mdksh@t-online.de> for reporting this bug.
462
463     * MATCH FILES corrupted memory and dumped core on some syntax
464       errors.  Fixed.
465
466     * MATCH FILES should set numeric values not available to the
467       system-missing value, not to 0.  Thanks to Dr. Dirk Melcher
468       <BZN-mdksh@t-online.de> for reporting this bug.
469
470     * KEEP didn't work properly on the SAVE procedure.  Fixed.  Thanks
471       to Ralf Geschke <ralf@kuerbis.org> for reporting this bug.
472
473     * Memory leak fix.
474
475     * Some systems didn't like the way open_file was coded.  Thanks to
476       Hankin <hankin@rogue.consultco.com> for pointing this out.
477
478     * The SAVE procedure didn't save long string variables properly.
479       Fixed by this patch.  Thanks to Hankin
480       <hankin@rogue.consultco.com> for this patch.
481
482     * Minor documentation fixes for MATCH FILES.
483
484 Version 0.2.2 changes since 0.2.1:
485
486   Bugs fixed:
487
488     * Fix behavior of PRINT SPACE for negative arguments.
489
490     * Fix reading some unusual system files.
491
492     * Fix LIST problems with very long variables.  Thanks to Hankin
493       <hankin@dunno.com> for this bug report.
494
495     * Fix problems with some string format specifiers.
496
497     * Fix use of $CASENUM in expressions.  Thanks to Dirk Melcher
498       <BZN-mdksh@t-online.de> for reporting this bug.
499
500     * Additional DATA LIST FREE and DATA LIST LIST fixes.  Thanks to
501       Hankin <hankin@dunno.com> again on this one.
502
503     * Sometimes you may encounter a PSPP script that has to be
504       interpreted in interactive mode.  Now you can use the -i flag to
505       do this.
506
507     * Warnings for egcs 1.1.1 cleaned up.  (However you'll get lots of
508       `unused variable' warnings under gcc 2.7.2.3, fixing this will
509       take more effort.)
510
511     * Tests fixed.
512
513     * The files in gmp need the internationalization directory in
514       their include path.  Thanks to OKUJI Yoshinori
515       <okuji@kuicr.kyoto-u.ac.jp> for pointing this out.
516
517 Version 0.2.1 changes since 0.2.0:
518
519   Bugs fixed:
520
521     * Remember to include examples/ directory in distribution :-)
522
523     * Fixed gmp compile problems for some non-i386 architectures.
524       Thanks to Hans Olav Eggestad <olav@jordforsk.nlh.no> and others
525       for reporting this.
526
527     * DATA LIST FREE and DATA LIST LIST parsing of input files is now
528       matches the documented behavior exactly, and error messages are
529       more helpful.  Thanks to Mark H. Wood <mwood@IUPUI.Edu>.
530
531 Version 0.2.0 changes since 0.1.0:
532
533   Procedures now implemented:
534     * CROSSTABS.  Please see documentation for caveats.
535
536   Transformations and utilities now implemented:
537     * AGGREGATE
538     * APPLY DICTIONARY
539     * CLEAR TRANSFORMATIONS
540     * DISPLAY (all subcommands).
541     * ERASE
542     * FLIP
543     * EXPORT
544     * HOST
545     * IMPORT
546     * MATCH FILES
547     * MATRIX DATA
548     * NEW FILE
549     * REPEATING DATA
550
551   Support for input and output through pipes: "|command" and
552   "command|" filenames; support for special filenames "-", "stdin",
553   "stdout", "stderr".
554
555   New command-line features:
556     * New option --testing-mode: Invoke heuristics to assist testing.
557     * New option --safer, -s: Don't allow certain unsafe operations.
558     * New option --command=CMD, -c CMD: Perform literal command CMD.
559     * rc file ~/.pspp/rc is executed before any other files.
560     * Now multiple syntax files can be specified.
561
562   Operator LAG is now implemented.
563
564   Added missing FILE subcommand to REREAD.
565
566   Table output manager completely rewritten.
567
568   Device configuration file syntax changed.  You will need to
569   reinstall your `devices' file.
570
571   New output driver for HTML.
572
573   PostScript driver and prologue simplified.
574
575   Many bugs fixed.  General source-code cleanup.
576
577   Added Texinfo documentation for:
578     * PSPP system file format
579     * PSPP portable file format
580     * How to write input for q2c parser generator
581     * HTML driver
582
583   PSPP language is now fully documented.  Please report any
584   inaccuracies or omissions in the documentation.
585
586 Changes for version 0.1.0:
587
588   First public release.  For changes from unreleased development
589   versions, please see ONEWS.
590 \f
591 ----------------------------------------------------------------------
592 Copyright information:
593
594 Copyright (C) 1996-9, 2000 Free Software Foundation, Inc.
595
596    Permission is granted to anyone to make or distribute verbatim
597    copies of this document as received, in any medium, provided that
598    the copyright notice and this permission notice are preserved, thus
599    giving the recipient permission to redistribute in turn.
600
601    Permission is granted to distribute modified versions of this
602    document, or of portions of it, under the above conditions,
603    provided also that they carry prominent notices stating who last
604    changed them.
605 \f
606 Local variables:
607 version-control: never
608 mode: indented-text
609 end: