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