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