"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "gnuplot/ChangeLog" of archive gp423win32.zip:
2007-03-08 Ethan Merritt <merritt@u.washington.edu>
Version 4.2.3 release
Any further commits to this tree will be in 4.2.4 if such a version is
ever released.
2007-03-08 Ethan Merritt <merritt@u.washington.edu>
* term/x11.trm (X11_filled_polygon):
Fix read beyond end of buffer found by valgrind.
* src/datafile.c (df_tokenise):
Fix uninitialized variable found by valgrind.
2007-03-07 Ethan Merritt <merritt@u.washington.edu>
* src/util3d.c (draw3d_line_unconditional): Check for user-defined
line styles when choosing colors for front/back of hidden surfaces.
Bugfix (back-ported from 4.3)
* src/color.c (draw_color_smooth) src/graph3d.c (do_3dplot cntr3d_lines)
src/misc.c (lp_use_properties): Do not fail to initialize the structure
passed to lp_use_properties().
Bugfix (back-ported from 4.3)
2008-03-07 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c (df_gets): Revert patch from 2008-03-04 because of
problems reported in the development version. Revisit after 4.2.3.
2008-03-04 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c (df_gets): Use readline() for reading inline data from
pseudofile '-'.
* src/graphics.c (boundary): Be more precise in estimating the vertical
space required to accommodate rotated tick labels on x and x2 axes.
Bug #1879907
* PATCHLEVEL configure.in src/version.c: Mark as patchlevel 3
* NEWS docs/gnuplot.texi: Update in preparation for 4.2.3
* share/Makefile.am: Correct error in generating distribution package.
2008-03-03 Ethan A Merritt <merritt@u.washington.edu>
* src/color.c (draw_color_smooth_box) src/unset.c (unset_axislabel):
Allow user to set colorbar label rotatation if the bar is vertical.
* src/datafile(adjust_binary_use_spec): Allow more than one binary
file in a single "plot" command.
2008-03-02 Ethan A Merritt <merritt@u.washington.edu>
* term/cgm.trm (CGM_set_color): Decouple dash type from line color.
Code clean-up. Use shared routines int_warn(), gp_alloc().
2008-03-01 Ethan A Merritt <merritt@u.washington.edu>
* term/cgm.trm (CGM_fillbox CGM_filled_polygon): Move the
management of fill styles and pm3d fill from CGM_fillbox() to
CGM_filled_polygon(). This is necessary because while boxes
and histograms call filled_polygon() via term->fillbox(),
the pm3d code calls term->filled_polygon() directly. Bugfix.
2008-02-29 Ethan A Merritt <merritt@u.washington.edu>
* src/set.c (set_format set_tics set_tic_prop) docs/gnuplot.doc:
Allow the tic format to be provided as a string variable.
Also introduce a format keyword for "set tics" and "set {axis} tics".
"set tics format 'foo'" is equivalent to "set format 'foo'"
"set ytics format 'baz'" is equivalent to "set format y 'baz'"
2008-02-26 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (map_position place_objects) src/graphics.h src/mouse.c
src/color.c: Change map_position() to return (int) x,y rather than
(unsigned int). Callers are modified accordingly. This avoids implicit
casting that breaks clipping calculations on ia64 and PPC.
This patchset fixes clipping of labels and rectangles. Bugfix.
2008-02-23 Petr Mikulik <mikulik@physics.muni.cz>
* src/os2/gclient.c: Use the font palette dialog instead of the standard
font selection dialog. Still switcheable via #define STANDARD_FONT_DIALOG.
SF #1773922 OS/2 PM-Termial broken font selection by Franz Bakan.
* config/makefile.cyg: Added GNUPLOT_PS_DIR and WIN_IPC.
* config/makefile.dj2 config/makefile.os2: Added GNUPLOT_PS_DIR.
* config/makefile.mgw: Added WIN_IPC.
* config/config.nt config/makefile.nt: Moved GIF_ANIMATION.
2008-02-22 Ethan A Merritt <merritt@u.washington.edu>
* term/pslatex.trm: Include entry point PS_path in the terminal tables
for epslatex, pslatex, and pstex. This fixes a bug due to the code in
color.c:draw_inside_color_smooth_box_postscript() not being able to sync
with the code in the terminal driver.
2008-02-20 Ethan A Merritt <merritt@u.washington.edu>
* src/graph3d.c (place_arrows3d): Save/restore the clipping area so
that splot doesn't trash the current clipping state. Bugfix.
* src/graphics.c (boundary): Reset the default clipping area to the
plot boundary at the start of every 'plot' command. This should not
be necessary, but it provides protection against a hypothetical instance
of int_error() in the middle of a save/draw/restore sequence.
2008-02-19 Ethan A Merritt <merritt@u.washington.edu>
* src/set.c (set_timestamp): Do not spin on unrecognized option. Bugfix.
2008-02-14 Ethan A Merritt <merritt@u.washington.edu>
* src/util.c (gd_strdup) src/set.c (set_decimalsign): Fix segfault due
to trying to free a string returned by getenv().
Bugfix.
2008-02-04 Ethan A Merritt <merritt@u.washington.edu>
* src/term.c (change_term): Allow terminals with similar names to
coexist (svg/svga/svgalib). Back-ported from 4.3.
2008-02-01 Daniel Sebald <daniel.sebald@ieee.org>
* src/datafile.c (df_readbinary): Fix off-by-one error in the implicit
"column 0" of non-matrix binary data files.
2008-01-28 Petr Mikulik <mikulik@physics.muni.cz>
* graph3d.c (map3d_getposition, map3d_position_r): Fix case of y graph
coordinate and splot_map.
2008-01-16 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (plot_image_or_update_axes): Do not clip 3D image data
against Z range if the plot mode is "set view map".
2008-01-13 Ethan A Merritt <merritt@u.washington.edu>
Backport fix for Bug #1850588
* src/datafile.c: Call add_tic_user with a tick type of -1 (a new flag
value) rather than 0 (major tick). This allows to distinguish between
tick labels read from a data file and those from the command line.
* src/axis.c (gen_tics): Treat tick type -1 the same as major ticks.
* src/set.c (prune_dataticks) src/setshow.h: New routine to purge any
axis tick labels left over from 'using xtics(n)' option of previous
plot command.
* plot2d.c (plotrequest): Call prune_dataticks() before each new plot.
2008-01-10 Ethan A Merritt <merritt@u.washington.edu>
* src/pm3d.c (pm3d_plot): When color information is given in a separate
column, we must not use the interpolated z coordinate as for color.
Bug #1783405
2008-01-10 Petr Mikulik <mikulik@physics.muni.cz>
* src/command.c (replot_command): Fix for replot with unknown terminal.
2008-01-10 Petr Mikulik <mikulik@physics.muni.cz>
* term/post.trm (PS_encode_image): Fix for maxcolors in "plot with
image".
2008-01-10 Daniel Sebald <daniel.sebald@ieee.org>
* src/hidden3d.c (store_polygon): Discard degenerate polygons.
Bug #1727198
2008-01-07 Allin Cottrell <cottrell@wfu.edu>
* term/pdf.trm (EMF_setfont): Add support for encodings
iso_8859_1 iso_8859_2 iso_8859_15 cp1250
2008-01-06 Allin Cottrell <cottrell@wfu.edu>
* term/emf.trm (EMF_setfont): Add support for encodings
iso_8859_2 cp1250 koi8r koi8u
2007-12-20 Ethan A Merritt <merritt@u.washington.edu>
* term/x11.trm: Fix 4.3-ism in patch of 2007-12-09.
2007-12-17 Lars Hecking <lhecking@users.sourceforge.net>
* share/Makefile.am: Gnuplot is generated by make and deleted by
'make clean'. Bring variable names in line with xorg.
2007-12-14 Ethan A Merritt <merritt@u.washington.edu>
* configure.in: Increase the chance that ./configure will correctly
find all the pieces of gnu libreadline under OSX 1.4.
2007-12-09 Ethan A Merritt <merritt@u.washington.edu>
* term/x11.trm: New option 'set term x11 linewidth LW'
2007-12-08 Ethan A Merritt <merritt@u.washington.edu>
* src/gplt_x11.c: Command line options -bw and -borderwidth were
being mapped to X Resource "borderwidth". It should be "borderWidth".
Also remove limitation that maximum linewidth is 4 pixels.
* share/Makefile.am: Rename Gnuplot.app-defaults to Gnuplot before
installing it. Bug #1784379
* src/graphics.c (place_rectangles): If the linestyle is LT_DEFAULT,
nevertheless check for an explicit linewidth for this rectangle.
Bug #1833429
2007-12-08 Petr Mikulik <mikulik@physics.muni.cz>
New options "front" and "back" to "set colorbox" to let the box be
drawn either after or below the image or surface.
* src/gadgets.h src/gadgets.c: New "layer" field in color_box_struct.
* src/graphics.c src/graph3d.c: Draw the colorbox at expected layers.
* src/save.c src/set.c src/show.c src/tables.h src/tables.c
docs/gnuplot.doc: The other necessary changes.
2007-12-01 Thomas Orgis <sobukus@users.sourceforge.net>
* src/gplt_x11.c (process_configure_notify_event): Test for failure of
window resize, and do not loop indefinitely trying to resize. Fixes
infinite loop problem on ion and fluxbox window managers.
Bug #1836959 #1614928
2007-11-25 Johannes Zellner <johannes@zellner.org>
* term/emf.trm: implemented pm3d and point types according to the
suggestion in term/README. (2006-12-07 patch to CVS trunk)
2007-11-25 Ethan A Merritt <merritt@u.washington.edu>
* term/estimate.trm: Never return a zero size estimate for a
non-empty string. Promote fraction characters to size 1.
2007-11-25 Vladimir <qva@users.sourceforge.net>
* term/svg.trm (SVG_init): Correct encoding names to koi8-r, koi8-u.
Bug #1838066
2007-11-23 Ethan A Merritt <merritt@u.washington.edu>
* term/fig.trm (FIG_boxfill): Update current color before drawing.
Bug #1837187
2007-11-22 Morten MacFly <mortenmacfly@users.sourceforge.net>
* config/config.nt: #define vsnprintf
2007-11-21 Allin Cottrell <cottrell@wfu.edu>
* term/emf.trm (EMF_filled_polygon): Do not alter original color
when processing filled areas with opacity < 1.0
2007-11-20 Ethan A Merritt <merritt@u.washington.edu>
* term/post.trm (RememberFont): Revert patch of 2007-10-23
Parenthesized font names are not compatible with enhanced text mode,
and anyhow PostScript fontnames should not contain any spaces.
2007-11-16 Ethan A Merritt <merritt@u.washington.edu>
* src/term.c (enhanced_recursion): Do not allow the '}' character in a
font name. Prevents PostScript badness from the following user error:
set label "Foo{/Symbol}Baz".
Bug #1833457.
2007-11-02 Ethan Merritt <merritt@u.washington.edu>
* src/internal.c (f_sprintf) docs/gnuplot.doc:
Remove limitation of 10 args max to internal function sprintf().
Bug #1753756.
2007-10-30 Christian Faulhammer (v-li@users.sourceforge.net)
* docs/doc2texi.el: Gentoo patch to allow for changed handling of
newlines in up-coming version of XEmacs. Needed in order to
regenerate gnuplot.texi on such a system.
Bug #1822610
2007-10-29 Petr Mikulik <mikulik@physics.muni.cz>
* docs/gnuplot.doc: Document option "pm3d depthorder" within
"help pm3d".
2007-10-23 Christer Lundberg <ssslub@users.sourceforge.net>
* term/post.trm: A font name containing spaces must be protected by
parentheses in PostScript output.
2007-10-05 Ethan Merritt <merritt@u.washington.edu>
* src/plot2d.c (eval_plots): Load first/second axis information into
the head of the label list for plot mode LABELPOINTS.
Bug #1807015
2007-10-02 Ethan Merritt <merritt@u.washington.edu>
* src/binary.c src/binary.h src/bf_test.c: Rename the routine vector()
to alloc_vector(). This avoids a conflict with the "vector" keyword on
PowerPC OSX with Altivec compiler options enabled.
Bug #1754164
2007-10-01 Ethan Merritt <merritt@u.washington.edu>
* src/graphics.c (bound_intersect): Fix a degenerate case in the
intersection test that caused a divide by zero.
Bug #1805697
2007-09-29 Hanno Hoffstadt <hannoh@users.sourceforge.net>
* term/Postscript/prologue.ps: Add an explicit 'closepath' before
filling a rectangle. This is not required by the language spec, but
works around a bug in Adobe Distiller 7 and Apple's Quartz Preview.
Bug #1771533
2007-09-28 Hanno Hoffstadt <hannoh@users.sourceforge.net>
* src/graphics.c (do_plot): It is necessary to call
term->previous_palette() at the end of any 2D plot or 3D plot
that used custom rgb colors.
Bug #1803337
2007-09-23 Ethan Merritt <merritt@u.washington.edu>
* src/axis.c (gen_tics): On log scale plots with very large range,
the minitic interval can overflow integer representation.
Bug #1797500
* term/gd.trm (PNG_image): gdImageGetClip was introduced in libgd
version 2.0.12. Don't try to use it if version is less than 2.
Bug #1790171
2007-09-01 Ethan Merritt <merritt@u.washington.edu>
Tag version 4.2.2 using command
cvs tag -c "Release_4_2_2"
Version 4.2.2 released via SourceForge. Any further commits to
this tree will be in 4.2.3 if such a version is ever released.
2007-08-31 Ethan Merritt <merritt@u.washington.edu>
The axis label bug is serious enough to warrant an updated release
IMHO. Obviously the release candidate for 4.2.1 didn't get enough
testing.
src/version.c PATCHLEVEL configure.in docs/titlepag.tex
Increment patchlevel to 2
2007-08-28 Ethan Merritt <merritt@u.washington.edu>
* src/graph3d.c (draw_3d_graphbox): Fix bug that caused axis labels
not to be drawn in 'set view map' mode. This was supposed to have been
applied 2007-03-14 but somehow never made it into cvs.
Serious bug in 4.2.1
2007-08-28 Ethan Merritt <merritt@u.washington.edu>
* src/graphics.c (plot_c_bars): Apply border color from
'set style fill' to filled candlesticks.
2007-08-26 Ethan Merritt <merritt@u.washington.edu>
Tag version 4.2.1 using command
cvs tag -c "Release_4_2_1"
Version 4.2.1 released via SourceForge. Any further commits to
this tree will be in 4.2.2 if such a version is ever released.
2007-08-25 Ethan Merritt <merritt@u.washington.edu>
* src/version.c src/syscfg.h src/Makefile.am src/win/pgnuplot.c
* src/show.c:
Update version and contact info for 4.2.1
2007-08-25 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/faq-ja.tex docs/README.ja docs/term-ja.diff:
Sync Japanese documentation to current version.
2007-08-25 Ethan Merritt <merritt@u.washington.edu>
* src/datafile.c (df_set_key_title): When a key title is loaded
from a datafile columnheader, apply or don't apply enhanced text
processing based on the setting of "set key {no}enhanced".
Bug #1712560
2007-08-20 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/gp_cairo.c (gp_cairo_fill_pattern): Do not use
negative coordinates to create hash patterns. This gives corruption
with recent cairo versions (1.4.10 for example). Instead create them
with rotations and scaling.
Also scale the linewidth of the patterns with PATTERN_SIZE instead
of its inverse.
2007-08-17 Ethan Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc: Remove extraneous {} from entry for 'set timestamp'.
2007-08-12 Ethan Merritt <merritt@u.washington.edu>
* src/color.c (cbtick_callback)
src/graph3d.c (xtick_callback ytick_callback ztick_callback)
src/graphics.c (xtick2d_callback ytick2d_callback):
The callback routines were testing for TC_DEFAULT in the wrong field
(colorspec.lt instead of colorspec.type).
Bug #1771240
* demo/electron.dem: Remove the "offset command", which is buggy, and
use a consistent x axis. Still need to fix the bug in offset, however.
Bug #1744139
2007-08-06 Petr Mikulik <mikulik@physics.muni.cz>
* term/x11.trm (X11_text): Fix conditionally missing {.
2007-08-04 Ethan Merritt <merritt@u.washington.edu>
* Tagged using command
cvs tag -c "Release_4_2_1-pre1"
* PATCHLEVEL src/version.c configure.in:
Increment version to Version 4.2.1
* docs/gnuplot.doc docs/gnuplot.texi: Revert leakage from
cvs branch (4.3) documentation into 4.2 documentation. In
particular, 4.2 does not support transparency or iteration.
* Makefile.am: Remove reference to obsolete README.exp
* missing: Nobody "really needs" makeinfo. Allow installs without it.
2007-08-04 Matthias Habl <mhabl@users.sourceforge.net>
* configure.in: Allow to configure from inside an emacs script.
Bug #1741156
2007-08-02 Ethan Merritt <merritt@u.washington.edu>
* src/command.c (read_line): Treat line extension consistently
for both interactive and non-interactive input paths. This is
Timothee Lecomte's version of the fix.
Bug #1753069.
2007-07-27 Dietmar Warning <dietmar.warning@arcor.de>
* term/win.c (WIN_enhanced_open): Avoid compiler warning.
2007-07-24 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot.doc: Fixed misprint in "3 multi-branch".
2007-07-24 Petr Mikulik <mikulik@physics.muni.cz>
* term/win.trm: Document reading of wgnuplot.ini in user's %APPDATA%
directory.
2007-07-17 Ethan Merritt <merritt@u.washington.edu>
* src/fit.c (fit_command):
Accept a string variable as the file name for "fit via <viafile>".
Bug #1755532
2007-06-21 Ethan Merritt <merritt@u.washington.edu>
Fix two special cases where gnuplot auto-increments the line type, but
does not check whether the user has requested user-defined line styles
instead (via "set style increment user").
* src/graph3d.c (do_3dplot cntr3d_lines): If the [default] option
`set clabel` is in effect then contours auto-increment over line types.
Check for prefer_line_styles at this point.
* src/graphics.c (do_plot plot_boxes): Columnstacked histograms auto-
increment over line types. Check for prefer_line_styles at thie point.
2007-06-17 Ethan Merritt <merritt@u.washington.edu>
* src/internal.c (f_sprintf): Remove any remaining escape sequences (%%)
from the tail of the format string after all of the input variables have
been processed.
Bug #1739625
2007-06-17 Ethan Merritt <merritt@u.washington.edu>
* src/save.c (save_tics): save [xyz]tics must not follow the "offset"
info with a bare number, because a negative number will be mis-parsed.
Bugfix.
2007-06-07 Ethan Merritt <merritt@u.washington.edu>
* src/unset.c (unset_label): Do not treat "unset label <n>" as a fatal
error just because label <n> is not currently defined. Bug #1732706
* term/post.trm (PS_load_fontfile): Add missing %. Bug #1732991
2007-06-06 Petr Mikulik <mikulik@physics.muni.cz>
* docs/gnuplot.doc: Hotkey 'q' does not close the pm terminal.
2007-06-04 Petr Mikulik <mikulik@physics.muni.cz>
* term/djsvga.trm: Unify color sequence comply with other terminals.
Fix DJSVGA_set_font(fontname) for an empty fontname.
* src/plot.c (main): Avoid printing "??Unknow" as the System welcome
message under some versions of DOS (compilation by DJGPP).
* config/config.dj2 config/makefile.dj2: Updated Makefile for djgpp
using a config.h file.
2007-06-03 Petr Mikulik <mikulik@physics.muni.cz>
* src/history.c (write_history_n): Cannot use int_error() when exiting
gnuplot.
2007-06-03 Petr Mikulik <mikulik@physics.muni.cz>
* config/config.amg config/config.cyg config/config.mgw: Removed
PNG_FOR_GIF.
* config/makefile.cyg config/makefile.mgw: Removed PNG_FOR_GIF and GIF.
Write requirement for gd 2.0 and newer. Enable GIF_ANIMATION and JPEG.
2007-06-01 Ethan Merritt <merritt@u.washington.edu>
* INSTALL: Remove obsolete instructions for unix builds without
./configure, old png driver.
2007-05-31 Petr Mikulik <mikulik@physics.muni.cz>
* src/command.c (pause_command): On Windows, Gnuplot always bailed to
command line after "pause mouse".
Print the message of "pause <message>" into the gnuplot terminal
unless for "pause -1 <message>" (message box).
2007-05-28 Ethan Merritt <merritt@u.washington.edu>
* src/set.c (set_decimalsign): Follow POSIX standard with regard to
finding the value of LC_NUMERIC from the environment. Use the first
match to LC_ALL, LC_NUMERIC, or LANG.
Bug #1692541
2007-05-25 Ethan Merritt <merritt@u.washington.edu>
* term/latex.trm: Add an explicit size option; clarify documentation.
set terminal {latex | emtex} {default | {courier|roman} {<fontsize>}}
{size <XX>{unit}, <YY>{unit}}
This brings the latex terminal into line with other terminals in 4.2
2007-05-23 Ethan Merritt <merritt@u.washington.edu>
* term/svg.trm: Give font sizes explicitly in pt units.
* term/svg.trm: Subscript/superscripts position must be done using
relative offsets, not absolute offset. Otherwise it prematurely
terminates the scope of the surrounding "chunk" of text.
* Make a concession to non-compliant svg viewers and clean up the scope
of tspan elements. Many current generation svg viewers do not implement
"em" space units. To coddle these, we back off to approximating
1 em == (1.1 * fontsize)pt
2007-05-22 Petr Mikulik <mikulik@physics.muni.cz>
* src/command.c (pause_command): On Windows, "pause -1" does not work
if it is the 1st command in a script. Bug #1713350.
2007-05-22 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.cpp (wxt_sigint_restore): properly pass a
pointer to signal().
2007-05-19 Ethan Merritt <merritt@u.washington.edu>
* src/plot2d.c (get_data) src/graphics.c (plot_lines):
Allow 2D plots "with lines lc rgb variable".
Bug #1720032
2007-05-16 Daniel Sebald <daniel.sebald@ieee.org>
* src/gplt_x11.c (image creation): Adjust image line pad according to
image data width in XCreateImage(). Bug #1716389.
2007-05-14 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/command.c (fgets_ipc): Fix fgets_ipc so that it behaves like
fgets (always NUL-terminate the returned string).
Bugs #1716556 and #1673352
2007-05-09 Ethan Merritt <merritt@u.washington.edu>
* src/color.d (ifilled_quadrangle): Initialize line style before
setting color. Bug #1715480
* src/misc.c (lp_use_properties): Pay attention to the point flag
even if we fall through to a default line type. Bug #1715480
2007-05-07 Ethan Merritt <merritt@u.washington.edu>
* term/aquaterm.trm (AQUA_options): Allow terminal window ID to come
from a variable. Bug #1714070
2007-05-05 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.cpp (wxtThread::Entry):
Fix the initialization of a sigset_t. The structure is not meant to be
known, functions are provided instead. The previous code was
completely wrong on non GNU systems.
2007-05-04 Daniel Sebald <daniel.sebald@ieee.org>
* term/gd.trm (PNG_image): Fixed an image clipping bug in x dimension.
2007-05-04 Ethan Merritt <merritt@u.washington.edu>
* src/graph3d.c (key_sample_point_pm3d): The sample point in the key
failed to note an explicit "lc rgb 'foo'" in the plot command, leading
to a color mismatch between the plot and the key. Bugfix.
2007-04-25 Ethan Merritt <merritt@u.washington.edu>
* src/graph3d.c (do_3dplot): Correct Z coordinate of xyplane for log
scale on Z. Bug #1703370.
2007-04-24 Ethan Merritt <merritt@u.washington.edu>
* term/x11.trm (X11_text): term_reset() tries to close down all files
and pipes cleanly. But it called on exit, the pipe to gnuplot_x11 may
already be closed. Don't try to write to it. Bug #1706945.
2007-04-17 Ethan Merritt <merritt@u.washington.edu>
* term/post.trm: Change the default to "blacktext" for the TeX-based
terminal variants (pstex pslatex epslatex). This is more in line with
the behaviour in versions 4.0 and earlier. In particular it means that
the default settings do not require you to include the color.sty
package.
2007-04-01 Ethan Merritt <merritt@u.washington.edu>
* src/util.c (gprintf): Accept the ' format specifier, which
asks for digits to be grouped and separated according to the current
locale. We just pass it on to the C library for application.
Bug #1692550
2007-03-27 Ethan Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc: Cross-reference 'set datafile fortran'.
2007-03-23 Ethan Merritt <merritt@u.washington.edu>
* src/color.h src/graphics.c (plot_image_or_update_axes)
term/pdf.trm (PDF_filled_polygon) src/color.c (filled_quadrangle
filled_polygon_3dcoords filled_polygon_3dcoords_zfixed):
Change gpiPoints to contain signed x,y values. This is what the
explanatory comment always implied ("same as in gd.h"), but it
wasn't true. The change fixes several image and polygon clipping
problems, including segfaults in the pdf driver. It also fixes
broken filledcurves on 64-bit machines.
Bug #1612502
2007-03-21 Daniel Sebald <daniel.sebald@ieee.org>
* src/graphics.c (boundary): The change of 2007-02-25 overlooked the
2D plots having palettes that also required setup_tics(COLOR_AXIS,).
Bug #1684789
2007-03-21 Ethan Merritt <merritt@u.washington.edu>
These are mostly trivial patches that went into CVS soon after the
code freeze for 4.2
* src/graphics.c (plot_impulses plot_points plot_dots)
src/plot2d.c (get_data store_2dpoint store_label):
Allows a third column of data containing color info to be used in
2D plots (points/dots/impulses/labels),
* term/gd.trm (PNG_image) term/pdf.trm (PDF_image)
term/post.trm (PS_image)
src/wxterminal/gp_cairo.c (gp_cairo_draw_fillbox gp_cairo_draw_image):
Teach gd pdf post and wxt terminals to clip images using the
bounding box info passed in corners[2] and corners[3] via term->image().
* term/pdf.trm (PDF_SetFont): Trap errors from PDF font selection,
making it non-fatal.
* src/axis.c (get_position_default):
Reduce the problem of trailing comma after 2D offset.
* src/graph3d.c (plot3d_impulses): splot with impulses lt rgb variable.
* src/graphics.c (do_key_sample):
If the length of a boxplot sample in the key is set to zero, do not
draw it at all. Without this patch, a spurious vertical line appears
in the key if the fillstyle includes a border.
* term/svg.trm (SVG_PathLimit SVG_MoveForced):
Avoid ridiculously long paths by limiting total path length to 512.
* src/util3d.c (draw3d_line_unconditional): Clip line segment.
Fixes segfault when line segment endpoint went negative in bitmap.c
Bug #1649887
* src/graph3d.c (do_3dplot draw_3d_graphbox):
Add special-case tests to insure that the plot border is drawn either
back or front (in front of the grid) when splot_map is set.
Bug #1655001
* term/gd.trm (PNG_vector): Grid lines (linetype 0) were always
treated as alternating black/white/black/white. Change this to
alternating current_color/transparent/current_color/transparent.
Bug #1655001
* src/set.c (parse_label_options):
Make sure that there is a default point type, so that
'set label <n> point' does in fact draw an acceptable point.
* src/datafile.h src/datafile.c (df_reset_after_error)
src/util.c (int_error):
The routines in datafile.c use local variables to track the context of
expression evaluation; e.g. expressions may only reference data column
values inside a `using` statement. But the state of these context
variables is corrupted if an error exit bails directly to the command
line, thus bypassing the normal execution path. Therefore we provide a
routine df_reset_after_error() to be called from int_error().
* src/eval.c docs/gnuplot.doc:
Allow strcol() and shorthand for stringcolumn()
* src/unset.c (unset_style):
Add missing command "unset style line <n>".
* term/gd.trm (PNG_init):
The color palette indexing of the brush is not necessarily the same as
that of the main image. Set initial color index to something invalid so
that we force an update on first use.
Bug #1673316
* src/term.c (init_term):
Normally we initialize the default terminal on program entry. However,
if the default is x11 then defer initialization until an actual plot
command. This mitigates problems if gnuplot_x11 cannot be started
normally, and allows the user to select a different driver in the case
that x11 is the default but is broken.
Bug #1530601
* src/win/winmain.c (appdata_directory):
WinNT can segfault if APPDATA is missing from the environment.
2007-03-03 Ethan Merritt <merritt@u.washington.edu>
* PATCHLEVEL src/version.c configure.in docs/gnuplot.texi:
Tag and package for release of 4.2 patchlevel 0
* docs/titlepage.tex: Update
2007-02-27 Ethan Merritt <merritt@u.washington.edu>
* src/graphics.c: Remove spurious #ifdef that was masking the code to
allow room for subscripts or superscripts when placing the x-axis label.
Bug #1669038
2007-02-26 Ethan Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc: Add mention of "set multiplot title <page-title>".
* term/metapost.trm: Add missing terminal flag.
2007-02-25 Petr Mikulik <mikulik@physics.muni.cz>
* src/color.c (draw_color_smooth_box) src/plot3d.c (eval_3dplots):
Call setup_tics(COLOR_AXIS, 20) at the same place as setup_tics(...)
for all other axes. Until now it was called much later during color box
drawing where it could change the colour axis min or max by rounding it
to lower/upper tics step.
2007-02-22 sobukus@users.sourceforge.net
* m4/apha.m4: Fix syntax of configuration test for gcc on alpha
2007-02-21 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/faq-ja.tex: Sync Japanese documentation
to current version.
2007-02-18 Petr Mikulik <mikulik@physics.muni.cz>
* src/pm3d.c (pm3d_plot): Use the z-averaging also for flushed
triangles.
2007-02-17 Petr Mikulik <mikulik@physics.muni.cz>
* docs/gnuplot.doc: Updates in dgrid3d and contours sections.
2007-02-13 Ethan Merritt <merritt@u.washington.edu>
* src/graphics.c (boundary): Do not apply log scale range checks to
colorbar and palette unless these really are used in the plot.
Bug #1659059
* docs/gnuplot.doc docs/gnuplot-ja.doc: Clarify the section on
'set log', and remove an empty entry point for 'set log cb'.
2007-02-11 Petr Mikulik <mikulik@physics.muni.cz>
* src/command.c (pause_command): On Windows, cannot wait for Enter
in "pause -1" in a non-interactive session without the graph window.
2007-02-10 Petr Mikulik <mikulik@physics.muni.cz>
* src/command.c (pause_command): On Windows, wait for Enter in console
instead for a mouse click in a special window if the graph window is
not (yet) present.
2007-02-09 Ethan Merritt <merritt@u.washington.edu>
* term/README: Fix confusing typo in TERM_TABLE layout description.
2007-02-10 Petr Mikulik <mikulik@physics.muni.cz>
SF #1651350 win terminal: pause mouse key|any does not work
* src/mouse.c (event_keypress): Kill pending Pause dialog.
* src/win/wpause.c (PauseBox): Don't show "OK CANCEL" dialog when
pausing for mouse.
2007-02-09 Daniel Sebald <daniel.sebald@ieee.org>
* term/pdf.trm (PDF_point): Point type 1 was incorrectly drawn as a dot.
Bug #1656433
2007-02-10 Juergen Wieferink <wieferink@freenet.de>
* src/plot.c (main): Flag 'interactive' not reset to FALSE after running
command "gnuplot - nonExistingScript.gp". On some platforms, gnuplot
cannot 'exit' and goes to an infinite loop after Ctrl-D.
Bug #1612995
2007-02-09 Petr Mikulik <mikulik@physics.muni.cz>
* docs/gnuplot.doc: Add a dummy label for "3 data style" to avoid bug
in doc2gih (try "help contour").
2007-02-08 Petr Mikulik <mikulik@physics.muni.cz>
* src/plot3d.c (eval_3dplots): Improved message for non-grid data.
2007-01-31 Ethan Merritt <merritt@u.washington.edu>
* term/gd.trm (ENHGD_FLUSH): libgd 2.0.34 will allow explicit request
for Adobe Symbol font encoding. Make use of this to handle transient
use of Symbol font in enhanced text. Does not affect older gd versions.
2007-01-29 Per Persson <persquare@mac.com>
* configure.in: Testing libreadline for remove_history presence
instead of readline to avoid incompatible libedit wrapper.
2007-01-26 Petr Mikulik <mikulik@physics.muni.cz>
* term/post.trm: Typo in docs.
2007-01-24 Ethan Merritt <merritt@u.washington.edu>
* src/hidden3d.c (build_networks): Add checks in the hidden3d code to
cleanly skip empty plots. This fix went into the trunk CVS 2 months
ago, but apparently is needed in 4.2 also (test case provided by a
user).
2007-01-23 Ethan Merritt <merritt@u.washington.edu>
* configure.in: The libreadline checks got mangled. Bad patch?
This fixes the breakage, and adds a warning if gd.h is not found.
* PATCHLEVEL src/version.c configure.in:
Tag and package as release candidate 4.2-rc4
2007-01-22 Ethan Merritt <merritt@u.washington.edu>
* PATCHLEVEL src/version.c configure.in:
Tag and package as release candidate 4.2-rc3
2007-01-22 Petr Mikulik <mikulik@physics.muni.cz>
* configure.in: Let the GNU readline be the default instead of the
built-in readline. Improved messages for --with-readline.
2007-01-20 Petr Mikulik <mikulik@physics.muni.cz>
* plot3d.c (plot3drequest): Deactive splot_map when reading [y1:y2]
argument of splot. Fixes axis reversal of set view map;splot [] [y1:y2].
2007-01-19 Petr Mikulik <mikulik@physics.muni.cz>
* demo/pm3d.dem: Better title for plots with scans forward and
backward.
2007-01-14 Ethan Merritt <merritt@u.washington.edu>
* src/gplt_x11.c (pr_encoding) term/x11.trm share/Gnuplot.app-defaults:
Gnuplot_x11 has been using a default encoding *-* for x11 fonts. There
is a bug in xorg-7.1 that causes this to fail. So we now provide an
optional X-resource that can be used to set the default encoding to
something else. E.g.:
echo "gnuplot*encoding: iso8859-15" | xrdb -merge
2007-01-10 Ethan Merritt <merritt@u.washington.edu>
* src/gplt_x11.c (PaletteSetColor): Update current color in
plot->current_rgb when setting color from a Palette. Bugfix.
2007-01-09 Ethan Merritt <merritt@u.washington.edu>
* docs/gnuplot.texi: Sync with current docs
2007-01-06 Ethan Merritt <merritt@u.washington.edu>
* term/gd.trm: Add error return check after calling gdImageCreate. This
was not a useful check in earlier versions of libgd, but 2.0.34 will
introduce serious sanity checking at the time of image creation.
2006-12-31 Ethan Merritt <merritt@u.washington.edu>
* docs/term-ja.diff: Sync with current terminal source files.
2006-12-28 Daniel Sebald <daniel.sebald@ieee.org>
* src/datafile.c (isanumber_pn, isatuple, token2double):
Removed these functions as they repeat behavior of and somewhat
inconsistent with real(const_express()).
(plot_option_array): Use : instead of , for separator between elements.
(token2tuple): Use real(const_express()) to parse image parameters.
This allows variables to be used in image specs.
(plot_option_comma_separated): Changed "comma_separated" to
"multivalued" everywhere. Changed the separator to a colon rather than
a comma since the comma conflicts with the separator between multiple
plots within a plot command. The colon is also more consistent with the
separator used in other commands like "using".
* demo/image.dem: Replaced , with : in appropriate places.
Bug #1590658
2006-12-24 Ethan Merritt <merritt@u.washington.edu>
* term/svg.trm: Remove unused variable to quiet compiler warnings.
2006-12-23 Ethan Merritt <merritt@u.washington.edu>
* src/graph3d.c (draw_3d_graphbox): Honor 2D setting for bmargin
in 3D plots with "set view map".
* configure.in: I still can't spell "COMPATIBLE"
2006-12-21 Ethan Merritt <merritt@u.washington.edu>
* term/gd.trm (PNG_graphics) docs/gnuplot.doc:
Announce deprecation of "set size" to control output canvas size.
Document the intended difference:
set term ... size XX,YY controls size of canvas
set size XX,YY scales relative to the canvas
Warn that png/gif/jpeg (and pbm pdf) terminals honor old syntax for now,
but will require explicit 'set term size ...' in post-4.2 versions.
2006-12-16 Ethan Merritt <merritt@u.washington.edu>
* src/datafile.c (df_tokenise df_parse_string): Allow for quoted
strings in comma-separated value files.
Bug #1614424
* src/graph3d.c (draw_3d_graphbox): Honor 2D front/back settings
for axis, grid, and border elements in 3D plots with "set view map".
2006-12-15 Ethan Merritt <merritt@u.washington.edu>
* configure.in: Fix spelling of BACKWARDS_COMPATIBLE
2006-12-10 Daniel Sebald <daniel.sebald@ieee.org>
* src/README src/graphics.c (plot_image_or_update_axes):
Augmented sign tests for determining image pixel orientation with the
terminal scales in the x and y dimensions.
Bug #1589589
2006-12-09 Ethan Merritt <merritt@u.washington.edu>
* src/plot3d.c (get_3ddata): If the first data file is non-empty but
has no usable data, then auto-scaling fails. Instead of a fatal error,
just print a warning and try to plot subsequent data files.
Bug #1610430
* demo/borders.dem: Replace deprecated syntax defined(bb) with
exists("bb").
* configure.in: Make the selection of backwards-compatibility an
explicit option. We have been enabling it without even asking.
Now you can disable it if you want to.
Defaults to --enable-backwards-compatibiliy
2006-12-08 Ethan Merritt <merritt@u.washington.edu>
* src/set.c (set_tic_prop) src/save.c (save_tics): NO_TICS is
a bitmask value, not an integer constant. All tests for NO_TICS
must be masked through TICS_MASK.
Bug #1611764
2006-12-07 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in: Fix use of --without-kpsexpand
2006-11-24 Ethan Merritt <merritt@u.washington.edu>
* docs/term-ja.diff: Update patch to match 4.2-rc2 driver source.
2006-11-28 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in: Fix bug in --{en|dis}able-wxwidgets
* src/wxterminal/wxt_gui.cpp:
* src/wxterminal/wxt_gui.h:
Allow building with wxMac, in addition to wxMSW and wxGTK.
2006-11-24 Ethan Merritt <merritt@u.washington.edu>
* PATCHLEVEL configure.in src/version.c docs/gnuplot.texi:
Update in preparation for second release candidate 4.2-rc2.
* term/svg.trm: Back out the raw/escaped option. It needs more thought.
2006-11-23 Mike Sutton <mws116@usa.com>
* term/gd.trm (PNG_init PNG_vector PNG_point): Fix off-by-one error
in specifying brush definitions that control line width.
2006-11-22 Ethan Merritt <merritt@u.washington.edu>
* term/pdf.trm (PDF_graphics): The multiplier from 'set size' was being
applied twice, so the resulting plot scaled as the square of the size.
Apply it only once, to the plot, not to the canvas.
* term/pbm.trm (PBM_graphics PBM_options): Decouple 'set size' from
'set term pbm size XX,YY'. The latter will always yield an XX,YY image.
Maintain (pre-4.2) behaviour if no explicit terminal size is given.
2006-11-19 Ethan Merritt <merritt@u.washington.edu>
* config/makefile.mgw term/PostScript/prologue.ps PostScript/prologues.h
term/post.h: Update version number 4.1 -> 4.2 in several places.
* term/fig.trm (FIG_set_color): TC_LT was handled incorrectly.
Bug #1599346
* src/misc.c (lp_use_properties): Remove annoying warning messages.
2006-11-18 Ethan Merritt <merritt@u.washington.edu>
* term/fig.trm (FIG_filled_polygon) term/tgif.trm (TGIF_filled_polygon)
term/pstricks.trm (PSTRICKS_filled_polygon): These terminals were
issuing a spurious warning message if term->filled_polygon() was called
without a color palette having been initialized. It is perfectly fine
to fill a polygon with other types of colorspec.
2006-11-17 Ethan Merritt <merritt@u.washington.edu>
* term/cgm.trm (CGM_set_color): Fix stupid typo in array bounds check.
2006-11-16 Ethan Merritt <merritt@u.washington.edu>
* src/plot2d.c (eval_plots): Giving a title for "newhistogram" is
documented as optional. Do not return an error if it is missing.
* INSTALL: Add mention of patches needed for Ultrix compilation.
2006-11-15 Ethan Merritt <merritt@u.washington.edu>
* graphics.h graphics.c (place_rectangles) graph3d.c:
Add a parameter to place_rectangles that indicates with certainty
whether this is a 2D plot or a 3D plot.
Allow rectangles in splot if they are specified in screen coords.
Also, insure that 'set view map' does not affect 2D plots.
Bug #1596313
2006-11-12 Ethan Merritt <merritt@u.washington.edu>
* src/save.c (save_set_all): The gpsavediff script strips out lines
from a gnuplot save file if the options they describe have not changed
from the default. We can help this simplification by writing
infrequently used suboptions on a separate line. Also change saved
command 'set key nobox' to match documented syntax.
2006-11-10 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/win/wpause.c:
* src/win/wtext.c:
* src/wxterminal/wxt_gui.cpp:
* src/wxterminal/wxt_gui.h:
* src/wxterminal/wxt_plot.h:
Rework and simplify the event handling from the wxt terminal on
Windows. Remove hooks from the wxt terminal in the Windows files.
* src/plot.c (main):
* src/plot.h:
Introduce a boolean to track the use of "-persist" on the command line.
Remove WXWIDGETS-specific code. Call term_reset() using GP_ATEXIT().
* src/wxterminal/Makefile.am:
* src/wxterminal/wxt_plot.h:
Remove the file wxt_plot.h, now unused.
* src/wxterminal/wxt_gui.cpp (wxt_init, wxt_atexit):
* src/wxterminal/wxt_gui.h:
Use GP_ATEXIT() to register wxt_atexit().
Rework "persist" behaviour on Windows.
* configure.in:
* wxt_gui.cpp (wxt_atexit):
* wxt_gui.h:
Use fork() to make the "persist" behaviour satisfying on UNIX.
2006-11-07 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.cpp (wxtPanel::DrawToDC): Draw the zoom
coordinates with the same font as the plot.
2006-11-04 Ethan Merritt <merritt@u.washington.edu>
* term/x11.trm (parse_driver): If this routine fails on first entry, we
must not call int_error() because the longjump has not been set up yet.
I.e. "setenv GNUPLOT_DRIVER_DIR illegal; setenv GNUTERM x11; gnuplot"
would segfault on entry. Just a print warning and hope the user notices.
2006-11-03 Ethan Merritt <merritt@u.washington.edu>
* src/datafile.c (df_readline): If the datafile we are supposedly
reading from was never opened, simply return DF_EOF. This relieves the
caller from having to check this separately before calling df_readline.
* src/datafile.c (df_open); If the datafile cannot be opened, set
df_eof and return DF_EOF. FIXME: Having both methods is stupid; we
should just get rid of df_eof and use the return value.
* src/graph3d.c (do_3dplot draw_3d_graphbox) src/graphics.c (do_plot):
* src/plot3d.c (eval_3dplots):
Do a better job of skipping over plots marked NODATA. In particular do
not try to scan their data for scaling or plot limits, and do not place
an entry in the key box.
Bug #1579867
2006-11-03 Ethan Merritt <merritt@u.washington.edu>
* src/datafile.c (df_readbinary): Fix error in logic of 2D and 3D
rotation matrix initialization.
2006-11-01 Ethan Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc: Add an entry key for "help file", because otherwise
this takes you to a section on avs binary format (confusing).
2006-10-28 Ethan Merritt <merritt@u.washington.edu>
* src/show.c (show_ticdef) src/save.c (save_tics): Sace/show textcolor
of tic labels correctly for cases other than a pure linetype (TC_LT).
Bug #1586427
2006-10-22 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* src/graphics.c (plot_image_or_update_axes): Operator | is
forbidden on real C99 booleans. Use || instead.
* src/datafile.c (df_readbinary): Operator | is forbidden on real
C99 booleans. Use || instead.
* src/axis.c (setup_tics): Operator & is forbidden on real C99
booleans. Use && instead.
* config/makefile.oww (WCFLAGS): Add -za99 to enable _Bool type in
recent versions of OpenWatcom.
(default): Mark .SYMBOLIC for wmake.
(texticon.ico): Avoid endless rebuild by copying the generation
command.
2006-10-21 Ethan Merritt <merritt@u.washington.edu>
* src/datafile.c (df_open): Fix bug limiting the options for reading a
plot key label from the data file; now allow title subcommand:
plot foo using 1:(column(N)) title column(N)
* src/plot2d.c (get_data): Add #ifdef EAM_HISTOGRAMS to a section that
prevented configuration with --disable-histograms
2006-10-21 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in: Rework the summary displayed at the end of the
'configure' script, so that it is more complete, useful, consistent and
still readable.
2006-10-20 Bernhard Simon
* src/color.c (make_palette): Add missing stderr parameter in
FPRINTF debugging statements.
2006-10-17 Ethan Merritt <merritt@u.washington.edu>
* term/svg.trm: option to control treatment of non-ascii characters
"set term svg raw" - pass them through unaltered
"set term svg escaped" - replace byte-by-byte with &#xNN;
* configure.in: Print a warning if snprintf() is not found during auto-
configuration. Recommend that the user provide snprintf() via an
external version.
2006-10-15 Ethan Merritt <merritt@u.washington.edu>
* term/gd.trm: Switch to Unicode-compatible representation of octal
characters given as \xxx in a single-quoted test string.
Bug #1534649
2006-10-14 Ethan Merritt <merritt@u.washington.edu>
* term/svg.trm (SVG_options): Do not reset terminal options to default
values if invoked from `set termoption` rather than `set terminal`.
Bug #1534649
2006-10-13 Ethan Merritt <merritt@u.washington.edu>
* demo/rgb_variable.dem: Some platforms do not allow you to read a
hexadecimal constant via strtod(). This prevents reading RGB colors as
hexadecimal constants. Add a test for this, and print a warning.
Bug #1574814
* term/gplt_x11.c: Place #ifdef HAVE_STRDUP protection around a code
section that uses it to send signals to the KDE konsole.
Older systems may not provide strdup(), but they also don't run KDE.
Even if they did, the code in question is hardly a required feature.
Fixes compile problem on Ultrix.
2006-10-12 Ethan Merritt <merritt@u.washington.edu>
* term/svg.trm: Replace -rc1 svg driver with the version from cvs
12 Oct 2006. This changes the handling of escaped characters and
characters given as octal constants. Bug #1575007
2006-10-12 Daniel Sebald <daniel.sebald@ieee.org>
* docs/gnuplot.doc: Small corrections.
* term/post.trm (PS_encode_image): Added gamma correction for images
using a PostScript transfer function. SF Patch [1575425].
2006-10-11 Petr Mikulik <mikulik@physics.muni.cz>
* src/command.c (test_palette_subcommand): Fixed order of set tics
commands.
2006-10-10 Ethan A Merritt <merritt@u.washington.edu>
* m4/alpha.m4: Have the new macro use __alpha as the basis for the
test. Checked on Digital Unix 4.0D and Tru64 V5.1
2006-10-10 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* m4/alpha.m4: New macro GP_ALPHA. Try to auto-detect if
compilater targets DEC Alpha/AXP CPU. If so, add -mieee or -ieee
flag to CFLAGS to avoid FPU weirdness.
* configure.in (GP_ALPHA): Call new macro.
2006-10-08 Petr Mikulik <mikulik@physics.muni.cz>
* NEWS README.1ST src/version.c: Updates.
2006-10-08 Daniel Sebald <daniel.sebald@ieee.org>
* demo/borders.dem: Place all 16 plots on one multiplot.
* demo/all.dem: Put borders.dem inside all.dem.
2006-10-08 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* docs/gnuplot.doc: Fix gotcha in list of alignment
options in 'at <position>' case.
2006-10-05 Ethan A Merritt <merritt@u.washington.edu>
* src/term.c (change_term): For backward compatibility, allow
"set term X" as shorthand for "set term x11".
2006-10-04 Ethan A Merritt <merritt@u.washington.edu>
* tutorial/eg7.plt: Make sure no local encoding is in effect, since
the corresponding TeX package is probably not going to be loaded.
* term/post.trm (PS_vector): Fix breakage introduced by Bugfix #1542050.
The path length must not be set to 0 without issuing a stroke command,
otherwise the current path may never be flushed at all.
2006-10-03 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* src/graph3d.c (place_arrows3d): Clip arrows even in 3D. Patch
from Harald Harders (SF #1569232).
2006-10-02 Ethan A Merritt <merritt@u.washington.edu>
* share/LaTeX/Makefile.am: If ./configure has determined that TeX is
not installed on this machine, do not try to install gnuplot.cfg
in the TeX directory tree.
Bug #1569033
2006-10-02 Daniel Sebald <daniel.sebald@ieee.org>
* docs/gnuplot.doc: Changed documentation for image to reflect fact
that uniform sampling is assumed. Fix other typos.
2006-10-01 Ethan A Merritt <merritt@u.washington.edu>
* docs/gnuplot.texi docs/doc2texi.el docs/gnuplot.doc:
Update version number to 4.2 and date to 2006
2006-10-01 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* PATCHLEVEL: Mark for first release candidate. 4.2-rc1
* VERSION: Bump to version 4.2.
2006-10-01 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* configure.in (AC_INIT, AM_INIT_AUTOMAKE, AC_CONFIG_SRCDIR):
Changed to allow automake version to be checked. Avoid annoyingly
frequent problems from CVS users who just have too ancient
automakes, but only detect that by showing us obscure error
messages. Required automake may have to be increased still.
2006-09-28 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_plot.h: Fix compilation on Windows, where syscfg.h
has to be included for TBOOLEAN to be defined in wtext.c
2006-09-26 Juergen Wieferink <wieferink@freenet.de>
* src/graphics.c (plot_betweencurves): If the input file contains a
blank line, terminate current filled area and start a new one.
Unfortunately it is not currently possible to distinguish between a
blank line and an invalid/missing coordinate.
* src/plot2d.c (get_data): Add comments to document the problem of
distinguishing a blank line from an invalid data point. (EAM)
Bug #1563430
2006-09-24 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/faq-ja.tex: Sync Japanese documentation,
SF Patch [1519215].
2006-09-23 Ethan A Merritt <merritt@u.washington.edu>
* src/pm3d.c (set_plot_with_palette): It used to be that all plots
needing a colorbox had pm3d_color.type == TC_DEFAULT. This is no
longer true, so add a more specific check on whether a colorbox is
needed. Bugfix.
2006-09-23 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.cpp (wxtPanel::OnSize): Clean floating-point
comparison nonsense.
2006-09-22 Juergen Wieferink <wieferink@freenet.de>
* term/post.trm (PS_vector): To avoid accummulated error in a long
series of relative moves or draws, we were issuing a "stroke" command
periodically to force an update of the absolute position. This has the
bad side affect of resetting the current dot/dash pattern. Fix this so
that instead of using "stroke", we simply force an absolute vector
before continuing. This avoids accummulated error but does not reset
the dot/dash pattern.
Bugfix #1542050
2006-09-21 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in: Bump required version of wxWidgets to 2.5.3 for the
wxt terminal.
* src/wxterminal/wxt_gui.cpp (DrawToDC): Fix double cast warnings.
Fix a lazy constructor that seems not to be accepted on all setups.
2006-09-19 Ethan A Merritt <merritt@u.washington.edu>
* src/show.c (disp_value): Force clean printout of "NaN" on save,
print, or show commands. Without this, the value is printed as
"nan.0", which is not parsable by set or load commands. Bugfix
#1544347
2006-09-16 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in: Rework the checks for cairo and pango so that the error
messages are more helpful, mostly by copying the defaults pkg-config
messages and making them non-fatal.
Revert the minimum version of pango to 1.10.0 but refuse to compile the
wxWidgets terminal with pango 1.10.2.
2006-09-16 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* docs/gnuplot.doc (set format): Make documentation for missing
<axes> argument match actual behaviour.
2006-09-15 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.cpp (DrawToDC): Fill in gray the empty space
that has been let by a change in the aspect ratio of the window.
* trm/wxt.trm (TERM_HELP): Try to document the window resize behaviour
a little better.
2006-09-14 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in: Bump the required version of pango to 1.10.3 to fix a
bug in earlier versions about scaling matrix not being applied properly
to the fonts.
2006-09-12 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* docs/gnuplot.doc (format specifiers): Fix typo in one example.
2006-09-11 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.cpp (wxtConfigDialog::OnButton):
* src/wxterminal/wxt_gui.h (wxt_settings_queue, wxt_settings_apply):
Queue the modified rendering settings instead of applying them right
away, so that the plot is not messed up during a window resize.
2006-09-10 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/gp_cairo.c (gp_cairo_draw_text): Fix the use of the
Symbol font in non-enhanced mode, a peace of code was not pasted
properly.
* src/wxterminal/wxt_gui.cpp (wxt_set_font): Fix the use of a
non-initialized integer as the fontsize.
2006-09-10 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc: Sync Japanese documentation to recent changes in
English files. SF Patch [1519215], rev.1.385.
2006-09-01 Juergen Wieferink <wieferink@freenet.de>
* src/command.c (string_expand): Fix segfault if a truly enormous
string is to be used as an input line.
2006-09-01 Petr Mikulik <mikulik@physics.muni.cz>
* docs/gnuplot.doc: Edits of the "What is new in gnuplot 4.2".
* docs/gnuplot.doc term/x11.trm: Comments on 'raise' does not raise.
2006-08-30 Harald Harders <h.harders@tu-bs.de>
* src/graphics.c (place_arrows): Allow for terminal-specific clipping,
exactly as done elsewhere in the code.
2006-08-30 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (do_plot): The border attribute of fill style was
ignored by filledcurves. Change this to match all other places where
fillstyle is honored.
2006-08-28 Lars Hecking <lhecking@users.sourceforge.net>
* prepare: Allow importing auto* tools from the environment.
2006-08-26 Ethan A Merritt <merritt@u.washington.edu>
Fix program errors revealed by issuing the command sequence
set termoption font 'face,size'; show term
set termoption font 'face'; show term
to all terminal types.
* term/gd.trm term/svg.trm term/tgif.trm: Accept comma-separated font
face, size. Reset to default font size if no size information is given.
* term/tkcanvas.trm: Fix infinite loop if unrecognized terminal option.
2006-08-24 Ethan A Merritt <merritt@u.washington.edu>
* src/plot3d.c (get_3ddata): Increment the current point even if its
value is undefined. This allows grid spacing to be maintained, and
correctly handles `splot ... using ($1):($2):($3)`.
FIXME: This is only a partial solution. Deeper problems exist in the
handling of missing/NaN/junk data values during input. In particular,
gridding is still corrupted in the case of `splot ... using 1:2:3`.
2006-08-23 Ethan A Merritt <merritt@u.washington.edu>
* src/color.c (cbtick_callback): Add handling of text properties
associated with colorbox tic labels, making them like the other axis
tic labels.
Bug #1543927
2006-08-21 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc
Sync Japanese documentation to recent changes in English files.
(rev.1.383) 15Aug2006
2006-08-21 Ethan A Merritt <merritt@u.washington.edu>
* src/save.c (save_variables__sub): Do not save NaN to output file,
since it does not print correctly.
* src/eval.c (update_gpval_variables): Make it explicit which variables
are updated from which context.
* src/plot.c (main) src/util.c (int_error): Call update_gpval_variables
on program entry and on int_error.
Bug #1540398 (last release-critical tracker item)
2006-08-19 James R. Van Zandt <jrvz@comcast.net>
* term/cgm.trm: update email address
2006-08-19 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c: One half of the definition of clip_fill was
inadvertently omitted from the patch of 2006-06-04. This fix allows the
improved clipping to apply to all filled curves, whereas without it the
new clipping code only checked for "closed" filled curves.
2006-08-16 Ethan A Merritt <merritt@u.washington.edu>
* src/gadgets.h: Initialize default histogram title structure to use
character units for the title offset. Fixes spurious error if the
y axis is log scale.
2006-08-14 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (do_key_sample): Check for terminal support of
term->filled_polygon before using it to draw a key sample. Fixes
segfault in epson driver (and probably others) if a filled area
is assigned an RGB color.
Bugfix.
* src/eval.c (update_gpval_variables): Test for term==NULL, and if so
return without doing anything. This prevents a segfault. However, why
does the program not trigger a similar segfault elsewhere?
Bug #1540398
2006-08-13 Ethan A Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc: Clarify the argument required by exists(), and
provide an example of passing it a string variable containing the
name of another udv (possibly useful in conjunction with macros).
2006-08-13 Petr Mikulik <mikulik@physics.muni.cz>
* docs/doc2tex.c (puttex): Don't split index words at - or _; replace
_ by space.
2006-08-11 Ethan A Merritt <merritt@u.washington.edu>
* term/PostScript/prologue.ps: Remove comment with my name in it.
Further tweak to the PatternBgnd macro.
2006-08-12 Petr Mikulik <mikulik@physics.muni.cz>
* term/PostScript/cp437.ps term/PostScript/cp850.ps
term/PostScript/koi8r.ps: Remove superfluous C comment characters.
* term/PostScript/cp852.ps: Remove my info.
2006-08-11 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/post.trm: Fix preprocessor logic for !defined(GNUPLOT_PS_DIR).
2006-08-11 Petr Mikulik <mikulik@physics.muni.cz>
* term/PostScript/prologue.ps: Replace multiple spaces by a tabulator.
* docs/doc2tex.c (puttex): Remove superfluous spaces around \index{x}.
2006-08-11 Bastian Maerkisch <bmaerkisch@web.de>
* config/makefile.nt: Define GNUPLOT_PS_DIR to use external PostScript
prologue files.
2006-08-11 Petr Mikulik <mikulik@physics.muni.cz>
* docs/gnuplot.doc: Some comments in the help for bind and mouse
variables.
2006-08-10 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc
Sync Japanese documentation to recent changes in English files.
(rev.1.381) 08Aug2006
2006-08-09 Ethan A Merritt <merritt@u.washington.edu>
* term/post.trm term/PostScript/prologue.ps: Move the pattern-fill
background initialization out of the terminal driver and into the
prologue script, with a user-toggle at the top of the file. Allows
pseudo-transparency, and complete redefinition of the pattern styles
without rebuilding gnuplot.
2006-08-09 Timothee Lecomte <timothee.lecomte@ens.fr>
* docs/Makefile.in: Revert change from 2006-07-18 (define
GNUPLOT_PS_DIR), now useless as the PostScript prologue help no longer
has any #ifdef.
2006-08-09 Bastian Maerkisch <bmaerkisch@web.de>
SF Patch [1505261] wgnuplot: open file-open-dialog in current dir
* src/win/wmenu.c (SendMacro): Windows XP uses a strange initial
directory for the file open dialog. This patch forces the dialog to
always open in the current directory. So now, if you change the
directory via 'cd', the file open dialog opens where expected.
2006-08-08 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* src/show.c (show_version): Fix C99-ism by reintroducing
a pair of braces that had been removed.
2006-08-07 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.cpp (wxtPanel::wxt_cairo_create_bitmap):
Use a reference instead of a pointer to avoid misusing an undocumented
constructor that will be removed in wxWidgets >= 2.7.0.
2006-08-07 Ethan A Merritt <merritt@u.washington.edu>
* demo/all.dem: Add rectangle.dem to the standard test set.
* demo/image.dem demo/macros.dem demo/rainbow.dem demo/rectangle.dem:
Now that we have the configuration options in GPVAL_COMPILE_OPTIONS we
can use this to test for the presence of optional features needed for
any particular demo. These particular demos require configuration
options that are marked EXPERIMENTAL in version 4.2, so we test for
the presence of the feature and if it is missing then we print a
warning message and skip the rest of the demo. This allows "make check"
to succeed even if the EXPERIMENTAL features are configured out.
2006-08-06 Timothee Lecomte <timothee.lecomte@ens.fr>
* docs/gnuplot.doc: Document GNUPLOT_PS_DIR in the list of environment
variables.
* INSTALL: Likewise.
Synchronize the output of `./configure --help'.
Document the requirements of the wxWidgets terminal.
* configure.in: Remove detection of libpng, useless since the
standalone png driver has been removed.
* src/Makefile.am (AM_CPPFLAGS); Remove PREFIX and VERSION_MAJOR, those
were used by the wxWidgets terminal but are not anymore.
2006-08-05 Ethan A Merritt <merritt@u.washington.edu>
* tutorial/tutorial.tex: Update version statement to 4.2
* src/version.c src/version.h: Global (char *)compile_options.
* src/show.c (show_version): Save the configuration options string
produced for "show version long" in (char *)compile_options. If called
as show_version(NULL), do this and nothing else.
* src/plot.c (main): Call show_version() on program entry in both
interactive and non-interactive mode so that it initializes the
compile_options string.
* src/eval.c (update_gpval_variables): New udv GPVAL_COMPILE_OPTIONS
that makes the compile_options string available to the user.
2006-08-05 Daniel Sebald <daniel.sebald@ieee.org>
* src/history.c: Built-in readline history command was losing one
saved entry every time. Fix the start point for the save.
Bug #1531532
2006-08-04 Ethan A Merritt <merritt@u.washington.edu>
* term/pdf.trm term/post.trm term/emf.trm term/cgm.trm
term/metapost.trm: term->options() should not reset the terminal to
its default values if it is called from "set termoption" rather than
from "set term".
Bug #1534649
* docs/gnuplot.doc: Fix typo and update example commands to use
exists("Foo") rather than define(Foo).
* src/eval.c (update_gpval_variables): Store PATCHLEVEL as a string if
possible, so that people can use this as an identifier for customized
versions.
2006-08-03 Ethan A Merritt <merritt@u.washington.edu>
* term/pdf.trm (PDF_set_color PDF_linetype PDF_filled_polygon):
Implement the "mono" option, which up until now has not done anything
other than failing to set new linetypes.
Bug #1517932
2006-08-03 Petr Mikulik <mikulik@physics.muni.cz>
* term/PostScript/prologues.h: Regenerated.
* term/PostScript/ps_header.sh: Force always the same sorting.
* term/post.trm term/PostScript/prologue.ps: Move "Blacktext {} if" into
the definitions of {M}{LCR}show, to avoid it directly in the postscript
body.
2006-08-01 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c (df_readascii): Allow a string-valued function
to provide the time/date string for interpreting axis coordinates
given after 'set {xyz}data time'.
Bug #1445586
2006-07-31 Timothee Lecomte <timothee.lecomte@ens.fr>
* README.1ST: Update notes on the gd library.
2006-07-31 Ethan A Merritt <merritt@u.washington.edu>
* term/gd.trm (PNG_linetype): Fix off-by-one error in checking for
minimum legal linetype. Could conceivably have caused a segfault.
* demo/rectangle.dem demo/html/index.save: Update demo for 4.2
2006-07-30 Ethan A Merritt <merritt@u.washington.edu>
* docs/gnuplot.doc (Known Bugs): The 'nohidden3d' options does
not work for parametric curves. Bug #1531432.
2006-07-30 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/term-ja.diff:
Sync Japanese documentation to recent changes in English files.
2006-07-30 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/post.trm: Reword the doc about the prologue files, so that we do
not need the #ifdef GNUPLOT_PS_DIR, and so that the use of the
environment variable GNUPLOT_PS_DIR is always documented since it is
always available.
2006-07-30 Daniel Sebald <daniel.sebald@ieee.org>
* docs/gnuplot.doc: Format norm()/invnorm() info for 80 characters.
2006-07-29 Ethan A Merritt <merritt@u.washington.edu>
* configure.in: Remove warning about needing a patch for libreadline
(not relevant to libreadline version 5).
* docs/gnuplot.texi: Update to match current documentation.
2006-07-29 James R. Van Zandt <jrv@vanzandt.comcast.net>
* docs/gnuplot.doc: clarify definitions of functions norm() and igamma()
2006-07-29 Timothee Lecomte <timothee.lecomte@ens.fr>
* docs/gnuplot.doc: Another round of additions to the "news" section
of the help.
* src/plot.c (main): Fix parsing of "-persist" for the wxWidgets
terminal when X11 is not defined, and when _Windows is defined.
* term/ai.trm (TERM_HELP): Add notice that the terminal is outdated
and that post should be used instead.
2006-07-28 Timothee Lecomte <timothee.lecomte@ens.fr>
* docs/gnuplot.doc: Add details about new features in 4.2 with full
sentences and following the same format as 4.0 new features.
* src/command.c (rlgets) [HAVE_LIBREADLINE]: Add an extra string
comparison not to remove false duplicates from the history.
BUG #1529200
2006-07-28 Ethan A Merritt <merritt@u.washington.edu>
* tutorial/Makefile.am.in: Set environmental variable GNUTERM to latex
before running gnuplot on the tutorial demos. Bypasses any potential
conflicts of default terminal type with currently installed terminals.
Bugfix.
* src/misc.c (lp_parse parse_colorspec): Incorrect parsing of linetype
colorspec if the colorspec was not the last thing on the command line.
Bug #1526387
* term/emf.trm: Implement "set term emf ... size XX,YY".
* term/post.trm term/dumb.trm: Update terminal description
2006-07-27 Ethan A Merritt <merritt@u.washington.edu>
* term/pslatex.trm (EPSLATEX_set_color): If the color is specified
by linetype, fall back to PS_linetype for monochrome/grayscale plots.
Bug #1529884
2206-07-27 Timothee Lecomte <timothee.lecomte@ens.fr>
* docs/gnuplot.doc (x11_mouse): Reword the section about possible hangs
when piping from /dev/null to reflect the 4.2 behaviour where mouse is
turned on by default.
* src/plot.c (main):
* src/wxt_gui.c (wxt_atexit):
* src/wxt_plot.h:
Move the code parsing **argv for "-persist" from wxt_atexit() to
main(). X11_args() parses it too in main() and removes the tokens that
it recognizes from **argv, so we need to do it before that happens.
Also avoid processing of the mouse events when the wxt terminal is not
the current active one at exit time.
2006-07-27 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/term-ja.diff:
Sync Japanese documentation to recent changes in English files.
2006-07-26 Per Persson <persquare@mac.com>
* term/aquaterm.trm: Made UTF8 the default encoding for AquaTerm.
2006-07-26 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* tutorial/Makefile.am.in (RUN_GNUPLOT): Can the .plt.tex command
sequence into this new macro.
(.plt.tex): Use the new macro. Ged rid of the @ marker that hides
the gnuplot invocation, while at it.
(eg7.eps): New rule using the macro, to ensure make knows how to
make the .eps file, even if the .tex output is still present.
2006-07-26 Timothee Lecomte <timothee.lecomte@ens.fr>
* tutorial/.cvsignore: Add *.eps and test.tex to the list of files
to be ignored by CVS.
2006-07-25 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/README: Change IMAGE_DRIVER to the true WITH_IMAGE.
2006-07-24 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/wxt.trm (wxt_options): Fix wrong test on tri-state variable.
2006-07-23 Timothee Lecomte <timothee.lecomte@ens.fr>
* docs/gnuplot.doc (Syntax): Change wording to avoid reference to
`enhanced postscript`.
2006-07-22 Timothee Lecomte <timothee.lecomte@ens.fr>
* docs/gnuplot.doc: Add here and there some references to the wxWidgets
terminal, where appropriate.
* term/post.trm (00psglobal): Remove reference to 'if compiled with
pm3d'.
* term/post.trm (epslatex): Change reference from 'set ticscale' to
'set tics scale'.
2006-07-21 Ethan A Merritt <merritt@u.washington.edu>
* src/gplt_x11.c term/x11.trm term/wxt.trm: Make x11 and wxt share a
common syntax for switching between "quit = q" and "quit = ctrl-q"
behaviour from the command line:
set term foo {{no}ctrlq}
2006-07-20 Ethan A Merritt <merritt@u.washington.edu>
* src/eval.c src/eval.h src/plot.c: Add a pre-defined udv NaN that is
guaranteed to evaluate as NaN. This provides a convenient way to define
a user function that explicitly returns NaN under some conditions.
Bug #1158281
2006-07-20 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc: Sync to current English version.
2006-07-20 Ethan A Merritt <merritt@u.washington.edu>
* term/*.trm: Revert patchset of 2006-07-06
Restore explicit help entries for "set term foo ...".
Daniel has a patch to help.c which would obviate this fix, but I judge
that had better wait til after 4.2. This returns us to a state that
was satisfactory for a long time.
* docs/term-ja.diff: EAM - Modify patch so that it applies without error,
but it still needs to be updated to track the recent changes to post.trm
that add a section describing GNUPLOT_PS_DIR.
2006-07-18 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.h (wxtPanel): New state variable
wxt_ruler_lineto.
* src/wxterminal/wxt_gui.cpp (wxt_set_cursor): Handle the new flags -3
and -4 for "line from ruler to current mouse position".
(OnMotion): Redraw on mouse motionto update the line to ruler.
(Draw): Draw a line from the ruler to current position when asked to.
2006-07-18 Ethan A Merritt <merritt@u.washington.edu>
* term/post.trm: Add help-file sections describing the PostScript
prolog processing, and the environmental variable GNUPLOT_PS_DIR.
* term/post.trm: Add a %%BeginProlog line to the output stream.
* docs/Makefile.in: Define GNUPLOT_PS_DIR so that the corresponding
documentation is processed (Timothee Lecomte).
* src/plot3d.c (eval_3dplots): Unnecessary initialization to quiet
spurious compiler warning.
2006-07-18 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* config/makefile.oww (TERMFLAGS): Add -DGNUPLOT_PS_DIR flag.
(GNUPLOT_PS_DIR): Define the relative PostScript path.
* config/makefile.mgw: Add a line to help Emacs detect this is a
Makefile.
(term.$(O)): -DGNUPLOT_PS_DIR shouldn't really be down here.
(TERMFLAGS): Move the -DGNUPLOT_PS_DIR flag in here.
2006-07-18 Petr Mikulik <mikulik@physics.muni.cz>
SF Patch [1520821] line from ruler to current mouse position if polar
distance
* src/mouse.c term/README: Two new flags for term->set_cursor(flag,...):
-3 = draw line between ruler and current mouse position,
-4 = don't draw (erase) line between ruler and current mouse position.
They are issued when mousing with displayed ruler and showing polar
distance or tangent.
* src/gplt_x11.c: New plot variables ruler_lineto_{on|x|y}, and function
DrawLineToRuler(plot) to draw and erase line between ruler and current
mouse position. This implements calls of set_cursor(flag,...) for
flag=-3 and -4.
* src/win/wgraph.c: Same as for gplt_x11.c, just with ruler_lineto
structure.
2006-07-17 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/post.trm (PS_dump_prologue_file): Modify the Windows code
to use GNUPLOT_PS_DIR as the relative path
* config/makefile.mgw: Add an entry to define GNUPLOT_PS_DIR.
2006-07-17 Bastian Maerkisch <bmaerkisch@web.de>
* term/post.trm (PS_dump_prologue_file): OS/2 code to look
for PostScript prologue files relatively to the executable path.
2006-07-17 Ethan A Merritt <merritt@u.washington.edu>
* NEWS docs/gnuplot.doc: Update list of known bugs, and add index
entries to help find them in the docs.
* src/plot2d.c (get_data): Remove debugging statement that escaped
into cvs.
2006-07-16 Ethan A Merritt <merritt@u.washington.edu>
* term/pslatex.trm (EPSLATEX_set_color): Filter out redundant commands
to change the color in the *.tex output stream by buffering each
set_color command, and only sending the most recent one if necessary at
the time the next TeX plot element is sent.
Bug #1517932.
* docs/gnuplot.doc: Document the new FIT_* user variables, and clarify
the use of locale settings.
2006-07-15 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/PostScript/prologues.h term/PostScript/ps_header.sh
term/PostScript/README: Set up an automated system for encapsulating
the external PostScript prologue files back into a header for inclusion
in-line in post.trm if necessary.
* term/post.trm: If GNUPLOT_PS_DIR is defined, then load the prologue
data at run-time from the externally maintained files in that directory.
If GNUPLOT_PS_DIR is not defined, then include the equivalent text data
as static arrays at compile time.
* config/makefile.mgw: Define some GNUPLOT_PS_DIR.
* src/win/winmain.h: Declare szModuleName as extern
(EAM - what is this???).
Bug #1510816
2006-07-15 Ethan A Merritt <merritt@u.washington.edu>
* src/fit.c (regress): Export user-visible variables from the fit.
FIT_NDF : Number of degrees of freedom
FIT_WSSR : Weighted sum-of-squares residual
FIT_STDFIT : sqrt(WSSR/ndf), called "rms of residuals" in the log file
FIT_CONVERGED : 1 if the previous fit converged; 0 otherwise
2006-07-15 Daniel Sebald <daniel.sebald@ieee.org>
* src/command.c (history_command): Remove recursive function call to
avoid problem with "flag" being in incorrect state if the recalled
command from history fails. Now use approach where command from
history is parsed to check if it itself is also history.
2006-07-14 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/gp_cairo.c: Respect ISO C90 standard (mainly move
declarations to beginning of functions).
2006-07-14 Ethan A Merritt <merritt@u.washington.edu>
* term/post.trm (PS_dump_prologue_file): Try harder to expand short
file name into legal VMS or Windows path+file. Give more informative
error messages if the file cannot be found.
2006-07-14 Juergen Wieferink <wieferink@freenet.de>
* src/eval.c (fill_gpval_string): Remove cast to (char *) by correcting
a dereference of the string value.
2006-07-13 Juergen Wieferink <wieferink@freenet.de>
* src/eval.c (fill_gpval_string): Do not risk calling gpfree_string
on uninitialized udv.
* src/eval.c (update_gpval_variables): Treat GPVAL_TERM just like all
the other GPVAL_* variables.
* standard.c standard.h (f_exists): Allow to compile with
./configure --disable-stringvariables
2006-07-12 Ethan A Merritt <merritt@u.washington.edu>
* configure.in: Enable HIDDEN3D_QUADTREE by default.
* term/post.trm (PS_linetype): Additional optimization from not forcing
an absolute move if the linetype change has been optimized away.
* term/pslatex.trm (EPSLATEX_linetype): Step back from over-general test
for unnecessary linetype change. Forward it to PS_linetype for the
actual decision. Without this, a pure linewidth change or a pure
dash style change are incorrectly ignored.
Bugfix.
2006-07-12 Timothee Lecomte <timothee.lecomte@ens.fr>
* demo/Makefile.am.in:
* demo/random.dem:
* demo/vector.dem:
Rename temporary *.dat files to *.tmp to prevent them to be included by
'make dist'.
2006-07-11 Ethan A Merritt <merritt@u.washington.edu>
* term/pslatex.trm (EPSLATEX_set_color): Restore support for color
text set using fractional palette values. If the terminal is in mono
mode, or has the blacktext option, the fractional text color remains
a pure grayscale.
Bug #1517932
2006-07-11 Per Persson <persquare@mac.com>
* term/aquaterm.trm: Made aqua terminal respect font requests of the
form: font "<fontface>{,<fontsize>}", old syntax still supported too.
2006-07-11 Petr Mikulik <mikulik@physics.muni.cz>
* config/makefile.cyg config/makefile.mgw config/makefile.nt: #define
EAM_OBJECTS and HIDDEN3D_VAR_PTSIZE.
2006-07-10 Ethan A Merritt <merritt@u.washington.edu>
* demo/mouselabels.dem demo/mouselab_1.dem demo/mouselab_2.dem:
New demo using GPVAL_* variables and mouse/keystroke interaction to
achieve interactive placement of plot labels. Tested for x11 and wxt.
* demo/mousevariables.dem demo/keystroke.dem(removed):
Remove the keystroke part of this demo, since this feature is now
demonstrated more usefully by mouselabels.dem
* src/eval.c: Allow both if(exists("foo")) and if(exist("foo")).
The latter is what octave uses.
2006-07-09 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* demo/Makefile.am.in (CLEANFILES): Remove stringvar.tmp.
* tutorial/Makefile.am.in (CLEANFILES): Fix up list of created
files to be cleaned.
(.plt.tex): Allow vpath builds.
(.eps.pdf): New rule to fix pdf build of tutorial.
(tutorial.dvi): Add dependency on eg7.eps.
(tutorial.pdf): Add dependency on eg7.pdf
* src/win/wtext.c: Fix mixed-up line endings.
* docs/gnuplot.doc: Repair some blank-only lines. Again.
2006-07-08 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in: Always check for Cairo rendering support in Pango, and
add the corresponding linking flags to WX_LIBS.
* src/wxterminal/gp_cairo.c (gp_cairo_enhanced_flush): Initialize
overprinted_width to avoid gcc warning.
* term/wxt.trm (wxt_options): Initialize font_setting to avoid gcc
warning.
2006-07-08 Ethan A Merritt <merritt@u.washington.edu>
* src/parse.c: Revert to parse.c version 1.44 (10 Jun 2006).
This does away with dead code left after yesterday's partial
reversion.
* term/post.trm (PS_linetype PS_set_color): Restore long-time commented
out test for redundant linetype commands. Don't "change" linetype if the
new one is the same as the current one. term->set_color must also
invalidate the previous linetype so that the next call to term->linetype
isn't ignored.
Bug #1517932.
2006-07-07 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/term-ja.diff:
Sync Japanese documentation to recent changes in English files.
2006-07-07 Daniel Sebald <daniel.sebald@ieee.org>
* src/parse.c (parse_primary_expression): Partially back out patch of
2006-06-11. Do not check number of variables passed to a user function
at the time of parsing - only at time of evaluation.
Bug #1518553
2006-07-07 Ethan A Merritt <merritt@u.washington.edu>
* src/help.c (FindHelp): Add missing pair of brackets to disambiguate
if/if/else syntax.
* src/command.c (history_command): Fix segfault if re-execution of a
previous command terminates via int_error().
Bug #1514453
* demo/rectangle.dem: Add reset at end, and prompts at 'pause -1'.
* src/plot2d.c (get_data): HISTOGRAM plot styles must leave a slot for
all entries, even if they are flagged as DF_MISSING. Otherwise the
histogram plot elements do not line up properly.
2006-07-06 Daniel Sebald <daniel.sebald@ieee.org>
* docs/gnuplot.doc term/*.trm: Remove redundant help keys; i.e. those
that are distinguished only by one being a short form of the other.
No change in help or documentation behavior is intended.
E.g.
?set terminal cgm
?set term cgm %% delete this one
2006-07-06 Ethan A Merritt <merritt@u.washington.edu>
* term/pslatex.trm (EPSLATEX_linetype EPSLATEX_set_color):
Keep track of last color and/or linetype set, and filter out
duplicate requests for the same setting. It remains true that the
color change command is sent to both the *.eps and *.tex output stream,
whereas in general only one of the two needs to see it.
Bug #1517932.
* tutorial/tutorial.tex tutorial/eg7.plt: Make the file names
of the 7th example plot match the other six examples.
2006-07-07 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.h:
* src/wxterminal/wxt_gui.cpp (wxtPanel::Draw):
(wxtPanel::DrawToDC):
(wxtPanel::OnPaint):
Small rework of the double-buffering to fully comply with wxWidgets
API.
2006-07-07 Petr Mikulik <mikulik@physics.muni.cz>
* src/set.c docs/gnuplot.doc: New options
'set mouse {noruler|ruler {at x,y}}'.
* src/mouse.h src/mouse.c: New function set_ruler() to (un)set ruler
(at a given position).
2006-07-06 James R. Van Zandt <jrv@vanzandt.comcast.net>
* demo/bivariat.dem:
- Adjust the step size so the range of integration is an integral
number of steps
- Use Simpson's rule rather than just taking the function value at
one end of each step
- Add points from the real erf(x) to the first plot, for comparison
- For the second plot, define the integrand f(x)=cos(x)
That way, the integral is sin(x) instead of being offset by a
constant of integration
- For the last plot, use "with impulses" to make the pattern more
apparent, and because the function is only defined over the integers
2006-07-06 Petr Mikulik <mikulik@physics.muni.cz>
* src/set.c (set_mouse) docs/gnuplot.doc: Command 'set mouse
polardistance{deg|tan}' to flip between the two possibilities
of displaying polar distance.
2006-07-05 Ethan A Merritt <merritt@u.washington.edu>
* term/pdf.trm: Add {size xx,yy} option, exactly parallel to the
option recently added for PostScript. Size can be given in inches
or cm.
2006-07-05 Bastian Maerkisch <bmaerkisch@web.de>
* config/makefile.nt: Add /DWIN32 to CFLAGS.
2006-07-04 Daniel Sebald <daniel.sebald@ieee.org>
* demo/image.dem: Remove obsolete warning about terminal support.
2006-07-04 Bastian Maerkisch <bmaerkisch@web.de>
* term/win.trm (WIN_enhanced_open): (2nd try)
Reset to _default_ font, not _current_ font!
Bug #1510055
2006-07-04 Ethan A Merritt <merritt@u.washington.edu>
* term/gd.trm (PNG_justify_text): Move the conditional test for
HAVE_GD_TTF inside the PNG_justify_text() routine, rather than
maintaining it in parallel in the PNG/JPEG/GIF TERM_TABLE entries.
Actually, we were failing to maintain it in parallel, causing
Bug #1515292.
2006-07-04 Petr Mikulik <mikulik@physics.muni.cz>
* src/mouse.c (builtin_toggle_ruler, turn_ruler_off): New autogenerated
variables MOUSE_RULER_X and MOUSE_RULER_Y.
* src/mouse.c (GetRulerString, builtin_toggle_polardistance): Let polar
coordinates show either (distance,angle) or (distance,tangent) after
multiple clicks of the default hotkey '5'.
* src/mouse.c (GetRulerString): Support polar coordinates in the
mouse&ruler message string also for log-log plots.
2006-07-02 Daniel Sebald <daniel.sebald@ieee.org>
* src/show.c (show_command): Place in some messages about "show data"
and "show linestyle" being deprecated.
2006-06-30 Ethan A Merritt <merritt@u.washington.edu>
* demo/image.dem demo/demo.edf: Set binary flag in cvs repository.
cvs admin -kb demo/image.dem demo/demo.edf
2006-06-30 Petr Mikulik <mikulik@physics.muni.cz>
* src/breaders.c (edf_filetype_function): Don't print a debugging
message.
* src/eval.c (update_gpval_variables): Added automatic read-only
variables GPVAL_VERSION and GPVAL_PATCHLEVEL.
2006-06-29 Bastian Maerkisch <bmaerkisch@web.de>
* term/win.trm (WIN_enhanced_open): Reset to _default_ font, not
_current_ font! Bug #1510055
2006-06-29 Ethan A Merritt <merritt@u.washington.edu>
* src/set.c src/show.c: Less alarming error message if deprecated syntax
is detected. Undeprecate "set key {below|above}".
Bug #1514614.
* tutorial/Makefile.am.in eg4.plt eg5.plt eg6.plt eg7.plt test.plt
tutorial.tex header.tex makefile.dst linepoin.plot (removed):
Replace deprecated syntax in tex example plots. Add an epslatex sample.
* src/save.c: Add missing newline after 'set pm3d depthorder'.
* docs/gnuplot.doc docs/gnuplot-ja.doc: Refer to current version as
4.2 rather than 4.1.
2006-06-29 Daniel Sebald <daniel.sebald@ieee.org>
* demo/airfoil.dem histograms.dem histograms2.dem image.dem multiplt.dem
random.dem simple.dem starmap.dem:
Small changes to ensure demos do not use deprecated syntax.
* docs/gnuplot.doc: Clean up "set title" and "set xlabel" and remove
any examples with non up-to-date syntax.
2006-06-29 Petr Mikulik <mikulik@physics.muni.cz>
SF Patch [1488448] User-available GPVAL_ variables
* NEWS docs/gnuplot.doc src/command.c src/eval.c src/eval.h src/plot.c
src/plot2d.c src/plot3d.c src/save.c src/set.c src/show.c src/unset.c:
New routine update_gpval_variables() to create and update autogenerated
read-only GPVAL_ variables, and its callers. New command option
'show variables all'.
2006-06-28 Daniel Sebald <daniel.sebald@ieee.org>
* src/history.c (write_history_n): Account for the case where the
number of history entries is less than what the user asked for.
2006-06-28 Ethan A Merritt <merritt@u.washington.edu>
* src/term.c (change_term) term/x11.trm: The x11 terminal driver has
been carrying around two copies of TERM_TABLE, one named "x11" and
the other named "X11". But the "X11" copy has suffered from bit rot.
Delete this redundant copy, and instead replace "X11" with "x11"
at the time the "set term" request is processed.
2006-06-27 Daniel Sebald <daniel.sebald@ieee.org>
* src/unset.c (unset_minitics, reset_command): Change action of
unset_minitics to MINI_OFF and set to MINI_DEFAULT after calling
from reset_command().
Bug #1346814.
2006-06-27 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/term-ja.diff:
Sync Japanese documentation to recent changes in English files.
2006-06-27 Keith Hellman <khellman@users.sourceforge.net>
* Accommodate new gnu autotools convention of installing read-only
data relative to @datarootdir@
Bug #1513675
2006-06-27 Timothee Lecomte <timothee.lecomte@ens.fr>
* m4/pkg.m4: New files containing the pkg-config macros.
2006-06-26 Ethan A Merritt <merritt@u.washington.edu>
* term/wxt.trm: Add index point for "help set term wxt".
* configure.in src/variable.c: Only invoke kpsexpand if configuration
option --with-kpsexpand is chosen at build time.
Bug #1377786
2006-06-26 Daniel Sebald <daniel.sebald@ieee.org>
* src/help.c (FindHelp): Fixed bug introduced on 2006-06-23 where
strcpy() overwrote keyword, inadvertently losing the subtopic string.
Now expand all abbreviated sub-keywords until end of keyword string.
* src/util.c (lower_case): Fix off-by-one bug in characters treated.
2006-06-25 Ethan A Merritt <merritt@u.washington.edu>
* src/plot2d.c (get_data): If a data field matches the current setting
of 'set datafile missing "foo"', then do not interrupt the plotted line
spanning the adjacent points in the plot. This was the behavior in
version 3.7, and is what the documents describe, but has not been the
case in version 4.0.
Bugs #775810 #918793 #969322 #1403945
2006-06-24 Ethan A Merritt <merritt@u.washington.edu>
* src/datafile.c: Whitespace cleanup, comments.
* demo/contours.dem demo/vector.dem: Update demo to use "set view map".
2006-06-23 Daniel Sebald <daniel.sebald@ieee.org>
* src/help.c (FindHelp): Return a pointer to an empty help key if the
user help string is ambiguous. Change the len computation from strlen()
to strcspn() so that non ambiguous, sub-optioned strings work.
(help): Only PrintHelp if text exists to prevent blank line at output.
2006-06-23 Daniel Sebald <daniel.sebald@ieee.org>
* demo/image.dem: Clean up missing quotes. Removed some resets so
that the palette doesn't change except when necessary.
* src/graphics.dem src/set.c: Cosmetic changes.
2006-06-22 Ethan A Merritt <merritt@u.washington.edu>
* configure.in src/datafile.c (df_readline): Check input values
against NaN, but only if the system supports the isnan() test.
NaN input values are treated as UNDEFINED.
Bug #1490699
2006-06-21 Ethan A Merritt <merritt@u.washington.edu>
* demo/scatter2.bin demo/sine.bin demo/using.bin demo/blutux.rgb:
Flag these files as binary in the CVS repository
cvs admin -kb *.bin *.rgb
Hopefully this will fix image.dem under Windows
2006-06-21 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/wxt.trm: Small correction in TERM_HELP.
2006-06-20 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/wxt_gui.cpp: Small cleanups to avoid -Wall warnings.
2006-06-20 Ethan A Merritt <merritt@u.washington.edu>
* src/plot.c (main) src/term.c (init_terminal): Revisit fix of
2004-08-25 - call term->option() on entry if the default terminal is set
from GNUTERM. We have only been doing this for the libgd terminals, but
it turns out to be necessary for PostScript also, and probably others.
Bug #1509033
* demo/stringvar.dem demo/html/index.save demo/html/Makefile:
Modify the stringvar demo for use with webify, and add it to the
demo web page.
* src/set.c (load_tic_series): Fix parsing error that had the effect
of requiring an explicit end point for the tic series unless this was
the last thing on the command line.
2006-06-19 Ethan A Merritt <merritt@u.washington.edu>
* term/post.trm: Initialize PS_default_font to "Helvetica,14".
In the worst case scenario, this guarantees a non-zero font size
and an actual PostScript font.
Bug #1509033
2006-06-19 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in (GNUPLOT_PS_DIR): Do not pass GNUPLOT_PS_DIR in
config.h .
* src/Makefile.am: Pass GNUPLOT_PS_DIR as a CPPFLAG.
* term/Makefile.am.in: Install the *.ps files the automake way.
* config/makefile.mgw (WXT): Do not install the PNG icons of the
wxWidgets terminal (now embedded).
2006-06-19 Ethan A Merritt <merritt@u.washington.edu>
* src/plot3d.c (get_3ddata): After reading in the data points, check
that the axis ranges are legal. If the input data contains NaN or Inf
then the axis scaling may fail.
Bug #1490699.
2006-05-18 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/wtext.c: Add mouse wheel scroll support for text window.
2006-06-18 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/README.ja docs/term-ja.diff
src/win/README.win-ja src/win/wgnuplot-ja.mnu:
Sync Japanese documentation to recent changes in English files.
2006-06-18 Ethan A Merritt <merritt@u.washington.edu>
* src/show.c (show_version): List additional configuration options.
Make the show version output more compact (25 lines).
* term/emf.trm (EMF_linetype EMF_dashtype): It is necessary to set the
line color and dash type every time either is changed.
Bugfix.
2006-06-17 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/bitmaps/png/autoscale_png.h:
* src/wxterminal/bitmaps/png/clipboard_png.h:
* src/wxterminal/bitmaps/png/config_png.h:
* src/wxterminal/bitmaps/png/grid_png.h:
* src/wxterminal/bitmaps/png/help_png.h:
* src/wxterminal/bitmaps/png/nextzoom_png.h:
* src/wxterminal/bitmaps/png/previouszoom.h:
* src/wxterminal/bitmaps/png/replot_png.h:
New files containing the translation of the binary PNG files into
C arrays to be included in the source code.
* src/wxterminal/bitmaps/png/README.embedding:
Text file briefly explaining the purpose of the embedded PNG files.
* src/wxterminal/wxt_gui.cpp (wxtApp::OnInit): Remove the code to load
the PNG files from standard paths (unreliable). Replace by the loading
of the embedded files.
(wxtPanel::UpdateModifiers): New routine to compare and update the
state of the modifier keys as known by the core. It replaces the
unreliable tracking of the press and release events. All wxMouseEvent
and wxKeyEvent processing methods updated.
(wxtPanel::OnKeyEvent):
(wxt_init):
(wxtConfigDialog):
New variable wxt_ctrl to handle 'q' and <space>.
* src/wxterminal/wxt_gui.h:
* src/wxterminal/wxt_term.h:
Update prototypes and included wxWidgets headers according to the above
changes.
* term/wxt.trm (wxt_options): New terminal option '{no}ctrl'.
(TERM_HELP): Updated.
* src/Makefile.am (png_DATA): Do not install the PNG icons.
2006-06-17 Ethan A Merritt <merritt@u.washington.edu>
* demo/Makefile.am.in: Clean up temp.dat
* share/Makefile.am: Attempt to install/uninstall Gnuplot.app-defaults
properly.
* docs/Makefile.in: Add Japanese language files to EXTRA_DIST
* docs/gnuplot.doc: Replace old "bugs" section with current list of
known bugs and limitations.
* docs/gnuplot.doc: Add pointers to 'set pm3d depthorder' in the
discussion of hidden surface removal.
* docs/gnuplot.texi docs/doc2texi.el: Regenerate gnuplot.texi
2006-06-16 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/command.h: Add missing statement about copyright holders (i.e
the same as command.c, as command.h was created from this file).
* src/wxterminal/Makefile.am: New Makefile used to put all the
wxterminal source files and bitmaps in the 'make dist' target.
* src/Makefile.am (SUBDIRS): Add wxterminal to take the new Makefile.am
into account.
* configure.in (AC_OUTPUT): Include src/wxterminal/Makefile in the list
of files to create.
2006-06-15 Ethan A Merritt <merritt@u.washington.edu>
* src/show.c (show_version): Add the rest of the non-driver
configuration option choices to the output of 'show version long'.
2006-06-15 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/gnuplot-ja.doc docs/README.ja term-ja.diff: Japanese translation
of user manual and instructions for building the help system from it.
* src/win/wgnuplot-ja.mnu /src/win/README.win-ja: Instructions for
building a Japanese language versino of wgnuplot for Windows, and a
corresponding set of menus.
2006-06-15 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/gp_cairo.c: Fix a warning about gp_alloc() by
including alloc.h
2006-06-15 Ethan A Merritt <merritt@u.washington.edu>
* demo/all.dem demo/html/index.save demo/html/Makefile:
Add demo hidden2.dem illustrating 'set pm3d depthorder'.
2006-06-15 Johannes Zellner <johannes@zellner.org>
* src/save.c src/set.c src/show.c src/tables.c src/tables.h:
New option 'set p3md depthorder' to request depth-ordering of
pm3d quadrangles.
* src/graph3d.c: TBOOLEAN pm3d_order_depth tracks the new option.
* src/pm3d.c src/pm3d.h (pm3d_depth_queue_clear pm3d_depth_queue_flush)
src/plot3d.c (calculate_set_of_isolines)
src/color.h src/color.c (ifilled_quadrangle): New support routines.
2006-06-14 Daniel Sebald <daniel.sebald@ieee.org>
* src/color.c (make_palette) src/term.c (term_start_plot):
Revert change of 9-Jun-2006, so that we are again optimizing color
palette usage by avoiding unnecessary calls to term->make_palette().
However, make the PostScript terminal an exception by invalidating
the previous palette at the start of every plot.
2006-06-14 Shigeharu Takeno <shige@iee.niit.ac.jp>
* docs/faq-ja.tex: Japanese translation of faq.tex
* NEWS docs/Makefile.in: Include faq-ja.tex in list of distributed
files, and in NEWS.
2006-06-13 Daniel Sebald <daniel.sebald@ieee.org>
* demo/stat.inc: Overhaul of routines to add variable arguments,
range checking and verify integer when appropriate. The significant
change is forcing some input vars to be an integer, rather than casting
them to int() in the formulae. (There are proper plot styles like
"steps" to work with discrete r.v.s.)
* demo/prob.dem: Modified the discrete r.v. examples to look more like
a mass function or scaled impulses. More varied examples to show
various plotting features.
* demo/prob2.dem demo/random.dem: Add input variables to p.d.f. and
c.d.f. functions. Added new Maxwell demo to random.dem.
* docs/gnuplot.doc: Added adjective "normalized" to igamma()
2006-06-13 Ethan A Merritt <merritt@u.washington.edu>
* src/gplt_x11.c: Move export selection flags outside the the
USE_MOUSE conditional code. Bug #1505704
* src/term_api.h: DEFAULT_LP_STYLE_TYPE to lt -1 (makes arrows
default to black rather than red).
2006-06-13 Daniel Sebald <daniel.sebald@ieee.org>
* configure.in src/Makefile.am src/makefile.awc src/makefile.all:
Add a configuration mechanism for including binary.c in list of
gnuplot sources when appropriate.
* src/bin_hook.c: Remove from source tree.
2006-06-13 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/win/wtext.c:
* src/win/wgraph.c:
* src/wxterminal/wxt_gui.cpp:
* src/wxterminal/wxt_gui.h:
* src/wxterminal/wxt_term.h:
Fix failures when compiling the wxWidgets terminal with
--disable-mouse, by putting more code and declarations inside #ifdef
USE_MOUSE ... #endif
2006-06-12 Ethan A Merritt <merritt@u.washington.edu>
* configure.in: Move options marked EXPERIMENTAL to the end of the
configuration summary printout. Remove EXPERIMENTAL label from
string variables.
2006-06-11 Timothee Lecomte <timothee.lecomte@ens.fr>
* demo/utf8.dem: Issue a 'reset' at the end of the file, as other demos
do.
* src/wxterminal/gp_cairo.c (gp_cairo_draw_text): Use the Symbol to
Unicode conversion step, as for the enhanced text mode.
(gp_cairo_enhanced_flush): Small cleanup and fix a forgotten free().
* term/wxt.trm (TERM_HELP): Document the font requirements properly, in
particular how the Symbol font is handled and where the fonts are taken
from. Layout the whole help text so that lines are smaller than 80
characters.
2006-06-11 Daniel Sebald <daniel.sebald@ieee.org>
* src/eval.h: Added number of variables to user defined function struct.
* src/command.c (define): Recorded number of variables into udf entry.
* src/parse.c (add_is_udf, is_ud_functin, add_udf):
Slight rearranging of functions to allow code reuse.
* src/parse.c (parse_primary_expression): Check if function used in
command is user defined. If so, verify number of variables is correct.
* src/internal.c (f_call, f_calln): Added tests to catch variable
mismatch at time of evaluation.
2006-06-10 Timothee Lecomte <timothee.lecomte@ens.fr>
* docs/Mafefile.in (CORETERM): Add wxt.trm in the list of
terminals.
* docs/gnuplot.doc : Add mentions of `wxt` among other terminals when
useful (mouse, raise, lower, image, set_output, fillstyles).
* src/wxterminal/wxt_gui.cpp:
Fix compilation with --disable-with-image.
* src/wxterminal/wxt_gui.h:
Fix compilation with --disable-with-image.
Cleanup includes.
* src/wxterminal/gp_cairo.c
(gp_cairo_draw_polygon): Replace malloc by gp_alloc.
(gp_cairo_draw_image): Likewise.
(gp_cairo_convert_symbol_to_unicode): Likewise.
2006-06-09 Ethan A Merritt <merritt@u.washington.edu>
* src/eval.c src/eval.h src/internal.c src/internal.h src/parse.c
src/standard.c src/standard.h docs/gnuplot.doc NEWS:
Deprecate built-in pseudo-function `if defined(foo)`
Replace it with string function exists("foo")
The previous version (defined) tried to bypass normal expression
parsing, but succeeded only for the simplest cases. This variant,
although deprecated, is still supported by BACKWARDS_COMPATIBLE.
The new version handles the full general case by using string variables.
Bugfix: #1497957
* src/color.c (make_palette): Revert optimization (18 Mar 2006) that
only sent palette information for a plot if it had changed since the
previous plot. This doesn't work for PostScript output, because the
pages may be viewed out of order. Bugfix.
2006-06-08 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/gp_cairo.h:
* src/wxterminal/wxt_plot.h:
* src/wxterminal/wxt_term.h:
Remove "extern" for functions.
2006-06-07 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in (--with-wx-config=PATH): Fix wrong variable name.
* src/term.c (init_terminal) [WXWIDGETS]: Take DEFAULTTERM into account.
* src/wxterminal/bitmaps/xpm/cross.xpm:
* src/wxterminal/bitmaps/xpm/right.xpm:
* src/wxterminal/bitmaps/xpm/rotate.xpm:
* src/wxterminal/bitmaps/xpm/size.xpm:
Write the hotspot coordinates directly in the cursor files.
* src/wxterminal/wxt_gui.h (wxtApp::LoadCursor):
* src/wxterminal/wxt_gui.cpp (wxtApp::LoadCursor):
Remove hotpost arguments, take hotspot coordinates from the XPM files.
(wxtApp::OnInit): Update calls to LoadCursor.
* src/wxterminal/gp_cairo.h (current_xmax): Rename to the more
meaningful device_xmax.
(current_ymax): Rename to device_ymax.
* src/wxterminal/gp_cairo.c: All callers changed.
* src/wxterminal/wxt_gui.cpp: Likewise.
2006-06-06 Ethan A Merritt <merritt@u.washington.edu>
* configure.in src/setshow.h config/config.*: Move definition of
BACKWARDS_COMPATIBLE into config.h and the various config.* files rather
than setshow.h so that it is visible to all the source files.
2006-06-06 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/gp_cairo.c (device_y): Fix computation of
coordinates.
(gnuplot_y): Likewise.
2006-06-05 Peter Weilbacher <paepse@users.sourceforge.net>
SF Patch [1498727] Remove duplicate entries in GNU readline history
* command.c (rlgets): Remove duplicate entries in GNU readline history.
2006-06-04 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/gp_cairo.c: Add Id.
* src/wxterminal/gp_cairo.h: Likewise.
* src/wxterminal/gp_cairo_term.h: Likewise.
* src/wxterminal/wxt_gui.cpp: Likewise.
* src/wxterminal/wxt_gui.h: Likewise.
* src/wxterminal/wxt_plot.h: Likewise.
* src/wxterminal/wxt_term.h: Likewise.
2006-06-04 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (two_edge_intersect) Remove old debugging code.
* src/graphics.c (edge_intersect plot_filled_curves): Bugfix.
Fix clipping of filled curves. When a curve leaves the plot and
reenters via a different plot edge, we must add dummy points at the
intervening plot corners.
* src/graphics.c (fill_missing_corners): New routine to support
clipping of filled areas defined by a bounding curve.
2006-06-01 Ethan A Merritt <merritt@u.washington.edu>
* src/unset.c (reset_command): Abandon the idea of automatic garbage
collection for undefined user variables. The problem with this is that
user-defined functions may still hold pointers to them for later use.
E.g.: f(x) = a+b; reset; print f(1) - oops, no more a or b.
Bugfix.
* demo/world.dat: Rearrange line segments to make more continuous
boundaries. Now it almost works for filledcurves.
2006-05-29 Michael Ritzert <ritzert@t-online.de>
* term/Makefile.am.in: Look for the postscript files to be installed
relative to $(srcdir).
2006-05-26 Ethan A Merritt <merritt@u.washington.edu>
* src/gadgets.c (clip_point): The code comments incorrectly described
the bit values returned by clip_point().
2006-05-24 Ethan A Merritt <merritt@u.washington.edu>
* src/gplt_x11.c: Treat LT_AXIS linetype as dotted even if the
terminal is 'set term x11 solid'. Do not try to set dash type or
linewidth for LT_BACKGROUND because this will underflow the type arrays.
Bugfix.
* share/Gnuplot.app-defaults: Comment out settings for *ctrlq *raise
and *background so that the default remains the same as having no
app-defaults file.
2006-02-23 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/wxt.trm (TERM_HELP): Fix typos, thanks to Shigeharu Takeno.
2006-05-22 Timothee Lecomte <timothee.lecomte@ens.fr>
* term/vgagl.trm (VGAGL_init_keytable): Fix bug #1492341 by
replacing sizeof() on an array of int (which gives an overflow
by writing four times more than the size of the array) by the
actual size of the array (KEYTABLE_SIZE).
(VGAGL_truecolor): Declare as a TBOOLEAN instead of an integer,
do not use the enums yes and no but TRUE and FALSE.
(VGAGL_processing_graphics_events): Likewise.
(VGAGL_interpolate): Likewise.
(VGAGL_cursor_drawn): Likewise.
(VGAGL_need_update): Likewise.
(VGAGL_graphics_on): Likewise.
2006-05-22 Lars Hecking <lhecking@users.sourceforge.net>
* configure.in: Reformat and bugfix wxwidgets section.
* docs/gnuplot.texi: Regenerated.
* share/Makefile.am: Add EXTRA_DIST.
* src/Makefile.am: Add wxterminal to EXTRA_DIST.
* src/makefile.all, src/makefile.awc: Regenerated.
* src/wxterminal/wxt_gui.cpp: Fix typos.
* term/estimate.trm: Add cvs Id.
2006-05-21 Daniel Sebald <daniel.sebald@ieee.org>
* demo/random.dem: Examples to illustrate generating normal random
data, generating data points not linked to grid using table,
setting the contour lines to the same color as surface, and
creating histograms.
2006-05-21 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* term/win.trm (HELP): Got rid of some tabs.
* docs/gnuplot.doc: Fixed some blank-only lines.
(fit control, fit control variables, fit control environment,
splot overview): Get rid of _ between words. Suggested by Dan
Sebald.
2006-05-20 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/color.h (colorspec_t) [EXTENDED_COLOR_SPECS]: Declare the
type before using it (fixes the compilation of linux.trm and
vgagl.trm).
2006-05-20 Ethan A Merritt <merritt@u.washington.edu>
* src/gplt_x11.c term/x11.trm: Allow user control of solid/dashed line
setting via the usual three mechanisms
new X resource gnuplot*dashed: on
from command line `gnuplot -dashed ...`
from gnuplot command `set term x11 {dashed|solid} ...`
* term/x11.trm: Bugfix: persist/raise/dashed terminal settings should
not be conditional on mouse support.
2006-05-20 Ethan A Merritt <merritt@u.washington.edu>
* share/Gnuplot.app-defaults share/Makefile.am:
New X resources file, intended for installation in the system's
default location for X resources.
Bug #1376604.
2006-05-19 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/gp_cairo.c (gp_cairo_draw_enhanced_text):
Remove unappropriate comments about enhanced_max_height.
(gp_cairo_end_polygon): Remove useless comment.
(gp_cairo_convert_symbol_to_unicode): Change C++-style
comments to C style /* ... */.
(gp_cairo_initialize_plot): To avoid overflows, change
strcpy() to strncpy(), strcat() to strncat() and sprintf() to
snprintf().
(gp_cairo_set_font): Likewise.
(gp_cairo_add_shape): Likewise.
(gp_cairo_enhanced_flush): Likewise.
(gp_cairo_enhanced_open): Likewise.
(gp_cairo_draw_enhanced_text): Likewise.
* src/wxterminal/wxt_gui.cpp (wxt_set_font): Likewise.
* term/wxt.trm (wxt_options): Likewise.
2006-05-18 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/Makefile.am (AUTOMAKE_OPTIONS): Remove 'subdir-objects',
not mandatory.
* configure.in (enable_wxwidgets): Remove test AM_PROG_CC_C_O,
not needed now that 'subdir-objects' is not used.
* src/wxterminal/wxt_gui.cpp (wxt_waitforinput) [_Windows]:
Rework event processing to avoid code duplication and handle
more cases (pause, etc.).
(wxt_waitforinput_pause) [_Windows]: Removed.
(wxt_terminal_events) [_Windows]: New routine to process
pending events from the wxWidgets terminal when it is selected
and initialized. Its return code is used to stop a pause.
(wxt_set_font): Use reasonable defaults for font name ("Sans")
and size (10) instead of the wxWidgets system settings. It
avoids to choose the inappropriate Courier font on Windows,
where it is used by the console-like window.
* src/wxterminal/wxt_term.h (wxt_waitforinput_pause):
Remove declaration.
* src/wxterminal/wxt_plot.h (wxt_terminal_events):
Declaration.
* src/win/wpause.c (PauseBox) [WXWIDGETS]: Use
wxt_terminal_events().
* src/win/wtext.c (TextGetCh) [WXWIDGETS]: Likewise.
* term/wxt.trm (help): Change the help text according to the
change in the default font name and font size.
2006-05-18 Lars Hecking <lhecking@users.sourceforge.net>
* docs/Makefile.in: Add titlepag.ipf to EXTRA_DIST.
* docs/gnuplot.texi: Regenerated.
2006-05-15 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/wxterminal/bitmaps/xpm/cross.xpm:
* src/wxterminal/bitmaps/xpm/right.xpm:
* src/wxterminal/bitmaps/xpm/rotate.xpm:
* src/wxterminal/bitmaps/xpm/size.xpm:
Cross-platform cursors.
* src/wxterminal/wxt_gui.h
(wxt_cursor_cross, wxt_cursor_right, wxt_cursor_rotate,
wxt_cursor_size): Cursors declarations.
(wxtApp::LoadCursor): Routine to initialize a cursor.
* src/wxterminal/wxt_gui.cpp
(wxtApp::LoadCursor): Likewise.
(wxtApp::OnInit, wxt_set_cursor): Use new cursors.
(wxt_reset): Clear the events list when receiving ctrl-c.
(wxtPanel::DrawToDC): Fix zoom strings on Windows.
* src/wxterminal/gp_cairo.c (gp_cairo_linetype2color): Fix modulo
operator to use the whole nine colors.
(gp_cairo_draw_point): Fix position of triangles with the
oversampling. Close the path for the filled triangle.
* configure.in (CPPFLAGS): Remove useless gtk and wxWidgets flags
from the cppflags.
2006-05-15 Bastian Maerkisch <bmaerkisch@web.de>
* config/makefile.os2: Define GIF_ANIMATION and HAVE_PDFLIB_H.
* config/config.os2: Sync to config.h created by `configure`. Define
EAM_OBJECTS, GP_STRING_VARS = 2, HIDDEN3D_VAR_PTSIZE.
* src/os2/gclient.c (DisplayClientWndProc): Filter out WM_MOUSEMOVE
events when the mouse hasn't been really moved. This eliminates
excessive calls to gp_exec_event(GE_motion, ...) and subsequent
unnecessary redraws of the plot.
2006-05-13 Bastian Maerkisch <bmaerkisch@web.de>
* config/makefile.nt: Make sure that the same (basic) compiler options
are used for compiling wgnuplot and pgnuplot. This is necessary since
they both contain version.c.
* src/stdfn.h src/win/winmain.h src/win/wpause.c: Implementation of a
non-blocking sleep function (gnuplot's 'pause' command) for windows.
* term/win.trm (WIN_options, help text):
Accept font request strings of the form
set term win ... font "<fontface>,<fontsize>"
Previous syntax
set term win ... "<fontface>" <fontsize>
remains valid as well. Update documentation.
* src/os2/4allterm.cmd: Fix broken argument parsing. Convert end of line
to CR/LF pairs. This is a must for the script to be readable by the OS/2
REXX interpreter.
* docs/doc2ipf.c docs/titlepag.ipf:
- Increase depth of table of contents from 5 to 6. This fixes
"unknown reference" errors during compilation.
- Only replace '.' in first column by ipf tag, it's not needed
otherwise.
- Add an index: interactive help ('?') and explicit index entries ('=')
are supported.
- Table layout improvements:
- omit table frame and horizontal lines
- add additional horizontal spacing around table entries (1 char)
- omit horizontal rules '_' (troff command)
- entries are only interpreted as troff commands if they start with
'.' and do not contain a table separator
- try to filter out ipf tags when calculating column widths
- always assume troff header at beginning of table. This fixes
coloring of table headers, which has been broken since 17 Jun 1998
- Change handling of paragraphs and verbatim sections: successive empty
lines only yield one new paragraph :p. This eliminates large empty
spaces (especially in front of tables).
- End sections with an empty paragraph instead of starting with an empty
paragraph. Eliminates empty space at beginning of section and (still)
ensures non-empty sections.
- Optionally add additional reference panels to make navigation with
IBM's online viewer easier. Controlled by #define IPF_MENU_SECTIONS.
- Add a title page (new file titlepag.ipf).
2006-05-12 Ethan A Merritt <merritt@u.washington.edu>
* term/gd.trm (PNG_point): Bugfix: Draw filled circles with
gdImageFilledArc rather than a 2-stage bound-and-fill.
* src/graph3d.c (draw_3d_graphbox): Bugfix: Only draw vertical lines
from base corners to surface if there really _is_ a surface.
Having pm3d in surface mode is not sufficient.
* demo/contours.dem: Where the above fix removes a vertical line along
z, remove the z axis tics also. Add a single-color contour demo.
* src/wxterminal/gp_cairo.c: Remove unused variables.
2006-05-04 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in (AC_PROG_CXX): Redefine AC_MSG_ERROR for
AC_PROG_CXX, to prevent possible fatal errors in future autoconf
versions.
(WX_OBJ): Remove definition, let automake handle it.
* src/Makefile.am (BUILD_WXWIDGETS): Simplify conditional
compilation of the wxWidgets terminal, using automake
conditionals instead of gnuplot_DEPENDENCIES and gnuplot_LDADD.
2006-05-01 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in (AC_PROG_CXX): Check for C++ unconditionally,
and workaround harmful autoconf settings if no compiler is found.
(PANGO): Raise minimum version to 1.10.
* term.c (init_terminal): Make wxt the default terminal if it
is available even if X11 is not defined.
2006-04-30 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* config/makefile.mgw (DESTDIR): MSYS-ify the drive letter.
(GNUSORT): Use Unix-ish path to MSYS port of GNU sort.
(all): Refer to default target instead of copying all its entries.
(default): Remove config.h dependency.
($(OBJS) $(WINOBJS) dbinary.$(O)): Add rule that they depend on
config.h.
($(M)bf_test.exe): Chdir to $(M), not $(D).
(dbinary.$(O)): Input file is $<, not $^.
(install) [WXT]: Move WX-specific installation rules here.
* term/win.trm (WIN_enhanced_flush): Removed unused variables rc,
cbR.
* term/pslatex.trm (PSTEX_common_init): Avoid warning by making
compile-time test an #if rather than an if.
* config/makefile.mgw: Change this to expect MSYS tools to be used
instead of the older native MINGW32 ports. Necessitates some
workarounds for MSYS quirks.
(HCWPATH): Uncomment one definition, provide a usable default,
remove the other.
(pgnuplot.exe): Needs -HAVE_STDBOOL_H to avoid a warning.
($(HELPFILE)): Use `-' instead of `/' for $(HCW) options, to avoid
MSYS translating them to drive letters.
(doc2rtf.exe, doc2tex): Strip trailing `/' off macros holding
`../docs/' and `../term/' --- MSYS/MINGW32 gets confused by it.
2006-04-29 Ethan A Merritt <merritt@u.washington.edu>
* term/wxt.trm (wxt_options): Fix improper malloc for font name.
2006-04-29 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in: C++, wxWidgets, cairo and pango configuration
tests.
* config/makefile.mgw: Likewise.
* src/command.c (raise_lower_command): Raise and lower commands
for the wxWidgets terminal.
* src/command.h : Likewise.
* src/Makefile.am : wxWidgets terminal conditional compilation.
* src/plot.c (main): wxWidgets terminal hook on exit to handle
the 'persist' behaviour.
* src/term.c (init_terminal): Make the wxWidgets terminal
the default on Windows and X11.
* src/term.h: Include the wxWidgets terminal.
* src/win/wgnuplot.rc: Include wxWidgets ressources file.
* src/win/wpause.c (PauseBox): Process events from the wxWidgets
terminal when in pause.
* src/wxterminal/bitmaps/png/autoscale.png
* src/wxterminal/bitmaps/png/clipboard.png
* src/wxterminal/bitmaps/png/config.png
* src/wxterminal/bitmaps/png/grid.png
* src/wxterminal/bitmaps/png/help.png
* src/wxterminal/bitmaps/png/nextzoom.png
* src/wxterminal/bitmaps/png/previouszoom.png
* src/wxterminal/bitmaps/png/replot.png:
PNG icons for the wxWidgets toolbar.
* src/wxterminal/bitmaps/xpm/icon16x16.xpm
* src/wxterminal/bitmaps/xpm/icon32x32.xpm
* src/wxterminal/bitmaps/xpm/icon64x64.xpm:
XPM icons for the wxWidgets window icon.
* src/wxterminal/bitmaps/xpm/notfound.xpm:
XPM icon for the wxWidgets toolbar.
* src/wxterminal/gp_cairo.c
* src/wxterminal/gp_cairo.h
* src/wxterminal/gp_cairo_term.h:
Generic routines to render a plot to a cairo surface.
* src/wxterminal/wxt_gui.cpp
* src/wxterlinal/wxt_gui.h
* src/wxterminal/wxt_plot.h
* src/wxterminal/wxt_term.h:
Graphical user interface based on wxWidgets.
* term/wxt.trm:
Terminal hooks between term.c and the wxWidgets and cairo
files.
2006-04-28 Timothee Lecomte <timothee.lecomte@ens.fr>
* src/gplot_x11.c (UNSET, no, yes): Remove enum declaration.
* src/term.c
(enhanced_recursion, enh_err_check, do_enh_writec):
Remove static declarations.
(enhanced_text, enhanced_cur_text, enhanced_fontscale)
(enhanced_escape_format, enhanced_min_height)
(enhanced_max_height, ignore_enhanced_text):
Remove static declarations.
(UNSET, no, yes): Remove enum declaration.
* src/term_api.h: Declare here the above variables and functions
related to enhanced text support. Variables are declared extern.
(UNSET, no, yes): Declare enum.
* src/readline.c (msdos_getch) [_Windows && USE_MOUSE]:
Call term->waitforinput() when appropriate, so that the wxWidgets
terminal can process events.
2006-04-27 Timothee Lecomte <timothee.lecomte@ens.fr>
* configure.in src/Makefile.am: Change PKG_MAJOR to
VERSION_MAJOR to avoid a conflict with pkg-config macros.
They will be used with cairo, pango, and gtk+ for the wxWidgets
terminal.
2006-04-27 Hans-Bernhard Broeker <broeker@physik.rwth-achen.de>
* src/plot2d.c (get_data): Initialize further elements of df_data
depending on plot style, so datafile module can parse absolute
time/data for xlow etc. Similar fix for handling 'set ydata time;
plot "-" u 2'.
* src/plot3d.c (eval_3dplots): Fix for 'set zdata time; plot "-" u
2'. Replicate realloc size fix from get_data (--> 2006-03-28)
here.
2006-04-26 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* docs/gnuplot.doc (fit control environment): Fix mention of
command 'set fit logfile'.
2006-04-25 James R. Van Zandt <jrv@vanzandt.comcast.net>
* term/cgm.trm (CGM_filled_polygon): Allow filled polygons with up
to 8190 vertices (was only 50). Also, allocate the
polygon/polyline array from the heap, so it only takes space if
the CGM terminal is used.
* term/cgm.trm (CGM_set_color): access colorspec->value only
for type=TC_FRAC when it is defined.
2006-04-25 Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de>
* src/win/wgnuplot.hpj (COMPRESS): New option, enables compression
of the generated .hlp file.
(LCID): New option, fixed the language of generated help files to
English. Hopefully this will avoid incompatibilities like the one
observed with the first binary release of 4.0 for Win32.
2006-04-24 Daniel Sebald <daniel.sebald@ieee.org>
* src/graphics.c (plot_image_or_update_axes) config/config.cyg
config/config.mgw config/config.nt config/config.os2 configure.in:
Removed all use of WITH_IMAGE_VERIFY_ALL_PIXEL_LOCATIONS and any
code associated with verifying pixel locations in the grid.
2006-04-19 Ethan A Merritt <merritt@u.washington.edu>
* term/post.trm (PS_set_font): Do not write font change commands
into the PostScript output stream of the TeX terminal variants
(epslatex, pstex, pslatex). All font handling is done via the TeX
output stream. Bug #1472260
* demo/html/Makefile demo/html/index.save
demo/html/gnuplot_demo.css: Update html display of gnuplot demos.
2006-04-18 Ethan A Merritt <merritt@u.washington.edu>
* src/graphics.c (plot_c_bars) src/plot2d.c (eval_plots): Allow
user to control the width of whiskerbars on candlestick plots.
plot <foo> with candlesticks {whiskerbars {<width>}}
* demo/utf8.dem: Provide a demo for use in testing UTF-8 support
by gnuplot terminals. This demo will only produce reasonable
output on a terminal that supports UTF-8 and a current UTF-8
encoded font with the relevant character maps.
2006-04-17 Ethan A Merritt <merritt@u.washington.edu>
* src/color.h: Add comments to document the meaning of TC_* flag
values.
2006-04-16 Ethan A Merritt <merritt@u.washington.edu>
* term/aquaterm.trm: Correct typos in help text.
* src/set.c (set_object): Fix segfault on incomplete command
'set obj <new>'.
* src/term.c (init_terminal): Keep initial terminal setting in
GNUTERM even if it did not actually come from environmental
variable GNUTERM.
2006-04-14 Ethan A Merritt <merritt@u.washington.edu>
* src/term.c (change_term init_term): Save value of GNUTERM into a
user-defined variable on entry. Use only first word of GNUTERM
when calling change_term. This allows GNUTERM to contain extended
terminal specs, e.g. setenv GNUTERM "png truecolor transparent".
2006-04-12 James R. Van Zandt <jrv@debian.org>
* term/cgm.trm (CGM_point): Update cgm_current.edge_visibility
before cgm_current.edge_color (was displaying some point symbols
with incorrect edge colors).
2006-04-10 Ethan A Merritt <merritt@u.washington.edu>
* src/graph3d.c (draw_3d_graphbox): Fix bug introduced when adding
newpath/closepath around the border of 3D plots with 'set view map'.
The top border was not getting drawn, and the individual border
components were not being considered separately.
Also, when in 'set view map' mode, honor 'set border {front|back}'.
* src/graphics.c (plot_border) src/gadgets.h: Similar bugfix in 2D.
* src/misc.c (lp_parse): Don't fall into a recursion trap in the
case that 'set style incr user' and 'set style line <foo> lt <baz>'.
This should set the linetype of <foo> to <baz> even if <baz> itself
has been assigned as another line style.
2006-04-08 Ethan A Merritt <merritt@u.washington.edu>
* src/standard.c (f_tanh): Fix a two-fold error in bounds checking for
tanh(). Bug #1452627
2006-04-08 Bastian Maerkisch <bmaerkisch@web.de>
* src/win/pgnuplot.c: Patch for SF bug [1232950] "-persist option does
not work in Version 4.0.0 (Windows)". Omit sending `exit` from pgnuplot
to wgnuplot when `-persist` is given on command line.
2006-04-08 Daniel Sebald <daniel.sebald@ieee.org>
* src/set.c (set_palette_file) docs/gnuplot.doc: Binary palette files
are supported as well. Example:
set palette file "palette.bin" binary record=64 using 1:2:3
2006-04-08 Bastian Maerkisch <bmaerkisch@web.de>
* config/config.os2: Define more features.
* config/makefile.os2:
- add a list of required/recommended tools and libraries,
- make use of pre-built version of libgd from hobbes.nmsu.edu,
- change requirements for newer versions of PDFlib,
- replace shell script to create allterm.h by 4allterm.cmd in Rexx.
* src/os2/4allterm.cmd: New Rexx script to create allterm.h, much faster
than previous code and does not require the unix tool chain to be
installed.
2006-04-07 laboratoryman <laboratoryman@users.sourceforge.net>
* src/term.c (test_term): No terminal currently implements any head
fill style (curr_arrow_headfilled) other than 0/1/2. So don't use 3 as
a test case.
2006-04-05 Ethan A Merritt <merritt@u.washington.edu>
* term/svg.trm: New line-join terminal option {rounded|butt},
with support for smooth joining of closed polygons via the recently
added newpath()/closepath() mechanism.
* src/gadgets.c (draw_clip_arrow): Provide a routine in the core
code that clips arrow head/tail to the canvas boundaries. This means
we don't have to do the clipping in do_arrow(), which has been messy.
* src/graph3d.c (plot_arrows3d plot3d_vectors)
src/graphics.c (place_arrows do_key_sample get_arrow)
Draw arrows using new routine draw_clip_arrow.
Addresses bug #1348015 and others.
* src/term.c (do_arrow): Add a note that the clipping here is now
redundant, and can be removed. Defer removal to a separate patchset.
2006-04-04 Ethan A Merritt <merritt@u.washington.edu>
* src/plot2d.c (eval_plots): Fix inadvertant breakage due to an
accidentally deleted call to arrow_parse().
2006-04-04 Harald Harders <h.harders@tu-bs.de>
* src/term.c (do_arrow) src/term_api.h docs/gnuplot.doc
* src/graphics.c (get_arrow plot_boxes plot_vectors)
* src/misc.c (arrow_use_properties) src/show.c (show_arrow):
Add an option "backhead" to arrow style that reverses the sense
of the arrow. Modify flags to indicate the forward arrowhead and
the backward arrowhead separately, so "heads" sets both flags.
Patchset #1318546
2006-04-04 Ethan A Merritt <merritt@u.washington.edu>
* src/term_api.h src/term.c (newpath closepath) term/README:
Define a new terminal entry point term->path(foo), and wrapper routines
newpath() == term->path(0); closepath() == term->path(1).
These are needed to ensure smooth line joins at the ends of a closed
path in PostScript-like terminals.
* src/graph3d.c (do_3dplot draw_3d_graphbox)
* src/graphics.c (do_plot plot_boxes plot_cbars do_key_sample)
* src/graphics.c (plot_border) src/color.c (draw_color_smooth_box):
Enclose the vector commands that draw rectangles with a
newpath()...closepath() pair. This g