Re: Pre-release testing version of gnuplot 6.0.5

Ethan A Merritt <[email protected]> Wed, 15 Jul 2026 20:07:12 -0700
Newsgroups gmane.comp.graphics.gnuplot.devel
Message-ID <CALUAmEug1ypd-wEc_dtZ3cJH-kMjkcNXoLKo+ZpG1cB3FCva2g@mail.gmail.com>
--===============5007011463165407660==
Content-Type: multipart/alternative; boundary="0000000000003112b20656b1bd83"

--0000000000003112b20656b1bd83
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 15, 2026 at 10:41=E2=80=AFAM Bastian M=C3=A4rkisch <bmaerkisch@=
web.de> wrote:

> Builds fine on Windows with MSYS2/CLANG64 and MSYS2/CLANGARM64.
>
> There's only a minor type issue in internal.c I noticed only know:  On
> Windows, intgr_t is a "long long int", not a "long int" (which would
> have only 32 bits). Hence the labs() call on line 1174 should really be
> llabs().  Is that fine for other platforms, too? Or should I add an
> ugly  #ifdef?
>
>
That call is already llabs() in version 6.1, so it should be OK for 6.0
also.

But, thinking about it, the type of intgr_t is configuration-dependent.
To assume it is specifically either (long) or (long long) might cause the
equivalent
compiler complaint for someone else.
I think the problem is avoidable by changing this to
        intgr_t tmag =3D (a.v.int_val < 0) ? -a.v.int_val : a.v.int_val;

thanks,
          Ethan


> Best wishes,
>
>    Bastian
>
> Am 10.07.2026 um 05:56 schrieb Ethan A Merritt:
> > I have placed a testing version of the source release
> > package for gnuplot 6.0.4 on the "testing" section of the
> > SourceForge download site.
> >
> >
> https://urldefense.com/v3/__https://sourceforge.net/projects/gnuplot/file=
s/gnuplot/testing/__;!!K-Hz7m0Vt54!hICq3ODdIA1Zl3EhVy-KLGRkCS1rUe6lf7K7i7xJ=
onlbqmlHMTa2K5cdPyoYdchWBtnkavSckVKW1EZ4MA$
> >
> > My tentative plan is to announce the actual release in about
> > two weeks (end of July).  That can be pushed back if you find
> > any problems or want more time to test on other platforms.
> >
> > Brief release notes below, or see
> >       gnuplot.sourceforge.net/ReleaseNotes_6_0_5.html
> >
> > %%%%%%%%%%    6.0.5 Release Notes July 2026   %%%%%%%%%%%%%%%%
> >
> > New features
> >
> > * Full mousing support for multiplots
> >    - all panels report mouse coordinates
> >    - all panels respond to pan/zoom/rotate mouse movement and hotkeys
> >    - "replot" reexecutes multiplot commands starting from current state
> >    - "remultiplot" restores the original state before reexecuting
> multiplot
> >    - interactive mousing remains active after ^C or "reset"
> >
> > * Unicode escape sequences \U+xxxx are accepted in more contexts
> >    - escape sequences are expanded in "noenhanced" strings
> >    - escape sequences are expanded during substring evaluation
> >    - escape sequences are expanded in string functions strstrt() and
> strlen()
> >
> > * New built-in function prod [<var> =3D <start> : <end>] <expression>
> >    - implements the sequential product operation
> >               prod [i=3Da:b] f(i)   =3D   f(a) * f(a+1) * ... * f(b)
> >
> > * Data files in EUC-JP encoding can be processed from other environment=
s
> >    - If running in a EUC-JP locale, use "set encoding locale"
> >    - If running in a different locale, use "set encoding eucjp"
> >    - In either case, this affects only input data.  It does not change
> >      the encoding (usually UTF-8) written to plots on output.
> >
> > * New coloring option for contourfill
> >    - Arbitrary discrete color ranges can be define without using a
> special palette
> >          set contourfill defined [zmin1:zmax1] color1, [zmin2:zmax2]
> color2, ...
> >
> > * Allow "string"[i] as shorthand for "string"[i:i]
> >
> > Changed behaviour
> >
> > * Trailing whitespace on the command line is now ignored on input.
> >    This means that the line-continuation character '\' is effective eve=
n
> >    if it is followed by an unintentional blank.
> >
> > * Octal escape sequences must conform to the documented form \ooo
> >    - E.g. \7 or \0106 or \456 or \0 are now rejected
> >
> > * "plot with labels" now accepts the "noenhanced" keyword
> >
> > Bug fixes
> >
> > * qt: Slow font initialization on Windows                       #Bug#
> 2316 2476
> > * gd: Resolved long-standing font handling problems.            #Bug#
> 2819
> >    - requires recent library versions (libgd 2.4.0 libraqm 0.10.3)
> > * Better tic placement on logscale axis spanning two decades    #Bug#
> 2856
> > * Always clear previous plot title before a new plot is started #Bug#
> 2865
> > * Endpoint errors due to floating point precision               #Bug#
> 2768
> > * Repaired axis range parsing in parametric mode broken by change in
> 6.0.4
> > * Reworked logic for extending the command buffer incrementally on inpu=
t.
> >    Long input lines with backslash continuation could lead to corruptio=
n
> >    of the command string if encountered early in program execution.
> >
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >
> > cheers,
> >       Ethan
> >
> >
> >
> >
> >
> > _______________________________________________
> > gnuplot-beta mailing list
> > [email protected]
> > Membership management via:
> https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/=
gnuplot-beta__;!!K-Hz7m0Vt54!hICq3ODdIA1Zl3EhVy-KLGRkCS1rUe6lf7K7i7xJonlbqm=
lHMTa2K5cdPyoYdchWBtnkavSckVLdIDACDQ$
>


--=20
Ethan A Merritt
Department of Biochemistry
University of Washington, Seattle

--0000000000003112b20656b1bd83
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"background-color:transpare=
nt">On Wed, Jul 15, 2026 at 10:41=E2=80=AFAM Bastian M=C3=A4rkisch &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:</span></d=
iv><div class=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">
Builds fine on Windows with MSYS2/CLANG64 and MSYS2/CLANGARM64.<br>
<br>
There&#39;s only a minor type issue in internal.c I noticed only know:=C2=
=A0 On <br>
Windows, intgr_t is a &quot;long long int&quot;, not a &quot;long int&quot;=
 (which would <br>
have only 32 bits). Hence the labs() call on line 1174 should really be <br=
>
llabs().=C2=A0 Is that fine for other platforms, too? Or should I add an <b=
r>
ugly=C2=A0 #ifdef?<br>
<br>
</blockquote><div><br></div><div>That call is already llabs() in version 6.=
1, so it should be OK for 6.0 also.</div><div><div><br></div></div><div>But=
, thinking about it, t<span style=3D"background-color:transparent">he type =
of intgr_t is configuration-dependent.</span></div><div><span style=3D"back=
ground-color:transparent">To assume it is specifically=C2=A0</span><span st=
yle=3D"background-color:transparent">either (long) or (long long) might cau=
se the equivalent</span></div><div><span style=3D"background-color:transpar=
ent">compiler complaint for someone else.</span></div><div><span style=3D"b=
ackground-color:transparent">I think the problem is avoidable by changing t=
his to</span></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 <span style=3D"color:rg=
b(0,0,0);font-family:monospace;background-color:transparent">intgr_t tmag =
=3D (a.v.int_val &lt; 0) ? -a.v.int_val : a.v.int_val;</span></div><div><br=
></div><div>thanks,</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Ethan</div=
><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Best wi=
shes,<br>
<br>
=C2=A0=C2=A0 Bastian<br>
<br>
Am 10.07.2026 um 05:56 schrieb Ethan A Merritt:<br>
&gt; I have placed a testing version of the source release<br>
&gt; package for gnuplot 6.0.4 on the &quot;testing&quot; section of the<br=
>
&gt; SourceForge download site.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 <a href=3D"https://urldefense.com/v3/__https://sou=
rceforge.net/projects/gnuplot/files/gnuplot/testing/__;!!K-Hz7m0Vt54!hICq3O=
DdIA1Zl3EhVy-KLGRkCS1rUe6lf7K7i7xJonlbqmlHMTa2K5cdPyoYdchWBtnkavSckVKW1EZ4M=
A$" rel=3D"noreferrer" target=3D"_blank">https://urldefense.com/v3/__https:=
//sourceforge.net/projects/gnuplot/files/gnuplot/testing/__;!!K-Hz7m0Vt54!h=
ICq3ODdIA1Zl3EhVy-KLGRkCS1rUe6lf7K7i7xJonlbqmlHMTa2K5cdPyoYdchWBtnkavSckVKW=
1EZ4MA$</a> <br>
&gt;<br>
&gt; My tentative plan is to announce the actual release in about<br>
&gt; two weeks (end of July).=C2=A0 That can be pushed back if you find<br>
&gt; any problems or want more time to test on other platforms.<br>
&gt;<br>
&gt; Brief release notes below, or see<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"http://gnuplot.sourceforge.net/Re=
leaseNotes_6_0_5.html" rel=3D"noreferrer" target=3D"_blank">gnuplot.sourcef=
orge.net/ReleaseNotes_6_0_5.html</a><br>
&gt;<br>
&gt; %%%%%%%%%%=C2=A0 =C2=A0 6.0.5 Release Notes July 2026=C2=A0 =C2=A0%%%%=
%%%%%%%%%%%%<br>
&gt;<br>
&gt; New features<br>
&gt;<br>
&gt; * Full mousing support for multiplots<br>
&gt;=C2=A0 =C2=A0 - all panels report mouse coordinates<br>
&gt;=C2=A0 =C2=A0 - all panels respond to pan/zoom/rotate mouse movement an=
d hotkeys<br>
&gt;=C2=A0 =C2=A0 - &quot;replot&quot; reexecutes multiplot commands starti=
ng from current state<br>
&gt;=C2=A0 =C2=A0 - &quot;remultiplot&quot; restores the original state bef=
ore reexecuting multiplot<br>
&gt;=C2=A0 =C2=A0 - interactive mousing remains active after ^C or &quot;re=
set&quot;<br>
&gt;<br>
&gt; * Unicode escape sequences \U+xxxx are accepted in more contexts<br>
&gt;=C2=A0 =C2=A0 - escape sequences are expanded in &quot;noenhanced&quot;=
 strings<br>
&gt;=C2=A0 =C2=A0 - escape sequences are expanded during substring evaluati=
on<br>
&gt;=C2=A0 =C2=A0 - escape sequences are expanded in string functions strst=
rt() and strlen()<br>
&gt;<br>
&gt; * New built-in function prod [&lt;var&gt; =3D &lt;start&gt; : &lt;end&=
gt;] &lt;expression&gt;<br>
&gt;=C2=A0 =C2=A0 - implements the sequential product operation<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0prod [i=3Da:b] f=
(i)=C2=A0 =C2=A0=3D=C2=A0 =C2=A0f(a) * f(a+1) * ... * f(b)<br>
&gt;<br>
&gt; * Data files in EUC-JP encoding can be processed from other environmen=
ts<br>
&gt;=C2=A0 =C2=A0 - If running in a EUC-JP locale, use &quot;set encoding l=
ocale&quot;<br>
&gt;=C2=A0 =C2=A0 - If running in a different locale, use &quot;set encodin=
g eucjp&quot;<br>
&gt;=C2=A0 =C2=A0 - In either case, this affects only input data.=C2=A0 It =
does not change<br>
&gt;=C2=A0 =C2=A0 =C2=A0 the encoding (usually UTF-8) written to plots on o=
utput.<br>
&gt;<br>
&gt; * New coloring option for contourfill<br>
&gt;=C2=A0 =C2=A0 - Arbitrary discrete color ranges can be define without u=
sing a special palette<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 set contourfill defined [zmin1:zmax1=
] color1, [zmin2:zmax2] color2, ...<br>
&gt;<br>
&gt; * Allow &quot;string&quot;[i] as shorthand for &quot;string&quot;[i:i]=
<br>
&gt;<br>
&gt; Changed behaviour<br>
&gt;<br>
&gt; * Trailing whitespace on the command line is now ignored on input.<br>
&gt;=C2=A0 =C2=A0 This means that the line-continuation character &#39;\&#3=
9; is effective even<br>
&gt;=C2=A0 =C2=A0 if it is followed by an unintentional blank.<br>
&gt;<br>
&gt; * Octal escape sequences must conform to the documented form \ooo<br>
&gt;=C2=A0 =C2=A0 - E.g. \7 or \0106 or \456 or \0 are now rejected<br>
&gt;<br>
&gt; * &quot;plot with labels&quot; now accepts the &quot;noenhanced&quot; =
keyword<br>
&gt;<br>
&gt; Bug fixes<br>
&gt;<br>
&gt; * qt: Slow font initialization on Windows=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#Bug# 2316 2476<br>
&gt; * gd: Resolved long-standing font handling problems.=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 #Bug# 2819<br>
&gt;=C2=A0 =C2=A0 - requires recent library versions (libgd 2.4.0 libraqm 0=
.10.3)<br>
&gt; * Better tic placement on logscale axis spanning two decades=C2=A0 =C2=
=A0 #Bug# 2856<br>
&gt; * Always clear previous plot title before a new plot is started #Bug# =
2865<br>
&gt; * Endpoint errors due to floating point precision=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#Bug# 2768<br>
&gt; * Repaired axis range parsing in parametric mode broken by change in 6=
.0.4<br>
&gt; * Reworked logic for extending the command buffer incrementally on inp=
ut.<br>
&gt;=C2=A0 =C2=A0 Long input lines with backslash continuation could lead t=
o corruption<br>
&gt;=C2=A0 =C2=A0 of the command string if encountered early in program exe=
cution.<br>
&gt;<br>
&gt; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
&gt;<br>
&gt; cheers,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0Ethan<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gnuplot-beta mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a><br>
&gt; Membership management via: <a href=3D"https://urldefense.com/v3/__http=
s://lists.sourceforge.net/lists/listinfo/gnuplot-beta__;!!K-Hz7m0Vt54!hICq3=
ODdIA1Zl3EhVy-KLGRkCS1rUe6lf7K7i7xJonlbqmlHMTa2K5cdPyoYdchWBtnkavSckVLdIDAC=
DQ$" rel=3D"noreferrer" target=3D"_blank">https://urldefense.com/v3/__https=
://lists.sourceforge.net/lists/listinfo/gnuplot-beta__;!!K-Hz7m0Vt54!hICq3O=
DdIA1Zl3EhVy-KLGRkCS1rUe6lf7K7i7xJonlbqmlHMTa2K5cdPyoYdchWBtnkavSckVLdIDACD=
Q$</a> <br>
</blockquote></div><div><br clear=3D"all"></div><div><br></div><span class=
=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s=
ignature"><div dir=3D"ltr"><span style=3D"font-family:monospace"><span styl=
e=3D"color:rgb(0,0,0)">Ethan A Merritt
</span><br>Department of Biochemistry<br>University of Washington, Seattle<=
br>
<br></span></div></div></div>

--0000000000003112b20656b1bd83--


--===============5007011463165407660==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============5007011463165407660==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnuplot-beta mailing list
[email protected]
Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

--===============5007011463165407660==--