Re: [Plplot-devel] Redesigned wxWidgets Driver

2015-01-25 Thread Phil Rosenberg
>I haven't tried > >export CC=gcc >export CXX=g++ > >in a while, but they used to always "just work" for me To be honest it wouldn't surprise me if it is linked to how the intel compiler is installed on my system. I can probably remove it as we have a distributed system and the applications are in

Re: [Plplot-devel] Decision needed on plbuf

2015-01-25 Thread Phil Rosenberg
>I was digging into the memory leak that occurs in plbuf, specifically in >rdbuf_text(). An array is allocated to store the unicode >characters that were stored in the buffer so that it can be replayed (e.g. >during a resize event). There are several ways to fix this >problem. This is a bit of

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

2015-01-25 Thread Phil Rosenberg
I don't have a strong feeling about this - so personally would apply an if it aint broke don't fix it policy. I can see the point of a single alloc, but I'm not sure it is high on the priority list. Phil On 25 January 2015 at 03:34, Jim Dishaw wrote: > In the src/pdfutils.c file (pdf = portable

Re: [Plplot-devel] Question on plmeta implementation

2015-01-25 Thread Phil Rosenberg
Hi Jim I though the consensus was to not have a separate plmeta driver, but instead have a command line option which just meant that upon calling pleop() the buffer was flushed to file. A mirrored command line option would read the file into a buffer and replay it during initialisation allowing the

Re: [Plplot-devel] Redesigned wxWidgets Driver

2015-01-25 Thread Phil Rosenberg
Hi Alan and Jim Just a further note: >One extremely interesting result was for example 4 which segfaulted >when GUI->File->exit was executed despite no memory management issue >reported by valgrind. This occurs due to some sort of buffer corruption. I haven't looked into the details yet, however,

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

2015-01-25 Thread Alan W. Irwin
On 2015-01-24 22:34-0500 Jim Dishaw wrote: > In the src/pdfutils.c file (pdf = portable data files) there exists functions > that allocate, free, and find the min/max for 2d matrices. The functions do > not read or write any data files and these functions are used in > > src/plot3d.c > src/plve

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

2015-01-25 Thread Jim Dishaw
On Jan 25, 2015, at 1:26 PM, "Alan W. Irwin" wrote: > On 2015-01-24 22:34-0500 Jim Dishaw wrote: > >> Also, I would like to rewrite plAlloc2dGrid to use only one alloc > because the multiple alloc algorithm that is currently used is > unnecessary, slower, and on some OSes results in a fragmente

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

2015-01-25 Thread Alan W. Irwin
On 2015-01-25 14:59-0500 Jim Dishaw wrote: > > On Jan 25, 2015, at 1:26 PM, "Alan W. Irwin" > wrote: > >> On 2015-01-24 22:34-0500 Jim Dishaw wrote: >> >>> Also, I would like to rewrite plAlloc2dGrid to use only one alloc >> because the multiple alloc algorithm that is currently used is >> unnec