Ben Pfaff [Sun, 22 Dec 2013 19:10:49 +0000 (11:10 -0800)]
DISPLAY DICTIONARY: Add "Label: " prefix for variable labels in output.
Bug #40864.
Ben Pfaff [Sun, 22 Dec 2013 07:33:57 +0000 (23:33 -0800)]
pspp-convert: Add support for decrypting encrypted system files.
Ben Pfaff [Sun, 22 Dec 2013 07:14:19 +0000 (23:14 -0800)]
pspp-convert: Use null encoding rather than "Auto" by default.
This avoids errors trying to create a converter to and from a nonexistent
"Auto" encoding.
John Darrington [Wed, 18 Dec 2013 17:28:24 +0000 (18:28 +0100)]
Documentation: Change index entry to be consistent with that in
the tutorial section.
John Darrington [Sun, 8 Dec 2013 14:36:49 +0000 (15:36 +0100)]
src/data/any-reader.c (any_reader_may_open): Return tri-state value.
Previously, any_reader_may_open returned bool. This change makes it
return a tri-state variable. YES, NO or ERROR. This is useful to
distinguish between a file which is not "readable" (ie not in a format
which PSPP knows how to read) and a file which cannot be opened due
to lack of permission or other lower level errors.
John Darrington [Sun, 15 Dec 2013 16:18:41 +0000 (17:18 +0100)]
Avoid crash when attempting to open files with invalid encoding
Ben Pfaff [Sat, 14 Dec 2013 21:47:32 +0000 (13:47 -0800)]
po: Update translations from translationproject.org.
John Darrington [Sat, 23 Nov 2013 18:51:44 +0000 (19:51 +0100)]
Fix incorrect table range selection in CORRELATIONS
Fixed a problem were non-square correlations (those where the
WITH keyword was used) displayed the wrong part of the correlation
table.
Fixes bug #40661
John Darrington [Sun, 17 Nov 2013 10:13:24 +0000 (11:13 +0100)]
Updated translations from translationproject.org
Ben Pfaff [Sat, 16 Nov 2013 17:54:46 +0000 (09:54 -0800)]
po: Update Ukrainian and Dutch translations, from translationproject.
Ben Pfaff [Sat, 16 Nov 2013 17:47:20 +0000 (09:47 -0800)]
Smake: Break svg2png out as separate script.
This makes the output of "make -f Smake" shorter and easier to read.
Ben Pfaff [Sat, 16 Nov 2013 04:32:28 +0000 (20:32 -0800)]
psppire-data-window: Set default filter in File|Save As to show all files.
The File|Save As dialog box showed "System Files" in two places: in the
filter dropdown and in the format dropdown. It was surprising to users
that changing the filter dropdown had no effect on the format of the file
actually saved. This commit makes it more obvious which dropdown needs to
be changed, by only showing "System Files" in the right place.
Reported by Harry Thijssen.
Bug #39648.
Ben Pfaff [Fri, 15 Nov 2013 06:25:44 +0000 (22:25 -0800)]
psppire-data-sheet: Show combo boxes only when value labels are displayed.
A number of users chimed in that this made more sense.
Requested by Bernhard Baermann.
Ben Pfaff [Fri, 15 Nov 2013 00:41:32 +0000 (16:41 -0800)]
render-test: Render to PDF only if --pdf specified on command line.
Difference in font metrics on Guix lead to errors trying to render to PDF
in some tests. The tests don't actually check anything in the PDF output
so we might as well just leave that for manual testing. Adding an option
accomplishes that well enough.
Reported by Andreas Enge.
Root caused discovered by John Darrington.
Bug #40213.
Ben Pfaff [Sun, 10 Nov 2013 01:19:35 +0000 (17:19 -0800)]
Update version number to 0.8.1.1 to send to translationproject.
Ben Pfaff [Sun, 10 Nov 2013 00:15:33 +0000 (16:15 -0800)]
Update Ukrainian translation.
John Darrington [Thu, 7 Nov 2013 14:48:32 +0000 (15:48 +0100)]
Smake: Added the -background transparent flag to the convert call
John Darrington [Thu, 7 Nov 2013 08:57:54 +0000 (09:57 +0100)]
Added new map entries from Gtk stock items to pspp stock items
This method allows us to use our own icons, but all other properties
(labels, translations etc) from the Gtk library.
These missing entries meant that labels were missing from the
syntax editor.
Reported-by: Bastian Diaz
Bastián Díaz [Thu, 7 Nov 2013 06:33:18 +0000 (03:33 -0300)]
Support for images 24x24 and 32x32 canvas for some flat icons
Added support for new images in arger sizes to be included in a future
in the toolbar (data editor, syntax editor and output windows).
John Darrington [Sun, 3 Nov 2013 07:16:38 +0000 (08:16 +0100)]
Added the pspp.appdata.xml file.
Apparently upcoming Gnome versions require this file.
Closes bug #40453
John Darrington [Sun, 3 Nov 2013 06:59:55 +0000 (07:59 +0100)]
Corrected typo in description string
John Darrington [Sat, 2 Nov 2013 15:42:26 +0000 (16:42 +0100)]
Updated Ukrainian translation from tp
John Darrington [Fri, 1 Nov 2013 18:19:18 +0000 (19:19 +0100)]
Corrected various typos in printed strings and documentation.
Reported-by: anonymous
Fixes bug 40447
John Darrington [Wed, 30 Oct 2013 19:47:07 +0000 (20:47 +0100)]
Fix problem with non-reentrant journal driver
John Darrington [Tue, 29 Oct 2013 16:59:07 +0000 (17:59 +0100)]
journal.c: Made journal_file_name a member of the journal struct
Bastián Díaz [Thu, 31 Oct 2013 09:00:00 +0000 (06:00 -0300)]
Correct error from previous commit "Reference is added to the image ZSAV files in Smake"
The inclusion of new references of ZSAV files, is omitted one of the backslash "\". In this commit fix the problem.
John Darrington [Wed, 30 Oct 2013 11:46:43 +0000 (12:46 +0100)]
Updated translations from translationproject.org
Bastián Díaz [Tue, 29 Oct 2013 06:13:39 +0000 (03:13 -0300)]
Update on the design of some flat icons
Bastián Díaz [Mon, 28 Oct 2013 18:41:04 +0000 (15:41 -0300)]
Reference is added to the image to ZSAV files in Smake
Bastián Díaz [Mon, 28 Oct 2013 10:03:52 +0000 (07:03 -0300)]
New pictogram for "split-file"
The new icon is more harmonious with the other icons.
Bastián Díaz [Mon, 28 Oct 2013 09:05:44 +0000 (06:05 -0300)]
Tradicional style pictograms weight cases and tag
Little improvement in using simple pictograms and more representative.
Bastián Díaz [Sun, 27 Oct 2013 04:46:42 +0000 (01:46 -0300)]
New version of icons for mimetypes supported by PSPP
→ Improved display for *.sav, *.por and *.sps
→ New icon for *.zsav
Ben Pfaff [Sat, 26 Oct 2013 19:52:54 +0000 (12:52 -0700)]
Updated uk.po from TPO
Ben Pfaff [Sat, 26 Oct 2013 19:17:37 +0000 (12:17 -0700)]
psppire-window: Display .zsav files in the File|Open dialog.
Requested by Hugo Alejandro <haevalencia@gmail.com>.
Ben Pfaff [Sat, 26 Oct 2013 04:42:26 +0000 (21:42 -0700)]
gui: Add .zsav support in File|Open and File|Save As dialogs.
Requested by Hugo Alejandro <haevalencia@gmail.com>.
Ben Pfaff [Sat, 26 Oct 2013 04:45:23 +0000 (21:45 -0700)]
psppire-var-sheet: Correct typo that breaks the build.
Commit
fd308174a81 (Corrected logical errors in tests for error
conditions.) introduced a typo in a function name. This commit corrects
it.
John Darrington [Fri, 25 Oct 2013 19:00:44 +0000 (21:00 +0200)]
Corrected logical errors in tests for error conditions.
Fixed several places where && had bee used where || was intended
and vici-versa.
Reported-By: David Binderman <dcb314@hotmail.com>
Ben Pfaff [Fri, 25 Oct 2013 03:00:43 +0000 (20:00 -0700)]
Updated uk.po from TPO
Ben Pfaff [Thu, 24 Oct 2013 04:39:17 +0000 (21:39 -0700)]
Updated uk.po from TPO
Ben Pfaff [Thu, 24 Oct 2013 04:33:17 +0000 (21:33 -0700)]
tests: Avoid using \b in sed regular expressions.
\b is a GNU extension, but I had not realized it.
Reported by Jeremy Lavergne <jeremy@lavergne.gotdns.org>.
John Darrington [Wed, 23 Oct 2013 19:24:21 +0000 (21:24 +0200)]
Avoid test failure due to indeterminate return values.
The test "Perl read system file" has been observed to fail on some
systems due to the order of the value labels being different from
that expected.
Perl does not guarantee the order in which keys returns its values.
Therefore this change sorts the return value before using it.
Ben Pfaff [Wed, 23 Oct 2013 05:11:58 +0000 (22:11 -0700)]
pspp-convert: New utility to convert among data formats.
Ben Pfaff [Sun, 20 Oct 2013 16:44:09 +0000 (09:44 -0700)]
i18n: Make recode_substring_pool() always return a pool_malloc()'d string.
recode_substring_pool() generally returned a string allocated by
pool_malloc(), but when there was an error finding the converter it
returned a string that was allocated by pool_alloc(). This was a problem
for parse_value_labels() in the system file reader, because that function
frees all the strings it recodes. This commit fixes the problem by
always using pool_malloc() in recode_substring_pool().
Ben Pfaff [Sun, 20 Oct 2013 16:36:26 +0000 (09:36 -0700)]
csv-file-writer: Use comma as default delimiter.
The previous default delimiter was a null byte, which isn't reasonable.
(This didn't manifest anywhere because the only existing user of the
CSV file writer always overrides the default.)
Ben Pfaff [Wed, 23 Oct 2013 05:56:18 +0000 (22:56 -0700)]
Implement ZLIB compressed system file reader and writer.
Thanks to Hugo Alejandro and Bastián Díaz for providing sample files in
ZLIB compressed format to use as samples.
Ben Pfaff [Sat, 19 Oct 2013 06:41:59 +0000 (23:41 -0700)]
integer-format: Support 8-byte values in integer_put().
It looks to me that the assertion was just incorrect.
Ben Pfaff [Thu, 17 Oct 2013 05:11:33 +0000 (22:11 -0700)]
sys-file-writer: Simplify use of put_cmp_number(), put_cmp_string().
Ben Pfaff [Thu, 17 Oct 2013 05:10:38 +0000 (22:10 -0700)]
sys-file-writer: Simplify compressed data buffering.
Ben Pfaff [Sat, 19 Oct 2013 05:36:41 +0000 (22:36 -0700)]
configure: Make zlib a required dependency (instead of optional).
It would be nice to support zlib compression for system files everywhere,
not just on some systems, so to do that we need to require zlib.
Ben Pfaff [Wed, 23 Oct 2013 05:13:30 +0000 (22:13 -0700)]
por-file-writer: Rename 'fv' member to 'case_index'.
'fv' used to be used throughout the tree to refer to the first of possibly
several sequential indexes into a case, but it is now obsolescent. The
term 'case_index' is now widely used.
John Darrington [Sun, 20 Oct 2013 18:39:57 +0000 (20:39 +0200)]
Updated uk.po from TPO
John Darrington [Sun, 20 Oct 2013 18:32:16 +0000 (20:32 +0200)]
Documented the new options affecting chart colours
John Darrington [Sat, 19 Oct 2013 16:16:10 +0000 (18:16 +0200)]
Corrected warning message which made no logical sense.
John Darrington [Sat, 19 Oct 2013 12:20:38 +0000 (14:20 +0200)]
Respect forground and background options when writing PNG charts.
The default colours for charts in PNG format was black on black,
which wasn't very useful. This change makes the defaults black
on white.
Perhaps for png charts intended for embedding in HTML it should be
black on transparent, but this hasn't been implemented in this change.
Fixes bugs #40107 and #40208
John Darrington [Sat, 19 Oct 2013 11:44:54 +0000 (13:44 +0200)]
New structure xr_color
John Darrington [Wed, 16 Oct 2013 17:03:02 +0000 (19:03 +0200)]
Updated ca and es translations from translationproject.org
John Darrington [Tue, 15 Oct 2013 20:28:32 +0000 (22:28 +0200)]
rl_echo_signal_char: Allow it to work on systems without termios
John Darrington [Mon, 14 Oct 2013 17:36:02 +0000 (19:36 +0200)]
Persist font settings
Allow the font size and family chosen for the data editor to
persist between sessions
Requested-by: Paul Wright <pmwrightmiller@yahoo.com>
John Darrington [Sun, 13 Oct 2013 10:38:28 +0000 (12:38 +0200)]
Oneway anova dialog: Converted to PsppireDialogAction
John Darrington [Sat, 12 Oct 2013 07:01:26 +0000 (09:01 +0200)]
NPar two samples dialog and T-Test paired dialogs: Converted to PsppireDialogAction
John Darrington [Fri, 11 Oct 2013 07:24:34 +0000 (09:24 +0200)]
Convert count dialog to PsppireDialogAction
John Darrington [Thu, 10 Oct 2013 07:31:03 +0000 (09:31 +0200)]
Compute Dialog: Convert to PsppireDialogAction
John Darrington [Wed, 9 Oct 2013 10:31:50 +0000 (12:31 +0200)]
Remove remaining references to about-logo
This file was deleted by change
56231bc7e8c2cda46a69d10362193556dd8cad41 but not all
references were erased.
John Darrington [Wed, 9 Oct 2013 10:20:08 +0000 (12:20 +0200)]
K-Related Samples Test Dialog: Convert from old style to PsppireDialogAction
John Darrington [Tue, 8 Oct 2013 13:43:49 +0000 (15:43 +0200)]
Remove old signal handlers when target widgets are destroyed
John Darrington [Tue, 8 Oct 2013 19:34:28 +0000 (21:34 +0200)]
Provide home grown rl_echo_signal_char if readline does not provide it
John Darrington [Tue, 8 Oct 2013 16:32:20 +0000 (18:32 +0200)]
Removed the about-logo image which is redundant
John Darrington [Tue, 8 Oct 2013 04:46:38 +0000 (06:46 +0200)]
Simplify psppire-var-view and its relationship to psppire-means-layer
Ben Pfaff [Tue, 8 Oct 2013 03:40:24 +0000 (20:40 -0700)]
comments-dialog: Avoid segfault in comments dialog pasting very long text.
The code in wrap_line() used a GtkTextIter after an insertion invalidated
it. In some setups, with a sufficiently long pasted text, this caused a
Gtk-WARNING and a subsequent segfault. This commit fixes the problem by
removing the offending code. In my testing, this didn't cause a UI
regression.
Reported by Bastián Díaz in the thread starting at
http://lists.gnu.org/archive/html/bug-gnu-pspp/2013-10/msg00005.html
John Darrington [Mon, 7 Oct 2013 15:42:14 +0000 (17:42 +0200)]
Recent to Gtk+2.24
John Darrington [Mon, 7 Oct 2013 15:41:21 +0000 (17:41 +0200)]
Text import dialog: Display the thousands separator in the number of cases.
This number can be very large, so it is easier to read if the thousands are separated.
John Darrington [Mon, 7 Oct 2013 15:00:42 +0000 (17:00 +0200)]
Install scalable application icon.
Closes bug #40183
Bastián Díaz [Sun, 6 Oct 2013 22:21:18 +0000 (19:21 -0300)]
Provisional new image is added for univariate analysis.
Added a provisional icon to the univariate analysis (experimental).
The image will be updated to a new icon in the next update of
artwork (0.2.1 version).
Changes:
*analyze-univariate-analysis is added
*Smake is edited
*data-editor.ui is edited
John Darrington [Sun, 6 Oct 2013 16:52:43 +0000 (18:52 +0200)]
Change toolbar style such that only icons are displayed and no labels.
The labels occupy too much horizontal space.
John Darrington [Sat, 5 Oct 2013 17:18:12 +0000 (19:18 +0200)]
Fixed potentially incorrect dereference in autorecode dialog
John Darrington [Sat, 5 Oct 2013 10:30:12 +0000 (12:30 +0200)]
MEANS: Fix potential errors in gui syntax generation
John Darrington [Sat, 5 Oct 2013 10:15:39 +0000 (12:15 +0200)]
Remove unncessary property assignments
John Darrington [Fri, 4 Oct 2013 20:44:22 +0000 (22:44 +0200)]
T-Test One Sample Dialog: Convert to PsppireDialogAction
John Darrington [Fri, 4 Oct 2013 15:26:57 +0000 (17:26 +0200)]
One sample Kalmogorov-Smirnov Dialog: convert from old style to PsppireDialogAction
John Darrington [Fri, 4 Oct 2013 15:01:05 +0000 (17:01 +0200)]
Univariate Dialog: Convert from old style to PsppireDialogAction
John Darrington [Fri, 4 Oct 2013 13:22:56 +0000 (15:22 +0200)]
Chi-square dialog: Convert from old style to psppire-dialog-action
John Darrington [Fri, 4 Oct 2013 11:59:51 +0000 (13:59 +0200)]
Transpose dialog: convert from old style to PsppireDialogAction
John Darrington [Fri, 4 Oct 2013 10:24:33 +0000 (12:24 +0200)]
Runs dialog: convert from old style to PsppireDialogAction
John Darrington [Wed, 2 Oct 2013 13:14:15 +0000 (15:14 +0200)]
Replace checkbox-treeview functions with a object PsppireCheckboxTreeview
Prior to this change there existed a function which operated on
a GtkTreeView which populated it with a model and renderers such
that it would display a list of annotated checkboxes.
This change subclasses GtkTreeView and moves the function to a
method of that class.
I anticipate this will ease implementation of upcoming functionality.
Ben Pfaff [Sat, 5 Oct 2013 22:28:32 +0000 (15:28 -0700)]
doc: Fix odd quotes in text.
Reported by Michel Boaventura.
Bug #40189.
Ben Pfaff [Sat, 5 Oct 2013 15:23:37 +0000 (08:23 -0700)]
Smake: pspp.png is the generated app icon, not pspp.png.
Fixes "make -f Smake" error:
make: *** No rule to make target `src/ui/gui/icons/apps/scalable/pspp.svg', needed by `icons'. Stop.
Bug introduced by commit (gui: Support for more flat icons and tag loss
fixing in some menus.)
Reported by Michel Boaventura.
Bug #40183.
Ben Pfaff [Sat, 5 Oct 2013 15:14:58 +0000 (08:14 -0700)]
doc: Fix usage of @itemx.
These @itemx commands should have been @item commands.
Reported by Michel Boaventura.
Bug #40182.
John Darrington [Wed, 2 Oct 2013 13:02:29 +0000 (15:02 +0200)]
Remove some #includes which were not necessary
John Darrington [Tue, 1 Oct 2013 10:44:45 +0000 (12:44 +0200)]
Use the 32x32 icon set for the toolbar.
A (partial) set of 32x32 icons has recently been added. This change tells the icon factory to
use those icons for the toolbar.
John Darrington [Tue, 1 Oct 2013 07:36:06 +0000 (09:36 +0200)]
Detect absence of rl_outstream and handle accordingly.
Older versions of readline do not appear to have the variable rl_outstream. This variable,
almost certainly points to the same stream as stdout, so this change detects its absence
and uses stdout in those cases.
Bastián Díaz [Mon, 30 Sep 2013 21:22:37 +0000 (18:22 -0300)]
gui: Support for more flat icons and tag loss fixing in some menus.
→ Icons for "new syntax", "new data", "Display information in working
file and external file are added.
→ Add the reference to the new icons to Smake an *.ui files
→ Replacement of some icons (bug fixes)
Bastián Díaz [Mon, 30 Sep 2013 14:18:31 +0000 (11:18 -0300)]
gui: Fix some problems after upgrading flat icons to version 0.2.
→ Replacement icon "about flat icon"
→ Replacement icon "measure string nominal"
→ Added label to Menu|Save
→ Addel label and icon to "sort-ascending" and "sort-descending"
→ Add reference to "analyze descriptive statistics"
Bastián Díaz [Mon, 30 Sep 2013 13:55:38 +0000 (10:55 -0300)]
gui: Improved application icon.
It improves the esthetics and visual definition of application icon in different sizes of canvas, and adds a scalable version for desktop environments that use that value.
Ben Pfaff [Mon, 30 Sep 2013 07:12:35 +0000 (00:12 -0700)]
variable: Complete renaming of ROLE_OUTPUT to ROLE_TARGET.
Commit
47d59628a7d51a (psppire-var-sheet: Rename references to the icons
for align, measure and role icons) renamed some but not all uses of
ROLE_OUTPUT, breaking the build. This commit completes the rename.
According to Bastián Díaz, "target" is better than "output" because it
is "a broader concept for function".
Ben Pfaff [Mon, 30 Sep 2013 07:06:51 +0000 (00:06 -0700)]
Smake: Fix recently introduced typos.
This commit fixes typos were introduced in commit
3d543a3b6363 (Smake:
Rename references of images and add new ones).
Ben Pfaff [Mon, 30 Sep 2013 02:11:41 +0000 (19:11 -0700)]
sys-file-reader: Add support for long string missing values.
I assumed earlier that long string missing values used the same fields in
the system file as other missing values, but I was wrong. This commit
updates the support to match what I've seen in actual system files.
Reported by Przemek Powalko <pp.alter.ego@gmail.com>.
Ben Pfaff [Mon, 30 Sep 2013 01:55:38 +0000 (18:55 -0700)]
missing-values: Make mv_add_str() easier to use.
Both existing callers of mv_add_str() were applying their own padding to
the string value. This commit moves the padding into mv_add_str() itself.
This commit also fixes a minor to-do item in the MISSING VALUES command
whereby truncation of too-long missing values was done bytewise rather than
on the basis of full characters.
Bastián Díaz [Mon, 30 Sep 2013 01:10:20 +0000 (22:10 -0300)]
psppire-var-sheet: Rename references to the icons for align, measure and role icons
Bastián Díaz [Sun, 29 Sep 2013 21:32:35 +0000 (18:32 -0300)]
gui:Add new reference to the icons in *.ui files
Bastián Díaz [Sun, 29 Sep 2013 20:18:40 +0000 (17:18 -0300)]
Smake: Rename references of images and add new ones