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