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