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