Re: [Plplot-devel] segfault bugfix for plbuf.c

2015-01-28 Thread Jim Dishaw
I test the code by using the xwin driver and resize the plot window. But I think a better way would be to write a test program that makes a plot and then calls plRemakePlot. I will put something together. Phil's wxWidgets work is also a good test case. > On Jan 28, 2015, at 11:23 PM, Alan W.

Re: [Plplot-devel] Release plans

2015-01-28 Thread Alan W. Irwin
On 2015-01-27 22:12-0500 Jim Dishaw wrote: > I have attached a patch for the plmem.c change. Pushed to master. Alan __ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming a

Re: [Plplot-devel] segfault bugfix for plbuf.c

2015-01-28 Thread Alan W. Irwin
To Phil and Jim: Do any of our current examples or device drivers on master branch exercise the plbuf capabilities or if not could one of you implement a test application that exercises each of the plbuf capabilities? I think we need such a test that can be run to make sure that a plbuf change is

[Plplot-devel] segfault bugfix for plbuf.c

2015-01-28 Thread Jim Dishaw
While working on the plot metafile, I fixed a segfault issue that Phil was having with his wxWidgets work. I made a patch that fixes this issue. I don't know about the need to push this to patch to master. The only jarring behavior is a plexit() call that I put in plbuf_control() to catch unr

Re: [Plplot-devel] segfault bugfix for plbuf.c

2015-01-28 Thread Jim Dishaw
I guess it would help if I would attach the patch! plbuf_bugfix.patch Description: Binary data On Jan 28, 2015, at 9:59 PM, Jim Dishaw wrote: > While working on the plot metafile, I fixed a segfault issue that Phil was > having with his wxWidgets work. I made a patch that fixes this issue.

Re: [Plplot-devel] plGetCursor

2015-01-28 Thread Maurice LeBrun
On Wednesday, January 28, 2015 at 22:20:27 (+) Andrew Ross writes: > On Wed, Jan 28, 2015 at 10:59:04AM -0800, Alan Irwin wrote: > > On 2015-01-28 13:39- Phil Rosenberg wrote: > > > > > Hi All > > > I am trying to add the plGetCursor functionality into the wxWidgets > > > driver. It

Re: [Plplot-devel] plGetCursor

2015-01-28 Thread Andrew Ross
On Wed, Jan 28, 2015 at 10:59:04AM -0800, Alan Irwin wrote: > On 2015-01-28 13:39- Phil Rosenberg wrote: > > > Hi All > > I am trying to add the plGetCursor functionality into the wxWidgets > > driver. It will need to be implemented rather differently to before > > because of the separation be

Re: [Plplot-devel] Release plans

2015-01-28 Thread Alan W. Irwin
On 2015-01-27 08:16- Arjen Markus wrote: >> [Alan said] If you cannot meet that deadline, then I suggest you give your >> highest priority to >> finishing the small changes (such as Jim's plmem.c >> changes) that can be committed to master before that deadline. > Given that the changes to th

Re: [Plplot-devel] plGetCursor

2015-01-28 Thread Alan W. Irwin
On 2015-01-28 13:39- Phil Rosenberg wrote: > Hi All > I am trying to add the plGetCursor functionality into the wxWidgets > driver. It will need to be implemented rather differently to before > because of the separation between the gui process and the calling > process. However, looking at the

Re: [Plplot-devel] plGetCursor

2015-01-28 Thread Arjen Markus
Hi Phil, That behaviour is what has been implemented in the wingcc driver. I do not know about other drivers, you may take the xwin driver as the template. Regards, Arjen > -Original Message- > From: Phil Rosenberg [mailto:p.d.rosenb...@gmail.com] > Sent: Wednesday, January 28, 2015

[Plplot-devel] plGetCursor

2015-01-28 Thread Phil Rosenberg
Hi All I am trying to add the plGetCursor functionality into the wxWidgets driver. It will need to be implemented rather differently to before because of the separation between the gui process and the calling process. However, looking at the old implementation, the documentation and the examples la

Re: [Plplot-devel] Do we want to move plAlloc2dGrid(), plFree2dGrid, and plMinMax2dGrid

2015-01-28 Thread Alan W. Irwin
On 2015-01-28 01:06- Phil Rosenberg wrote: > Hi Alan > I know we are way off topic here, but how come you are reallocating so > often? Perhaps you might be interested in memory pools, or object > oriented style C or even C++ for saving you some of those allocations. Thanks, Phil, for that goo

Re: [Plplot-devel] Release plans

2015-01-28 Thread Arjen Markus
Hi everyone, Just a side note: > > On 27 January 2015 at 08:16, Arjen Markus wrote: > > Hi Alan, > >> > > >> 2. Is it better than what it is replacing? I think it is fair to say > >> from the topic-branch commits I have seen the current Fortran binding > >> and wxwidgets rewrites are partiall

Re: [Plplot-devel] Release plans

2015-01-28 Thread Phil Rosenberg
Hi Jim Sorry I didn't reply yesterday. I will try to look over your patch over the weekend, but if someone has chance sooner then all the better. Phil -Original Message- From: "Jim Dishaw" Sent: ‎28/‎01/‎2015 03:12 To: "Alan W. Irwin" Cc: "Phil Rosenberg" ; "Arjen Markus" ; "PLplot de