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