Re: [Plplot-devel] Infinite Yielding issue

2016-12-27 Thread Pedro Vicente
cation. -Pedro - Original Message - From: p.d.rosenb...@gmail.com To: Pedro Vicente ; Alan W. Irwin Cc: PLplot development list Sent: Tuesday, December 27, 2016 6:21 PM Subject: RE: [Plplot-devel] Infinite Yielding issue This is really brief, I think we are all g

Re: [Plplot-devel] Infinite Yielding issue

2016-12-27 Thread Alan W. Irwin
Hi Phil: You have made many good points. For example, I wholeheartedly second your comment "In particular, I'm hugely grateful Pedro for your efforts on this." Also, I completely agree with you it is bad to even attempt to release anywhere near the Christmas holidays. My apologies for getting us

Re: [Plplot-devel] Infinite Yielding issue

2016-12-27 Thread p.d.rosenberg
year means that PLplot is not everyone's top priority. Does that make sense? Sent from my Windows 10 phone From: Pedro Vicente Sent: 27 December 2016 19:46 To: Alan W. Irwin Cc: Phil Rosenberg; PLplot development list Subject: Re: [Plplot-devel] Infinite Yielding issue @Alan, Phil >Ho

Re: [Plplot-devel] Infinite Yielding issue

2016-12-27 Thread Pedro Vicente
@Alan, Phil However, there is something we could try, which is, keep the current way of wxPLplotwindow beging a template, and at the same time overriding the Create() function (with template). ok, I implemented this, attached this 1) will not break current template use 2) will fix the bug

Re: [Plplot-devel] Infinite Yielding issue

2016-12-27 Thread Pedro Vicente
@Alan > So if users stick with the old way of > creating frame they will get a build error yes However, there is something we could try, which is, keep the current way of wxPLplotwindow beging a template, and at the same time overriding the Create() function (with template). this could mean tha

Re: [Plplot-devel] Infinite Yielding issue

2016-12-27 Thread Alan W. Irwin
On 2016-12-27 10:09-0500 Pedro Vicente wrote: > @Alan > >> Isn't that loss of functionality by definition a backwards >> incompatibility in the API for the plplotwxwidgets library? > > yes > > but for the current (5.11.1) release compared to the new implemented > examples, > the effect is the sam

Re: [Plplot-devel] Infinite Yielding issue

2016-12-27 Thread Pedro Vicente
@Alan > Isn't that loss of functionality by definition a backwards > incompatibility in the API for the plplotwxwidgets library? yes but for the current (5.11.1) release compared to the new implemented examples, the effect is the same previously the way to start the demo was wxPLplotwindow *f

Re: [Plplot-devel] Infinite Yielding issue

2016-12-26 Thread Alan W. Irwin
On 2016-12-26 21:30-0500 Pedro Vicente wrote: > @Alan, Phil > >> Now that we have such a widely tested solution, would you be willing >> to write a short summary paragraph concerning the changes in the >> plplotwxwidgets library API? > > here it goes. The API really has no visible changes, but has

Re: [Plplot-devel] Infinite Yielding issue

2016-12-26 Thread Pedro Vicente
velopment list" Sent: Monday, December 26, 2016 5:09 PM Subject: Re: [Plplot-devel] Infinite Yielding issue > On 2016-12-24 20:24-0500 Pedro Vicente wrote: > >> Hi Alan >> >>> Then collect those two files in a tarball using >>> tar zcf wxwidgets_experimenta

Re: [Plplot-devel] Infinite Yielding issue

2016-12-26 Thread Alan W. Irwin
On 2016-12-24 20:24-0500 Pedro Vicente wrote: > Hi Alan > >> Then collect those two files in a tarball using >> tar zcf wxwidgets_experimental_commits2.tar.gz 00* > > I did the git am as explained, and > wxwidgets_experimental_commits2.tar.gz > is attached > > examples/c/x01c -dev wxwidgets > and

Re: [Plplot-devel] Infinite Yielding issue

2016-12-24 Thread Pedro Vicente
- Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "PLplot development list" Sent: Saturday, December 24, 2016 3:42 AM Subject: Re: [Plplot-devel] Infinite Yielding issue On 2016-12-24 01:13-0500 Pedro Vicente wrote

Re: [Plplot-devel] Infinite Yielding issue

2016-12-24 Thread Alan W. Irwin
On 2016-12-24 12:36-0500 Pedro Vicente wrote: > Hi Alan > > Glad it's working ! > I'll go through your email later, but a fix for the warning is just changing > at line 313 of wxPLplotwindow.cpp > wxDC *drawDc; > to > wxDC *drawDc = NULL; > the warning is just because of the preprocessor macro G

Re: [Plplot-devel] Infinite Yielding issue

2016-12-24 Thread Pedro Vicente
n W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "PLplot development list" Sent: Saturday, December 24, 2016 3:42 AM Subject: Re: [Plplot-devel] Infinite Yielding issue > On 2016-12-24 01:13-0500 Pedro Vicente wrote: > >> Hi Alan >> >&

Re: [Plplot-devel] Infinite Yielding issue

2016-12-24 Thread Alan W. Irwin
On 2016-12-24 01:13-0500 Pedro Vicente wrote: Hi Alan some more upbeat news about the example error , it's gone :-) It's gone here too. :-) So thanks very much Pedro for this early Christmas present! [...] I also removed this "PLDLLIMPEXP_WX" class PLDLLIMPEXP_WX wxPLplotwindow : public

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
" To: "Alan W. Irwin" Cc: "PLplot development list" Sent: Saturday, December 24, 2016 1:13 AM Subject: Re: [Plplot-devel] Infinite Yielding issue > Hi Alan > > some more upbeat news about the example error , it's gone :-) > > It's the firs

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
not clear -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" Cc: "Phil Rosenberg" ; "PLplot development list" Sent: Friday, December 23, 2016 2:50 PM Subject: Re: [Plplot-devel] Infinite Yielding issue On 2016-12-23

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Alan W. Irwin
On 2016-12-23 16:43-0500 Pedro Vicente wrote: > by the way, what are the commands to do comprehensing testing? That script should be able to run on all Unix systems and Unix-like systems (i.e., Cygwin and MinGW-w64/MSYS2), but not currently for MSVC ("raw Windows"). However, Arjen plans to inves

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
by the way, what are the commands to do comprehensing testing? -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" ; "Phil Rosenberg" ; "PLplot development list" Sent: Friday, December 23, 2016 4:30 PM Subject: Re: [Plplot-de

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
iginal Message - From: "Alan W. Irwin" To: "Pedro Vicente" ; "Phil Rosenberg" ; "PLplot development list" Sent: Friday, December 23, 2016 4:30 PM Subject: Re: [Plplot-devel] Infinite Yielding issue > On 2016-12-23 15:18-0500 Pedro Vicente

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Alan W. Irwin
On 2016-12-23 15:18-0500 Pedro Vicente wrote: > Hi Alan > > I applied the patch on CentOS; > no errors on build > wxPLplotwindow demo does the plot > same error on the same example Thanks, Pedro, for verifying my revision of your commit applies cleanly there and for verifying the run-time error I

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Pedro Vicente
Hi Alan I applied the patch on CentOS; no errors on build wxPLplotwindow demo does the plot same error on the same example I have a small suggestion: instead of emailling patches and applyting them to multiple machines (I have 4) what about doing a remote branch called "development" and just co

Re: [Plplot-devel] Infinite Yielding issue

2016-12-23 Thread Alan W. Irwin
On 2016-12-23 01:40-0500 Pedro Vicente wrote: Alan, Phil I went ahead and did a patch commit for option 3), attached, that has this: (note: I wrote the code in Windows, then ftp to Linux, I got some warnings about line endings, just do dos2unix if any thing shows up) Hi Pedro: Your change

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread Pedro Vicente
quot;Alan W. Irwin" To: "Pedro Vicente" ; "Phil Rosenberg" ; "PLplot development list" Sent: Thursday, December 22, 2016 11:05 PM Subject: Re: [Plplot-devel] Infinite Yielding issue Hi Pedro: On 2016-12-22 18:34-0500 Pedro Vicente wrote: @Alan [...] [Th

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread Alan W. Irwin
Hi Pedro: On 2016-12-22 18:34-0500 Pedro Vicente wrote: > @Alan [...] > [The wxwidgets developer] says we cannot expect a timely response from the > "create" event in > wxApp::OnInit(), > which is the way wxPLplotDemo has. > > so, we have to change that, it just cannot be like it is now. Good

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread Pedro Vicente
ake the release). ok -Pedro - Original Message - From: "Alan W. Irwin" To: "Pedro Vicente" ; "Phil Rosenberg" ; "PLplot development list" Sent: Thursday, December 22, 2016 5:07 PM Subject: RE: [Plplot-devel] Infinite Yielding issue > On 201

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread Alan W. Irwin
On 2016-12-22 09:48-0500 Pedro Vicente wrote: > Hi Phil > > there is a response from a developer > > https://groups.google.com/forum/#!topic/wx-dev/wsk--AlQNzU To Pedro and Phil: I hope that developer is responsive to Pedro's supplementary question, but so far he hasn't been. Therefore, Pedro,

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread Pedro Vicente
ndows 10 phone > > FROM: Alan W. Irwin [1] > SENT: 22 December 2016 05:39 > TO: Pedro Vicente [2]; Phil Rosenberg [3]; PLplot development list > [4] > SUBJECT: Re: [Plplot-devel] Infinite Yielding issue > > Hi Pedro: > > More thoughts: > > I like your example becaus

Re: [Plplot-devel] Infinite Yielding issue

2016-12-22 Thread p.d.rosenberg
it is left on the forum then it will get lost. Phil Sent from my Windows 10 phone From: Alan W. Irwin Sent: 22 December 2016 05:39 To: Pedro Vicente; Phil Rosenberg; PLplot development list Subject: Re: [Plplot-devel] Infinite Yielding issue Hi Pedro: More thoughts: I like your example becau

Re: [Plplot-devel] Infinite Yielding issue

2016-12-21 Thread Alan W. Irwin
Hi Pedro: More thoughts: I like your example because it follows the first rule of debugging which is to simplify the example that shows the strange behaviour. And I get success on my platform, and you don't on yours which confirms there is a problem (either there is a bug in wxwidgets/GTK+ or you

Re: [Plplot-devel] Infinite Yielding issue

2016-12-21 Thread Alan W. Irwin
On 2016-12-21 23:14-0500 Pedro Vicente wrote: > I did a simple wxWidgets app (no PLplot) that shows the issue > > it's here , wx_demo.cpp > > https://github.com/pedro-vicente/plplot-wxwidgets [...] > 18:33:43: Debug: wxFrameTest::wxFrameTest > 18:33:43: Debug: frame->Create > 18:33:43: Debug: wxF

Re: [Plplot-devel] Infinite Yielding issue

2016-12-21 Thread Pedro Vicente
t;Phil Rosenberg" ; "PLplot development list" Sent: Wednesday, December 21, 2016 7:36 PM Subject: RE: [Plplot-devel] Infinite Yielding issue > On 2016-12-21 23:25- p.d.rosenb...@gmail.com wrote: > >> Sorry I have not been able to look at this today. I have had

Re: [Plplot-devel] Infinite Yielding issue

2016-12-21 Thread Alan W. Irwin
On 2016-12-21 23:25- p.d.rosenb...@gmail.com wrote: > Sorry I have not been able to look at this today. I have had family things on. > Thanks for looking into that. I half suspected that might be the case. So after everything I said about contracts with the Show function, it seems it is alrea

Re: [Plplot-devel] Infinite Yielding issue

2016-12-21 Thread p.d.rosenberg
:27:39: Debug: plD_init_wxwidgets(): leave 16:27:39: Debug: Plot() - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg" ; "PLplot development list" Sent: Tuesday, December 20, 2016 11:58 PM Subject: Re: [Plplot-dev

Re: [Plplot-devel] Infinite Yielding issue

2016-12-21 Thread Pedro Vicente
lD_init_wxwidgets(): leave 16:27:39: Debug: Plot() - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg" ; "PLplot development list" Sent: Tuesday, December 20, 2016 11:58 PM Subject: Re: [Plplot-devel] Infinite Yiel

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Pedro Vicente
1:38: Debug: wxPLDevice(): leave 23:31:38: Debug: plD_init_wxwidgets(): leave 23:31:38: Debug: Plot() - Original Message - From: "Pedro Vicente" To: "Alan W. Irwin" ; "Phil Rosenberg" ; "PLplot development list" Sent: Tuesday, December 20, 2016 11:

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Pedro Vicente
@Alan, Phil yes, my bad, sorry here are corrected results. *It works* on the commit before the current master, for CentOS, I'll try others later git checkout master git log --oneline -3 995e75e60 Made some items clearer in the wxWigdets Demo 65e7b3c99 Fix bug with plotting in wxPLplotDemo 67ef

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Alan W. Irwin
On 2016-12-20 21:23-0500 Pedro Vicente wrote: > @Alan > > yes, git is really good for these things, I forgot about that. > > I did > > git checkout 67ef7be48217c098ae49bb893df5e170c3eccc2c Hi Pedro: Note this summary of the last three commits (all from Phil) for the master branch. software@rave

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Pedro Vicente
@Alan yes, git is really good for these things, I forgot about that. I did git checkout 67ef7be48217c098ae49bb893df5e170c3eccc2c make VERBOSE=1 test_wxPLplotDemo &Phil hmm, still some issues. Good thing I decided to try on all platforms because I was almost going to shout success after tryin

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Alan W. Irwin
On 2016-12-20 17:49-0500 Pedro Vicente wrote: > @Alan, Phil > > > here are my results > > for git master current > > CentOS 6.8 wxWidgets 3.1 > Linux 14.04 wxWidgets 3.0 > Linux 16.04 wxWidgets 3.0 > Debian 8.0 wxWidgets 3.0 > > all infinite loop > > 14:25:57: Debug: wxPLplotwindow::wxPLplotwindow

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread p.d.rosenberg
Hi Pedro, Alan Sorry. I guess I made a mistake in the new commit. It worked fine on my system but I never saw the same problem you did in the first place. I will check for obvious mistakes and if I can't see the cause then I'll revert the last commit. Although this will have to wait until the mo

Re: [Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Pedro Vicente
@Alan, Phil here are my results for git master current CentOS 6.8 wxWidgets 3.1 Linux 14.04 wxWidgets 3.0 Linux 16.04 wxWidgets 3.0 Debian 8.0 wxWidgets 3.0 all infinite loop 14:25:57: Debug: wxPLplotwindow::wxPLplotwindow 14:25:57: Debug: frame->Create 14:25:57: Debug: Plot() Yielding 14:25:

[Plplot-devel] Infinite Yielding issue

2016-12-20 Thread Alan W. Irwin
On 2016-12-20 13:07-0500 Pedro Vicente wrote: > Hi Alan, Phil [...] I just tried on my CentOS with the latest git > code, and what happens > is that the execution is always on > > 12:50:24: Debug: Plot() Yielding To Pedro and Phil: @Pedro: It is good you have checked Phil's latest solution aga