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