pspp
9 years agopivot table procedure conceptually works pivot-table2
Ben Pfaff [Mon, 29 Sep 2014 03:52:36 +0000 (20:52 -0700)]
pivot table procedure conceptually works

9 years agosort: New function sort_distinct_execute().
Ben Pfaff [Sun, 28 Mar 2010 20:40:25 +0000 (13:40 -0700)]
sort: New function sort_distinct_execute().

9 years agosort: Add support for combining cases with identical sort criteria.
Ben Pfaff [Sun, 21 Mar 2010 19:40:41 +0000 (12:40 -0700)]
sort: Add support for combining cases with identical sort criteria.

This makes it possible to efficiently assemble frequency tables and
crosstabs for data sets that might be larger than available memory.

9 years agosort: Change priority queue implementation from heap to binary tree.
Ben Pfaff [Sat, 20 Mar 2010 05:18:15 +0000 (22:18 -0700)]
sort: Change priority queue implementation from heap to binary tree.

This is not so great in itself--it is probably a wash for performance,
and might be a loss--but it does make it possible to discover duplicate
sort keys while reading the data, which will be useful in an upcoming
commit.

9 years agopo: Add Polish translation.
Ben Pfaff [Sat, 29 Nov 2014 20:03:06 +0000 (12:03 -0800)]
po: Add Polish translation.

9 years agoAdd support for weighting variables in SPSS/PC+ system files.
Ben Pfaff [Sat, 29 Nov 2014 19:56:15 +0000 (11:56 -0800)]
Add support for weighting variables in SPSS/PC+ system files.

Based on a file provided by Alan Mead.

9 years agoAdd support for reading SPSS/PC+ system files.
Ben Pfaff [Sat, 29 Nov 2014 05:16:23 +0000 (21:16 -0800)]
Add support for reading SPSS/PC+ system files.

Thanks to Alan Mead for supplying most of the files in the corpus used to
determine the SPSS/PC+ system file format.

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sat, 15 Nov 2014 18:36:32 +0000 (10:36 -0800)]
po: Update translations from translationproject.org.

9 years agoDocumentation: Add some comments to the bugs chapter
John Darrington [Wed, 29 Oct 2014 15:22:05 +0000 (16:22 +0100)]
Documentation: Add some comments to the bugs chapter

9 years agopo: Add Galician translation.
Ben Pfaff [Tue, 4 Nov 2014 16:28:59 +0000 (08:28 -0800)]
po: Add Galician translation.

9 years agoFREQUENCIES: Fixed crash when there was no valid data
John Darrington [Tue, 28 Oct 2014 15:21:02 +0000 (16:21 +0100)]
FREQUENCIES: Fixed crash when there was no valid data

9 years agoGRAPH: Use complete strings instead of constructing them
John Darrington [Tue, 28 Oct 2014 16:39:27 +0000 (17:39 +0100)]
GRAPH: Use complete strings instead of constructing them

This makes life easier for the translators.

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sat, 25 Oct 2014 16:32:35 +0000 (09:32 -0700)]
po: Update translations from translationproject.org.

9 years agocairo: Add .5pt gutter around table rules.
Ben Pfaff [Sat, 18 Oct 2014 19:11:34 +0000 (12:11 -0700)]
cairo: Add .5pt gutter around table rules.

Commit d3fef25674baf4f4 (output: Add footnote support.) removed the 3-pt
gutter around table rules, instead putting a margin around cell contents.
This usually worked out fine, but for some tables in the GUI it caused the
rightmost rule in the table to disappear.  This is probably some kind of
off-by-one error in table size computation or clipping.  We may have to
eventually resolve that.  However, this commit seems like an adequate
temporary fix: instead of fixing the off-by-one error, add a thin gutter
around the rules, so that the actual content of the rule doesn't get
clipped off.

9 years agopspp-dev.texi: Add authors as @author arguments.
Ben Pfaff [Sat, 18 Oct 2014 19:06:11 +0000 (12:06 -0700)]
pspp-dev.texi: Add authors as @author arguments.

With a blank @author, makeinfo complains.
Without @author at all, the title page in TeX output looks funny.
So this commit simply names the authors, as determined by "git log" on
the doc/dev directory.

9 years agopsppire-output-view: Properly render the first few items of output.
Ben Pfaff [Sat, 18 Oct 2014 17:38:53 +0000 (10:38 -0700)]
psppire-output-view: Properly render the first few items of output.

Commit 18f9e37c8bc5 (psppire-output-view: Only render output items once the
window is realized.) fixed a crashing bug, but when I tested it I didn't
carefully look at the output.  In fact, any output items that were rendered
before the window was realized were not displayed, because the widgets
created for them were never shown or properly initialized.  This commit
fixes the problem.

Reported by Adam Zammit.
Bug #43362.

9 years agoFREQUENCIES: Fix the default /STATISTICS.
John Darrington [Sat, 18 Oct 2014 06:30:10 +0000 (08:30 +0200)]
FREQUENCIES: Fix the default /STATISTICS.

The subcommand /STATISTICS (with nothing following) should be the same as /STATISTICS = DEFAULT.

9 years agoFrequencies.c: Use BIT_INDEX (FRQ_ST_MEDIAN) instead of FRQ_ST_MEDIAN.
John Darrington [Sat, 18 Oct 2014 06:56:56 +0000 (08:56 +0200)]
Frequencies.c: Use BIT_INDEX (FRQ_ST_MEDIAN) instead of FRQ_ST_MEDIAN.

Closes bug #43427

9 years agoDISPLAY: Fix crash bugs in DISPLAY INDEX and DISPLAY NAMES.
Ben Pfaff [Sun, 12 Oct 2014 16:49:49 +0000 (09:49 -0700)]
DISPLAY: Fix crash bugs in DISPLAY INDEX and DISPLAY NAMES.

Bug #43365.
Thanks to Mindaugus for reporting this bug.

9 years agopsppire-output-view: Only render output items once the window is realized.
Ben Pfaff [Thu, 9 Oct 2014 05:39:18 +0000 (22:39 -0700)]
psppire-output-view: Only render output items once the window is realized.

Otherwise, in environments where the output view is not rendered
immediately upon the call to gtk_widget_show_all() from
psppire_output_submit(), psppire_output_view_put() called later in that
function would dereference a null pointer trying to create a rendering
from a null GTK_WIDGET (view->output)->window.

Bug #43362.

9 years agoUpdated localisations from translation-project.org.
Ben Pfaff [Tue, 7 Oct 2014 15:20:46 +0000 (08:20 -0700)]
Updated localisations from translation-project.org.

9 years agogui: Set StartupNotify=false because Startup Notification does not work.
Friedrich Beckmann [Sun, 5 Oct 2014 20:07:23 +0000 (22:07 +0200)]
gui: Set StartupNotify=false because Startup Notification does not work.

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sat, 4 Oct 2014 18:01:16 +0000 (11:01 -0700)]
po: Update translations from translationproject.org.

9 years agodoc: Add PSPPIRE manpage, add example to manpages, install manpages.
Friedrich Beckmann [Tue, 30 Sep 2014 07:57:04 +0000 (09:57 +0200)]
doc: Add PSPPIRE manpage, add example to manpages, install manpages.

9 years agorender-test: Fix invocation of tab_footnote().
Friedrich Beckmann [Sun, 28 Sep 2014 23:46:07 +0000 (16:46 -0700)]
render-test: Fix invocation of tab_footnote().

Fixes this GCC warning:

    tests/output/render-test.c: In function ‘read_table’:
    tests/output/render-test.c:491:19: error: format not a string literal and
    no format arguments [-Werror=format-security]

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 28 Sep 2014 16:38:26 +0000 (09:38 -0700)]
po: Update translations from translationproject.org.

9 years agoAdd GRAPH command initially with just scatterplots and histograms.
Friedrich Beckmann [Sun, 28 Sep 2014 04:32:17 +0000 (21:32 -0700)]
Add GRAPH command initially with just scatterplots and histograms.

9 years agodoc: Add --enable-silent-rules support to more targets.
Ben Pfaff [Sun, 28 Sep 2014 04:23:33 +0000 (21:23 -0700)]
doc: Add --enable-silent-rules support to more targets.

9 years agoUpdate to version 0.8.4.
Ben Pfaff [Sat, 27 Sep 2014 22:24:51 +0000 (15:24 -0700)]
Update to version 0.8.4.

9 years agoUpdate to newer texinfo.tex.
Ben Pfaff [Sat, 27 Sep 2014 16:24:25 +0000 (09:24 -0700)]
Update to newer texinfo.tex.

9 years agoconfigure: Change the way we work around missing $(AM_V_P).
Ben Pfaff [Sat, 27 Sep 2014 16:23:54 +0000 (09:23 -0700)]
configure: Change the way we work around missing $(AM_V_P).

The existing approach didn't work because AM_V_P was introduced after
AM_SILENT_RULES.

9 years agoMakefiles: Support --enable-silent-rules for one more target.
Ben Pfaff [Sat, 27 Sep 2014 04:40:52 +0000 (21:40 -0700)]
Makefiles: Support --enable-silent-rules for one more target.

9 years agoMakefiles: Make most of the handwritten rules support --enable-silent-rules.
Ben Pfaff [Sat, 27 Sep 2014 04:21:51 +0000 (21:21 -0700)]
Makefiles: Make most of the handwritten rules support --enable-silent-rules.

9 years agogui: Suppress compiler warning for call to deprecated g_thread_init().
Ben Pfaff [Sat, 27 Sep 2014 03:55:02 +0000 (20:55 -0700)]
gui: Suppress compiler warning for call to deprecated g_thread_init().

9 years agodoc: Rename .texinfo files to use .texi extension.
Ben Pfaff [Sat, 27 Sep 2014 03:45:42 +0000 (20:45 -0700)]
doc: Rename .texinfo files to use .texi extension.

Newer versions of Automake complained that the .texinfo extension was
deprecated.

9 years agoconfigure: Allow --enable-silent-rules when Automake supports it.
Ben Pfaff [Sat, 27 Sep 2014 03:40:50 +0000 (20:40 -0700)]
configure: Allow --enable-silent-rules when Automake supports it.

I personally find this makes the build easier to follow.

9 years agoAdded Turkish localisation
John Darrington [Sat, 20 Sep 2014 21:04:32 +0000 (23:04 +0200)]
Added Turkish localisation

9 years agoFREQUENCIES: Fix treatment of string variables.
Ben Pfaff [Tue, 16 Sep 2014 03:56:20 +0000 (20:56 -0700)]
FREQUENCIES: Fix treatment of string variables.

Reported by Richard Lee Rogers on pspp-users:
http://lists.gnu.org/archive/html/pspp-users/2014-09/msg00003.html

9 years agooutput: Add support for captions.
Ben Pfaff [Tue, 16 Sep 2014 03:36:05 +0000 (20:36 -0700)]
output: Add support for captions.

This brings the output format a small step closer to the SPSS output model,
which has separate title and caption for tables.

9 years agorender: Fix bug in render_pager_draw_region().
Ben Pfaff [Sun, 14 Sep 2014 19:35:53 +0000 (12:35 -0700)]
render: Fix bug in render_pager_draw_region().

This bug, introduced in commit f1db96caae4 (ender: Fold caption drawing
into rendering engine.), could cause the title and body of a table to be
drawn overlapping.

9 years agodoc: Update documentation to match renaming of captions to titles.
Ben Pfaff [Sun, 14 Sep 2014 00:57:12 +0000 (17:57 -0700)]
doc: Update documentation to match renaming of captions to titles.

9 years agooutput: Rename caption to title.
Ben Pfaff [Sat, 13 Sep 2014 23:55:19 +0000 (16:55 -0700)]
output: Rename caption to title.

This brings PSPP a small step closer to the table model that SPSS uses,
which allows for a brief title above the table and a more verbose caption
below it.

9 years agooutput: Add footnote support.
Ben Pfaff [Sat, 13 Sep 2014 23:41:08 +0000 (16:41 -0700)]
output: Add footnote support.

The initials support for footnotes does not allow the client to specify
the markers and does not merge footnotes with the same text so that they
have the same markers.  It might be necessary to implement one or both of
those features.

The footnote feature doesn't have any users yet, outside of the tests.

9 years agorender: Fold caption drawing into rendering engine.
Ben Pfaff [Mon, 8 Sep 2014 04:05:09 +0000 (21:05 -0700)]
render: Fold caption drawing into rendering engine.

This factors code out of the individual drivers.

9 years agorender: Render table_items instead of tables.
Ben Pfaff [Sun, 7 Sep 2014 18:22:35 +0000 (11:22 -0700)]
render: Render table_items instead of tables.

A table_item includes the caption, which future commits will want to have
render_pager render, so the table_item is a more natural target.

9 years agorender: Push all rendering, not just pagination, into render_pager.
Ben Pfaff [Sat, 13 Sep 2014 17:39:38 +0000 (10:39 -0700)]
render: Push all rendering, not just pagination, into render_pager.

In future commits this will allow adding support for rendering captions and
(to be introduced) footnotes in render_pager.

9 years agorender: Introduce render_pager to factor out code from drivers.
Ben Pfaff [Sat, 13 Sep 2014 17:24:59 +0000 (10:24 -0700)]
render: Introduce render_pager to factor out code from drivers.

The render_break abstraction requires quite a bit of assistance from
drivers.  By introducing a high-level render_pager abstraction we factor
out a bit of common code.  Future refinements will allow putting more and
more functional in the common "render" interface.

9 years agostr: Make str_format_26adic() able to use lowercase.
Ben Pfaff [Mon, 8 Sep 2014 06:02:03 +0000 (23:02 -0700)]
str: Make str_format_26adic() able to use lowercase.

The output engine will use lowercase for footnote markers.

9 years agoRUNS: Correct calculation of significance.
Ben Pfaff [Sat, 13 Sep 2014 18:04:45 +0000 (11:04 -0700)]
RUNS: Correct calculation of significance.

Reported by Douglas Bonett <dgbonett@ucsc.edu>.

9 years agou8-istream: Fix handling of partial reads.
Ben Pfaff [Tue, 9 Sep 2014 15:51:44 +0000 (08:51 -0700)]
u8-istream: Fix handling of partial reads.

The u8-istream code did not retry upon a partial read, assuming that that
was the end of the file.  When the partial read was shorter than
ENCODING_GUESS_MIN, this could cause the encoding guesser, in turn, to
guess the wrong encoding (especially if the encoding was really UTF-16 and
the partial read was an odd number of bytes).

Reported at https://bugs.debian.org/760841.
Reported by Friedrich Beckmann and Steven Chamberlain.

9 years agoUpdated translations from translationproject.org
Ben Pfaff [Thu, 4 Sep 2014 15:24:42 +0000 (08:24 -0700)]
Updated translations from translationproject.org

9 years agohtml: Format new-lines as line breaks.
Ben Pfaff [Wed, 3 Sep 2014 04:10:35 +0000 (21:10 -0700)]
html: Format new-lines as line breaks.

Otherwise all the lines run together in SYSFILE INFO output in particular.

9 years agohtml: Align table cells vertically at the top.
Ben Pfaff [Wed, 3 Sep 2014 04:09:32 +0000 (21:09 -0700)]
html: Align table cells vertically at the top.

This is what the ascii and cairo drivers do, and it looks best.

9 years agozip-writer: Write size and CRC in local directory when possible.
Ben Pfaff [Thu, 4 Sep 2014 04:03:06 +0000 (21:03 -0700)]
zip-writer: Write size and CRC in local directory when possible.

Google Drive rejects ODT files as corrupted unless their size and CRC are
in local file headers, even though the zip file specification says that it
is OK for them to follow the file data.  Thus, this commit changes the
zip writer to satisfy Google unless the output file is not seekable.

9 years agoodt: Use text:outline-level instead of text:level inside text:h.
Ben Pfaff [Wed, 3 Sep 2014 05:34:59 +0000 (22:34 -0700)]
odt: Use text:outline-level instead of text:level inside text:h.

text:level is for numbered lists, text:outline-level is for headings.

Found by validating sample output against ODT Relax-NG schema with "jing".

9 years agopsppire-dialog-action-var-info: Only allow "Jump To" with one variable.
Ben Pfaff [Mon, 1 Sep 2014 00:57:29 +0000 (17:57 -0700)]
psppire-dialog-action-var-info: Only allow "Jump To" with one variable.

Until now, when at least one variable was selected, the user could click
on "Jump To", which would jump to the first selected variable.  This commit
changes behavior so that "Jump To" is only enabled when exactly one
variable is selected, which makes it a lot less confusing about which
variable will be jumped to.

Suggested by Bastián Díaz <diaz.bastian@ymail.com> .

9 years agopsppire-dialog-action-varinfo: Make dialog use output engine.
Ben Pfaff [Sat, 30 Aug 2014 18:53:15 +0000 (11:53 -0700)]
psppire-dialog-action-varinfo: Make dialog use output engine.

9 years agopsppire-output-view: New features for use separate from output window.
Ben Pfaff [Sat, 30 Aug 2014 19:01:34 +0000 (12:01 -0700)]
psppire-output-view: New features for use separate from output window.

9 years agopsppire-output-view: Adjust output formatting as widget is resized.
Ben Pfaff [Sat, 30 Aug 2014 18:31:50 +0000 (11:31 -0700)]
psppire-output-view: Adjust output formatting as widget is resized.

9 years agopsppire-output-view: Fix memory leaks.
Ben Pfaff [Sat, 30 Aug 2014 18:39:25 +0000 (11:39 -0700)]
psppire-output-view: Fix memory leaks.

These memory leaks have been present for a long time, probably since
Cairo-based GUI output was introduced.

9 years agopsppire-output-window: Factor out output view as psppire-output-view.
Ben Pfaff [Sat, 30 Aug 2014 18:55:08 +0000 (11:55 -0700)]
psppire-output-window: Factor out output view as psppire-output-view.

This will allow it to be used in other places.

9 years agogui: Consistently call PsppireOutputWindow a "window", not a "viewer".
Ben Pfaff [Sun, 24 Aug 2014 22:03:26 +0000 (15:03 -0700)]
gui: Consistently call PsppireOutputWindow a "window", not a "viewer".

I intend to separate the windw from the view, which makes the existing
terminology confusing.

9 years agooutput: Make it possible to push and pop output engines.
Ben Pfaff [Tue, 26 Aug 2014 01:08:06 +0000 (18:08 -0700)]
output: Make it possible to push and pop output engines.

This makes it possible to temporarily push a different set of output
drivers, which in turn makes it possible to do output as a pane within a
dialog or other window.

9 years agodoc: Fix PDF manual build with updated texinfo.tex.
Friedrich Beckmann [Sun, 24 Aug 2014 05:41:58 +0000 (22:41 -0700)]
doc: Fix PDF manual build with updated texinfo.tex.

Patch posted at https://savannah.gnu.org/patch/?8518.

9 years agoSYSFILE INFO: Improve output formatting by using nested tables.
Ben Pfaff [Sun, 24 Aug 2014 00:19:38 +0000 (17:19 -0700)]
SYSFILE INFO: Improve output formatting by using nested tables.

9 years agooutput: Implement nested tables.
Ben Pfaff [Sun, 24 Aug 2014 00:12:33 +0000 (17:12 -0700)]
output: Implement nested tables.

This generalizes the output engine to handle cells with fairly flexible
content, instead of just paragraphs of text.

9 years agotests: Refactor rendering tests.
Ben Pfaff [Sun, 17 Aug 2014 17:40:56 +0000 (10:40 -0700)]
tests: Refactor rendering tests.

This will make it easier to test nested tables when support for them is
added in an upcoming commit, because it becomes possible to include
multiple of the complicated test tables in one file easily.

9 years agorender-test: Add --no-txt and --no-stdout options.
Ben Pfaff [Sat, 23 Aug 2014 21:24:27 +0000 (14:24 -0700)]
render-test: Add --no-txt and --no-stdout options.

I have found these sometimes useful during debugging.

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sat, 9 Aug 2014 15:10:36 +0000 (08:10 -0700)]
po: Update translations from translationproject.org.

9 years agoPspp.t: Sort value labels before comparing them.
John Darrington [Sat, 9 Aug 2014 11:11:07 +0000 (13:11 +0200)]
Pspp.t: Sort value labels before comparing them.

This test failed on some platforms because it was iterating a hash.  The
order of an iterated hash is undefined.  This change sorts before comparing
thus avoiding the problem.

Thanks to Friedrich Beckmann for this patch.

9 years agorender: Rename 'cell' variables used for breaking to 'z'.
Ben Pfaff [Tue, 22 Jul 2014 04:56:39 +0000 (21:56 -0700)]
render: Rename 'cell' variables used for breaking to 'z'.

Upcoming changes will add an instance of a struct table_cell in
render_break_next(), whose name is naturally 'cell', so 'z' is a better
name for a cell index along the current axis.

9 years agotable-paste: Add error-checking assertion to table_paste().
Ben Pfaff [Tue, 22 Jul 2014 04:42:08 +0000 (21:42 -0700)]
table-paste: Add error-checking assertion to table_paste().

9 years agotable-paste: Fix comments and variable naming.
Ben Pfaff [Tue, 22 Jul 2014 04:35:07 +0000 (21:35 -0700)]
table-paste: Fix comments and variable naming.

9 years agorender: Fix typo in comment.
Ben Pfaff [Tue, 22 Jul 2014 04:01:53 +0000 (21:01 -0700)]
render: Fix typo in comment.

9 years agorender: Fix rendering corner cases when a cell is broken across pages.
Ben Pfaff [Sun, 20 Jul 2014 00:44:30 +0000 (17:44 -0700)]
render: Fix rendering corner cases when a cell is broken across pages.

The rendering code ability to break individual cells across multiple pages
has never received good test coverage because the criteria for doing that
are strict enough that the testsuite hardly ever does it.  This commit adds
a "--min-break=0" version to each test in the testsuite, which uncovers a
number of bugs in the cell breaking code.  It also fixes those bugs.

9 years agorender-test: Add output file option.
Ben Pfaff [Tue, 15 Jul 2014 07:05:07 +0000 (00:05 -0700)]
render-test: Add output file option.

9 years agoMake minimum breaks configurable.
Ben Pfaff [Sun, 29 Jun 2014 22:22:37 +0000 (15:22 -0700)]
Make minimum breaks configurable.

9 years agorender: Don't add overflows when header is contiguous with body.
Ben Pfaff [Sun, 13 Jul 2014 17:47:43 +0000 (10:47 -0700)]
render: Don't add overflows when header is contiguous with body.

render_page_select() needs to calculate overflows when it cuts a header off
from the body of a table.  Until now, it has considered headers and body to
always be cut off from each other, but this isn't true when the selected
body region is adjacent to one of the headers.  This commit takes that into
consideration, producing better results in one of the tests in the
testsuite.

This commit is much smaller when viewed with whitespace changes ignored.

9 years agotable-select: Only cut headers into two if needed in table_select_slice().
Ben Pfaff [Sun, 13 Jul 2014 17:41:13 +0000 (10:41 -0700)]
table-select: Only cut headers into two if needed in table_select_slice().

Until now, when including headers in the table it returns,
table_select_slice() has always either returned the entire original table
or a set of chunks: left header, selected body, right header.  However, it
is possible to do better when the selected body includes all the cells
up to, say, the right header: then you only need a single chunk to include
the body and the right header.  Besides saving memory, this also has the
advantage that, if a joined cell crosses between the body and the header,
it is not cut into two pieces by chunking.  It doesn't make too much sense
to join a cell across body and header, but this still makes it easier to
render better if someone does that.

The testsuite includes a few tables that do join a cell across body and
header.  This commit improves the output for one and changes some ugly
output to different ugly output for another.  Additional changes in an
upcoming commit fix the latter and some other tables too.

9 years agorender: Add comments to tests.
Ben Pfaff [Thu, 10 Jul 2014 07:07:04 +0000 (00:07 -0700)]
render: Add comments to tests.

9 years agorender: Fix typo in comment.
Ben Pfaff [Thu, 10 Jul 2014 04:24:04 +0000 (21:24 -0700)]
render: Fix typo in comment.

9 years agoAdd OUTPUT MODIFY command
John Darrington [Wed, 9 Jul 2014 12:23:37 +0000 (14:23 +0200)]
Add OUTPUT MODIFY command

9 years agoFix typo in printed string
John Darrington [Wed, 9 Jul 2014 13:51:28 +0000 (15:51 +0200)]
Fix typo in printed string

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Tue, 8 Jul 2014 17:36:08 +0000 (10:36 -0700)]
po: Update translations from translationproject.org.

9 years agoRemove file po/de.po,aux
John Darrington [Wed, 2 Jul 2014 05:50:03 +0000 (07:50 +0200)]
Remove file po/de.po,aux

This is no longer needed, since the strings are now translated in the
main po/de.po file

9 years agoAdd psppire-window-base.c to list of glade auxilliary files
John Darrington [Fri, 27 Jun 2014 16:36:52 +0000 (18:36 +0200)]
Add psppire-window-base.c to list of glade auxilliary files

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 29 Jun 2014 22:23:37 +0000 (15:23 -0700)]
po: Update translations from translationproject.org.

9 years agocairo: Use same scale factor as Pango, for precision and speed.
Ben Pfaff [Tue, 24 Jun 2014 05:22:25 +0000 (22:22 -0700)]
cairo: Use same scale factor as Pango, for precision and speed.

By setting XR_POINT to PANGO_SCALE (1024), we can avoid the need for
expensive conversions that lose accuracy.

9 years agocairo: Fix failures to scale between cairo and pango units.
Ben Pfaff [Tue, 24 Jun 2014 05:20:31 +0000 (22:20 -0700)]
cairo: Fix failures to scale between cairo and pango units.

The difference between Cairo and Pango units, as currently defined by
XR_POINT and PANGO_SCALE, is only 2.4% (1000 versus 1024).  This makes the
difference rarely noticeable, and easy to miss when casually looking at
output.  However, while continuing to develop the PSPP output drivers, I
did notice.

To make the difference obvious, I temporarily changed XR_POINT from 1000
to 500.  This commit fixes the problems that this revealed.

9 years agocairo: Remove PangoWrapMode parameter that was always PANGO_WRAP_WORD.
Ben Pfaff [Sun, 15 Jun 2014 17:00:27 +0000 (10:00 -0700)]
cairo: Remove PangoWrapMode parameter that was always PANGO_WRAP_WORD.

9 years agoFixed crash in REGRESSION when only one SAVE parameter present.
John Darrington [Mon, 23 Jun 2014 19:01:22 +0000 (21:01 +0200)]
Fixed crash in REGRESSION when only one SAVE parameter present.

The REGRESSION command crashed when /SAVE=resid or /SAVE=pred
(but not both) was given.  This change fixes this.

Reported by: Bob Earl <Bob.Earl@gmx.net>

9 years agopo: Update translations from translationproject.org.
Ben Pfaff [Mon, 9 Jun 2014 15:39:16 +0000 (08:39 -0700)]
po: Update translations from translationproject.org.

9 years agohtml: Fix right border of cells that span columns at right edge of a table.
Ben Pfaff [Sun, 1 Jun 2014 04:45:47 +0000 (21:45 -0700)]
html: Fix right border of cells that span columns at right edge of a table.

Similarly for bottom border of cells that span rows at bottom of a table.

Reported by John Darrington.
Bug #42321.

9 years agovariable: Report only changes in width that actually change it.
Ben Pfaff [Sun, 25 May 2014 22:37:15 +0000 (15:37 -0700)]
variable: Report only changes in width that actually change it.

For me, this fixes the problem reported by Fran A. <pacodea2001@yahoo.es>
when I resize the width of the second variable in a data file provided
by John Darrington.

9 years agodoc: Correct name of binomial dsitribution functions.
Ben Pfaff [Mon, 12 May 2014 15:06:17 +0000 (08:06 -0700)]
doc: Correct name of binomial dsitribution functions.

Reported by Bob Earl <Bob.Earl@gmx.net>.

9 years agoCROSSTABS: Add test to verify treatment of ties.
Ben Pfaff [Sun, 11 May 2014 04:01:35 +0000 (21:01 -0700)]
CROSSTABS: Add test to verify treatment of ties.

From an example provided privately by Douglas Bonett.

9 years agoCROSSTABS: Calculate significance for lambda and Somers' d.
Ben Pfaff [Sun, 11 May 2014 03:45:43 +0000 (20:45 -0700)]
CROSSTABS: Calculate significance for lambda and Somers' d.

John Darrington pointed out that lambda just uses normal significance.
Somers' d appears to do so also (based on only a few examples though).

9 years agoNEWS: correct typo
John Darrington [Sat, 3 May 2014 07:11:15 +0000 (09:11 +0200)]
NEWS: correct typo

9 years agoCROSSTABS: Calculate ASE for asymmetric lambda (correctly).
Ben Pfaff [Tue, 6 May 2014 15:46:15 +0000 (08:46 -0700)]
CROSSTABS: Calculate ASE for asymmetric lambda (correctly).

Calculation supplied by Douglas Bonett <dgbonett@ucsc.edu>:
http://lists.gnu.org/archive/html/pspp-dev/2014-05/msg00007.html

9 years agoCROSSTABS: Don't calculate symmetric uncertainty coefficient approx T.
Ben Pfaff [Tue, 6 May 2014 07:13:42 +0000 (00:13 -0700)]
CROSSTABS: Don't calculate symmetric uncertainty coefficient approx T.

It was calculated wrong.