fix the intersection bug and add some linear algebra functions to helper.py
[PyX/mjg.git] / CHANGES
blobd8f7166b4bd77dc3eca297dcbdb59bcbd0305820
1 PyX
3 TODO:
4   - normpath module:
5   - style module:
6     - make dash length available
7   - text module:
8     - SlantFont & Co support
9     - keep an eye on PEP 324 (popen 5): it could make the texrunner much easier
10   - graph.graph module
11     - common bboxes for different graphs
12     - 3d graphs, circular graphs
13     - axis painter labelattrs=None + automatic axis partitioning leads to no valid partitioning
14     - when all titles are None, a graph key currently raises an exception
15     - translatecanvas should be the default in graph.style.symbol
16   - graph.style and graph.data modules
17     - fix docu of gridattrs functionality of axis painters
18       (how can one, e.g. draw a grid at the ticks and not at the subticks)
19   - graph.data module:
20     - use csv module (new in 2.3)
21     - Check for "inf" and "nan" in datafiles.
22       (When plotted, the graph does not complain, but the output will be broken;
23       this depends on the plattform and is not only an issue within the graph system)
24   - graph.style module:
25     - add styles using curves instead of lines
26     - histogram doesn't stroke lines to the baseline for steps=0 when two subsequent values are equal
27   - canvas module:
28     - contructor should only take a texrunner keyword argument
29     - set method???
30     - SVG support
31     - stroking of patterns does not work in PDF
32     - patterns call the outputPS method in registerPS and have no writer at that 
33       time -> rewrite this code
34   - style and color module:
35     - support modification of existing styles via __call__
36   - bbox module:
37     - height -> getheight, ...
38   - dvifile module:
39     - support single-character mode
40   - color module:
41     - what should we do for palette when only one entry
42   - deformer module:
43     - move helper path routines to some more generic place for paths?
44   - open discussion:
45     - clearly distingish between readers and writers. dvifile, epsfile, etc. might
46       be renamed to dvireader, epsreader ...
47     - support gsave and grestore in some way to make context handling easier?
49   Documentation:
50     - path module:
51       - describe + vs <<
52       - more details in path constructor: allowed pathels, first pathel...
53       - set method
54     - pattern module:
55       - check and update
56     - graphics section:
57       Changeable attributes should be explained at a central place.
58     - box module:
59       - linealign and circlealign
60       - need to be redone anyway
61     - graph module:
62       styles: document what data name the styles accept (require). Try also to be more
63       userfriendly and not to describe immediately the internals of the implementation:
64       (see e.g. class.style.symbol)
65     - include the deformer docu somewhere in path
67   FAQ:
68     - describe creation and modification (inplace and ``modify by new'') of
69       graph data
72 TODO for 0.9:
73   - text module:
74     - add encoding; check whether encoding=ascii works well for the common existing cases
77 0.9 (2005/??/??):
78   - most important changes (to be included in the release notes):
79     - mathtree removal (warning about integer division)
80     - barpos style does not build tuples for nestedbar axes automatically
81   - font modules:
82     - new framework for font handling
83     - own implementation of type1 font stripping (old pdftex code fragments removed)
84     - complete type1 font command representation and glyph path extraction from font programs
85     - t1code extension module (C version of de-/encoding routines used in Type 1 font files)
86     - AFM file parser
87   - graph modules:
88     - data module:
89       - mathtree removal: more flexibility due to true python expressions
90     - style module:
91       - automatic subaxis tuple creation removed in barpos (create tuples
92         in expressions now; subnames argument removed since it became pointless;
93         adujstaxis became independend from selectstyle for all styles now)
94       - remove multiple painting of frompath in histogram and barpos styles
95     - graph, axis and style module:
96       - support for mutual linking of axes between graphs
97         (TODO: documentation, basically the setlinkedaxis method)
98       - new domethods dependency handling
99       - separate axis range calculation from dolayout
100     - axis.parter module:
101       - linear and logarthmic partitioners always need lists now
102         (as it was documented all the time; renamed tickdist/labeldist
103         to tickdists/labeldists; renamed tickpos/labelpos to
104         tickpreexps/labelpreexps)
105     - axis module:
106       - patch to tickpos and vtickpos (reported by Wojciech Smigaj, cf. patch #1286112)
107       - anchoredpathaxis added (suggested by Wojciech Smigaj)
108     - painter module:
109       - patch to allow for tickattrs=None (reported by Wojciech Smigaj, cf. patch #1286116)
110   - color module:
111     - transparency support (PDF only) (TODO: documentation)
112     - conversion between colorspaces
113   - text module:
114     - improve escapestring to handle all ascii characters
115     - correct vshift when text size is modified by a text.size instance
116     - recover from exceptions (reported by Alan Isaac)
117     - handle missing italic angle information in tfm for pdf output (reported by Brett Calcott)
118     - allow for .def and .fd files in texmessage.loaddef (new name for
119       texmessage.loadfd, which was restricted to .fd files)
120   - path module:
121     - correct closepath (do not invalidate currentpoint but set it to the
122       beginning of the current subpath); structural rework of pathitems
123     - calculate real bboxes for Bezier curves
124     - fix intersection due to non-linear parametrization of bezier curves
125     - add rotate methods to path, normpath, normsubpath, and normsubpathitems
126     - add flushskippedline to normsubpath
127     - add arclentoparam to normsubpath and normsubpathitems
128   - normpath module:
129     - contains normpath, normsubpath and normpathparam which have originally
130       been in the path module
131     - return "invalid" for certain path operations when the curve "speed" is
132       below a certain threshold
133   - deformer module:
134     - rewritten smoother to make use of the subnormpath facilities
135     - rewritten parallel for arbitrary paths
136     - TODO: missing numeric fallback in helper
137   - deco module:
138     - add basic text decorator (TODO: documentation)
139     - allow arrows at arbitrary positions along the path (TODO: check documentation)
140   - connector module:
141     - boxdists parameter need to be a list/tuple of two items now
142   - trafo module:
143     - renamed _apply to apply_pt
144     - introduce _epsilon for checking the singularity of a trafo
145   - epsfile module:
146     - use rectclip instead of clip to remove the clipping path from the
147       PostScript stack, which otherwise might create strange effects for
148       certain PostScript files (reported by Gert Ingold)
149   - helper module:
150     - remove nodefault marker in favour of separate _marker classes
151     - add some linear algebra functions
152   - dvifile module:
153     - silently ignore TrueType fonts in font mapping files (reported by Gabriel Vasseur)
156 0.8.1 (2005/08/13):
157   - deco module:
158     - fix bug in postscript deco code for stroking only attributes
159   - path module:
160     - fix multicurveto._normalized
161     - fix path.paramtoarclen and path.paramtoarclen_pt 
162     - remove unused method-local function
163     - fix linestyle rellength in PostScript
164     - correction to the rounding problems in circles (reported by Uwe Fabricius)
165   - epsfile module:
166     - fix a typo
167   - pattern module:
168     - issue a warning when not using a stroke color for patterns
169   - text module:
170     - postpone PDFfontdescriptor information, since it raises an error on certain
171       fonts even when PostScript output was requested (reported by Gert Ingold)
172     - remove spurious spaces when checking for empty texmessages
173   - kpathsea module:
174     - caching in fallback to lower system call bottleneck
175   - canvas module:
176     - add missing writePSfile wrapper
177     - add *args to writeEPSfile and writePDFfile wrappers
178   - writer modules:
179     - writebbox option to write bbox information (disabled by default)
180       even when a paper format is specified (PS and PDF writers only)
181   - use arclen in spring example
182   - add knot example
183   - use pdf graphic files for pdf version of the manual
184   - use PyX to create tipa fallbacks for FAQ
185   - correct description regarding the manual in the README file
188 0.8 (2005/07/13):
189   - changed requirements to python 2.1 or newer:
190     - nested scopes are needed without fallback solution by the path module
191       (at other places fallback solutions for missing nested scopes are missing as well)
192     - use warning module for warnings
193   - path module:
194     - path parameters and argument handling
195     - the arct to arc/arcn conversion (needed for bbox calculation and for conversion into
196       normpath) has been fixed
197   - document module: new
198     - container classes for document and pages
199     - document.paperformat class (strings are deprecated)
200   - canvas module:
201     - writeEPSfile wraps a canvas in a single page document and performs the output
202   - bbox module:
203     - add _pt methods
204   - pdfwriter module:
205     - completely rewritten: support for fonts and patterns has been added
206   - pswriter module: new
207     - separate PS output from canvas
208     - new signature of outputPS methods: writer and context are passed as additional
209       arguments
210   - color module:
211     - allow selection on zero range palette (reported by Francisco Borges, cf. bug #1116257)
212   - prolog module: removed due to code reorganisation
213   - graph modules:
214     - modifications on __init__.py in graph and axis subdirectories to
215       make "from pyx.graph import *" working as expected
216     - graph styles:
217       - addontop added to stackedbarpos
218       - column -> columnname renaming where appropriate
219       - histogram style added
220     - graph data:
221       - function needs explicit variable definition (implicit variable definition is deprecated)
222       - column names are inherited by data.data() except when copy=0;
223         unused columns are silently ignored now
224       - dynamic function data on a logarithmic axis uses isinstance check now
225         (although it removes the only (mis)use of axis.inverse, it is a
226         temporary solution only)
227     - graph key:
228       - extend graph keys to allow for several columns
229     - axis data handling refactoring:
230       - introcuded an axis positioner (module graph.axis.positioner)
231       - introduced anchoredaxis to make axis data and positioning local to a graph
232       - linkedaxis is a special version of anchoredaxis and is generic
233         (it uses the new linkpainter provided by an axis)
234       - unification of split and bar axes;
235         removed some black magic in baraxis in favor of a nestedbar axis
236       - x linked to x2 etc. is now possible
237       - axis.inverse was removed (the only place it was (mis)used was by a function)
238     - graphxy:
239       - allow to transform axis after layout
240       - [xy]axisat arguments in the constructor to easily move [xy]-axes
241         to a position defined the orthogonal axis
242       - remove axispos (use the axis dictionary now, since it now contains
243         anchored axis instances and those have shortcuts for the axis positioner
244         methods)
245   - dvifile:
246     - tfm->dvi conversion rounding bugfix
247     - fix parsing of empty strings ("") in fontmap files (reported by John Owens, bug #1218983)
248   - text module:
249     - support for halign of boxes and content of boxes (see halign example)
250     - take units xscale into account in parbox
251     - messageparser for replaced fontsizes: Warning -> implemented by texmessage.fontwarning
252     - messageparser for size differences at the end: Warning not Exception -> implemented by texmessage.fontwarning
253     - messageparser for overfull/underfull vbox/hbox: Warning not Exception -> implemented by texmessage.boxwarning
254     - dvicopy flag removed
255     - allow argument of set to be None
256     - rename nomathmode and nophantom to clearmathmode and clearphantom
257     - texmessagepattern for easy creation of simple TeX message parsers
258     - allow long file names in file checking TeX message parsers
259     - no newline removal to not disturbe TeX messages when reporting errors
260     - reworked documentation to use the python documentation standards
261   - style module:
262     - linewidth is no longer a unit.length subclass but expects a such as first argument
263   - epsfile module:
264     - correct EOL handling while reading DSC's (reported by Markus Meyer)
265   - pattern module: new
266     - moved canvas.pattern to its own module together with the new PDFpattern class
267     - add some default patterns: hatched and crosshatched
268   - deformer module:
269     - improve the smoothing deformer
270     - add a parallel deformer
271   - tex module:
272     - the very old tex module finally got removed completely
273   - contrib directory:
274     - a simple converter from dvi to EPS/PS/PDF files (dviconvert.py) has been added
275     - a simple imagine to EPS/PS/PDF converter (imgconvert.py) has been added
276     - a simple dvitype.py has been added
277   - update address of FSF all over the place
280 0.7.1 (2004/12/15):
281   - canvas module:
282     - EPS header fixed (reported by Russell Lang, cf. bug #1065099)
283   - Makefile fixes:
284     - use CURDIR instead of PWD (reported by David M. Cooke, bug #1070285)
285   - pykpathsea module:
286     - support windows line endings (patch by Hans-Andreas Engel, cf. bug #1071160)
287   - graph modules:
288     - line attributes handling fixed (reported by Andrea Riciputi)
289     - fix typos in predefined symbols (reported by Andrea Riciputi)
290     - cut column name list at the max. number of columns (reported by Arnd Baecker)
291   - examples:
292     - add INDEX and README files to distribution
293     - new errorbar and julia example
294   - faq:
295     - pdf snippets for tipa based phonetic transliterations
298 0.7 (2004/10/21):
299   - bitmap module:
300     - new module for inclusion of bitmap images
301   - path module:
302     - names of local and member variables now follow the naming convention of
303       having a _pt suffix when containing lengths in points
304   - bbox module:
305     - names of local and member variables now follow the naming convention of
306       having a _pt suffix when containing lengths in points
307     - enlarge was misspelled as enlarged
308     - renamed _bbox -> bbox_pt
309     - new bbox method center, which returns the coordinates of the center
310       of the bbox
311     - enlarge and enlarged do no longer interprete unqualified lengths as
312       being of type visual
313   - unit module:
314     - unit.cm, unit.t_cm, etc. are no longer sub classes but instances
315       of length
316     - never convert implicitly into visual/width, etc. lengths (this is more
317       about usage of the unit module in various other modules) (TODO: update
318       documentation)
319     - support for string initialization removed
320     - support for initialisation with other length removed
321     - lengths can now be divided by other lengths (as suggested by Michael Gruber
322       and Magnus Lie Hetland)
323   - text module:
324     - postpone reading of fontmap files until TeX/LaTeX is started
325     - sign of font number in dvifile (reported by Michael Gruber)
326     - phantom attribute
327   - canvas module:
328     - added new classes page and document for multipage PostScript output
329     - apply deformers (instead of trafos) in draw method
330   - style module:
331     - decrease interval for dotted and dash-dotted lines for better visual
332       appearance
333   - setup.py and distribution:
334     - create siteconfig on install to store positions of the shared data
335       and the global pyxrc
336   - graph modules:
337     - graph style + data reorganization
338       - modularization of the graph styles by separating data handling and drawing tasks
339       - several graph styles can now be combined together
340       - graph data can internally now combine different data sources
341         (by that, some nasty side effects could have been removed)
342     - enum -> num renaming
343     - allow for horizontally and vertically centered graph key alignment and a key background
344     - fix bug that graph was not finished automatically when a bbox was specified
345       manually (reported by David Barton)
346   - path module:
347     - pathel -> pathitem, etc. renaming
348     - methods accepting a parameter value / arc length now also allow the user to 
349       pass a tuple (subpath, param) / (subpath, arclen)
350     - normpath constructor no longer accepts a path or normpath as argument but only a list
351       of normsubpaths. Use the new normpath method of the path instead to construct a normpath
352       from a path.
353     - normsubpath can now deal with short (i.e. shorter than epsilon) segments correctly
354     - the intersect and split methods of normpath and normsubpath have been completely rewritten and
355       now take the accuracy epsilon correctly into account. Note that for a closed subpath the
356       split function now returns the segment containing the closing point as first element
357       in the result list (before, it was returned as last element).
358     - normsubpathitems and normsubpath now implement much more methods also provided by
359       path and normpath instances
360     - normpath.append no longer accepts pathitems but only normsubpaths
361   - deformer module: new
362     - moved cycloid and smoothed from deco into deformer
363   - bbox module:
364     - handle "BoundingBox: (atend)" (cf. bug #945621 reported by Jim Boyle)
365     - kpsearch option to search for file using the kpathsea library (contributed by Michael Gruber)
366   - base module:
367     - PSCmd and PSOp are now joined in a new class canvasitem
368   - deco module: 
369     - decorated path no longer allows modification of its path
370     - new method excluderange which allows to remove certain parameter ranges from the stroked path
371     - additional canvas provided by decorated path is now called ornaments
372     - constriction=None now indicates an arrowhead without constriction
373   - trafo module:
374     - trafos are now deformers
375   - examples:
376     - a bunch of bargraph examples have been added
379 0.6.x (????/??/??):
380    - graph/axis module:
381      - fix errorbar range adjustment
382      - fix empty tick lists bug (reported by Marko Vendelin, cf. bug #977323)
383    - graph/style module:
384      - symbolline drawing order in graph key (cf. bug #990687)
385    - graph/data module:
386      - access to builtin list (reported by Marcus Mendenhall, cf. bug #1042458)
389 0.6.3 (2004/04/27):
390    - graph module:
391      - fix drawing with background
392      - fix insertion of a zero length path when the whole line is outside
393        the valid axis range (reported by Marko Vendelin)
394    - distribution:
395      - include source for faq and manual
396      - distribute the pdf instead of postscript (manual, faq, examples)
399 0.6.2 (2004/04/07):
400   - graph module:
401     - fixed title=None + graph key issue reported by Gabriel Vasseur
402     - graph.axis.painter.plain -> graph.axis.painter.regular
403       (as it was in parts of the documentation already)
404     - changeable-gridattrs-become-None-bug fixed
405     - graph style cutting outside lines (double-)fixed
408 0.6.1 (2004/03/31):
409   - fixes missing install of the graph and axis directories introduced in 0.6
410   - some minor updates to the faq
413 0.6 (2004/03/30):
414   - graph module:
415     - reorganisation of the graph structure finished (there might be some
416       small pending issues, but the basic restructuring is done with this release):
417       - graph splitted into several modules in pyx/graph and pyx/graph/axis
418       - painters are using the new attribute scheme including changeable
419         attributes
420       - graph styles rewrite
421       - graph data rewrite
422     - axis zeropath feature has been removed
423     - mergelabels removed; linpart doesn't have a label argument anymore
424     - names and texts removed from baraxis
425     - iteration on graph style, when it is used several times in the same graph
426     - symbols + lines -> symbollines; symbols do not allow setting lineattrs,
427       and lines not symbolattrs
428     - manual line clipping (do not include unneeded line segments when the
429       axis range is set manually etc.)
430     - automatic file key titles
431     - graph.data now also includes the old data module
432     - data.list adds (by default) a line number like data.file
433       (thus regular columns are counted from 1)
434   - path:
435     - added new pathels multilineto_pt and multicurveto which allows to specify
436       a list of points and can thus be much more efficient
437     - internal methods return coordinates in pts
438     - arclentoparam returns only parameters not total length
439     - added path.arclength_pt, path.at_pt, path.begin_pt, path.end_pt (and
440       correspondingly for normpath)
441     - complete refactoring of the normpath class: normpaths now consist of
442       normsubpaths which themselves consist of normlines and normcurves This is
443       much more convenient for any routines working with normpaths.
444     - reversing of closed sub paths does not change the first point of the sub
445       path
446     - renamed: arclength -> arclen
447     - renamed: lentopar -> arclentoparam
448     - renamed: glue -> joined
449     - normpath now supports join, the in-place version of joined
450     - path and normpath method raise exception instead of returning None
451       when parameter is out of range
452     - the accuracy epsilon can now only be specified in normpath and normsubpath
453       constructor and no longer in arguments of path and normpath methods
454     - negative parameters are no longer supported in path and normpath methods
455     - path and normpath methods which accept parameter value param now
456       alternatively accept an arc length
457   - deco module:
458     - cycloid decorator
459     - smoothed decorator
460     - arrow heads are no longer stroked (as suggested by Magnus Lie Hetland)
461   - canvas:
462     - writeEPSfile deprecates writetofile
463     - internally, write methods are renamed in outputPS
464     - canvas constructor no longer accepts variable argument list but
465       expects a list of attrs as first argument (defaulting to []) and
466       a texrunner as second argument (defaulting to text.defaulttexrunner)
467     - set, draw, stroke and fill no longer return self, i.e., the canvas, but None
468   - bbox module:
469      - added inplace add (__iadd__), enlarge and transform methods
470      - callers use inplace add where possible now (yielding a considerable
471        speedup)
472     - "undefined" corners of bounding boxes are no longer supported which makes
473       the bounding box operations much more efficient.
474   - connnector module:
475     - renamed _xxx -> xxx_pt
476   - epsfile module:
477     - removed showbbox argument of epsfile class
478   - text module:
479     - default handling of texmessages as in the new attribute scheme
480     - multiple insert bug fixed
481     - made left, right, width, height, depth information available (x length
482       not taking into account box transformations)
483     - ignore tex message "Please type a command or say `\\end'"
484     - added textboxes that are sequentially filled (experimental)
485   - examples:
486     - mandel.py (contributed by Stephen Phillips)
487   - unit module:
488     - length comparision (David Beach)
489     - x-scale for TeX
490     - more unit tests
491   - mathtree module:
492     - switched to the new parser using pythons parser module
493   - data module:
494     - removed, it all lives in the graph.data module now, while before it
495       was splitted into two separate modules
496   - tex module:
497     - not imported by default anymore
498     - obsolete warning when importing this module
500 0.5.1 (2004/01/22):
501   - distribution:
502     - include missing c-files for optional extension modules
503   - prolog module:
504     - fix unpaired BeginProcSet/EndProcSet in font enconding
506 0.5 (2004/01/20):
507   - setup.py and distribution:
508     - allow customization of the extension modules built (via setup.cfg)
509     - disable building pykpathsea module by default
510     - more detailed description of install process in INSTALL
511     - provide more information and pointers to other files in README
512     - include example data files in distribution (suggested by Andrea Riciputi)
513     - force dvips to write ps files instead of printing them (suggested by Otto Tronarp)
514     - includ pyxfaq.pdf in distribution
515   - text module:
516     - improved is-readable test for lfs files and pyx.def file
517     - explicitly quit (La)TeX in cleantmp (helps when quitting with <Ctrl>C)
518     - showwaitfortex implemented following a suggestion by Fernando Perez
519       (waitfortex is increased to 60 seconds now)
520     - support of TeX extension --ipc for reading dvi results while TeX keeps running
521     - configurable font mapping files (via pyxrc or parameter of the texrunner constructor)
522     - markers to get access to positions within TeX expressions
523     - fix: allow for e-tex in texmessage.start (reported by Andrea Riciputi)
524     - fix: print warning at syntax errors in font mapping file and continue (cf. bug #795271)
525     - remove limitation on number of fonts in dvi file
526     - added native virtual font support
527     - dvicopy support not needed anymore (it is still available, but obsolete and
528       removed from the documentation)
529     - do not include too many glyphs in the eps file
530     - _xxx -> xxx_pt renaming
531   - dvifile module (NEW):
532     - separated from the text module
533     - dvifile class returns standard pyx canvas instances on readpage
534   - graph module:
535     - removed manualpart and partitioners mix keyword
536     - results of the splitting at "=" in graph.function were not stripped
537     - skip title=None in key (cf. bug #821284), properly align a single key entry
538     - another (the last?!) axis redesign: axispos -> class of its own
539     - some axispos name have changed slightly (zeroline -> zeropath etc.)
540     - tick/data-vmin/vmax removed
541     - pathaxis
542     - linkaxis
543     - minor enhancements in exponentionaltexter
544     - axes alongs paths including a set of examples
545     - mixing a partitioner and manual ticks by two distinct keyword arguments now
546     - _xxx -> xxx_pt renaming
547     - part -> parter renaming
548   - canvas module:
549     - stroke, fill, draw, set and insert do no longer accept variable length argument lists but
550       an attribute list as last argument
551     - stroke and fill now support trafos (TODO: documentation)
552     - uppercase version of a4, a3, ... paperformats
553   - config module:
554     - new module for loading PyX configuration information
555   - pyx module:
556     - automatically import main modules into pyx namespace as suggested by Fernando 
557       Perez.
558   - path module:
559     - check for sorting of parameter list passed to path.split method
560     - _xxx -> xxx_pt renaming
561   - deco module (NEW): 
562     - contains decoratedpath and decorators from canvas module
563     - all predefined decorators are instances now (deco.stroked is thus ok) and 
564       attributes have to be passed explicitely, e.g., deco.earrow.small(attrs=color.rgb.red) 
565       and deco.stroked([color.rgb.blue])
566   - style module (NEW):
567     - contains all line- and fillstyles which formerly had been defined in the canvas module
568     - dash now supports relative dash lengths (as suggested by Otto Tronarp)
569   - mathtree module:
570     - fixed incorrect handling of - (for instance -x**2 was not negative)
571   - attrlist module:
572     - contents have been moved to the (obsolete) tex module, which was the only user anyhow, and
573       the module itself was removed
574   - t1strip module:
575     - new fallback solution in pure python
576     - bugfix: pyxadapt.h needs to open files binary under Windows (reported by Gary Pajer)
577   - box module:
578     - _xxx -> xxx_pt renaming
579   - trafo module:
580     - _xxx -> xxx_pt renaming
582 0.4.1 (2003/09/17):
583   - canvas module:
584     - "in" to "inch" in paperformats
585   - text module:
586     - fix pyx.def hack occuring whenever \ProcessOptions* was used by a package
587   - pykpathsea module:
588     - implement different file formats for Python version of module
589   - t1strip module:
590     - python fallback solution should behave the same way as c extension module (closes SF bug #799182 reported
591       by Marcus Mendenhall)
592   - __init__.py:
593     - added "connector" to __all__
595 0.4 (2003/08/22):
596   - graph module:
597     - separate texter out of the axispainter
598     - axis/partitioner/texter/painter/axispos redesign & interfaces
599     - tick.text is renamed to tick.label
600     - ticks and labels are renamed to tickpos/tickdist and labelpos/labeldist in partitioning
601     - ticks can be used in the part to mix a partitioner with some manual ticks
602       -> manualpart and the mix technique is not needed anymore
603          (both things are still available and working, but they will be removed in the future)
604     - _ensurefrac is implemented inside the frac constructor now; initialization is possible by:
605       - a (enum, denom) tuple now (previously there were two arguments)
606       - a string (as before via _ensurefrac)
607       - exponential strings are allowed as well (e.g. "1e10" etc.)
608       - a float (precision is determined by floatprecision -- the number of decimal places)
609     - dense -> density
610     - axis.maxworse
611     - axis interface
612   - text module:
613     - reset() method for the texrunner
614     - automatic restart of a TeX instance with the same preamble (preamble changes are not possible)
615     - texmessage.loadfd for accepting font description loading
616     - don't bail out on width_index == 0, but mark character invalid instead
617     - dvicopy flag
618     - support for specials; pyxgraphics flag
619     - support psfonts.map: font names, font encodings
620     - bugfix \def\ProcessPyXBox -> \long\def\ProcessPyXBox
621     - improved lfs handling
622   - data module:
623     - full documentation via doc strings
624   - connector module:
625     - some preliminary version
626   - box module:
627     - multiple radii (up to two per point) and softnesses
628     - ensurecenter added --- do we always force the creation of a center?
629   - path module:
630     - lentopar methods added including some tests
631   - epsfile module:
632     - new parameter bbox allows to override the bounding box of the eps file
634   bugfixes:
635   - text module:
636     - derive TFMError and DVIError correctly from exceptions.Exception
637     - close files and pipes, if they are no longer used (thanks to Marcus Mendenhall)
638     - remove DeprecationWarning in Python 2.3 (thanks to Marcus Mendenhall)
639   - box module:
640     - correct rounding algorithm (Michael Schindler)
641   - graph module:
642     - refer to the graphs texrunner instead of the defaulttexrunner (cf. #728209)
643     - rounding towards zero bugfix in autolinpart
644     - log axis range rating bugfix
645   - mathtree module:
646     - addarg bugs (#738724)
647   - epsfile module:
648     - fix mixing up of height and width in scale calculation
649   - and various other fixer here and there
651 0.3.1 (2003/04/04):
652   - text module:
653     - fix bug in dvi rule code where width was height
654     - fix preamble attribute checking bug
655     - fix texmessage.load pattern search instead of pattern match bug
656     - renamed vbox to parbox (was done in 0.3 partially only)
657   - data module:
658     - allow for tuples in arguments of the data class
659     - convenience: exchanged order of named parameters in data.data
660   - graph module:
661     - convenience: allow for part=None in _axis (base of linaxis and logaxis)
662   - examples:
663     - added a latex example (requested)
664     - added a attributechange example (requested)
665     - added back the integral example (requested; prior PyX 0.3 it was part of the user manual)
666     - small change in vector example (allow for the access to the texrunner)
667     - examples included in source distribution
668   - canvas module:
669     - correct arrow template calculation for very short paths
671 0.3 (2003/03/31):
672   - examples
673     - new easy to use example generation (will hopefully lead to nice examples)
674   - unit box:
675     - new module for handling of convex polygons (taken out of the graph module)
676   - unit helper:
677     - new module containing a collection of helper functions (taken out of the graph module)
678     - moved the attrlist into helper -- as plain functions; attrlist becomes obsolete
679   - text module:
680     - new module: a new and preferable integration of TeX/LaTeX
681   - t1strip module:
682     - strip glyphs from pfa/pfb-fonts
683     - there is a C implementation taken from pdftex
684     - fallback solution via an external program (pfb2pfa)
685   - pykpathsea module:
686     - (partial) C binding to libkpathsea
687     - fallback solution via an external program (kpsewhich)
688   - graph module:
689     - removed some code duplication (various axis painters)
690     - use text module instead of the obsolete tex module
691     - allow for tailing zeros of automatic generated labels
692     - allow for missing data in bar graphs -> skipmissing parameter
693     - remove the support for variables given as keyword arguments in data constructor
694     - use context instead of extern for extern variables and functions
695     - graph keys; titles in data/function/etc.
696   - unit module:
697     - new classes for visual and width lengths, aliases for user length (u_pt = pt)
698     - all length classes have now by default a quantifier 1 (instead of 0), such that,
699       for instance, 5*unit.t_cm() == unit.t_cm(5)
700     - default_unit now has to be set via unit.set. For instance: unit.set(defaultunit="m").
701     - convert_to is now an internal function, which moreover does not longer accept tuples or lists
702   - bbox module:
703     - new class _bbox (the former bbox) which accepts points in the constructor. This is used
704       for internal purposes.
705     - the bbox constructor now accepts user lengths in the constructor.
706     - new methods height, width, top, bottom, left, right
707     - ll & ur ???, what about ul and lr -> ugly!
708     - enlarge (was enhance) now allows selective enlargement to the left, bottom, right and top
709     - output HiResBoundingBox
710     - never reduce bbox upon output
711   - epsfile module:
712     - new constructor signature, more in line with rest of PyX:
713       epsfile(x, y, filename, **additional_args)
714   - data module:
715     - removed additional column support in addcolumn; removed _addcolumn
716     - line reduction for datafile like the every parameter in gnuplot
717   - canvas module:
718     - new way of PS prolog generation that writes only necessary parts
719     - added support for patterns
720     - canvas.insert() now supports arguments
721     - bbox of canvas can be specified in writetofile command explicitely
722     - writetofile does not return self anymore
723     - arrow template now uses intersection with circle to get size right
724       (as per a suggestion by Michael Schindler)
725   - mathtree module:
726     - added abs function
727     - changed the handling of extern functions and all variables
728   - color module:
729     - gradient renamed to palette
730   - numerous bugfixes:
731     - problem with sizefile on windows (tex module)
732     - allow for strings in graphxy's width and height; allow for width only (graph module)
733     - disable rating for labelattrs equals None (graph module)
734     - defaultstyle selection, when a list of data is provided to the plot function (graph module)
735     - traverse when adding functions as arguments of operators (mathtree module)
736     - allow for extern functions in addcolumn (data module)
737     - just one common place for the version number
738     - fix incorrect exception name MathError (path module)
739     - prevent double return of intersections for closed sub paths
740     - ...
742 0.2 (2003/01/17):
743   - unit module:
744     - allow division of length by numbers
745   - trafo module:
746     - new transformation: slant
747     - renamed all trafo methods to use the participle (i.e translate->translated)
748     - the name of all trafo subclasses are verbs (i.e. translation->translate)
749   - graph module:
750     - mark class renamed to symbol
751     - (text-)box distance measurement
752     - moved axis partitioning to axis and axis painter
753     - automatic axis partitioning (now officially: general cleanup, distance measurement, documentation)
754     - splitaxis
755     - baraxis, baraxispainter, and bar style
756   - data module:
757     - previously named datafile module
758     - class "_datafile" renamed to class "data"
759     - class sectionfile added
760     - testsuite
761   - mathtree module:
762     - extern variables and functions (support in graph.function, graph.paramfunction and data.data)
763     - testsuite
764   - text module:
765     - deferred to Version 0.3
766     - running TeX "on the fly" is basically implemented
767   - numerous bugfixes:
768     - transformation bug (#624068, trafo module)
769     - canvas transformations (canvas module???)
770     - textbox alignment (graph module)
771     - return linewidth upon calculation with linewidths (unit module)
772     - allow column number variables with several digits
773     - ...
774   - british and american spellings (color module, graph module)
775   - small logo modifications
777 0.1 (2002/10/07):
778   - initial release