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