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