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