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