Up to [cvs.NetBSD.org] / pkgsrc / textproc / p5-PDF-Table
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 4 02:25:13 2023 UTC (2 months, 3 weeks ago) by wen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +4 -4
lines
Diff to previous 1.16 (colored)
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.
Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 26 11:22:32 2021 UTC (22 months, 4 weeks ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
textproc: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
Revision 1.15 / (download) - annotate - [select for diffs], Thu Oct 7 15:01:38 2021 UTC (23 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.14: +1 -2
lines
Diff to previous 1.14 (colored)
textproc: Remove SHA1 hashes for distfiles
Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 27 23:34:09 2021 UTC (2 years, 5 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1
Changes since 1.13: +5 -5
lines
Diff to previous 1.13 (colored)
Update to 1.002 Upstream changes: === 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.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 15 07:00:37 2020 UTC (2 years, 10 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base,
pkgsrc-2020Q4
Changes since 1.12: +5 -5
lines
Diff to previous 1.12 (colored)
Update to 1.001 Upstream changes: === Version 1.001 (2020-11-05) lib/PDF/Table.pm fix edge case where no borders led to no rules [GH 55]. t/manifest.t, t/pod.t Make author-only (AUTHOR_TESTING=1). ref [GH 61] lib/PDF/Table.pm, t/pod.t POD change =head5 to =head4, to look better and stop older POD checkers from complaining (in t/pod.t). Also minimum Test::Pod version 1.52 (was 1.00). ref [GH 61]. examples/sample1.pl, t/lib/TestData.pm, INFO/Deprecated, lib/PDF/Table.pm Replace deprecated setting names by current names in the POD, examples, and t-tests. After November 2022, settings names (args) with a leading dash (hyphen) will no longer be permitted. === Version 1.000 (2020-11-03) INFO/Deprecated, INFO/Table.html, lib/PDF/Table.pm Final cleanup of POD and generation of HTML documentation, and listing of all deprecated setting names. t/lib/PDFAPI2Mock.pm add linedash dummy call so t tests can run. lib/PDF/Table.pm, MANIFEST, examples/border_rules.pl, util/3_examples.pl Old "borders" was vertical and horizontal rules PLUS outside rules (frame). Separate into "borders" (outside) and "rules" (inside). Add border_rules.pl example to illustrate. examples/chess.pl with DejaVu-Sans, can use chess piece images .github/worksflows/test.yml, README.md minor fixes in README to make lint run happily, stop checking Table.html. examples/*.pl Allow -A or -B on the command line (case insensitive) to override PDFpref file (if any) setting. This speeds up testing for PDF::API2 vs PDF::Builder (default). lib/PDF/Table.pm, INFO/Deprecated, INFO/Table.html, MANIFEST, examples/chess.pl, t/PDF-Table.t, t/lib/PDFAPI2Mock.pm, util/3_examples.pl Clean up handling of minimum and maximum cell widths (min_w and max_w). Clean up handling of background and foreground colors. Add chess.pl example to show off color handling. Update t-tests for slight coordinate changes. Add row_props (row properties) similar to column_props, to set things on a per-row basis. If the table spills over to a new page, and next_y and/or next_h was NOT given, issue a warning and for a default use 90% of the media height for next_y and 80% for next_h (ref ticket #11). This should be better than using the (start_)y and (start_)h values for the table. Add new, more consistent aliases for a number of settings (ref ticket #13). The old setting names are still available for at least TWO YEARS, after which, they will be REMOVED. Over the next two years you should update your code to use the new setting names. The settings involved are: 'start_y' is now 'y' 'start_h' is now 'h' 'row_height' is now 'min_rh' 'background_color' is now 'bg_color' 'background_color_odd' is now 'bg_color_odd' 'background_color_even' is now 'bg_color_even' 'font_color' is now 'fg_color' 'font_color_odd' is now 'fg_color_odd' 'font_color_even' is now 'fg_color_even' 'font_underline' is now 'underline' 'lead' is now 'leading' These are listed in INFO/Deprecated. In the near future, the examples and t-tests will be updated to use the new setting names. Ship with Table.html (documentation) in INFO/. Update MANIFEST. Remove 010_fonts.pl from the util/3_examples.pl list. I'm still not sure why it should be in the examples -- basically, it shows that UTF-8 doesn't work with core fonts, but that's already a documented limitation (in PDF::Builder). 010_fonts.pl is still in the examples/ directory, if anyone wants to play with it. Add INFO/Deprecated to list names and interfaces scheduled to be removed in the future (at least 2 years). MANIFEST updated. Split out older Changes list into INFO/Changes_2019. MANIFEST updated. Increase default cell padding to 2pt. See documentation "COMPATIBILITY" for how to get the old behavior (0pt padding). t/Basics.t, t/Colspan.t, t/PDF-Table.t expected write locations updated. examples/colspan.pl and examples/header.pl were widened slightly to accommodate the padding. Make "odd/even" row consistent with or without a header (repeated or not), particularly when a table is split across pages, and when a row itself is split in such a case. See documentation "COMPATIBILITY" for how to get the old behavior. Header 'repeat' default changed from 0 (no) to 1 (yes), as most of the time a user will want to repeat any header on each new page. Suppress repeating a header with a value of 0. See documentation "COMPATIBILITY" for how to get the old behavior. Currently, PDF::Table is shipped to use the new behaviors, with as much compatibility as possible with existing code (see $compat_mode in Table.pm). Unless you have need to use the old behaviors for existing code, we suggest that you leave $compat_mode as 0, use the 'compatibility' setting, or individually set the flags, to make use of the new behaviors. Also use the new settings names, unless there is a need for compatibility in existing code. Eventually, use of the old names will produce warnings, and later, error messages, but the old behaviors should be available for a long time. You should examine your existing code and plan to update it over time. Initialize %arg entries (defaults) so no uninitialized errors. #57 reported by Larry Leszczynski (larryl) for text_block() along with PR. Minor build process cleanup Minor spelling and typo fixes in POD and examples
Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 7 14:45:32 2020 UTC (3 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3
Changes since 1.11: +5 -5
lines
Diff to previous 1.11 (colored)
p5-PDF-Table: update to 0.12. Version 0.12.0 (2020-04-09) Permit either PDF::API2 or PDF::Builder (#51) Don't use UTF-8 with corefonts General cleanup of typos and misspellings in Table.pm Minimum Perl 5.10 in Makefile.PL (#53) More cleanup of text in Table.pm Add tools (util) for running PerlCritic, t-tests, examples Clean up code to pass PerlCritic Clean up examples to run with either API2 or Builder. PDFpref file to declare which to use if both available Comments in t tests about use of Mock PDFAPI2 Document needed and optional prerequisite modules
Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 18 14:29:41 2019 UTC (4 years ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3
Changes since 1.10: +5 -5
lines
Diff to previous 1.10 (colored)
Update to 0.11.0 Upstream changes: Version 0.11.0 Colspan feature by domm
Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 23 13:28:02 2018 UTC (5 years, 5 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.9: +5 -5
lines
Diff to previous 1.9 (colored)
Update to 0.10.1 No upstream changelog found.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 4 15:35:17 2018 UTC (5 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Changes since 1.8: +5 -5
lines
Diff to previous 1.8 (colored)
p5-PDF-Table: update to 0.10.0. Version 0.10.0 Introduces underlined text in cells
Revision 1.8 / (download) - annotate - [select for diffs], Fri Nov 24 14:37:00 2017 UTC (5 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4
Changes since 1.7: +5 -5
lines
Diff to previous 1.7 (colored)
p5-PDF-Table: update to 0.9.14. Changes not documented.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 18 12:02:42 2017 UTC (6 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base,
pkgsrc-2017Q3
Changes since 1.6: +5 -5
lines
Diff to previous 1.6 (colored)
p5-PDF-Table: update to 0.9.13. Version 0.9.13 Fixed issue #33 - Desislav Kamenov
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 5 08:15:10 2016 UTC (7 years, 3 months ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2
Changes since 1.5: +5 -5
lines
Diff to previous 1.5 (colored)
Update to 0.9.12 Upstream changes: Version 0.9.12 - hotfix for failing tests - Desislav Kamenov Version 0.9.11 Changes by contributors on GitHub - Keith Carangelo, Mohammad S Anwar 3264342 Added cell_render_hook subroutine to create hyperlinks 0fb2e57 Fixed broken link to Rick Measham's tutorial. 8361ec3 Fixed new_page_func valid setting 38610ec Header alignment default should be column alignment e3ec184 Added parameter checking in the method table(). - Added unit test t/table.t script. a73e67f Proposed fix to the CPANTS error as below: - Added standard unit test for MANIFEST file (t/manifest.t). - Removed MYMETA.json, MYMETA.yml and Makefile (auto generated files)
Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 4 11:56:39 2016 UTC (7 years, 7 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base,
pkgsrc-2016Q1
Changes since 1.4: +5 -5
lines
Diff to previous 1.4 (colored)
Update to 0.9.10 ---------------- Version 0.9.10 Changes by contributors on GitHub - azawawi, joenio 6fab323 Modernize hashbang #! to be more perlbrew friendly 58c36df Add relative link to Changes file efaf173 Simple installation/development commmands cfbcf48 More README.md simplification a7889bc Fix README.md 43c2182 Fix warning: Useless use of greediness modifier '?' in regex db4bc44 Fix #17, page parameter should be optional f93ed16 "utf8" pragma solves issue with characters rendered wrong e69524e fix script that test issue #15 5d5628f avoid warnind about use of greediness modifier
Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 4 01:59:46 2015 UTC (7 years, 10 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base,
pkgsrc-2015Q4
Changes since 1.3: +2 -1
lines
Diff to previous 1.3 (colored)
Add SHA512 digests for distfiles for textproc category Problems found locating distfiles: Package cabocha: missing distfile cabocha-0.68.tar.bz2 Package convertlit: missing distfile clit18src.zip Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 4 10:51:12 2015 UTC (7 years, 11 months ago) by wen
Branch: MAIN
Changes since 1.2: +4 -4
lines
Diff to previous 1.2 (colored)
Update to 0.9.9 Upstream changes: Version 0.9.8/9 Added MANIFEST.SKIP and fixed a broken build with 0.9.8 Added some utility methods to new()
Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 26 08:48:16 2015 UTC (8 years, 5 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2
Changes since 1.1: +4 -4
lines
Diff to previous 1.1 (colored)
Update 0.9.3 to 0.9.7 --------------------- Version 0.9.7 - for a detailed log and changed files visit GitHub
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed May 18 00:41:10 2011 UTC (12 years, 4 months ago) by dmcmahill
Branch: TNF
CVS Tags: pkgsrc-base,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Initial import of textproc/p5-PDF-Table version 0.9.3 This package was submited as part of PR pkg/43929 which adds the Koha Integrated Library System submitted by Edgar Fu ------------------------------------- This module is intended for table generation using PDF::API2
Revision 1.1 / (download) - annotate - [select for diffs], Wed May 18 00:41:10 2011 UTC (12 years, 4 months ago) by dmcmahill
Branch: MAIN
Initial revision