Path to this page:
Subject: CVS commit: pkgsrc/textproc/p5-PDF-Table
From: Wen Heping
Date: 2023-07-04 04:25:13
Message id: 20230704022513.69084FA89@cvs.NetBSD.org
Log Message:
Update to 1.005
Upstream changes:
=== Version 1.005 (2023-01-28)
lib/PDF/Table.pm
Update cell checking when using markup, so that anything which CAN be by
default stringified, will be. Some customers are using default or implicit
stringification of objects, which was being caught as an unsupported data
type, and rendered as "(invalid)" in a cell. The downside is that \
if you
send something nonsensical (e.g., reference to a SCALAR), you will see the
stringified reference (address), as done in the 1.003 and earlier versions.
Makefile.PL remove PROVIDES clause, as was getting build warnings about it.
=== Version 1.004 (2023-01-21)
lib/PDF/Table.pm, lib/PDF/Table.pod, INFO/SPONSORS (new), INFO/Table.html,
MANIFEST
For PDF::Builder ONLY, allow specification of cell 'markup' (Markdown
or HTML), to permit great flexibility in cell content. See PDF::Builder's
examples/Column.pl for an example of usage.
This work (as well as markup changes for PDF::Builder) has been kindly
sponsored by Amtivo Group (see INFO/SPONSORS).
lib/PDF/Table.pm, examples/sample1-size-vsizes.pl
The 'Times' font should be named 'Times-Roman', to conform with the correct
core font naming. PDF::Builder no longer silently accepts 'Times' as an
alias for 'Times-Roman', and now gives a warning.
xt/manifest.t, xt/pod.t, MANIFEST, util/2_t-tests.pl
Move author tests from t/ to xt/
examples/chess.pl
PDF::API2 (PREVIOUS to release 2.044) has a bug in its TTF
handling, where it fails to translate some Unicode points \
("U+nnnn" number)
to the appropriate font glyph entry, and instead puts the Unicode point
in the glyph list. This is incorrect, and usually results in a mismapping.
As of PDF::API2 v 2.044, chess.pl seems to be working again.
examples/*.pl
If command line -A or -B, add prefix A_ or B_ to the output file name. This
can be useful when using -A or -B with util/3_examples.pl to generate
different output PDFs for PDF::API2 and PDF::Builder. Keep in mind that an
example given without -A or -B will not add the prefix.
lib/PDF/Table.pm, lib/PDF/Table.pod, INFO/Table.html,
examples/vsizes.pl (new), util/3_examples.pl
Dry run to return vertical size (overall, header, [footer], each row),
no output to PDF, with "ink" set to 0.
lib/PDF/Table.pod (moved), MANIFEST, util/pod2cpanhtml.pl, Makefile.PL
Move .pod up a level (thanks to "perlpunk")
lib/PDF/Table/Table.pod, INFO/Table.html, examples/chess.pl,
INFO/Changes_2019, lib/PDF/Table.pm
Typos caught by lintian (via emollier) and codespell (via mdeweerd).
CONTRIBUTING, MANIFEST add Contribution guide
=== Version 1.003 (2022-07-05)
lib/PDF/Table/ColumnWidth.pm, lib/PDF/Table/Table.pod, examples/size.pl,
MANIFEST, util/3_examples.pl
Add the ability to specify fixed and relative sizes for column widths,
rather than having to accept system-calculated widths. You give a string
to the 'size' optional global setting specifying the absolute width of
a column (in, pt, cm, mm, em, or ex units), and/or a unit of '*' to
indicate remaining space is to be split up among these columns.
lib/PDF/Table.pm, lib/PDF/Table/Settings.pm, MANIFEST
Split out deprecated_settings and check_settings functions into new file.
lib/PDF/Table.pm, lib/PDF/Table/ColumnWidth.pm, MANIFEST, t/PDF-Table.t
Split out CalcColumnWidths function into new file.
examples/chess.pl
PDF::API2 work-around added for font-handling change in 2.043. The problem
is being investigated, but the chess example almost works for now.
lib/PDF/Table.pm, lib/PDF/Table/Table.pod, MANIFEST
Split out documentation into separate POD file.
lib/PDF/Table.pm
Fix handling of degenerate case of header-only, without data rows (#71).
lib/PDF/Table.pm, t/PDF-Table.t
Finish cleanup of column width calculations (#68, #72).
Makefile.PL, LICENSE, MANIFEST.SKIP
Build (at install) META.* with "provides" member. Add separate \
license file.
Add some items to MANIFEST SKIP file to clean up.
lib/PDF/Table.pm
$LAST_UPDATE changed from 'my' storage class to 'our', so can be accessed
programmatically.
lib/PDF/Table.pm
Absolute minimum with of a column reset to at least $min_col_width (a new
global default) to prevent text_block() width errors.
Update build process to ensure consistent "unix" formatting of most
human-readable files. Some non-CPAN builds were complaining
about MS-DOS format (CRLF line ends) on some files.
lib/PDF/Table.pm, examples/chess.pl, t/PDF-Table.t
Fix handling of max_w [GitHub #68], rewrite column width calculations. This
may result in some noticable changes in column widths from before.
lib/PDF/Table.pm Remove requirement that "empty cell" text not be an
empty string (allow $empty_cell_text to be ''), permitting completely
empty cells.
lib/PDF/Table.pm minor comment updates
README.md, lib/PDF/Table.pm, INFO/Table.html
2022 copyright. NOT archiving Changes yet.
=== Version 1.002 (2020-12-27)
README.md, lib/PDF/Table.pm, Makefile.PL
Miscellaneous updates to clean up support URLs, emails, etc.
util/pod2cpanhtml.pl
Remove use of search.cpan.org CSS reference, as that site no longer exists.
Looking for a good replacement, possibly Bootstrap, that doesn't require
that a phone be turned to landscape orientation in order to read text at
a decent size.
lib/PDF/Table.pm
Cells spanning columns only had the first part (cell) of the bottom
horizontal rule drawn. Reported by "stefanalt". Fixed to draw full \
spanned
width.
t/PDF-Table.t
One calculated value was considerably different between standard Perl (uses
doubles for floats), long-double Perl, and quad-math Perl. Round the
calculated value to 6 decimal digits so that it works on any system.
Files: