Hello community, here is the log from the commit of package gnuplot for openSUSE:Factory checked in at 2017-11-18 00:20:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnuplot (Old) and /work/SRC/openSUSE:Factory/.gnuplot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnuplot" Sat Nov 18 00:20:46 2017 rev:65 rq:542575 version:5.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gnuplot/gnuplot.changes 2017-11-09 14:07:51.833108559 +0100 +++ /work/SRC/openSUSE:Factory/.gnuplot.new/gnuplot.changes 2017-11-18 00:20:46.928231559 +0100 @@ -1,0 +2,18 @@ +Thu Nov 16 07:52:31 UTC 2017 - wer...@suse.de + +- Update to gnuplot 5.2.2 + * NEW splot ... with lines title at {beg|end} + * FIX allow mixed use of in-key plot titles and manually placed titles + * FIX prevent runaway iterations of the form plot for [i=start:*] ... + * FIX handle in-line range limits for linked or nonlinear axes + * FIX restore pre-5.2 interpretation of logscaled tic increment as a multiplier + * FIX logscale tic placement is closer to that of versions before 5.2.0 + * FIX recheck inrange/outrange points after spline or bezier smoothing + * FIX sampling on x2 if linked to x1; e.g. plot sample [t=1:5:1] '+' axes x2y1 + * FIX empty range on logscale y axis is handled by auto-extending the range + * FIX autoscaling xrange of stacked histograms +- Add now missed TEXDIR at configure time which now includes also + the sub path tex/latex/gnuplot/ below /usr/share/texmf/ (could + become removed with some of the next version updates?) + +------------------------------------------------------------------- Old: ---- gnuplot-5.2.1.tar.gz New: ---- gnuplot-5.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnuplot.spec ++++++ --- /var/tmp/diff_new_pack.Y4ZfqR/_old 2017-11-18 00:20:48.576171559 +0100 +++ /var/tmp/diff_new_pack.Y4ZfqR/_new 2017-11-18 00:20:48.576171559 +0100 @@ -83,7 +83,7 @@ BuildRequires: xorg-x11 BuildRequires: xorg-x11-devel Url: http://www.gnuplot.info/ -Version: 5.2.1 +Version: 5.2.2 Release: 0 Summary: Function Plotting Utility and more License: SUSE-Gnuplot and GPL-2.0+ @@ -122,6 +122,7 @@ %define _x11inc %{_includedir} %define _appdef %{_x11data}/app-defaults %endif +%define _gnplttex tex/latex/gnuplot %description GNUplot is a command line driven interactive function plotting utility. @@ -189,6 +190,7 @@ --x-includes=%{_x11inc} \ --x-libraries=%{_x11lib}\ --with-x-app-defaultdir=%{_appdef}\ + --with-texdir=/usr/share/texmf/%{_gnplttex} \ --with-readline=gnu \ --enable-history-file \ --with-linux-vga \ @@ -280,7 +282,7 @@ %{_bindir}/gnuplot %{_libexecdir}/gnuplot %{_datadir}/gnuplot -%{_datadir}/texmf/tex/latex/gnuplot/ +%{_datadir}/texmf/%{_gnplttex}/ %{_datadir}/emacs/site-lisp/ %{_appdef}/Gnuplot ++++++ gnuplot-5.2.1.tar.gz -> gnuplot-5.2.2.tar.gz ++++++ ++++ 2176 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/ChangeLog new/gnuplot-5.2.2/ChangeLog --- old/gnuplot-5.2.1/ChangeLog 2017-10-27 19:16:16.000000000 +0200 +++ new/gnuplot-5.2.2/ChangeLog 2017-11-16 06:05:09.000000000 +0100 @@ -1,34 +1,98 @@ -Release 5.2.1 +Release 5.2.2 + +2017-11-15 Ethan A Merritt <merr...@u.washington.edu> + + * src/set.c (set_logscale): If the axis is currently autoscaled and + the range limits still hold non-positive values from a previous state, + reset them to [0.1 : 10.]. + +2017-11-04 Ethan A Merritt <merr...@u.washington.edu> + + * configure.ac src/syscfg.h src/command.c: + (back-ported HBB patch from 5.3 with addition of OS2) + Include <sys/wait.h>, if it exists. Provide fall-back definition + for WEXITSTATUS if none is found via <sys/wait.h>. + Move MS Windows specific replacement from command.c to syscfg.h. + Bug #1989 + +2017-11-01 Ethan A Merritt <merr...@u.washington.edu> + + * src/plot2d.c (histogram_range_fiddling): For stacked histograms, + autoscaling did not distinguish between 'set xrange [*:*]' and + 'set xrange [explicit_min:*]', always resetting min to -1. + Bugfix + + * RELEASE_NOTES NEWS PATCHLEVEL configure.ac src/version.c + Bump version to 5.2.2 (but not yet tagged) + +2017-10-31 Ethan A Merritt <merr...@u.washington.edu> + + * src/command.c: Fix #define breakage + +2017-10-31 Dima Kogan <d...@secretsauce.net> + + * configure.in: Add $LIBRARIES_FOR_X to WX_LIBS so that configuration + of Makefiles includes -lX11 as required by wxgtk3 + +2017-10-31 Petr Mikulik <miku...@physics.muni.cz> + + * src/command.c (is_history_command): Remove use of isblank() to support + older compilers. + +2017-10-31 Petr Mikulik <miku...@physics.muni.cz> + + * term/context.trm: In OS/2, LINEJOIN constants are defined in os2emx.h. + + * config/config.os2: Define int32_t as int. + + * src/command.c: Define WEXITSTATUS empty for both Windows and OS/2. + +2017-10-30 Ethan A Merritt <merr...@u.washington.edu> + + * RELEASE_NOTES NEWS src/version.c demo/image2.dem: + Bring CVS files up date with the contents of the 5.2.1 tarball. - A few bug-fixes present in the distributed package for 5.2.1 are not yet - commited upstream because the repository is in the process of migration - from cvs to git. +2017-10-30 Achim Gratz <strom...@nexgo.de> + + * configure.ac: The configury supposedly tries to find TEXDIR via + kpsexpand, but that code never got run if $prefix is set. Now it is. + +2017-10-30 Ethan A Merritt <merr...@u.washington.edu> + + * term/post.trm: Raise the limit on number of relative moves before + a "stroke" so that a full circle as drawn by do_arc() does not glitch + due to insertion of a "stroke xx yy M" sequence that resets the + dot/dash pattern. + Bug #1987 + + * src/axis.c (gen_tics): `set log x; set xtics foo` would always place + the first axis tic at foo rather than at (foo / base^N) for suitable N. * src/graphics.c (plot_betweencurves): plot 'foo' with filledcurves below y=bar - would fail to identify "below" regions where the y value foo[x] at the - start or end of the region was exactly equal to bar. + would fail to identify "below" regions where the y value of the start + or end data point was exactly (foo[x] == bar). Bug #1983 - * src/axis.c (gen_tics): `set log x; set xtics foo` would always place - the first axis tic at foo rather than at (foo / base^N) for suitable N. +2017-10-30 Bastian Maerkisch <bmaerki...@web.de> * src/win/winmain.c (ConsolePutS, ConsolePutCh): Use standard file IO instead of Console API to enable word-wrapping on Windows 10 and to allow for redirection of stdout/stderr. Bug #1985 - * term/post.trm: Raise the limit on number of relative moves before - a "stroke" so that a full circle as drawn by do_arc() does not glitch - due to insertion of a "stroke xx yy M" sequence that resets the - dot/dash pattern. - Bug #1987 +2017-10-30 Ethan A Merritt <merr...@u.washington.edu> + + * docs/gnuplot.doc src/gadgets.c: Trivial typos and out-of-date + comments. Fix index entries for help section on piped data. - * src/plot2d.c (eval_plots): If the range for logscaled y axis is empty, - e.g. the plot holds a single point, auto-extend the range rather than - giving up with an error. + * plot2d.c (eval_plots): Fix a regression causing an empty range on + log-scale y axis to error out rather than auto-extending the axis range. + Extension can be handled by the same routine used for linear axes. Bug #1978 +Release 5.2.1 + 2017-10-13 Petr Mikulik <miku...@physics.muni.cz> * src/pm3d.c (pm3d_draw_one pm3d_plot): Move call of term->layer() with @@ -39,10 +103,10 @@ 2017-10-11 Ethan A Merritt <merr...@u.washington.edu> - * src/axis.c (gen_tics): The start point for log-scale could not lie - outside the axis range (e.g. start at 1 for axis range [5:50]). - Remove this restriction. Still not perfect backwards compatibility - with log-scale tic placement in earlier versions. + * src/axis.c (gen_tics): The start point for log-scale tic placement + could not lie outside the axis range (e.g. start at 1 for axis range + [5:50]). Remove this restriction. Still not perfect backwards + compatibility with log-scale tic placement in earlier versions. 2017-10-09 Ethan A Merritt <merr...@u.washington.edu> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/Makefile.maint new/gnuplot-5.2.2/Makefile.maint --- old/gnuplot-5.2.1/Makefile.maint 2017-05-24 04:30:55.000000000 +0200 +++ new/gnuplot-5.2.2/Makefile.maint 2017-11-06 19:29:29.000000000 +0100 @@ -31,14 +31,14 @@ my-distcheck: -rm -rf $(t) mkdir $(t) - GZIP=$(GZIP) $(TAR) -C $(t) -zxf $(distdir).tar.gz + GZIP=$(GZIP) $(TAR) -C $(t) --numeric-owner -zxf $(distdir).tar.gz cd $(t)/$(distdir) \ && ./configure --with-gd=no --with-qt=no --with-tutorial \ && $(MAKE) CFLAGS='-Wformat -Werror' \ && $(MAKE) check \ && $(MAKE) distclean cd $(t) && mv $(distdir) $(distdir).old \ - && $(TAR) -zxf ../$(distdir).tar.gz + && $(TAR) --numeric-owner -zxf ../$(distdir).tar.gz diff -ur $(t)/$(distdir).old $(t)/$(distdir) -rm -rf $(t) @echo "========================"; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/NEWS new/gnuplot-5.2.2/NEWS --- old/gnuplot-5.2.1/NEWS 2017-10-27 19:17:39.000000000 +0200 +++ new/gnuplot-5.2.2/NEWS 2017-11-01 19:04:03.000000000 +0100 @@ -1,4 +1,4 @@ -Changes in 5.2.1 +Changes in 5.2.2 ================ * NEW set table separator {tab|comma|"char"} allows creation of csv files * NEW hotkey for changing azimuth in 3D plots with mousing @@ -14,6 +14,7 @@ * FIX autoscaling of plots with linked axes where data is plotted on x2 or y2 * FIX sampling on x2 if linked to x1; e.g. plot sample [t=1:5:1] '+' axes x2y1 * FIX empty range on logscale y axis is handled by auto-extending the range +* FIX autoscaling xrange of stacked histograms Changes in 5.2.0 ================ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/PATCHLEVEL new/gnuplot-5.2.2/PATCHLEVEL --- old/gnuplot-5.2.1/PATCHLEVEL 2017-10-11 07:09:56.000000000 +0200 +++ new/gnuplot-5.2.2/PATCHLEVEL 2017-11-02 18:17:40.000000000 +0100 @@ -1 +1 @@ -1 +2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/RELEASE_NOTES new/gnuplot-5.2.2/RELEASE_NOTES --- old/gnuplot-5.2.1/RELEASE_NOTES 2017-10-27 19:18:24.000000000 +0200 +++ new/gnuplot-5.2.2/RELEASE_NOTES 2017-11-02 22:43:17.000000000 +0100 @@ -1,17 +1,17 @@ - GNUPLOT Version 5.2.1 Release Notes + GNUPLOT Version 5.2.2 Release Notes =================================== -These release notes are for version 5.2 patchlevel 1 (5.2.1). +These release notes are for version 5.2 patchlevel 1 (5.2.2). This release contains bug-fixes, a few changes back-ported from the development version, and a few new features. Please see the ChangeLog file for a complete list of changes made during the course of development from 5.0 to 5.2. -Release Notes date: 27-Oct-2017 +Release Notes date: 01-Nov-2017 -CHANGES IN 5.2.1 -================ +CHANGES SINCE 5.2.0 +=================== * NEW set table separator {tab|comma|"char"} allows creation of csv files * NEW hotkey for changing azimuth in 3D plots with mousing * NEW titles for "splot .. with lines" can be placed at {beg|end} of plotted line @@ -19,12 +19,14 @@ * NEW command 'set rgbmax <value>' controls interpretation of input RGB values * CHANGE restore pre-5.2 interpretation of logscaled tic increment as a multiplier * CHANGE allow mixed use of in-key plot titles and manually placed titles +* CHANGE more documentation on use of pipes to input data * FIX autoscaling of plots with spline or bezier smoothing * FIX autoscaling of plots with linked axes where data is plotted on x2 or y2 * FIX "with filledcurves below y=foo" mishandled the case of y value exactly = foo * FIX [windows] repair breakage of stderr/stdout redirection to console * FIX postscript terminal artifacts when drawing dot/dash circles * FIX handle empty range on logscale y axis as a warning, not an error +* FIX allow set xrange [explicit_min:*] for stacked histograms FEATURES INTRODUCED IN VERSION 5.2 @@ -254,7 +256,7 @@ Installation ------------ -You can download a source tarball for gnuplot version 5.2.1 from the +You can download a source tarball for gnuplot version 5.2.2 from the gnuplot development site on SourceForge. http://sourceforge.net/projects/gnuplot @@ -262,7 +264,7 @@ version for linux/unix-like systems is to unpack the tarball and then <PRE> build it: - cd gnuplot-5.2.1 ; ./configure ; make + cd gnuplot-5.2.2 ; ./configure ; make test it: make check install it: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/config/config.os2 new/gnuplot-5.2.2/config/config.os2 --- old/gnuplot-5.2.1/config/config.os2 2014-12-29 05:38:26.000000000 +0100 +++ new/gnuplot-5.2.2/config/config.os2 2017-10-31 21:07:53.000000000 +0100 @@ -665,4 +665,5 @@ #endif #define strtoll _strtoll +#define int32_t int diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/config.hin new/gnuplot-5.2.2/config.hin --- old/gnuplot-5.2.1/config.hin 2017-10-15 04:45:24.000000000 +0200 +++ new/gnuplot-5.2.2/config.hin 2017-11-06 19:23:51.000000000 +0100 @@ -361,6 +361,9 @@ /* Define to 1 if you have the <sys/utsname.h> header file. */ #undef HAVE_SYS_UTSNAME_H +/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ +#undef HAVE_SYS_WAIT_H + /* Define to 1 if you have the `tcgetattr' function. */ #undef HAVE_TCGETATTR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/configure.ac new/gnuplot-5.2.2/configure.ac --- old/gnuplot-5.2.1/configure.ac 2017-10-11 07:12:44.000000000 +0200 +++ new/gnuplot-5.2.2/configure.ac 2017-11-06 19:22:55.000000000 +0100 @@ -1,12 +1,12 @@ dnl Process this file with autoconf to produce a configure script. dnl configure.in for gnuplot on Unix. dnl -dnl $Id: configure.ac,v 1.30.2.13 2017/10/11 05:12:44 sfeam Exp $ +dnl $Id: configure.ac,v 1.30.2.17 2017/11/04 21:01:45 sfeam Exp $ dnl dnl this is actually major.minor ... dnl note that for a non-beta release, we need to disable DEVELOPMENT_RELEASE dnl -AC_INIT([gnuplot],[5.2.1]) +AC_INIT([gnuplot],[5.2.2]) AC_CONFIG_SRCDIR(src/graphics.c) AC_PREREQ([2.69]) AC_CONFIG_HEADERS(config.h:config.hin) @@ -146,11 +146,11 @@ [texdir is not given and there is no kpsexpand, please tell where to install]) dnl texdir has priority if test "$TEXDIR" = "no"; then - if test "x$prefix" != "xNONE"; then - TEXDIR=${prefix}/share/texmf - else - TEXDIR=`$KPSEXPAND '$TEXMFLOCAL'` - if test "x$TEXDIR" = "x" -o "$TEXDIR" = "\$TEXMFLOCAL"; then + TEXDIR=`$KPSEXPAND '$TEXMFLOCAL'` + if test "x$TEXDIR" = "x" -o "$TEXDIR" = "\$TEXMFLOCAL"; then + if test "x$prefix" != "xNONE"; then + TEXDIR=${prefix}/share/texmf + else TEXDIR=${ac_default_prefix}/share/texmf fi fi @@ -228,6 +228,8 @@ AC_HEADER_STAT fi +AC_HEADER_SYS_WAIT + dnl Check for external functions plugin infrastructure AC_ARG_ENABLE(plugins,dnl [ --disable-plugins disable support for importing external functions],,) @@ -997,7 +999,7 @@ if test "${enable_wxwidgets_ok}" = yes ; then WX_CXXFLAGS="`$WX_CONFIG --cxxflags | sed 's/-fno-exceptions//'` $CAIROPANGO_CFLAGS" - WX_LIBS="`$WX_CONFIG --libs` $CAIROPANGO_LIBS" + WX_LIBS="`$WX_CONFIG --libs` $CAIROPANGO_LIBS $LIBRARIES_FOR_X" dnl Check for fork(), used for the 'persist' effect AC_FUNC_FORK diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/docs/gnuplot.doc new/gnuplot-5.2.2/docs/gnuplot.doc --- old/gnuplot-5.2.1/docs/gnuplot.doc 2017-10-24 22:39:13.000000000 +0200 +++ new/gnuplot-5.2.2/docs/gnuplot.doc 2017-11-02 22:43:55.000000000 +0100 @@ -1,4 +1,4 @@ -C RCS $Id: gnuplot.doc,v 1.1084.2.21 2017/10/14 00:00:11 sfeam Exp $ +C RCS $Id: gnuplot.doc,v 1.1084.2.23 2017/11/02 21:43:55 sfeam Exp $ C C Copyright (C) 1986 - 1993, 1998, 1999, 2000, 2001, 2004 Thomas Williams, Colin Kelley et al. C @@ -6569,11 +6569,13 @@ The bandwidth used in the previous plot is stored in variable GPVAL_KDENSITY_BANDWIDTH. 4 special-filenames +?special-filenames ?commands plot datafile special-filenames ?plot datafile special-filenames ?plot special-filenames ?datafile special-filenames -?special-filenames +?special-filenames ++ +?special-filenames + ?+ ?++ There are a few filenames that have a special meaning: '', '-', '+' and '++'. @@ -6607,7 +6609,6 @@ plot $MYDATA, [t=-3:25:1] '+' using (t):(f(t)) -?special-filenames ++ The pseudo-file '++' returns 2 columns of data forming a regular grid of [u,v] coordinates with the number of points along u controlled by `set samples` and the number of points along v controlled by `set isosamples`. You must set @@ -6645,6 +6646,13 @@ (If you use both `'-'` and `''` on the same `plot` command, you'll need to have two sets of inline data, as in the example above.) +4 piped-data +?commands plot datafile piped-data +?plot datafile piped-data +?plot piped-data +?piped-data +?pipes +=pipes On systems with a popen function, the datafile can be piped through a shell command by starting the file name with a '<'. For example, Binary files old/gnuplot-5.2.1/docs/gnuplot.pdf and new/gnuplot-5.2.2/docs/gnuplot.pdf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/axis.c new/gnuplot-5.2.2/src/axis.c --- old/gnuplot-5.2.1/src/axis.c 2017-10-24 22:39:36.000000000 +0200 +++ new/gnuplot-5.2.2/src/axis.c 2017-10-31 21:07:54.000000000 +0100 @@ -1,5 +1,5 @@ #ifndef lint -static char *RCSid() { return RCSid("$Id: axis.c,v 1.223.2.13 2017/10/12 05:01:43 sfeam Exp $"); } +static char *RCSid() { return RCSid("$Id: axis.c,v 1.223.2.14 2017/10/31 00:25:05 sfeam Exp $"); } #endif /* GNUPLOT - axis.c */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/command.c new/gnuplot-5.2.2/src/command.c --- old/gnuplot-5.2.1/src/command.c 2017-08-30 20:48:26.000000000 +0200 +++ new/gnuplot-5.2.2/src/command.c 2017-11-06 19:22:56.000000000 +0100 @@ -1,5 +1,5 @@ #ifndef lint -static char *RCSid() { return RCSid("$Id: command.c,v 1.354.2.3 2017/08/30 18:37:06 sfeam Exp $"); } +static char *RCSid() { return RCSid("$Id: command.c,v 1.354.2.8 2017/11/04 21:01:45 sfeam Exp $"); } #endif /* GNUPLOT - command.c */ @@ -3135,11 +3135,11 @@ const char str[] = "hi$story"; /* skip leading whitespace */ - while (isblank((unsigned char) line[start])) + while (isspace((unsigned char) line[start])) start++; /* find end of "token" */ - while ((line[start + length] != NUL) && !isblank((unsigned char) line[start + length])) + while ((line[start + length] != NUL) && !isspace((unsigned char) line[start + length])) length++; for (i = 0; i < length + after; i++) { @@ -3637,10 +3637,6 @@ } -#if defined(_WIN32) && !defined(WEXITSTATUS) -#define WEXITSTATUS(error) (error) -#endif - static int report_error(int ierr) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/gadgets.c new/gnuplot-5.2.2/src/gadgets.c --- old/gnuplot-5.2.1/src/gadgets.c 2017-10-24 22:39:13.000000000 +0200 +++ new/gnuplot-5.2.2/src/gadgets.c 2017-10-31 21:07:54.000000000 +0100 @@ -1,5 +1,5 @@ #ifndef lint -static char *RCSid() { return RCSid("$Id: gadgets.c,v 1.137.2.2 2017/06/13 05:39:24 sfeam Exp $"); } +static char *RCSid() { return RCSid("$Id: gadgets.c,v 1.137.2.3 2017/10/30 23:16:12 sfeam Exp $"); } #endif /* GNUPLOT - gadgets.c */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/graphics.c new/gnuplot-5.2.2/src/graphics.c --- old/gnuplot-5.2.1/src/graphics.c 2017-10-24 22:39:23.000000000 +0200 +++ new/gnuplot-5.2.2/src/graphics.c 2017-10-31 21:07:54.000000000 +0100 @@ -1,5 +1,5 @@ #ifndef lint -static char *RCSid() { return RCSid("$Id: graphics.c,v 1.554.2.11 2017/10/10 03:55:43 sfeam Exp $"); } +static char *RCSid() { return RCSid("$Id: graphics.c,v 1.554.2.12 2017/10/31 01:23:30 sfeam Exp $"); } #endif /* GNUPLOT - graphics.c */ @@ -1422,6 +1422,8 @@ if ((x1-xmid)*(xmid-x2) > 0) finish=2; + } else if ((yu1-yl1) == 0 && (yu2-yl2) == 0) { + /* nothing */ } else if ((yu1-yl1)*(yu2-yl2) <= 0) { /* Cheap test for intersection in the general case */ xmid = (x1*(yl2-yu2) + x2*(yu1-yl1)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/plot2d.c new/gnuplot-5.2.2/src/plot2d.c --- old/gnuplot-5.2.1/src/plot2d.c 2017-10-09 03:06:33.000000000 +0200 +++ new/gnuplot-5.2.2/src/plot2d.c 2017-11-01 19:06:45.000000000 +0100 @@ -1,5 +1,5 @@ #ifndef lint -static char *RCSid() { return RCSid("$Id: plot2d.c,v 1.430.2.14 2017/10/09 01:06:33 sfeam Exp $"); } +static char *RCSid() { return RCSid("$Id: plot2d.c,v 1.430.2.16 2017/11/01 18:06:45 sfeam Exp $"); } #endif /* GNUPLOT - plot2d.c */ @@ -1726,7 +1726,8 @@ /* FIXME: Rather than trying to reproduce the layout along X */ /* we should just track the actual xmin/xmax as we go. */ if (axis_array[FIRST_X_AXIS].set_autoscale) { - xlow = -1.0; + if ((axis_array[FIRST_X_AXIS].set_autoscale & AUTOSCALE_MIN)) + xlow = -1.0; xhigh = plot->histogram_sequence; xhigh += plot->histogram->start + 1.0; if (axis_array[FIRST_X_AXIS].min > xlow) @@ -3363,12 +3364,14 @@ /* the y axis range has no meaning in this case */ ; } else if (uses_axis[FIRST_Y_AXIS] && nonlinear(&axis_array[FIRST_Y_AXIS])) { + axis_checked_extend_empty_range(FIRST_Y_AXIS, "all points y value undefined!"); update_primary_axis_range(&axis_array[FIRST_Y_AXIS]); } else if (uses_axis[FIRST_Y_AXIS]) { axis_checked_extend_empty_range(FIRST_Y_AXIS, "all points y value undefined!"); axis_revert_and_unlog_range(FIRST_Y_AXIS); } if (uses_axis[SECOND_Y_AXIS] && axis_array[SECOND_Y_AXIS].linked_to_primary) { + axis_checked_extend_empty_range(SECOND_Y_AXIS, "all points y2 value undefined!"); update_primary_axis_range(&axis_array[SECOND_Y_AXIS]); } else if (uses_axis[SECOND_Y_AXIS]) { axis_checked_extend_empty_range(SECOND_Y_AXIS, "all points y2 value undefined!"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/set.c new/gnuplot-5.2.2/src/set.c --- old/gnuplot-5.2.1/src/set.c 2017-10-10 05:55:43.000000000 +0200 +++ new/gnuplot-5.2.2/src/set.c 2017-11-16 06:04:23.000000000 +0100 @@ -2774,10 +2774,17 @@ dummy = "x"; break; } - /* Avoid a warning message trigger by default axis range [-10:10] */ + /* Avoid a warning message triggered by default axis range [-10:10] */ if (axis_array[axis].set_min <= 0 && axis_array[axis].set_max > 0) axis_array[axis].set_min = 0.1; + /* Also forgive negative axis limits if we are currently autoscaling */ + if ((axis_array[axis].set_autoscale != AUTOSCALE_NONE) + && (axis_array[axis].set_min <= 0 || axis_array[axis].set_max <= 0)) { + axis_array[axis].set_min = 0.1; + axis_array[axis].set_max = 10.; + } + if (newbase == 10.) { sprintf(command, "set nonlinear %s via log10(%s) inv 10**%s", axis_name(axis), dummy, dummy); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/syscfg.h new/gnuplot-5.2.2/src/syscfg.h --- old/gnuplot-5.2.1/src/syscfg.h 2017-07-30 18:44:02.000000000 +0200 +++ new/gnuplot-5.2.2/src/syscfg.h 2017-11-06 19:22:56.000000000 +0100 @@ -1,5 +1,5 @@ /* - * $Id: syscfg.h,v 1.62.2.1 2017/07/30 07:52:31 markisch Exp $ + * $Id: syscfg.h,v 1.62.2.2 2017/11/04 21:01:46 sfeam Exp $ */ /* GNUPLOT - syscfg.h */ @@ -264,11 +264,23 @@ #define GPHUGE /* nothing */ #define GPFAR /* nothing */ +#if defined(HAVE_SYS_TYPES_H) +# include <sys/types.h> +# if defined(HAVE_SYS_WAIT_H) +# include <sys/wait.h> +# endif +#endif + +#if !defined(WEXITSTATUS) +# if defined(_WIN32) || defined(OS2) +# define WEXITSTATUS(stat_val) (stat_val) +# else +# define WEXITSTATUS(stat_val) ((unsigned int)(stat_val) >> 8) +# endif +#endif + /* LFS support */ #if !defined(HAVE_FSEEKO) || !defined(HAVE_OFF_T) -# if defined(HAVE_SYS_TYPES_H) -# include <sys/types.h> -# endif # if defined(_MSC_VER) # define off_t __int64 # elif defined(__MINGW32__) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/version.c new/gnuplot-5.2.2/src/version.c --- old/gnuplot-5.2.1/src/version.c 2017-10-27 19:18:12.000000000 +0200 +++ new/gnuplot-5.2.2/src/version.c 2017-11-16 06:05:35.000000000 +0100 @@ -1,5 +1,5 @@ #ifndef lint -static char *RCSid() { return RCSid("$Id: version.c,v 1.114.2.10 2017/10/15 02:45:11 sfeam Exp $"); } +static char *RCSid() { return RCSid("$Id: version.c,v 1.114.2.12 2017/11/02 04:14:15 sfeam Exp $"); } #endif /* GNUPLOT - version.c */ @@ -40,11 +40,11 @@ const char gnuplot_version[] = "5.2"; -const char gnuplot_patchlevel[] = "1"; +const char gnuplot_patchlevel[] = "2"; #ifdef DEVELOPMENT_VERSION #include "timestamp.h" #else -const char gnuplot_date[] = "2017-10-27 "; +const char gnuplot_date[] = "2017-11-15 "; #endif const char gnuplot_copyright[] = "Copyright (C) 1986-1993, 1998, 2004, 2007-2017"; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/src/win/winmain.c new/gnuplot-5.2.2/src/win/winmain.c --- old/gnuplot-5.2.1/src/win/winmain.c 2017-10-26 17:08:24.000000000 +0200 +++ new/gnuplot-5.2.2/src/win/winmain.c 2017-10-31 21:07:54.000000000 +0100 @@ -1,5 +1,5 @@ /* - * $Id: winmain.c,v 1.101.2.2 2017/07/30 07:52:31 markisch Exp $ + * $Id: winmain.c,v 1.101.2.3 2017/10/31 00:14:38 sfeam Exp $ */ /* GNUPLOT - win/winmain.c */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/term/context.trm new/gnuplot-5.2.2/term/context.trm --- old/gnuplot-5.2.1/term/context.trm 2014-01-30 06:50:52.000000000 +0100 +++ new/gnuplot-5.2.2/term/context.trm 2017-10-31 21:07:55.000000000 +0100 @@ -1,5 +1,5 @@ /* - * $Id: context.trm,v 1.9 2014/01/30 05:50:52 sfeam Exp $ + * $Id: context.trm,v 1.9.4.1 2017/10/31 13:41:43 mikulik Exp $ */ /* GNUPLOT - context.trm */ @@ -243,7 +243,11 @@ /* left/middle/right text justification */ static enum JUSTIFY CONTEXT_justify = LEFT; +#ifdef OS2 /* same constants are defined in os2emx.h */ +enum LINEJOIN { LINEJOIN_MITER=LINEJOIN_MITRE, _LINEJOIN_ROUND=LINEJOIN_ROUND, _LINEJOIN_BEVEL=LINEJOIN_BEVEL }; +#else enum LINEJOIN { LINEJOIN_MITER, LINEJOIN_ROUND, LINEJOIN_BEVEL }; +#endif enum LINECAP { LINECAP_BUTT, LINECAP_ROUND, LINECAP_SQUARE }; /* whether points are drawn with metapost or typeset with TeX (easy configurable) */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/gnuplot-5.2.1/term/post.trm new/gnuplot-5.2.2/term/post.trm --- old/gnuplot-5.2.1/term/post.trm 2017-10-26 23:13:52.000000000 +0200 +++ new/gnuplot-5.2.2/term/post.trm 2017-10-31 21:07:55.000000000 +0100 @@ -1,5 +1,5 @@ /* Hello, Emacs: this is -*-C-*- ! - * $Id: post.trm,v 1.297.2.2 2017/06/14 18:36:57 sfeam Exp $ + * $Id: post.trm,v 1.297.2.3 2017/10/31 00:19:23 sfeam Exp $ */ /* GNUPLOT - post.trm */