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