[Plplot-devel] Recent changes to wxwidgets driver break compilation

2008-02-01 Thread Andrew Ross
Werner, Your recent changes to the wxwidgets driver to support transparency seem to have broken the wxwidgets support on my Ubuntu system. This still has wxwidgets 2.6 (oldstable). The alpha transparency support for wxColour only appears to be present in the latest stable release 2.8. This is lik

Re: [Plplot-devel] 5.9.0 Release?

2008-02-01 Thread Andrew Ross
On Wed, Jan 30, 2008 at 05:02:46PM -0800, Alan Irwin wrote: > > For case (3) some additional warnings occurred for > bindings/tk/plframe.c:2648 and drivers/tk.c:1453 (repeated more than 100 > times for some reason) with the message > > tmpnam is dangerous, better use mkstemp > > Is this large se

Re: [Plplot-devel] Recent changes to wxwidgets driver break compilation

2008-02-01 Thread Werner Smekal
Hi Andrew, sorry, didn't test my changes with wxWidgets 2.6.4. Latest svn should work again (didn't test that either :), but it should work. Regards, Werner Andrew Ross wrote: > Werner, > > Your recent changes to the wxwidgets driver to support transparency seem > to have broken the wxwidgets

Re: [Plplot-devel] [Plplot-general] Segfault

2008-02-01 Thread Werner Smekal
Hi Torquil, I found the problem. Some months ago changes were made, how the plot commands were recorded (into the memory instead of a file) to be able to replot them. If the plot stream is copied with plcpstrm() also the pointer to this memory is copied (not the memory itself). if you end the

Re: [Plplot-devel] [Plplot-general] Segfault

2008-02-01 Thread Andrew Ross
On Fri, Feb 01, 2008 at 08:52:43PM +0100, Werner Smekal wrote: > Hi Torquil, > > I found the problem. Some months ago changes were made, how the plot > commands were recorded (into the memory instead of a file) to be able to > replot them. If the plot stream is copied with plcpstrm() also the >

Re: [Plplot-devel] [Plplot-general] Segfault

2008-02-01 Thread Alan W. Irwin
On 2008-02-01 20:17- Andrew Ross wrote: > [...]Does anyone still remember the original (buffer code) > intentions? Alan might recall. Sorry, I have no clue about this. I think you may have confused me with Maurice or Geoffrey. :-) Alan __ Alan W. Irwin Astronomical

Re: [Plplot-devel] 5.9.0 Release?

2008-02-01 Thread Alan W. Irwin
On 2008-02-01 18:20- Andrew Ross wrote: > On Wed, Jan 30, 2008 at 05:02:46PM -0800, Alan Irwin wrote: >> >> For case (3) some additional warnings occurred for >> bindings/tk/plframe.c:2648 and drivers/tk.c:1453 (repeated more than 100 >> times for some reason) with the message >> >> tmpnam is

Re: [Plplot-devel] Recent changes to wxwidgets driver break compilation

2008-02-01 Thread Alan W. Irwin
On 2008-02-01 20:34+0100 Werner Smekal wrote: > Hi Andrew, > > sorry, didn't test my changes with wxWidgets 2.6.4. Latest svn should > work again (didn't test that either :), but it should work. Tested your changes on Debian testing with wxwidgets 2.6.3.2.2-1. The wxwidgets device builds again,

Re: [Plplot-devel] [Plplot-general] Segfault

2008-02-01 Thread Werner Smekal
Hi Andrew and Torquil, I made the decision to copy the whole (actually the part of the buffer which contains information) buffer to a new memory buffer. Reason is, that there is no obligation to close the stream right after you saved the file. If the programmer decides to work on with both stre

Re: [Plplot-devel] [Plplot-general] Segfault

2008-02-01 Thread Andrew Ross
On Fri, Feb 01, 2008 at 10:51:25PM +0100, Werner Smekal wrote: > Hi Andrew and Torquil, > > I made the decision to copy the whole (actually the part of the buffer > which contains information) buffer to a new memory buffer. Reason is, > that there is no obligation to close the stream right after

Re: [Plplot-devel] Recent changes to wxwidgets driver break compilation

2008-02-01 Thread Andrew Ross
Svn works for me again. There is probably a way to test the version, but it might require more thinking about. Andrew On Fri, Feb 01, 2008 at 08:34:42PM +0100, Werner Smekal wrote: > Hi Andrew, > > sorry, didn't test my changes with wxWidgets 2.6.4. Latest svn should > work again (didn't test