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