Update 0.9.3 to 0.9.7 --------------------- 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.diff -r1.7 -r1.8 pkgsrc/textproc/p5-PDF-Table/Makefile
(mef)
@@ -1,19 +1,20 @@ | @@ -1,19 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2014/05/29 23:37:38 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2015/04/26 08:48:16 mef Exp $ | |
2 | 2 | |||
3 | DISTNAME= PDF-Table-0.9.3 | 3 | DISTNAME= PDF-Table-0.9.7 | |
4 | PKGNAME= p5-${DISTNAME} | 4 | PKGNAME= p5-${DISTNAME} | |
5 | PKGREVISION= 4 | |||
6 | CATEGORIES= textproc perl5 | 5 | CATEGORIES= textproc perl5 | |
7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PDF/} | 6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PDF/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://search.cpan.org/dist/PDF-Table/ | 9 | HOMEPAGE= http://search.cpan.org/dist/PDF-Table/ | |
11 | COMMENT= Utility class for building table layouts in a Perl5 PDF::API2 object | 10 | COMMENT= Utility class for building table layouts in a Perl5 PDF::API2 object | |
12 | LICENSE= ${PERL5_LICENSE} | 11 | LICENSE= ${PERL5_LICENSE} | |
13 | 12 | |||
14 | DEPENDS+= p5-PDF-API2>=2.019:../../textproc/p5-PDF-API2 | 13 | DEPENDS+= p5-PDF-API2>=2.019:../../textproc/p5-PDF-API2 | |
15 | 14 | |||
15 | WRKSRC= ${WRKDIR}/PDF-Table-Version_${PKGVERSION_NOREV} | |||
16 | ||||
16 | PERL5_PACKLIST= auto/PDF/Table/.packlist | 17 | PERL5_PACKLIST= auto/PDF/Table/.packlist | |
17 | 18 | |||
18 | .include "../../lang/perl5/module.mk" | 19 | .include "../../lang/perl5/module.mk" | |
19 | .include "../../mk/bsd.pkg.mk" | 20 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2011/05/18 00:41:10 dmcmahill Exp $ | 1 | $NetBSD: distinfo,v 1.2 2015/04/26 08:48:16 mef Exp $ | |
2 | 2 | |||
3 | SHA1 (PDF-Table-0.9.3.tar.gz) = 21d5115cffb33e0039be601ece4db45d0f3c924d | 3 | SHA1 (PDF-Table-0.9.7.tar.gz) = ec1ea1316386e4894e2863cb01eab4154e867a04 | |
4 | RMD160 (PDF-Table-0.9.3.tar.gz) = 3c3cc86674b09141ab8087e04a00a931b418be1d | 4 | RMD160 (PDF-Table-0.9.7.tar.gz) = 35ba9068b2ce3a2c9f4727e35fe7da099f5ae165 | |
5 | Size (PDF-Table-0.9.3.tar.gz) = 20443 bytes | 5 | Size (PDF-Table-0.9.7.tar.gz) = 28566 bytes |