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