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