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