- add trafoat method
[PyX/mjg.git] / CHANGES
blob7c5cac027218abfbda1391098b13a24c0e350c2b
1 PyX
3 TODO:
4   - graph module
5     - do not include unneeded line segments when the axis range is set manually
6     - allow for an iteration of a graph style, when it is used several times
7     - symbols should become decorators
8     - common bboxes for different graphs
9     - automatic datafile key title
10     - exceptions in drawsymbol & friends...
11     - 3d graphs, circular graphs
12     - symbols + lines -> symbollines (??). Symbols should not allow setting lineattrs, and
13       lines not symbolattrs
14     - allow for graph.changesymbol.square(size=0.15) etc.
15     - rect style (and errorbars?) should use clipping
16     - should the divisor argument be moved to the texters?
17     - is the divisor argument really necessary?
18     - _mergelabels should work differently (perhaps a single list or a special texter?!)
19     - the exponentialtexter should have a labelattrs argument and the mantissatexter
20       should be removed
21     - Docu: part -> parter, tickdist->tickpos argument of parter
22   - style module:
23     - default patterns
24     - make dash length available
25   - text module:
26     - SlantFont & Co support
27     - keep an eye on PEP 324 (popen 5): it could make the texrunner much easier
28     - empty lines in the preamble should not raise an error
29     - texmessage.ignore should be allowed _everywhere_
30   - unit and text module:
31     - introduce xscale for scaling the TeX output
32   - mathtree module:
33      - consider rewrite using the python compiler module
34   - path module:
35     - _lentopar return value should not contain total length
36     - should normpaths not allow for very short path elements?
37       (currently, the closepath does prevent short paths at the end)
38   - data module:
39     - data.data should add line number like data.datafile
40     - use csv module (new in 2.3)
41   - canvas module:
42     - multi page PostScript output
43     - contructor should only take a texrunner keyword argument
44     - set method???
45     - PDF support
46     - SVG support
47   - deco module:
48     - arrows should not be stroked by default
49     - Think about names wriggle and curvecorners
50   - style and color module:
51     - support modification of existing styles via __call__
52   - bbox module:
53     - height -> getheight, ...
55 0.6 (XXXX/XX/XX):
56   - bbox module:
57      - added inplace add (__iadd__), enlarge and transform methods
58      - callers use inplace add where possible now (yielding a considerable
59        speedup)
60     - "undefined" corners of bounding boxes are no longer supported which makes
61       the bounding box operations much more efficient.
62   - attr module:
63     - TODO: general documentation about attributes, clearing, merging?
64     - TODO: general documentation about changeable attributes?
65   - graph module:
66     - painters are using the new attribute scheme including changeable
67       attributes (TODO: documentation)
68     - axis zeropath feature removed (TODO: documentation)
69     - graph styles rewrite (TODO: documentation)
70     - graph splitted into several modules in the new subdirectory graph
71   - text module:
72     - default handling of texmessages as in the new attribute scheme
73     - multiple insert bug fixed
74     - made left, right, width, height, depth information available (x length
75       not taking into account box transformations)
76     - added textboxes that are sequentially filled (experimental)
77   - examples:
78     - mandel.py (contributed by Stephen Phillips)
79   - path:
80     - added new pathels multilineto_pt and multicurveto which allows to specify
81       a list of points and can thus be much more efficient
82     - internal methods return coordinates in pts
83     - lentopar returns only parameters not total length (TODO: documentation)
84     - added path.arclength_pt, path.at_pt, path.begin_pt, path.end_pt (and
85       correspondingly for normpath) (TODO: documentation)
86     - complete refactoring of the normpath class: normpaths now consist of
87       normsubpaths which themselves consist of normlines and normcurves This is
88       much more convenient for any routines working with normpaths.
89     - reversing of closed sub paths does not change the first point of the sub
90       path
91     - renamed: arclength -> arclen
92     - renamed: lentopar -> arclentoparam
93     - normpath.tangent now returns tuple corresponding to direction and
94       magnitude of tangent vector instead of normline
95     - path and normpath method raise exception instead of returning None
96       when parameter is out of range
97   - connnector module:
98     - renamed _xxx -> xxx_pt
99   - deco module:
100     - wriggle decorator (TODO: documentation)
101     - curvecorners decorator (TODO: documentation)
102   - canvas:
103     - writeEPSfile deprecates writetofile
104     - internally, write methods are renamed in outputPS
105   - tex module:
106     - not imported by default anymore
107     - obsolete warning when importing this module
108   - unit module:
109     - length comparision (David Beach) (TODO: documentation)
110     - x-scale for TeX (TODO: documenation)
111     - more unit tests
114 0.5.1 (2004/01/22):
115   - distribution:
116     - include missing c-files for optional extension modules
117   - prolog module:
118     - fix unpaired BeginProcSet/EndProcSet in font enconding
120 0.5 (2004/01/20):
121   - setup.py and distribution:
122     - allow customization of the extension modules built (via setup.cfg)
123     - disable building pykpathsea module by default
124     - more detailed description of install process in INSTALL
125     - provide more information and pointers to other files in README
126     - include example data files in distribution (suggested by Andrea Riciputi)
127     - force dvips to write ps files instead of printing them (suggested by Otto Tronarp)
128     - includ pyxfaq.pdf in distribution
129   - text module:
130     - improved is-readable test for lfs files and pyx.def file
131     - explicitly quit (La)TeX in cleantmp (helps when quitting with <Ctrl>C)
132     - showwaitfortex implemented following a suggestion by Fernando Perez
133       (waitfortex is increased to 60 seconds now)
134     - support of TeX extension --ipc for reading dvi results while TeX keeps running
135     - configurable font mapping files (via pyxrc or parameter of the texrunner constructor)
136     - markers to get access to positions within TeX expressions
137     - fix: allow for e-tex in texmessage.start (reported by Andrea Riciputi)
138     - fix: print warning at syntax errors in font mapping file and continue (cf. bug #795271)
139     - remove limitation on number of fonts in dvi file
140     - added native virtual font support
141     - dvicopy support not needed anymore (it is still available, but obsolete and
142       removed from the documentation)
143     - do not include too many glyphs in the eps file
144     - _xxx -> xxx_pt renaming
145   - dvifile module (NEW):
146     - separated from the text module
147     - dvifile class returns standard pyx canvas instances on readpage
148   - graph module:
149     - removed manualpart and partitioners mix keyword
150     - results of the splitting at "=" in graph.function were not stripped
151     - skip title=None in key (cf. bug #821284), properly align a single key entry
152     - another (the last?!) axis redesign: axispos -> class of its own
153     - some axispos name have changed slightly (zeroline -> zeropath etc.)
154     - tick/data-vmin/vmax removed
155     - pathaxis
156     - linkaxis
157     - minor enhancements in exponentionaltexter
158     - axes alongs paths including a set of examples
159     - mixing a partitioner and manual ticks by two distinct keyword arguments now
160     - _xxx -> xxx_pt renaming
161     - part -> parter renaming
162   - canvas module:
163     - stroke, fill, draw, set and insert do no longer accept variable length argument lists but
164       an attribute list as last argument
165     - stroke and fill now support trafos (TODO: documentation)
166     - uppercase version of a4, a3, ... paperformats
167   - config module:
168     - new module for loading PyX configuration information
169   - pyx module:
170     - automatically import main modules into pyx namespace as suggested by Fernando 
171       Perez.
172   - path module:
173     - check for sorting of parameter list passed to path.split method
174     - _xxx -> xxx_pt renaming
175   - deco module (NEW): 
176     - contains decoratedpath and decorators from canvas module
177     - all predefined decorators are instances now (deco.stroked is thus ok) and 
178       attributes have to be passed explicitely, e.g., deco.earrow.small(attrs=color.rgb.red) 
179       and deco.stroked([color.rgb.blue])
180   - style module (NEW):
181     - contains all line- and fillstyles which formerly had been defined in the canvas module
182     - dash now supports relative dash lengths (as suggested by Otto Tronarp)
183   - mathtree module:
184     - fixed incorrect handling of - (for instance -x**2 was not negative)
185   - attrlist module:
186     - contents have been moved to the (obsolete) tex module, which was the only user anyhow, and
187       the module itself was removed
188   - t1strip module:
189     - new fallback solution in pure python
190     - bugfix: pyxadapt.h needs to open files binary under Windows (reported by Gary Pajer)
191   - box module:
192     - _xxx -> xxx_pt renaming
193   - trafo module:
194     - _xxx -> xxx_pt renaming
196 0.4.1 (2003/09/17):
197   - canvas module:
198     - "in" to "inch" in paperformats
199   - text module:
200     - fix pyx.def hack occuring whenever \ProcessOptions* was used by a package
201   - pykpathsea module:
202     - implement different file formats for Python version of module
203   - t1strip module:
204     - python fallback solution should behave the same way as c extension module (closes SF bug #799182 reported
205       by Marcus Mendenhall)
206   - __init__.py:
207     - added "connector" to __all__
209 0.4 (2003/08/22):
210   - graph module:
211     - separate texter out of the axispainter
212     - axis/partitioner/texter/painter/axispos redesign & interfaces
213     - tick.text is renamed to tick.label
214     - ticks and labels are renamed to tickpos/tickdist and labelpos/labeldist in partitioning
215     - ticks can be used in the part to mix a partitioner with some manual ticks
216       -> manualpart and the mix technique is not needed anymore
217          (both things are still available and working, but they will be removed in the future)
218     - _ensurefrac is implemented inside the frac constructor now; initialization is possible by:
219       - a (enum, denom) tuple now (previously there were two arguments)
220       - a string (as before via _ensurefrac)
221       - exponential strings are allowed as well (e.g. "1e10" etc.)
222       - a float (precision is determined by floatprecision -- the number of decimal places)
223     - dense -> density
224     - axis.maxworse
225     - axis interface
226   - text module:
227     - reset() method for the texrunner
228     - automatic restart of a TeX instance with the same preamble (preamble changes are not possible)
229     - texmessage.loadfd for accepting font description loading
230     - don't bail out on width_index == 0, but mark character invalid instead
231     - dvicopy flag
232     - support for specials; pyxgraphics flag
233     - support psfonts.map: font names, font encodings
234     - bugfix \def\ProcessPyXBox -> \long\def\ProcessPyXBox
235     - improved lfs handling
236   - data module:
237     - full documentation via doc strings
238   - connector module:
239     - some preliminary version
240   - box module:
241     - multiple radii (up to two per point) and softnesses
242     - ensurecenter added --- do we always force the creation of a center?
243   - path module:
244     - lentopar methods added including some tests
245   - epsfile module:
246     - new parameter bbox allows to override the bounding box of the eps file
248   bugfixes:
249   - text module:
250     - derive TFMError and DVIError correctly from exceptions.Exception
251     - close files and pipes, if they are no longer used (thanks to Marcus Mendenhall)
252     - remove DeprecationWarning in Python 2.3 (thanks to Marcus Mendenhall)
253   - box module:
254     - correct rounding algorithm (Michael Schindler)
255   - graph module:
256     - refer to the graphs texrunner instead of the defaulttexrunner (cf. #728209)
257     - rounding towards zero bugfix in autolinpart
258     - log axis range rating bugfix
259   - mathtree module:
260     - addarg bugs (#738724)
261   - epsfile module:
262     - fix mixing up of height and width in scale calculation
263   - and various other fixer here and there
265 0.3.1 (2003/04/04):
266   - text module:
267     - fix bug in dvi rule code where width was height
268     - fix preamble attribute checking bug
269     - fix texmessage.load pattern search instead of pattern match bug
270     - renamed vbox to parbox (was done in 0.3 partially only)
271   - data module:
272     - allow for tuples in arguments of the data class
273     - convenience: exchanged order of named parameters in data.data
274   - graph module:
275     - convenience: allow for part=None in _axis (base of linaxis and logaxis)
276   - examples:
277     - added a latex example (requested)
278     - added a attributechange example (requested)
279     - added back the integral example (requested; prior PyX 0.3 it was part of the user manual)
280     - small change in vector example (allow for the access to the texrunner)
281     - examples included in source distribution
282   - canvas module:
283     - correct arrow template calculation for very short paths
285 0.3 (2003/03/31):
286   - examples
287     - new easy to use example generation (will hopefully lead to nice examples)
288   - unit box:
289     - new module for handling of convex polygons (taken out of the graph module)
290   - unit helper:
291     - new module containing a collection of helper functions (taken out of the graph module)
292     - moved the attrlist into helper -- as plain functions; attrlist becomes obsolete
293   - text module:
294     - new module: a new and preferable integration of TeX/LaTeX
295   - t1strip module:
296     - strip glyphs from pfa/pfb-fonts
297     - there is a C implementation taken from pdftex
298     - fallback solution via an external program (pfb2pfa)
299   - pykpathsea module:
300     - (partial) C binding to libkpathsea
301     - fallback solution via an external program (kpsewhich)
302   - graph module:
303     - removed some code duplication (various axis painters)
304     - use text module instead of the obsolete tex module
305     - allow for tailing zeros of automatic generated labels
306     - allow for missing data in bar graphs -> skipmissing parameter
307     - remove the support for variables given as keyword arguments in data constructor
308     - use context instead of extern for extern variables and functions
309     - graph keys; titles in data/function/etc.
310   - unit module:
311     - new classes for visual and width lengths, aliases for user length (u_pt = pt)
312     - all length classes have now by default a quantifier 1 (instead of 0), such that,
313       for instance, 5*unit.t_cm() == unit.t_cm(5)
314     - default_unit now has to be set via unit.set. For instance: unit.set(defaultunit="m").
315     - convert_to is now an internal function, which moreover does not longer accept tuples or lists
316   - bbox module:
317     - new class _bbox (the former bbox) which accepts points in the constructor. This is used
318       for internal purposes.
319     - the bbox constructor now accepts user lengths in the constructor.
320     - new methods height, width, top, bottom, left, right
321     - ll & ur ???, what about ul and lr -> ugly!
322     - enlarge (was enhance) now allows selective enlargement to the left, bottom, right and top
323     - output HiResBoundingBox
324     - never reduce bbox upon output
325   - epsfile module:
326     - new constructor signature, more in line with rest of PyX:
327       epsfile(x, y, filename, **additional_args)
328   - data module:
329     - removed additional column support in addcolumn; removed _addcolumn
330     - line reduction for datafile like the every parameter in gnuplot
331   - canvas module:
332     - new way of PS prolog generation that writes only necessary parts
333     - added support for patterns
334     - canvas.insert() now supports arguments
335     - bbox of canvas can be specified in writetofile command explicitely
336     - writetofile does not return self anymore
337     - arrow template now uses intersection with circle to get size right
338       (as per a suggestion by Michael Schindler)
339   - mathtree module:
340     - added abs function
341     - changed the handling of extern functions and all variables
342   - color module:
343     - gradient renamed to palette
344   - numerous bugfixes:
345     - problem with sizefile on windows (tex module)
346     - allow for strings in graphxy's width and height; allow for width only (graph module)
347     - disable rating for labelattrs equals None (graph module)
348     - defaultstyle selection, when a list of data is provided to the plot function (graph module)
349     - traverse when adding functions as arguments of operators (mathtree module)
350     - allow for extern functions in addcolumn (data module)
351     - just one common place for the version number
352     - fix incorrect exception name MathError (path module)
353     - prevent double return of intersections for closed sub paths
354     - ...
356 0.2 (2003/01/17):
357   - unit module:
358     - allow division of length by numbers
359   - trafo module:
360     - new transformation: slant
361     - renamed all trafo methods to use the participle (i.e translate->translated)
362     - the name of all trafo subclasses are verbs (i.e. translation->translate)
363   - graph module:
364     - mark class renamed to symbol
365     - (text-)box distance measurement
366     - moved axis partitioning to axis and axis painter
367     - automatic axis partitioning (now officially: general cleanup, distance measurement, documentation)
368     - splitaxis
369     - baraxis, baraxispainter, and bar style
370   - data module:
371     - previously named datafile module
372     - class "_datafile" renamed to class "data"
373     - class sectionfile added
374     - testsuite
375   - mathtree module:
376     - extern variables and functions (support in graph.function, graph.paramfunction and data.data)
377     - testsuite
378   - text module:
379     - deferred to Version 0.3
380     - running TeX "on the fly" is basically implemented
381   - numerous bugfixes:
382     - transformation bug (#624068, trafo module)
383     - canvas transformations (canvas module???)
384     - textbox alignment (graph module)
385     - return linewidth upon calculation with linewidths (unit module)
386     - allow column number variables with several digits
387     - ...
388   - british and american spellings (color module, graph module)
389   - small logo modifications
391 0.1 (2002/10/07):
392   - initial release