John Darrington [Mon, 16 Nov 2020 17:07:17 +0000 (18:07 +0100)]
doc/automake.mk: Re-instate html-local as a dummy rule
commit
a58b271cad7e72bc5f2c0e8f7e98fadc27759089 removed the html-local
rule, but did not remove all references to it. I'm intending to use
this rule again for upcoming changes. In the meantime I'm re-instating
it as a rule which does nothing.
Friedrich Beckmann [Sun, 15 Nov 2020 23:02:07 +0000 (00:02 +0100)]
MacOS: wc does not support -L option
The default wc application on MacOS does not support the -L option. I added
autotools support to search for GNU wc and use that instead. This assumes
that the application name is gwc which is the case whan using macports.
The tex tests use wc with the -L option. These regression tests fail on MacOS if the default wc application is used.
Friedrich Beckmann [Sun, 15 Nov 2020 08:15:13 +0000 (09:15 +0100)]
check gcc version before using gnu_printf attribute
The MacOS clang compiler does not know the gnu_printf attribute.
gnu_printf was introduced with gcc version 4.4 so I check the
gcc version before using gnu_printf. Otherwise I fallback to the
previous __printf__ attribute.
Friedrich Beckmann [Sat, 14 Nov 2020 22:33:04 +0000 (23:33 +0100)]
automake: added EXEEXT for windows support
The make process fails when the excutable is called pspp on windows. I
added the EXEEXT such that pspp.exe is the target on Windows.
John Darrington [Sat, 14 Nov 2020 06:52:43 +0000 (07:52 +0100)]
Fix leak in perl module
Ben Pfaff [Fri, 13 Nov 2020 16:53:47 +0000 (08:53 -0800)]
Fix parsing of some more .tlo files.
Ben Pfaff [Mon, 9 Nov 2020 02:29:49 +0000 (18:29 -0800)]
Add support for .tlo TableLook files from SPSS 15 and earlier.
John Darrington [Sat, 7 Nov 2020 08:11:13 +0000 (09:11 +0100)]
New function: xr_draw_eps_chart
John Darrington [Sun, 1 Nov 2020 07:48:30 +0000 (08:48 +0100)]
TeX driver: Add some REVERSED glyphs
John Darrington [Sun, 1 Nov 2020 18:46:37 +0000 (19:46 +0100)]
TeX driver: Use the glyphs from wasyfont instead of rolling our own
John Darrington [Sun, 1 Nov 2020 11:19:32 +0000 (12:19 +0100)]
doc/automake.mk: Simplify conversion rules
John Darrington [Sun, 1 Nov 2020 10:58:09 +0000 (11:58 +0100)]
doc/automake.mk: Remove comment which is no longer appropriate
Ben Pfaff [Tue, 3 Nov 2020 07:09:13 +0000 (23:09 -0800)]
spv-table-look: Don't use user-provided text as format string.
Thanks to Mindaugus for reporting this issue.
John Darrington [Sat, 31 Oct 2020 08:24:16 +0000 (09:24 +0100)]
Fix oneway bug and add a test
Reported-by: Arbe Kablau
John Darrington [Sun, 25 Oct 2020 07:51:00 +0000 (08:51 +0100)]
User manual: Add 2020 to copyright date
John Darrington [Sun, 25 Oct 2020 17:26:42 +0000 (18:26 +0100)]
User manual: kg -> kilogram
John Darrington [Sun, 25 Oct 2020 17:26:15 +0000 (18:26 +0100)]
User manual: Mention TeX in the list of supported output formats
John Darrington [Sun, 25 Oct 2020 07:38:52 +0000 (08:38 +0100)]
User manual: Move some sentances out of the future tense.
John Darrington [Sun, 25 Oct 2020 20:33:52 +0000 (21:33 +0100)]
User manual: filename -> file name
The GNU Coding Standards prescribe this.
John Darrington [Sun, 25 Oct 2020 07:41:59 +0000 (08:41 +0100)]
User manual: Use italic typeface for latin abbreviations
Ben Pfaff [Fri, 30 Oct 2020 07:02:43 +0000 (00:02 -0700)]
output: Break struct pivot_table_look out of struct pivot_table.
Ben Pfaff [Fri, 30 Oct 2020 06:11:59 +0000 (23:11 -0700)]
table: Rename area_style to table_area_style for consistency.
Other, similarly situated data structures have a table_ prefix.
Ben Pfaff [Thu, 29 Oct 2020 06:01:12 +0000 (23:01 -0700)]
doc: Use --css-ref option to makeinfo, instead of postprocessing with sed.
This option was introduced with makeinfo 4.11, released in 2007, so it
should be widely available.
Ben Pfaff [Thu, 29 Oct 2020 05:55:10 +0000 (22:55 -0700)]
render: Fix rendering of backgrounds in middle- or bottom-justified cells.
Ben Pfaff [Thu, 29 Oct 2020 05:40:10 +0000 (22:40 -0700)]
output: New HTML driver option "bare".
Ben Pfaff [Thu, 29 Oct 2020 05:30:43 +0000 (22:30 -0700)]
pspp-output: New command get-table-look.
Ben Pfaff [Thu, 29 Oct 2020 05:29:40 +0000 (22:29 -0700)]
spv: Support underlining in table styles.
Ben Pfaff [Tue, 27 Oct 2020 02:38:03 +0000 (19:38 -0700)]
help-menu: Avoid const-ness warnings on Mingw.
Ben Pfaff [Tue, 27 Oct 2020 02:36:51 +0000 (19:36 -0700)]
psppire-window: Use "long int" for %ld.
Found on mingw.
Ben Pfaff [Tue, 27 Oct 2020 02:36:08 +0000 (19:36 -0700)]
spv: Avoid some compiler warnings on mingw.
The mingw compiler warned about these, and it's harmless to avoid them.
Ben Pfaff [Tue, 27 Oct 2020 02:35:09 +0000 (19:35 -0700)]
Use gnu_printf in attribute(()) to indicate GNU printf extension support.
By writing ordinary printf (or __printf__) inside __attribute__((format)),
one indicates that the system's typical format specifiers are supported.
This is OK for building for glibc, but it falls down for building for
mingw, since PSPP actually supports GNU format specifiers there via gnulib.
By writing gnu_printf instead, we avoid some incorrect warnings on mingw.
Ben Pfaff [Tue, 27 Oct 2020 02:31:18 +0000 (19:31 -0700)]
pspp-output: New option --table-look.
John Darrington [Mon, 26 Oct 2020 18:11:28 +0000 (19:11 +0100)]
TeX driver: Conditionally emit "\input graphics" control sequence.
Only emit the \input graphicx control sequence if it is actually needed.
This way, systems which do not have the graphicx package installed will
not fail on examples which need no graphics component.
Ben Pfaff [Mon, 26 Oct 2020 01:06:59 +0000 (18:06 -0700)]
doc: Fix use of @psppsyntax that should have been @psppoutput.
Ben Pfaff [Mon, 26 Oct 2020 00:29:12 +0000 (17:29 -0700)]
doc: Improve formatting of tutorial in PDF output.
In the PDF version of the manual, excerpts from the output were formatted
awkwardly because output couldn't be split across pages. In one case,
the output spilled off the bottom of the page. This fixes the problem.
This change is pretty big. It's because @float can't split across pages,
but without @float one must write in a different style that doesn't assume
the reader can jump back and forth to figures and tables. I also took
the opportunity to start using pspp-output to excerpt portions of output.
Ben Pfaff [Sun, 25 Oct 2020 21:32:42 +0000 (14:32 -0700)]
tex: Avoid compiler warning for unused variable.
Ben Pfaff [Sun, 25 Oct 2020 21:28:55 +0000 (14:28 -0700)]
pspp-output: Add new --nth-commands option.
John Darrington [Sun, 25 Oct 2020 19:46:00 +0000 (20:46 +0100)]
Add a TeX driver
Ben Pfaff [Sun, 25 Oct 2020 06:17:48 +0000 (23:17 -0700)]
doc: Fix dependencies.
These didn't cause a problem for me until I started using the autobuilder.
Build systems are so frustrating.
Ben Pfaff [Sun, 25 Oct 2020 06:08:21 +0000 (23:08 -0700)]
doc: Enclose @psppoutput and @psppsyntax in @smallexample.
This makes these fit better horizontally within the page width for PDF
output.
Ben Pfaff [Sun, 25 Oct 2020 06:07:28 +0000 (23:07 -0700)]
doc: Generate output for tutorial examples at build time too.
The trickiest part here is that the final example should only include part
of the output, the coefficients tables only. For that, we can use the
pspp-output utility to pull just those tables from the output file.
Ben Pfaff [Sun, 25 Oct 2020 05:45:28 +0000 (22:45 -0700)]
doc: Improve rules for generating output from examples.
This adds support for --enable-silent-rules, avoids the need for $PWD,
and behaves better if there is a failure (by not creating the output file).
Ben Pfaff [Sun, 25 Oct 2020 05:29:08 +0000 (22:29 -0700)]
zip-writer: Fix writing a zip file to a pipe.
The code here had comment indicating that it could write a zip file to a
pipe, but it didn't actually work. This fixes it and adds a test.
Ben Pfaff [Sun, 25 Oct 2020 05:15:51 +0000 (22:15 -0700)]
spv-driver: Fix double free on error path.
The output_driver_destroy() call also indirectly called fh_unref().
Ben Pfaff [Sun, 25 Oct 2020 03:26:13 +0000 (20:26 -0700)]
Make configure create doc/examples so the Makefiles don't need to.
Ben Pfaff [Sat, 24 Oct 2020 20:24:15 +0000 (13:24 -0700)]
doc: Add targets to build example outputs and HTML.
John Darrington [Sun, 18 Oct 2020 08:15:35 +0000 (10:15 +0200)]
Restore the mime defintion file pspp.xml
Commit
8ec823cac8dd9eee5d0ad6cee9d001b9fdb673ba inadvertently
removed pspp.xml - the mime definition file. This change
restores it and also takes it out of the gui definition directory.
John Darrington [Sat, 17 Oct 2020 15:48:03 +0000 (17:48 +0200)]
Add default to generate prerequisistes for any rule
John Darrington [Sat, 17 Oct 2020 07:36:20 +0000 (09:36 +0200)]
Move org.fsf.pspp.* to doc
org.fsf.pspp.desktop and org.fsf.pspp.metainfo.xml are not part of
the user interface per se. Rather, they are documentation
Ben Pfaff [Mon, 12 Oct 2020 01:51:07 +0000 (18:51 -0700)]
Makefile.am: Add built-sources target.
This makes it easier to test targets that need the built sources built
first, e.g. "make clean && make built-sources && make src/ui/terminal/pspp"
John Darrington [Sun, 11 Oct 2020 17:13:52 +0000 (19:13 +0200)]
Fix build of pspp.xml
Ben Pfaff [Sun, 11 Oct 2020 02:58:17 +0000 (19:58 -0700)]
README.Git: Increase gnulib version.
Commmit
1b53d13b2b8a ("relocatable-prog: Fix for multiple relocatable
library directories.") is needed for a commit I plan to make. This is
an update to the newest gnulib version.
John Darrington [Sat, 10 Oct 2020 18:59:08 +0000 (20:59 +0200)]
Add extra code examples to the documentation
Add some examples of code to the manual and autogenerate
the results of running that code. Addresses bug #51079
John Darrington [Sat, 10 Oct 2020 18:16:27 +0000 (20:16 +0200)]
Update to a more modern version of texinfo.tex
John Darrington [Sat, 10 Oct 2020 06:21:56 +0000 (08:21 +0200)]
Rework the spreadsheet import feature of the grapic user interface
This change adds a feature where the user can preview the data from
a spreadsheet when preparing to import it. This should make importing
spreadsheets somewhat easier. Some rework of the other import code
was also necessary as part of this change.
John Darrington [Sun, 4 Oct 2020 06:51:11 +0000 (08:51 +0200)]
Update version number to 1.5.2
John Darrington [Sat, 3 Oct 2020 05:37:26 +0000 (07:37 +0200)]
Remove width specifications from range strings (eg %3d-%3d)
src/language/data-io/data-parser.c: Change %3d to %d
src/language/data-io/print.c: ditto
Having these width specifications resulted in an ugly space after
the dash. Removing them means the the output is more aesthetically
pleasing in my opinion.
John Darrington [Sat, 3 Oct 2020 05:34:10 +0000 (07:34 +0200)]
src/ui/gui/psppire-text-file.c (read_lines): Use const int instead of enum
John Darrington [Sat, 3 Oct 2020 05:31:36 +0000 (07:31 +0200)]
Update translations from translationproject.org
John Darrington [Sat, 3 Oct 2020 05:24:16 +0000 (07:24 +0200)]
Fix broken ./configure --without-gui (again)
John Darrington [Sat, 3 Oct 2020 05:18:47 +0000 (07:18 +0200)]
Ensure that data sheet and variable sheets can be constructed via GtkBuilder.
This change removes the reliance of the _new functions on setting
necessary properties. Otherwise these objects do not get set
when constructed by GtkBuilder.
John Darrington [Sat, 3 Oct 2020 05:10:42 +0000 (07:10 +0200)]
Add remaining custom psppire widgets to our glade tools
John Darrington [Sat, 3 Oct 2020 05:07:00 +0000 (07:07 +0200)]
src/ui/gui/t-test.ui: Remove deprecated properties
Friedrich Beckmann [Thu, 1 Oct 2020 07:28:26 +0000 (09:28 +0200)]
added spreadsheetwidget CFLAGS to automake
The build now honours the CFLAGS which are provided by pkgconfig
for the spread-sheet-widget.
John Darrington [Sat, 5 Sep 2020 03:08:12 +0000 (05:08 +0200)]
Psppire: On irrecoverable error display fatal error dialog
John Darrington [Sat, 5 Sep 2020 03:08:12 +0000 (05:08 +0200)]
Avoid calling stdio function calls from within signal handler.
fprintf &c is unsafe in a signal handler, because it is non-reentrant.
This change therefore uses write, and prepares the message to be
printed outside of the handler.
John Darrington [Sun, 27 Sep 2020 09:29:15 +0000 (11:29 +0200)]
psppire.xml: Replace placeholder strings, add missing widgets and sort
John Darrington [Sat, 26 Sep 2020 06:37:46 +0000 (08:37 +0200)]
PspppireKeypad: Add tooltips to buttons
John Darrington [Sat, 26 Sep 2020 20:48:03 +0000 (22:48 +0200)]
acinclude.m4: Remove one oxymoron and one tautology
John Darrington [Sat, 26 Sep 2020 06:37:46 +0000 (08:37 +0200)]
src/ui/gui/psppire-window-base.c: Remove erroneous "return"
Don't attempt to return a value from a function returning void
John Darrington [Sun, 20 Sep 2020 19:10:56 +0000 (21:10 +0200)]
PsppireKeypad: Remove deprecated properties
John Darrington [Sun, 20 Sep 2020 19:09:56 +0000 (21:09 +0200)]
src/ui/gui/psppire.xml: Add definition of PsppireKeypad
John Darrington [Sat, 19 Sep 2020 20:07:46 +0000 (22:07 +0200)]
Oneway Dialog: Remove deprecated properties
John Darrington [Sat, 19 Sep 2020 20:00:12 +0000 (22:00 +0200)]
Reliability Dialog: Remove depdecated properties
John Darrington [Sat, 19 Sep 2020 20:00:00 +0000 (22:00 +0200)]
Factor Dialog: Remove depdecated properties
John Darrington [Sat, 19 Sep 2020 19:48:39 +0000 (21:48 +0200)]
Aggregate Dialog Box: Remove deprecated properties
John Darrington [Sat, 19 Sep 2020 19:37:04 +0000 (21:37 +0200)]
Recode Dialog Box: Remove deprecated properties
John Darrington [Sat, 19 Sep 2020 19:22:58 +0000 (21:22 +0200)]
psppire.xml: Add PsppireAcr and PsppireValChooser
John Darrington [Sat, 19 Sep 2020 06:54:40 +0000 (08:54 +0200)]
Select Cases Dialog: Make the 'All Cases' button easier to select.
The radiobutton area is very small and hard to click.
This change adds an Eventbox under the corresponding
label, So clicking on the label will have the same effect.
John Darrington [Sat, 19 Sep 2020 05:44:11 +0000 (07:44 +0200)]
Select Cases Dialog: Cosmetic Improvements
John Darrington [Sat, 19 Sep 2020 05:31:25 +0000 (07:31 +0200)]
Rank Dialog: Cosmetic Improvements
John Darrington [Sat, 19 Sep 2020 05:19:13 +0000 (07:19 +0200)]
Frequencies Dialog: Cosmetic Improvements
John Darrington [Sat, 19 Sep 2020 04:22:09 +0000 (06:22 +0200)]
Examine Spreadlevel: Allow power to be non-integer
John Darrington [Sat, 19 Sep 2020 04:21:14 +0000 (06:21 +0200)]
Examine Plots Dialog : Set combo box sensitivity
John Darrington [Sat, 19 Sep 2020 04:20:00 +0000 (06:20 +0200)]
src/ui/gui/psppire-dialog-action-examine.c: constness
John Darrington [Sat, 19 Sep 2020 04:18:43 +0000 (06:18 +0200)]
Examine Dialog: Cosmetic improvements
John Darrington [Sat, 19 Sep 2020 04:15:50 +0000 (06:15 +0200)]
doc/invoking.texi (Main Options): Correct minor informational error
Friedrich Beckmann [Tue, 15 Sep 2020 10:07:10 +0000 (12:07 +0200)]
metainfo - changed url from commit to tree
Friedrich Beckmann [Tue, 15 Sep 2020 10:01:55 +0000 (12:01 +0200)]
metainfo: added releases 1.4.0 and 1.4.1
Friedrich Beckmann [Tue, 15 Sep 2020 09:53:00 +0000 (11:53 +0200)]
metainfo: Fixed typos in metainfo
Jaap Verhage found several wrong wordings. I changed them according
to his proposals. See:
https://lists.gnu.org/archive/html/pspp-dev/2020-09/msg00058.html
Friedrich Beckmann [Sun, 13 Sep 2020 21:55:00 +0000 (23:55 +0200)]
psppire: add "Plots" subdialog for examine (Explore)
Closes: https://savannah.gnu.org/bugs/?49674
John Darrington [Sun, 13 Sep 2020 11:46:20 +0000 (13:46 +0200)]
Psppire: Move Mac OS specific code to its own file
John Darrington [Sat, 12 Sep 2020 20:03:15 +0000 (22:03 +0200)]
Percentiles: Remove unused static data
John Darrington [Sat, 12 Sep 2020 17:31:58 +0000 (19:31 +0200)]
Use PACKAGE_BUGREPORT instead of a literal string
John Darrington [Sat, 12 Sep 2020 17:16:03 +0000 (19:16 +0200)]
Remove obsolete acknowlegdement.
Network Theory Ltd. have been dissolved so they cannot benefit from our
acknowledgement.
Ben Pfaff [Sat, 12 Sep 2020 16:53:52 +0000 (09:53 -0700)]
i18n: Fix use of const qualifiers in create_iconv().
Only the inbuf parameter of iconv() takes a const qualifier, on some POSIX
nonconforming systems, but all of its parameters were qualified here, which
caused warnings on those nonconforming systems. This fixes the problem.
Found with win-iconv for mingw.
John Darrington [Sat, 12 Sep 2020 12:35:18 +0000 (14:35 +0200)]
Regression Dialog: Reduce the size of the Independent Variables widget.
It is uncommon to perform a linear regression on many predictor variables.
But it is quite common to have many depdendent variables. This change
reduces the size of the predictor variable view widget and increases the
size of the regressor variable view widget.
John Darrington [Sat, 12 Sep 2020 05:35:25 +0000 (07:35 +0200)]
README.Git: Remove mention of --with-gui-tools.
This information is obsolete.
John Darrington [Sat, 12 Sep 2020 05:31:58 +0000 (07:31 +0200)]
Add static qualifiers where appropriate.
A number of items were defined in global scope. This change
puts them into file scope.
Friedrich Beckmann [Fri, 11 Sep 2020 21:01:11 +0000 (23:01 +0200)]
psppire-output: added drag-n-drop