Re: [Plplot-devel] tcl build problem

2014-09-22 Thread Alan W. Irwin
On 2014-09-22 22:58+0100 Phil Rosenberg wrote: > Hi Alan > [...]I have located the DLLs on the lib directory and added their directory to my path, but still they don't seem to be loading. Hi Phil (taking this conversation back to the list): You need access to all the dll's in the build tree, no

Re: [Plplot-devel] Exit calls and memory management

2014-09-22 Thread Alan W. Irwin
On 2014-09-22 16:41-0400 Hazen Babcock wrote: > On 9/22/2014 3:37 PM, Alan W. Irwin wrote: >> On 2014-09-22 12:08-0400 Hazen Babcock wrote: >> >>> I think creating a branch on github (or some other public repository) is >>> the only way that you can proceed if you want others to see what you are

Re: [Plplot-devel] tcl build problem

2014-09-22 Thread Phil Rosenberg
Hi Alan I'm making slow but steady progress between tidying up after the kids as the evening wears on. I am doing a full install at the moment just so I can follow things through. I have located the DLLs on the lib directory and added their directory to my path, but still they don't seem to be l

Re: [Plplot-devel] Exit calls and memory management

2014-09-22 Thread Andrew Ross
Phil, This is a laudible plan, however fundamentally it won't remove the exit calls from plplot. The reason is that memory allocation can fail. We always need to check this and fail graceful, returning an error to the calling program and letting it decide how to procede. However we do the mem

Re: [Plplot-devel] Exit calls and memory management

2014-09-22 Thread Hazen Babcock
On 9/22/2014 3:37 PM, Alan W. Irwin wrote: > On 2014-09-22 12:08-0400 Hazen Babcock wrote: > >> I think creating a branch on github (or some other public repository) is >> the only way that you can proceed if you want others to see what you are >> doing. Though not perhaps ideal, you should be able

Re: [Plplot-devel] Exit calls and memory management

2014-09-22 Thread Alan W. Irwin
On 2014-09-22 12:08-0400 Hazen Babcock wrote: > I think creating a branch on github (or some other public repository) is > the only way that you can proceed if you want others to see what you are > doing. Though not perhaps ideal, you should be able to rebase master off > a public branch. Hi Haze

Re: [Plplot-devel] tcl build problem

2014-09-22 Thread Alan W. Irwin
On 2014-09-22 19:10+0100 Phil Rosenberg wrote: > Just realized I only replied to Alan, not the list - see below if you are > interested. > > Alan I added my bin directory to the PATH. Hi Phil: See my recent off-list comment about that. For build-tree tests (which I think is what you are doing)

Re: [Plplot-devel] tcl build problem

2014-09-22 Thread Phil Rosenberg
Just realized I only replied to Alan, not the list - see below if you are interested. Alan I added my bin directory to the PATH. The examples now run, giving me a list of drivers, however, when I select a driver, plplot exits saying it cannot load the driver. Suggestions from any of our Windows

Re: [Plplot-devel] Exit calls and memory management

2014-09-22 Thread Phil Rosenberg
Thanks for the thumbs up Jim. My intention is basically to make development easier and give better code reuse. It is much easier to do array.resize(&array, 10); if(array.size!=10) { array.destroy(&array); //do some other clean up and deal with problem as needed } Than people writing their

Re: [Plplot-devel] Exit calls and memory management

2014-09-22 Thread Alan W. Irwin
On 2014-09-22 15:17+0100 Phil Rosenberg wrote: > However the cost [of this change] is that arrays in the plstream will all become structs so will need accessing by somearray.mem[index] or maybe somearray.getMem()[index] rather than somearray[index]. This has the potential to break some or all the

Re: [Plplot-devel] Exit calls and memory management

2014-09-22 Thread Hazen Babcock
> Message: 5 > Date: Mon, 22 Sep 2014 15:17:36 +0100 > From: Phil Rosenberg > Subject: [Plplot-devel] Exit calls and memory management > To: PLplot development list > Message-ID: <218078.55503...@smtp115.mail.ir2.yahoo.com> > Content-Type: text/plain; charset="windows-1252" > > This one is mostly

Re: [Plplot-devel] Exit calls and memory management

2014-09-22 Thread Jim Dishaw
Unless the memory calls have changed, the "raw pointers" was something I implemented 5+ years ago when I submitted a patch to transition away from temporary files. The design goal I had in mind was speed, to keep the implementation portable, and to make the memory buffers agnostic to the data.

[Plplot-devel] Exit calls and memory management

2014-09-22 Thread Phil Rosenberg
This one is mostly directed at Alan but probably others will be interested and may have comments. Git might also be a big help here, but I'm not sure how it will work so advice from all appreciated. I have been trying to improve memory management in plplot as part of my attempt to try to remove