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