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