Re: [Plplot-devel] legend and label using wxWidgets

2017-01-08 Thread Phil Rosenberg
Hi Laurent
I'm glad the text alignment issues are fixed. :-)

In terms of the text size. We have had discussions on the list before about
this. The wxWidgets backend takes the text size given to it by Plplot in mm
and converts it to pt (assuming on pt is 1/72 of an inch) and requests that
size text from wxWidgets. So the text size requested should be consistent
with any other text requested from wxWidgets.

I have just followed some of the wxWidgets code through and it seems that
the height in points gets converted to logical units (pixels) using the
screen dpi and then I think (although I'm not sure) that the Windows API
function CreateFont get's called with this size. It seems that the text
size requested is the size of the cell the text resides in, i.e. it
includes leading.

So for the wxWidgetsDemo, The text size requested is 2.342mm, which is 7pt
(rounding to integer values) and is converted to 9 logical units
(pixels) by wxWidgets. This uses the screen dpi so round(7 * 96 / 72)
= 9. And I think this font size is requested using the CreateFont function
as the cell size. In fact when I do a screenshot, zoom in and look at the
text, the bracket in the title is 9 pixels from top to bottom. So it seems
everything is how it should be.

I don't know if other devices use similar metrics for the text, but I
assume they must be pretty similar. I guess that the issue really is that
the demo windows are rather small (at least on my system) because they use
the default window size. I could adjust this and make it some other fixed
size, but I'm a bit nervous to do so in case I make them larger than
somebodies screen. I'm happy to take suggestions?

Phil

On 8 January 2017 at 13:20, Laurent Berger <laurent.ber...@univ-lemans.fr>
wrote:

> Hi phil,
>
>
> I have updated all my repo wxwidgetts and plplot and now everything is OK
> using VS 2015 or MSYS2-mingw64. Thanks you very much.
>
> Only one thing wxplplotdemo legend are small (may be tiny)
>
> Le 05/01/2017 à 15:58, Phil Rosenberg a écrit :
>
> Hi Laurent
> Although I haven't upgraded to wxWidgets 3.1. I think I have isolated
> and fixed the issue. It turned out to affect all wxDCs that support
> transformations so I was able to reproduce your bad results on a
> wxMemoryDc. If you grab the latest version from the Git repo then you
> should find everything is working correctly again. If not then please
> let me know.
>
> Phil
>
> On 5 January 2017 at 00:42,  <p.d.rosenb...@gmail.com> 
> <p.d.rosenb...@gmail.com> wrote:
>
> Hi Alan
>
> I agree it would be good to look at this pre release. It's on my to do list
> for asap.
>
>
>
> Sent from my Windows 10 phone
>
>
>
> From: Alan W. Irwin
> Sent: 04 January 2017 20:37
> To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list
> Subject: Re: [Plplot-devel] legend and label using wxWidgets
>
>
>
> On 2016-12-28 23:19+0100 Laurent Berger wrote:
>
>
>
>
> wxwidgets commit 0bf38e1 x04 y axis label is good
>
> (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)
>
> wxwidgets commit 49000def x04 y axis label is false
>
> (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)
>
>
>
> Hi Phil:
>
>
>
> Assuming (subject to Pedro's further extensive testing) that you have
>
> found a good fix for that bug he had discovered, then the only
>
> remaining potentially release critical issue for the wxwidgets-related
>
> components of PLplot is the issue discovered by Laurent above.
>
>
>
> So to learn more about what Laurent reported above,
>
> I described those two commits as follows:
>
>
>
> software@raven> git clone https://github.com/wxWidgets/wxWidgets.git
> wxwidgets.git
>
> software@raven> cd wxwidgets.git
>
> software@raven> git branch
>
> * master
>
> software@raven> git describe 0bf38e1
>
> v3.1.0-620-g0bf38e1
>
> software@raven> git describe 49000def
>
> v3.1.0-621-g49000de
>
>
>
> So it is clear from these results that Laurent already bisected this
>
> issue with the 621st commit beyond the last official release (3.1.0)
>
> of wxwidgets showing the issue for the first time.  And since this is
>
> an issue that will not affect any user of an official wxwidgets
>
> release at this time, that gives us a good excuse to do nothing at
>
> this time if the potential fix is going to be intrusive.
>
>
>
> Of course, this issue will affect our users as soon as the next
>
> wxwidgets official release is out so it would be nice at this time for
>
> you to (a) confirm the above results for 0bf38e1 and 49000def from
>
> Laurent and figure out what the issue is.  If it

Re: [Plplot-devel] legend and label using wxWidgets

2017-01-08 Thread Laurent Berger

Hi phil,


I have updated all my repo wxwidgetts and plplot and now everything is 
OK using VS 2015 or MSYS2-mingw64. Thanks you very much.


Only one thing wxplplotdemo legend are small (may be tiny)

Le 05/01/2017 à 15:58, Phil Rosenberg a écrit :

Hi Laurent
Although I haven't upgraded to wxWidgets 3.1. I think I have isolated
and fixed the issue. It turned out to affect all wxDCs that support
transformations so I was able to reproduce your bad results on a
wxMemoryDc. If you grab the latest version from the Git repo then you
should find everything is working correctly again. If not then please
let me know.

Phil

On 5 January 2017 at 00:42,  <p.d.rosenb...@gmail.com> wrote:

Hi Alan

I agree it would be good to look at this pre release. It's on my to do list
for asap.



Sent from my Windows 10 phone



From: Alan W. Irwin
Sent: 04 January 2017 20:37
To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets



On 2016-12-28 23:19+0100 Laurent Berger wrote:




wxwidgets commit 0bf38e1 x04 y axis label is good
(https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)
wxwidgets commit 49000def x04 y axis label is false
(https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)



Hi Phil:



Assuming (subject to Pedro's further extensive testing) that you have

found a good fix for that bug he had discovered, then the only

remaining potentially release critical issue for the wxwidgets-related

components of PLplot is the issue discovered by Laurent above.



So to learn more about what Laurent reported above,

I described those two commits as follows:



software@raven> git clone https://github.com/wxWidgets/wxWidgets.git
wxwidgets.git

software@raven> cd wxwidgets.git

software@raven> git branch

* master

software@raven> git describe 0bf38e1

v3.1.0-620-g0bf38e1

software@raven> git describe 49000def

v3.1.0-621-g49000de



So it is clear from these results that Laurent already bisected this

issue with the 621st commit beyond the last official release (3.1.0)

of wxwidgets showing the issue for the first time.  And since this is

an issue that will not affect any user of an official wxwidgets

release at this time, that gives us a good excuse to do nothing at

this time if the potential fix is going to be intrusive.



Of course, this issue will affect our users as soon as the next

wxwidgets official release is out so it would be nice at this time for

you to (a) confirm the above results for 0bf38e1 and 49000def from

Laurent and figure out what the issue is.  If it turns out to be a

wxwidgets regression introduced for 49000def it would be good for you

to draw this quickly to the attention of the wxwidgets developers so

they can fix that regression before their next official release to

avoid making life difficult for PLplot wxwidgets users.  But if it

turns out to be our problem, then please prepare the fix and use your

best judgement (depending on, e.g., whether the fix is more or less

intrusive than the fix you just made) whether to push it now or wait

until after the release.



Alan

__

Alan W. Irwin



Astronomical research affiliation with Department of Physics and Astronomy,

University of Victoria (astrowww.phys.uvic.ca).



Programming affiliations with the FreeEOS equation-of-state

implementation for stellar interiors (freeeos.sf.net); the Time

Ephemerides project (timeephem.sf.net); PLplot scientific plotting

software package (plplot.sf.net); the libLASi project

(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);

and the Linux Brochure Project (lbproject.sf.net).

__



Linux-powered Science

__




--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2017-01-05 Thread Phil Rosenberg
Hi Laurent
Although I haven't upgraded to wxWidgets 3.1. I think I have isolated
and fixed the issue. It turned out to affect all wxDCs that support
transformations so I was able to reproduce your bad results on a
wxMemoryDc. If you grab the latest version from the Git repo then you
should find everything is working correctly again. If not then please
let me know.

Phil

On 5 January 2017 at 00:42,  <p.d.rosenb...@gmail.com> wrote:
> Hi Alan
>
> I agree it would be good to look at this pre release. It's on my to do list
> for asap.
>
>
>
> Sent from my Windows 10 phone
>
>
>
> From: Alan W. Irwin
> Sent: 04 January 2017 20:37
> To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list
> Subject: Re: [Plplot-devel] legend and label using wxWidgets
>
>
>
> On 2016-12-28 23:19+0100 Laurent Berger wrote:
>
>
>
>> wxwidgets commit 0bf38e1 x04 y axis label is good
>
>>
>> (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)
>
>>
>
>> wxwidgets commit 49000def x04 y axis label is false
>
>>
>> (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)
>
>
>
> Hi Phil:
>
>
>
> Assuming (subject to Pedro's further extensive testing) that you have
>
> found a good fix for that bug he had discovered, then the only
>
> remaining potentially release critical issue for the wxwidgets-related
>
> components of PLplot is the issue discovered by Laurent above.
>
>
>
> So to learn more about what Laurent reported above,
>
> I described those two commits as follows:
>
>
>
> software@raven> git clone https://github.com/wxWidgets/wxWidgets.git
> wxwidgets.git
>
> software@raven> cd wxwidgets.git
>
> software@raven> git branch
>
> * master
>
> software@raven> git describe 0bf38e1
>
> v3.1.0-620-g0bf38e1
>
> software@raven> git describe 49000def
>
> v3.1.0-621-g49000de
>
>
>
> So it is clear from these results that Laurent already bisected this
>
> issue with the 621st commit beyond the last official release (3.1.0)
>
> of wxwidgets showing the issue for the first time.  And since this is
>
> an issue that will not affect any user of an official wxwidgets
>
> release at this time, that gives us a good excuse to do nothing at
>
> this time if the potential fix is going to be intrusive.
>
>
>
> Of course, this issue will affect our users as soon as the next
>
> wxwidgets official release is out so it would be nice at this time for
>
> you to (a) confirm the above results for 0bf38e1 and 49000def from
>
> Laurent and figure out what the issue is.  If it turns out to be a
>
> wxwidgets regression introduced for 49000def it would be good for you
>
> to draw this quickly to the attention of the wxwidgets developers so
>
> they can fix that regression before their next official release to
>
> avoid making life difficult for PLplot wxwidgets users.  But if it
>
> turns out to be our problem, then please prepare the fix and use your
>
> best judgement (depending on, e.g., whether the fix is more or less
>
> intrusive than the fix you just made) whether to push it now or wait
>
> until after the release.
>
>
>
> Alan
>
> __
>
> Alan W. Irwin
>
>
>
> Astronomical research affiliation with Department of Physics and Astronomy,
>
> University of Victoria (astrowww.phys.uvic.ca).
>
>
>
> Programming affiliations with the FreeEOS equation-of-state
>
> implementation for stellar interiors (freeeos.sf.net); the Time
>
> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
>
> software package (plplot.sf.net); the libLASi project
>
> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
>
> and the Linux Brochure Project (lbproject.sf.net).
>
> __
>
>
>
> Linux-powered Science
>
> __
>
>

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2017-01-04 Thread p.d.rosenberg
Hi Alan
I agree it would be good to look at this pre release. It's on my to do list for 
asap.

Sent from my Windows 10 phone

From: Alan W. Irwin
Sent: 04 January 2017 20:37
To: Phil Rosenberg; Pedro Vicente; Laurent Berger; PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets

On 2016-12-28 23:19+0100 Laurent Berger wrote:

> wxwidgets commit 0bf38e1 x04 y axis label is good 
> (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)
>
> wxwidgets commit 49000def x04 y axis label is false 
> (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)

Hi Phil:

Assuming (subject to Pedro's further extensive testing) that you have
found a good fix for that bug he had discovered, then the only
remaining potentially release critical issue for the wxwidgets-related
components of PLplot is the issue discovered by Laurent above.

So to learn more about what Laurent reported above,
I described those two commits as follows:

software@raven> git clone https://github.com/wxWidgets/wxWidgets.git 
wxwidgets.git
software@raven> cd wxwidgets.git
software@raven> git branch
* master
software@raven> git describe 0bf38e1
v3.1.0-620-g0bf38e1
software@raven> git describe 49000def
v3.1.0-621-g49000de

So it is clear from these results that Laurent already bisected this
issue with the 621st commit beyond the last official release (3.1.0)
of wxwidgets showing the issue for the first time.  And since this is
an issue that will not affect any user of an official wxwidgets
release at this time, that gives us a good excuse to do nothing at
this time if the potential fix is going to be intrusive.

Of course, this issue will affect our users as soon as the next
wxwidgets official release is out so it would be nice at this time for
you to (a) confirm the above results for 0bf38e1 and 49000def from
Laurent and figure out what the issue is.  If it turns out to be a
wxwidgets regression introduced for 49000def it would be good for you
to draw this quickly to the attention of the wxwidgets developers so
they can fix that regression before their next official release to
avoid making life difficult for PLplot wxwidgets users.  But if it
turns out to be our problem, then please prepare the fix and use your
best judgement (depending on, e.g., whether the fix is more or less
intrusive than the fix you just made) whether to push it now or wait
until after the release.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2017-01-04 Thread Alan W. Irwin
On 2016-12-28 23:19+0100 Laurent Berger wrote:

> wxwidgets commit 0bf38e1 x04 y axis label is good 
> (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)
>
> wxwidgets commit 49000def x04 y axis label is false 
> (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)

Hi Phil:

Assuming (subject to Pedro's further extensive testing) that you have
found a good fix for that bug he had discovered, then the only
remaining potentially release critical issue for the wxwidgets-related
components of PLplot is the issue discovered by Laurent above.

So to learn more about what Laurent reported above,
I described those two commits as follows:

software@raven> git clone https://github.com/wxWidgets/wxWidgets.git 
wxwidgets.git
software@raven> cd wxwidgets.git
software@raven> git branch
* master
software@raven> git describe 0bf38e1
v3.1.0-620-g0bf38e1
software@raven> git describe 49000def
v3.1.0-621-g49000de

So it is clear from these results that Laurent already bisected this
issue with the 621st commit beyond the last official release (3.1.0)
of wxwidgets showing the issue for the first time.  And since this is
an issue that will not affect any user of an official wxwidgets
release at this time, that gives us a good excuse to do nothing at
this time if the potential fix is going to be intrusive.

Of course, this issue will affect our users as soon as the next
wxwidgets official release is out so it would be nice at this time for
you to (a) confirm the above results for 0bf38e1 and 49000def from
Laurent and figure out what the issue is.  If it turns out to be a
wxwidgets regression introduced for 49000def it would be good for you
to draw this quickly to the attention of the wxwidgets developers so
they can fix that regression before their next official release to
avoid making life difficult for PLplot wxwidgets users.  But if it
turns out to be our problem, then please prepare the fix and use your
best judgement (depending on, e.g., whether the fix is more or less
intrusive than the fix you just made) whether to push it now or wait
until after the release.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-29 Thread Alan W. Irwin
On 2016-12-29 08:50- p.d.rosenb...@gmail.com wrote:

> Hi Alan

> Theose are wxWidgets commits from the wxWidgets repo. WxWidgets have
made a change which I presume has exposed a bug in our code (or maybe
there is a bug in their code, but I think that's less likely).

@Laurent:
Oops!  Sorry for misreading your post.

@Phil and Laurent:

My comment about git bisect still stands, but in this case the idea
would be to find the first WxWidgets commit that generates bad results
for PLplot.  Of course, that means for each bisect iteration you would
be rebuilding both WxWidgets and PLplot, but bisection is terrifically
efficient so you would likely end up doing those builds less than 10
times.

Once you know that WxWidgets commit that generates the issue for the
first time, then you might be able to tell a lot more from the
associated commit message to help you figure out whether this is a
WxWidgets bug, a WxWidgets change that exposes a PLplot bug, or
deliberate or accidental WxWidgets API breakage (e.g., changing the
semantics of one or more WxWidgets function arguments).

Anyhow, good luck on this hunt for the cause of the issue.

Alan

__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-29 Thread p.d.rosenberg
Hi Alan
Theose are wxWidgets commits from the wxWidgets repo. WxWidgets have made a 
change which I presume has exposed a bug in our code (or maybe there is a bug 
in their code, but I think that's less likely).

Phil

Sent from my Windows 10 phone

From: Alan W. Irwin
Sent: 29 December 2016 00:48
To: Laurent Berger; Phil Rosenberg; Pedro Vicente; PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets

On 2016-12-28 23:19+0100 Laurent Berger wrote:

> wxwidgets commit 0bf38e1 x04 y axis label is good 
> (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)
>
> wxwidgets commit 49000def x04 y axis label is false 
> (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)

Hi Laurent:

The github repositories for PLplot are experimental.  Therefore,
please use official PLplot resources (your local git repository that has been
cloned from our official SF repository) to do tests and describe the
resulting commits. For example those two commits do not even exist on
our SF repository so something different has occurred on the
experimental github version you have been testing with, and that adds
an element of uncertainty to your results.

If you get to a similar result for the official version (one commit
good, the other not) that, of course, would be an extremely useful
result to us for figuring out what is going wrong here for you.  But
if you haven't done so already, I would follow up with git bisect to
find the first commit that generates the bad result.  And if you
haven't run "git bisect" before, it is actually a lot of fun, and "git
help bisect" gives you all the information you need to run it.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread Alan W. Irwin
On 2016-12-28 23:19+0100 Laurent Berger wrote:

> wxwidgets commit 0bf38e1 x04 y axis label is good 
> (https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)
>
> wxwidgets commit 49000def x04 y axis label is false 
> (https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)

Hi Laurent:

The github repositories for PLplot are experimental.  Therefore,
please use official PLplot resources (your local git repository that has been
cloned from our official SF repository) to do tests and describe the
resulting commits. For example those two commits do not even exist on
our SF repository so something different has occurred on the
experimental github version you have been testing with, and that adds
an element of uncertainty to your results.

If you get to a similar result for the official version (one commit
good, the other not) that, of course, would be an extremely useful
result to us for figuring out what is going wrong here for you.  But
if you haven't done so already, I would follow up with git bisect to
find the first commit that generates the bad result.  And if you
haven't run "git bisect" before, it is actually a lot of fun, and "git
help bisect" gives you all the information you need to run it.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread p.d.rosenberg
Hi Laurent
Thanks for this incite. It is good that they have included this functionality 
as it will mean in the future I can simplify a lot of code in the driver. I 
have a suspicion that I’m mistakenly switching from plplot y upwards 
coordinates to wxWidgets y downwards coordinates twice, but one of those times 
using the wxDC affine transform interface which was ignored in older wxWidgets 
versions.

I will look into this as soon as I can, but as we are in the Christmas holidays 
here, I hope you can appreciate it might be a while until I can do so?

Thanks for the investigatory work.

Phil

Sent from my Windows 10 phone

From: Laurent Berger
Sent: 28 December 2016 22:19
To: p.d.rosenb...@gmail.com; Pedro Vicente
Cc: PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets

wxwidgets commit 0bf38e1 x04 y axis label is good 
(https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)
wxwidgets commit 49000def x04 y axis label is false 
(https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)


Le 28/12/2016 à 22:28, Laurent Berger a écrit :
With your last message I have found  a way to solve problem
cd wxWiget-3.1.0git checkout cbb799b
Checking out files: 100% (1470/1470), done.
Note: checking out 'cbb799b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b 

HEAD is now at cbb799b... Updates for 3.1.0 release
Build wxwidgets and build plplot and y axis label is good now. 
Now  I think if you update your git wxwidgest repository you will able to see 
bad y label

Le 28/12/2016 à 20:11, p.d.rosenb...@gmail.com a écrit :
Thanks Laurent
You are a few commits ahead of me I think so I'll update, just in case it makes 
a difference. I use 64 bit, which I think is the same as you. Are you using 
wxWidgets 3.1? I am using 3.0 I think, but I'll check.
 
Phil
 
Sent from my Windows 10 phone
 
From: Laurent Berger
Sent: 28 December 2016 10:21
To: p.d.rosenb...@gmail.com; Pedro Vicente
Cc: PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets
 
git log 
commit 26bc4bf13aa41dff0e19345e982eca00a0458578
Author: Alan W. Irwin <air...@users.sourceforge.net>
Date:   Sat Dec 24 14:32:48 2016 -0800

    Apply spell checker to release notes
I have got a dual screen. I have check example on my laptop and problem exist 
too. Do you use 32 bit or 64 bits libs?
 
Le 28/12/2016 à 10:27, p.d.rosenb...@gmail.com a écrit :
Hi Laurent
This is very strange. I see that y axis titles are rotated 180, and the line 
label is rotated 90 degrees.
 
In fact it looks to me like the y axis coordinate has been reversed for text 
direction. I have just tested my system which is using commit 65e7b3c99809... 
Fix bug with plotting in wxPLplotDemo and I don't see the issue. I'm not online 
right now (emailing from phone) to get latest master, but could you do a git 
log and let me know which commit you are at?
 
Also is there anything unusual about your screen setup that may affect the 
usual y direction orientation or anything similar that you can think of?
 
Phil
 
Sent from my Windows 10 phone
 
From: Laurent Berger
Sent: 28 December 2016 01:07
To: p.d.rosenb...@gmail.com; Pedro Vicente
Cc: PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets
 
Hi phil
I have already check it : 
I have clean only wxPlLiewer and run x04 (click on x04) in cmd window I have :

Plotting Options:
 < 1> ps PostScript File (monochrome)
 < 2> psc    PostScript File (color)
 < 3> xfig   Xfig file
 < 4> null   Null device
 < 5> mem    User-supplied memory device
 < 6> wxwidgets  wxWidgets DC
 < 7> svg    Scalable Vector Graphics (SVG 1.1)

Enter device number or keyword (stream 1): 6
wxPLDevice::SetupMemoryMap: nTries = 0, mapName = plplotMemoryMapGTSRRSLXRW
wxPLDevice::SetupMemoryMap: nTries = 0, mutexName = plplotMemoryMapGTSRRSLXRWmut

*** PLPLOT WARNING ***
Failed to run wxPLViewer - no plots will be shown

*** PLPLOT WARNING ***
wxPLViewer failed to signal it has found the shared memory.
plGetName: Maximum length of full pathname of file to be found is 39
plGetName: Full pathname of file to be found is F:/Meteo/plplot\data\plxtnd5.fnt
plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt
Now I build wxPLviewer and run x04 (click )



now wxplotdemo x axis label is wrong too






Le 28/12/2016 à 00:41, p.d.rosenb...@gmail.com a écrit :
Hi Laurent
I know you have said you have cleaned and you have rebuilt. However, there may 
be a build tree dependency issue catching us out. Can you ensure you 
spec

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread Laurent Berger
wxwidgets commit 0bf38e1 x04 y axis label is good 
(https://github.com/wxWidgets/wxWidgets/commit/0bf38e11a33005e289e30c8bc7c67563eae061be)


wxwidgets commit 49000def x04 y axis label is false 
(https://github.com/wxWidgets/wxWidgets/commit/49000defcfb11b409d8935126981b14169ee62a3)




Le 28/12/2016 à 22:28, Laurent Berger a écrit :


With your last message I have found  a way to solve problem

cd wxWiget-3.1.0git checkout cbb799b
Checking out files: 100% (1470/1470), done.
Note: checking out 'cbb799b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b 

HEAD is now at cbb799b... Updates for 3.1.0 release

Build wxwidgets and build plplot and y axis label is good now.

Now  I think if you update your git wxwidgest repository you will able 
to see bad y label



Le 28/12/2016 à 20:11, p.d.rosenb...@gmail.com a écrit :


Thanks Laurent

You are a few commits ahead of me I think so I'll update, just in 
case it makes a difference. I use 64 bit, which I think is the same 
as you. Are you using wxWidgets 3.1? I am using 3.0 I think, but I'll 
check.


Phil

Sent from my Windows 10 phone

*From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
*Sent: *28 December 2016 10:21
*To: *p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.com>; Pedro 
Vicente <mailto:pedro.vice...@space-research.org>

*Cc: *PLplot development list <mailto:plplot-devel@lists.sourceforge.net>
*Subject: *Re: [Plplot-devel] legend and label using wxWidgets

git log

commit 26bc4bf13aa41dff0e19345e982eca00a0458578
Author: Alan W. Irwin <air...@users.sourceforge.net> 
<mailto:air...@users.sourceforge.net>

Date:   Sat Dec 24 14:32:48 2016 -0800

Apply spell checker to release notes

I have got a dual screen. I have check example on my laptop and 
problem exist too. Do you use 32 bit or 64 bits libs?


Le 28/12/2016 à 10:27, p.d.rosenb...@gmail.com 
<mailto:p.d.rosenb...@gmail.com> a écrit :


Hi Laurent

This is very strange. I see that y axis titles are rotated 180,
and the line label is rotated 90 degrees.

In fact it looks to me like the y axis coordinate has been
reversed for text direction. I have just tested my system which
is using commit 65e7b3c99809... Fix bug with plotting in
wxPLplotDemo and I don't see the issue. I'm not online right now
(emailing from phone) to get latest master, but could you do a
git log and let me know which commit you are at?

Also is there anything unusual about your screen setup that may
affect the usual y direction orientation or anything similar that
you can think of?

Phil

Sent from my Windows 10 phone

*From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
*Sent: *28 December 2016 01:07
*To: *p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.com>;
Pedro Vicente <mailto:pedro.vice...@space-research.org>
*Cc: *PLplot development list
    <mailto:plplot-devel@lists.sourceforge.net>
*Subject: *Re: [Plplot-devel] legend and label using wxWidgets

Hi phil

I have already check it :

I have clean only wxPlLiewer and run x04 (click on x04) in cmd
window I have :


Plotting Options:
 < 1> ps PostScript File (monochrome)
 < 2> pscPostScript File (color)
 < 3> xfig   Xfig file
 < 4> null   Null device
 < 5> memUser-supplied memory device
 < 6> wxwidgets  wxWidgets DC
 < 7> svgScalable Vector Graphics (SVG 1.1)

Enter device number or keyword (stream 1): 6
wxPLDevice::SetupMemoryMap: nTries = 0, mapName =
plplotMemoryMapGTSRRSLXRW
wxPLDevice::SetupMemoryMap: nTries = 0, mutexName =
plplotMemoryMapGTSRRSLXRWmut

*** PLPLOT WARNING ***
Failed to run wxPLViewer - no plots will be shown

*** PLPLOT WARNING ***
wxPLViewer failed to signal it has found the shared memory.
plGetName: Maximum length of full pathname of file to be found is 39
plGetName: Full pathname of file to be found is
F:/Meteo/plplot\data\plxtnd5.fnt
plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt

Now I build wxPLviewer and run x04 (click )


cid:part1.C1B7F496.CFBC2D4D@univ-lemans.fr

now wxplotdemo x axis label is wrong too

cid:part2.D22974EA.D7519C63@univ-lemans.fr



Le 28/12/2016 à 00:41, p.d.rosenb...@gmail.com
<mailto:p.d.rosenb...@gmail.com> a écrit :

Hi Laurent

I know you have said you have cleaned and you have rebuilt.
However, there may be a build tree dependency issue catching
us ou

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread Laurent Berger

With your last message I have found  a way to solve problem

cd wxWiget-3.1.0git checkout cbb799b
Checking out files: 100% (1470/1470), done.
Note: checking out 'cbb799b'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b 

HEAD is now at cbb799b... Updates for 3.1.0 release

Build wxwidgets and build plplot and y axis label is good now.

Now  I think if you update your git wxwidgest repository you will able 
to see bad y label



Le 28/12/2016 à 20:11, p.d.rosenb...@gmail.com a écrit :


Thanks Laurent

You are a few commits ahead of me I think so I'll update, just in case 
it makes a difference. I use 64 bit, which I think is the same as you. 
Are you using wxWidgets 3.1? I am using 3.0 I think, but I'll check.


Phil

Sent from my Windows 10 phone

*From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
*Sent: *28 December 2016 10:21
*To: *p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.com>; Pedro 
Vicente <mailto:pedro.vice...@space-research.org>

*Cc: *PLplot development list <mailto:plplot-devel@lists.sourceforge.net>
*Subject: *Re: [Plplot-devel] legend and label using wxWidgets

git log

commit 26bc4bf13aa41dff0e19345e982eca00a0458578
Author: Alan W. Irwin <air...@users.sourceforge.net> 
<mailto:air...@users.sourceforge.net>

Date:   Sat Dec 24 14:32:48 2016 -0800

Apply spell checker to release notes

I have got a dual screen. I have check example on my laptop and 
problem exist too. Do you use 32 bit or 64 bits libs?


Le 28/12/2016 à 10:27, p.d.rosenb...@gmail.com 
<mailto:p.d.rosenb...@gmail.com> a écrit :


Hi Laurent

This is very strange. I see that y axis titles are rotated 180,
and the line label is rotated 90 degrees.

In fact it looks to me like the y axis coordinate has been
reversed for text direction. I have just tested my system which is
using commit 65e7b3c99809... Fix bug with plotting in wxPLplotDemo
and I don't see the issue. I'm not online right now (emailing from
phone) to get latest master, but could you do a git log and let me
know which commit you are at?

Also is there anything unusual about your screen setup that may
affect the usual y direction orientation or anything similar that
you can think of?

Phil

Sent from my Windows 10 phone

*From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
*Sent: *28 December 2016 01:07
*To: *p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.com>;
Pedro Vicente <mailto:pedro.vice...@space-research.org>
*Cc: *PLplot development list
    <mailto:plplot-devel@lists.sourceforge.net>
*Subject: *Re: [Plplot-devel] legend and label using wxWidgets

Hi phil

I have already check it :

I have clean only wxPlLiewer and run x04 (click on x04) in cmd
window I have :


Plotting Options:
 < 1> ps PostScript File (monochrome)
 < 2> pscPostScript File (color)
 < 3> xfig   Xfig file
 < 4> null   Null device
 < 5> memUser-supplied memory device
 < 6> wxwidgets  wxWidgets DC
 < 7> svgScalable Vector Graphics (SVG 1.1)

Enter device number or keyword (stream 1): 6
wxPLDevice::SetupMemoryMap: nTries = 0, mapName =
plplotMemoryMapGTSRRSLXRW
wxPLDevice::SetupMemoryMap: nTries = 0, mutexName =
plplotMemoryMapGTSRRSLXRWmut

*** PLPLOT WARNING ***
Failed to run wxPLViewer - no plots will be shown

*** PLPLOT WARNING ***
wxPLViewer failed to signal it has found the shared memory.
plGetName: Maximum length of full pathname of file to be found is 39
plGetName: Full pathname of file to be found is
F:/Meteo/plplot\data\plxtnd5.fnt
plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt

Now I build wxPLviewer and run x04 (click )


cid:part1.C1B7F496.CFBC2D4D@univ-lemans.fr

now wxplotdemo x axis label is wrong too

cid:part2.D22974EA.D7519C63@univ-lemans.fr



Le 28/12/2016 à 00:41, p.d.rosenb...@gmail.com
<mailto:p.d.rosenb...@gmail.com> a écrit :

Hi Laurent

I know you have said you have cleaned and you have rebuilt.
However, there may be a build tree dependency issue catching
us out. Can you ensure you specifically rebuild the wxPlviewer
project by right clicking it and selecting build in visual
studio? If you just right click an example and click build or
debug then this project doesn't get built/rebuilt. This means
in a previously used build tree you may be using a stale
wxplvi

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread p.d.rosenberg
Thanks Laurent
You are a few commits ahead of me I think so I'll update, just in case it makes 
a difference. I use 64 bit, which I think is the same as you. Are you using 
wxWidgets 3.1? I am using 3.0 I think, but I'll check.

Phil

Sent from my Windows 10 phone

From: Laurent Berger
Sent: 28 December 2016 10:21
To: p.d.rosenb...@gmail.com; Pedro Vicente
Cc: PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets

git log 
commit 26bc4bf13aa41dff0e19345e982eca00a0458578
Author: Alan W. Irwin <air...@users.sourceforge.net>
Date:   Sat Dec 24 14:32:48 2016 -0800

    Apply spell checker to release notes
I have got a dual screen. I have check example on my laptop and problem exist 
too. Do you use 32 bit or 64 bits libs?

Le 28/12/2016 à 10:27, p.d.rosenb...@gmail.com a écrit :
Hi Laurent
This is very strange. I see that y axis titles are rotated 180, and the line 
label is rotated 90 degrees.
 
In fact it looks to me like the y axis coordinate has been reversed for text 
direction. I have just tested my system which is using commit 65e7b3c99809... 
Fix bug with plotting in wxPLplotDemo and I don't see the issue. I'm not online 
right now (emailing from phone) to get latest master, but could you do a git 
log and let me know which commit you are at?
 
Also is there anything unusual about your screen setup that may affect the 
usual y direction orientation or anything similar that you can think of?
 
Phil
 
Sent from my Windows 10 phone
 
From: Laurent Berger
Sent: 28 December 2016 01:07
To: p.d.rosenb...@gmail.com; Pedro Vicente
Cc: PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets
 
Hi phil
I have already check it : 
I have clean only wxPlLiewer and run x04 (click on x04) in cmd window I have :

Plotting Options:
 < 1> ps PostScript File (monochrome)
 < 2> psc    PostScript File (color)
 < 3> xfig   Xfig file
 < 4> null   Null device
 < 5> mem    User-supplied memory device
 < 6> wxwidgets  wxWidgets DC
 < 7> svg    Scalable Vector Graphics (SVG 1.1)

Enter device number or keyword (stream 1): 6
wxPLDevice::SetupMemoryMap: nTries = 0, mapName = plplotMemoryMapGTSRRSLXRW
wxPLDevice::SetupMemoryMap: nTries = 0, mutexName = plplotMemoryMapGTSRRSLXRWmut

*** PLPLOT WARNING ***
Failed to run wxPLViewer - no plots will be shown

*** PLPLOT WARNING ***
wxPLViewer failed to signal it has found the shared memory.
plGetName: Maximum length of full pathname of file to be found is 39
plGetName: Full pathname of file to be found is F:/Meteo/plplot\data\plxtnd5.fnt
plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt
Now I build wxPLviewer and run x04 (click )



now wxplotdemo x axis label is wrong too





Le 28/12/2016 à 00:41, p.d.rosenb...@gmail.com a écrit :
Hi Laurent
I know you have said you have cleaned and you have rebuilt. However, there may 
be a build tree dependency issue catching us out. Can you ensure you 
specifically rebuild the wxPlviewer project by right clicking it and selecting 
build in visual studio? If you just right click an example and click build or 
debug then this project doesn't get built/rebuilt. This means in a previously 
used build tree you may be using a stale wxplviewer executable or in a fresh 
tree you may end up using the wxplviewer from your last build of the INSTALL 
project as a local version may not be found.
 
Alan – I have mentioned this before. What is needed is for all examples to 
depend upon the wxPLViewer executable, which in turn depends upon plplot and 
the wxWidgets driver, so that if changes are made to plplot or the driver then 
building of an example triggers a rebuild of wxPLViewer.
 
Phil
 
Sent from my Windows 10 phone
 
From: Pedro Vicente
Sent: 27 December 2016 22:13
To: Laurent Berger
Cc: PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets
 
I am using wxwidgets 3.1 built with Visual Studio 2015 and plplot from the 
master branch
and using cmake with
 
 
cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON
-DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug"
-DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF
-DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON
-DwxWidgets_ROOT_DIR:PATH=%WXWIN%
-DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib
-DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON
-DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF
 
 
 
- Original Message - 
From: "Laurent Berger" <laurent.ber...@univ-lemans.fr>
To: "Pedro Vicente" <pedro.vice...@space-research.org>
Cc: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>; "PLplot development list" 
<plplot-devel@lists.sourceforge.net>
Sent: Tuesday, December 27, 2016 4:32 PM
Subject: Re: [Plplot-devel] legend and label using wxWidgets
 
 
> Which version of wxwidgets do you use (can you give last commit

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-28 Thread Laurent Berger

git log

commit 26bc4bf13aa41dff0e19345e982eca00a0458578
Author: Alan W. Irwin <air...@users.sourceforge.net>
Date:   Sat Dec 24 14:32:48 2016 -0800

Apply spell checker to release notes

I have got a dual screen. I have check example on my laptop and problem 
exist too. Do you use 32 bit or 64 bits libs?



Le 28/12/2016 à 10:27, p.d.rosenb...@gmail.com a écrit :


Hi Laurent

This is very strange. I see that y axis titles are rotated 180, and 
the line label is rotated 90 degrees.


In fact it looks to me like the y axis coordinate has been reversed 
for text direction. I have just tested my system which is using commit 
65e7b3c99809... Fix bug with plotting in wxPLplotDemo and I don't see 
the issue. I'm not online right now (emailing from phone) to get 
latest master, but could you do a git log and let me know which commit 
you are at?


Also is there anything unusual about your screen setup that may affect 
the usual y direction orientation or anything similar that you can 
think of?


Phil

Sent from my Windows 10 phone

*From: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
*Sent: *28 December 2016 01:07
*To: *p.d.rosenb...@gmail.com <mailto:p.d.rosenb...@gmail.com>; Pedro 
Vicente <mailto:pedro.vice...@space-research.org>

*Cc: *PLplot development list <mailto:plplot-devel@lists.sourceforge.net>
*Subject: *Re: [Plplot-devel] legend and label using wxWidgets

Hi phil

I have already check it :

I have clean only wxPlLiewer and run x04 (click on x04) in cmd window 
I have :



Plotting Options:
 < 1> ps PostScript File (monochrome)
 < 2> pscPostScript File (color)
 < 3> xfig   Xfig file
 < 4> null   Null device
 < 5> memUser-supplied memory device
 < 6> wxwidgets  wxWidgets DC
 < 7> svgScalable Vector Graphics (SVG 1.1)

Enter device number or keyword (stream 1): 6
wxPLDevice::SetupMemoryMap: nTries = 0, mapName = 
plplotMemoryMapGTSRRSLXRW
wxPLDevice::SetupMemoryMap: nTries = 0, mutexName = 
plplotMemoryMapGTSRRSLXRWmut


*** PLPLOT WARNING ***
Failed to run wxPLViewer - no plots will be shown

*** PLPLOT WARNING ***
wxPLViewer failed to signal it has found the shared memory.
plGetName: Maximum length of full pathname of file to be found is 39
plGetName: Full pathname of file to be found is 
F:/Meteo/plplot\data\plxtnd5.fnt

plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt

Now I build wxPLviewer and run x04 (click )


cid:part1.C1B7F496.CFBC2D4D@univ-lemans.fr

now wxplotdemo x axis label is wrong too

cid:part2.D22974EA.D7519C63@univ-lemans.fr


Le 28/12/2016 à 00:41, p.d.rosenb...@gmail.com 
<mailto:p.d.rosenb...@gmail.com> a écrit :


Hi Laurent

I know you have said you have cleaned and you have rebuilt.
However, there may be a build tree dependency issue catching us
out. Can you ensure you specifically rebuild the wxPlviewer
project by right clicking it and selecting build in visual studio?
If you just right click an example and click build or debug then
this project doesn't get built/rebuilt. This means in a previously
used build tree you may be using a stale wxplviewer executable or
in a fresh tree you may end up using the wxplviewer from your last
build of the INSTALL project as a local version may not be found.

Alan – I have mentioned this before. What is needed is for all
examples to depend upon the wxPLViewer executable, which in turn
depends upon plplot and the wxWidgets driver, so that if changes
are made to plplot or the driver then building of an example
triggers a rebuild of wxPLViewer.

Phil

Sent from my Windows 10 phone

*From: *Pedro Vicente <mailto:pedro.vice...@space-research.org>
*Sent: *27 December 2016 22:13
*To: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
*Cc: *PLplot development list
    <mailto:plplot-devel@lists.sourceforge.net>
*Subject: *Re: [Plplot-devel] legend and label using wxWidgets

I am using wxwidgets 3.1 built with Visual Studio 2015 and plplot
from the

master branch

and using cmake with

cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON

-DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug"

-DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF

-DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON

-DwxWidgets_ROOT_DIR:PATH=%WXWIN%

-DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib

-DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON

-DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF

- Original Message -

From: "Laurent Berger" <laurent.ber...@univ-lemans.fr>
<mailto:laurent.ber...@univ-lemans.fr>

To: "Pedro Vicente" <pedro.vice...@space-research.org>
<mailto:pedro.vice...@space-research.org>

Cc: "Alan W. Irwin" <

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger

Hi phil

I have already check it :

I have clean only wxPlLiewer and run x04 (click on x04) in cmd window I 
have :



Plotting Options:
 < 1> ps PostScript File (monochrome)
 < 2> pscPostScript File (color)
 < 3> xfig   Xfig file
 < 4> null   Null device
 < 5> memUser-supplied memory device
 < 6> wxwidgets  wxWidgets DC
 < 7> svgScalable Vector Graphics (SVG 1.1)

Enter device number or keyword (stream 1): 6
wxPLDevice::SetupMemoryMap: nTries = 0, mapName = plplotMemoryMapGTSRRSLXRW
wxPLDevice::SetupMemoryMap: nTries = 0, mutexName = 
plplotMemoryMapGTSRRSLXRWmut


*** PLPLOT WARNING ***
Failed to run wxPLViewer - no plots will be shown

*** PLPLOT WARNING ***
wxPLViewer failed to signal it has found the shared memory.
plGetName: Maximum length of full pathname of file to be found is 39
plGetName: Full pathname of file to be found is 
F:/Meteo/plplot\data\plxtnd5.fnt

plLibOpenPdfstr: Found file F:/Meteo/plplot\data\plxtnd5.fnt

Now I build wxPLviewer and run x04 (click )




now wxplotdemo x axis label is wrong too





Le 28/12/2016 à 00:41, p.d.rosenb...@gmail.com a écrit :


Hi Laurent

I know you have said you have cleaned and you have rebuilt. However, 
there may be a build tree dependency issue catching us out. Can you 
ensure you specifically rebuild the wxPlviewer project by right 
clicking it and selecting build in visual studio? If you just right 
click an example and click build or debug then this project doesn't 
get built/rebuilt. This means in a previously used build tree you may 
be using a stale wxplviewer executable or in a fresh tree you may end 
up using the wxplviewer from your last build of the INSTALL project as 
a local version may not be found.


Alan – I have mentioned this before. What is needed is for all 
examples to depend upon the wxPLViewer executable, which in turn 
depends upon plplot and the wxWidgets driver, so that if changes are 
made to plplot or the driver then building of an example triggers a 
rebuild of wxPLViewer.


Phil

Sent from my Windows 10 phone

*From: *Pedro Vicente <mailto:pedro.vice...@space-research.org>
*Sent: *27 December 2016 22:13
*To: *Laurent Berger <mailto:laurent.ber...@univ-lemans.fr>
*Cc: *PLplot development list <mailto:plplot-devel@lists.sourceforge.net>
*Subject: *Re: [Plplot-devel] legend and label using wxWidgets

I am using wxwidgets 3.1 built with Visual Studio 2015 and plplot from 
the


master branch

and using cmake with

cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON

-DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug"

-DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF

-DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON

-DwxWidgets_ROOT_DIR:PATH=%WXWIN%

-DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib

-DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON

-DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF

- Original Message -

From: "Laurent Berger" <laurent.ber...@univ-lemans.fr>

To: "Pedro Vicente" <pedro.vice...@space-research.org>

Cc: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>; "PLplot development 
list"


<plplot-devel@lists.sourceforge.net>

Sent: Tuesday, December 27, 2016 4:32 PM

Subject: Re: [Plplot-devel] legend and label using wxWidgets

> Which version of wxwidgets do you use (can you give last commit 
using git


> log)?

>

>

> Le 27/12/2016 à 22:29, Pedro Vicente a écrit :

>>> error is still here. Now what patch should I apply?

>>

>> there is no patch for the scale issue.

>> the patch I send previously on the subject "Using wxWidgets" is for 
the


>> issue regarding the use

>> of templates. To test that, add and replace the 2 attached files on 
that


>> email to the master you just did the clone,

>> and report here if you have any errors on the master, or in your code

>> that uses it, please.

>>

>> regarding the scale issue, what compiler and cmake command are you 
using?


>> is it Visual Studio 2015 build 64bits, doing

>> cmake .. -G "Visual Studio 14 win64" ?

>>

>>

>>

>>

>> On 2016-12-27 16:04, Laurent Berger wrote:

>>> I always clean my build repo and my cmake cache. Now to be sure I

>>> have just clone plplot in another folder :

>>>

>>>

>>> $ git clone git://git.code.sf.net/p/plplot/plplot

>>> Cloning into 'plplot'...

>>> remote: Counting objects: 91527, done.

>>> remote: Compressing objects: 100% (29963/29963), done.

>>> remote: Total 91527 (delta 68265), reused 82342 (delta 60469)

>>> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 KiB/s, 
done.


>>> Resolving deltas: 100% (68265/68265), done.

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread p.d.rosenberg
Hi Laurent
I know you have said you have cleaned and you have rebuilt. However, there may 
be a build tree dependency issue catching us out. Can you ensure you 
specifically rebuild the wxPlviewer project by right clicking it and selecting 
build in visual studio? If you just right click an example and click build or 
debug then this project doesn't get built/rebuilt. This means in a previously 
used build tree you may be using a stale wxplviewer executable or in a fresh 
tree you may end up using the wxplviewer from your last build of the INSTALL 
project as a local version may not be found.

Alan – I have mentioned this before. What is needed is for all examples to 
depend upon the wxPLViewer executable, which in turn depends upon plplot and 
the wxWidgets driver, so that if changes are made to plplot or the driver then 
building of an example triggers a rebuild of wxPLViewer.

Phil

Sent from my Windows 10 phone

From: Pedro Vicente
Sent: 27 December 2016 22:13
To: Laurent Berger
Cc: PLplot development list
Subject: Re: [Plplot-devel] legend and label using wxWidgets

I am using wxwidgets 3.1 built with Visual Studio 2015 and plplot from the 
master branch
and using cmake with


cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON
-DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug"
-DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF
-DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON
-DwxWidgets_ROOT_DIR:PATH=%WXWIN%
-DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib
-DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON
-DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF



- Original Message - 
From: "Laurent Berger" <laurent.ber...@univ-lemans.fr>
To: "Pedro Vicente" <pedro.vice...@space-research.org>
Cc: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>; "PLplot development list" 
<plplot-devel@lists.sourceforge.net>
Sent: Tuesday, December 27, 2016 4:32 PM
Subject: Re: [Plplot-devel] legend and label using wxWidgets


> Which version of wxwidgets do you use (can you give last commit using git 
> log)?
>
>
> Le 27/12/2016 à 22:29, Pedro Vicente a écrit :
>>> error is still here. Now what patch should I apply?
>>
>> there is no patch for the scale issue.
>> the patch I send previously on the subject "Using wxWidgets" is for the 
>> issue regarding the use
>> of templates. To test that, add and replace the 2 attached files on that 
>> email to the master you just did the clone,
>> and report here if you have any errors on the master, or in your code 
>> that uses it, please.
>>
>> regarding the scale issue, what compiler and cmake command are you using?
>> is it Visual Studio 2015 build 64bits, doing
>> cmake .. -G "Visual Studio 14 win64" ?
>>
>>
>>
>>
>> On 2016-12-27 16:04, Laurent Berger wrote:
>>> I always clean my build repo and my cmake cache. Now to be sure I
>>> have just clone plplot in another folder :
>>>
>>>
>>> $ git clone git://git.code.sf.net/p/plplot/plplot
>>> Cloning into 'plplot'...
>>> remote: Counting objects: 91527, done.
>>> remote: Compressing objects: 100% (29963/29963), done.
>>> remote: Total 91527 (delta 68265), reused 82342 (delta 60469)
>>> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 KiB/s, done.
>>> Resolving deltas: 100% (68265/68265), done.
>>> Checking connectivity... done.
>>> Checking out files: 100% (1962/1962), done.
>>>
>>> Laurent@PC-Laurent-Vision MINGW64 /f/met
>>> $ cd plplot
>>>
>>> Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master)
>>> $ git log
>>> commit 26bc4bf13aa41dff0e19345e982eca00a0458578
>>> Author: Alan W. Irwin <air...@users.sourceforge.net>
>>> Date:   Sat Dec 24 14:32:48 2016 -0800
>>>
>>> Apply spell checker to release notes
>>>
>>> build plplot in static using wxwidgets 3.1.0 :
>>>
>>>  git log(wxWidgets 3.1.0)
>>> commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6
>>> Author: Paul Cornett <paul...@users.noreply.github.com>
>>> Date:   Wed Nov 9 20:06:26 2016 -0800
>>>
>>> Fix non-default window background color with GTK+ >= 3.20
>>>
>>> GTK+ no longer automatically paints non-default window
>>> background. See #17586
>>>
>>> commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292
>>>
>>> error is still here. Now what patch should I apply?
>>>
>>>
>>>
>>> Le 27/12/2016 à 21:47, Alan W. Irwin a écrit :
>>>> On 2016-12-27 15:27-0500 Pedro Vicente wr

Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Pedro Vicente
I am using wxwidgets 3.1 built with Visual Studio 2015 and plplot from the 
master branch
and using cmake with


cmake ".." -G "Visual Studio 14" -DPL_DOUBLE:BOOL=ON
-DBUILD_TEST:BOOL=ON -DCMAKE_CONFIGURATION_TYPES:STRING="Debug"
-DCMAKE_BUILD_TYPE:STRING="Debug" -DBUILD_SHARED_LIBS:BOOL=OFF
-DSTATIC_RUNTIME:BOOL=ON -DPLD_wxwidgets:BOOL=ON
-DwxWidgets_ROOT_DIR:PATH=%WXWIN%
-DwxWidgets_LIB_DIR:PATH=%WXWIN%\lib\vc_lib
-DwxWidgets_CONFIGURATION=mswud -DENABLE_MIX_CXX=ON
-DwxWidgets_EXCLUDE_COMMON_LIBRARIES:BOOL=OFF



- Original Message - 
From: "Laurent Berger" <laurent.ber...@univ-lemans.fr>
To: "Pedro Vicente" <pedro.vice...@space-research.org>
Cc: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca>; "PLplot development list" 
<plplot-devel@lists.sourceforge.net>
Sent: Tuesday, December 27, 2016 4:32 PM
Subject: Re: [Plplot-devel] legend and label using wxWidgets


> Which version of wxwidgets do you use (can you give last commit using git 
> log)?
>
>
> Le 27/12/2016 à 22:29, Pedro Vicente a écrit :
>>> error is still here. Now what patch should I apply?
>>
>> there is no patch for the scale issue.
>> the patch I send previously on the subject "Using wxWidgets" is for the 
>> issue regarding the use
>> of templates. To test that, add and replace the 2 attached files on that 
>> email to the master you just did the clone,
>> and report here if you have any errors on the master, or in your code 
>> that uses it, please.
>>
>> regarding the scale issue, what compiler and cmake command are you using?
>> is it Visual Studio 2015 build 64bits, doing
>> cmake .. -G "Visual Studio 14 win64" ?
>>
>>
>>
>>
>> On 2016-12-27 16:04, Laurent Berger wrote:
>>> I always clean my build repo and my cmake cache. Now to be sure I
>>> have just clone plplot in another folder :
>>>
>>>
>>> $ git clone git://git.code.sf.net/p/plplot/plplot
>>> Cloning into 'plplot'...
>>> remote: Counting objects: 91527, done.
>>> remote: Compressing objects: 100% (29963/29963), done.
>>> remote: Total 91527 (delta 68265), reused 82342 (delta 60469)
>>> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 KiB/s, done.
>>> Resolving deltas: 100% (68265/68265), done.
>>> Checking connectivity... done.
>>> Checking out files: 100% (1962/1962), done.
>>>
>>> Laurent@PC-Laurent-Vision MINGW64 /f/met
>>> $ cd plplot
>>>
>>> Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master)
>>> $ git log
>>> commit 26bc4bf13aa41dff0e19345e982eca00a0458578
>>> Author: Alan W. Irwin <air...@users.sourceforge.net>
>>> Date:   Sat Dec 24 14:32:48 2016 -0800
>>>
>>> Apply spell checker to release notes
>>>
>>> build plplot in static using wxwidgets 3.1.0 :
>>>
>>>  git log(wxWidgets 3.1.0)
>>> commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6
>>> Author: Paul Cornett <paul...@users.noreply.github.com>
>>> Date:   Wed Nov 9 20:06:26 2016 -0800
>>>
>>> Fix non-default window background color with GTK+ >= 3.20
>>>
>>> GTK+ no longer automatically paints non-default window
>>> background. See #17586
>>>
>>> commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292
>>>
>>> error is still here. Now what patch should I apply?
>>>
>>>
>>>
>>> Le 27/12/2016 à 21:47, Alan W. Irwin a écrit :
>>>> On 2016-12-27 15:27-0500 Pedro Vicente wrote:
>>>>
>>>>> ah, yes, that's right "Visual Studio 14" only  is for 32 bits
>>>>>
>>>>> I did not try with 64 bits libs
>>>>
>>>> @Laurent:
>>>>
>>>> Just to interject here, before getting too deeply into 64-bit versus
>>>> 32-bit Windows differences between Pedro and you, it is important you
>>>> answer our question whether the text issues you see are due to stale
>>>> results left over from your previous builds.  So please make a
>>>> completely fresh build and let us know whether those text issues
>>>> persist for that fresh build.
>>>>
>>>> Alan
>>>>
>>>> __
>>>> Alan W. Irwin
>>>>
>>>> Astronomical research affiliation with Department of Physics and 
>>>> Astronomy,
>>>> University of Victoria (astrowww.phys.uvic.ca).
>>>>
>>>> Programming affiliations with the FreeEOS equation-of-state
>>>> implementation for stellar interiors (freeeos.sf.net); the Time
>>>> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
>>>> software package (plplot.sf.net); the libLASi project
>>>> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
>>>> and the Linux Brochure Project (lbproject.sf.net).
>>>> __
>>>>
>>>> Linux-powered Science
>>>> __
>>
> 


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
Which version of wxwidgets do you use (can you give last commit using 
git log)?


Le 27/12/2016 à 22:29, Pedro Vicente a écrit :
>> error is still here. Now what patch should I apply?
>
> there is no patch for the scale issue.
> the patch I send previously on the subject "Using wxWidgets" is for 
> the issue regarding the use
> of templates. To test that, add and replace the 2 attached files on 
> that email to the master you just did the clone,
> and report here if you have any errors on the master, or in your code 
> that uses it, please.
>
> regarding the scale issue, what compiler and cmake command are you using?
> is it Visual Studio 2015 build 64bits, doing
> cmake .. -G "Visual Studio 14 win64" ?
>
>
>
>
> On 2016-12-27 16:04, Laurent Berger wrote:
>> I always clean my build repo and my cmake cache. Now to be sure I
>> have just clone plplot in another folder :
>>
>>
>> $ git clone git://git.code.sf.net/p/plplot/plplot
>> Cloning into 'plplot'...
>> remote: Counting objects: 91527, done.
>> remote: Compressing objects: 100% (29963/29963), done.
>> remote: Total 91527 (delta 68265), reused 82342 (delta 60469)
>> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 KiB/s, done.
>> Resolving deltas: 100% (68265/68265), done.
>> Checking connectivity... done.
>> Checking out files: 100% (1962/1962), done.
>>
>> Laurent@PC-Laurent-Vision MINGW64 /f/met
>> $ cd plplot
>>
>> Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master)
>> $ git log
>> commit 26bc4bf13aa41dff0e19345e982eca00a0458578
>> Author: Alan W. Irwin 
>> Date:   Sat Dec 24 14:32:48 2016 -0800
>>
>> Apply spell checker to release notes
>>
>> build plplot in static using wxwidgets 3.1.0 :
>>
>>  git log(wxWidgets 3.1.0)
>> commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6
>> Author: Paul Cornett 
>> Date:   Wed Nov 9 20:06:26 2016 -0800
>>
>> Fix non-default window background color with GTK+ >= 3.20
>>
>> GTK+ no longer automatically paints non-default window
>> background. See #17586
>>
>> commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292
>>
>> error is still here. Now what patch should I apply?
>>
>>
>>
>> Le 27/12/2016 à 21:47, Alan W. Irwin a écrit :
>>> On 2016-12-27 15:27-0500 Pedro Vicente wrote:
>>>
 ah, yes, that's right "Visual Studio 14" only  is for 32 bits

 I did not try with 64 bits libs
>>>
>>> @Laurent:
>>>
>>> Just to interject here, before getting too deeply into 64-bit versus
>>> 32-bit Windows differences between Pedro and you, it is important you
>>> answer our question whether the text issues you see are due to stale
>>> results left over from your previous builds.  So please make a
>>> completely fresh build and let us know whether those text issues
>>> persist for that fresh build.
>>>
>>> Alan
>>>
>>> __
>>> Alan W. Irwin
>>>
>>> Astronomical research affiliation with Department of Physics and 
>>> Astronomy,
>>> University of Victoria (astrowww.phys.uvic.ca).
>>>
>>> Programming affiliations with the FreeEOS equation-of-state
>>> implementation for stellar interiors (freeeos.sf.net); the Time
>>> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
>>> software package (plplot.sf.net); the libLASi project
>>> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
>>> and the Linux Brochure Project (lbproject.sf.net).
>>> __
>>>
>>> Linux-powered Science
>>> __
>


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Pedro Vicente
> error is still here. Now what patch should I apply?

there is no patch for the scale issue.
the patch I send previously on the subject "Using wxWidgets" is for the 
issue regarding the use
of templates. To test that, add and replace the 2 attached files on 
that email to the master you just did the clone,
and report here if you have any errors on the master, or in your code 
that uses it, please.

regarding the scale issue, what compiler and cmake command are you 
using?
is it Visual Studio 2015 build 64bits, doing
cmake .. -G "Visual Studio 14 win64" ?




On 2016-12-27 16:04, Laurent Berger wrote:
> I always clean my build repo and my cmake cache. Now to be sure I
> have just clone plplot in another folder :
>
>
> $ git clone git://git.code.sf.net/p/plplot/plplot
> Cloning into 'plplot'...
> remote: Counting objects: 91527, done.
> remote: Compressing objects: 100% (29963/29963), done.
> remote: Total 91527 (delta 68265), reused 82342 (delta 60469)
> Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 KiB/s, 
> done.
> Resolving deltas: 100% (68265/68265), done.
> Checking connectivity... done.
> Checking out files: 100% (1962/1962), done.
>
> Laurent@PC-Laurent-Vision MINGW64 /f/met
> $ cd plplot
>
> Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master)
> $ git log
> commit 26bc4bf13aa41dff0e19345e982eca00a0458578
> Author: Alan W. Irwin 
> Date:   Sat Dec 24 14:32:48 2016 -0800
>
> Apply spell checker to release notes
>
> build plplot in static using wxwidgets 3.1.0 :
>
>  git log(wxWidgets 3.1.0)
> commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6
> Author: Paul Cornett 
> Date:   Wed Nov 9 20:06:26 2016 -0800
>
> Fix non-default window background color with GTK+ >= 3.20
>
> GTK+ no longer automatically paints non-default window
> background. See #17586
>
> commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292
>
> error is still here. Now what patch should I apply?
>
>
>
> Le 27/12/2016 à 21:47, Alan W. Irwin a écrit :
>> On 2016-12-27 15:27-0500 Pedro Vicente wrote:
>>
>>> ah, yes, that's right "Visual Studio 14" only  is for 32 bits
>>>
>>> I did not try with 64 bits libs
>>
>> @Laurent:
>>
>> Just to interject here, before getting too deeply into 64-bit versus
>> 32-bit Windows differences between Pedro and you, it is important 
>> you
>> answer our question whether the text issues you see are due to stale
>> results left over from your previous builds.  So please make a
>> completely fresh build and let us know whether those text issues
>> persist for that fresh build.
>>
>> Alan
>>
>> __
>> Alan W. Irwin
>>
>> Astronomical research affiliation with Department of Physics and 
>> Astronomy,
>> University of Victoria (astrowww.phys.uvic.ca).
>>
>> Programming affiliations with the FreeEOS equation-of-state
>> implementation for stellar interiors (freeeos.sf.net); the Time
>> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
>> software package (plplot.sf.net); the libLASi project
>> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
>> and the Linux Brochure Project (lbproject.sf.net).
>> __
>>
>> Linux-powered Science
>> __

-- 
Pedro Vicente
pedro.vice...@space-research.org
http://www.space-research.org/

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
I always clean my build repo and my cmake cache. Now to be sure I have 
just clone plplot in another folder :


$ git clone git://git.code.sf.net/p/plplot/plplot
Cloning into 'plplot'...
remote: Counting objects: 91527, done.
remote: Compressing objects: 100% (29963/29963), done.
remote: Total 91527 (delta 68265), reused 82342 (delta 60469)
Receiving objects: 100% (91527/91527), 117.46 MiB | 109.00 KiB/s, done.
Resolving deltas: 100% (68265/68265), done.
Checking connectivity... done.
Checking out files: 100% (1962/1962), done.

Laurent@PC-Laurent-Vision MINGW64 /f/met
$ cd plplot

Laurent@PC-Laurent-Vision MINGW64 /f/met/plplot (master)
$ git log
commit 26bc4bf13aa41dff0e19345e982eca00a0458578
Author: Alan W. Irwin 
Date:   Sat Dec 24 14:32:48 2016 -0800

 Apply spell checker to release notes

build plplot in static using wxwidgets 3.1.0 :

  git log(wxWidgets 3.1.0)
commit 9bb5d0435a4cce5bcb7b3956cb730f59c37ea5f6
Author: Paul Cornett 
Date:   Wed Nov 9 20:06:26 2016 -0800

 Fix non-default window background color with GTK+ >= 3.20

 GTK+ no longer automatically paints non-default window background. 
See #17586

commit b1a19e6b6c9f1a69821c0da773e2e3f94d554292

error is still here. Now what patch should I apply?



Le 27/12/2016 à 21:47, Alan W. Irwin a écrit :
> On 2016-12-27 15:27-0500 Pedro Vicente wrote:
>
>> ah, yes, that's right "Visual Studio 14" only  is for 32 bits
>>
>> I did not try with 64 bits libs
>
> @Laurent:
>
> Just to interject here, before getting too deeply into 64-bit versus
> 32-bit Windows differences between Pedro and you, it is important you
> answer our question whether the text issues you see are due to stale
> results left over from your previous builds.  So please make a
> completely fresh build and let us know whether those text issues
> persist for that fresh build.
>
> Alan
>
> __
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and 
> Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state
> implementation for stellar interiors (freeeos.sf.net); the Time
> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
> software package (plplot.sf.net); the libLASi project
> (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
> and the Linux Brochure Project (lbproject.sf.net).
> __
>
> Linux-powered Science
> __


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Alan W. Irwin
On 2016-12-27 15:27-0500 Pedro Vicente wrote:

> ah, yes, that's right "Visual Studio 14" only  is for 32 bits
>
> I did not try with 64 bits libs

@Laurent:

Just to interject here, before getting too deeply into 64-bit versus
32-bit Windows differences between Pedro and you, it is important you
answer our question whether the text issues you see are due to stale
results left over from your previous builds.  So please make a
completely fresh build and let us know whether those text issues
persist for that fresh build.

Alan

__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Pedro Vicente
ah, yes, that's right "Visual Studio 14" only  is for 32 bits

I did not try with 64 bits libs

On 2016-12-27 15:19, Laurent Berger wrote:
> No i think Visual Studio 14 is for 32 bits. Visual Studio 14 win 64
> is for 64 bits libs. I don't use 32 bits libs. All my project are for
> 64 bits platform. Have you checked x04 with 64 bits libs?
>
>
> Le 27/12/2016 à 21:11, Pedro Vicente a écrit :
 "Visual Studio 14"
>>> Does it mean that you use 32 bits libs?
>>
>> No, it means to use Visual Studio 2015 ("Visual Studio 14" is the 
>> version number of Visual Studio 2015)
>>
>>
>>
>> On 2016-12-27 15:05, Laurent Berger wrote:
>>> Does it mean that you use 32 bits libs?
>>>
>>>
>>> Le 27/12/2016 à 21:00, Pedro Vicente a écrit :
 "Visual Studio 14"
>>

-- 
Pedro Vicente
pedro.vice...@space-research.org
http://www.space-research.org/

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
No i think Visual Studio 14 is for 32 bits. Visual Studio 14 win 64 is 
for 64 bits libs. I don't use 32 bits libs. All my project are for 64 
bits platform. Have you checked x04 with 64 bits libs?


Le 27/12/2016 à 21:11, Pedro Vicente a écrit :
>>> "Visual Studio 14"
>> Does it mean that you use 32 bits libs?
>
> No, it means to use Visual Studio 2015 ("Visual Studio 14" is the 
> version number of Visual Studio 2015)
>
>
>
> On 2016-12-27 15:05, Laurent Berger wrote:
>> Does it mean that you use 32 bits libs?
>>
>>
>> Le 27/12/2016 à 21:00, Pedro Vicente a écrit :
>>> "Visual Studio 14"
>


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Pedro Vicente
>> "Visual Studio 14"
> Does it mean that you use 32 bits libs?

No, it means to use Visual Studio 2015 ("Visual Studio 14" is the 
version number of Visual Studio 2015)



On 2016-12-27 15:05, Laurent Berger wrote:
> Does it mean that you use 32 bits libs?
>
>
> Le 27/12/2016 à 21:00, Pedro Vicente a écrit :
>> "Visual Studio 14"

-- 
Pedro Vicente
pedro.vice...@space-research.org
http://www.space-research.org/

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger
Does it mean that you use 32 bits libs?


Le 27/12/2016 à 21:00, Pedro Vicente a écrit :
> "Visual Studio 14"


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Alan W. Irwin
On 2016-12-27 11:29+0100 Laurent Berger wrote:

> Thanks for your answer.
>
> I give you all command I done. I work on master (I made a copy on my previous 
> folder). I build plplot in static using vs2015.
>
> When I run x04 example problem is still here. Example seems slower now. I 
> think that I applyed patch because legend are good now but axis labels are 
> still wrong
>
>
>
> $ git log
> commit 26bc4bf13aa41dff0e19345e982eca00a0458578
> Author: Alan W. Irwin 
> Date:   Sat Dec 24 14:32:48 2016 -0800
>
>Apply spell checker to release notes
>
> commit dd178fd84c8e67e6c26c6248dc428d8302a0b744
> Author: Alan W. Irwin 
> Date:   Sat Dec 24 14:04:09 2016 -0800
>
>Update the release notes for 5.12.0
>
>N.B. The ChangeLog consisting of all the commit messages for the ~400
>commits that are included in this release has been reviewed to help
>insure that these release notes mention all the major PLplot
>developments that have occurred for this release.  So virtually all
>sections of these release notes should be ready for release. However,
>my work on the large documentation update is still in progress so that
>section of these release notes will likely require further revision.
>
> commit 995e75e6086caaf04d65c307612b6edaa49f96bc
> Author: Phil Rosenberg 
> Date:   Tue Dec 20 13:33:43 2016 +
>
>
> Laurent@PC-Laurent-Vision MINGW64 /g/lib/plplot (master)
> $ git am < 
> /c/Users/Laurent.PC-LAURENT-VISI/Desktop/patch/0001-wxwidgets-binding 
> -fix-for-delayed-OnCreate-event.patch
> Applying: wxwidgets binding: fix for delayed OnCreate event
> .git/rebase-apply/patch:355: new blank line at EOF.
> +
> warning: 1 line adds whitespace errors.
>
> Laurent@PC-Laurent-Vision MINGW64 /g/lib/plplot (master)
> $ git am < 
> /c/Users/Laurent.PC-LAURENT-VISI/Desktop/patch/0002-Reintroduce-OnCre 
> ate-event.patch
> Applying: Reintroduce OnCreate() event
>
> Laurent@PC-Laurent-Vision MINGW64 /g/lib/plplot (master)
>

Hi Laurent:

It looks to me that your application of Pedro's commits on top of the
lastest master version is correct.  And the screenshot you attached
does indeed show some severe text issues for your vs2015 case which I cannot
recreate here at all on Linux.  Is it possible you have a stale build?
That is, do you get the same problem starting with the cmake command
in an initially empty build tree?

If it turns out a completely fresh configure and build still shows
the issue, then someone with access to Windows here will have to
take over and attempt to replicate what is potentially a
release-critical issue.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-27 Thread Laurent Berger

Thanks for your answer.

I give you all command I done. I work on master (I made a copy on my 
previous folder). I build plplot in static using vs2015.


When I run x04 example problem is still here. Example seems slower now. 
I think that I applyed patch because legend are good now but axis labels 
are still wrong




$ git log
commit 26bc4bf13aa41dff0e19345e982eca00a0458578
Author: Alan W. Irwin 
Date:   Sat Dec 24 14:32:48 2016 -0800

Apply spell checker to release notes

commit dd178fd84c8e67e6c26c6248dc428d8302a0b744
Author: Alan W. Irwin 
Date:   Sat Dec 24 14:04:09 2016 -0800

Update the release notes for 5.12.0

N.B. The ChangeLog consisting of all the commit messages for the ~400
commits that are included in this release has been reviewed to help
insure that these release notes mention all the major PLplot
developments that have occurred for this release.  So virtually all
sections of these release notes should be ready for release. However,
my work on the large documentation update is still in progress so that
section of these release notes will likely require further revision.

commit 995e75e6086caaf04d65c307612b6edaa49f96bc
Author: Phil Rosenberg 
Date:   Tue Dec 20 13:33:43 2016 +


Laurent@PC-Laurent-Vision MINGW64 /g/lib/plplot (master)
$ git am < 
/c/Users/Laurent.PC-LAURENT-VISI/Desktop/patch/0001-wxwidgets-binding 
-fix-for-delayed-OnCreate-event.patch

Applying: wxwidgets binding: fix for delayed OnCreate event
.git/rebase-apply/patch:355: new blank line at EOF.
+
warning: 1 line adds whitespace errors.

Laurent@PC-Laurent-Vision MINGW64 /g/lib/plplot (master)
$ git am < 
/c/Users/Laurent.PC-LAURENT-VISI/Desktop/patch/0002-Reintroduce-OnCre 
ate-event.patch

Applying: Reintroduce OnCreate() event

Laurent@PC-Laurent-Vision MINGW64 /g/lib/plplot (master)

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] legend and label using wxWidgets

2016-12-26 Thread Alan W. Irwin
On 2016-12-26 15:18+0100 Laurent Berger wrote:

> Hi,
>
> I think that something is weird in wxWidgets driver. When i want to draw a 
> legend or label yaxis text legend is wrong and label for x-axis on right too.
>
> I have attached png and svg file generated using x04c example (updated from 
> git 10 december 2016)

Hi Laurent:

Thanks for your report, and indeed that x04.png screenshot of your -dev
wxwidgets result has obvious text orientation issues.

However, that result is for our 2016-12-10 version, and Phil had
a commit called

Fixed problem with rotated wxWidgets text

on 2016-12-13 which likely addresses the gross text orientation issues
you were seeing.  Furthermore, since that fix, there have been many more
wxwidgets-related fixes to deal with a release-critical bug (things
happening in the wrong order) that showed up on some Linux boxes.

We are still in the process of evaluating the latest version of our
fix, but it works fine for Pedro on a Windows platform and 4 Linux
platforms. It also works fine for me here on Debian Jessie, and a
final decision concerning this fix will be made when Phil gets back in
touch (probably tomorrow) after his Christmas break.

For the most recent version of this fix, I have looked carefully at
the results for example 4, and they are the same as
 except for a tiny
(1/20th to 1/10th of a character height) vertical character
misalignment issue which has been with us for quite a while with our
wxwidgets-related components.

Would you be willing to help us out with testing this most recent
version of this fix?

Here is how you do that.

(1) Look at Pedro's most recent post to PLplot-devel and copy that
tarball (called wxwidgets_experimental_commits2.tar.gz) to a local
directory.

(2) Unpack that tarball ==>
0001-wxwidgets-binding-fix-for-delayed-OnCreate-event.patch
0002-Reintroduce-OnCreate-event.patch

(3) Create a local topic branch from _the latest_ updated version
of our git master branch following the directions in
README.developers.

(4) Go to the top-level directory of that source tree and apply the
two commits above, using, e.g.,

git am < $DIR/0001-wxwidgets-binding-fix-for-delayed-OnCreate-event.patch
git am < $DIR/0002-Reintroduce-OnCreate-event.patch

where $DIR is the directory location where you have unpacked those two
patches.

The above is exactly just what I did here.  I followed up by configuring
the PLplot build with cmake using an initially empty build tree;
building the x04c, wxwidgets,
and wxPLViewer targets; and then running

examplex/c/x04c -dev wxwidgets

To generate the good results I reported above.

Please repeat this cookbook (especially starting with a fresh build
using an initially empty build tree) and report the results here
_whether they are good or bad_.  (Good strengthens the argument our
present fix is probably OK, bad means there is likely more work to do
with that fix.) Also please include in your good or bad report a
complete identification of your wxwidgets platform, i.e., your
operating system, wxwidgets version number, and gtk+ version number
(not relevant on bare Windows, but relevant on most other platforms
because typically wxwidgets is built on top of gtk+ for those other
platforms).  And if your report is bad, then a screenshot like you
just sent for the December 10th version is useful as well.

Thanks in advance for your help testing the latest version of our
wxwidgets fix in the above way.  And, of course, please ask additional
questions here if some part of the above directions is not clear
to you.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__

Linux-powered Science
__

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel