pspp-convert: Add options for selecting variables and controlling output.
[pspp] / NEWS
1 PSPP NEWS -- history of user-visible changes.
2 Copyright (C) 1996-2000, 2008-2016, 2017, 2019 Free Software Foundation, Inc.
3 See the end for copying conditions.
4
5 Please send PSPP bug reports to bug-gnu-pspp@gnu.org.
6
7 Changes from 1.2.0 to 1.3.0:
8
9  * PSPP now supports the SPSS viewer (.spv) format that SPSS 16 and later
10    use to save the contents of its output editor:
11
12    - PSPP and PSPPIRE can write output to .spv files.
13
14    - The new utility pspp-output can convert .spv files to other formats.
15
16    - The pspp-convert utility can now decrypt encrypted .spv files.  The
17      encrypted viewer file format is unacceptably insecure, so to
18      discourage its use PSPP and PSPPIRE do not directly read or write
19      this format.
20
21  * A bug where the Data|Select Cases|Random Sample menu would generate
22    invalid syntax has been fixed.
23
24  * FREQUENCIES will emit a warning if one or more weight values are missing.
25
26  * Plain text output is no longer divided into pages, since it is now
27    rarely printed on paper.
28
29  * pspp-convert improvements:
30
31    - New "-a", "-l", "--password-list" options to search for an
32      encrypted file's password.
33
34    - New "--keep" and "--drop" options to output only selected variables.
35
36    - New "--recode", "--no-var-name", "--labels", "--print-formats",
37      "--decimal", "--delimiter", and "--qualifier" options to control
38      CSV output.
39
40  * Improvements to SAVE DATA COLLECTION support for MDD files.
41
42  * Bug fix for CVE-2018-20230.
43
44  * The /RENAME subcommand in SAVE TRANSLATE et al. has been extended
45    to support the syntax also accepted by other software.
46
47  * The EXAMINE command will now perform the Shapiro-Wilk test when
48    one or more plots are requested.
49
50  * The REGRESSION command now supports the /STATISTICS=TOL option which
51    outputs tolerance and variance inflation factor metrics for the data.
52
53  * The QUICK CLUSTER command now supports the /SAVE option which can
54    be used to save the cases' cluster membership and/or their distance
55    from the cluster centre to the active file.
56
57  * The MEANS command has been re-implemented.
58
59  * A bug where the GUI would crash when T-TEST was executed whilst
60    a filter was set has been fixed.
61
62  * The GUI now has a sub-dialog for post-hoc tests of the oneway
63    anova test.
64
65  * Gtk+3.22.0 or later must now be used when building.
66
67  * GRAPH: Categorical barcharts displaying percentages now show the
68    sub-category as a percentage of the primary category instead of the
69    total.
70
71  * AUTORECODE:
72
73    - The PRINT subcommand is now implemented.
74
75    - Many bug fixes.
76
77 Changes from 1.0.1 to 1.2.0:
78
79  * New experimental command SAVE DATA COLLECTION to save MDD files.
80
81  * MTIME and YMDHMS variable formats now supported.
82
83  * Build changes:
84
85    - zlib is now a required dependency.  (Previously it was optional.)
86
87    - Gtk+3.18.0 or later must now be used when building.
88
89    - The code implementing the sheet rendering has been removed.  Instead we
90      use a third party library: spread-sheet-widget.
91
92  * The "NOMISSING" keyword when generating syntax for piecharts in the
93    frequencies command was omitted.  This has been corrected.
94
95 Changes from 1.0.0 to 1.0.1:
96
97  * Bug fixes, including fixes for CVE-2017-12958, CVE-2017-12959,
98    CVE-2017-12960, and CVE-2017-12961.
99
100 Changes from 0.11.0 to 1.0.0:
101
102  * Translation updates.
103
104 Changes from 0.10.2 to 0.11.0:
105
106  * The REGRESSION command now has a /ORIGIN subcommand to perform
107    regression through the origin.
108
109  * The FACTOR command can now analyse matrix files prepared with MATRIX DATA.
110
111  * The FACTOR command can now print the anti-image matrices.
112
113  * The MATRIX DATA command has been added.
114
115  * Some inappropriate properties in selection dialogs have been corrected.
116
117  * A bug which could cause the HTML driver to go into a tight loop
118    has been fixed.
119
120  * An error in the FREQUENCIES procedure, where the word "Mean" was
121    printed when "Variance" was appropriate has been fixed.
122
123  * The ncurses library is no longer required or used.
124
125  * A bug where the Mann-Whitney test would give misleading results
126    if run on multiple variables and MISSING=ANALAYSIS was specified
127    has been fixed.
128
129  * Gtk+3.14.5 or later must now be used when building.
130
131  * Graphical user interface changes:
132
133  ** There is a new menu: Edit|Options
134
135  ** The Non Parametric Statistics Menu has a new item: "K Independent Samples".
136
137  ** Dialog boxes can now be canceled using the <Escape> key.
138
139  * The AUTORECODE command now accepts an optional / before INTO.
140
141  * The short form of the VECTOR command can now create string variables.
142
143  * Bug fixes, including fixes for CVE-2017-10791 and CVE-2017-10792.
144
145 Changes from 0.10.1 to 0.10.2:
146
147  * CROSSTABS implements a new COUNT subcommand to round case or cell
148    weights.
149
150  * Help will be opened as HTML in default browser if yelp
151    is not available.
152
153  * When plotting scatterplots with only one dataset (the simple case)
154    the colour used for the dataset is now black.  The previous default
155    from the Tango palette was too faint to see easily.
156
157  * The varible info dialog could previously only paste a single variable.
158    Now it can paste multiple variables.
159
160  * Bug fixes, including the following:
161
162    - T-test with independent samples GUI crashed with string
163      type variable as group variable.
164
165    - The variable info dialog showed the previous selected variable
166      superimposed with the currently selected one.
167
168    - The GLM command did not properly deal with missing values.  This
169      has been fixed.
170
171 Changes from 0.10.0 to 0.10.1:
172
173  * Bug fixes, including the following:
174
175    - A bug where certain dialog boxes could not be properly populated
176      has been fixed.
177
178    - Various commands have been hardened against errors when called
179      with invalid syntax.
180
181  * Translation updates.  Thanks to our translators!
182
183 Changes from 0.8.5 to 0.10.0:
184
185  * The QUICK CLUSTER command has a  /PRINT subcommand which shows
186    the initial cluster centres and the final cluster membership of
187    each case.  The clustering algorithm has also been updated, so
188    as to produce better separated clusters.
189
190  * A Russian localisation has been contributed.
191
192  * The GRAPH command now has a /BAR subcommand to draw barcharts.
193
194  * If the DECIMAL character is set to COMMA then the ',' character
195    will not be treated as a separator by DATA LIST.
196
197  * The graphical user interface (psppire) has been changed as follows:
198
199    - It now uses Gtk+ version 3 instead of version 2.  Accordingly, it has a
200      somewhat different look and feel.
201
202    - There is now a Graphs menu to access the GRAPH command.
203
204    - The status of dialog box widgets are now preserved between calls
205      to the same dialog box for the same dataset.
206
207    - The dialog box for the Logistic Regression command will now
208      infer that string variables or any varible with a "measure"
209      of Nominal or Ordinal are to be treated as categorical variables
210      and will generate syntax accordingly.
211
212  * The pspp-convert utility can now decrypt encrypted syntax files.
213    The encrypted syntax file format is unacceptably insecure, so to
214    discourage its use PSPP and PSPPIRE do not directly read or write
215    this format.
216
217  * New commands:
218
219    - SORT VARIABLES.
220
221  * The following functions for transformation expressions are new:
222
223    - REPLACE, for search-and-replace of one string with another.
224
225    - STRUNC, to truncate a string and trim trailing spaces.
226
227    - MEDIAN, to compute the median of its arguments.
228
229    - The TRUNC function in expressions now supports additional arguments
230      for truncating to values other than integers and to indicate a level
231      of rounding fuzz.  The default rounding fuzz may now be controlled
232      and displayed with SET FUZZBITS and SHOW FUZZBITS, respectively.
233
234  * Bug fixes, including the following notable ones:
235
236    - The correlation coefficient in the paired samples t-test
237      procedure is now correctly calculated when presented with
238      weighted data.
239
240    - The ESCAPE subcommand has been removed from GET DATA /TYPE=TXT.
241      For compatibility, the behavior that ESCAPE enabled is now the
242      default and only supported behavior.
243
244    - Rendering of the variable and data sheets in right-to-left locales
245      now works properly.
246
247    - The Mann-Whitney test, when run on a dataset containing values
248      of the group variable, other than those defining the test groups,
249      would incorrectly calculate the ranks.  This has been corrected.
250
251  * The IMPORTCASES subcommand on GET DATA is now ignored, for
252    compatibility.
253
254 Changes from 0.8.4 to 0.8.5:
255
256  * The FREQUENCIES and CROSSTABS commands can now generate barcharts.
257
258  * The FACTOR command can now perform PROMAX rotations.
259
260  * SPSS/PC+ system files are now supported on GET and other commands
261    that read SPSS system files.  The pspp-convert program can now read
262    SPSS/PC+ system files.  Writing the obsolete SPSS/PC+ system file
263    format is not supported.
264
265  * SYSFILE INFO can now read SPSS/PC+ system files and SPSS portable
266    files.
267
268  * FREQUENCIES: A bug was fixed where an assertion failure occurred
269    when an empty dataset was presented.
270
271  * The GRAPH command is now available.  Initially it supports
272    scatterplots and histograms.
273
274  * The RND operator in expressions now supports additional operands
275    for rounding to values other than integers and to indicate a level
276    of rounding fuzz.  The default rounding fuzz may now be controlled
277    and displayed with SET FUZZBITS and SHOW FUZZBITS, respectively.
278
279 Changes from 0.8.3 to 0.8.4:
280
281  * Formatting of SYSFILE INFO output was made easier to read.
282
283  * Bug fixes, including the following notable ones:
284
285    - FREQUENCIES works properly for string variables.  (This bug was
286      introduced in 0.8.2.)
287
288    - CROSSTABS now correctly computes all of the measures that it
289      offers.  Some measures have been removed because they were not
290      computed correctly.
291
292    - The NPAR TESTS calculation of significance for the RUNS
293      subcommand has been corrected.
294
295    - Planned comparisons in ONEWAY ANOVA now correctly handle negative
296      T-values.
297
298    - The COUNT command now correctly treats missing values as
299      documented.
300
301    - Conformance fixes to Open Document output format.
302
303 Changes from 0.8.2 to 0.8.3:
304
305  * Independent T-Tests displayed the standard error of the difference
306    and the confidence interval for the unequal variances case, where
307    the equal variances case should have been.  This has been fixed.
308
309  * REGRESSION now recognises /STATISTICS=CI(x) which causes confidence
310    intervals for the coefficients to be printed.
311
312  * When DESCRIPTIVES calculates Z scores, it now omits cases filtered
313    by the current FILTER settings.
314
315  * PSPPIRE graphical user interface improvements:
316
317    - Dialog boxes with source  variable lists can now choose the sort
318      order;  right click and select from the popup menu.
319
320    - File|Open now allows an encoding to be selected for opening
321      system files.
322
323    - File|Display Data File Information|External File... now allows an
324      encoding to be selected.
325
326    - A problem with the Means dialog has been resolved (bug #41433).
327
328    - Several problems related to the input of spreadsheets have been
329      fixed (bug #41657, #41620
330
331  * System file related improvements:
332
333    - With ENCODING="DETECT", SYSFILE INFO can now help the user to
334      pick an encoding for reading a system file that does not identify
335      its own encoding
336
337    - SYSFILE INFO now accepts an ENCODING subcommand to specify the
338      character encoding of string data in the system file.
339
340    - Variable labels over 255 bytes long are now accepted without
341      truncation (bug #41863).
342
343    - System files that contain duplicate variable names may now be
344      read successfully (bug #41475).
345
346 Changes from 0.8.1 to 0.8.2:
347
348  * Charts are now rendered with colours from the Tango palette instead
349    of fully saturated primaries.
350
351  * Support for new system file variants:
352
353    - PSPP can now read and write ZCOMPRESSED system files, which
354      compress data much more effectively than older "compressed"
355      files.  (The older format is still supported.)
356
357    - PSPP can now decrypt encrypted system files, using the new
358      pspp-convert utility.  The encrypted system file format is
359      unacceptably insecure, so to discourage its use PSPP and PSPPIRE
360      do not directly read or write this format.
361
362  * Missing values for long string variables are now read from and
363    written to system files in an SPSS-compatible fashion.
364
365    (Earlier versions of PSPP that supported missing values for long
366    string variables wrote them to system files in an SPSS-incompatible
367    way.  To fix the problem, read the system file with this version of
368    PSPP and then save a new copy of it.)
369
370  * pspp-convert, a new standalone utility for converting SPSS system
371    and portable files to other formats, is now included.  The initial
372    version supports comma-separated value files as output format.
373    pspp-convert can also decrypt encrypted system files.
374
375  * Build changes:
376
377    - zlib is now a required dependency.  (Previously it was optional.)
378
379 Changes from 0.8.0 to 0.8.1:
380
381  * New commands:
382
383    - VARIABLE ROLE.
384
385  * Changes to existing commands:
386
387    - CROSSTABS: The requirement that one expected count must be less than five
388         before Fishers Exact Test will be reported has been removed.
389
390  * PSPPIRE graphical user interface improvements:
391
392    - A new set of icons has been contributed.
393
394    - Syntax windows now parse syntax in "auto" mode, which in practice
395      should mean that both "batch" and "interactive" syntax now works,
396      instead of just "interactive" syntax.
397
398    - The variable pane of data windows now include a Role column.
399
400  * Notable bug fixes:
401
402    - System files written by IBM SPSS 21 are now read without warnings.
403
404    - System files written by "VOXCO INTERVIEWER 4.3" are now read
405      without warnings.
406
407    - PSPPIRE should now more gracefully handle syntax files that contain
408      errors.
409
410 Changes from 0.6.2 to 0.8.0:
411
412  * New commands:
413
414    - ADD FILES
415    - CORRELATIONS
416    - DATAFILE ATTRIBUTES
417    - DATASET ACTIVATE
418    - DATASET CLOSE
419    - DATASET COPY
420    - DATASET DECLARE
421    - DATASET DISPLAY
422    - DATASET NAME
423    - LOGISTIC REGRESSION
424    - MATCH FILES
425    - MEANS
426    - MRSETS
427    - PRESERVE and RESTORE
428    - QUICK CLUSTER
429    - RELIABILITY
430    - ROC
431    - SAVE TRANSLATE to CSV and tab-delimited files
432    - UPDATE
433    - VARIABLE ATTRIBUTES
434
435  * Changes to existing commands:
436
437    - AUTORECODE has a new GROUP subcommand.
438
439    - CROSSTABS has been re-implemented to fix numerous bugs.
440
441    - EXAMINE: /MISSING=LISTWISE is now the default.
442
443    - DO REPEAT command has been reimplemented.  Now, when DO REPEAT
444      contains an INCLUDE or INSERT command, substitutions are not
445      applied to the included file.
446
447    - FILE HANDLE has a new ENDS subcommand to select CR or CRLF new-lines.
448
449    - HOST has been updated to use more modern syntax.
450
451    - Most commands that work with data files now support a new
452      ENCODING subcommand.
453
454    - MISSING VALUES can now assign missing values to long string
455      variables.
456
457    - ONEWAY: the POSTHOC subcommand is now implemented.
458
459    - The following new subcommands to NPAR TESTS have been implemented:
460      COCHRAN, FRIEDMAN, JONCKHEERE-TERPSTRA, KENDALL, KRUSKAL-WALLIS, MANN-WHITNEY,
461      MCNEMAR, SIGN, WILCOXON, and RUNS
462
463    - SET and SHOW no longer have ENDCMD, NULLINE, PROMPT, CPROMPT, and
464      DPROMPT subcommands.  The defaults are now fixed values.
465
466    - SHOW now has a JOURNAL subcommand, to show the location of the
467      journal file.
468
469    - VALUE LABELS can now assign value labels to long string
470      variables.
471
472  * Other language changes:
473
474    - The new DATASET commands replace the "scratch file" PSPP
475      extension, which is no longer supported.
476
477    - Strings may now include arbitrary Unicode code points specified
478      in hexadecimal, using the syntax U'hhhh'.  For example, Unicode
479      code point U+1D11E, the musical G clef character, may be
480      expressed as U'1D11E'.
481
482      See the "Tokens" section in the PSPP manual for more information.
483
484    - In previous versions of PSPP, in a string expressed in
485      hexadecimal with X'hh' syntax, the hexadecimal digits expressed
486      bytes in the locale encoding.  In this version of PSPP, X'hh'
487      syntax always expresses bytes in UTF-8 encoding.
488
489      See the "Tokens" section in the PSPP manual for more information.
490
491  * PSPPIRE graphical user interface improvements:
492
493    - Added support for non-ASCII characters in strings, labels and
494      variable names.
495
496    - A "Split Window" function is available, which makes it easier to
497      see different parts of a large data file.
498
499    - Data files can now be opened by specifing their name as the first
500      argument.  This means that on a properly configured desktop, double
501      clicking on an icon will open the file.
502
503    - Foreign formats, such as Gnumeric, OpenDocument and CSV can be imported
504      via using an "intelligent" application assistant dialog.
505
506  * Output changes:
507
508    - The new "cairo" output driver supports output in PostScript, PDF,
509      and SVG formats.  Its functionality is a superset of that of the
510      "postscript" driver, which has been removed.  You must have Cairo
511      and Pango installed to build the "cairo" driver.
512
513    - Charts are now produced with Cairo and Pango, instead of libplot.
514      Without them, the new graphing features will not work.  If you do
515      not have Cairo and Pango installed, you must run `configure' with
516      --without-cairo.
517
518    - The plain text output driver now properly supports multibyte UTF-8
519      characters, including double-width characters and combining
520      accents.
521
522    - Output to OpenDocument format is now supported.
523
524    - The HTML output is much improved.
525
526  * The "pspp" program has a new option --batch (or -b) that selects
527    "batch" syntax mode.  In previous versions of PSPP this syntax mode
528    was the default.  Now a new "auto" syntax mode is the default.  In
529    "auto" mode, PSPP interprets most syntax files correctly regardless
530    of their intended syntax mode.
531
532    See the "Syntax Variants" section in the PSPP manual for more
533    information.
534
535  * The "pspp" program has a new option --syntax-encoding that
536    specifies the encoding for syntax files listed on the command line,
537    as well as the default encoding for syntax files included with
538    INCLUDE or INSERT.  The default is to accept the system locale
539    encoding, UTF-8, UTF-16, or UTF-32, automatically detecting which
540    one the system file uses.
541
542    See the documentation for the INSERT command in the PSPP manual for
543    more information.
544
545  * Text data files that PRINT and WRITE creates now use the system
546    native line ends by default (CRLF on Windows, LF only elsewhere).
547    Use the new ENDS subcommand on FILE HANDLE to override the default.
548
549  * A new Perl module allows Perl programs to read and write PSPP
550    system files.
551
552  * A tutorial chapter has been added to the user manual.
553 \f
554 Changes from 0.6.1 to 0.6.2:
555
556   * New translations:
557
558     - Dutch, thanks to Harry Thijssen.
559
560     - Brazilian Portuguese, thanks to Michel Boaventura.
561
562     Thanks for translations are also due to the coordinators at
563     translationproject.org.
564
565   * Statistical bug fixes:
566
567     - REGRESSION: Report correct standard error of the estimate (bug
568       #25677).
569
570     - T-TEST: Report correct significance of paired sample T-test in
571       the common case (bug #26936) and corner cases.  Thanks to Mike
572       Griffiths and Matej Cepl for reporting these bugs.
573
574   * Build fixes and changes:
575
576     - Fix build with GTK+ 2.17.4 and later.
577
578     - Make running "make" after running "configure" with different
579       settings reliably rebuild version.c.
580
581     - Cygwin and MinGW build fixes.
582
583     - Fixes for building with recent gnulib.
584
585     - The Makefile now honors two new variables, PSPP_LDFLAGS and
586       PSPPIRE_LDFLAGS, that affect linking of the PSPP and PSPPIRE
587       binaries, respectively.  This makes building easier for some
588       packagers.
589
590     - Fixes for "configure --enable-relocatable" (bug #25508).
591
592   * Data file bug fixes and changes:
593
594     - Fix reading text data files that contain a mix of white space
595       and commas.  Now "a ,b" is treated as two fields containing "a"
596       and "b"; previously it was treated as three, with an empty field
597       in the middle.
598
599     - Fix writing corrupted .sav files on Windows.
600
601     - Fix writing variable labels longer than 252 bytes to save files.
602       Thanks to Robert Westlund for reporting this bug.
603
604     - Fix writing corrupted .por files (bug #26034).
605
606     - Fix reading .por files whose initial lines are not padded out
607       with spaces as expected.
608
609     - PSPP will no longer issue warnings about some .sav file records
610       or values that it does not understand.  These warnings were
611       harmless, but needlessly alarmed some users.
612
613     - Fix crash reading empty string fields from PostgreSQL databases.
614
615   * Bug fixes that affect PSPP and PSPPIRE:
616
617     - Users may now control precision of output statistics.  Instead
618       of hard coding the width and decimals of output numbers, respect
619       the default format in most instances.  Counts are now normally
620       displayed with the format of the weight variable, if any.
621
622     - Fix crash when an INSERT command specifies the name of a file
623       that does not exist (bug #24569).
624
625     - Fix crash when CROSSTABS specifies a long-string variable (bugs
626       #24557 and #26131).
627
628     - Fix crash drawing pie charts with many segments.
629
630     - Fix crash when NUMERIC specifies an invalid format.
631
632   * PSPPIRE bug fixes and changes:
633
634     - On Windows, write the output file to the user's home directory
635       instead of the current directory, to better match user
636       expectations.
637
638     - Some data editor fixes.
639
640   * Documentation:
641
642     - Fix typo in BINOMIAL section of user manual (bug #25892).
643
644 Changes from 0.6.0 to 0.6.1:
645
646   * Statistical bug fixes:
647
648     - Report correct standardized regression coefficients in linear
649       regression output (bug #23567).
650
651   * Bug fixes that affect PSPP and PSPPIRE:
652
653     - Avoid crash with pie charts (bug #24014).
654
655     - Don't append % to count totals (bug #24003).
656
657     - Don't crash on bad input (bug #24031).
658
659     - Don't crash if "end data." is not left aligned (bug #24115).
660
661     - Change default workspace value to 64 MB, to avoid unnecessary
662       disk accesses on modern machines.
663
664   * PSPPIRE bug fixes:
665
666     - Add ".sav" or ".por" suffix to filename when saving with Save_As
667       (bug #23137).
668
669     - Make it possible to reopen the output window on Windows (bug
670       #24033).
671
672     - A POSIX regular expression library is now included and used
673       automatically if the host does not have one or has one that is
674       inadequate.
675
676   * Build fixes and changes:
677
678     - Work around bug in GSL that prevented build with recent GCC
679       versions without manually adding -fgnu89-inline to CFLAGS.
680
681     - Also warn about missing prerequisites as we encounter them (bug
682       #24445).
683
684     - Distribute necessary files to allow users working from the
685       distributed tarball to configure with --enable-gui-tools.
686
687     - Append $(EXEEXT_FOR_BUILD) to output file name when building
688       q2c, fixing build problems on Windows.
689
690     - GSL 1.8 or later is now required.
691
692     - Build errors with --enable-relocatable were fixed.
693
694   * The German translations were removed, since native German speakers
695     found them too poor to be useful.
696
697 Changes from 0.4.0 to 0.6.0:
698
699   * The PSPP license is now version 3 or later of the GNU General
700     Public License.  Previously, it was version 2 or later.
701
702   * PSPP now has a graphical interface, called PSPPIRE.  This
703     interface allows you to enter data and variable definitions
704     interactively.  Commands may be executed in syntax form, or by
705     using the interactive dialog boxes available from the dropdown
706     menus.
707
708   * A few sample syntax files are now included in the `examples'
709     directory.
710
711   * Numerous major and minor bugs have been fixed.
712
713   Build changes:
714
715     * The INSTALL file now reflects the details of how to install
716       PSPP.  It is a tailored version of the generic installation
717       instructions, instead of a verbatim copy.
718
719     * iconv, which is ordinarily installed as part of a Unix-like
720       system, is now required.  If you don't have it already, you can
721       install GNU libiconv (http://www.gnu.org/software/libiconv/).
722
723     * libxml2 and zlib are new optional dependencies.  They are
724       required to use PSPP's support for reading Gnumeric files.
725
726   Statistical procedure changes:
727
728     * REGRESSION is a new procedure for fitting linear models to data
729       via least-squares estimation.
730
731     * NPAR TESTS is a new procedure for non-parametric tests.  In this
732       release, it supports binomial and chi-square tests.
733
734     * RANK is a new procedure to rank variables.  It supports numerous
735       forms of ranking.
736
737     * FREQUENCIES can now output histograms and pie charts.  These
738       features were present in earlier releases, but not documented.
739
740   User interface changes:
741
742     * In many situations where PSPP once terminated with a fatal
743       error, PSPP now recovers and continues execution.
744
745     * PSPP is now able to start up and run even if it cannot find its
746       configuration files.
747
748     * Journaling of interactive commands to a disk file is now
749       implemented.  By default, journaling is enabled, to a file named
750       `pspp.jnl' in the current directory.  SET JOURNAL may be used to
751       control journaling.
752
753     * The use of `+' between syntax file names on the command line to
754       prevent the dictionary from being cleared between their
755       executions is no longer supported.  All syntax files are now
756       executed as if `+' had been specified.
757
758     * The -d/--define and -u/--undef command line options are no
759       longer supported.  Instead, use /usr/bin/env or shell primitives
760       to define or clear environment variables before invoking PSPP.
761
762     * If a syntax file named named `rc' is found in a configuration
763       directory (such as $HOME/.pspp), it is executed before any
764       syntax file specified on the command line.  The -r or
765       --no-statrc command line option may be used to disable this
766       behavior.
767
768   Output changes:
769
770     * Output configuration options have changed.  Please refer to the
771       manual for a full description of the available options.
772
773       In consequence, you will need to reinstall your "devices" file.
774       "make install" will do this for you.
775
776     * Most error messages are now written to PSPP output files by
777       default.  SET ERROR can be used to disable this behavior.
778
779     * When invoked interactively, PSPP now by default produces output
780       on the terminal, piping it through the "more" program.
781       Previously, by default output was written only to file
782       pspp.list.  On most terminals, the page length used for output
783       automatically adapts to the terminal size, even if the terminal
784       is resized.
785
786     * ASCII driver:
787
788       - This driver now supports charts in output.  Charts are written
789         as separate files that the main output file refers to.  By
790         default, charts are written in PNG format to files named
791         pspp-1.png, pspp-2.png, and so on.
792
793       - Configurations are provided that use VT100 (and xterm)
794         line-drawing characters in tables.  The option "-o list-vt100"
795         requests use of this device for output to pspp.list.
796
797     * PostScript driver:
798
799       - The default paper size is now determined using the PAPERSIZE
800         environment variable, or the LC_PAPER locale category on
801         systems that support it.  If these are not set, the default is
802         now A4, instead of US letter.  To make US letter the default,
803         set PAPERSIZE to "letter" in your environment.
804
805       - Font metrics are now read from AFM files, instead of
806         Groff-format metrics files.  PostScript fonts can now be
807         embedded in output.
808
809         In consequence, you will need to install an AFM file for each
810         font used in PostScript output.  "make install" will install
811         AFM files for the standard PostScript fonts, including the
812         ones that the PostScript driver uses by default.
813
814       - Standard paper sizes no longer need to be specified through a
815         configuration file.  The "papersize" configuration file is no
816         longer needed, or supported.
817
818       - The PostScript prologue is no longer obtained from the
819         "ps-prologue" configuration file.  This configuration file is
820         no longer needed, or supported.
821
822     * HTML driver:
823
824       - The HTML prologue is no longer obtained from the
825         "html-prologue" configuration file.  This configuration file
826         is no longer needed, or supported.
827
828   Command language changes:
829
830     * The following commands are new:
831
832       - GET DATA, which currently supports reading Gnumeric files and
833         text data files.  It will be extended later to read other
834         types of foreign data.
835
836       - CD, to change the current directory.
837
838       - INSERT, to execute a syntax file.
839
840       - DELETE VARIABLES, to remove variables from the active file
841         dictionary.
842
843       - ADD DOCUMENT, to add text to active file documents.
844
845       - CLOSE FILE HANDLE (a PSPP extension; see below).
846
847       - XEXPORT, a PSPP extension that is a transformation equivalent
848         to EXPORT.
849
850     * The following functions for transformation expressions are new:
851
852       - DATEDIFF, for computing the difference of two dates.
853
854       - DATESUM, for advancing a date by a specified duration.
855
856       - VALUELABEL, to obtain the value label for a value.
857
858     * PSPP now supports very long string variables (over 255 bytes
859       long).
860
861     * MATCH FILES now supports the FIRST and LAST subcommands.
862
863     * Previous versions of PSPP prohibited using commands to both read and
864       write a single file at the same time.  Now, PSPP allows this, and
865       the new version of the file atomically replaces the old version.
866
867     * The following commands are no longer available.  They will be
868       re-implemented in a later release:
869
870       - CLEAR TRANSFORMATIONS
871
872       - MATRIX DATA
873
874       - REPEATING DATA
875
876     * The PROCESS IF command, which was deprecated, has been removed.
877       You may replace any usage of it by SELECT IF following
878       TEMPORARY, which has the same effect.
879
880     * The output format for variables created by VECTOR may now be
881       specified as part of the VECTOR syntax.
882
883   "Scratch files", a new PSPP extension:
884
885     A scratch file, like a system file, consists of a dictionary and
886     any number of cases.  Small scratch files are stored in memory;
887     one that grows too large is written to disk.  By default, any file
888     handle whose name begins with # is assumed to refer to a scratch
889     file.
890
891     Scratch files can be used just about anywhere a system or portable
892     file can be used.  Also, portable files are now allowed in most
893     places that system files were allowed in previous PSPP version.
894
895     A new CLOSE FILE HANDLE command allows the storage associated with
896     scratch files to be freed.  It also allows file handles to be
897     reassigned to new files.
898
899     For more information on scratch files, refer to the "File Handles"
900     section in the PSPP manual.  For specifics of what commands now
901     allow what kinds of files to be specified, refer to the
902     documentation on those particular commands.
903
904   Data access changes:
905
906     * Binary formats and IBM/360 formats, including ASCII/EBCDIC
907       translation, are now supported.  Use FILE HANDLE to specify the
908       format of these files.
909
910     * Little-endian, big-endian, and VAX-endian formats are now
911       supported for integer binary formats when reading and writing
912       data files.  The new RIB and WIB subcommands on the SET command
913       control endianness of integer data.  The default is the host's
914       native endianness.
915
916     * IEEE 754, VAX, and IBM hexadecimal formats are now supported for
917       floating point binary formats when reading and writing data
918       files.  The new RRB and WRB subcommands on the SET command
919       control the floating point format.  The default is the host's
920       native floating point format.
921
922     * DATA LIST now supports the SKIP subcommand, to skip records at
923       the beginning of a file.  For compatibility, DATA LIST now
924       treats N format as F format for FREE and LIST format input.
925
926     * The SAVE and XSAVE commands now support the UNSELECTED,
927       PERMISSIONS, NAMES, and MAP subcommands.
928
929     * The EXPORT command has been re-implemented to obtain better
930       results.  Support for the UNSELECTED, DIGITS, and TYPE
931       subcommands has been added.
932
933     * For compatibility, PRINT now inserts a space at the beginning of
934       every output line, even lines that would otherwise be blank,
935       when OUTFILE is specified.  (The behavior of WRITE is
936       unchanged.)
937
938     * For compatibility, PRINT EJECT now inserts the digit `1' at the
939       beginning of each line that should begin a new page.
940
941     * For compatibility, WRITE now outputs the system-missing value as
942       a field filled with spaces.  Binary formats are an exception.
943       (The behavior of PRINT is unchanged.)
944
945   Documentation:
946
947     * Input and output format descriptions have been rewritten.  They
948       now precisely describe what is accepted on input and written on
949       output.
950
951     * The descriptions of the PSPP system and portable file formats
952       have been extensively revised and improved.
953
954   For developers, the build system now requires Autoconf 2.60 and
955   Automake 1.10.
956 \f
957 Changes from 0.3.0 to 0.4.0:
958
959   Changes in build dependencies:
960
961     * The GNU Scientific Library (libgsl), version 1.6 or later, is
962       now required.
963
964     * libplot from GNU plotutils is optional.  Without it, the new
965       graphing features will not work.  If you do not have it
966       installed, you must run `configure' with --without-libplot.
967
968     * libgmp2 is no longer a dependency.
969
970   Newly implemented commands and statistical features:
971
972     * EXAMINE, including its graphing features.
973
974     * FREQUENCIES now supports percentiles.
975
976     * ONEWAY.
977
978     * PERMISSIONS.
979
980     * SHOW.
981
982     * SORT CASES now sorts stably, that is, two cases with equal sort
983       criteria will be in the same relative order before and after the
984       sort.
985
986     * T-TEST (re-written).
987
988     * DATE and USE.  These commands are parsed but otherwise ignored,
989       to enhance compatibility with certain command files that invoke
990       them unnecessarily.
991
992     * VARIABLE WIDTH, VARIABLE ALIGNMENT, and VARIABLE LEVEL.  These
993       currently have no effect on PSPP output, but their values are
994       written to and read from system files and thus may affect
995       third-party software.
996
997     * SET EPOCH implemented.
998
999     * DATA LIST FREE and DATA LIST LIST now support arbitrary field
1000       delimiters.
1001
1002     * FILE HANDLE now supports custom tab widths.
1003
1004   Long variable names (and other identifiers) are now supported.  Up
1005   to the first 64 bytes of each identifier is significant.  PSPP now
1006   reads and writes system files compatible with SPSS version 12.
1007
1008   New --algorithm and --syntax command line options allow
1009   SPSS-compatible or enhanced modes to be selected.
1010
1011   Support for transformation expressions has been rewritten and
1012   significantly improved.  Refer to the manual for details.
1013
1014   Calculation of moments (mean, standard deviation, kurtosis,
1015   skewness) has been rewritten and should now be more accurate.  In
1016   --algorithm=enhanced mode moments may be more accurate than SPSS in
1017   some cases.
1018
1019   Numerous bugs have been fixed, too many to mention here.  Many new
1020   tests have been added, leading to the discovery and fixing of many
1021   of these bugs.
1022
1023   The ASCII output driver can now squeeze multiple blank lines into
1024   single blank lines.
1025
1026   Much of the code has been rewritten and refactored.  It is now much
1027   cleaner.
1028
1029   The FILE TYPE and REPEATING DATA commands have been disabled for
1030   this release because their implementations were deemed too buggy to
1031   be useful.  They will be fixed and replaced in a future release.
1032
1033   New pspp-mode for Emacs (in pspp-mode.el).
1034
1035   Added rudimentary command-line completion for interactive input.
1036
1037   lib/julcal and lib/dcdflib are no longer used, so they have been
1038   removed.
1039
1040   For developers, the build system now requires Autoconf 2.58 and
1041   Automake 1.7.  The included gettext has been updated to version
1042   0.12.1.
1043
1044   Some reports state that Texinfo 4.8, the latest version, may be
1045   necessary to successfully format the documentation on some systems.
1046
1047 Version 0.3.0 changes since 0.2.3:
1048
1049   Bugs fixed:
1050
1051     * Using alphanumeric variables in functions under AGGREGATE
1052       segfaulted.  Fixed.
1053
1054     * Under certain circumstances, the final case would be omitted
1055       from the results of an AGGREGATE operation.  Fixed.
1056
1057     * Undefined behavior was invoked by referencing a freed pointer
1058       under certain circumstances.  Fixed.
1059
1060     * A wrong record size was displayed when paging the active file to
1061       disk.  Fixed.
1062
1063     * Not having enough temporary space for sorting caused a core
1064       dump.  Fixed.
1065
1066     * Syntax errors in function descriptions on AGGREGATE caused core
1067       dumps.  Fixed.
1068
1069     * A null pointer was dereferenced, causing a core dump, when
1070       PERCENTILES was specified on FREQUENCIES.  This fixes the
1071       problem, but PSPP still doesn't calculate percentiles.
1072
1073     * SORT always sorted in ascending order.  Fixed.
1074
1075     * Some minor memory leaks in the expression parser were removed.
1076
1077     * Many assertions fixed for strict ANSI C compliance.
1078
1079   New features:
1080
1081     * SET ECHO ON now implemented, but turned off by default.
1082
1083     * PRINT specifier supported on END REPEAT.
1084
1085   Other:
1086
1087     * System libgmp2 library is used if installed instead of
1088       unconditionally using the included libgmp2 subset.
1089
1090     * Extensive code cleanup, which continues.
1091
1092     * Added CORRELATIONS command parser, but not implemented.
1093
1094 Version 0.2.3 changes since 0.2.2:
1095
1096   Bugs fixed:
1097
1098     * SPLIT FILE with a string variable caused a core dump.  Fixed.
1099
1100     * Nested INCLUDEs didn't work.  Fixed.
1101
1102     * The MATCH FILES procedure set the values of variables not present
1103       to 0.  It should have been SYSMIS.  This is now fixed.
1104
1105     * The REMARK command was too aggressive about skipping lines.  It
1106       didn't like being the last command in a file.
1107
1108     * Comment parsing wasn't consistent with the rest of the code in its
1109       idea of where one command ends and another starts.  This meant
1110       that sometimes commands would be mysteriously ignored.  Thanks to
1111       Dr. Dirk Melcher <BZN-mdksh@t-online.de> for reporting this bug.
1112
1113     * The TABLE subcommand on MATCH FILES worked only erratically at
1114       best.  This fixes it.  Thanks to Dr. Dirk Melcher
1115       <BZN-mdksh@t-online.de> for reporting this bug.
1116
1117     * VARIABLE LABELS rejected a slash before the first variable
1118       specification, contradicting the documentation.  Thanks to Walter
1119       M. Gray <graywm@northernc.on.ca> for reporting this bug.
1120
1121     * Because of an incorrect optimization in memory allocation,
1122       CROSSTABS sometimes segfaulted when asked to output multiple
1123       tables.  Thanks to Walter M. Gray <graywm@northernc.on.ca> for
1124       reporting this bug.
1125
1126     * CROSSTABS didn't display value labels for column and row
1127       variables.  Thanks to Walter M. Gray <graywm@northernc.on.ca> for
1128       reporting this bug.
1129
1130     * WRITE didn't write line ends.  Fixed.  Thanks to Dr. Dirk Melcher
1131       <BZN-mdksh@t-online.de> for reporting this bug.
1132
1133     * The TABLE subcommand on MATCH FILES worked only erratically at
1134       best.  This fixes it.  Thanks to Dr. Dirk Melcher
1135       <BZN-mdksh@t-online.de> for reporting this bug.
1136
1137     * VARIABLE LABELS rejected a slash before the first variable
1138       specification, contradicting the documentation.  Thanks to Walter
1139       M. Gray <graywm@northernc.on.ca> for reporting this bug.
1140
1141     * Because of an incorrect optimization in memory allocation,
1142       CROSSTABS sometimes segfaulted when asked to output multiple
1143       tables.  Thanks to Walter M. Gray <graywm@northernc.on.ca> for
1144       reporting this bug.
1145
1146     * CROSSTABS didn't display value labels for column and row
1147       variables.  Thanks to Walter M. Gray <graywm@northernc.on.ca> for
1148       reporting this bug.
1149
1150     * WRITE didn't write line ends.  Fixed.  Thanks to Dr. Dirk Melcher
1151       <BZN-mdksh@t-online.de> for reporting this bug.
1152
1153     * MATCH FILES corrupted memory and dumped core on some syntax
1154       errors.  Fixed.
1155
1156     * MATCH FILES should set numeric values not available to the
1157       system-missing value, not to 0.  Thanks to Dr. Dirk Melcher
1158       <BZN-mdksh@t-online.de> for reporting this bug.
1159
1160     * KEEP didn't work properly on the SAVE procedure.  Fixed.  Thanks
1161       to Ralf Geschke <ralf@kuerbis.org> for reporting this bug.
1162
1163     * Memory leak fix.
1164
1165     * Some systems didn't like the way open_file was coded.  Thanks to
1166       Hankin <hankin@rogue.consultco.com> for pointing this out.
1167
1168     * The SAVE procedure didn't save long string variables properly.
1169       Fixed by this patch.  Thanks to Hankin
1170       <hankin@rogue.consultco.com> for this patch.
1171
1172     * Minor documentation fixes for MATCH FILES.
1173
1174 Version 0.2.2 changes since 0.2.1:
1175
1176   Bugs fixed:
1177
1178     * Fix behavior of PRINT SPACE for negative arguments.
1179
1180     * Fix reading some unusual system files.
1181
1182     * Fix LIST problems with very long variables.  Thanks to Hankin
1183       <hankin@dunno.com> for this bug report.
1184
1185     * Fix problems with some string format specifiers.
1186
1187     * Fix use of $CASENUM in expressions.  Thanks to Dirk Melcher
1188       <BZN-mdksh@t-online.de> for reporting this bug.
1189
1190     * Additional DATA LIST FREE and DATA LIST LIST fixes.  Thanks to
1191       Hankin <hankin@dunno.com> again on this one.
1192
1193     * Sometimes you may encounter a PSPP script that has to be
1194       interpreted in interactive mode.  Now you can use the -i flag to
1195       do this.
1196
1197     * Warnings for egcs 1.1.1 cleaned up.  (However you'll get lots of
1198       `unused variable' warnings under gcc 2.7.2.3, fixing this will
1199       take more effort.)
1200
1201     * Tests fixed.
1202
1203     * The files in gmp need the internationalization directory in
1204       their include path.  Thanks to OKUJI Yoshinori
1205       <okuji@kuicr.kyoto-u.ac.jp> for pointing this out.
1206
1207 Version 0.2.1 changes since 0.2.0:
1208
1209   Bugs fixed:
1210
1211     * Remember to include examples/ directory in distribution :-)
1212
1213     * Fixed gmp compile problems for some non-i386 architectures.
1214       Thanks to Hans Olav Eggestad <olav@jordforsk.nlh.no> and others
1215       for reporting this.
1216
1217     * DATA LIST FREE and DATA LIST LIST parsing of input files is now
1218       matches the documented behavior exactly, and error messages are
1219       more helpful.  Thanks to Mark H. Wood <mwood@IUPUI.Edu>.
1220
1221 Version 0.2.0 changes since 0.1.0:
1222
1223   Procedures now implemented:
1224     * CROSSTABS.  Please see documentation for caveats.
1225
1226   Transformations and utilities now implemented:
1227     * AGGREGATE
1228     * APPLY DICTIONARY
1229     * CLEAR TRANSFORMATIONS
1230     * DISPLAY (all subcommands).
1231     * ERASE
1232     * FLIP
1233     * EXPORT
1234     * HOST
1235     * IMPORT
1236     * MATCH FILES
1237     * MATRIX DATA
1238     * NEW FILE
1239     * REPEATING DATA
1240
1241   Support for input and output through pipes: "|command" and
1242   "command|" filenames; support for special filenames "-", "stdin",
1243   "stdout", "stderr".
1244
1245   New command-line features:
1246     * New option --testing-mode: Invoke heuristics to assist testing.
1247     * New option --safer, -s: Don't allow certain unsafe operations.
1248     * New option --command=CMD, -c CMD: Perform literal command CMD.
1249     * rc file ~/.pspp/rc is executed before any other files.
1250     * Now multiple syntax files can be specified.
1251
1252   Operator LAG is now implemented.
1253
1254   Added missing FILE subcommand to REREAD.
1255
1256   Table output manager completely rewritten.
1257
1258   Device configuration file syntax changed.  You will need to
1259   reinstall your `devices' file.
1260
1261   New output driver for HTML.
1262
1263   PostScript driver and prologue simplified.
1264
1265   Many bugs fixed.  General source-code cleanup.
1266
1267   Added Texinfo documentation for:
1268     * PSPP system file format
1269     * PSPP portable file format
1270     * How to write input for q2c parser generator
1271     * HTML driver
1272
1273   PSPP language is now fully documented.  Please report any
1274   inaccuracies or omissions in the documentation.
1275
1276 Changes for version 0.1.0:
1277
1278   First public release.  For changes from unreleased development
1279   versions, please see ONEWS.
1280 \f
1281 ----------------------------------------------------------------------
1282 Copyright information:
1283
1284    Permission is granted to anyone to make or distribute verbatim
1285    copies of this document as received, in any medium, provided that
1286    the copyright notice and this permission notice are preserved, thus
1287    giving the recipient permission to redistribute in turn.
1288
1289    Permission is granted to distribute modified versions of this
1290    document, or of portions of it, under the above conditions,
1291    provided also that they carry prominent notices stating who last
1292    changed them.
1293 \f
1294 Local variables:
1295 version-control: never
1296 mode: indented-text
1297 end: