1 PSPP NEWS -- history of user-visible changes.
2 Time-stamp: <2010-11-21 11:14:27 blp>
3 Copyright (C) 1996-9, 2000, 2008, 2009, 2010 Free Software Foundation, Inc.
4 See the end for copying conditions.
6 Please send PSPP bug reports to bug-gnu-pspp@gnu.org.
8 Changes from 0.7.3 to 0.7.6:
10 * NPAR TESTS now supports the /KRUSKAL-WALLIS and /RUNS subcommands.
12 * AUTORECODE now supports the /GROUP subcommand.
14 * The MRSETS command is now implemented.
16 * SAVE TRANSLATE is now implemented, with initial support for saving
17 data in comma-separated value and tab-delimited formats.
19 * The PRESERVE and RESTORE commands are now implemented.
21 * The HOST command has been updated to use more modern syntax.
23 * The SET and SHOW commands no longer support the ENDCMD and NULLINE
24 subcommands. The defaults are now the only supported values.
26 Changes from 0.7.2 to 0.7.3:
28 * Charts are now produced with Cairo and Pango, instead of libplot.
29 Without them, the new graphing features will not work. If you do
30 not have Cairo and Pango installed, you must run `configure' with
33 * The new "cairo" output driver supports output in PostScript, PDF,
34 and SVG formats. Its functionality is a superset of that of the
35 "postscript" driver, which has been removed. You must have Cairo
36 and Pango installed to build the "cairo" driver.
38 Changes from 0.7.1 to 0.7.2:
40 * Updated Perl module interface.
42 * Value labels for long string variables are now supported.
44 * Missing values for long string variables are now supported.
46 Changes from 0.7.0 to 0.7.1:
48 * Added a perl module to facilitate reading and writing of pspp system
49 files from perl programs.
51 Changes from 0.6.2-pre6 to 0.7.0:
53 * Custom variable and data file attributes are now supported.
54 Commands VARIABLE ATTRIBUTE and DATAFILE ATTRIBUTE have been added
55 for setting and clear attributes. Support for attributes has also
56 been added to commands that read and write system files, such as
57 SAVE and GET, as well as to the DISPLAY command.
59 * Numererous improvements to the Graphical User Interface have
60 made. Notable improvements include:
62 - Non-Ascii characters in strings, labels and variable names are
65 - A "Split Window" function is available, which makes it easier to
66 see different parts of a large data file.
68 - Data files can now be opened by specifing their name as the first
69 argument. This means that on a properly configured desktop, double
70 clicking on an icon will open the file.
73 * New statistical procedures:
78 NPAR TESTS now supports the WILCOXON and SIGN subcommands.
80 The CROSSTABS command has been completely re-implemented to fix numerous bugs.
82 * Three new commands to combine data files have been added: MATCH FILES,
85 * A tutorial chapter has been added to the user manual.
87 Changes from 0.6.1 to 0.6.2
91 - Dutch, thanks to Harry Thijssen.
93 - Brazilian Portuguese, thanks to Michel Boaventura.
95 Thanks for translations are also due to the coordinators at
96 translationproject.org.
98 * Statistical bug fixes:
100 - REGRESSION: Report correct standard error of the estimate (bug
103 - T-TEST: Report correct significance of paired sample T-test in
104 the common case (bug #26936) and corner cases. Thanks to Mike
105 Griffiths and Matej Cepl for reporting these bugs.
107 * Build fixes and changes:
109 - Fix build with GTK+ 2.17.4 and later.
111 - Make running "make" after running "configure" with different
112 settings reliably rebuild version.c.
114 - Cygwin and MinGW build fixes.
116 - Fixes for building with recent gnulib.
118 - The Makefile now honors two new variables, PSPP_LDFLAGS and
119 PSPPIRE_LDFLAGS, that affect linking of the PSPP and PSPPIRE
120 binaries, respectively. This makes building easier for some
123 - Fixes for "configure --enable-relocatable" (bug #25508).
125 * Data file bug fixes and changes:
127 - Fix reading text data files that contain a mix of white space
128 and commas. Now "a ,b" is treated as two fields containing "a"
129 and "b"; previously it was treated as three, with an empty field
132 - Fix writing corrupted .sav files on Windows.
134 - Fix writing variable labels longer than 252 bytes to save files.
135 Thanks to Robert Westlund for reporting this bug.
137 - Fix writing corrupted .por files (bug #26034).
139 - Fix reading .por files whose initial lines are not padded out
140 with spaces as expected.
142 - PSPP will no longer issue warnings about some .sav file records
143 or values that it does not understand. These warnings were
144 harmless, but needlessly alarmed some users.
146 - Fix crash reading empty string fields from PostgreSQL databases.
148 * Bug fixes that affect PSPP and PSPPIRE:
150 - Users may now control precision of output statistics. Instead
151 of hard coding the width and decimals of output numbers, respect
152 the default format in most instances. Counts are now normally
153 displayed with the format of the weight variable, if any.
155 - Fix crash when an INSERT command specifies the name of a file
156 that does not exist (bug #24569).
158 - Fix crash when CROSSTABS specifies a long-string variable (bugs
161 - Fix crash drawing pie charts with many segments.
163 - Fix crash when NUMERIC specifies an invalid format.
165 * PSPPIRE bug fixes and changes:
167 - On Windows, write the output file to the user's home directory
168 instead of the current directory, to better match user
171 - Some data editor fixes.
175 - Fix typo in BINOMIAL section of user manual (bug #25892).
177 Changes from 0.6.0 to 0.6.1:
179 * Statistical bug fixes:
181 - Report correct standardized regression coefficients in linear
182 regression output (bug #23567).
184 * Bug fixes that affect PSPP and PSPPIRE:
186 - Avoid crash with pie charts (bug #24014).
188 - Don't append % to count totals (bug #24003).
190 - Don't crash on bad input (bug #24031).
192 - Don't crash if "end data." is not left aligned (bug #24115).
194 - Change default workspace value to 64 MB, to avoid unnecessary
195 disk accesses on modern machines.
199 - Add ".sav" or ".por" suffix to filename when saving with Save_As
202 - Make it possible to reopen the output window on Windows (bug
205 - A POSIX regular expression library is now included and used
206 automatically if the host does not have one or has one that is
209 * Build fixes and changes:
211 - Work around bug in GSL that prevented build with recent GCC
212 versions without manually adding -fgnu89-inline to CFLAGS.
214 - Also warn about missing prerequisites as we encounter them (bug
217 - Distribute necessary files to allow users working from the
218 distributed tarball to configure with --enable-gui-tools.
220 - Append $(EXEEXT_FOR_BUILD) to output file name when building
221 q2c, fixing build problems on Windows.
223 - GSL 1.8 or later is now required.
225 - Build errors with --enable-relocatable were fixed.
227 * The German translations were removed, since native German speakers
228 found them too poor to be useful.
230 Changes from 0.4.0 to 0.6.0:
232 * The PSPP license is now version 3 or later of the GNU General
233 Public License. Previously, it was version 2 or later.
235 * PSPP now has a graphical interface, called PSPPIRE. This
236 interface allows you to enter data and variable definitions
237 interactively. Commands may be executed in syntax form, or by
238 using the interactive dialog boxes available from the dropdown
241 * A few sample syntax files are now included in the `examples'
244 * Numerous major and minor bugs have been fixed.
248 * The INSTALL file now reflects the details of how to install
249 PSPP. It is a tailored version of the generic installation
250 instructions, instead of a verbatim copy.
252 * iconv, which is ordinarily installed as part of a Unix-like
253 system, is now required. If you don't have it already, you can
254 install GNU libiconv (http://www.gnu.org/software/libiconv/).
256 * libxml2 and zlib are new optional dependencies. They are
257 required to use PSPP's support for reading Gnumeric files.
259 Statistical procedure changes:
261 * REGRESSION is a new procedure for fitting linear models to data
262 via least-squares estimation.
264 * NPAR TESTS is a new procedure for non-parametric tests. In this
265 release, it supports binomial and chi-square tests.
267 * RANK is a new procedure to rank variables. It supports numerous
270 * FREQUENCIES can now output histograms and pie charts. These
271 features were present in earlier releases, but not documented.
273 User interface changes:
275 * In many situations where PSPP once terminated with a fatal
276 error, PSPP now recovers and continues execution.
278 * PSPP is now able to start up and run even if it cannot find its
281 * Journaling of interactive commands to a disk file is now
282 implemented. By default, journaling is enabled, to a file named
283 `pspp.jnl' in the current directory. SET JOURNAL may be used to
286 * The use of `+' between syntax file names on the command line to
287 prevent the dictionary from being cleared between their
288 executions is no longer supported. All syntax files are now
289 executed as if `+' had been specified.
291 * The -d/--define and -u/--undef command line options are no
292 longer supported. Instead, use /usr/bin/env or shell primitives
293 to define or clear environment variables before invoking PSPP.
295 * If a syntax file named named `rc' is found in a configuration
296 directory (such as $HOME/.pspp), it is executed before any
297 syntax file specified on the command line. The -r or
298 --no-statrc command line option may be used to disable this
303 * Output configuration options have changed. Please refer to the
304 manual for a full description of the available options.
306 In consequence, you will need to reinstall your "devices" file.
307 "make install" will do this for you.
309 * Most error messages are now written to PSPP output files by
310 default. SET ERROR can be used to disable this behavior.
312 * When invoked interactively, PSPP now by default produces output
313 on the terminal, piping it through the "more" program.
314 Previously, by default output was written only to file
315 pspp.list. On most terminals, the page length used for output
316 automatically adapts to the terminal size, even if the terminal
321 - This driver now supports charts in output. Charts are written
322 as separate files that the main output file refers to. By
323 default, charts are written in PNG format to files named
324 pspp-1.png, pspp-2.png, and so on.
326 - Configurations are provided that use VT100 (and xterm)
327 line-drawing characters in tables. The option "-o list-vt100"
328 requests use of this device for output to pspp.list.
332 - The default paper size is now determined using the PAPERSIZE
333 environment variable, or the LC_PAPER locale category on
334 systems that support it. If these are not set, the default is
335 now A4, instead of US letter. To make US letter the default,
336 set PAPERSIZE to "letter" in your environment.
338 - Font metrics are now read from AFM files, instead of
339 Groff-format metrics files. PostScript fonts can now be
342 In consequence, you will need to install an AFM file for each
343 font used in PostScript output. "make install" will install
344 AFM files for the standard PostScript fonts, including the
345 ones that the PostScript driver uses by default.
347 - Standard paper sizes no longer need to be specified through a
348 configuration file. The "papersize" configuration file is no
349 longer needed, or supported.
351 - The PostScript prologue is no longer obtained from the
352 "ps-prologue" configuration file. This configuration file is
353 no longer needed, or supported.
357 - The HTML prologue is no longer obtained from the
358 "html-prologue" configuration file. This configuration file
359 is no longer needed, or supported.
361 Command language changes:
363 * The following commands are new:
365 - GET DATA, which currently supports reading Gnumeric files and
366 text data files. It will be extended later to read other
367 types of foreign data.
369 - CD, to change the current directory.
371 - INSERT, to execute a syntax file.
373 - DELETE VARIABLES, to remove variables from the active file
376 - ADD DOCUMENT, to add text to active file documents.
378 - CLOSE FILE HANDLE (a PSPP extension; see below).
380 - XEXPORT, a PSPP extension that is a transformation equivalent
383 * The following functions for transformation expressions are new:
385 - DATEDIFF, for computing the difference of two dates.
387 - DATESUM, for advancing a date by a specified duration.
389 - VALUELABEL, to obtain the value label for a value.
391 * PSPP now supports very long string variables (over 255 bytes
394 * MATCH FILES now supports the FIRST and LAST subcommands.
396 * Previous versions of PSPP prohibited using commands to both read and
397 write a single file at the same time. Now, PSPP allows this, and
398 the new version of the file atomically replaces the old version.
400 * The following commands are no longer available. They will be
401 re-implemented in a later release:
403 - CLEAR TRANSFORMATIONS
409 * The PROCESS IF command, which was deprecated, has been removed.
410 You may replace any usage of it by SELECT IF following
411 TEMPORARY, which has the same effect.
413 * The output format for variables created by VECTOR may now be
414 specified as part of the VECTOR syntax.
416 "Scratch files", a new PSPP extension:
418 A scratch file, like a system file, consists of a dictionary and
419 any number of cases. Small scratch files are stored in memory;
420 one that grows too large is written to disk. By default, any file
421 handle whose name begins with # is assumed to refer to a scratch
424 Scratch files can be used just about anywhere a system or portable
425 file can be used. Also, portable files are now allowed in most
426 places that system files were allowed in previous PSPP version.
428 A new CLOSE FILE HANDLE command allows the storage associated with
429 scratch files to be freed. It also allows file handles to be
430 reassigned to new files.
432 For more information on scratch files, refer to the "File Handles"
433 section in the PSPP manual. For specifics of what commands now
434 allow what kinds of files to be specified, refer to the
435 documentation on those particular commands.
439 * Binary formats and IBM/360 formats, including ASCII/EBCDIC
440 translation, are now supported. Use FILE HANDLE to specify the
441 format of these files.
443 * Little-endian, big-endian, and VAX-endian formats are now
444 supported for integer binary formats when reading and writing
445 data files. The new RIB and WIB subcommands on the SET command
446 control endianness of integer data. The default is the host's
449 * IEEE 754, VAX, and IBM hexadecimal formats are now supported for
450 floating point binary formats when reading and writing data
451 files. The new RRB and WRB subcommands on the SET command
452 control the floating point format. The default is the host's
453 native floating point format.
455 * DATA LIST now supports the SKIP subcommand, to skip records at
456 the beginning of a file. For compatibility, DATA LIST now
457 treats N format as F format for FREE and LIST format input.
459 * The SAVE and XSAVE commands now support the UNSELECTED,
460 PERMISSIONS, NAMES, and MAP subcommands.
462 * The EXPORT command has been re-implemented to obtain better
463 results. Support for the UNSELECTED, DIGITS, and TYPE
464 subcommands has been added.
466 * For compatibility, PRINT now inserts a space at the beginning of
467 every output line, even lines that would otherwise be blank,
468 when OUTFILE is specified. (The behavior of WRITE is
471 * For compatibility, PRINT EJECT now inserts the digit `1' at the
472 beginning of each line that should begin a new page.
474 * For compatibility, WRITE now outputs the system-missing value as
475 a field filled with spaces. Binary formats are an exception.
476 (The behavior of PRINT is unchanged.)
480 * Input and output format descriptions have been rewritten. They
481 now precisely describe what is accepted on input and written on
484 * The descriptions of the PSPP system and portable file formats
485 have been extensively revised and improved.
487 For developers, the build system now requires Autoconf 2.60 and
490 Changes from 0.3.0 to 0.4.0:
492 Changes in build dependencies:
494 * The GNU Scientific Library (libgsl), version 1.6 or later, is
497 * libplot from GNU plotutils is optional. Without it, the new
498 graphing features will not work. If you do not have it
499 installed, you must run `configure' with --without-libplot.
501 * libgmp2 is no longer a dependency.
503 Newly implemented commands and statistical features:
505 * EXAMINE, including its graphing features.
507 * FREQUENCIES now supports percentiles.
515 * SORT CASES now sorts stably, that is, two cases with equal sort
516 criteria will be in the same relative order before and after the
519 * T-TEST (re-written).
521 * DATE and USE. These commands are parsed but otherwise ignored,
522 to enhance compatibility with certain command files that invoke
525 * VARIABLE WIDTH, VARIABLE ALIGNMENT, and VARIABLE LEVEL. These
526 currently have no effect on PSPP output, but their values are
527 written to and read from system files and thus may affect
528 third-party software.
530 * SET EPOCH implemented.
532 * DATA LIST FREE and DATA LIST LIST now support arbitrary field
535 * FILE HANDLE now supports custom tab widths.
537 Long variable names (and other identifiers) are now supported. Up
538 to the first 64 bytes of each identifier is significant. PSPP now
539 reads and writes system files compatible with SPSS version 12.
541 New --algorithm and --syntax command line options allow
542 SPSS-compatible or enhanced modes to be selected.
544 Support for transformation expressions has been rewritten and
545 significantly improved. Refer to the manual for details.
547 Calculation of moments (mean, standard deviation, kurtosis,
548 skewness) has been rewritten and should now be more accurate. In
549 --algorithm=enhanced mode moments may be more accurate than SPSS in
552 Numerous bugs have been fixed, too many to mention here. Many new
553 tests have been added, leading to the discovery and fixing of many
556 The ASCII output driver can now squeeze multiple blank lines into
559 Much of the code has been rewritten and refactored. It is now much
562 The FILE TYPE and REPEATING DATA commands have been disabled for
563 this release because their implementations were deemed too buggy to
564 be useful. They will be fixed and replaced in a future release.
566 New pspp-mode for Emacs (in pspp-mode.el).
568 Added rudimentary command-line completion for interactive input.
570 lib/julcal and lib/dcdflib are no longer used, so they have been
573 For developers, the build system now requires Autoconf 2.58 and
574 Automake 1.7. The included gettext has been updated to version
577 Some reports state that Texinfo 4.8, the latest version, may be
578 necessary to successfully format the documentation on some systems.
580 Version 0.3.0 changes since 0.2.3:
584 * Using alphanumeric variables in functions under AGGREGATE
587 * Under certain circumstances, the final case would be omitted
588 from the results of an AGGREGATE operation. Fixed.
590 * Undefined behavior was invoked by referencing a freed pointer
591 under certain circumstances. Fixed.
593 * A wrong record size was displayed when paging the active file to
596 * Not having enough temporary space for sorting caused a core
599 * Syntax errors in function descriptions on AGGREGATE caused core
602 * A null pointer was dereferenced, causing a core dump, when
603 PERCENTILES was specified on FREQUENCIES. This fixes the
604 problem, but PSPP still doesn't calculate percentiles.
606 * SORT always sorted in ascending order. Fixed.
608 * Some minor memory leaks in the expression parser were removed.
610 * Many assertions fixed for strict ANSI C compliance.
614 * SET ECHO ON now implemented, but turned off by default.
616 * PRINT specifier supported on END REPEAT.
620 * System libgmp2 library is used if installed instead of
621 unconditionally using the included libgmp2 subset.
623 * Extensive code cleanup, which continues.
625 * Added CORRELATIONS command parser, but not implemented.
627 Version 0.2.3 changes since 0.2.2:
631 * SPLIT FILE with a string variable caused a core dump. Fixed.
633 * Nested INCLUDEs didn't work. Fixed.
635 * The MATCH FILES procedure set the values of variables not present
636 to 0. It should have been SYSMIS. This is now fixed.
638 * The REMARK command was too aggressive about skipping lines. It
639 didn't like being the last command in a file.
641 * Comment parsing wasn't consistent with the rest of the code in its
642 idea of where one command ends and another starts. This meant
643 that sometimes commands would be mysteriously ignored. Thanks to
644 Dr. Dirk Melcher <BZN-mdksh@t-online.de> for reporting this bug.
646 * The TABLE subcommand on MATCH FILES worked only erratically at
647 best. This fixes it. Thanks to Dr. Dirk Melcher
648 <BZN-mdksh@t-online.de> for reporting this bug.
650 * VARIABLE LABELS rejected a slash before the first variable
651 specification, contradicting the documentation. Thanks to Walter
652 M. Gray <graywm@northernc.on.ca> for reporting this bug.
654 * Because of an incorrect optimization in memory allocation,
655 CROSSTABS sometimes segfaulted when asked to output multiple
656 tables. Thanks to Walter M. Gray <graywm@northernc.on.ca> for
659 * CROSSTABS didn't display value labels for column and row
660 variables. Thanks to Walter M. Gray <graywm@northernc.on.ca> for
663 * WRITE didn't write line ends. Fixed. Thanks to Dr. Dirk Melcher
664 <BZN-mdksh@t-online.de> for reporting this bug.
666 * The TABLE subcommand on MATCH FILES worked only erratically at
667 best. This fixes it. Thanks to Dr. Dirk Melcher
668 <BZN-mdksh@t-online.de> for reporting this bug.
670 * VARIABLE LABELS rejected a slash before the first variable
671 specification, contradicting the documentation. Thanks to Walter
672 M. Gray <graywm@northernc.on.ca> for reporting this bug.
674 * Because of an incorrect optimization in memory allocation,
675 CROSSTABS sometimes segfaulted when asked to output multiple
676 tables. Thanks to Walter M. Gray <graywm@northernc.on.ca> for
679 * CROSSTABS didn't display value labels for column and row
680 variables. Thanks to Walter M. Gray <graywm@northernc.on.ca> for
683 * WRITE didn't write line ends. Fixed. Thanks to Dr. Dirk Melcher
684 <BZN-mdksh@t-online.de> for reporting this bug.
686 * MATCH FILES corrupted memory and dumped core on some syntax
689 * MATCH FILES should set numeric values not available to the
690 system-missing value, not to 0. Thanks to Dr. Dirk Melcher
691 <BZN-mdksh@t-online.de> for reporting this bug.
693 * KEEP didn't work properly on the SAVE procedure. Fixed. Thanks
694 to Ralf Geschke <ralf@kuerbis.org> for reporting this bug.
698 * Some systems didn't like the way open_file was coded. Thanks to
699 Hankin <hankin@rogue.consultco.com> for pointing this out.
701 * The SAVE procedure didn't save long string variables properly.
702 Fixed by this patch. Thanks to Hankin
703 <hankin@rogue.consultco.com> for this patch.
705 * Minor documentation fixes for MATCH FILES.
707 Version 0.2.2 changes since 0.2.1:
711 * Fix behavior of PRINT SPACE for negative arguments.
713 * Fix reading some unusual system files.
715 * Fix LIST problems with very long variables. Thanks to Hankin
716 <hankin@dunno.com> for this bug report.
718 * Fix problems with some string format specifiers.
720 * Fix use of $CASENUM in expressions. Thanks to Dirk Melcher
721 <BZN-mdksh@t-online.de> for reporting this bug.
723 * Additional DATA LIST FREE and DATA LIST LIST fixes. Thanks to
724 Hankin <hankin@dunno.com> again on this one.
726 * Sometimes you may encounter a PSPP script that has to be
727 interpreted in interactive mode. Now you can use the -i flag to
730 * Warnings for egcs 1.1.1 cleaned up. (However you'll get lots of
731 `unused variable' warnings under gcc 2.7.2.3, fixing this will
736 * The files in gmp need the internationalization directory in
737 their include path. Thanks to OKUJI Yoshinori
738 <okuji@kuicr.kyoto-u.ac.jp> for pointing this out.
740 Version 0.2.1 changes since 0.2.0:
744 * Remember to include examples/ directory in distribution :-)
746 * Fixed gmp compile problems for some non-i386 architectures.
747 Thanks to Hans Olav Eggestad <olav@jordforsk.nlh.no> and others
750 * DATA LIST FREE and DATA LIST LIST parsing of input files is now
751 matches the documented behavior exactly, and error messages are
752 more helpful. Thanks to Mark H. Wood <mwood@IUPUI.Edu>.
754 Version 0.2.0 changes since 0.1.0:
756 Procedures now implemented:
757 * CROSSTABS. Please see documentation for caveats.
759 Transformations and utilities now implemented:
762 * CLEAR TRANSFORMATIONS
763 * DISPLAY (all subcommands).
774 Support for input and output through pipes: "|command" and
775 "command|" filenames; support for special filenames "-", "stdin",
778 New command-line features:
779 * New option --testing-mode: Invoke heuristics to assist testing.
780 * New option --safer, -s: Don't allow certain unsafe operations.
781 * New option --command=CMD, -c CMD: Perform literal command CMD.
782 * rc file ~/.pspp/rc is executed before any other files.
783 * Now multiple syntax files can be specified.
785 Operator LAG is now implemented.
787 Added missing FILE subcommand to REREAD.
789 Table output manager completely rewritten.
791 Device configuration file syntax changed. You will need to
792 reinstall your `devices' file.
794 New output driver for HTML.
796 PostScript driver and prologue simplified.
798 Many bugs fixed. General source-code cleanup.
800 Added Texinfo documentation for:
801 * PSPP system file format
802 * PSPP portable file format
803 * How to write input for q2c parser generator
806 PSPP language is now fully documented. Please report any
807 inaccuracies or omissions in the documentation.
809 Changes for version 0.1.0:
811 First public release. For changes from unreleased development
812 versions, please see ONEWS.
814 ----------------------------------------------------------------------
815 Copyright information:
817 Permission is granted to anyone to make or distribute verbatim
818 copies of this document as received, in any medium, provided that
819 the copyright notice and this permission notice are preserved, thus
820 giving the recipient permission to redistribute in turn.
822 Permission is granted to distribute modified versions of this
823 document, or of portions of it, under the above conditions,
824 provided also that they carry prominent notices stating who last
828 version-control: never