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