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