Commit graph

58 commits

Author SHA1 Message Date
wiz
3becf0ff5b py-reportlab: actually add patch-src_reportlab_platypus_tables.py to distinfo
bump version again.
2017-11-09 08:10:55 +00:00
joerg
207bcf84b9 Merge fix for quadratic performance of very long tables from upstream.
Bump revision.
2017-11-02 20:03:13 +00:00
darcy
3e3140446a Modify DEPENDS so that any version can be built/checked. As discussed on
the mailing list with joerg@.
2017-03-17 03:53:32 +00:00
richard
452bab9ca6 update to reportlab-3.3.0
Prefer py-Pillow over py-imaging (if not installed) permitting better
performance, successful test results and at the same time remove the
python-3 incompatibility.

CHANGES
=======

This is a summary of changes made to the reportlab source code for each release.
Please refer to subversion backlogs (using the release dates) for more details
or for releases which we have not provide a higher level changes list for.
E.g. to retrieve the changes made between release 3.1 and release 3.2, type::

  $ hg log -r adb3f0d

The contributors lists are in no order and apologies to those accidentally not
mentioned. If we missed you, please let us know!


RELEASE 3.3  17/02/2016
-----------------------
    * Canvas & Doctemplate now allow specification of the initial font Name, Size & Leading. Prevously you had to mess with rl_settings to accomplish this.
    * Canvas & Doctemplate now support specification of the crop/art/trim/bleed boxes.
    * Add option to auto generate missing TTF font names. Handy for CJKers with home produced fonts. Also attempt to prevent usage of multiple TTFs with same name.
    * Paragraph styles now have justifyBreaks to control justification of lines broken with <br/>.
    * Paragraph styles now have justifyLastLine=n to control justification of last lines with more than n words (0 means do not).
    * Added EAN-5 and ISBN barcode widgets (contribution by Edward Greve).
    * Bug fix of QrCodeWidget (prompted by https://bitbucket.org/fubu/).
    * Frames now have support for automatic flowables at the top of frame. story support via the class reportlab.platypus.flowables.SetTopFlowables.
    * Added support for Trapped and ModDate PDF info dictionary keys.
    * Bug fix for pie charts with no data (raised by  Michael Spector).
    * New barcodes BarcodeCode128Auto & BarcodeECC200DataMatrix (contributed by Kyle MacFarlane).
    * Improved LinePlot marker handling.
    * PyPy improvements inspired by Marius Gedminas.
    * Bug fix in reportlab.lib.utils.simpleSplit (reported by Chris Buergi <cb@enerweb.ch>).
    * Unwanted escaping in renderSVG fixed (reported by Ruby Yocum).
    * Bug fix in _rl_accel.c (remove excess state and fix refcount breakage reported by Mark De Wit <mark.dewit@iesve.com>).
    * Code128 barcode length optimization inspired by Klaas Feenstra.
    * Paragraph <sup>/<super> & <sub> tags now support rise & size attributes to allow special control over position & font size.
    * Splitting tables now remove unwanted styles in the first part of the split (reported by Lele Gaifax).
    * test changes inspired by https://bitbucket.org/stoneleaf
    * ReportLab now runs all tests under Python 2.7, 3.3, 3.4 & 3.5.


### Contributors:
    * Edward Greve
    * https://bitbucket.org/fubu/
    * Michael Spector
    * Kyle MacFarlane
    * Marius Gedminas
    * Chris Buergi
    * Ruby Yocum
    * Mark de Wit
    * Klaas Feenstra
    * Lele Gaifax
    * https://bitbucket.org/stoneleaf

RELEASE 3.2  01/06/2015
-----------------------

   * Added proportional underlining specific to font sizes, set via the `underlineProportion` attribute of ParagraphStyles.
   * TrueType fonts: added support for cmaps 10 & 13
   * DocTemplate class now supports a boolean `displayDocTitle` argument.
   * TableofContents now supports a formatter argument to allow formatting of the displayed page numbers (eg for appendices etc).
   * Table `repeatRows` can now be a tuple of row numbers to allow incomplete ranges of rows to be repeated.
   * Tables now do pass instance.`spaceBefore` & `spaceAfter` to their split children when split
   * Several strangenesses were fixed in the pdfbase.pdfform module; Multiple usage is now allowed.
   * Error message fixes
   * Various environment fixes for Google Application Environment
   * Resource fixes
   * PDFDoc can now set the `Lang` attribute
   * canvas.drawString and similar now allow the character spacing to be set
   * Index of accented stuff has been improved
   * RTL code was improved
   * fix Propertyset.clone
   * `flowables.py`: fix ImageAndFlowables so it avoids testing negative availableWidth

### Contributors:
   * Steven Jacobs
   * Philip Semanchuk
   * Marius Gedminas
   * masklinn
   * Kale Franz
   * Albertas Agejavas
   • Anders Hammarquist
   * jvanzuela @ bitbucket
   * Glen Lindermann
   * Greg Jones
   * James Bynd
   * fcoelho @ bitbucket


RELEASE 3.1  22/04/2014
-----------------------

If you are running ReportLab 3.0.x, the changes are minor.
   * support for emoji - characters outside the Unicode basic multilingual plane
   * improved pip-based installers will pull in all the needed dependencies; Pillow 2.4 appears to deal with all our issues.

### Contributors
   * Ivan Tchomgue
   * Waldemar Osuch
   * masayuku
   * alexandrel_sgi


RELEASE 3.0  14/02/2014
-----------------------

ReportLab 3.0 now supports Python 2.7, 3.3 and higher.

There has been a substantial internal rewrite to ensure consistent use of unicode strings for
  natural-language text, and of bytes for all file format internals.  The intent
  is to make as few API changes as possible so that there should be little or no
  impact on users and their applications.  Changes are too numerous but can be
  seen on Bitbucket.

### Python 3.x compatibility
  * Python 3.x compatibility.  A single line of code should run on 2.7 and 3.3
  * __init__.py restricts to 2.7 or >=3.3
  * __init__.py allow the import of on optional reportlab.local_rl_mods to allow monkey patching etc.
  * rl_config now imports rl_settings & optionally local_rl_settings
  * ReportLab C extensions now live inside reportlab; _rl_accel is no longer required; All _rl_accel imports now
	pass through reportlab.lib.rl_accel
  * xmllib is gone, alongside the paraparser stuff that caused issues in favour of HTMLParser.
  * some obsolete C extensions (sgmlop and pyHnj) are gone
  * Improved support for multi-threaded systems to the _rl_accel extension module.
  * Removed reportlab/lib/ para.py & pycanvas.py;  these would better belong in third party packages,
	which can make use of the monkeypatching feature above.


### New features
  * Add ability to output greyscale and 1-bit PIL images without conversion to RGB. (contributed by Matthew Duggan)
  * highlight annotation (contributed by Ben Echols)

### Other
  * numerous very minor fixes, visible through BitBucket.
2016-09-11 15:53:51 +00:00
wiz
ad0031c15e Remove python33: adapt all packages that refer to it. 2016-07-09 13:03:30 +00:00
adam
7f3b4730ad Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 2015-12-05 21:25:27 +00:00
joerg
90d0f835ae Explicitly extract font zip file with -L. The default behavior of
infozip changed and the system I last tested it on has the old behavior,
where NetBSD's unzip implements the new one already. Fixes PR 49748.
2015-03-15 23:05:25 +00:00
wiz
c1b44346cd Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
2014-05-09 07:36:53 +00:00
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
wiz
e16f56fdba Update to 2.7:
2.7:

This release, 2.7, will be the last major one to support Python
2.5, 2.6, and 2.7.  It contains a small number of fixes and additions
since our last release in September 2012.  You may think of it as
a 'long term stable' branch - if key bugs emerge we will issue
2.7.1, 2.7.2 releases and so on.

Charts / graphics

    Added SimpleTimeSeriesPlot
    added _computeMaxSpace
    added in lineStyle (for bars)
    improved SVG rendering
    Pie Chart now has an 'innerRadiusFraction' to allow doughnut-like
    appearance for 2d charts  (it has no effect with 3d charts).
    The separate 'doughnut' chart lacks many pie chart features
    and should only be used if you wanted multiple nested doughnuts.
    Bug fixes:
	piecharts.py: fix Pie3d __init__ to call its superclass
	linecharts.py: fix swatch creation
	fixed y axis in the simple time series plot

PDF

    Fixes to testshapes & pdfform resetting
    colors.py
    various minor fixes

Platypus

    Defined a small bullet rather than a big circle as the default
    for unordered lists
    fixed attribute spelling bug
    fixed CJK + endDots


#################################################################################
#################### RELEASE 2.6  27/09/2012                    #################
#################################################################################

This is a minor release focusing mainly on improved documentation.  There are a
number of minor enhancements, and a larger number of previous-undocumented
enhancements which we have documented better.


###General changes
   * Manuals have been reformatted with more pleasing code snippets and tables of
     contents, and reviewed and expanded

###Flowing documents (Platypus):
   * Added support for HTML-style list objects
   * Added flexible mechanism for drawing bullets
   * Allowed XPreformatted objects to use Asian line wrapping
   * Added an 'autoNextPageTemplate' attribute to PageTemplates.  For example you
     can now set up a 'chapter first page template' which will always be followed
     by a 'continuation template' on the next page break, saving the programmer from
     having to issue control flow commands in the story.
   * added a TopPadder flowable, which will 'wrap' another Flowable and move it
     to the bottom of the current page.
   * More helpful error messages when large tables cannot be rendered
   * Documentation for images within text (test_032_images)
   * Trailing dots for use on contents pages



###Charts and graphics:
   * Support for UPCA bar codes
   * We now have a semi-intelligent system for labelling pie charts with
     callout lines.  Thanks to James Martin-Collar, a maths student at Warwick
     University, who did this as his summer internship.
   * Axes - added startOffset and endOffset properties; allowed for axis
     background annotations.
   * Bar charts - allow more control of z Index (i.e. drawing order of axes and
     lines)
   * Pie charts - fixed bugs in 3d appearance
   * SVG output back end has seen some bugs fixed and now outputs resizeable SVG
2014-01-19 09:59:47 +00:00
obache
3ca7872394 Allow to depend on Pillow as well as py-imaging.
Bump PKGREVISION.
2013-12-06 11:56:36 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:05:17 +00:00
asau
6ebceaf75d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 13:45:34 +00:00
obache
92f199a02f fixes missing bump of the last py-reportlab update. 2012-02-04 04:46:34 +00:00
obache
6baa305568 * No need to buildlink with py-imaging, simple DEPENDS is sufficient.
* No need to buildlink with obsolated py-xml, add py-expat to DEPENDS instead.
* add test target for self-tests.
* distutils pkg, switch to use python/distutils.mk

Bump PKGREVISION.
2012-02-04 04:41:56 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
adam
93a8450441 Changes 2.5:
* Support for colour separated PDF output and other optimisations and
  features for high-quality printing, including enforcement of colour
  models for CMYK, RGB, and "spot colours"
* Long table optimisations are now turned on by default.  Previously,
  documents with very long tables spanning many pages could take a long
  time to create because we considered the whole table to work out row
  and column sizes.  A patch was submitted some time ago to fix this
  controlled by a flag in the rl_config file, but this was set 'off'
  for compatibility.  Users are often not aware of this and we haven't
  found any real-world cases where the new layout technique works badly,
  so we are turning this behaviour on.
* New support for QR barcodes.
2011-04-15 08:29:19 +00:00
joerg
f9a2d7524a Explicitly fetch the fonts and extract them instead of depending on
setup.py doing it at build time. Switch to the new distfile name.
2010-10-15 20:23:35 +00:00
joerg
38f85020c7 Reportlab 2.4:
- Various smaller bugfixes and improvements
2010-06-14 08:51:36 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
joerg
e1965cc838 Update to reportlab 2.3:
- Encryption support for PDF
- Support for clickable ToCs, new Flowable docAssert
- bugfixes

Take maintainership.
2009-10-19 11:17:16 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
25a80fb4ab Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
2009-03-05 18:51:26 +00:00
joerg
2abd8cc667 Uses @property syntax -> Python 2.4+ 2009-02-09 18:43:06 +00:00
joerg
c99b0e221b Update MASTER_SITES. 2009-01-29 09:37:54 +00:00
joerg
5138a5ddd3 Update to ReportLab 2.2. This is a major update with API breakage.
Major changes include full Unicode supoprt, better support for Asian
languages, support for JPEG CMYK images, links in Platypus, better
wrapping, barcode support, better support for legends of graphics and
many more.

Addtional changes in pkgsrc include the merge of py-reportlab-renderPM
package and use of external libart.
2009-01-28 14:42:28 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
joerg
cf2cd71d61 Explicitly include Python 2.1 as it is required by Zope 2.5. 2008-04-25 19:49:03 +00:00
drochner
c9f48a4ab8 update to 1.21.2
Noteworthy bug fixes:
-Fixes to TTF splitting
-Tables with spans improved splitting
-Fix runtime error affecting keepWithNext
2007-11-05 20:57:51 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
drochner
154e1f98c5 update to 1.20
changes:
-can run out of a Python 2.3 zip archive
-some fixes and feature additions
[pkgsrc] this distfile doesn't trigger the pax-as-tar bug, so remove
 the build dependency on GNU tar
2005-01-21 15:18:58 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
recht
6552620a80 Don't add a full depends on GNU tar -- use a BUILD_DEPENDS.
suggested by reed@
2004-08-29 15:17:47 +00:00
recht
5938ebc3c9 Use GNU tar here since he reportlab module doesn't extract with NetBSD's
pax.

patch provided by D'Arcy J.M. Cain in PR 26794
2004-08-29 15:15:37 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
drochner
6e108101f5 update to 1.19
changes:
Fixes from Max Neunh&ouml;ffer (pyRXP) and peter Borocz (pdfmetrics).<br/>
ReportLab graphics now has some 3D charts.<br/>
Improved support for True Type Fonts in renderPM.<br/>
Added Henning von Bargen's LongTables optimisation.<br/>
Added Marc Stober's underline fixes.<br/>
Restored/improved platypus layout error detection.<br/>
New platypus FlexFigure flowable.<br/>
ReportLab is mostly jython compatible without Python 2.3 problems. <br/>
Pythonpoint improvements.<br/>
Many bugfixes.
2004-05-05 09:06:35 +00:00
snj
7fbcd781bf Convert to buildlink3. 2004-05-05 03:54:59 +00:00
recht
e2aec8ebd8 bump PKGREVISIONS after name change of the pyxml dependency.
spotted by wiz@
2004-01-23 16:48:54 +00:00
recht
45a80ef602 catch up with pyxml -> py-xml name change 2004-01-23 15:31:58 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
drochner
19a5241bdf Uhm - got caught in my own trap... For Python extensions which depend
on other Python extensions to propagate the Python version properly,
it is necessary to include "python/extension.mk" before the extensions'
"buildlink2.mk" files.
2003-07-28 19:08:53 +00:00
drochner
4c3d3bb803 update to 1.18
Main changes since ReportLab 1.16:
- Pythonpoint improvements contributed by Turgut Uyar & Tim Roberts.
- Para.py fix from doug@pennatus.com.
- Pdfgen image fixes.
- Spiderchart from Andy Robinson.
- Better distutils support with Dirk Datzert's assistance.
- Improvements for Asian fonts in paragraphs.
- Added _rl_accel._Ascii85Decode.
- Graphics and other bug fixes.
- Bug & leak fixes.
- improvements to pyRXP which can now be used in 16bit mode.
- Tables now can have row and column spanning.
- renderPM can now do PICT images.
- More charts and improvements to existing graphics classes.
2003-07-26 15:00:58 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
grant
afdebcf9a4 make ${PAX} usage consistent:
- group 'zrw' and 'p' args, -s last
- use the && operator consistently
- strip unneeded parens
- some whitespace cleanup
2003-04-10 01:28:03 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00