2012-03-04  RELEASE 4.6.0

2012-03-04  Ethan A Merritt  <merritt@u.washington.edu>

	* src/wxterminal/wxt_gui.cpp: Backport CVS fixes for toggling plots
	on/off in multiplots and to limit the toggle effect to the contents
	of the current plot.

2012-03-03  Petr Mikulik  <mikulik@physics.muni.cz>

	* docs/doc2ipf.c (process_line): Don't use assert() because it calls
	int_error().

2012-03-02  Petr Mikulik  <mikulik@physics.muni.cz>

	* config/makefile.os2: version.o is required for gnuplot_x11.exe.

2012-03-02  Ethan A Merritt  <merritt@u.washington.edu>

	* PATCHLEVEL configure.in README.1ST INSTALL FAQ:
	Update for 4.6.0

	* docs/gnuplot.doc: Point to www.gnuplot.info as the URL for all demos.

	* src/show.c src/plot.c config/mingw/Makefile:  
	Enable code that was marked RELEASE_VERSION;
	disable alternative code by marking it DEVELOPMENT_VERSION.

2011-02-29 Bastian Maerkisch  <bmaerkisch@web.de>

	* win/gnuplot.iss: Prepare for 4.6 release.

	* config/mingw/Makefile: New target 'zip' for zip file distribution.

2012-02-25  Ethan A Merritt  <merritt@u.washington.edu>

	* configure.in tutorial/tutorial.tex:  Update latex tutorial for version
	4.6 but do not install it by default.

2012-02-25  Peter Juhasz  <juhaszp@users.sourceforge.net>

	* src/command.c src/misc.c src/plot.c src/plot.h:
	Unterminated blocks (i.e. missing }) in batch mode caused the program
	to erroneously wait for further input or - when commands were streamed
	through a pipe - crash. Fix: display appropriate error message instead.
	Bug #3491904

2012-02-22  Ethan A Merritt  <merritt@u.washington.edu>

	* src/stats.c: Remove order-dependence of keywords.
	Bug #3491215

2012-02-21  contributed anonymously

	* src/term.c (do_arc): Arcs smaller than 3 degrees were being
	reduced to a single line.  Bug #3490227.

2012-02-21  David Leverton  <dleverton@users.sourceforge.net>
	
	* src/graphics.c (edge_intersect):  Fix a bug that failed to draw a
	pure horizontal or vertical line from out of range that crossed the
	entire range of a plot to terminate on the boundary.
	Bug #3488666

2012-02-14  Ethan A Merritt  <merritt@u.washington.edu>

	* src/plot2d.c src/graphics.c:  The histogram code was not designed to 
	mix well with other plot styles, and in particular with function plots.
	Fixes segfault on "plot 1, newhistogram illegal-syntax, foo".
	Fixes Bug #3486639 (key entry spacing of histograms + something else)

2012-02-09  Ethan A Merritt  <merritt@u.washington.edu>

	* term/wxt.trm src/term_api.h src/term.c src/qtterminal/qt_term.cpp
	src/wxterminal/wxt_gui.cpp: Switching the terminal from qt to wxt or
	vice versa causes the program to lock up or segfault.  Introduce a flag
	terminal_interlock to prevent such a switch.

2012-02-08  Jérôme Lodewyck  <lodewyck@users.sourceforge.net>

	* src/qtterminal/QtGnuplotItems.h src/qtterminal/QtGnuplotItems.cpp:
	Fixed the const-ness of QtGnuplotKeybox members.

2012-02-06  Thanate Dhirasakdanon  <dthanate@users.sourceforge.net>

	* term/lua.trm: Compatibility wrapper functions to support both lua 5.2
	and earlier versions.

	* term/lua/gnuplot-tikz.lua: "tightboundingbox" option didn't match docs.

2012-02-06  Ethan A Merritt  <merritt@u.washington.edu>

	* src/plot2d.c: Remove error test that could not be reached in the DATA
	case and is incorrect in the FUNC case.

2012-01-30  Ethan A Merritt  <merritt@u.washington.edu>

	* src/term.c term/linux.trm:  Provide a 5x9 raster font for linux.trm
	and svga.trm so that they are not dependent on --with-bitmap-terminals.
	Bug #3481336

2012-01-29  Ethan A Merritt  <merritt@u.washington.edu>

	* term/cairo.trm:  Make the font scale handling more like pdf and eps.
	Bugs #3478745 #3480006

2012-01-26  Ethan A Merritt  <merritt@u.washington.edu>

	* src/graphics.c:  If there is no key title, there is no need to draw a
	line between the title and the key samples.
	Bug #3478984

2012-01-25  Shigeharu Takeno  <shige@iee.niit.ac.jp>

	* docs/gnuplot-ja.doc docs/term-ja.diff:
	Sync with English documentation.

2012-01-22  Tag Release_4_6_rc1

2012-01-17  Jérôme Lodewyck <lodewyck@users.sourceforge.net>

	* configure.in src/Makefile.am src/qtterminal/Makefile.am
	src/qtterminal/QtGnuplotApplication.cpp
	src/qtterminal/QtGnuplotApplication.h src/qtterminal/QtGnuplotEvent.cpp
	src/qtterminal/QtGnuplotEvent.h src/qtterminal/gnuplot_qt.cpp
	src/qtterminal/qt_term.cpp term/qt.trm: The Qt terminal application is
	executed in a separate executable called gnuplot_qt, started by exec.
	This makes the Qt terminal compatible with OS X.

2012-01-17  Ethan A Merritt  <merritt@u.washington.edu>

	* src/eval.c (update_plot_bounds):  Store the canvas size used by
	the previous plot in user accessible variables GPVAL_TERM_XSIZE,
	GPVAL_TERM_YSIZE.

2012-01-15  Mojca Miklavec <mojca.miklavec.lists@gmail.com>

	* src/mouse.c (event_buttonpress): Treat mouse buttons 6/7 as
	left/right scroll events (e.g. from fingers on a touchpad).

	* src/qtterminal/QtGnuplotScene.cpp (mouseReleaseEvent):  Pass
	horizontal scroll events through to gnuplot core as mouse events 6/7.

2011-01-15 Bastian Maerkisch  <bmaerkisch@web.de>

	* config/config.mgw: Sync with configure.

2011-01-14  Bastian Maerkisch  <bmaerkisch@web.de>

	Installer for Windows. Japanese translation by Shigeharu Takeno.

	* win/gnuplot.iss win/modpath.iss: Installer script to be compiled by
	Inno Setup. New files.

	* win/Copyright-ja.txt: Japanese translation of Copyright, includes
	original text. Encoding is Shift-JIS.

	* win/README-Windows.txt win/README-Windows-ja.txt: New files, 
	displayed by installer before installation. Based on Tatsuro Matsuoka's
	README.Windows.gpteam and README.

	* config/mingw/Makefile: New make target 'installer'.

	* Makefile.am (EXTRA_DIST): Include win/

2011-01-14  Bastian Maerkisch  <bmaerkisch@web.de>

	* tutorial/linepoin.plt: Avoid deprecated syntax.

	* config/mingw/Makefile config/msvc/Makefile src/plot.c:
	GNUPLOT_SHARE_DIR is relative to gnuplot directory on Windows.
	Extend build support for documentation, include in installer.

2012-01-11  Ethan A Merritt  <merritt@u.washington.edu>

	* src/util3d.h src/util3d.c (edge3d_intersect two_edge3d_intersect) 
	src/graph3d.c (plot3d_lines_pm3d):  The utility routines in util3d
	assumed that a 3D curve is always traversed in ascending order of the
	constituent points.  But plot3d_lines_pm3d scans in both directions,
	leading to incorrect clipping and possible array over-run when the
	utility routines were called.  Furthermore, the arrays holding the
	scan direction info were never initialized.
	Bug #3471163

2012-01-08  Ethan A Merritt  <merritt@u.washington.edu>

	* src/plot.c:  Allow shell commands from ~/.gnuplot but not from shared
	initialization files.

	* configure.in: Report status of aquaterm configuration correctly
	(Lutz Maibaum).

2012-01-07  Jérôme Lodewyck <lodewyck@users.sourceforge.net>

	* src/qtterminal/QtGnuplotScene.cpp: Normalize the zoom rectangle to avoid
	redrawing artifacts

2012-01-07  Ethan A Merritt  <merritt@u.washington.edu>

	* src/misc.c (lf_pop): If the current input stream from "load file" is
	really a pipe, close it with pclose() rather than fclose().
	Bug #3470351

2012-01-07  Jérôme Lodewyck <lodewyck@users.sourceforge.net>

	* src/qtterminal/QtGnuplotScene.cpp: Normalize the zoom rectangle to avoid
	redrawing artifacts

2012-01-05  Ethan A Merritt  <merritt@u.washington.edu>

	* configure.in src/Makefile.am: Tweak autodetection of Qt utilities to
	handle differences in the Qt 4.6 and 4.7 pkg-config files.

	* src/set.c: Call gp_expand_tilde() in 'set loadpath' and 'set fontpath'.

2012-01-04  Ethan A Merritt  <merritt@u.washington.edu>

	* src/hidden3d.c: Fix an uninitialized colorspec found by valgrind.
	The trigger was hidden3d handling of '... with labels tc palette'.

2012-01-02  Ethan A Merritt  <merritt@u.washington.edu>

	* configure.in term/qt.trm
	In src/qtterminal: QtGnuplotEvent.cpp QtGnuplotEvent.h
	QtGnuplotItems.cpp QtGnuplotItems.h QtGnuplotScene.cpp
	QtGnuplotScene.h QtGnuplotSettings.ui QtGnuplotWidget.cpp
	QtGnuplotWidget.h qt_term.cpp qt_term.h README.Qt:
	Update qt terminal to support pointsize, dashed lines, round linejoins,
	term->layer(), LT_BACKGROUND, mouse toggling, faster rendering.

2012-01-01  Ethan A Merritt  <merritt@u.washington.edu>

	* src/qtterminal/QtGnuplotApplication.cpp (processEvent):
	* src/wxterminal/wxt_gui.cpp (wxt_atexit):
	In "persist" mode, if all qt plot windows were already closed when the
	main program exited then the daughter process would become a zombie.
	Even worse for wxt; if _any_ plot windows had been closed then the 
	persisting daughter process would become a zombie.
	Bugfix.

2011-12-29  Ethan A Merritt  <merritt@u.washington.edu>

	* src/plot.c src/plot.h src/qtterminal/qt_term.cpp:
	Provide a function cancel_history() that can be called by terminal
	helper processes after forking so that the history file isn't 
	trashed on exit.
	Bug #2950711

	* docs/gnuplot.doc:  Minor updates to match 4.6 configuration.

2011-12-28  Ethan A Merritt  <merritt@u.washington.edu>

	* docs/gnuplot.doc share/Makefile.am share/colors_default.gp
	share/colors_mono.gp share/colors_podo.gp share/gnuplotrc
	src/Makefile.am:
	Provide template initialization files, including examples of customizing
	the linetype color sequence.  These are installed in $GNUPLOT_SHARE_DIR
	(usually /usr/local/share/gnuplot/4.6).

	* src/command.c src/datafile.c src/help.c src/history.c src/misc.c
	src/plot.c src/plot.h src/term.c src/variable.c:
	Do not allow execution of system(), shell, or popen() commands in the
	initialization files.

	* src/plot.c src/show.c: More compact splash page.

	* src/graphics.c src/graphics.h src/graph3d.c:
	Strangely, the final parameter of place_objects(,,,clip_area) was
	(1) never used and (2) shadowed a global parameter that _was_ used.
	Bug #3426247

	* configure.in: Default to --enable-stats --without-bitmap-terminals

	* configure.in PATCHLEVEL: Report as version 4.6.rc1

2011-12-25  Ethan A Merritt  <merritt@u.washington.edu>

	* src/qtterminal/QtGnuplotEvent.cpp src/qtterminal/QtGnuplotScene.cpp:
	If two button release events occur in quick succession then the program
	messes up the event handling and winds up in a non-recoverable state.
	Apply an empirical fix to ignore events in a 300 msec window.
	Also rather than ending up a zombie, exit explicitly on a sync error.
	Bugfix

2011-12-21  Ethan A Merritt  <merritt@u.washington.edu>

	* src/plot2d.c:  The default sequence of histogram colors was one off
	from the default sequence of line colors.  Bugfix.

2011-12-11  Bastian Maerkisch  <bmaerkisch@web.de>

	* config/config.nt config/config.mgw: Sync with config.h created by
	autoconf.

	* src/msvc/Makefile: More complete install target. Add new variables
	to hold paths to external libraries.

	* src/mingw/Makefile: Include index in gnuplot.pdf. Support building
	of the Japanese help file wgnuplot-ja.chm.

	* src/eval.c (update_gpval_variables): New variable GPVAL_ENCODING.

	* term/gd.trm (gd_iconv): Silence const mismatch compiler warning
	in call to iconv by casting second argument to (void *).

	* src/syscfg.h: All tested platforms (XP, Vista, 7) support '/' as
	directory separator.

	* src/win/winmain.c: Automatic language detection can be overridden
	by new setting "Language=XX" in wgnuplot.ini. Suggestion by Shigeharu
	Takeno.

	* src/win/wpause.c: Remove local definition of TBOOLEAN.

	* docs/plotstyles.gnu: Prefer pngcairo over png terminal. Use font
	"Times New Roman" on Windows.

	* demo/random.dem: Use loops to create random number data sets.

2011-12-08  Ethan A Merritt  <merritt@u.washington.edu>

	* docs/gnuplot.doc docs/Makefile.in term/context.trm docs/doc2rnh.c:
	Miscellaneous documentation updates, remove dead URLs.

	* configure.in docs/gnuplot.doc src/plot.c src/show.c
	config/config.cyg config/config.dj2 config/config.mgw config/config.nt
	config/config.os2 config/config.oww config/makefile.unx:

	Despite what it says in the documentation, and despite what the
	configure script prints out, auto-configuration never defined the
	NOCWDRC flag to disable reading an initialization file .gnuplot
	from the current directory.  This is a security risk.  Furthermore,
	having to define something special to get the secure state is bad
	design.  Fix the configuration script and default to not initializing
	from the current directory.  Put a warning in various config files.

2011-11-29  Shigeharu Takeno  <shige@iee.niit.ac.jp>

	* docs/Makefile.in:  Remove duplicate entry for qt in CORETERMS.

2011-11-28  Ethan A Merritt  <merritt@u.washington.edu>

	* src/scanner.c (legal_identifier) src/scanner.h src/stats.c:
	Make sure that the variable name produced by the "stats ... prefix"
	command is a legal identifier.
	Bug #3441395

	* src/set.c (set_palette): Add missing check for conflicting options.

2011-11-26  Ethan A Merritt  <merritt@u.washington.edu>

	* term/cairo.trm: Revert the change of 2011-08-25 that tried to skip 
	empty vectors. The concept was sound but the implementation was not
	correct, leading to mysteriously missing lines.
	Bugfix.

2011-11-24  Ethan A Merritt  <merritt@u.washington.edu>

	* src/term_api.h src/misc.c src/hidden3d.c:  New flag LT_SINGLECOLOR
	passed through to hidden3d to indicate that the user gave an explicit
	surface color in the splot command.
	Bugfix.

2011-11-22  Ethan A Merritt  <merritt@u.washington.edu>

	* Branchpoint for 4.6
	cvs tag -b branch-4-6-stable

2011-11-22  Ethan A Merritt  <merritt@u.washington.edu>

	* 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 <plotter@piments.com>

	* 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  <dleidert@users.sourceforge.net>

	* 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  <bmaerkisch@web.de>

	* 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  <bmaerkisch@web.de>

	* 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  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* 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  <juhaszp@users.sourceforge.net>

	* 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  <bmaerkisch@web.de>

	* 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  <shige@iee.niit.ac.jp>

	* src/win/README.win-ja src/win/wgnuplot-ja.mnu: Update and sync
	with wgnuplot.mnu

2011-11-12  Bastian Maerkisch  <bmaerkisch@web.de>

	* 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  <merritt@u.washington.edu>

	* src/set.c (set_degreesign):  More attempts to work around oddities in
	Solaris locale handling.

2011-11-10  Shigeharu Takeno  <shige@iee.niit.ac.jp>

	* 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  <merritt@u.washington.edu>

	* 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  <bmaerkisch@web.de>

	* 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  <merritt@u.washington.edu>

	* 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  <bmaerkisch@web.de>

	* doc/gnuplot.doc [New features]: Document new cairolatex and
	revised windows terminal.

2010-11-08  Tatsuro Matsuoka  <tmacchant3@yahoo.co.jp>

	* src/set.c (set_degreesign): Move include of iconv.h to top level.

2011-11-07  Bastian Maerkisch  <bmaerkisch@web.de>

	* 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 <mojca.miklavec.lists@gmail.com>

	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  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	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  <merritt@u.washington.edu>

	* 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  <bmaerkisch@web.de>

	* src/win/wmenu.c src/win/wtext.c: Use proper dropdown menu for 
	Options toolbar item.

2011-10-30  Bastian Maerkisch  <bmaerkisch@web.de>

	* INSTALL: Update Windows section.

	* config/makefile.mgw: Superseded by config/mingw/Makefile. Removed.

2011-10-30  Shigeharu Takeno  <shige@iee.niit.ac.jp>

	* config/config.nt config/makefile.nt: Windows console apps support
	pipes.

2011-10-30  Bastian Maerkisch  <bmaerkisch@web.de>

	* config/config.cyg config/config.mgw config/config.nt
	config/config.oww: Enable stats command.

2011-10-28  Ethan A Merritt  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* term/svg.trm:  Friendlier error message, add a <title> tag at the
	top of the output svg document.

2011-10-17  Christoph Bersch  <cbersch@users.sourceforge.net>

	* docs/doc2texi.el:  Handle presence of three nodes with the same key.

2011-10-14  Ethan A Merritt  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* 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  <juhaszp@users.sourceforge.net>

	* 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  <shige@iee.niit.ac.jp>

	* src/internal.c (f_sprintf): More complete MSVC++ snprintf() patch.

2011-10-09  Adam Strzelecki  <ono@users.sourceforge.net>

	* 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  <merritt@u.washington.edu>

	* 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  <shige@iee.niit.ac.jp>

	* src/internal.c (f_sprintf): Always null-terminal a string written by
	the non-ANSI compliant MSVC++ routine _snprintf().

2011-10-03  Bastian Maerkisch  <bmaerkisch@web.de>

	* term/win.trm (WIN_options): When searching the list of graph windows
	the correct test is for window Id.

2011-10-03  Rich Seymour  <richseymour@users.sourceforge.net>

	* 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  <bmaerkisch@web.de>

	* 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  <merritt@u.washington.edu>

	* 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 Zoltán Vörös.
 
	* 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  <bmaerkisch@web.de>

	* 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  <cbersch@users.sourceforge.net>

	* 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  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* term/emf.trm term/fig.trm term/metapost.trm term/tgif.trm:
	Prefer the new syntax set term ... font "<name>,<size>"   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 "<name>,<size>".
	Currently the name is ignored.  

2011-09-23  Ethan A Merritt  <merritt@u.washington.edu>

	* docs/gnuplot.doc src/plot2d.c:  Defer interpretation of newhistogram
	linetype until the histogram itself is drawn.

2011-09-21  Bastian Maerkisch  <bmaerkisch@web.de>

	* 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 <peter@affenbande.org>

	* 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  <bmaerkisch@web.de>

	* 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  <merritt@u.washington.edu>

	* 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  <bmaerkisch@web.de>

	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  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* configure.in: cairo_ps_surface_set_eps is only supported by cairo
	version 1.6.0 or later.

2011-09-05  Ethan A Merritt  <merritt@u.washington.edu>

	* 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  <bmaerkisch@web.de>

	* 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  <merritt@u.washington.edu>

	* 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  <merritt@u.washington.edu>

	* 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  <bmaerkisch@web.de>

	* 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  <merritt@u.washington.edu>

	* 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  <shige@iee.niit.ac.jp>

	* term/emf.trm (EMF_put_text):  Use iconv to handle Shift_JIS encoding.

2011-08-31  Ethan A Merritt  <merritt@u.washington.edu>

	* 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  <bmaerkisch@web.de>

	* src/winmain.c (_WIN32_IE): MinGW64 headers require IE >= 501.
	Bug #3398189

2011-08-29  Ethan A Merritt  <merritt@u.washington.edu>

	* 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  <shige@iee.niit.ac.jp>

	* docs/gnuplot-ja.doc docs/term-ja.diff:  sync to docs version 1.688

2011-08-28  Peter Juhasz  <juhaszp@users.sourceforge.net>

	* src/plot2d.c (get_data): Revert yesterday's change to this file 
	because it broke stringvar.dem.

2011-08-27  Ethan A Merritt  <merritt@u.washington.edu>

	* 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  <juhaszp@users.sourceforge.net>

	* 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  <renehaber@users.sourceforge.net>

	* 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  <bmaerkisch@web.de>

	* src/command.c src/command.h src/win/winmain.c: "raise/lower <id>"
	command for windows terminal.

	* src/command.c (rlgets): Restore code for builtin readline which was
	deleted by accident.

2011-08-23  Peter Juhasz  <juhaszp@users.sourceforge.net>

	* 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  <bmaerkisch@web.de>

	* 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.
[--snip--]
