2011-11-22 Ethan A Merritt
* src/contour.c (contour): Format contour labels using gprintf rather
than sprintf so that LC_NUMERIC and "set decimal" are honored.
Bugfix.
* term/js/gnuplot_svg.js: Try to correct for coordinate offset due to
scrollbars. The fix is unfortunately browser specific.
2011-11-22 Peter
* term/svg.trm: "standalone" option includes gnuplot_svg.js mousing
support directly in the output *.svg file rather than linking to it
as an external resource.
2011-11-18 Daniel Leidert
* demo/html/webify.pl demo/html/webify_svg.pl demo/html/webify_canvas.pl
Use perl5 native routine ctime() rather than perl4 external module.
* src/datafile.c term/epson.trm term/post.trm:
Typos.
* configure.in: Check for lua5.1.pc if lua.pc is not found.
* man/gnuplot.1: Add some needed character escapes.
2011-11-18 Bastian Maerkisch
* src/win/wgdiplus.cpp src/win/wgdiplus.h src/win/wgnuplib.h
src/win/wgraph.c src/win/wresourc.h: Antialiasing of fill patterns.
* src/win/wgraph.c (CopyPrint): Use Print Setup dialog since the Page
Setup dialog does not offer a possibility to change printer. Do not
use antialiasing on printers.
2011-11-15 Bastian Maerkisch
* src/win/wgnuplib.h src/win/wgraph.c term/win.trm: Store current
text encoding in list of drawing ops.
2011-11-15 Ethan A Merritt
* src/axis.h src/axis.c (parse_range, parse_named_range)
src/axis.c (save_writeback_all_axes check_axis_reversed)
src/fit.c src/plot2d.c src/plot3d.c src/stats.c src/unset.c:
Replace axis-related macros with equivalent subroutines.
2011-11-14 Ethan A Merritt
* config/Makefile.am.in demo/Makefile.am.in m4/Makefile.am.in
tutorial/Makefile.am.in term/Makefile.am.in:
Make sure that the generated files Makefile.am and gnuplot-tikz.help
do not end up non-writable by the owner, which caused build cleanup
problems while packaging. Bug #3419881
2011-11-14 Peter Juhasz
* src/plot2d.c (store2d_point): Fix for 4-column mode of
BOXPLOT style which did not handle log scale correctly.
2011-11-14 Bastian Maerkisch
* src/win/wgnuplib.h src/win/wgraph.c src/win/winmain.c
src/win/wtext.c: Localisation support for menu and help files.
Files are loaded according to current language settings from
files named "wgnuplot-LL.mnu" and "wgnuplot-LL.chm", where LL is
the abbreviation of the current language. Fall back to
"wgnuplot.mnu" and "wgnuplot.chm" if localised files don't exist.
Defaults may be overwritten by new entries "MenuFile" and
"HelpFile" in wgnuplot.ini.
Choose appropriate default fonts in Japanese environments.
src/show.c (show_version) src/win/winmain.h: List correct names
of menu and help files on Windows.
src/win.trm (WIN_set_color): Immediately translate palette color
values to RGB instead of passing them on. This makes it possible
to use more than one palettes in multiplots and in different
graph windows. Test e.g. with pm3dcolors.dem
* src/win/wgraph.c src/win/wresourc.h src/win/wgnuplib.h: Add a
separate switch to toggle antialiasing of polygons.
* src/win/wgraph.c (Draw_XOR_Text): Implement a 10 year old FIXME:
Use proper raster operation instead of double inversion.
2011-11-12 Shigeharu Takeno
* src/win/README.win-ja src/win/wgnuplot-ja.mnu: Update and sync
with wgnuplot.mnu
2011-11-12 Bastian Maerkisch
* src/set.c (set_degreesign): Windows implementation using a Windows
API call since iconv() does not understand locales as returned by
setlocale().
* src/command.c (help_command): HTML help window need to occlude
the text window.
* term/win.trm (WIN_filled_polygon): Use boxfill for filled polygons
which are actually rectangles.
* src/win/wgnuplib.h src/win/wgraph.c: Add support in windows terminal
for toggling individual plots on/off by clicking on the corresponding
key sample in addition to toggling via toolbar buttons.
2011-11-11 Ethan A Merritt
* src/set.c (set_degreesign): More attempts to work around oddities in
Solaris locale handling.
2011-11-10 Shigeharu Takeno
* docs/gnuplot-ja.doc docs/term-ja.diff: Sync to docs version 1.699.
* docs/gnuplot.doc term/be.trm term/cairo.trm term/context.trm
term/win.trm: Fix typos.
2011-11-09 Ethan A Merritt
* src/axis.c src/command.c src/eval.c src/gadgets.c src/graphics.c
src/internal.c src/tables.c src/unset.c src/util.c src/util.h
term/post.trm: Fix or remove some FIXMEs.
2011-11-09 Bastian Maerkisch
* doc/gnuplot.doc: New terminal driver epscairo.
* term/gd.trm: Don't use gd font pointer variables for builtin fonts.
2011-11-08 Ethan A Merritt
* configure.in src/set.c: Use nl_langinfo(CODESET) to find the encoding.
This hopefully works around non-standard encoding names used by Solaris.
* src/wxterminal/wxt_gui.cpp: Toggle for "plot ... with circles"
2011-11-08 Bastian Maerkisch
* doc/gnuplot.doc [New features]: Document new cairolatex and
revised windows terminal.
2010-11-08 Tatsuro Matsuoka
* src/set.c (set_degreesign): Move include of iconv.h to top level.
2011-11-07 Bastian Maerkisch
* term/fig.trm: Update help on font option.
* term/context.trm: Avoid use of round() because MSVC is still not
C99-compliant.
New terminal driver cairolatex, which uses the cairo EPS or PDF
backend for graphics output and LaTeX text created by functions
shared with the epslatex and pslatex terminals.
* term/cairo.term term/post.h term/post.trm term/pslatex.trm: New
terminal driver cairolatex.
Patch #3413095
2011-11-06 Mojca Miklavec
Add a context terminal, which creates output suitable for ConTeXt.
* configure.in docs/doc2texi.el docs/gnuplot.doc docs/Makefile.in
src/makefile.all src/makefile.awc src/term.h term/context.trm:
New terminal driver context.
Patches #1654807 and #1503836. Feature Request #2815867.
2011-11-05 Ethan A Merritt
* src/wxterminal/wxt_gui.cpp src/wxterminal/wxt_gui.h
src/wxterminal/wxt_term.h term/wxt.trm:
Add support in wxt terminal for toggling individual plots on/off
by clicking on the corresponding key sample.
2011-11-04 Ethan A Merritt
term/wxt.trm src/wxterminal/wxt_term.h src/wxterminal/wxt_gui.cpp:
Add a term->layer() entry point for the wxt terminal.
* src/mouse.c src/term_api.h: TERM_LAYER_BEFORE_ZOOM
2011-11-02 Ethan A Merritt
* src/util.c src/util.h src/set.c (set_encoding set_degreesign):
Provide an internal char sequence degree_sign[] appropriate for the
current encoding. Use iconv(), if available, to translate it into the
environment's locale after `set encoding locale`.
* src/show.c (show_decimalsign): Show the degree sign also, mostly
so that people can report problems with the encoding code above.
2011-11-01 Bastian Maerkisch
* src/win/wmenu.c src/win/wtext.c: Use proper dropdown menu for
Options toolbar item.
2011-10-30 Bastian Maerkisch
* INSTALL: Update Windows section.
* config/makefile.mgw: Superseded by config/mingw/Makefile. Removed.
2011-10-30 Shigeharu Takeno
* config/config.nt config/makefile.nt: Windows console apps support
pipes.
2011-10-30 Bastian Maerkisch
* config/config.cyg config/config.mgw config/config.nt
config/config.oww: Enable stats command.
2011-10-28 Ethan A Merritt
* src/color.c (make_palette): Fix segfault caused by initializing a
terminal with an "infinite" color palette (colors == 0) when previous
terminal had merely a large color palette (e.g. WIN_PAL_COLORS 4096).
Bug #3429772
2011-10-24 Ethan A Merritt
* src/axis.c src/axis.h src/datafile.c src/fit.c src/mouse.c
src/plot2d.c src/plot3d.c src/save.c src/set.c src/setshow.h src/show.c
src/stats.c src/tabulate.c src/unset.c term/canvas.trm term/svg.trm:
Change the axis structure field from TBOOLEAN axis.is_timedata to an
enum {DT_NORMAL, DT_TIMEDATE} field axis.datatype. This is preparation
for adding code to implement a new mode DT_DMS (degrees, minutes,
seconds) that tracks x and/or y as geographic coordinates.
There is no change to the behavior of the current code.
2011-10-22 Ethan A Merritt
* term/svg.trm: Friendlier error message, add a tag at the
top of the output svg document.
2011-10-17 Christoph Bersch
* docs/doc2texi.el: Handle presence of three nodes with the same key.
2011-10-14 Ethan A Merritt
* src/specfun.c (humlik):
Re-order code to avoid accessing an unitialized variable.
* term/emf.trm (EMF_put_text):
Re-order code to avoid accessing an unitialized variable.
* src/command.c (else_command): An else clause might either be
processed by if_command() or else_command(). The latter was not
correctly updating c_token.
* src/misc.c (lf_load): Tie maximum depth of load commands to
STACK_DEPTH.
2011-10-13 Ethan A Merritt
* docs/gnuplot.doc docs/titlepag.tex: Revise the sections that
describe function plots to mention `set samples`. Allow the table of
builtin functions to split across pagebreaks in the TeX documentation.
* src/wxterminal/gp_cairo.c: Decrease linewidth used by pdfcairo
terminal for pattern fill. This works around what seems to be a pdf
bug in libcairo versions through at least 1.10.
* src/fit.c (error_ex): Exit via int_error() so that it can walk
through the list of XXX_reset_after_error() routines.
2011-10-10 Ethan A Merritt
* src/hidden3d.c: Bump default QUADTREE_GRANULARITY from 10 to 30.
At 10, 24% of the CPU time for all.dem is spent in hidden line removal.
At 30 this decreases to 12%, for roughly a 10% speed increase overall.
2011-10-10 Peter Juhasz
* src/datafile.c src/datafile.h src/gadgets.h src/graphics.c
src/graphics.h src/plot2d.c src/save.c src/set.c src/show.c
demo/boxplot.dem docs/gnuplot.doc:
Add new mode for the "with boxplot" plot style.
If there is a 4th column in the using spec, the values in it it will
be interpreted as the discrete levels of a factor variable. As many
boxplots will be drawn as there are different values in the factor
column, each boxplot representing part of the dataset. These boxplots
are optionally labeled and sorted. New options "separation", "label",
and "sorted"/"unsorted" to "set style boxplot" govern the behavior of
this new mode. The demo "boxplot.dem" is extended to showcase the new
capability.
2011-10-09 Shigeharu Takeno
* src/internal.c (f_sprintf): More complete MSVC++ snprintf() patch.
2011-10-09 Adam Strzelecki
* src/wxterminal/wxt_gui.h src/wxterminal/wxt_gui.cpp:
Work around a number of issues compiling and running wxt with wx 2.9
using 64-bit Cocoa on OSX Lion. All changes are #ifdef __WXOSX_COCOA__.
These may not be necessary once Cocoa reaches a stable release.
(1) use wxToolbar AddStretchableSpace rather than AddSeparator
(2) wx Cocoa does not support logical operators such as wxDC inverse
(3) wx Cocoa toolbar icons are blurry unless they are 24x24
(4) wx Cocoa does not define _Bool even though it says it does
2011-10-07 Ethan A Merritt
* src/color.h src/command.c src/getcolor.c src/gplt_x11.c src/save.c
src/set.c src/show.c src/tables.c src/tables.h term/post.trm
term/x11.trm demo/pm3d.dem docs/gnuplot.doc:
New palette option "cubehelix". The is a family of palettes with the
general property of combining N cycles of a color-wheel with a monotonic
increase in overall intensity. This feature was suggested by Ingo Thies.
See: D A Green (2011) "A colour scheme for the display of astronomical
intensity images" http://arxiv.org/abs/1108.5083
2011-10-06 Shigeharu Takeno
* src/internal.c (f_sprintf): Always null-terminal a string written by
the non-ANSI compliant MSVC++ routine _snprintf().
2011-10-03 Bastian Maerkisch
* term/win.trm (WIN_options): When searching the list of graph windows
the correct test is for window Id.
2011-10-03 Rich Seymour
* term/svg.trm: Look for strings " Bold" and/or " Italic" in font name
and set the corresponding properties if found. Patchset #3058920.
2011-10-03 Bastian Maerkisch
* term/post.trm (PS_options): Properly contain new variable in a
block. Bug #3417716
* src/Makefile.maint: New target makefile.awc.
* src/makefile.all src/makefile.awc: Regenerated to include stats.c.
2011-10-02 Ethan A Merritt
* configure.in src/Makefile.am src/command.c src/command.h src/show.c
src/stats.c src/stats.h src/tables.c docs/gnuplot.doc:
New command to generate a statistical summary of the data in a file.
stats "datafile" [using col1[:col2]] [nooutput] [name "PREFIX"]
Data is read from the input file under the control of the same options
used for 'plot' commands (e.g. xrange, yrange, using, index, every).
The min/max/mean/stddev/quartiles of data from one or two data columns
are printed to the terminal and stored in named variables. These
variables can be used to modify subsequent plot commands.
This code was developed primarily by Philipp Janert and Zoltn Vrs.
* demo/html/Makefile demo/html/Makefile.svg demo/html/Makefile.canvas
demo/stats.dem demo/all.dem: New demo to exercise stats code.
2011-10-01 Bastian Maerkisch
* term/cairo.trm: Depending on the version, Cairo defaults to cropping
eps files to the minimal bounding box. This patch adds support for the
{no}crop option to the epscairo terminal. Cropping is prevented by
putting two points in background color in opposite corners, or by
directly setting the bounding box for Cairo newer than 1.11.0.
* config/mingw/Makefile: Include epscairo terminal.
2011-10-01 Christoph Bersch
* term/post.trm term/pslatex.trm: New options `background` and
`nobackground` for terminals postscript, epslatex, pstex and pslatex.
Patch #3415158
2011-09-29 Ethan A Merritt
* src/color.c src/graph3d.c src/graphics.c: User-specified axis tick
labels should override auto-generated tick labels in 3D plots just as
they already do in 2D plots.
* src/plot2d.c: In `plot with labels`, skip labels for which the x,y
coordinates are UNDEFINED.
Bug #3415454
* term/js/gnuplot_mouse.css: Opera is picky about missing units.
2011-09-27 Ethan A Merritt
* term/emf.trm term/fig.trm term/metapost.trm term/tgif.trm:
Prefer the new syntax set term ... font "," in the
documentation. This does not change the terminal input, only the docs
and the options string echoed back by "show term".
* term/canvas.trm: Implement set term canvas ... font ",".
Currently the name is ignored.
2011-09-23 Ethan A Merritt
* docs/gnuplot.doc src/plot2d.c: Defer interpretation of newhistogram
linetype until the histogram itself is drawn.
2011-09-21 Bastian Maerkisch
* demo/borders.dem: Use loop instead of `reread`.
* demo/image2.dem: Explicitely `reverse` axes.
* src/win/wgraph.c (drawhraph) [W_filled_polygon_draw]: Transparent
pattern fill actually fills with white background since 2011-05-15.
Fixed.
* src/win/wgnuplib.h src/win/wgraph.c (WndGraphProc) term/win.trm
(WIN_options, WIN_update_options): Update term options on changes via
graph window/menu. Track font face and size as read from ini-file.
* src/stdfn.c|h (gp_basename) term/pslatex.trm (PSTEX_common_init):
Move code from pslatex.trm to new function gp_basename which takes
two different directory separators into account and does not change
its argument.
2011-09-16 Peter Hedwig
* term/lua/gnuplot-tikz.lua: Modify the commands used for rgb color
selection so that they are compatible with context as well as tikz.
Bug #3401068
2011-09-16 Oliver Jennrich
* term/lua/gnuplot-tikz.lua: Update syntax used for setting line join
properties.
Bug #3410554
2011-09-12 Bastian Maerkisch
* config/mingw/Makefile: Fix building gnuplot.ps and gnuplot.pdf.
Include figures in gnuplot.pdf. Define new targets 'console', 'windows'
and 'pipes' to build different versions of gnuplot. Use separate
file extensions for each version. Let 'make all' build all versions.
Match 'install' target to Tatsuro Matsuoka's packages.
2011-09-09 Ethan A Merritt
* docs/doc2tex.c docs/titlepag.tex: Tweak format of TeX documentation
(no section numbers in table of contents, text width appropriate for
paper size).
2011-09-09 Bastian Maerkisch
src/win/wgnuplib.h src/win/wgraph.c src/win/wresourc.h term/win.trm:
Add a toolbar to the graph window. Currently, it offers icons for Copy,
Print, Save and Options. Additionaly, plot elements can be temporarily
hidden, ie. without a `replot`. This is much like what can be done
using canvas and svg terminals and is implemented using term->layer.
2011-09-08 Ethan A Merritt
* src/graphics.c (plot_image_or_update_axes): "with image" from a
function may not make sense, but at least it should not segfault.
Bug #3406642
2011-09-07 Ethan A Merritt
* src/parse.c (parse_sum_expression): Simplify construction of summation
action table.
* src/command.c (undefine_command) src/eval.c (del_udv_by_name):
Break out the guts of undefine_command into a utility routine that can
be called internally.
* src/hidden3d.c (build_networks): Valgrind found a test against an
uninitialized field.
2011-09-06 Ethan A Merritt
* configure.in: cairo_ps_surface_set_eps is only supported by cairo
version 1.6.0 or later.
2011-09-05 Ethan A Merritt
* src/term.c term/canvas.trm: Allow canvas and svg terminals to provide
mousing even if gnuplot itself is built without USE_MOUSE.
* src/gplt_x11.c src/Makefile.am: gnuplot_x11 --version
2011-09-04 Bastian Maerkisch
* src/readline.c (fn_completion, tab_completion, isdoublewidth)
src/win/screenbuf.h (sb_calc_length) src/win/wcommon.h (open_printer,
close_printer) src/win/wgraph.c (UnicodeText) src/win/winmain.c
(ShutDown, CheckMemory) src/win/wmenu.c: Add missing prototypes,
make local functions static.
* src/alloc.c src/alloc.h src/ansicheck.h src/command.c src/command.h
src/plot.c src/scanner.c src/stdfn.c src/syscfg.h src/term.c:
Remove conditional code for Atari Pure C and Borland C compilers.
* src/axis.c src/command.c src/datafile.c src/getcolor.c src/misc.c
src/pm3d.c src/variable.c: Remove unused variables and prototypes.
2011-09-03 Ethan A Merritt
* term/svg.trm term/canvas.trm term/js/gnuplot_mouse.js
term/js/gnuplot_svg.js: Add support for time coordinates to the mousing
code used by svg and canvas terminals. In this initial implementation,
only the primary X axis is checked, and there is no provision for a
user-supplied format.
2011-09-02 Ethan A Merritt
* configure.in term/cairo.trm: Check for the presence of cairo-ps.h
before trying to build the epscairo terminal.
2011-09-02 Bastian Maerkisch
* docs/makefile.ami docs/old/README.ami docs/old/README.win
src/gnuplot.prj src/linkopt.ztc: Removed.
* config/makefile.unx docs/Makefile.in src/Makefile.am: Remove
references to obsolete files.
2011-09-01 Ethan A Merritt
* configure.in: Yet another rewrite of the installation path rules for
TeX files.
Bug #3401370
* configure.in: Remove some obsolete status messages.
2011-09-01 Shigeharu Takeno
* term/emf.trm (EMF_put_text): Use iconv to handle Shift_JIS encoding.
2011-08-31 Ethan A Merritt
* m4/apple.m4: Revert change of 2011-07-23 (aquaterm LIBS)
* configure.in: Rewrite the installation path rules for TeX files.
Bug #3401370
2011-08-29 Bastian Maerkisch
* src/winmain.c (_WIN32_IE): MinGW64 headers require IE >= 501.
Bug #3398189
2011-08-29 Ethan A Merritt
* src/gplt_x11.c src/stdfn.h src/getcolor.c: Make "assert" statements
trigger int_error() rather than abort(), so that debugging is easier.
2011-08-28 Shigeharu Takeno
* docs/gnuplot-ja.doc docs/term-ja.diff: sync to docs version 1.688
2011-08-28 Peter Juhasz
* src/plot2d.c (get_data): Revert yesterday's change to this file
because it broke stringvar.dem.
2011-08-27 Ethan A Merritt
* PORTING src/makefile.all src/makefile.awc src/term.h configure.vms
config/config.cyg config/config.dj2 config/config.mgw config/config.nt
config/config.os2 config/config.oww config/makefile.unx configure.in:
Remove obsolete mgr terminal driver. The mgr window system offered a
terminal sort of like xterm+graphics in the era of Sun3 (i.e. early-mid
1990s). Source for the mgr server has apparently disappeared from the
net. Gnuplot's mgr.trm supported only text and vector commands, so
even if an operational installation of mgr could be found, features
added to gnuplot since about version 3.7 would be irrelevant. Let it go.
2011-08-27 Peter Juhasz
* src/datafile.c (expect_string) src/eval.c src/eval.h docs/gnuplot.doc:
Add patch #3397007 to complete the support for named columns with the
"labels" style. The following now works:
plot 'data' using "A":"B":"labels" with labels
Update the documentation.
* src/datafile.c (f_timecolumn) src/plot2d.c:
Track the current using spec to ensure that the timecolumn function
gets the right timeformat. (fixes part of bug #3163386)
* demo/timedat.dem: Remove the relative date demo because it was
misleading and incorrect.
* src/set.c (set_tics): For some options set_tics()
didn't act on all axes.
* src/graphics.c (boundary): Fix (?) boundary calculation for
"set xtics rotate".
2011-08-25 Ren Haber
* term/cairo.trm: New terminal epscairo using the shared cairo/pango
code to produce and export an eps surface.
* term/term.c: Allow "set term eps" as short for "set term epscairo".
2011-08-24 Bastian Maerkisch
* src/command.c src/command.h src/win/winmain.c: "raise/lower "
command for windows terminal.
* src/command.c (rlgets): Restore code for builtin readline which was
deleted by accident.
2011-08-23 Peter Juhasz
* src/datafile.c (f_stringcolumn) docs/gnuplot.doc:
Implement 'stringcolumn("string")' in using specs to allow named columns
for the "labels" style too. The more natural
plot 'data' using "A":"B":"labels" with labels
still doesn't work: document this fact.
2011-08-23 Bastian Maerkisch
* src/command.c (rlgets): Removing duplicate entries trashes command
line history when using editline. Just suppress adding the same command
to history repeatedly.
* src/history.c (history_find_all): editline's version of
history_set_pos() does not work, so traverse history list manually.
History indices are reversed compared to GNU readline. Fixes history ?.
Patch #3186010
* term/emf.trm (EMF_put_text): Use iconv (if available) to convert
UTF-8 encoding to UTF-16 and store using wide characters.
Bug #3021779
* config/config.mgw config/mingw/Makefile: add support for libiconv
2011-08-22 Ethan A Merritt
* src/graph3d.c: Honor 'set key maxrows N' in 3D plot key.
Bug #3396501
2011-08-19 Ethan A Merritt
* src/commands.c src/misc.c docs/gnuplot.doc:
The old-style if/else syntax cannot be mixed with the new syntax using
{ and } to enclose blocks of commands, possibly spanning several lines.
Add stronger warnings to the documentation and issue an error message
if an old-style if statement is encountered inside a bracketed clause.
Bug #3393631
2011-08-15 Bastian Maerkisch
* src/win/wgraph.c (WndGraphProc): Restore text window on space key:
also show terminal window if it is currently minimized.
* src/command.c (pause_command) src/win/wgnuplib.h (GW) src/win/wgraph.c
src/win/winmain.h src/win/winmain.c term/win.trm: Support multiple
graph windows. All state variables of graph windows were contained
in a single struct already. Replace all references to this struct
(graphwin) by pointers and dynamically allocate new instances when
required. Do not pass on mouse and key events from inactive windows.
Note: Since a single number passed to `set term win` is now interpreted
as window identifier, the old and fontsize options are no longer
supported and the `font` keyword is now required. This is consistent
with other terminals (e.g. x11 and wxt).
* src/win/wgnuplib.h src/win/wgraph.c: Make GraphChangeFont static.
2011-08-15 Reinier Heeres
* src/win/pgnuplot.c: Detect termination of wgnuplot. Slightly enhanced
version of SF patch #2373741.
2011-08-09 Ethan A Merritt
* PORTING config/config.cyg config/config.dj2 config/config.mgw
config/config.nt config/config.os2 config/config.oww
config/makefile.unx configure.in configure.vms docs/Makefile.in
docs/doc2texi.el docs/gpcard.tex src/Makefile.am src/makefile.all
src/makefile.awc src/rgipgnu src/term.h term/rgip.trm
Remove code specific to the rgip terminal (Redwood Graphics Interface
Protocol). The company (uniplex) supporting this protocol no longer
exists. The terminal itself no longer compiles cleanly, and valgrind
shows many buffer overflows and alloc/free errors.
19 files changed, 13 insertions(+), 841 deletions(-)
2011-08-02 Ethan A Merritt
* docs/plotstyles.gnu docs/gnuplot.doc term/be.trm term/canvas.trm
term/cgm.trm term/ai.trm term/aquaterm.trm term/cgi.trm:
Documentation updates
* src/wxterminal/wxt_gui.cpp (OnCreateWindow): It is not acceptable
to have every new plot window occlude the center of the screen.
2011-08-01 Micha Wiedenmann
* src/eval.h src/eval.c (get_udv_by_name free_at) src/show.c (disp_at)
src/internal.h src/internal.c (f_sum) src/parse.c (parse_sum_expression)
docs/gnuplot.doc demo/bivariat.dem:
New expression type for summation:
sum [ = : ]
2011-07-30 Stefan Reiser
* src/win/wgraph.c (WriteGraphIni): Fix spelling of "Antialiasing"
field. Bug #3382732
2011-07-27 Ethan A Merritt
* src/graphics.c (plot_impulses): Skip UNDEFINED points.
Bug #3382469
2011-07-28 Bastian Maerkisch
*src/win/wgraph.c (GraphEnhancedOpen, GraphEnhancedFlush): Fix sign
error in placement of rotated enhanced text with sub-/superscripts.
2011-07-27 Ethan A Merritt
* term/svg.trm: Handle multiple overprint characters, albeit not
the way people probably expect.
Bug #3371782
2011-07-25 Ethan A Merritt
* term/svg.trm: Remove size limit on svg plot dimensions.
2011-07-24 Ethan A Merritt
* src/wxterminal/wxt_gui.cpp: Fix MSWin breakage from yesterday's patch
due to conditional code block damage.
Bug #3376861
* src/datafile.c (df_readbinary): Allow "using ... xticlabels()" for
binary files as well as ascii files. Only string-valued functions
are valid in this case, as no string can be read from the binary
datafield itself.
* src/graph3d.h src/hidden3d.c src/misc.c src/misc.h src/plot3d.c:
Re-work assignment of color and line type to top/bottom hidden3d
surfaces. Keep the user-requested linetype in a new field of the
splot structure, since otherwise linetype definitions would overwrite
it.
2011-07-23 Adam Strzelecki
* src/wxterminal/wxt_gui.cpp src/wxterminal/wxt_gui.h m4/apple.m4:
OSX support for wxt terminal. For OSX, switch to using single-threaded
hybrid GUI & console event loop at wxt_waitforinput().
Add -framework ApplicationServices to the apple-specific
configuration flags.
2011-07-23 Mojca Miklavec
* m4/apple.m4: Replace -laquaterm with -Wl,-framework -Wl,AquaTerm
which is supposed to make the Macports version of aquaterm install
properly.
2011-07-22 Peter Juhasz
* src/parse.c src/parse.h plot2d.c plot3d.c set.c unset.c command.c:
Revise iteration-over-plot mechanism to handle edge cases of nested
iteration correctly.
2011-07-20 Peter Hedwig
* term/lua/gnuplot-tikz.lua: Point types 10 and 11 were upside down.
Bug #3368877
* fill paths now have a pensize > 0 to have slight overlap of tiles to
avoid rendering artifacts
* path building was broken and showed interrupted lines on certain plots
e.g. plot '+' u 1:($1**2):($1**2) with lines palette lw 3 title '$x^2$'
* a new terminal option (tightboundingbox|notightboundingbox) is added
2011-07-20 Ethan A Merritt
* src/datafile.c: Allow binary data for plot style fillsteps
Bug #3371199
* term/gd.trm: Prevent infinite loop on unrecognized terminal option
2011-07-14 Ethan A Merritt
* src/graphics.c (plot_boxes): Correct positioning of bars in clustered
histograms when some values are missing.
Bug #3360882
* src/datafile.c (df_open plot_option_using df_readascii f_column)
src/datafile.h src/parse.c (create_call_column_at extend_at) src/parse.h
src/eval.c src/eval.h src/plot2d.c src/plot3d.c docs/gnuplot.doc:
Implement column selection based on matching a leading substring of the
column header.
plot 'foo' using (column("A")):(column("B"))
plot 'foo' using "A":"B"
plot for [value in "Weight Height"] 'foo' using "Age":value
2011-07-12 Peter Juhasz
* src/command.c src/term.c: Fix crash of 'test' after an
unsuccessful 'set term'
Bug #3347683
* src/parse.c src/parse.h docs/gnuplot.doc: Add nested iteration in plot
and other commands: constructs like 'plot for [i=1:5] for [j=1:5] foo'
are now valid
* src/axis.c src/axis.h src/color.c src/graph3d.c src/graphics.c
src/save.c src/set.c src/show.c src/unset.c docs/gnuplot.doc:
Allow explicit justification for tic labels, e.g. set xtics right
2011-07-11 Ethan A Merritt
* src/graphics.c (plot_steps): Don't pass negative heights to t->fillbox
Bug #3358185
2011-07-03 Ethan A Merritt
* src/term.c (term_apply_lp_properties): Handle the case where
LT_COLORFROMCOLUMN is passed through as a linetype along with a color.
Bug #3350570
2011-06-30 Ethan A Merritt
* src/hidden3d.c (draw_edge): Do not apply the default top/bottom
colors to line segments belonging to the plot border.
Bug #3344103
2011-06-28 Ethan A Merritt
* term/svg.trm: Pattern-fill definitions must initialize both fill and
stroke style; otherwise the most recent setting may bleed through.
Bug #3334216
2011-06-28 Shigeharu Takeno
* docs/gnuplot-ja.doc docs/term-ja.diff: sync to docs version 1.677
2011-06-21 Ethan A Merritt
* src/graphics (plot_histeps): Fix range-checking of log-scaled y.
Bug #3323828
2011-06-20 Ethan A Merritt
* src/getcolor.c term/x11.trm src/gplt_x11.c:
Remove a set of routines in getcolor.c used only by the x11 terminal
to pass a color gradient description through the pipe to gnuplot_x11.
They packed four doubles (value; RGB color) into 8 bytes, losing
precision and failing to round. Now we instead use 12 ascii characters
"0.1234RRGGBB".
Bug #3322975
2011-06-19 Ethan A Merritt
* src/command.c src/command.h src/misc.c src/misc.h src/parse.h
src/scanner.c src/scanner.h src/tables.c src/util.c docs/gnuplot.doc:
Extend the line input processing to include blocks of commands enclosed
by curly braces, possibly spanning multiple lines. This syntax is used
by new commands:
if () { ... } else { ... }
do for [...] { ... }
while () { ... }
2011-06-18 Ethan A Merritt
* src/datafile.c src/gplt_x11.c src/plot2d.c src/set.c src/util.c:
Remove dead code sections. Most of these have been commented out for
many years.
* src/command.c (do_line): Macro expansion must be done before calling
scanner() to identify specific tokens.
* src/command.c src/command.h: Export string_expand_macros().
* src/command.c (read_line): Prepare for block-structure work by adding
a parameter to allow extending, rather than replacing, the input line.
2011-06-17 Ethan A Merritt
* src/getcolor.c (quantize_gray)): Remove a possible discontinuity at
the boundary of defined palettes with a small number of segments.
Bug #3317746
2011-06-17 Peter Juhasz
* src/time.c (gstrptime): The correction for the difference in epochs
(2000 - 1970) was incorrect when reading times in %s format.
Bug #3163386
2011-06-16 Ethan A Merritt
* src/pm3d.c (z2cb): If cb is log-scale, then limit result to positive
values.
Bug #3316616
2011-06-14 Ethan A Merritt
* src/graphics.c (plot_histeps): Allow data points with y=0 even if log
scaling is active.
Bug #3316112
2011-05-31 Ethan A Merritt
* term/emf.trm: Reset line and text colors at the start of each plot.
* config/config.cyg config/config.dj2 config/config.mgw config/config.nt
config/config.os2 config/config.oww config/makefile.dj2
config/makefile.emx config/makefile.unx config/makefile.vms
docs/doc2texi.el docs/Makefile.in docs/term-ja.diff
src/makefile.all src/makefile.awc src/show.c src/term.c src/term.h
configure.in configure.vms INSTALL PORTING NEWS
term/gnugraph.trm term/unixplot.trm:
Remove obsolete terminal drivers gnugraph and unixplot. The underlying
gnu plotutils library is itself more than 10 years out of date (last
release July 2000) and the terminal drivers haven't been upgraded for
longer than that. In any event, current gnuplot has better native
terminal drivers for the devices supported by unixplot/gnugraph.
2011-05-27 Ethan A Merritt
* src/datafile.c (df_open df_determine_matrix_info):
Add a keyword '[s]plot ... nonuniform matrix'
This provides an ascii input option parallel to 'binary matrix'.
nonuniform matrix: ascii; y coords in row 1, x coords in column 1
binary matrix: binary; y coords in row 1, x coords in column 1
matrix: ascii; uniform grid of x/y coords
binary general: binary; uniform grid of x/y coords
* docs/gnuplot.doc: Reorganize the description of data file contents.
More reorganization is still wanting.
2011-05-25 Bastian Maerkisch
* docs/windows/doc2html.c: Encoding of gnuplot.doc is UTF-8.
2011-05-24 Christoph Bersch
* term/cairo.trm: PDF documents normally behave as if they had a
transparent background. Modify the pdfcairo terminal to do this by
default, but also to accept the keywords {no}transparent.
2011-05-24 Harald Koenig
* src/Makefile.maint: Use dd rather than head to update last-modified
date since not all platforms support "head -c".
2011-05-24 Ethan A Merritt
* docs/titlepag.tex, docs/gnuplot.doc: Add Peter Juhasz,
Bastian Maerkisch, and Shige Takeno to the list of contributors. UTF-8.
2011-05-22 Ethan A Merritt
* parse.c (check_iteration next_iteration empty_iteration) parse.h
plot2d.c plot3d.c set.c unset.c: Rather than using a single set of
global iteration bookkeeping variables, require that each iteration
user pass in a structure for bookkeeping. This allows nested
iteration, so long as two different iteration structures are used.
* command.c (do_line): Strip trailing comments from input lines as
they are read, since there is no point in storing what we are going
to ignore later. Minor cleanup of #ifdef nesting.
2011-05-16 Ethan A Merritt
* src/specfun.c (humlik): Initialization would fail whenever y = -1.
2011-05-15 Bastian Maerkisch
* src/wxterminal/gp_cairo.c (gp_cairo_draw_fillbox): Width of filled
box was off by one unit.
* src/win/wgraph.c (GetMousePosViewport): Window size is zero for
minized windows on Vista. Fixes crash when closing plot window in
minimized state e.g. via taskbar.
* src/win/wgraph.c (drawgraph): [W_boxfill] Fix inversion of
transparency. [W_filled_polygon_draw]: Fix transparency in case of
aliased solid white polygons.
2011-05-14 Ethan A Merritt
* src/axis.h src/axis.c src/gadgets.c src/gadgets.h src/graphics.c
src/hidden3d.c src/internal.c term/README: Fix incomplete and incorrect
initializers found by gcc.
2011-05-14 Bastian Maerkisch
* src/win/wgraph.c (drawgraph) [W_image]: Clip images as requested.
* src/win/wgraph.c (WndGraphProc) [WM_KEYDOWN]: Handle VK_CONTROL key
events again. Fixes ctrl-mousedrag rotation of splots.
* src/mouse.c (event_keypress): MinGW's toupper() masks out high bits
required for special keys. Only call for 8bit characters. Fixes
accelerated rotation with keys (e.g. shift-left) for wxt and windows
terminals.
* src/win/wgdiplus.c|h src/win/wgraph.c: Extend support for
antialiasing of line segments and point symbols. Omit border of
non-antialiased solid filled polygons.
2011-05-13 Ethan A Merritt
* src/graph3d.c (draw_3d_graphbox): Avoid use of round() because
MSVC is still not C99-compliant.
2011-05-13 Allin Cottrell
* src/wxterminal/gp_cairo.c (gp_cairo_convert): Make the WIN32 font
work-around (2009-11-06) conditional on cairo < 2.10. Needs more
testing.
2011-05-13 Bastian Maerkisch
* src/win/wgraph.c (WndGraphProc): Cycle through mouse-modes by
clicking on status bar. Suggestion by plotter@piments.com
* src/plot.c (main): Print messages concerning codepages only in
interactive sessions.
* src/win/wgnuplot.rc: Give the MSVC compiler a chance to create the
manifest itself.
* src/win/wgraph.c (drawgraph): Fix image regression.
* term/win.trm: Help text for antialiasing.
2011-05-12 Ethan A Merritt
* docs/gnuplot.doc src/set.c src/mouse.c: Update documentation for the
mouse format modes, which has been incorrect since approximately forever
(predates CVS repository).
2011-05-10 Ethan A Merritt
* src/datafile.c (expand_df_column): Provide a shared routine for
dynamic allocation of space to hold input data lines. This replaces
three separate instances, only one of which did proper initialization.
* src/graphics.c (finish_filled_curve): Consolidate duplicated code.
* src/graph3d.c (draw_3d_graphbox) src/set.c (parse_label_options)
src/gadgets.h src/show.c src/save.c
docs/plotstyles.gnu docs/gnuplot.doc:
The X-axis and Y-axis labels in 3D plots can be aligned parallel to the
respective axis using the command `set [xy]label rotate parallel`.
2011-05-10 Bastian Maerkisch
* term/gd.trm (PNG_options): Init font pointers before using them.
2011-05-09 Ethan A Merritt
* term/eepic.trm: New terminal option {size XX,YY}
Bug #3170746
* src/graphics.c (boundary): Add a sanity check to make sure that the
plot size is not so small that the boundary limits go negative.
Implemented as int_warn(), but maybe it should be int_error().
Bug #3154401
* src/term_api.h src/term.c src/util.c src/util.h: Remove dead code.
2011-05-07 Bastian Maerkisch
* src/command.c (help_command) src/win/wgraph.c (WndGraphProc)
src/win/winmain.c (WinExit, WinMain) src/wxtterminal/wxt_gui.cpp
(wxtPanel::RaiseConsoleWindow, wxt_atexit): For console gnuplot on
Windows, remove dependency on struct textwin, which represents the
non-existant text window. Fixes e.g. overwriting of text window
settings in wgnuplot.ini. Console gnuplot no longer depends on wtext.c
and screenbuf.c.
* src/standard.c (fn_asin, fn_asinh): Fix calculation for complex
arguments. Make sure that asin(sin(z))==z. Bug #2879772.
* config/README: Update to current status.
* config/config.mgw config/config.oww: Sync with config.h created
by autoconf tools.
2011-05-06 Shigeharu Takeno
* src/graph3d.c: Make "notitle" suppress contour line key entries in
addition to the surface key entry. This makes it possible to draw any
combination of surface, contours, and key entries.
2011-05-06 Benjamin Lindner
* docs/plotstyles.gnu docs/gnuplot.doc: Add an illustration of the
'newhistogram' command.
2011-05-06 Ethan A Merritt
* INSTALL: Update the description of readline options and mention
the ./prepare script.
2011-05-06 Shigeharu Takeno
* config/makefile.nt: Add missing support for GDI+. Bug #3298244
2011-05-06 Bastian Maerkisch
* config/msvc/Makefile: New file for Microsoft Visual C++. Builds
out of tree. Intended to eventually replace config/makefile.nt.
config/Makefile.am.in (Makefile.am): Add new Makefile.
2011-05-05 Ethan A Merritt
* src/datafile.h src/datafile.c src/plot2d.c src/plot3d.c:
Change prototype of df_set_key_title_columnhead() to match that of
df_set_key_title().
2011-05-05 Bastian Maerkisch
* term/win.trm (WIN_set_font) src/win/wgraph.c (drawgraph): Defer
determination of default font name and size. Fixes bug addressed
by change of 2010-02-22, but without the need for do_string_replot()
* src/win/wgraph.c (drawgraph): New variable fill_color to track
color of fills. Use cached color brush for transparent solid fills
instead of creating a new one.
* src/win/wgraph.c (drawgraph) src/win/wgdiplus.c|h: Add support for
antialiased solid filled (transparent) polygons.
* src/win/wpause.c (WndPauseProc): Use default dialog font instead of
fixed width font for pause dialog.
* src/readline.c (readline): Tab is a printable character in some
locales, ie. isprint(TAB)>0.
* src/win/wgraph.c (MakeFonts): Reduce size of tics and point symbols
by 20%.
2011-05-04 Bastian Maerkisch
* config/mingw/Makefile: Build support for lua tikz related TeX files.
Use Makefile.maint to update version.c. Update install target to match
directory layout of distribution and include share/lua/, share/LaTeX/,
contrib/, demo/, README, NEWS, Copyright and ChangeLog.
2011-05-02 Ethan A Merritt
* src/variable.c (locale_handler): If built-in readline character input
is to recognize UTF-8 characters via wcwidth(), it is necessary to
initialize the CTYPE locale on entry. "set encoding utf" is not
sufficient.
2011-05-02 Bastian Maerkisch
* src/readline.c (tab_completion, fn_completion, readline) NEWS:
Cycling variant of filename tab-completion for builtin readline.
* src/stdfn.c|h (strnlen, strndup) configure.in config/config.nt
config/config.mgw config/config.oww: Support functions used by
tab-completion code.
* src/stdfn.c|h (opendir, closedir, rewinddir): Add Kevlin Henney's
POSIX directory browsing functions and types for Win32.
* src/readline.c (mbwidth, isdoublewidth) configure.in: Determine
on screen width of utf8 encoded characters with wcwidth() if
provided by the system.
* src/readline.c (delete_previous_word): Overprint with exact
number of spaces, add NUL at eol.
2011-04-30 Ethan A Merritt
* src/readline.c (clear_eoline): More efficient clear line algorithm.
2011-04-29 Ethan A Merritt
* src/mouse.c (apply_zoom): Prevent double-free of custom font for tic
labels.
Bug #3294915
2011-04-28 Bastian Maerkisch
Support for (optional) antialiasing in windows terminal via GDI+.
* config/config.mgw, config/config.nt: Compilers have support for
GDI+: define HAVE_GDIPLUS. Note: OpenWatcom might not support GDI+
* config/mingw/Makefile: Include new files wgdiplus.h|cpp in build,
add library gdiplus.
* src/win/wgdiplus.cpp src/win/wgdiplus.h: New files. C interface
to Windows GDI+ library. Currently supports polylines and circles.
* src/win/wgnuplib.h src/win/wgraph.c src/win/winmain.c
src/win/wresourc.h: Implement antialiasing for lines and and most point
shapes. Add option to LPGW, wgnuplot.ini and popup menu to toggle
antialiasing on and off. Default to oversampling off now that we have
proper antialiasing. Wrap all GDI+ code in #ifdef HAVE_GDIPLUS.
* src/win/wgraph.c (drawgraph) [W_fillstyle, FS_PATTERN]: Fix cycling
of pattern styles.
* src/wxterminal/gp_cairo.c|h (gp_cairo_default_font)
src/wxterminal/wxt_gui.c: New function to determine default font.
Default is "Sans" on all systems but Windows where this alias might
not work work in all cases.
2011-04-27
* src/graphics.c: The autotitle option for column-stacked histograms
should honor "set key maxrows N".
Bug #3281635
2011-04-27 Bastian Maerkisch
* src/command.c (help_command) src/win/winmain.h src/win/winmain.c
(WinExit, ShutDown, WinCloseHelp, WinMain): Work-around for apparently
well known html help bug, which causes spurious crashes on exit. Keep
track of help window handle and try to close the window as soon as
possible. New function WinCloseHelp.
Extensive update to color, linetype and fillstyle handling in windows
terminal. Fixes several bugs and implements new options.
* term/win.trm (WIN_id, WIN_opts, WIN_options): Add options "solid",
"dashed", "background", "fontscale" and "linewidth". Call new function
GraphInitStruct to initialize graphwin. Inlcude font in term_options.
* term/win.trm (WIN_point, WIN_filled_polygon): Handle dashed lines
in drawgraph, not here. (WIN_filled_polygon): Use generalized
W_fillstyle call, shared with WIN_boxfill. (WIN_boxfill): Pass second
corner as parameter, not width and height. Fixes spurious rounding
errors during translation to graph coordinates. (help text): Document
new options.
* src/win/wgnuplib.h (GW): Reorder entries according to function.
* src/win/wgraph.c (pattern_bitmaps): Fix double cross-hatch.
(GraphInitStruct): New function. (MakePens, DestroyPens): Account for
linewidth and sampling and create an additional "null" pen which is
used for filled polygons and boxes. (MakeFonts, GraphEnhancedOpen)
Account for fontscale. (draw_new_pens, draw_new_brush) New functions
to (re)create brushes and pens. Always create a "solid" partner for
the possibly "dashed" pen. Called by drawgraph.
* src/win/wgraph.c (drawgraph): Reorder variables according to
function. [W_line_type]: Save last LOGPEN instead of pen index. Make
use of draw_new_pens. Select background brush for line-type = 2.0
* share/LaTeX/Makefile.am: Regenerate the lua terminal *.tex and *.sty
files from the Makefile rather than keeping them in cvs.
2011-02-21 Bastian Maerkisch
Windows HTML help, SF patch set #3186000.
* docs/gnuplot.doc: changes for windows html help: update
titlepage, comment out old html anchor definitions and links, and
add html replacements for tables
* docs/plotstyles.gnu: new variable winhelp used to switch between
PDF output for "make pdffigures" and PNG output for windows html
help
* docs/windows/doc2html.c: New help file format converter derived
from docs/doc2rtf.c and docs/doc2html.c (Attic)
* docs/windows/wgnuplot.hhp: New file. HTML help project file.
* docs/windows/wgnuplot.hhk: New file. HTML help stub index file.
* docs/windows/wgnuplot.stp: New file. HTML help negative list for
search index generation. Caution: maximum size 512 bytes.
* src/command.c (help_command): issue error message if helpfile
could not be opened, fix table of contents command ("help")
* src/win/winmain.c (WinExit) [WITH_HTML_HELP]: no need to close
help window
* config/makefile.mgw: Optionally modify settings to build and use
HTML help [HTML_HELP].
SF patch set #3186010.
* history.c (write_history_list history_find history_find_all):
use ANSI C definitions
* command.c (history_command): mention editline in message for
missing history support
* readline.c(getc_wrapper): generalize code used for editline
2011-02-20 Ethan A Merritt
* configure.in: Revised configuration tests for lua support.
Variable arrowstyle for vector plots.
* src/gadgets.c src/gadgets.h src/set.c src/term_api.h:
Add tag field to arrow_style_type
* src/misc.c (arrow_parse) src/misc.h (arrow_use_properties):
Parse "arrowstyle variable", export a routine to apply it.
* src/plot2d.c (get_data): Allow 5 column "with vectors" style.
* src/graphics.c (plot_vectors) src/graph3d.c (plot3d_vectors):
Check for arrowstyle variable, apply to each vector if needed
* demo/arrowstyle.dem: Modify last plot to show arrowstyle from column
2011-02-20 Hans-Bernhard Broeker
* config/config.oww [WITH_HTML_HELP]: Change helpfile name.
* src/command.c [WITH_HTML_HELP]: Include .
(help_command) [WITH_HTML_HELP]: Use HTML help instead of classic
WinHelp32 helpfile system.
* config/watcom/Makefile (HELP_EXT, HHC_DIR, HHC, WD, HHP_PROJ)
(HHP_CONTENT, HHP_INPUT, HHP_OUTPUT): New variables.
(HELPFILE, CPPFLAGS, LDLIBS) [HELP_EXT==chm]: Optionally modify
settings to build and use HTML help.
(wgnuplot.chm, $(HHP_OUTPUT), $(HHP_INPUT) $(HHP_CONTENT))
(doc2html.exe) [HELP_EXT==chm]: New targets.
(clean, realclean): Delete files generated for HTML help.
* term/win.trm (WIN_enhanced_flush): Replace C99-ism by simpler cast.
2011-02-20 Bastian Maerkisch
* src/win/text.c(DragFunc): Support drag and drop of directories
onto the windows terminal emulator.
* plot.c(main): init rl_library_name before first call to
editline, otherwise .editrc does not work
2011-02-17 Ethan A Merritt
* src/internal.c (f_calln): Limit recursion depth for multi-variable
functions in the same manner as for single-variable functions.
Bug #3184671
* docs/gnuplot.texi: This file is generated from gnuplot.doc. The copy
in cvs is perennially out of date, so remove it. "make gnuplot.texi" to
regenerate it when needed.
2011-02-12 Ethan A Merritt
* term/cairo.trm: Add missing TERM_ALPHA_CHANNEL flag for pdfcairo
2011-02-11 Benjamin Lindner
* term/win.trm(WIN_enhanced_flush) src/win/wgraph.c(GraphGetTextLength):
Adjust position of enhanced text to account for terminal aspect ratio.
2011-02-10 Benjamin Lindner
* term/win.trm (WIN_set_font) src/win/wgraph.c (GraphChangeFont):
Do not initialize to an empty font name.
Bugfix
2011-02-10 Ethan A Merritt
* term/lua.trm (LUA_set_color): Initialize rgb_color for the case TC_LT.
term/lua/gnuplot-tikz.lua: Work around failure to handle LT_NODRAW
and LT_BACKGROUND. This prevents a freeze, but is not a complete fix.
* src/save.c (save_linetype): save/show variable linecolor correctly.
* src/misc.h src/misc.c (parse_colorname): Split out color name
interpretation into a separate routine.
* src/graphics.c (filter_boxplot) src/graphics.h
src/plot2d.c (boxplot_range_fiddling):
Sort and filter points contributing to a boxplot at the point we pick
the auto-range limits rather than waiting till when we draw it.
Bug #3155750
2011-01-26 Ethan A Merritt
* term/emf.trm (EMF_filled_polygon): Explicitly set a zero-width
same-color border for filled polygons, otherwise it inherits a border
line style.
Bug #3165902
2011-01-25 Ethan A Merritt
* src/set.c (set_encoding): Check result of "set encoding locale"
to see if we have just loaded an sjis (codepage 932) locale.
2011-01-25 Shigeharu Takeno
* src/term.c src/term_api.h term/post.trm term/svg.trm NEWS
docs/gnuplot.doc:
"set encoding sjis" allows characters in Shift-JIS Japanese encoding to
survive enhanced text processing by the postscript and svg terminals.
2011-01-23 Ethan A Merritt
* src/graph3d.c (xtick_callback ytick_callback ztick_callbacke):
Revert change made 2011-01-20 because it breaks hidden3d.
* src/util3d.c (map3d_xy_double): Instead revise the map3d_xy() code
path to share the coordinate transformation used by map3d_xyz().
Bug #3157712
2011-01-22 Shigeharu Takeno
* src/win/wgraph.c: Fix typo in previous definition of _WIN32_WINNT.
2011-01-21 Ethan A Merritt
* src/graphics.c (plot_boxplot): Handle some corner cases
(all points have the same value, fewer than 4 valid points).
Bug #3162872
2011-01-20 Ethan A Merritt
* src/graph3d.c (xtick_callback ytick_callback ztick_callbacke):
Gnuplot uses two different pathways to convert 3D coordinates in user
space into 2D coordinates in the terminal coordinate space. One of
these goes via map3d_xyz() and TERMCOORD(); the other uses map3d_xy().
Unfortunately it seems the two paths can differ by +/- one pixel in the
final terminal coordinates. This discrepancy is particularly
noticeable in the grid and axis tic placement of 3D plots after
"set view map" (Bug #3157712).
This patch switches the tick_callback() routines to use the map3d_xy()
pathway, which fixes the problem case described by the bug report.
It would be to make both pathways share the same underlying code
so that the discrepancy doesn't occur in other conditions.
Bug #3157712
2011-01-19 Ethan A Merritt
* src/graphics.c (place_raxis): If the polar axis maximum is autoscaled,
draw the raxis all the way to that maximum value.
Bug #3153406
* term/post.trm: Replace a use-once character array by a literal string.
2011-01-18 Mojca Miklavec
* src/wxterminal/gp_cairo.c: Cast size_t arguments to (int).
2011-01-17 Shigeharu Takeno
* src/win/wgraph.c: Pass mouse wheel events through to the core
mousing code so that interactive pan/zoom works from the windows
terminal.
2011-01-16 Ethan A Merritt
* src/set.c (set_logscale set_autoscale) src/unset.c (unset_autoscale)
src/axis.h docs/gnuplot.doc: Remove macro INIT_AXIS_ARRAY.
"set logscale" should not affect pseudo-axes.
Bug #3159062
2011-01-14 Ethan A Merritt
* src/plot2d.c (eval_plots): Minimum value of polar axis always
auto-scales to 0 (already documented but implementation lacked).
2011-01-10 David Kuehling
* term/linux.trm: Makes linux.trm work with all SVGAlib video modes,
not only 16 and 256-color modes.
* src/term.c (init_terminal): Correct the auto-selection of terminal
type vgagl or linux. Only select vgagl if lib3dkit is present.
2011-01-08 Hans-Bernhard Broeker
* src/internal.c (f_time): Don't use a local variable of the same
name as a function you're trying to call.
2011-01-07 Peter Juhasz
* src/unset.c (reset_command):
"reset" didn't restore default for "set raxis"
2011-01-03 Peter Juhasz
* src/internal.c (f_time) src/stdfn.h docs/gnuplot.doc:
Fix breakage caused by the previous update
2011-01-02 Peter Juhasz
* src/internal.c (f_time) docs/gnuplot.doc:
Modified time() so that type of result depends on type of argument
2011-01-01 Peter Juhasz
* src/eval.c src/internal.c src/internal.h:
New time() function to get the current system time
* docs/gnuplot.doc demo/timedat.dem:
Documentation and demo for time()
2010-12-29 Daniel Sebald
* src/specfun.c (ranf): Place more restrictions on seed values
used by rand(seed).
* docs/gnuplot.doc (rand): Updated documentation of rand()
function with details about algorithm and allowable seeds.
2010-12-29 Ethan A Merritt
* src/specfun.c: Make all the numerical routines f_whatever()
retrieve their argument via pop_or_convert_from_string().
* src/specfun.c (ranf): Disallow fractional seed values since
truncation to an integer produces an invalid seed value of zero.
2010-12-17 Ethan A Merritt
* src/graphics.c: Use t->set_color() rather than t->linetype() to
set the fill color for pointinterval < 0 and for opaque key.
Needed for windows terminal [any others?].
2010-12-17 Shigeharu Takeno
* term/win.trm: (WIN_point WIN_filled_polygon):
Always draw point symbols using a solid line, even if the current
line type is dashed. Unfortunately this fix is limited to monochrome
mode.
Bug #1952364
* src/win/wgraph.c (drawgraph): Selecting linetype 16 caused
corruption of the color and pen assignments in mono mode.
2010-12-14 Hans-Bernhard Broeker
* config/watcom/Makefile, config/watcom/config.h: New version of
Makefiles for OpenWatcom that builds outside the src tree.
* config/config.oww (pclose, popen): New defines need to compile
pipe-enabled version on OpenWatcom.
* docs/Makefile.in (pdffigures): Make indirect target depending on
pdffigures.tex, to avoid unconditional rebuild.
(pdffigures.tex): New, renamed copy of previous target pdffigures.
(figures): Set loadpath for demos; allow this to work from
out-of-source builds.
* docs/gnuplot.texi: Regenerated.
* docs/gnuplot.doc: Clean up blank-only lines.
* src/win/wtext.c, src/win/wprinter.c, src/win/wpause.c,
src/win/wmenu.c, src/win/winmain.c, src/win/wgraph.c
{HAVE_CONFIG_H}: Add "config.h" include.
* src/syscfg.h {MSVC}: Add missing include (was hidden in MSDOS
section, which the Win32 build doesn't touch).
* src/makefile.awc (COREOBJS): Add missing entry for tabulate.c
* term/PostScript/prologues.h (): Regenerated. prologue_cp1251_ps
was missing completely, among other lapses.
2010-12-13 Tatsuro Matsuoka
* term/emf.trm: Create special point types 70-74 to be filled polygons,
just as they are for the postscript terminal.
2010-12-12 Ethan A Merritt
* src/graph3d.c: Honor "set key tc " in 3D plots. Bugfix.
2010-12-06 Shigeharu Takeno
* docs/term-ja.diff docs/gnuplot-ja.doc:
Sync Japanese documentation to gnuplot.doc rev 1.641
2010-12-06 Ethan A Merritt
* src/fit.x (fit_command): Do not use axis_array[SECOND_Z_AXIS] as
temporary storage, because leaving junk in it can cause an erroneous
free() operation later on.
Bug #3130115
2010-12-04 Ethan A Merritt
* src/gadgets.c src/save.c src/set.c src/show.c src/tables.c
src/tables.h src/unset.c docs/gnuplot.doc: 'set pointintervalbox'.
2010-12-03 Ethan A Merritt
* src/axis.c (gen_tics): Casting to a float may have been clever, but
we can't afford the loss of precision (fails for time coordinates).
* src/pm3d.c (pm3d_depth_queue_flush): Restore deleted code needed for
extended color support. (There are still some svga users after all!)
* term/emf.trm:
Use the EMR_ELLIPSE primitive to draw point types 6 and 7.
Make point types 4 and 5 slightly larger (looks better on MSWin).
Switch to using linecap=flat and linejoin=miter by default,
but add option "rounded/butt" to toggle this.
2010-11-29 Ethan A Merritt
* src/set.c (set_decimalsign): Possible fix for problem with
numeric locales on Windows. Bug #3120819.
2010-11-28 Ethan A Merritt
* src/gadgets.c src/gadgets.h src/graphics.c demo/dashcolor.dem:
Fix breakage to the pointinterval property that was caused by
opaque key support. Add a demo plot illustrating pointinterval.
2010-11-26 Ethan A Merritt
* term/canvas.trm demo/html/webify_canvas.pl
term/js/gnuplot_common.js term/js/gnuplot_dashedlines.js:
Add support for dashed lines and rounded/butt line properties.
2010-11-24 Ethan A Merritt
* term/canvas.trm term/js/gnuplot_common.js term/js/gnuplot_mouse.js:
Revamp the javascript support for the HTML5 canvas terminal.
Move all global variables into a single object "gnuplot" declared in
gnuplot_common.js. This revision also adds polar mode mousing support.
* demo/html/Makefile.canvas demo/html/index.canvas
demo/html/mouseable.dem demo/html/mousebox.template
demo/html/webify_canvas.pl:
Revamp the demos and build scripts to use the new javascript syntax.
See tracker item #3058147
2010-11-23 Ethan A Merritt
* term/js/gnuplot_common.js: Rotated text should be zoom-able also.
* term/js/gnuplot_mouse.js: Konqueror (webkit?) implementation of ctx
does not like negative values of width or height.
* src/eval.c (fill_gpval_axis) term/canvas.trm:
Export polar axis limits and logscale status for external mousing.
2010-11-20 Casey Carter
* demo/html/index.canvas demo/html/index.save demo/html/index.svg
term/canvas.trm: syntax error in link record of standalone mode.
2010-11-18 Ethan A Merritt
* src/axis.c src/axis.h src/command.c src/eval.c src/graphics.c
src/misc.c src/mouse.c src/plot2d.c src/save.c src/set.c src/setshow.h
src/show.c src/tables.c src/tables.h src/unset.c
demo/polar.dem demo/poldat.dem docs/gnuplot.doc:
Improved support for polar coordinate mode.
The polar axis gets syntax and properties equivalent to the x/y/z axes.
- set/unset raxis (always drawn through the origin)
- set rrange controls the extent of the axes and of the plot itself;
the xrange and yrange are set to match, but can be changed afterward
- set rtics (drawn to right of origin; optionally mirrored to the left)
- set log r (does not affect scaling on x or y)
- polar coordinate readout from mousing
- filledcurves bounded by constant r
- polar.dem (turn off rtics so the demo output remains as before)
poldat.dem (add a plot showing raxis, rtics, and log scaling on r)
* src/set.c (set_grid): Clean up the option parsing for set grid.
* src/save.c: save output for "set view" could not be read in.
2010-11-16 Ethan A Merritt
* src/gadgets.c (clip_line): When draw_clip_line() was made into a
wrapper for clip_line() in May 2000, they differed in a single test.
The version of the test from clip_line() was kept. But this broke
the case clip_line(x, ymin, x, ymax+eps), which clipped to ymin,ymin
rather than to ymin,ymax. I do not know if there were any callers of
clip_line() at the time that needed the variant test, but if so they no
longer exist. There is now only one other caller of clip_line().
Restore the test to the version that is correct for draw_clip_line().
* src/graphics.c (place_grid xtick2d_callback plot_impulses)
src/term.c (do_arrow): Simplify these routines to use draw_clip_line().
2010-11-13 Ethan A Merritt
* configure.in INSTALL src/Makefile.am src/term.c src/term.h:
The copyright notice in bitmap.c is more restrictive than the gnuplot
license. The new configuration option --without-bitmap-terminals
omits this code from the gnuplot executable and also disables all
terminals that depend on it. These are:
epson.trm hp500c.trm hpljii.trm hppj.trm pbm.trm
This affects HP deskjet-era printers, but not HPGL or PCL5 printers.
* src/set.c: Replace unnecessary memcpy() calls with direct assignment.
* docs/Makefile.in: Add gnuplot.pdf to the distributed package.
Install it in the same directory as gnuplot.gih.
2010-11-12 Ethan A Merritt
* docs/gnuplot.doc command.c (help_command) util.h:
"help" was collapsing all text to lower case, which broke "help 3D".
Remove a vestigial call to lower_case(). Also make sure it is indexed.
2010-11-07 Ethan A Merritt
* src/axis.c src/axis.h src/set.c src/unset.c:
Re-arrange the order of axes in the axis_table[] array so that all the
parametric axes are at the end. This makes it easy to iterate over only
those axes that make sense for the "set/unset logscale" commands.
Previously, commands like "set logscale tuv" were silently accepted,
leading to strange internal state.
* src/plot2d.c: Issue an error message if the user tries to plot in
polar mode with a style that is not supported.
Bug #3072150
* src/axis.h (AXIS_INIT2D) src/set.c (set_logscale):
Keep AXIS.log_base in sync with AXIS.base.
Otherwise calls to AXIS_DO_LOG or AXIS_UNDO_LOG prior to the first plot
command cause divide-by-zero or other math errors.
2010-11-07 Peter Juhasz
* src/datafile.c (df_readascii): The "labels" style did not work with
pseudocolumns (e.g. "using 1:2:0"). Now it correctly handles pseudocolumns
0, -1, -2.
* term/cairo.trm: Documentation fix: the section on the default size
for the pngcairo terminal was incorrect.
2010-11-06 Peter Juhasz
* src/plot3d.c src/plot3d.h src/set.c src/show.c src/save.c
docs/gnuplot.doc demo/kdensity2d.dem: New option "kdensity2d" for
"set dgrid3d" to create two-dimensional kernel density plots.
2010-11-03 Shigeharu Takeno
* docs/gnuplot.doc: typos
* docs/term-ja.diff docs/gnuplot-ja.doc:
Sync Japanese documentation to gnuplot.doc rev 1.633
2010-11-02 Michael Murphy
* share/LaTeX/gnuplot-lua-tikz.sty: Change the tikz default linetype 0
axis style from dashed to dotted, and the color from black to 35% black.
Tracker item #3098162
2010-10-31 Petr Mikulik
* demo/pm3dcolors.dem: Added first page with multiple palettes. Show
color ranges in [0:1].
2010-10-28 Ethan A Merritt
* src/graphics.c (plot_boxes): Prevent out-of-range boxes from creating
degenerate invisible boxes in the output file. Can reduce file size for
vector format output.
Bug #3096750
* src/axis.c: The custom routine dbl_raise() was failing to handle NaN
correctly, causing an infinite loop from e.g. set yrange [*:NaN]
Replace it with a call to the C library routine pow().
2010-10-26 Ethan A Merritt
* src/misc.c (parse_fillstyle): Allow "border" as a keyword without
necessarily having an immediately following linetype or color.
* src/plot2d.c (eval_plots): fillcolor was not taking into account
user-defined linetypes.
* src/plot3d.c src/misc.c: Simplify calls to load_linetype()
* lisp/gnuplot.el: Emacs 24 does not have make-local-hook
contributed patch #3095458
* ChangeLog.2: Split off ChangeLog at the point 4.5 was tagged.
* docs/gnuplot.texi: regenerate from gnuplot.doc v 1.633
2010-10-23 Ethan A Merritt
* configure.in: The AC_CHECK_LIB macro apparently always appends
to LIBS (despite what the documentation says). We want to accummulate
readline-associated libraries in TERMLIBS rather than LIBS,
so save and restore LIBS around the checks.
2010-10-21 Ethan A Merritt
* src/plot2d.c (boxplot_range_fiddling): trap and report an error
if the x coordinate of a boxplot is undefined.
Bug #3092435
* src/plot2d.c (get_data): Up until now this routine has returned
the number of lines from which data were read, including lines
containing undefined points. Change this to return the number of
well-defined data points. That way a file of junk is recognized as
empty if read with either 'using 1:2' or 'using ($1):($2)'.
Bug #3092435
2010-10-20 Graham Reed
* configure.in src/alloc.c: Test at configuration time whether the
local implementation of malloc(0) returns 0 rather than a pointer.
If so, work around it in gp_malloc(). Replaces alpha-specific fix
of 2010-10-04.
2010-10-18 Ethan A Merritt
* src/plot2d.c (box_range_fiddling) src/graphics.c (plot_boxes):
Catch a couple of corner cases of "plot ... with boxes".
Bug #3075938
2010-10-14 Ethan A Merritt
* src/axis.c (gen_tics): A smart (or maybe that's dumb) compiler may
optimize out our tests for step size less that the machine precision.
Try to forestall this by marking the steps as (float)(volatile double).
Bug #3085168
2010-10-12 Ethan A Merritt
* src/pm3d.c: Reduce the size of the pm3d surface quadrangle structure
by removing a redundant copy of the vertex coordinates. Add a pointer to
track the current plot's line color.
Bug #2997853
2010-10-11 James R. Van Zandt
* src/specfun.c src/specfun.h src/eval.c docs/gnuplot.doc: Adding
support for the exponential integral E_n(x) as gnuplot function expint(n,x).
2010-10-10 Tatsuro Matsuoka
* src/stdfn.c (not_a_number): Bit-pattern definition of NaN for MINGW
2010-10-09 Ethan A Merritt
* term/lua.trm (LUA_options): Null-terminate the "set term lua ..."
command string at the first semicolon before passing it to lua.
* src/fit.c src/fit.h src/set.c docs/gnuplot.doc:
New option "set fit quiet" prevents fit information sent to the log
file from being echoed also to stderr.
Bug #2355210
2010-10-07 Ethan A Merritt
* src/gplt_x11.c: Protect against the case that the x11 colormap is not
partitioned identically to the palette.
2010-10-06 Marco Cammarata
* docs/psdoc/ps_symbols.gpi: "set angle radian"
2010-10-06 Ethan A Merritt
* src/color.c src/pm3d.c src/pm3d.h set.c show.c docs/gnuplot.doc:
Simplify the syntax for "set pm3d hidden3d". A linestyle is no longer
required. If no linestyle is given, the line properties are taken from
the plot command line.
Bug #2997853
2010-10-05 Ethan A Merritt
* src/getcolor.c (quantize_gray) src/getcolor.h src/gplt_x11.c:
Continuation of defined palette revamp (2010-10-01). Break out the
new code into a separate subroutine that can be shared with gnuplot_x11.
* src/color.c (draw_inside_color_smooth_box_bitmap):
Assign colors to component colorbox rectangles by rounding the pixel
coordinate up rather than down. This empirically gives better results
in gd.trm, and doesn't seem to hurt other terminals.
* term/post.trm term/pslatex.trm term/svg.trm term/PostScript/cp1251.ps
src/term_api.h src/term.c docs/gnuplot.doc: Add support for codepage 1251,
an alternative 8-bit Cyrillic encoding.
2010-10-04 Matthew Biggar
* src/Makefile.am src/alloc.c: Architecture (Alpha) specific work-
around to insure that gp_malloc() does not fail on error if 0 bytes are
successfully allocated.
2010-10-02 Ethan A Merritt
* src/stdfn.c (not_a_number): Although DJGPP version 2.04 is reported
to support atod("NaN"), this version is not universal. Switch to using
an explicit bit pattern for NaN.
2010-10-01 Ethan A Merritt
* src/plot2d.c (cp_free): Prevent use-after-free error if a plot
structure containing dynamically allocated data is reused for a later
plot.
* src/color.c (make_palette) src/getcolor.c (rgb1maxcolors_from_gray)
docs/gnuplot.doc:
Revamp the interaction of `set palette maxcolors` and defined palettes.
Up until now, `set palette maxcolors N` meant both "allocate N colors"
and "divide the color range into N equal parts". This meant that a
user-defined palette that used unequal divisions of the total range
interacted badly with a limited number of palette colors. Now we
guarantee that in the case of defined palette ranges, a gray value is
never mapped to a color outside its proper range even if the ranges
are very unevenly spaced. If more color ranges are defined than the
value of maxcolors, this may (or may not) result in increasing the
effective value of maxcolors. Outboard terminals that enforce maxcolors
(e.g. x11) do not yet benefit from this change.
* configure.in src/datafile.c src/eval.c src/plot.c src/show.c
term/lua.trm: Remove conditional flag HAVE_ISNAN.
Apparently we have been getting along OK with an unprotected call
to isnan() since Oct 2009. That would seem to be good evidence
that we can remove the #ifdef protection elsewhere as well.
2010-09-30 Peter Juhasz
* src/plot2d.c (store_label eval_plots): Fix bug introduced by my patch
of 2010-09-08 (references to uninitialized variables were found by
valgrind).
2010-09-29 Ethan A Merritt
* src/color.c (draw_inside_color_smooth_box_bitmap):
The color box is constructed from 128 segments. If any of these
straddles a boundary within a defined palette, split it into 2 segments
so that discrete color transitions are described with pixel accuracy.
This does not fix imprecision in the palette itself, which can result
if too few colors are allocated (set palette maxcolors).
2010-09-28 Petr Mikulik
* docs/titlepage.ipf docs/titlepage.tex: Years updated.
2010-09-28 Ethan A Merritt
* src/graphics.c (plot_image_or_update_axes): Add support for log-scale
transformation of 2D image data.
* src/hidden3d.c: Disentangle variable color from the direction of
arrows. Bug #3074212
2010-09-28 Volker Dobler
* src/axis.c (load_one_range load_range) src/axis.h
src/parse.c src/parse.h src/save.c src/set.c src/unset.c src/util.c
demo/all.dem demo/autoscale.dem docs/gnuplot.doc:
Introduce a mechanism for constraining the axis limits chosen during
autoscaling. For example:
set yrange [* : 100 print strftime("%Y %D %H:%M:%.3S", 12345.6789)
2000 01/01/00 03:25:45.679
The maximum precision allowed for output is 6 digits (microseconds).
6 digit accuracy is possible for absolute dates through the year 2550.
2010-06-30 Ethan A Merritt
* src/plot2d.c (get_data): Add back the rather useless code that handles
four columns of data for styles LINESPOINTS and POINTSTYLE, even though
the variable color handling no longer needs it. It is still called
(foolishly) if the plot command is issued with no using spec at all.
2010-06-29 Peter Juhasz
* docs/gnuplot.doc: Document variable color for plot styles that were
not previously supported.
* src/plot2d.c: The final piece of "with labels tc variable"
2010-06-29 Ethan A Merritt
* src/set.c (parse_label_options) src/plot2d.c (store_label)
src/pm3d.c (set_plot_with_palette):
Finish variable color support for text color in LABELPOINTS.
2010-06-28 Peter Juhasz
* src/graphics.c demo/varcolor.dem: Finish variable color support
for plot style CANDLESTICKS. Expand the demo.
2010-06-28 Ethan A Merritt
* src/color.h: New flag TC_VARIABLE (only used for textcolor)
* src/misc.c (parse_colorspec) src/set.c (set_key)
src/graphics.c (do_key_sample): Accept "set key tc variable"
2010-06-27 Peter Juhasz
* src/graphics.c src/plot2d.c: Remove dead code supporting the old way
of handling variable color. Make "lc palette z" work.
Since the new variable color mechanism frees up space in struct
coordinate, use this to clean up the data storage for "with circles".
* demo/varcolor.dem: General demo and debugging tool for the expanded
support of variable color across almost all plot styles.
* src/graphics.c src/plot2d.c: Implement variable color for
*ERRORBARS, *ERRORLINES, FINANCEBARS, CANDLESTICKS
2010-06-27 Ethan A Merritt
* src/graphics.h src/graphics.c plot2d.c: Maintain a dynamically-
allocated array of per-datapoint color values in the header of each 2D
plot. The array is allocated only if the plot uses variable color.
* src/plot2d.c: Store variable color data in the plot->varcolor[] array
for plot styles VECTOR CIRCLES BOXES LINES DOTS IMPULSES POINTSTYLE
LINESPOINTS XYERRORLINES XYERRORBARS BOXXYERROR LABELPOINTS BOXERROR
* src/graphics.c (check_for_variable_color): Convert this routine to
check and load variable color using the new mechanism.
Add variable color support for BOXXYERROR, BOXERROR
2010-06-26 Peter Juhasz
* src/plot2d.c: In plots style "with circles", let a negative value for
the radius indicate that the default radius should be used.
2010-06-24 Ethan A Merritt
* src/gadgets.c src/gadgets.h src/graphics.c src/plot2d.c src/save.c
src/set.c src/show.c src/tables.c src/tables.h src/unset.c
docs/gnuplot.doc:
New style element "set style circle radius " specifies a default
radius for function plots or 2-column data plots drawn "with circles".
2010-06-16 Ethan A Merritt
* src/plot2d.c (eval_plots): Function plots should not be affected by
the current setting of "boxwidth" unless they really do contain boxes.
Bugfix
2010-06-15 Ethan A Merritt
* src/datafile.c: Do not allow xticlabels(foo) in association with
style BOXPLOT, since there are no x coordinates.
* src/gadgets.h: Add in missing fields of object initializers.
2010-06-11 Peter Juhasz
* src/graphics.c (boundary): More correct fix for distorted
vertical size of subplots in a multiplot.
2010-06-10 Ethan A Merritt
* src/graphics.c (boundary): Fix a type that can distort the
vertical size of subplots in a multiplot.
2010-06-02 Ethan A Merritt
* src/misc.c (need_fill_border): The fillstyle border color was not
taking account of linetype redefinitions.
2010-05-30 Ethan A Merritt
* docs/gnuplot.doc: Document recently added %s time format
(seconds since start of 2000).
2010-05-24 Ethan A Merritt
* src/graph3d.c (do_3dplot): Remove a restriction that limited depth-
sorting of pm3d surfaces to those which were adjacent in the splot
command. If there was a reason for the original restriction, that
reason is now not remembered.
Bug #3004793
2010-05-23 Ethan A Merritt
* term/emf.trm: Revise the enhanced text mode, especially text rotation.
2010-05-22 Ethan A Merritt
* term/canvas.trm (CANVAS_graphics ENHCANVAS_FLUSH):
Fix a bug in applying the baseline of rotated enhanced text.
Provide a dummy gnuplot_init() routine if a standalone html
file with no mouse support is created.
2010-05-20 Ethan A Merritt
* term/estimate.trm (ENHest_writec strlen_utf8)
src/term.c (estimate_strlen):
Teach estimate_strlen() to handle UTF-8 encoded strings. The estimate
is imperfect, but then again the estimate is already imperfect for any
proportional font. To truly do this more accurately would require
customized implementations for each terminal type. Any unicode code
point below 0x3000 is treated as requiring one character width; code
points above 0x3000 are treated as requiring two character widths.
2010-05-16 Ethan A Merritt
* src/hidden3d.c (draw_edge): Add support for coloring lines in
hidden3d mode using 'lc variable' or 'lc rgb variable'.
2010-05-13 Ethan A Merritt
* term/cairo.trm (cairotrm_options): The "noenhanced" option was
broken by the patch of 2009-07-03. Fix it.
* term/cairo.trm (cairotrm_put_text): Enhanced text was applying
the fontscale twice. Fix it.
2010-05-11 Ethan A Merritt
* src/eval.c (magnitude): Optimize for the predominant case
(no imaginary component).
2010-05-10 Ethan A Merritt
* term/post.trm (PS_set_font): set ... font ",size" was not working
for non-enhanced text. Now it is.
* src/plot2d.c (parametric_fixup) src/plot3d.c (parametric_3dfixup):
Delete vestigial code for auto-generation of a parametric plot title.
2010-05-09 Hans-Bernhard Broeker
* src/eval.c (magnitude): Yesterday's change breaks if the complex
argument is {0,0}.
2010-05-08 Hans-Bernhard Broeker
* src/eval.c (magnitude): Make implementation robust to overflows
and underflows.
2010-05-06 David Marx
* src/syscfg.h: Tweaked version of _bool support for Sun/Solaris
2010-05-06 Ethan A Merritt =
1.2) Bug #578311
2010-05-05 Ethan A Merritt