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