pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-PDF-Table Update 0.9.3 to 0.9.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/933bdc3c5cd9
branches:  trunk
changeset: 650752:933bdc3c5cd9
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Apr 26 08:48:16 2015 +0000

description:
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.

diffstat:

 textproc/p5-PDF-Table/Makefile |  7 ++++---
 textproc/p5-PDF-Table/distinfo |  8 ++++----
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs (36 lines):

diff -r 2d0cf34283c5 -r 933bdc3c5cd9 textproc/p5-PDF-Table/Makefile
--- a/textproc/p5-PDF-Table/Makefile    Sun Apr 26 08:39:20 2015 +0000
+++ b/textproc/p5-PDF-Table/Makefile    Sun Apr 26 08:48:16 2015 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2014/05/29 23:37:38 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2015/04/26 08:48:16 mef Exp $
 
-DISTNAME=      PDF-Table-0.9.3
+DISTNAME=      PDF-Table-0.9.7
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   4
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=PDF/}
 
@@ -13,6 +12,8 @@
 
 DEPENDS+=      p5-PDF-API2>=2.019:../../textproc/p5-PDF-API2
 
+WRKSRC=                ${WRKDIR}/PDF-Table-Version_${PKGVERSION_NOREV}
+
 PERL5_PACKLIST=        auto/PDF/Table/.packlist
 
 .include "../../lang/perl5/module.mk"
diff -r 2d0cf34283c5 -r 933bdc3c5cd9 textproc/p5-PDF-Table/distinfo
--- a/textproc/p5-PDF-Table/distinfo    Sun Apr 26 08:39:20 2015 +0000
+++ b/textproc/p5-PDF-Table/distinfo    Sun Apr 26 08:48:16 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/05/18 00:41:10 dmcmahill Exp $
+$NetBSD: distinfo,v 1.2 2015/04/26 08:48:16 mef Exp $
 
-SHA1 (PDF-Table-0.9.3.tar.gz) = 21d5115cffb33e0039be601ece4db45d0f3c924d
-RMD160 (PDF-Table-0.9.3.tar.gz) = 3c3cc86674b09141ab8087e04a00a931b418be1d
-Size (PDF-Table-0.9.3.tar.gz) = 20443 bytes
+SHA1 (PDF-Table-0.9.7.tar.gz) = ec1ea1316386e4894e2863cb01eab4154e867a04
+RMD160 (PDF-Table-0.9.7.tar.gz) = 35ba9068b2ce3a2c9f4727e35fe7da099f5ae165
+Size (PDF-Table-0.9.7.tar.gz) = 28566 bytes



Home | Main Index | Thread Index | Old Index