[Plplot-devel] python extension linking, was RE: python branch now "merged"

2009-06-30 Thread Geoffrey Furnish
Geoffrey Furnish writes: > The other thing worth discussing is just to draw attention to the fact > that in the past I had trouble with how the python modules are being > linked. I haven't gotten as far as reinvestigating that, so I'll post > more on it later. But in the past I found that exp

Re: [Plplot-devel] python branch now "merged"

2009-06-30 Thread Geoffrey Furnish
Alan W. Irwin writes: > On 2009-06-30 15:20-0500 Geoffrey Furnish wrote: > > I've injected the work formerly done on the python branch, onto svn trunk > > tip. > > > > I've done a little messing around with cmake, so I would appreciate it > > if people could look over bindings/python/CMakeLis

Re: [Plplot-devel] python branch now "merged"

2009-06-30 Thread Alan W. Irwin
Hi Geoffrey: Thanks for your continuing efforts to resurrect access to plframe from python. On 2009-06-30 15:20-0500 Geoffrey Furnish wrote: > Hi all, > > I've injected the work formerly done on the python branch, onto svn trunk > tip. > > I've done a little messing around with cmake, so I would

Re: [Plplot-devel] plplot_pyqt4 status

2009-06-30 Thread Alan W. Irwin
On 2009-07-01 02:17+0300 Dmitri Gribenko wrote: > On Wed, Jul 1, 2009 at 1:35 AM, trc wrote: >> You cannot use dynamic_cast to convert the void pointer  pls->dev to a >> QtPLWidget pointer. >> >> The purpose of dynamic_cast is to do a safe (runtime checked) cast >> from a base class to a derived

Re: [Plplot-devel] plplot_pyqt4 status

2009-06-30 Thread Dmitri Gribenko
On Wed, Jul 1, 2009 at 1:35 AM, trc wrote: > You cannot use dynamic_cast to convert the void pointer  pls->dev to a > QtPLWidget pointer. > > The purpose of dynamic_cast is to do a safe (runtime checked) cast > from a base class to a derived class or vice-versa. As QtPLWidget is > not derived from

Re: [Plplot-devel] plplot_pyqt4 status

2009-06-30 Thread trc
Alan W. Irwin wrote: > On 2009-06-28 20:49-0400 Hazen Babcock wrote: > >> Hazen Babcock wrote: >>> Poking around a little more... >>> >>> In the function plD_line_qt we are not getting past this statement: >>> >>> #if defined(PLD_qtwidget) || defined(PLD_extqt) >>> if(widget==NULL) widget=dyn

Re: [Plplot-devel] Getting Cairo coordinates from PLplot world coordinates

2009-06-30 Thread Hezekiah M. Carty
On Sat, Jun 6, 2009 at 9:10 PM, Hazen Babcock wrote: > Hezekiah M. Carty wrote: >> >> On Wed, Jun 3, 2009 at 3:40 PM, Hezekiah M. Carty >> wrote: >>> >>> While writing the Cairo backend for plarc, I am having some trouble >>> getting the transformation from world coordinates to Cairo coordinates >>

Re: [Plplot-devel] python branch now "merged"

2009-06-30 Thread Geoffrey Furnish
Geoffrey Furnish writes: > I've injected the work formerly done on the python branch, onto svn trunk > tip. > [...] One more ultra final addendum to the prior note. Those who've been holding their breath for a *really* long time, will note that the method used in this patch to get Python/Tk t

[Plplot-devel] python branch now "merged"

2009-06-30 Thread Geoffrey Furnish
Hi all, I've injected the work formerly done on the python branch, onto svn trunk tip. I've done a little messing around with cmake, so I would appreciate it if people could look over bindings/python/CMakeLists.txt in particular. One concern I have is that someone might disable Tcl/Tk, but enab

Re: [Plplot-devel] plplot_pyqt4 status

2009-06-30 Thread Alan W. Irwin
On 2009-06-28 20:49-0400 Hazen Babcock wrote: > Hazen Babcock wrote: >> >> Poking around a little more... >> >> In the function plD_line_qt we are not getting past this statement: >> >> #if defined(PLD_qtwidget) || defined(PLD_extqt) >> if(widget==NULL) widget=dynamic_cast((QWidget *) pls->de