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