Re: [Plplot-devel] A Qt4-based device driver has just been donated to PLplot

2009-03-09 Thread Werner Smekal
Hi Alban, I added the code to your driver. I shortly explain what I did and what needs to be done. At line 245 I added three tables and 4 functions. All code is between #if 0/#endif so it should still compile. 1. The lookup tables are needed to set the font - the index is returned by some PLp

Re: [Plplot-devel] A Qt4-based device driver has just been, donated to PLplot

2009-03-09 Thread Alan W. Irwin
On 2009-03-09 16:01- Alban Rochel wrote: >> Date: Fri, 6 Mar 2009 12:33:54 -0800 (PST) >> From: "Alan W. Irwin" >> >> The conclusion seems to be that everyone who is testing the qt device must >> use CMake-2.6.3. >> >> Alban, I recall that you also had a problem with an empty drivers/moc_qt.c

Re: [Plplot-devel] Changed from treating libcd as an external library to building libnistcd internally

2009-03-09 Thread Alan W. Irwin
On 2009-03-09 16:19+0100 Werner Smekal wrote: > Hi Alan, > > good idea to include the library. On Mac OS X (but only later versions, 10.4 > upwards or so) malloc.h must be included with > > #include > > and not with > > #include > > I took the easy route and defined for Mac OS X NOMALLOCH in th

Re: [Plplot-devel] A Qt4-based device driver has just been, donated to PLplot

2009-03-09 Thread Alban Rochel
> Date: Fri, 6 Mar 2009 12:33:54 -0800 (PST) > From: "Alan W. Irwin" > Subject: Re: [Plplot-devel] A Qt4-based device driver has just been > donated to PLplot > To: Andrew Ross > Cc: [email protected] > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII;

Re: [Plplot-devel] Changed from treating libcd as an external library to building libnistcd internally

2009-03-09 Thread Andrew Ross
>From Linux man page "MALLOC(3) Linux Programmer's Manual MALLOC(3) NAME calloc, malloc, free, realloc - Allocate and free dynamic memory SYNOPSIS #include void *calloc(size_t nmemb, size_t size); void *malloc(size_t size); v

Re: [Plplot-devel] Changed from treating libcd as an external library to building libnistcd internally

2009-03-09 Thread Werner Smekal
Hi Alan, good idea to include the library. On Mac OS X (but only later versions, 10.4 upwards or so) malloc.h must be included with #include and not with #include I took the easy route and defined for Mac OS X NOMALLOCH in the corresponding CMakeLists.txt (Revision 9683) so that malloc.h

[Plplot-devel] Changed from treating libcd as an external library to building libnistcd internally

2009-03-09 Thread Alan W. Irwin
See revision 9682. I made this change because I think it is a better way to support our cgm device driver. CGM format is a long-established (since 1987) open standard for vector graphics that is supported by w3c (see http://www.w3.org/Graphics/WebCGM/). Despite its openness, CGM has never gotten m