new attribute handling in text module completed
[PyX/mjg.git] / CHANGES
blobbc4852c275ff4846b19b24569aed12c7a365cb82
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, fill, draw, set and insert do no longer accept variable length argument lists but
86       an attribute list as last argument
87     - stroke and fill now support trafos (TODO: documentation)
88     - uppercase version of a4, a3, ... paperformats
89   - config module:
90     - new module for loading PyX configuration information
91   - pyx module:
92     - automatically import main modules into pyx namespace as suggested by Fernando 
93       Perez.
94   - path module:
95     - check for sorting of parameter list passed to path.split method
96   - deco module (NEW): 
97     - contains decoratedpath and decorators from canvas module
98     - all predefined decorators are instances now (deco.stroked is thus ok) and 
99       attributes have to be passed explicitely, e.g., deco.earrow.small(attrs=color.rgb.red) 
100       and deco.stroked([color.rgb.blue])
101     - TODO: document me
102   - style module (NEW):
103     - contains all line- and fillstyles which formerly had been defined in the canvas module
104     - dash now supports relative dash lengths (as suggested by Otto Tronarp)
105     - TODO: document me
106   - mathtree module:
107     - fixed incorrect handling of - (for instance -x**2 was not negative)
108   - attrlist module:
109     - contents have been moved to the (obsolete) tex module, which was the only user anyhow, and
110       the module itself was removed
111   - t1strip module:
112     - new fallback solution in pure python
113     - bugfix: pyxadapt.h needs to open files binary under Windows (reported by Gary Pajer)
114   - box module:
115     - _xxx -> xxx_pt renaming
117   TODO for PyX 0.5 (please feel free to move items up to the general TODO list)
118   - path module:
119     - path.split takes several points (as *args) while lentopar takes a list of points (done, but fix docu)
120     - path.tangent is missing in the documentation
121   - color module:
122      - should colors and palettes exclude each other?
123   - graph module:
124     - multiple finish calles in linkaxis!
125   - documentation!!!
126   - check FAQ
128 0.4.1 (2003/09/17):
129   - canvas module:
130     - "in" to "inch" in paperformats
131   - text module:
132     - fix pyx.def hack occuring whenever \ProcessOptions* was used by a package
133   - pykpathsea module:
134     - implement different file formats for Python version of module
135   - t1strip module:
136     - python fallback solution should behave the same way as c extension module (closes SF bug #799182 reported
137       by Marcus Mendenhall)
138   - __init__.py:
139     - added "connector" to __all__
141 0.4 (2003/08/22):
142   - graph module:
143     - separate texter out of the axispainter
144     - axis/partitioner/texter/painter/axispos redesign & interfaces
145     - tick.text is renamed to tick.label
146     - ticks and labels are renamed to tickpos/tickdist and labelpos/labeldist in partitioning
147     - ticks can be used in the part to mix a partitioner with some manual ticks
148       -> manualpart and the mix technique is not needed anymore
149          (both things are still available and working, but they will be removed in the future)
150     - _ensurefrac is implemented inside the frac constructor now; initialization is possible by:
151       - a (enum, denom) tuple now (previously there were two arguments)
152       - a string (as before via _ensurefrac)
153       - exponential strings are allowed as well (e.g. "1e10" etc.)
154       - a float (precision is determined by floatprecision -- the number of decimal places)
155     - dense -> density
156     - axis.maxworse
157     - axis interface
158   - text module:
159     - reset() method for the texrunner
160     - automatic restart of a TeX instance with the same preamble (preamble changes are not possible)
161     - texmessage.loadfd for accepting font description loading
162     - don't bail out on width_index == 0, but mark character invalid instead
163     - dvicopy flag
164     - support for specials; pyxgraphics flag
165     - support psfonts.map: font names, font encodings
166     - bugfix \def\ProcessPyXBox -> \long\def\ProcessPyXBox
167     - improved lfs handling
168   - data module:
169     - full documentation via doc strings
170   - connector module:
171     - some preliminary version
172   - box module:
173     - multiple radii (up to two per point) and softnesses
174     - ensurecenter added --- do we always force the creation of a center?
175   - path module:
176     - lentopar methods added including some tests
177   - epsfile module:
178     - new parameter bbox allows to override the bounding box of the eps file
180   bugfixes:
181   - text module:
182     - derive TFMError and DVIError correctly from exceptions.Exception
183     - close files and pipes, if they are no longer used (thanks to Marcus Mendenhall)
184     - remove DeprecationWarning in Python 2.3 (thanks to Marcus Mendenhall)
185   - box module:
186     - correct rounding algorithm (Michael Schindler)
187   - graph module:
188     - refer to the graphs texrunner instead of the defaulttexrunner (cf. #728209)
189     - rounding towards zero bugfix in autolinpart
190     - log axis range rating bugfix
191   - mathtree module:
192     - addarg bugs (#738724)
193   - epsfile module:
194     - fix mixing up of height and width in scale calculation
195   - and various other fixer here and there
197 0.3.1 (2003/04/04):
198   - text module:
199     - fix bug in dvi rule code where width was height
200     - fix preamble attribute checking bug
201     - fix texmessage.load pattern search instead of pattern match bug
202     - renamed vbox to parbox (was done in 0.3 partially only)
203   - data module:
204     - allow for tuples in arguments of the data class
205     - convenience: exchanged order of named parameters in data.data
206   - graph module:
207     - convenience: allow for part=None in _axis (base of linaxis and logaxis)
208   - examples:
209     - added a latex example (requested)
210     - added a attributechange example (requested)
211     - added back the integral example (requested; prior PyX 0.3 it was part of the user manual)
212     - small change in vector example (allow for the access to the texrunner)
213     - examples included in source distribution
214   - canvas module:
215     - correct arrow template calculation for very short paths
217 0.3 (2003/03/31):
218   - examples
219     - new easy to use example generation (will hopefully lead to nice examples)
220   - unit box:
221     - new module for handling of convex polygons (taken out of the graph module)
222   - unit helper:
223     - new module containing a collection of helper functions (taken out of the graph module)
224     - moved the attrlist into helper -- as plain functions; attrlist becomes obsolete
225   - text module:
226     - new module: a new and preferable integration of TeX/LaTeX
227   - t1strip module:
228     - strip glyphs from pfa/pfb-fonts
229     - there is a C implementation taken from pdftex
230     - fallback solution via an external program (pfb2pfa)
231   - pykpathsea module:
232     - (partial) C binding to libkpathsea
233     - fallback solution via an external program (kpsewhich)
234   - graph module:
235     - removed some code duplication (various axis painters)
236     - use text module instead of the obsolete tex module
237     - allow for tailing zeros of automatic generated labels
238     - allow for missing data in bar graphs -> skipmissing parameter
239     - remove the support for variables given as keyword arguments in data constructor
240     - use context instead of extern for extern variables and functions
241     - graph keys; titles in data/function/etc.
242   - unit module:
243     - new classes for visual and width lengths, aliases for user length (u_pt = pt)
244     - all length classes have now by default a quantifier 1 (instead of 0), such that,
245       for instance, 5*unit.t_cm() == unit.t_cm(5)
246     - default_unit now has to be set via unit.set. For instance: unit.set(defaultunit="m").
247     - convert_to is now an internal function, which moreover does not longer accept tuples or lists
248   - bbox module:
249     - new class _bbox (the former bbox) which accepts points in the constructor. This is used
250       for internal purposes.
251     - the bbox constructor now accepts user lengths in the constructor.
252     - new methods height, width, top, bottom, left, right
253     - ll & ur ???, what about ul and lr -> ugly!
254     - enlarge (was enhance) now allows selective enlargement to the left, bottom, right and top
255     - output HiResBoundingBox
256     - never reduce bbox upon output
257   - epsfile module:
258     - new constructor signature, more in line with rest of PyX:
259       epsfile(x, y, filename, **additional_args)
260   - data module:
261     - removed additional column support in addcolumn; removed _addcolumn
262     - line reduction for datafile like the every parameter in gnuplot
263   - canvas module:
264     - new way of PS prolog generation that writes only necessary parts
265     - added support for patterns
266     - canvas.insert() now supports arguments
267     - bbox of canvas can be specified in writetofile command explicitely
268     - writetofile does not return self anymore
269     - arrow template now uses intersection with circle to get size right
270       (as per a suggestion by Michael Schindler)
271   - mathtree module:
272     - added abs function
273     - changed the handling of extern functions and all variables
274   - color module:
275     - gradient renamed to palette
276   - numerous bugfixes:
277     - problem with sizefile on windows (tex module)
278     - allow for strings in graphxy's width and height; allow for width only (graph module)
279     - disable rating for labelattrs equals None (graph module)
280     - defaultstyle selection, when a list of data is provided to the plot function (graph module)
281     - traverse when adding functions as arguments of operators (mathtree module)
282     - allow for extern functions in addcolumn (data module)
283     - just one common place for the version number
284     - fix incorrect exception name MathError (path module)
285     - prevent double return of intersections for closed sub paths
286     - ...
288 0.2 (2003/01/17):
289   - unit module:
290     - allow division of length by numbers
291   - trafo module:
292     - new transformation: slant
293     - renamed all trafo methods to use the participle (i.e translate->translated)
294     - the name of all trafo subclasses are verbs (i.e. translation->translate)
295   - graph module:
296     - mark class renamed to symbol
297     - (text-)box distance measurement
298     - moved axis partitioning to axis and axis painter
299     - automatic axis partitioning (now officially: general cleanup, distance measurement, documentation)
300     - splitaxis
301     - baraxis, baraxispainter, and bar style
302   - data module:
303     - previously named datafile module
304     - class "_datafile" renamed to class "data"
305     - class sectionfile added
306     - testsuite
307   - mathtree module:
308     - extern variables and functions (support in graph.function, graph.paramfunction and data.data)
309     - testsuite
310   - text module:
311     - deferred to Version 0.3
312     - running TeX "on the fly" is basically implemented
313   - numerous bugfixes:
314     - transformation bug (#624068, trafo module)
315     - canvas transformations (canvas module???)
316     - textbox alignment (graph module)
317     - return linewidth upon calculation with linewidths (unit module)
318     - allow column number variables with several digits
319     - ...
320   - british and american spellings (color module, graph module)
321   - small logo modifications
323 0.1 (2002/10/07):
324   - initial release