[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.3-41-g35fab6
From: |
Ben Pfaff |
Subject: |
[Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.3-41-g35fab65 |
Date: |
Sun, 13 Jul 2014 17:51:03 +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 35fab6526c3b8491a05769cb72e24c00316c5d3f (commit)
via 1d0b435ea6ca932d3e1c446db402ec41b9024ccd (commit)
from 14877636310b84dc7d501c95e6e4feeb3186d6a9 (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 35fab6526c3b8491a05769cb72e24c00316c5d3f
Author: Ben Pfaff <address@hidden>
Date: Sun Jul 13 10:47:43 2014 -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.
commit 1d0b435ea6ca932d3e1c446db402ec41b9024ccd
Author: Ben Pfaff <address@hidden>
Date: Sun Jul 13 10:41:13 2014 -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.
-----------------------------------------------------------------------
Summary of changes:
src/output/render.c | 84 +++++++++++++++++++++++----------------------
src/output/table-select.c | 60 ++++++++++++++++---------------
tests/output/render.at | 4 +-
3 files changed, 76 insertions(+), 72 deletions(-)
hooks/post-receive
--
GNU PSPP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-commits] [SCM] GNU PSPP branch, master, updated. v0.8.3-41-g35fab65,
Ben Pfaff <=