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