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