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