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