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