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