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