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