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 <<a h=
ref=3D"mailto:[email protected]">[email protected]</a>> 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's only a minor type issue in internal.c I noticed only know:=C2=
=A0 On <br>
Windows, intgr_t is a "long long int", not a "long int"=
(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 < 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>
> I have placed a testing version of the source release<br>
> package for gnuplot 6.0.4 on the "testing" section of the<br=
>
> SourceForge download site.<br>
><br>
>=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>
><br>
> My tentative plan is to announce the actual release in about<br>
> two weeks (end of July).=C2=A0 That can be pushed back if you find<br>
> any problems or want more time to test on other platforms.<br>
><br>
> Brief release notes below, or see<br>
>=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>
><br>
> %%%%%%%%%%=C2=A0 =C2=A0 6.0.5 Release Notes July 2026=C2=A0 =C2=A0%%%%=
%%%%%%%%%%%%<br>
><br>
> New features<br>
><br>
> * Full mousing support for multiplots<br>
>=C2=A0 =C2=A0 - all panels report mouse coordinates<br>
>=C2=A0 =C2=A0 - all panels respond to pan/zoom/rotate mouse movement an=
d hotkeys<br>
>=C2=A0 =C2=A0 - "replot" reexecutes multiplot commands starti=
ng from current state<br>
>=C2=A0 =C2=A0 - "remultiplot" restores the original state bef=
ore reexecuting multiplot<br>
>=C2=A0 =C2=A0 - interactive mousing remains active after ^C or "re=
set"<br>
><br>
> * Unicode escape sequences \U+xxxx are accepted in more contexts<br>
>=C2=A0 =C2=A0 - escape sequences are expanded in "noenhanced"=
strings<br>
>=C2=A0 =C2=A0 - escape sequences are expanded during substring evaluati=
on<br>
>=C2=A0 =C2=A0 - escape sequences are expanded in string functions strst=
rt() and strlen()<br>
><br>
> * New built-in function prod [<var> =3D <start> : <end&=
gt;] <expression><br>
>=C2=A0 =C2=A0 - implements the sequential product operation<br>
>=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>
><br>
> * Data files in EUC-JP encoding can be processed from other environmen=
ts<br>
>=C2=A0 =C2=A0 - If running in a EUC-JP locale, use "set encoding l=
ocale"<br>
>=C2=A0 =C2=A0 - If running in a different locale, use "set encodin=
g eucjp"<br>
>=C2=A0 =C2=A0 - In either case, this affects only input data.=C2=A0 It =
does not change<br>
>=C2=A0 =C2=A0 =C2=A0 the encoding (usually UTF-8) written to plots on o=
utput.<br>
><br>
> * New coloring option for contourfill<br>
>=C2=A0 =C2=A0 - Arbitrary discrete color ranges can be define without u=
sing a special palette<br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 set contourfill defined [zmin1:zmax1=
] color1, [zmin2:zmax2] color2, ...<br>
><br>
> * Allow "string"[i] as shorthand for "string"[i:i]=
<br>
><br>
> Changed behaviour<br>
><br>
> * Trailing whitespace on the command line is now ignored on input.<br>
>=C2=A0 =C2=A0 This means that the line-continuation character '\=
9; is effective even<br>
>=C2=A0 =C2=A0 if it is followed by an unintentional blank.<br>
><br>
> * Octal escape sequences must conform to the documented form \ooo<br>
>=C2=A0 =C2=A0 - E.g. \7 or \0106 or \456 or \0 are now rejected<br>
><br>
> * "plot with labels" now accepts the "noenhanced" =
keyword<br>
><br>
> Bug fixes<br>
><br>
> * 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>
> * gd: Resolved long-standing font handling problems.=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 #Bug# 2819<br>
>=C2=A0 =C2=A0 - requires recent library versions (libgd 2.4.0 libraqm 0=
.10.3)<br>
> * Better tic placement on logscale axis spanning two decades=C2=A0 =C2=
=A0 #Bug# 2856<br>
> * Always clear previous plot title before a new plot is started #Bug# =
2865<br>
> * 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>
> * Repaired axis range parsing in parametric mode broken by change in 6=
.0.4<br>
> * Reworked logic for extending the command buffer incrementally on inp=
ut.<br>
>=C2=A0 =C2=A0 Long input lines with backslash continuation could lead t=
o corruption<br>
>=C2=A0 =C2=A0 of the command string if encountered early in program exe=
cution.<br>
><br>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
><br>
> cheers,<br>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Ethan<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> gnuplot-beta mailing list<br>
> <a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a><br>
> 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==--