Sun Apr 26 08:48:16 2015 UTC ()
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.


(mef)
diff -r1.7 -r1.8 pkgsrc/textproc/p5-PDF-Table/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/textproc/p5-PDF-Table/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/textproc/p5-PDF-Table/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/p5-PDF-Table/Makefile 2014/05/29 23:37:38 1.7
+++ pkgsrc/textproc/p5-PDF-Table/Makefile 2015/04/26 08:48:16 1.8
@@ -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
3DISTNAME= PDF-Table-0.9.3 3DISTNAME= PDF-Table-0.9.7
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5PKGREVISION= 4 
6CATEGORIES= textproc perl5 5CATEGORIES= textproc perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PDF/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PDF/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://search.cpan.org/dist/PDF-Table/ 9HOMEPAGE= http://search.cpan.org/dist/PDF-Table/
11COMMENT= Utility class for building table layouts in a Perl5 PDF::API2 object 10COMMENT= Utility class for building table layouts in a Perl5 PDF::API2 object
12LICENSE= ${PERL5_LICENSE} 11LICENSE= ${PERL5_LICENSE}
13 12
14DEPENDS+= p5-PDF-API2>=2.019:../../textproc/p5-PDF-API2 13DEPENDS+= p5-PDF-API2>=2.019:../../textproc/p5-PDF-API2
15 14
 15WRKSRC= ${WRKDIR}/PDF-Table-Version_${PKGVERSION_NOREV}
 16
16PERL5_PACKLIST= auto/PDF/Table/.packlist 17PERL5_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"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/textproc/p5-PDF-Table/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/p5-PDF-Table/distinfo 2011/05/18 00:41:10 1.1.1.1
+++ pkgsrc/textproc/p5-PDF-Table/distinfo 2015/04/26 08:48:16 1.2
@@ -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
3SHA1 (PDF-Table-0.9.3.tar.gz) = 21d5115cffb33e0039be601ece4db45d0f3c924d 3SHA1 (PDF-Table-0.9.7.tar.gz) = ec1ea1316386e4894e2863cb01eab4154e867a04
4RMD160 (PDF-Table-0.9.3.tar.gz) = 3c3cc86674b09141ab8087e04a00a931b418be1d 4RMD160 (PDF-Table-0.9.7.tar.gz) = 35ba9068b2ce3a2c9f4727e35fe7da099f5ae165
5Size (PDF-Table-0.9.3.tar.gz) = 20443 bytes 5Size (PDF-Table-0.9.7.tar.gz) = 28566 bytes