diff options
author | rh <rh@pkgsrc.org> | 2001-07-08 08:09:39 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2001-07-08 08:09:39 +0000 |
commit | d544b6e344c89f031e227c9cf899aaf09c056e63 (patch) | |
tree | 477b08aeabc89a530c364ef35f3f30e5096aa52d /graphics/ploticus/patches | |
parent | 3f8c044aece011b2f5f2a9277afc594f4598dc1d (diff) | |
download | pkgsrc-d544b6e344c89f031e227c9cf899aaf09c056e63.tar.gz |
Update ploticus to 1.41. Licence is now GPL.
Notable changes are:
* Fixed bug: proc axis - when producing stubs running from negative
to positive, zero is displayed as a very tiny non-zero
value such as 5.2579e-17 due to rounding error.
* Fixed bug: proc getdata - buffer overflow when 'filter' is used
with data records longer than 254 chars, causing garbage
result or instability.
Version 1.41 as of 18 June '01:
* Ploticus now covered under GPL.
* Fixed bug: colored background not completely filling the result window
when scale is being done
* Fixed scripts in test suite: The change in default size (version 1.40)
sometimes caused general layout problems with graphics that were layed
out with an 8.5" x 11" default size in mind. The solution for these
scripts is to add a #proc page and specify pagesize: 8.5 11. Some of
the scripts in the test suite had such problems and are now fixed.
* Fixed bug: EPS bounding box incorrect for 1) pltab output and 2) pl
where result draws into negative absolute coordinate space.
* Fixed bug: proc areadef xautorange/yautorange not working correctly in
some cases when a nearest= value is specified. This bug was
apparently introduced in 1.40.
* Fixed bug: proc lineplot - accum option choking when non-numeric data
encountered.
* Fixed bug: proc rangebar - negative barloc values not working.
* Added: proc areadef - autorange datafield may now be a comma-delimited
list of dfields so that multiple data fields are considered
when determining the axis min and max.
* Changed: scaletypes - times hh:mm:ss and mm:ss - validity checking
relaxed slightly to allow degenerate values such as 0:4:9
* Fixed bug: pltab - incorrect interaction between #font and
sectionheadings
* Fixed bug: proc rangebar - textdetails controls N= label but not
missing label
* Fixed bug: pltab - creates 8.5 x 11 inch gif, png regardless of result
size
* Fixed bug: axis - line grid and gridblock starting point incorrect in X
* Fixed bug: axis - colors incorrect when specified in certain
combinations for tics, stubs, grid
* Fixed bug: bars - ticks not being drawn when truncating was not
switched on
Version 1.40 as of 16 Jan '01:
* proc getdata - variables may be declared and set from within data files
using #set
* proc curvefit - linear regression and correlation
* proc areadef - "autowidth" and "autoheight" attributes for data-driven
plot area size
* proc axis - alternating shaded block backgrounds
* added: new script $functions - $exists() and $notexists() to test if a
@VARIABLE has a value. See functions(pl)
added: new script #operators - #hideund and #showund to control
display of embedded underscores, and #includesh. See scripts(pl)
* added: new scaletype - log+1 scaling for handling log-characeristic
data that may contain values of 0.0
* added: proc areadef - autorange - "incmult", which assists in
automatically determining hi and low margin
* added: proc areadef - "xextracategory" and "yextracategory" attributes,
which allow categories to be added explicitly even when most
categories are defined from data
* added: proc axis - "stubcull" attribute for eliminating stub collision,
or pile up on log axis
* added: proc axis - definable extent for grid lines
* added: cmyk color specification for use with PostScript and EPS.
* added: textdetails - "font" subattribute for setting PostScript font.
* added: proc print - "outfile" and "outmode" attributes allowing proc
print to write to files
* added: proc print - now sets a variable called NSELECTED.
* added: proc legend - "reset" attribute.
* added: proc bars - "hidezerobars" attribute
* added: proc curvefit - "select" attribute
* added: proc curvefit - new curvetype - "avg"
* added: proc tabulate - "showrange" attribute supercedes
showrangelowonly. Range label can be the average of low and
high end of range.
* added: proc rangebar - "logmean" attribute, for computing means and
standard deviations in log space.
* added: proc rangebar - "statsonly" attribute, to compute stats and set
variables without drawing the bar.
added: proc rangebar - now sets the variables RANGEBARIQRMIN and
RANGEBARIQRMAX.
* changed: proc getdata - pl no longer quits when no data could be read.
Scripts can check @NRECORDS after getdata finishes and take
appropriate action.
* changed: default result size is now 8" x 8".
* changed: proc curvefit - data no longer need to be ordered on X for
curve computation
* changed: standalone $functions (those that are not part of an #if
construct) may contain embedded white space
* changed: color specifications - the separator character in rgb(r,g,b)
constructs may be any of comma, dash, colon, or pipe. Comma
was problematic if rgb constructs were put into a comma-
delimited list, as in students example.
* changed: .pls is now a "known extension" for script files.
* changed: improved the heuristic for automatic axis increment
determination
* fixed bug: proc scatterplot - if select condition used or if values are
out-of-range, labels from data and datapoint size from data
may be incorrect due to data alignment bug.
* fixed bug: proc lineplot - if select condition used or if values are
out-of-range, labels from data may be incorrect due to data
alignment bug.
* fixed bug: proc rangebar - file close problem causing core dump on
linux
* fixed bug: multipage plots & page breaks - if proc page was used to
break to page 2, and proc page wasn't used for page 1,
drawing continues on page 1.
* fixed bug: proc getdata - select was not working when field names used
(message: no such data field).
* fixed bug: date scaling - dates containing embedded dashes were not
converted properly when used. as locvalue e.g. proc
annotate location.
* fixed bug: $max() function was giving incorrect results
* fixed bug: proc page - on multipage landscape plots using PNG/GIF only
the last page was viewable.
* fixed bug: PNG/GIF driver memory leak when doing multipage plots.
fixed bug: incorrect fda() calls in tabulate.c and
processdata.c.
* fixed bug: proc getdata filters - potential instability if references
were made to data fields beyond NFIELDS.
* fixed bug: proc bars - tics produced through the use of leftticfield,
rightticfield, and midticfield were being drawn outside of
plotting area
Diffstat (limited to 'graphics/ploticus/patches')
-rw-r--r-- | graphics/ploticus/patches/patch-ab | 13 | ||||
-rw-r--r-- | graphics/ploticus/patches/patch-ac | 19 | ||||
-rw-r--r-- | graphics/ploticus/patches/patch-ad | 13 |
3 files changed, 45 insertions, 0 deletions
diff --git a/graphics/ploticus/patches/patch-ab b/graphics/ploticus/patches/patch-ab new file mode 100644 index 00000000000..1e1f916d1a7 --- /dev/null +++ b/graphics/ploticus/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2001/07/08 08:09:40 rh Exp $ + +--- preliminaries.c.orig Sun Jul 8 09:47:17 2001 ++++ preliminaries.c +@@ -18,7 +18,7 @@ + + /* set first part of name for for tmp files.. */ + make_unique_string( buf, 0 ); +-sprintf( Tmpname, "/usr/tmp/plo%s", buf ); ++sprintf( Tmpname, "/tmp/plo%s", buf ); + + Errfp = stderr; /* portability? */ + Diagfp = stderr; /* portability? */ diff --git a/graphics/ploticus/patches/patch-ac b/graphics/ploticus/patches/patch-ac new file mode 100644 index 00000000000..140352edc69 --- /dev/null +++ b/graphics/ploticus/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1 2001/07/08 08:09:40 rh Exp $ + +--- units.c.orig Sun Jul 8 09:52:03 2001 ++++ units.c +@@ -275,8 +275,14 @@ + else i = 1; + + if( unittyp[i] == LINEAR ) { ++ /* when generating incremental axes moving from negative to positive, for zero sprintf sometimes ++ gives -0.00 or very tiny values like -5.5579e-17. The following is a workaround.. scg 7/5/01 */ ++ if( f < 0.0000000000001 && f > -0.0000000000001 ) f = 0.0; ++ + if( strlen( format ) < 1 ) sprintf( result, "%g", f ); + else sprintf( result, format, f ); ++ ++ + if( Bignumspacer ) rewritenums( result ); /* rewrite w/various spacing, decimal pt options*/ + } + diff --git a/graphics/ploticus/patches/patch-ad b/graphics/ploticus/patches/patch-ad new file mode 100644 index 00000000000..a82df5e990b --- /dev/null +++ b/graphics/ploticus/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2001/07/08 08:09:40 rh Exp $ + +--- getdata.c.orig Sun Jul 8 09:53:12 2001 ++++ getdata.c +@@ -349,7 +349,7 @@ + char recordid[80]; + char data[MAXITEMS][DATAMAXLEN+1]; + char *df[MAXITEMS]; +-char str[255], str2[255]; ++char str[MAXINBUF], str2[MAXINBUF]; /* size increased from 255 scg 6/27/01 */ + int nfields, nrecords, nd; + int i; + char commentchar[12]; |