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