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