Re: [Plplot-devel] Strange issues with octave+swig+UTF8 in Fedora rawhide

2015-03-18 Thread Jim Dishaw
On Mar 18, 2015, at 11:18 PM, Orion Poplawski wrote: > The check in the plplot package for the octave bindings is failing in > Fedora rawhide. I point my finger at gcc 5.0.0 :), but I have no idea > what is going on so just putting this out there. > > plplot uses a swig generated interface fo

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Norman Goldstein
Sorry, I just got back in ... OK, I certainly bow to your more extensive insight to the plplot big picture. For the record, here is how I configured plolot: cmake -DENABLE_ocaml=OFF -DCMAKE_BUILD_TYPE=Debug. -DBUILD_TEST=ON . Attached, is the cmake log. I see that the default isENABLE_DYN

[Plplot-devel] Strange issues with octave+swig+UTF8 in Fedora rawhide

2015-03-18 Thread Orion Poplawski
The check in the plplot package for the octave bindings is failing in Fedora rawhide. I point my finger at gcc 5.0.0 :), but I have no idea what is going on so just putting this out there. plplot uses a swig generated interface for the octave wrapper. By the time the swig wrapper is calling th

[Plplot-devel] Release status

2015-03-18 Thread Alan W. Irwin
Here is where I think we are. The deep freeze is still in effect. I have given up on the possibility of fixing the plend problems this late in the release cycle which I thought might be a spin-off from Norm's xwin plend fix that was being discussed. We will also put off dealing with that xwin fi

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Alan W. Irwin
On 2015-03-18 23:39- Andrew Ross wrote: > I'm a little uneasy about applying this patch so late in the release cycle > in case there are any unforseen consequences. The current situation will > result in a memory leak when closing the window with the button, but since > this is on exit anyway

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Andrew Ross
On Wed, Mar 18, 2015 at 11:10:20PM +, Andrew Ross wrote: > On Wed, Mar 18, 2015 at 10:57:33PM +, Andrew Ross wrote: > > On Wed, Mar 18, 2015 at 12:59:18AM -0700, Alan Irwin wrote: > > > @Andrew: There are some really interesting release implications here, > > > and if you feel Norman's fix

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Andrew Ross
On Wed, Mar 18, 2015 at 10:57:33PM +, Andrew Ross wrote: > On Wed, Mar 18, 2015 at 12:59:18AM -0700, Alan Irwin wrote: > > @Andrew: There are some really interesting release implications here, > > and if you feel Norman's fix (ideally in git am form as I have > > requested from him below) or so

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Andrew Ross
On Wed, Mar 18, 2015 at 12:59:18AM -0700, Alan Irwin wrote: > @Andrew: There are some really interesting release implications here, > and if you feel Norman's fix (ideally in git am form as I have > requested from him below) or some other variant of it you like is a > no-brainer please go ahead and

Re: [Plplot-devel] new plplot version and wxWidgets

2015-03-18 Thread Alan W. Irwin
On 2015-03-18 22:26+0100 laurent Berger wrote: > Today i have try to use new plplot version for my wxwidgets application. With > 5.10.0 plplot I can use plplot to draw a curve in a panel and a box sizer > (attached image). My class was something like this : > Histogram::Histogram( wxWindow* par

Re: [Plplot-devel] Installing plplot on windows

2015-03-18 Thread Phil Rosenberg
If you find that the files are not getting installed then you may need to run Visual Studio with admin privileges to allow it to write to the program files directory. Phil On 18 March 2015 at 22:25, Alan W. Irwin wrote: > On 2015-03-18 14:52+0100 Laurent Berger wrote: > >> After building plplot

Re: [Plplot-devel] Installing plplot on windows

2015-03-18 Thread Alan W. Irwin
On 2015-03-18 14:52+0100 Laurent Berger wrote: > After building plplot I want to install it on my computer with VS 2012 > Win64. I install it using INSTALL project which in Plplot.sn solution > for VS 2012. Plplot is installed in program files . > > In my own project I used cmake looking for openc

Re: [Plplot-devel] new plplot version and wxWidgets

2015-03-18 Thread Phil Rosenberg
Hello Laurent The equivalent code to create a plot on a wxWindow would now be something like wxPLplotwindow *myPlotWindow = new wxPLplotwindow(); myPlotWindow->Create( parent, id, pos, size, style, name ); Note that you can replace wxPanel, with any other type of wxWindow for which we can get a w

Re: [Plplot-devel] OpenGL

2015-03-18 Thread Norman Goldstein
Let me know if you would like to discuss sharing the load ... On 03/18/2015 02:48 PM, Chris Marshall wrote: Actually it is a work in progress...just slowly. On Mar 18, 2015 12:06 PM, "Norman Goldstein" > wrote: What do you think of an OpenGL device, where the

Re: [Plplot-devel] OpenGL

2015-03-18 Thread Phil Rosenberg
Hi Norman I have wondered the same thing myself. I did some work with direct2d recently and wondered if there would be any performance gain using a hardware accelerated rendering with plplot. Presumably hardware accelerating the 3d work would give a speed increase, but this would mean some quite de

Re: [Plplot-devel] OpenGL

2015-03-18 Thread Chris Marshall
Actually it is a work in progress...just slowly. On Mar 18, 2015 12:06 PM, "Norman Goldstein" wrote: > What do you think of an OpenGL device, where the user supplies a GL > context, and plplot writes into it with OpenGL primitives -- so, neither > file-based nor raster-based? plplot's svg is a n

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Alan W. Irwin
On 2015-03-18 11:05-0700 Norman Goldstein wrote: > It turns out the psc core dump was easy to fix: > Set the flag in the PLStream after closing the file > in ps.c . The three tests were good: > xwin, psc and svg > > So, I am ready to submit the updated > plcore.c and ps.c > > Perhaps, though, o

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Alan W. Irwin
On 2015-03-18 09:59-0700 Norman Goldstein wrote: > I downloaded the latest source code: > > git clone git://git.code.sf.net/p/plplot/plplot plplot.git > > Confirmed the memory leak is still in this version. > (some headache, since the debug library did not get the "d' suffix) Yes, we are dropping

[Plplot-devel] OpenGL

2015-03-18 Thread Norman Goldstein
What do you think of an OpenGL device, where the user supplies a GL context, and plplot writes into it with OpenGL primitives -- so, neither file-based nor raster-based? plplot's svg is a non-raster-based, but is file-based. -

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Norman Goldstein
It turns out the psc core dump was easy to fix: Set the flag in the PLStream after closing the file in ps.c . The three tests were good: xwin, psc and svg So, I am ready to submit the updated plcore.c and ps.c Perhaps, though, other devices need a fix similar to the ps.c, above. Here is the o

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Norman Goldstein
I downloaded the latest source code: git clone git://git.code.sf.net/p/plplot/plplot plplot.git Confirmed the memory leak is still in this version. (some headache, since the debug library did not get the "d' suffix) The fix eliminates this memory leak, and no others originate in plplot. Other t

Re: [Plplot-devel] need response

2015-03-18 Thread Phil Rosenberg
Hi Alan Sorry for delay. I didn't get on my computer at all over the weekend and I am busy with work too. Bad timing I know, but there is little I can do about it. For this particular question I have checked and all othe rreferences to device are local variables not pls->device; Phil On 14 Marc

Re: [Plplot-devel] Release status: epa_build: libharu and general release topics

2015-03-18 Thread Arjen Markus
Hi Alan, > -Original Message- > From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca] > Sent: Saturday, March 14, 2015 1:19 AM > To: Andrew Ross > Cc: PLplot development list > Subject: [Plplot-devel] Release status: epa_build: libharu and general > release topics > > > @ Arjen: If the

[Plplot-devel] Installing plplot on windows

2015-03-18 Thread Laurent Berger
After building plplot I want to install it on my computer with VS 2012 Win64. I install it using INSTALL project which in Plplot.sn solution for VS 2012. Plplot is installed in program files . In my own project I used cmake looking for opencv openscenegraph and plplot : find_package(OpenSceneG

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012, shared libraries

2015-03-18 Thread Arjen Markus
Hi Laurent, Yes, in this case, because test_plbuf.c is using the Plplot stream from the library _directly_ (the symbol plsc), it needs to be imported explicitly. One way is to define the macro USINGDLL (which is intended for the language binding libraries, but that is the same linker issue).

Re: [Plplot-devel] Call for testing of the PLplot git master tip version

2015-03-18 Thread Arjen Markus
Hi everyone, Sorry for responding this late, but I was abroad and unexpectedly did not have Internet acces. Anyway, what I want to comment on is the following: MSVC++ is not a "true" C compiler, it is a C++ compiler, as was pointed out to me some time ago. In practice this means that for t

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012, shared libraries

2015-03-18 Thread Arjen Markus
Hi Alan, Well, actually, most of my testing is with dynamic libraries and drivers - those are the defaults. But with the latest change I have come across a strange issue regarding the macro WIN32. What it looks like now is that it is defined with one configuration of the MSVC compiler but not

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012, shared libraries

2015-03-18 Thread Alan W. Irwin
On 2015-03-18 13:31+0100 laurent Berger wrote: > I have done a git pull to update my repository and use cmake to update > sharelibs and staticlib project and now > everything is OK : no test_plbuf error! > > Some errors are still here but it's not relative to plplot. May be some unix > command a

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012, shared libraries

2015-03-18 Thread laurent Berger
I have done a git pull to update my repository and use cmake to update sharelibs and staticlib project and now everything is OK : no test_plbuf error! Some errors are still here but it's not relative to plplot. May be some unix command are missing on my computer. I have tried some examples and

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012, shared libraries

2015-03-18 Thread Alan W. Irwin
On 2015-03-18 10:04+0100 Laurent Berger wrote: > but how can I set COMPILE_DEFINITIONS? > At line 68-69 of CmakeLists.txt i can find > SET_SOURCE_FILES_PROPERTIES(${plplot_LIB_SRCS} >PROPERTIES COMPILE_FLAGS "-DUSINGDLL" ) > but (may be I'm wrong) it's only for plplot_LIB_SRCS and test_plbuf.

Re: [Plplot-devel] Call for testing of the PLplot git master tip version VS2012, shared libraries

2015-03-18 Thread Laurent Berger
For CMake I use Cmake-gui Now I'm working at office with windows 7-32 bits and msvc 2012. Results are exactely like windows7-64 bits and msvc 2012-Win64: no problem with static lib BUILD_SHARED_LIBS:BOOL=OFF. I can see wxplotdemo running while building plplot same problem with shared lib BUILD_SHA

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-18 Thread Alan W. Irwin
@Andrew: There are some really interesting release implications here, and if you feel Norman's fix (ideally in git am form as I have requested from him below) or some other variant of it you like is a no-brainer please go ahead and push it (see my further comment on the release delay implications a