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