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