pspp
5 years agostring-map: New function string_map_equals().
Ben Pfaff [Wed, 2 Jan 2019 04:57:17 +0000 (20:57 -0800)]
string-map: New function string_map_equals().

5 years agooutput: Fix XML parsing in output_get_text_from_markup().
Ben Pfaff [Tue, 1 Jan 2019 17:08:44 +0000 (09:08 -0800)]
output: Fix XML parsing in output_get_text_from_markup().

The XML parser requires the entire input to be enclosed in an element.

5 years agopspp-dump-sav: Issue error message for too-large extension records.
Ben Pfaff [Tue, 1 Jan 2019 16:36:05 +0000 (08:36 -0800)]
pspp-dump-sav: Issue error message for too-large extension records.

CVE-2018-20230.

5 years agopivot-output: Fix argument order that made lots of weird rotated headings.
Ben Pfaff [Tue, 1 Jan 2019 07:13:12 +0000 (23:13 -0800)]
pivot-output: Fix argument order that made lots of weird rotated headings.

Fixes: 5cab4cf3322f ("output: Introduce pivot tables.")
5 years agooutput: Introduce pivot tables.
Ben Pfaff [Mon, 17 Jul 2017 22:13:16 +0000 (15:13 -0700)]
output: Introduce pivot tables.

5 years agocairo: Minor cleanup by factoring out new function set_source_rgba().
Ben Pfaff [Wed, 26 Dec 2018 05:25:56 +0000 (21:25 -0800)]
cairo: Minor cleanup by factoring out new function set_source_rgba().

5 years agooutput: Support decimal and mixed alignment,
Ben Pfaff [Wed, 26 Dec 2018 22:07:16 +0000 (14:07 -0800)]
output: Support decimal and mixed alignment,

5 years agooutput: Rename a few struct members for consistency.
Ben Pfaff [Wed, 26 Dec 2018 22:14:51 +0000 (14:14 -0800)]
output: Rename a few struct members for consistency.

5 years agooutput: Support rotation.
Ben Pfaff [Wed, 26 Dec 2018 16:22:15 +0000 (08:22 -0800)]
output: Support rotation.

5 years agotable: Make table cells have exactly one piece of content again.
Ben Pfaff [Tue, 4 Dec 2018 04:00:44 +0000 (20:00 -0800)]
table: Make table cells have exactly one piece of content again.

5 years agooutput: New page-setup-item.
Ben Pfaff [Wed, 26 Dec 2018 00:32:38 +0000 (16:32 -0800)]
output: New page-setup-item.

5 years agooutput: Add support for Pango markup of fonts and styles.
Ben Pfaff [Wed, 26 Dec 2018 00:32:25 +0000 (16:32 -0800)]
output: Add support for Pango markup of fonts and styles.

5 years agopsppire-output-view: Render only the visible parts of tables.
Ben Pfaff [Tue, 1 Jan 2019 06:18:19 +0000 (22:18 -0800)]
psppire-output-view: Render only the visible parts of tables.

This greatly improves scrolling performance for large tables.

5 years agooutput: Cache the script ltr versus rtl direction.
Ben Pfaff [Tue, 1 Jan 2019 05:50:16 +0000 (21:50 -0800)]
output: Cache the script ltr versus rtl direction.

A profiling run showed that about 10% of the rendering time was occupied
with repeated calls to render_direction_rtl().  This caches the result.

5 years agopsppire-output-viewer: Make sure that initial items are rendered at show.
Ben Pfaff [Mon, 31 Dec 2018 21:16:02 +0000 (13:16 -0800)]
psppire-output-viewer: Make sure that initial items are rendered at show.

When output items were shown in the output window, the first item
was not shown until the user moused over it and thereby triggered the
on_style_updated callback.  This fixes the problem.

5 years agopsppire-output-view: Fix background color for output viewer.
Ben Pfaff [Mon, 31 Dec 2018 21:03:40 +0000 (13:03 -0800)]
psppire-output-view: Fix background color for output viewer.

5 years agopsppire-output-view: Add titles for groups.
Ben Pfaff [Mon, 31 Dec 2018 19:06:07 +0000 (11:06 -0800)]
psppire-output-view: Add titles for groups.

5 years agocairo: Render group_open_items.
Ben Pfaff [Mon, 31 Dec 2018 17:45:15 +0000 (09:45 -0800)]
cairo: Render group_open_items.

5 years agotutorial: Fix duplicate definition of node name "examine".
Ben Pfaff [Sat, 29 Dec 2018 22:56:54 +0000 (14:56 -0800)]
tutorial: Fix duplicate definition of node name "examine".

Emacs, at least, confused this "examine" with the "EXAMINE" node for the
EXAMINE command, and prevented me from visiting the latter documentation.

5 years agotests: Tag all the tests that take more than about 1s as "slow".
Ben Pfaff [Thu, 27 Dec 2018 04:29:50 +0000 (20:29 -0800)]
tests: Tag all the tests that take more than about 1s as "slow".

This makes it possible to run a quicker set of tests, which still have
pretty good coverage, with something like this:
    make -j10 check TESTSUITEFLAGS='-j10 -k !slow'

5 years agotable-stomp: Remove dead code.
Ben Pfaff [Tue, 4 Dec 2018 02:49:36 +0000 (18:49 -0800)]
table-stomp: Remove dead code.

Nothing used this code anymore.

5 years agocairo: Improve comment.
Ben Pfaff [Wed, 26 Dec 2018 00:19:11 +0000 (16:19 -0800)]
cairo: Improve comment.

5 years agocairo: Fix word-wrapping of ".000" and similar.
Ben Pfaff [Wed, 26 Dec 2018 00:16:41 +0000 (16:16 -0800)]
cairo: Fix word-wrapping of ".000" and similar.

The Unicode line-breaking algorithm (or perhaps Pango's implementation of
it) is willing to break after the period in ".000".  This looks odd.  This
commit works around the problem.

5 years agooutput: Introduce group_item in place of TEXT_ITEM_COMMAND_OPEN and CLOSE.
Ben Pfaff [Tue, 25 Dec 2018 04:54:44 +0000 (20:54 -0800)]
output: Introduce group_item in place of TEXT_ITEM_COMMAND_OPEN and CLOSE.

This allows groups to be nested.

5 years agotext-item: Merge "title" and "subtitle" items into a new "page title".
Ben Pfaff [Fri, 30 Nov 2018 05:26:35 +0000 (21:26 -0800)]
text-item: Merge "title" and "subtitle" items into a new "page title".

This better matches SPSS behavior.

5 years agocairo: New macros XR_LINE_WIDTH and XR_LINE_SPACE.
Ben Pfaff [Sat, 1 Dec 2018 23:38:57 +0000 (15:38 -0800)]
cairo: New macros XR_LINE_WIDTH and XR_LINE_SPACE.

This makes the code a little easier to read in places.

5 years agodriver: New function output_driver_parse_option().
Ben Pfaff [Mon, 26 Nov 2018 00:58:02 +0000 (16:58 -0800)]
driver: New function output_driver_parse_option().

This moves this function out of terminal-opts.c so that other code can use
it too.

5 years agooutput: Add support for alternating row colors.
Ben Pfaff [Sat, 24 Nov 2018 20:33:16 +0000 (12:33 -0800)]
output: Add support for alternating row colors.

5 years agooutput: Add support for layer info in table output.
Ben Pfaff [Fri, 23 Nov 2018 22:50:13 +0000 (14:50 -0800)]
output: Add support for layer info in table output.

5 years agooutput: Implement styling for titles and captions.
Ben Pfaff [Thu, 22 Nov 2018 06:04:12 +0000 (22:04 -0800)]
output: Implement styling for titles and captions.

5 years agooutput: Implement styling for footnotes.
Ben Pfaff [Thu, 22 Nov 2018 05:25:13 +0000 (21:25 -0800)]
output: Implement styling for footnotes.

5 years agocairo: Remove debug print.
Ben Pfaff [Tue, 25 Dec 2018 20:41:27 +0000 (12:41 -0800)]
cairo: Remove debug print.

5 years agotab: Support cell-specific styles.
Ben Pfaff [Thu, 22 Nov 2018 03:42:18 +0000 (19:42 -0800)]
tab: Support cell-specific styles.

5 years agooutput: Add support for colors for rules.
Ben Pfaff [Wed, 21 Nov 2018 17:32:23 +0000 (09:32 -0800)]
output: Add support for colors for rules.

5 years agooutput: Support styles for text items.
Ben Pfaff [Mon, 26 Nov 2018 01:03:16 +0000 (17:03 -0800)]
output: Support styles for text items.

5 years agooutput: Add support for fonts.
Ben Pfaff [Tue, 20 Nov 2018 18:24:20 +0000 (10:24 -0800)]
output: Add support for fonts.

5 years agooutput: Add support for cell margins.
Ben Pfaff [Mon, 26 Nov 2018 01:01:39 +0000 (17:01 -0800)]
output: Add support for cell margins.

Until now, space between cells was implemented by adding some space on the
sides of rules.  That worked fine before cells could have colored
backgrounds, but now it means that the backgrounds don't reach all the way
to the rules.  Thus, this commit adds configurable margins to the cells
themselves.

5 years agooutput: Add support for colors in cells.
Ben Pfaff [Mon, 19 Nov 2018 06:23:28 +0000 (22:23 -0800)]
output: Add support for colors in cells.

Background colors aren't painted very well until the following commit adds
support for cell margins.

5 years agooutput: Add support for dashed, thick, and thin rules.
Ben Pfaff [Sat, 17 Nov 2018 23:49:27 +0000 (15:49 -0800)]
output: Add support for dashed, thick, and thin rules.

5 years agooutput: Add support for vertical alignment of cells.
Ben Pfaff [Sat, 17 Nov 2018 19:12:55 +0000 (11:12 -0800)]
output: Add support for vertical alignment of cells.

It makes sense to bottom-align top headings but to top-align data cells,
for example.

5 years agotab: Expand space for table options from 8 to 16 bits each.
Ben Pfaff [Mon, 19 Nov 2018 01:43:56 +0000 (17:43 -0800)]
tab: Expand space for table options from 8 to 16 bits each.

Upcoming commits will need the extra bits.

5 years agotestsuite: Enable color output for tests.
Ben Pfaff [Tue, 25 Dec 2018 19:52:44 +0000 (11:52 -0800)]
testsuite: Enable color output for tests.

5 years agorender: Update style of footnote rendering.
Ben Pfaff [Mon, 26 Nov 2018 04:43:22 +0000 (20:43 -0800)]
render: Update style of footnote rendering.

5 years agooutput: Expand footnote support.
Ben Pfaff [Sat, 17 Nov 2018 04:42:13 +0000 (20:42 -0800)]
output: Expand footnote support.

This adds support for multiple footnotes per table cell and the ability
to add footnotes to titles and captions.

5 years agoformat: New function fmt_from_u32().
Ben Pfaff [Mon, 26 Nov 2018 00:39:55 +0000 (16:39 -0800)]
format: New function fmt_from_u32().

This functionality will be useful for reading SPV files as well as SAV
files.

5 years agostring-map: New functions for searching by non-null terminated keys.
Ben Pfaff [Fri, 30 Nov 2018 04:51:54 +0000 (20:51 -0800)]
string-map: New functions for searching by non-null terminated keys.

The first user will be added in an upcoming commit.

5 years agostr: New functions ss_starts_with() and ss_find_substring().
Ben Pfaff [Mon, 26 Nov 2018 00:41:44 +0000 (16:41 -0800)]
str: New functions ss_starts_with() and ss_find_substring().

These will have their first users in an upcoming commit.

5 years agointeger-format: Add some useful helper functions.
Ben Pfaff [Mon, 26 Nov 2018 00:38:47 +0000 (16:38 -0800)]
integer-format: Add some useful helper functions.

These functions already existed in float-format.c, but they are more
generally useful, so this commit moves them into integer-format.h.

5 years agoCROSSTABS: Make treatment of crosstab variables and values more uniform.
Ben Pfaff [Sun, 16 Dec 2018 16:59:47 +0000 (08:59 -0800)]
CROSSTABS: Make treatment of crosstab variables and values more uniform.

5 years agoCROSSTABS: Rename pivot_table to crosstabulation.
Ben Pfaff [Sat, 15 Dec 2018 22:40:44 +0000 (14:40 -0800)]
CROSSTABS: Rename pivot_table to crosstabulation.

This will make things easier later when real pivot tables are introduced at
a higher level.

5 years agooutput: Factor common code for command name tracking out of all drivers.
Ben Pfaff [Fri, 30 Nov 2018 05:04:55 +0000 (21:04 -0800)]
output: Factor common code for command name tracking out of all drivers.

This reduces redundancy.

5 years agomessage: Refactor initializations for struct msg throughout the tree.
Ben Pfaff [Tue, 25 Dec 2018 04:51:53 +0000 (20:51 -0800)]
message: Refactor initializations for struct msg throughout the tree.

A new member will be added in an upcoming commit, and the new style of
initialization ensures that the member will always be initialized

5 years agovariable: Make property function return untranslated versions.
Ben Pfaff [Tue, 25 Dec 2018 17:58:42 +0000 (09:58 -0800)]
variable: Make property function return untranslated versions.

This makes it possible for the callers to do the translation at the time
it is needed.  It will be particularly useful in an upcoming commit.

5 years agomissing-values: New function mv_to_string().
Ben Pfaff [Tue, 25 Dec 2018 05:46:11 +0000 (21:46 -0800)]
missing-values: New function mv_to_string().

This seems like something that should be handled by the missing value code,
not by SYSFILE INFO.

5 years agobt, abt: Add initialization and iteration macros.
Ben Pfaff [Tue, 25 Dec 2018 03:32:17 +0000 (19:32 -0800)]
bt, abt: Add initialization and iteration macros.

5 years agodictionary: New function dict_get_weight_format().
Ben Pfaff [Tue, 25 Dec 2018 05:45:52 +0000 (21:45 -0800)]
dictionary: New function dict_get_weight_format().

Just a convenience.

5 years agoascii: Get rid of the idea of pages.
Ben Pfaff [Sat, 15 Dec 2018 18:43:47 +0000 (10:43 -0800)]
ascii: Get rid of the idea of pages.

In the era when I started writing this code, people still printed output on
dot-matrix printers and fanfold paper.  That's no longer a realistic use
case: today, no one prints plain text output.  It's just for viewing on a
screen, and on a screen there is no need or desire to break tables up
vertically into virtual "pages".

5 years agotable: Get rid of TAL_GAP.
Ben Pfaff [Sun, 9 Dec 2018 20:46:17 +0000 (12:46 -0800)]
table: Get rid of TAL_GAP.

This is only necessary in pathological cases.  Those cases don't really
come up in normal usage and as PSPP shifts toward pivot tables they won't
come up at all.

5 years agocairo: Get rid of useless parameter 'y' to xr_layout_cell_text().
Ben Pfaff [Sun, 9 Dec 2018 05:50:51 +0000 (21:50 -0800)]
cairo: Get rid of useless parameter 'y' to xr_layout_cell_text().

5 years agocategoricals: Convert tabs to spaces.
Ben Pfaff [Sun, 23 Dec 2018 19:06:34 +0000 (11:06 -0800)]
categoricals: Convert tabs to spaces.

5 years agocategoricals: Update style and modernize.
Ben Pfaff [Sun, 23 Dec 2018 19:06:17 +0000 (11:06 -0800)]
categoricals: Update style and modernize.

5 years agocategoricals: Get rid of 'df_prod' array.
Ben Pfaff [Sun, 23 Dec 2018 19:03:40 +0000 (11:03 -0800)]
categoricals: Get rid of 'df_prod' array.

It brought minimal value in that everything it did could be recalculated
on the fly without increasing the big-O cost.

5 years agocategoricals: Drop 'n_vals' member from struct variable_node.
Ben Pfaff [Sun, 23 Dec 2018 18:57:50 +0000 (10:57 -0800)]
categoricals: Drop 'n_vals' member from struct variable_node.

It was redundant with counting the elements in valmap, which wasn't
used many places anyway.

5 years agocategoricals: Add array of variable_nodes to reduce hash lookups.
Ben Pfaff [Sun, 23 Dec 2018 18:50:44 +0000 (10:50 -0800)]
categoricals: Add array of variable_nodes to reduce hash lookups.

5 years agocategoricals: Avoid setting value_node indexes multiple times.
Ben Pfaff [Sun, 23 Dec 2018 18:42:04 +0000 (10:42 -0800)]
categoricals: Avoid setting value_node indexes multiple times.

A given variable_node can be in more than one interaction, but it's only
necessary to set the variable_node's value_node indexes once each.

5 years agocategoricals: Give "reverse" members more descriptive, shorter names.
Ben Pfaff [Sun, 23 Dec 2018 18:27:14 +0000 (10:27 -0800)]
categoricals: Give "reverse" members more descriptive, shorter names.

5 years agocategoricals: Remove unused function categoricals_get_n_variables().
Ben Pfaff [Sun, 23 Dec 2018 18:15:39 +0000 (10:15 -0800)]
categoricals: Remove unused function categoricals_get_n_variables().

This function output debugging info on stdout, so clearly it wasn't
important.

5 years agocategoricals: Don't warn on hash collisions.
Ben Pfaff [Sun, 23 Dec 2018 18:14:28 +0000 (10:14 -0800)]
categoricals: Don't warn on hash collisions.

Hash collisions are not errors.

5 years agocategoricals: Improve comments.
Ben Pfaff [Sun, 23 Dec 2018 17:20:34 +0000 (09:20 -0800)]
categoricals: Improve comments.

5 years agocategoricals: Remove 'dep_excl' parameter.
Ben Pfaff [Sun, 23 Dec 2018 17:07:08 +0000 (09:07 -0800)]
categoricals: Remove 'dep_excl' parameter.

It was not used for anything.

5 years agotests: Add "categorical" keyword to tests that use categoricals.
Ben Pfaff [Sun, 23 Dec 2018 18:54:01 +0000 (10:54 -0800)]
tests: Add "categorical" keyword to tests that use categoricals.

This makes it easier to run tests just for these.

5 years agointeraction: Better document and update code to modern style.
Ben Pfaff [Sun, 23 Dec 2018 02:48:17 +0000 (18:48 -0800)]
interaction: Better document and update code to modern style.

5 years agooutput: Remove support for nested tables.
Ben Pfaff [Sun, 2 Dec 2018 21:37:57 +0000 (13:37 -0800)]
output: Remove support for nested tables.

They are no longer used.

5 years agoSYSFILE INFO: Get rid of nested tables.
Ben Pfaff [Sun, 2 Dec 2018 21:28:44 +0000 (13:28 -0800)]
SYSFILE INFO: Get rid of nested tables.

Nested tables aren't really necessary and make a number of things harder in
the output subsystem.  SYSFILE INFO and DISPLAY, which share code, were the
only code that used them, so this removes them from that code.

5 years agoget-data-psql.at: Make test work with Debian pg_wrapper arrangement.
Ben Pfaff [Mon, 3 Dec 2018 02:36:51 +0000 (18:36 -0800)]
get-data-psql.at: Make test work with Debian pg_wrapper arrangement.

It had been years since I tested Postgres, but I was making a change that
would affect the Postgres test, and I found out that the test didn't work.
This fixes it.

5 years agosegment: Fix behavior when #! line is not new-line terminated.
Ben Pfaff [Mon, 26 Nov 2018 14:54:52 +0000 (06:54 -0800)]
segment: Fix behavior when #! line is not new-line terminated.

The code here is supposed to maintain a invariant that, when it returns a
nonnegative value, it initializes *type, but it failed to do that when a
#! line did not end in a new-line.  This fixes the problem.

Bug #55101.
Thanks for Friedrich Beckmann for narrowing down the problem.
Found by the Debian buildd: https://buildd.debian.org/status/fetch.php?pkg=pspp&arch=arm64&ver=1.2.0-1&stamp=1543183214&raw=0

5 years agoascii: Fix assertion in ascii_output_table_item().
Ben Pfaff [Mon, 26 Nov 2018 00:56:02 +0000 (16:56 -0800)]
ascii: Fix assertion in ascii_output_table_item().

The previous assertion did not actually detect the bug it was intended to
cover.

5 years agoascii: Update min_breaks along with width and length.
Ben Pfaff [Fri, 16 Nov 2018 21:51:38 +0000 (13:51 -0800)]
ascii: Update min_breaks along with width and length.

min_breaks has to be no larger than the page width (or length), otherwise
the rendering algorithm fails, but the automatic update for TTYs didn't
take that into account.

5 years agorender: Use "long long" instead of "double" for arithmetic.
Ben Pfaff [Sun, 25 Nov 2018 06:22:18 +0000 (22:22 -0800)]
render: Use "long long" instead of "double" for arithmetic.

When I wrote this code in 2010, it seemed reasonable to me to use
floating-point arithmetic to do large integer calculations, because 64-bit
machines were not yet pervasive.  Over 8 years later, 32-bit machines are
now a rarity.  This commit switches types and modernizes the coding style.

This fixed an assertion failure that I was getting mysteriously while
rendering a particular table.  I didn't investigate further because using
integers seemed like a much better idea anyway.

5 years agotests: Disable Address Sanitizer SIGSEGV handler for intentional SIGSEGV.
Ben Pfaff [Mon, 26 Nov 2018 01:54:17 +0000 (17:54 -0800)]
tests: Disable Address Sanitizer SIGSEGV handler for intentional SIGSEGV.

5 years agoFREQUENCIES: Avoid buffer overrun when there is no valid data.
Ben Pfaff [Mon, 26 Nov 2018 01:52:29 +0000 (17:52 -0800)]
FREQUENCIES: Avoid buffer overrun when there is no valid data.

Reported by Address Sanitizer.

5 years agoONEWAY: Fix use of stack-allocated variable outside its scope.
Ben Pfaff [Mon, 26 Nov 2018 01:47:45 +0000 (17:47 -0800)]
ONEWAY: Fix use of stack-allocated variable outside its scope.

The 'payload' object is a kind of class and should be allocated statically.

Found by Address Sanitizer.

5 years agorender: Fix pathological case where column minimum width exceeds maximum.
Ben Pfaff [Sun, 25 Nov 2018 18:04:40 +0000 (10:04 -0800)]
render: Fix pathological case where column minimum width exceeds maximum.

5 years agodata-out: Clarify the meaning of the 'encoding' parameter.
Ben Pfaff [Sun, 27 May 2018 00:50:20 +0000 (17:50 -0700)]
data-out: Clarify the meaning of the 'encoding' parameter.

Signed-off-by: Ben Pfaff <blp@cs.stanford.edu>
5 years agopsppire: Fix multiple definitions of align_enum_type and two others.
Ben Pfaff [Sat, 17 Nov 2018 04:27:30 +0000 (20:27 -0800)]
psppire: Fix multiple definitions of align_enum_type and two others.

These were defined in both psppire-dict.c and widgets.c, which causes a
problem building with -fno-common (which is desirable because it allows
Address Sanitizer to work better).

5 years agoCheck for python interpreter at configure time and document the requirement.
Ben Pfaff [Mon, 19 Nov 2018 16:44:27 +0000 (08:44 -0800)]
Check for python interpreter at configure time and document the requirement.

5 years agotest-date-input.py: Make compatible with Python 3.
Ben Pfaff [Mon, 19 Nov 2018 16:35:23 +0000 (08:35 -0800)]
test-date-input.py: Make compatible with Python 3.

5 years agofixed setting the font size via css syntax - Closes Bug #55006
Friedrich Beckmann [Fri, 16 Nov 2018 19:16:53 +0000 (20:16 +0100)]
fixed setting the font size via css syntax - Closes Bug #55006

The pspp 1.2.0 release showed a problem with setting the font via
the font selection dialog. The root cause is that the style
setting should be done via css syntax and not pango syntax. I
changed the code to do the style setting via css syntax.

See: https://savannah.gnu.org/bugs/?55006

The minimum width setting in the comment dialog does not work how
it is implemented. I removed that code part as it does not seem
to be crucial. At least on MacOS the default
width is large enough to hold 80 characters. Even without that
the user can increase the size of the dialog.

5 years agochanged install directory for pspp.appdata.xml to metainfo
Friedrich Beckmann [Mon, 12 Nov 2018 08:05:41 +0000 (09:05 +0100)]
changed install directory for pspp.appdata.xml to metainfo

The default directory for the appdata xml file changed
from appdata to metainfo. During debian package development
lintian complained about the wrong location.

5 years agochanged emacs mode description to comply with elpa
Friedrich Beckmann [Mon, 12 Nov 2018 08:04:42 +0000 (09:04 +0100)]
changed emacs mode description to comply with elpa

During the debian package development lintian proposed
to install emacs mode via the elpa system. I changed
the pspp emacs mode description to comply to elpa.

5 years agopo: Update translations from translationproject.org.
Ben Pfaff [Sun, 11 Nov 2018 16:37:45 +0000 (08:37 -0800)]
po: Update translations from translationproject.org.

5 years agopo: Update translations from translationproject.org.
Ben Pfaff [Thu, 8 Nov 2018 15:01:09 +0000 (07:01 -0800)]
po: Update translations from translationproject.org.

5 years agopo: Update translations from translationproject.org.
Ben Pfaff [Tue, 6 Nov 2018 17:06:25 +0000 (09:06 -0800)]
po: Update translations from translationproject.org.

5 years agoRelease version 1.2.0.
Ben Pfaff [Tue, 6 Nov 2018 14:34:07 +0000 (06:34 -0800)]
Release version 1.2.0.

5 years agoAdd support for MTIME and YMDHMS.
Ben Pfaff [Sat, 26 May 2018 18:04:15 +0000 (11:04 -0700)]
Add support for MTIME and YMDHMS.

5 years agotests: Refactor data-out tests for dates and times.
Ben Pfaff [Sat, 26 May 2018 18:02:34 +0000 (11:02 -0700)]
tests: Refactor data-out tests for dates and times.

5 years agoREADME.Git: Upgrade recommended version of Gnulib.
Ben Pfaff [Tue, 6 Nov 2018 13:49:24 +0000 (05:49 -0800)]
README.Git: Upgrade recommended version of Gnulib.

Thanks to Frans Houweling <fhouweling@email.it> and Bruno Haible for
identifying a problem with the previous version.

5 years agofixed strange character in polish translation email
Friedrich Beckmann [Sun, 28 Oct 2018 20:51:18 +0000 (21:51 +0100)]
fixed strange character in polish translation email

The strange character results in a build failure on MacOS

5 years agohash-functions: Avoid signed integer overflow.
Ben Pfaff [Sun, 14 Oct 2018 19:31:52 +0000 (12:31 -0700)]
hash-functions: Avoid signed integer overflow.

cppcheck reported that 0xdeadbeef + 8 yielded signed integer overflow.
This is probably harmless, as long as the compiler doesn't do something
really strange, but it's even better if we just ensure that this
arithmetic is done as unsigned.

Reported by John Darrington.

5 years agoFix possible null pointer dereference in linreg_predict.
John Darrington [Sun, 14 Oct 2018 19:06:56 +0000 (21:06 +0200)]
Fix possible null pointer dereference in linreg_predict.

Found by cppcheck.