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