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