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