Re: [Plplot-devel] Tentative plan for removing our support of Qt4

2019-09-07 Thread Jonathan Woithe
Hi Alan On Mon, Sep 02, 2019 at 01:36:30PM -0700, Alan W. Irwin wrote: > As someone here with a large familiarity with Qt, I would appreciate > you letting me know if you forsee any trouble with this overall plan > to remove our Qt4 support. And comments on this plan from the other > PLplot

Re: [Plplot-devel] Status of examples/c/extXdrawable_demo.c

2018-06-21 Thread Jonathan Woithe
Hi Alan On Wed, Jun 20, 2018 at 04:51:04PM -0700, Alan W. Irwin wrote: > As far as I can tell from > > git log --follow examples/c/extXdrawable_demo.c > > Jonathan Woithe implemented that example a decade ago ... I did. The purpose of the example was to show how the external X

Re: [Plplot-devel] A possible bug in the extXdrawable_demo application

2017-01-30 Thread Jonathan Woithe
Hi Alan On Mon, Jan 30, 2017 at 11:31:06PM -0800, Alan W. Irwin wrote: > On 2017-01-30 22:06-0800 Alan W. Irwin wrote: > > [...] > >Here is the error message you get if you use the -DBUILD_TEST=ON cmake > >option for the latest (at least commit 6589caa) git master branch > >version of PLplot and

Re: [Plplot-devel] A possible bug in the extXdrawable_demo application

2017-01-30 Thread Jonathan Woithe
Hi Alan On Mon, Jan 30, 2017 at 10:06:18PM -0800, Alan W. Irwin wrote: > It has been a while since you have been in contact with the > plplot-devel mailing list so I hope this email address for you > still works. All good. I've been lurking on the list as a way of keeping an eye on

Re: [Plplot-devel] Error report system plus thread safety

2016-02-23 Thread Jonathan Woithe
Hi Alan On Tue, Feb 23, 2016 at 11:00:24AM -0800, Alan W. Irwin wrote: > Hi Phil: > On 2016-02-23 11:21- Phil Rosenberg wrote: > > > Hi Alan and Jim > > I entirely advocate this. This is the same model that libcurl uses > > too. In libcurl the "context" variable is a typecast void* so is > >

[Plplot-devel] [PATCH] QColor warning when Qt PlPlot widget is created

2014-07-02 Thread Jonathan Woithe
Hi all I have a relatively simple Qt program which utilises the PlPlot Qt widget (QtExtWidget). QtExtWidget is a component of the main application window and as such is constructed during program startup, prior to the calling of QApplication::exec() and before any GUI elements have been made

Re: [Plplot-devel] control position of floating point label

2009-05-05 Thread Jonathan Woithe
Hi Hez Speaking as someone who regularly prepares plots for scientific publication, having a custom labelling function for the axis labels would be great. Currently the bulk of my work isn't done using plplot but rather with a custom plotting framework I wrote around plotutils, but as

Re: [Plplot-devel] GTK/extcairo example?

2009-04-20 Thread Jonathan Woithe
Hi extXdrawable_demo.c was donated a year ago by Jonathan Woithe. He kindly agreed recently to relicense this code to LGPL to be consistent with the rest of our licensing. ./extXdrawable_demo builds and works without issues, but a plot consisting of just 3 points is less than exciting so I

Re: [Plplot-devel] Making PLXcairoDrawableInfo structure public

2008-04-13 Thread Jonathan Woithe
The patch below (against svn rev 8364) addresses this by moving the definition of PLXcairoDrawableInfo from drivers/cairo.c into include/plplot.h. It is still protected by the PLD_xcairo so at least in theory its presence should not cause any trouble when plplot is compiled on a

Re: [Plplot-devel] Cairo-based driver for externally created cairo

2008-04-08 Thread Jonathan Woithe
Hi guys Hi Hazen: For what I use the memcairo driver for, clearing the memory not not the behavior I want. I want to pass in some memory already containing an image and then plot a graph on top of it. To first generate the image and then have plplot clear it would be disappointing, to

[Plplot-devel] Example code for external X drawable (was: Re: extcairo driver)

2008-04-08 Thread Jonathan Woithe
jonathan /* * A simple GTK application demonstrating the use of the X Drawable * functionality of plplot's xcairo driver. * * Copyright (C) 2008 Jonathan Woithe [EMAIL PROTECTED] * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU

[Plplot-devel] Making PLXcairoDrawableInfo structure public

2008-04-08 Thread Jonathan Woithe
Currently the PLXcairoDrawableInfo structure used to pass an external X drawable in to the xcairo driver is private to cairo.h. This means that anyone using this feature must define their own structure to do this which opens up the possibility that they could get the field ordering wrong. It

Re: [Plplot-devel] Cairo-based driver for externally created cairo contexts (was Re: [Patch] Using xcairo device with X Drawable

2008-04-06 Thread Jonathan Woithe
Hi Hazen I am working on an application which requires plots to be displayed within the context of the program's windows. In practice this means that I needed plplot to have the ability to plot to a supplied X Drawable rather than to an X window which plplot creates and manages itself.

[Plplot-devel] Cairo-based driver for externally created cairo contexts (was Re: [Patch] Using xcairo device with X Drawables)

2008-03-24 Thread Jonathan Woithe
I am working on an application which requires plots to be displayed within the context of the program's windows. In practice this means that I needed plplot to have the ability to plot to a supplied X Drawable rather than to an X window which plplot creates and manages itself.

Re: [Plplot-devel] xcairo segmentation fault

2008-03-13 Thread Jonathan Woithe
I suspect there might be some issue going on between the different versions of plplot on your system. It would be nice to pinpoint the exact cause. Hazen and Hez may be comparing apples and oranges. I agree. The circumstances on the systems are different and I suspect that the root

Re: [Plplot-devel] xcairo segmentation fault

2008-03-12 Thread Jonathan Woithe
On Wed, Mar 12, 2008 at 11:12 PM, Jonathan Woithe [EMAIL PROTECTED] wrote: I agree. What about running ldd on prefix/lib/plplot-*/cairo.so? Anything differences in this between the two working directories? The drivers are loaded dynamically on demand I think which is why the cairo

Re: [Plplot-devel] [Patch] Using xcairo device with X Drawables

2008-03-11 Thread Jonathan Woithe
Hi Hazen I agree that having both is a reasonable proposal and I think it should be possible to merge something like this before the next release. Does anyone know if the current xwin driver supports a X Drawable? If it does then it might be a good idea to try and keep the

[Plplot-devel] [Patch] Using xcairo device with X Drawables

2008-03-04 Thread Jonathan Woithe
Hi I am working on an application which requires plots to be displayed within the context of the program's windows. In practice this means that I needed plplot to have the ability to plot to a supplied X Drawable rather than to an X window which plplot creates and manages itself. The attached

Re: [Plplot-devel] [Patch] Using xcairo device with X Drawables

2008-03-04 Thread Jonathan Woithe
On Mar 4, 2008, at 9:36 PM, Jonathan Woithe wrote: I am working on an application which requires plots to be displayed within the context of the program's windows. In practice this means that I needed plplot to have the ability to plot to a supplied X Drawable rather than to an X

Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-03-03 Thread Jonathan Woithe
Hi Werner thanks again for your comments and for the patches. As usual I already worked on a fix and in fact made nearly the identical changes to the code as you suggested (commited to svn just now). About the merging the options - this we should discuss here on the list. I conclude now

Re: [Plplot-devel] Multiple plsetopt() calls before plend()

2008-03-03 Thread Jonathan Woithe
Hi Alan thanks again for your comments and for the patches. As usual I already worked on a fix and in fact made nearly the identical changes to the code as you suggested (commited to svn just now). About the merging the options - this we should discuss here on the list. I conclude now

[Plplot-devel] Multiple plsetopt() calls before plend()

2008-02-28 Thread Jonathan Woithe
Hi guys I have a question regarding the calling of plsetopts() multiple times to set device options without any intervening plend() call. From a brief look at the plplot source code it seems that doing this may cause a memory leak. Calling plsetopts() ends up at c_plparseopts() via c_plsetopt()