Commit graph

18 commits

Author SHA1 Message Date
wiz
b90f819923 Update to 0.13:
0.13 (2013/12/20):
  - Requires at least Python 3.2
  - The gallery has been moved to https://sourceforge.net/p/pyx/gallery/, which
    is a wiki. Contributions are welcome.
  - filelocator module:
    - cygwin LaTeX with windows python patch (thanks to Sybren A. Stüvel)
  - graph styles:
    - fix numerical instability of line clippings
    - remove errorbar range checks, as they fail on a reverse axis, which is
      correct (reported by Néstor Espinoza)
  - path module:
    - fix internal name clash when generating a normpath from an empty path
      (reported by Brendon Higgins)
  - normpath module:
    - several stability and precision improvements and bugfixes
    - cusp removal at normpath construction (and getting rid of invalid
      results for curvature, rotation, tangent, and trafo methods)
    - remove curveradius methods as they are invalid for straigt paths
  - deco module:
    - apply text trafos to each character in curvedtext (reported by Hans L)
    - properly apply all textattrs in curvedtext (for example colors or scalings)
  - canvas module:
    - layer method takes layer names above or below (instead of an instance),
      also reorders layer accordingly when layer is already existing
    - remove the before and after arguments of insert
    - handle trafo and clip separately in constructor and write methods
    - allow for one clipping instance only
    - optimize graphics state stack usage
  - dvi/dvifile module:
    - change special handling for transformations and colors to use subcanvases
    - apply transformations to markers
  - trafos and styles are no longer canvasitems
  - style module:
    - fillrules are now fillstyles and handled within the PS/PDF context
  - text module:
    - new texenc setting
    - major code reorganization and documentation revision (now using autodoc)
  - font/afmfile module:
    - parse more AFM files, also some with common inconsistencies (thanks to
      Markus Schwienbacher for reporting these issues)
  - color module:
    - functiongradient has been split into functiongradient_rgb, etc. and
      the function parameters are now passed directly
    - lineargradient has been removed for factory functions lineargradient_rgb, etc.
      that provide linear gradients between colors of a particular color model
  - bitmap module:
    - fix jpegimage for progressive jpeg files (thanks to Michael Schindler)
  - pyxrc:
    - use APPDATA environment variable to locate the pyxrc on windows
    - tex, latex, kpsewhich, and locate executables are now customizable in the pyxrc
  - on the package level:
    - add pyxinfo to enable output of some useful information
  - manual:
    - PyX theme and various sphinx tweaks

0.12.1 (2012/10/26):
  - graph styles:
    - fix drawing and clipping of gradient style

0.12 (2012/10/17):
  - canvas module:
    - insert method now returns canvas wrapping item if attrs are given
    - insert method allows specification of position where item is inserted
      by before and after arguments
    - new layer method allows creation of separated drawing layers for
      grouping of drawing operations
    - writeXXXfile methods now use "page_" and "write_" prefixes for passing
      the keyword arguments to the page constructor and write method
    - pipeGS now returns a file handle instead of writing to a file or to stdout
    - the new method writeGSfile restores the previous pipeGS functionality
    - support rendering as png for use in IPython notebooks (as suggested by
      Nikolas Tezak)
  - document module:
    - writeXXXfile methods now support writing to stdout when filename is set
      to "-"
  - type 1 font modules:
    - allow font slanting for T1builtinfont instances
    - improve stripped font compatibility
    - remove UniqueID lookup from embedded fonts in PostScript output (fixes
      missing glyph issue with dvips and certain fonts)
    - allow Type1 font usage without TeX and without AFM font metric
    - add support for pfm font matrices
  - epsfile module:
    - fix race condition while generating bitmap for PDF inclusion
    - fix file opening for bbox reading when using filelocator (reported by
      Michael J Gruber)
  - filelocator module:
    - fix text mode line ending issue for MS Windows
  - text module:
    - fix subprocess call on MS Windows (closefds not functional not also
      not required at all)
    - fix pyxgraphics functionality because at least some versions of graphics
      and friends seem to expect the file extension .def for the driver files
      (thanks to Michael J Gruber)
  - deco module:
    - decorator to put text along a path; based on a patch by Michael J Gruber
  - dvifile module:
    - fix for MS Windows: open virtual font files in binary mode
  - graph modules:
    - graphs:
      - uses new canvas layers to stack graph components (fixing bug #1518414,
        reported by Dominic Ford)
      - add a flipped option to graphxy to exchange x and y coordinates
      - add a 1d graph "graphx" (use case: convert a value to a color)
      - add hiddenaxes layer to the 3d graph
      - add linkedaxes for the xy-plane in 3d like in 2d (works now properly due
        to the hiddenaxes feature)
    - graph styles:
      - add density style
      - add gradient style to convert a value to a color using a 1d graph
      - add a usenames dictionary to the pos style (like rangepos had it already)
    - graph data:
      - add a join data provide which adds concatenates several data sources
    - axis module:
      - divisor was not properly taken into account in tick handling (axis
        range extension and range rating)
  - added the metapost module:
    - create smooth paths from a series of points
  - bitmap module:
    - new fundamental constructor based on arbitrary affine transformations
    - add ASCIIHexDecode end marker
  - color module:
    - add rgbgradient and cmykgradient to force color space
  - mesh module:
    - add ASCIIHexDecode end marker
  - sourceforge.net:
    - upgrade PyX project page to the Allura platform


0.11.1 (2011/05/20):
  - canvas:
    - fix pipeGS (adding support for writing using pycompat.popen)
  - deco module:
    - arrow decorator: proper sign of constriction length for positioning
      reversed arrows
  - dvi/texfont:
    - fix exception type
    - increase designsize deviation to 4 (needs some further investigation)
  - contrib files:
    - fixes due to the dvi and font restructuring
  - setup.py:
    - fix build process for extension modules
    - fix download url to allow for easy_install (hopefully)
  - manual:
    - converted to sphinx


0.11 (2011/05/15):
  - font and dvi modules:
    - major reorganization
    - TeX mapping files are a property of the writer now
      By that the pdfwriter now uses pdftex.map instead of psfonts.map
      (It's also possible to pass a fontmap to a texrunners text method to use
      different mappings within a single output file)
    - support for font matrices (afm) for Type1 fonts
      (using fonts without a metrics is still supported, but properly issues
      a warning now)
    - interface for basic TeX-less text output
    - new PS and PDF writer options: strip_fonts, text_as_path, mesh_as_bitmap,
      mesh_as_bitmap_resolution
    - fix for commented out UniqueID
    - fix rounding of font sizes
    - fix scaling of VF position increments
  - new filelocator module
  - graph modules:
    - bar style on graphxyz (single datasets only)
    - graphxyz:
      - fix position of z4 axis
      - set correct errorname for z axis (thanks to Axel Freyn)
      - fix wrong y value usage instead of z value in pos methods
    - fix unused color range settings in surface style (thanks to Michael J Gruber)
    - fallbackrange for axes with vanishing range
    - dokeyitem method (to be called with a plotitem) to alter the key order
    - doplot() was renamed to doplotitem(), dodata() was renamed to doplot()
      to have similar naming conventions like for the graph key
    - axis module: do not divide by None for data.min and/or data.max being None (see patch #2833369)
    - axis painter:
      - properly rotate axis titles when ticks are not othorgonal
        to the axis (reported by Christian Delfosse)
      - correct namedirection in bar axis painter (reported by rhunger, bug #2028032)
    - graph.style.arrow: decorator is an parameter of the constructor now
      (thanks to Axel Freyn)
    - remove ticks with unset ticklevel and labellevel to prevent rating failures
      (thanks to Brendon Higgins)
  - canvas and document modules:
    - auto-guess output filename from the script filename
    - add ciecolor flag and input type to the pipeGS method of canvas
  - pyxrc:
    - new config options for psfontmaps and pdffontmaps
    - new config option for formatting of Python warnings
    - new config section for new filelocator module
  - text module:
    - fix two bugs in the read pipe of the texrunner (thanks to
      Laurence Tratt and Eric Faurot)
    - fix "<" token handling in mapping file parser (thanks to Matthew West)
    - fix start message parse error in MiKTeX (thanks to Wojciech Jaskowski)
    - fix rigid aux file checking (thanks to Clayton E. Myers)
    - use subprocess module if available
    - proper error messages when TeX is stopped due to unrecoverable error
  - style module:
    - implement style.fillrule
  - deco module:
    - added an explicit hatch pattern as an alternative for real postscript patterns
    - arrow decorator: take into account constriction length when arrow pos < 1
  - bitmap module:
    - add support for transparent bitmaps (in postscript stencil masking only)
  - path and normpath modules:
    - remove incorrect zero length line in PDF output for each first moveto
      path element (thanks to Michael J Gruber)
    - raise correct normpath exception (thanks to Axel Freyn)
  - epsfile module:
    - an ugly way to import EPS in PDF using a bitmap (requires PIL)


0.10 (2007/10/03):
  - graph modules:
    - graph module:
      - graphxyz for 3d graphs with parallel and central projection
      - doplot method (to be called with a plotitem) to alter the plotitem order etc.
    - graph styles:
      - new surface style for 3d graphs (colored surfaces are functional
        (and useful!) for 2d graphs as well)
      - new grid style for 3d graphs
      - new impulses style
      - optional textdx/textdy columns to the text style added
      - arrowpos parameter to the arrow style added
      - bugfix: fromvalue axis range adjustment in histogram style
      - bugfix: axis range adjustment in range style
    - axis module:
      - painter: don't insert axis title twice (thanks to Tim Gray for reporting this problem)
      - parter: extend the logarithmic parter to calculate automatic partitions for huge ranges
        (TODO: documentation of the new autoexponent parameter) (suggested by Dominic Ford)
      - fix: range rating was not taken into account due in the 0.9 release
    - data module:
      - list class was renamed to points; deprecation warning added
        for instance creation, but inheritance from list failes
      - new values class
  - new mesh module:
    - internal helper module for efficient handling of triangular colored meshs
  - color module:
    - renamed: palette->gradient, functionpalette->functiongradient, linearpalette->lineargradient
    - new class palette representing a discrete ordered list of colors
    - support transparency for filling/stroking in pdf separately
    - transparency support for postscript as available by means of a proprietary
      ghostscript extension (for ps2pdf)
    - renamed method: tostring8bit -> to8bitstring (bug #2932888)
  - attr module:
    - add multichangeattr to perform a select on different changeable attributes
      depending on the selects total number
  - font modules:
    - t1font:
      - add missing glyph traversal in t1seacs updatepath
  - normpath module:
    - support zero-length normsubpaths
  - canvas module:
    - don't change order of attrs passed to canvas constructor in place
  - added __truediv__ methods according to PEP 238
2014-01-20 12:37:04 +00:00
asau
1f96787c11 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-25 06:55:37 +00:00
cheusov
4b97be0632 Bump revision for packages with changed CONFLICTS (PYTHON_SELF_CONFLICT) 2012-10-04 00:21:58 +00:00
cheusov
11c7685b77 CONFLICTS between python modules 2012-10-03 23:40:35 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
obache
9fffba1a44 no compiler is required. 2012-02-06 11:06:42 +00:00
obache
1b39df4898 * LICENSE=gnu-gpl-v2 # or later
* sort Makefile paragraphs with usual order.
* distutils pkg, switch to use distutils.mk, then register egg-info.

Bump PKGREVISION.
2012-02-06 11:04:46 +00:00
minskim
7d11c9babb py-X needs basic TeX and LaTeX commands only; it does not require the
complete TeX system.
2011-01-23 03:00:04 +00:00
adrianp
2ae6078ec7 Give up MAINTAINER 2009-07-17 18:00:13 +00:00
joerg
73ae0afd90 Remove @dirrm entries from PLISTs 2009-06-14 18:17:11 +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
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
joerg
a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00
joerg
34aa985f6a Fix include order to get working Python version selection. 2007-11-08 23:47:03 +00:00
joerg
3b78b1971f Needs Python 2.3+. 2007-06-12 13:48:06 +00:00
adrianp
6ef870662f Stop py-X from installing a configuration file under /etc
Spotted by joerg@'s bulk builds
PKGREVISION++
2007-05-19 01:14:07 +00:00
adrianp
0fab269c3e Fix what turned out to be a incomplete PLIST
Ride the recent import
2007-01-03 15:16:45 +00:00
adrianp
f587b81e66 PyX is a Python package for the creation of PostScript and PDF files. It
combines an abstraction of the PostScript drawing model with a TeX/LaTeX
interface. Complex tasks like 2d and 3d plots in publication-ready quality
are built out of these primitives.

Features
* PostScript and PDF output for device independent, freely scalable figures
* seamless TeX/LaTeX integration
* full access to PostScript features like paths, linestyles, fill patterns,
  transformations, clipping, bitmap inclusion, etc.
* advanced geometric operations on paths like intersections, transformations,
  splitting, smoothing, etc.
* sophisticated graph generation: modular design, pluggable axes, axes
  partitioning based on rational number arithmetics, flexible graph styles, etc.
2007-01-03 14:51:07 +00:00