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