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