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