[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.4-98-g098d2e
From: |
John Darrington |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.4-98-g098d2ed |
Date: |
Mon, 01 Jun 2015 05:03:31 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU PSPP".
The branch, master has been updated
via 098d2edc63e7571769345903c9578b30a17a5f5c (commit)
via d5f9f3dea48e19a139827e9876385e0fa660cf38 (commit)
from 73f03b54b10a9afa075e8dcf059cb225a038edab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 098d2edc63e7571769345903c9578b30a17a5f5c
Author: John Darrington <address@hidden>
Date: Mon Jun 1 07:03:02 2015 +0200
Added src/ui/gui/memorandum.txt to EXTRA_DIST
commit d5f9f3dea48e19a139827e9876385e0fa660cf38
Author: Friedrich Beckmann <address@hidden>
Date: Mon Jun 1 00:20:01 2015 +0200
histogram tick drawing - added format generation for optimum tick drawing
Fixes bug #45192 which showed up in the gtk3 branch on MacOS.
It replaces the decimal_xxx computations with a routine that computes a
formatting string and a scale factor for a given axis range and number of
bins. The formatting will switch between normal and scientific depending on
the length of the displayed label text. The formatting is such that no
rounded numbers like 3.9999999 when in fact 4 is expected is shown.
Differences between bins remain visible in the tick labels.
In addition the width of the rendered labels is compared with the width
of the bins in the display such that the labels will automatically
switch between horizontal and 45 degree display.
-----------------------------------------------------------------------
Summary of changes:
src/math/chart-geometry.c | 73 +++++++++++++++++++++++++++++
src/math/chart-geometry.h | 5 ++-
src/output/cairo-chart.c | 24 ++++++++++
src/output/cairo-chart.h | 6 ++-
src/output/charts/plot-hist-cairo.c | 49 +++++++++++--------
src/ui/gui/automake.mk | 1 +
tests/automake.mk | 9 +++-
tests/math/chart-geometry.at | 27 +++++++++++
tests/math/chart-get-ticks-format-test.c | 75 ++++++++++++++++++++++++++++++
9 files changed, 246 insertions(+), 23 deletions(-)
create mode 100644 tests/math/chart-get-ticks-format-test.c
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.4-98-g098d2ed,
John Darrington <=