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