Ben Pfaff [Sun, 4 Dec 2016 21:31:44 +0000 (13:31 -0800)]
Update all translations using "make po-update".
This only adds an "X-Bugs:" line to the translations, which were otherwise
up-to-date except that cs.po and en_GB.po aren't actually in
translationproject. I'll have to ask John Darrington about that.
Ben Pfaff [Sat, 3 Dec 2016 06:24:06 +0000 (22:24 -0800)]
Fix misleadingly indented statements.
GCC 6.2.1 reported {}-braced blocks that looked like they were guarded by
preceding "if" statements but really weren't. This fixes the misleading
indentation.
This typo was reported in the mailing list in message:
http://lists.gnu.org/archive/html/bug-gnu-pspp/2016-11/msg00001.html
Thank you for reporting the typo!
This patch fixes the problem described in bug #49550. When libxml2 is
not installed, the gnumeric and odf read support is disabled. This was
not handled correctly. I changed the compilation requirements and the
error message handling if somebody tries to open a file.
added CFLAGS, CPPFLAGS and LDFLAGS for PSPP.C and q2c.c compilation
The hardening check during the debian build process showed that the
hardening compile flags are not issued to the compilation process of
PSPP.c (the perl module) and q2c.c (the lexer). Although q2c.c is only
relevant during the build process hardening this will not hurt.
The perl INC path in debian does not include the current directory
anymore. Therefore I added the current directory path at the places
where a module is called and it is assumed that . is part of INC.
John Darrington [Sun, 19 Jun 2016 11:36:48 +0000 (13:36 +0200)]
Update the Gnulib version
The primary motive for doing this is to update gl/version_etc which changes
the copyright year to 2016. This is the value which gets displayed by --version
I do not think it is ideal that we must update gnulib to get the current year
in our version string, but I did not design this aspect of the code.
FREQUENCIES command crashed in a combination of /histogram /percentiles
and /statistics option. This was fixed in commit 86642e. Here a crash
test is added exactly for this situation.
tab.c could not be compile with --enable-debug configuration because
the return value did not fit with the function. In addition a typo in
a "bad cell" check was fixed.
The frequencies command crashed with a certain combination of
percentiles and histogram options. The bug was reported by
Cubyrk Zyrvay in
http://lists.gnu.org/archive/html/bug-gnu-pspp/2016-06/msg00000.html
help-menu.c: start the default html browser via wscript instead of cmd
Harry mentioned that starting help via cmd shows the command window for
a short time on windows. With this patch the default html browser is
started via wscript instead of cmd /C <uri>.
Unfortunatly the nice function g_app_info_launch_default_for_uri does
not work, at least on osx and windows.
help-menu.c: fix default html browser start on windows - correct uri
commit #6c9aaa introduced calling the default html browser in case the
yelp system is not available on the system. This patch fixes a
problem on WINDOWS, where the browser did not open. The problem is
that on windows the "start" command is not a regular executable but
a part of the cmd shell. So the executable that has to be called is
"cmd" with start as a parameter to execute. There is an additional
problem on windows that the "Program Files" directory contains a
space in the path name. For a proper uri, this has to be
translated to Program%20Files. This is done via the
g_filename_to_uri function.
scatterplot: changed colorscheme - first color is black - fixes bug#47806
The default data colour palette choses light colors (yellow). This patch
selects black if no BY variable is selected for the scatterplot. Having
a special colour palette for scatterplot will interfere with the legend
coloring scheme. That would need more changes to have data points and
legend having the same color palette.
added help function via html if yelp is not installed
The current help system requires yelp to be installed. This patch
will fallback to local html help and then internet html help via
http://www.gnu.org/software/pspp if no html is installed. The browser
is invoked via open (MAC), start (windows) and xdg-open (linux)
This adds a utility script which produces a mac application bundle
based on the macports installation of pspp. The application bundle
can then be distributed as a single file and can be installed exactly
like a usual mac application. This is easier for mac users as they
do not need to install XCode, macports, XQuartz but just this package.
John Darrington [Thu, 21 Apr 2016 10:39:36 +0000 (12:39 +0200)]
Fix bug in syntax parser of GET DATA /TYPE=TXT
Fixed a bug which manifested itself when GET DATA /TYPE=TXT was
passed a variable name which happened also to be a token identifier.
The actual bug might also have caused other ill effects, but seems
to have been masked.