summaryrefslogtreecommitdiff
path: root/textproc/p5-PDF-Table
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28*: recursive bump for perl 5.36wiz1-2/+2
2021-10-26textproc: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
2021-10-07textproc: Remove SHA1 hashes for distfilesnia1-2/+1
2021-05-24*: recursive bump for perl 5.34wiz1-1/+2
2021-03-27Update to 1.002wen2-7/+7
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.
2020-11-15Update to 1.001wen2-7/+7
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
2020-09-07p5-PDF-Table: update to 0.12.wiz2-8/+7
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
2020-08-31*: bump PKGREVISION for perl-5.32.wiz1-1/+2
2019-09-18Update to 0.11.0wen2-8/+7
Upstream changes: Version 0.11.0 Colspan feature by domm
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz1-2/+2
2019-06-30Update packages using a search.cpan.org HOMEPAGE to metacpan.org.nia1-2/+2
The former now redirects to the latter. This covers the most simple cases where http://search.cpan.org/dist/name can be changed to https://metacpan.org/release/name. Reviewed by hand to hopefully make sure no unwanted changes sneak in.
2018-08-22Recursive bump for perl5-5.28.0wiz1-1/+2
2018-04-23Update to 0.10.1wen2-7/+7
No upstream changelog found.
2018-03-04p5-PDF-Table: update to 0.10.0.wiz2-7/+7
Version 0.10.0 Introduces underlined text in cells
2017-11-24p5-PDF-Table: update to 0.9.14.wiz2-7/+7
Changes not documented.
2017-09-18p5-PDF-Table: update to 0.9.13.wiz2-8/+7
Version 0.9.13 Fixed issue #33 - Desislav Kamenov
2017-06-05Recursive revbump from lang/perl5 5.26.0ryoon1-2/+2
2016-06-08Bump PKGREVISION for perl-5.24.wiz1-1/+2
2016-06-05Update to 0.9.12wen2-7/+7
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)
2016-02-04Update to 0.9.10mef2-7/+7
---------------- 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
2015-11-04Add SHA512 digests for distfiles for textproc categoryagc1-1/+2
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.
2015-10-04Update to 0.9.9wen2-9/+6
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()
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-1/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-04-26Update 0.9.3 to 0.9.7mef2-7/+8
--------------------- Version 0.9.7 - for a detailed log and changed files visit GitHub ---------------------------- - Reviewed and updated README - Huge POD rewrite - Adding a small script that generates HTML from POD and applies CSS from CPAN. Useful for reviewing the POD before release. - Added a test for POD validation - Added an example file that can test GitHub Issues #8, #9, #10 - GitHub [Issue #9] [Issue #10] Fixed cell_props applied to a different row when 'Repeat Headers' is enabled - Introduced column_numbers variable to avoid using $record in a broader scope. Further improvement needed. - Header row height is copied to each new page when 'Repeat Headers' is enabled - Fixed messing up row height when repeat headers is enabled due to access by array index vs shift/unshift - Fixed row height for rows with text blocks - Headers_props variable has been wrongly initialised with 0 causing a copy of the first data row even when header props are not passed as parameter - Added initialisation of header props justify param so that column and cell properties are not affecting the default value. - Fixed an issue with messing up row properties when repeating the header row on each page. - Examples have been formatted. - One new example added (header.pl) for demonstrating how header row can be added to multiple pages. - No need to export variables. Added one more test. - Removed pad_w and pad_h local variable as useless - Fixed typo causing a bug with row_height param. Added example file for row_height. To be used for writing a test. - Added POD for row_height param - Row counting should not be skipped if it is first row. - Added one more test(duplicates existing) but only to have base. - Extracted PDF::API2 Mock as a separate package. Created New test with the very basics. Create a new package that will hold predefined data for tests so it can be reused. - Fixed a variable that masks earlier declaration. - Fixed Issue #4 - Row height is calculated correctly depending on font size. Some variables are renamed to more meaningful. Row counting is done in a new way with single counter that is used for column and cell props retrieval. - Row height is now calculated for each row based on maximum font size from all cells. Refactored some variable names and unified row counting during column size calculation phase. - Fixed doc details in POD - Cosmetic changes - Decreased indent and reduced if body. For easier review, diff with whitespace changes disabled. - Added github url in readme Version 0.9.6 ---------------------------- - Fixed typo in POD. Closes #71816 Thanks to Gregor Herrmann - Small code refactoring. - Added patch for infinite loop fix. Closes #77376 Thanks to John Bazik - Added patch for header justification. Closes #77566 Thanks to James Lance - Added horizontal_borders, vertical_borders params to table(). Closes #79883 Thanks to Eric Johnson Version 0.9.5 - 18.Oct.2011 ---------------------------- - MANIFEST was missing sample pdf file. - Accidently left alternative code for infinite loop fix commented out. Fixed. Added a test for that. Version 0.9.4 - 17.Oct.2011 ---------------------------- - Don't bump row count when row spans a page. Closes #67401. - Fixed bug: don't call text_block if record width is exactly cell width. - Fixed bug in text_block: bottom is (top - height), not (baseline - height). - Example script typo fixed. Closes #55133. - Don't set up strokes when border is 0. Apparently breaks Acrobat. Closes #40705 and #55137. - Changed print warnings to carp. Closes #38007. - Added center justification for columns and cells. Tests, too. Closes #37924. - Fixed infinite loop caused by uninitialized $2. Thanks to Petri Kaurinkoski. Closes #34017. - Fixed perl warning if $col_prop->{min_w} is undef. Thanks to Matthias Pitzl (NEPOS). Closes #30720. - Fixed default header background color bug, closes #28542. - Added mock PDF::API2 packages to test script and added tests. - Improve column width calculations so wider content gets wider columns. Added column width test. Thanks to Barrie Slaymaker (RBS). Closes #26158.
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2013-05-31Bump all packages for perl-5.18, thatwiz1-2/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2012-10-25Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-2/+2
are called p5-*. I hope that's all of them.
2011-08-14Revision bump after updating perl5 to 5.14.1.obache1-1/+2
2011-05-19Change MASTER_SITES subdir to usual one.obache1-2/+2
2011-05-18Initial import of textproc/p5-PDF-Table version 0.9.3dmcmahill3-0/+26
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