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