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