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