Re: [Plplot-devel] Qt driver update

2009-09-01 Thread Alan W. Irwin
On 2009-09-01 09:12+0200 Werner Smekal wrote: >> This is improbable (since color_info is read immediately >> before >> in the code with fgets above), but it would be good to have rock-solid >> confirmation that this improbability is not true. > > I only see text, spaces and linefeeds, so it shoul

Re: [Plplot-devel] Qt driver update

2009-09-01 Thread Werner Smekal
Hi, > I think I found out what the problem is. The first page reads okay, > but then qt takes over to show the plot and somehow changes the locale > or something. This is on a Mac, English version, but Austrian locale - > so after that scanf expects floating point numbers to be written > numbers l

Re: [Plplot-devel] Qt driver update

2009-09-01 Thread Werner Smekal
Hi Alan, > > That is a really strange result. > > The relevant code from plctrl.c (subject to line rewrap) is identified > exactly by the unique error message above. > > fgets(color_info, 160, fp); > if (sscanf(color_info, "%lf %lf %lf %lf %lf %d", > &pos_d, &r_d, &g_d, &b_d, &a_d, &rev_i) != 6) {

Re: [Plplot-devel] Qt driver update

2009-09-01 Thread Werner Smekal
Hi Alan, Just to be sure that is not the case, could you run example 16 again and capture the warning message directly into a file (using ">&" and not cut and paste to make this test as direct as possible), then analyze that file with something like od to see whether there are any non-pri

Re: [Plplot-devel] Qt driver update

2009-08-31 Thread Alan W. Irwin
On 2009-08-31 22:09-0700 Jerry wrote: > > On Aug 29, 2009, at 10:30 AM, Alan W. Irwin wrote: > >> To Werner, Hazen, and Jerry: >> >> Without decent colour maps, PLplot is pretty useless so colour >> issues are >> release critical by definition. Therefore, I hope all three of you >> with >> access

Re: [Plplot-devel] Qt driver update

2009-08-31 Thread Jerry
On Aug 29, 2009, at 10:30 AM, Alan W. Irwin wrote: > To Werner, Hazen, and Jerry: > > Without decent colour maps, PLplot is pretty useless so colour > issues are > release critical by definition. Therefore, I hope all three of you > with > access to OS X will give the current plspal1 issues

Re: [Plplot-devel] Qt driver update

2009-08-31 Thread Alan W. Irwin
Hi Werner: Most of this is directed to you but there is also a request for Hazen and Jerry at the end. On 2009-08-31 08:27+0200 Werner Smekal wrote: > Hi Alan, > > weekend is family time, so no work from my side on this issue here. Understood. We are all volunteers here with limited (and varia

Re: [Plplot-devel] Qt driver update

2009-08-30 Thread Werner Smekal
Hi Alan, weekend is family time, so no work from my side on this issue here. I just updated to the last plplot version and I get now little different warnings. >> >> No, colors changed, but I still get warnings, and the colors are >> also still >> wrong: >> >> *** PLPLOT WARNING *** >> Unre

Re: [Plplot-devel] Qt driver update

2009-08-30 Thread Alan W. Irwin
On 2009-08-30 11:51-0400 Hazen Babcock wrote: > Alan W. Irwin wrote: >> To Werner, Hazen, and Jerry: >> >> Without decent colour maps, PLplot is pretty useless so colour issues are >> release critical by definition. Therefore, I hope all three of you with >> access to OS X will give the current

Re: [Plplot-devel] Qt driver update

2009-08-30 Thread Hazen Babcock
Alan W. Irwin wrote: > To Werner, Hazen, and Jerry: > > Without decent colour maps, PLplot is pretty useless so colour issues are > release critical by definition. Therefore, I hope all three of you with > access to OS X will give the current plspal1 issues on Mac OS X that were > discovered by W

Re: [Plplot-devel] Qt driver update

2009-08-29 Thread Alan W. Irwin
To Werner, Hazen, and Jerry: Without decent colour maps, PLplot is pretty useless so colour issues are release critical by definition. Therefore, I hope all three of you with access to OS X will give the current plspal1 issues on Mac OS X that were discovered by Werner your immediate attention.

Re: [Plplot-devel] Qt driver update

2009-08-28 Thread Alan W. Irwin
On 2009-08-28 08:22+0200 Werner Smekal wrote: > Hi Alan, >> >> These warnings are evidence of more floating-point comparison issues that >> ocurred in plspal1 which I should have spotted when I fixed a similar issue >> that Valery Pipin found for cmap1_default.cmap. >> >> I believe I have now so

Re: [Plplot-devel] Qt driver update

2009-08-27 Thread Alan W. Irwin
On 2009-08-27 12:57-0700 Alan W. Irwin wrote: > On 2009-08-27 09:05+0200 Werner Smekal wrote: > >> * example 16 has wrong colors. The following warning messages are print to >> the screen: >> >> *** PLPLOT WARNING *** >> Unrecognized cmap1 format 0.0 1.0 1.0 1.0 1.0 0 >> >> *** PLPLOT WARN

Re: [Plplot-devel] Qt driver update

2009-08-27 Thread Alan W. Irwin
On 2009-08-27 09:05+0200 Werner Smekal wrote: > * example 16 has wrong colors. The following warning messages are print to > the screen: > > *** PLPLOT WARNING *** > Unrecognized cmap1 format 0.0 1.0 1.0 1.0 1.0 0 > > *** PLPLOT WARNING *** > Unrecognized cmap1 format 0. 240. 0.5 1.0 1. 0

Re: [Plplot-devel] Qt driver update

2009-08-27 Thread Werner Smekal
Hi Alban, > > I have committed your patch as revision 10346. I am really happy to > see > this go in before our release. I tried the latest plplot code from svn with Qt 4.5.1 on Mac Os X and the issues still remain: * if I start an example (qtwidget device) from the terminal a window pops

Re: [Plplot-devel] Qt driver update

2009-08-26 Thread Alan W. Irwin
On 2009-08-26 10:01+0100 Rochel, Alban wrote: > You will find attached a patch for the Qt driver. It applies and builds without errors and the speedup in -dev qtwidget for animations like example 17 is extraordinary. I also get a x17c -dev qtwidget time that is comparable with the -dev xwin one.

[Plplot-devel] Qt driver update

2009-08-26 Thread Rochel, Alban
Hello all, First of all, sorry for the previous empty e-mail! You will find attached a patch for the Qt driver. The main feature is a better implementation of flushing, resulting in x17c running about as fast as the other drivers (11 to 13 seconds on my system depending on anti-aliasing, where

[Plplot-devel] Qt driver update

2009-08-26 Thread Rochel, Alban
-- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new

Re: [Plplot-devel] Qt driver update

2009-08-21 Thread Alan W. Irwin
Alban said: > As for your suggestion of using an overloaded repaint(), I'm afraid it's not that easy, as any call to the plot function will cause the whole buffer to be "replayed" anyway. I did an experiment replacing the call to repaint() by a call to update(). The result was that example 17 wit

Re: [Plplot-devel] Qt driver update

2009-08-20 Thread Alan W. Irwin
Hi Alban: The first part of this addressed to you, but there are some comments about the animated octave examples that are addressed to Andrew at the end. On 2009-08-20 11:50+0100 Rochel, Alban wrote: > Hello all, > Here is a patch for the Qt driver. It fixes a couple of minor bugs, and it also

Re: [Plplot-devel] Qt driver update

2009-08-20 Thread Andrew Ross
Hi Alban, Thanks for this. I've committed it to svn. Andrew On Thu, Aug 20, 2009 at 11:50:34AM +0100, Rochel, Alban wrote: > Hello all, > > Here is a patch for the Qt driver. It fixes a couple of minor bugs, and it > also adds the possibility to pass PLplot command line arguments to the qtex

[Plplot-devel] Qt driver update

2009-08-20 Thread Rochel, Alban
Hello all, Here is a patch for the Qt driver. It fixes a couple of minor bugs, and it also adds the possibility to pass PLplot command line arguments to the qtext driver (embedded widget in a Qt application) and handles flush and clear for the interactive devices. However, there still are issue

Re: [Plplot-devel] Qt driver update

2009-05-15 Thread Andrew Ross
Alban, Thanks again. Patch committed to svn. Andrew On Fri, May 15, 2009 at 10:16:22AM +0100, Alban Rochel wrote: > Hello, > > Here is another patch for the Qt driver, based on revision 9979. I've > rewritten the way commands are buffered in the interactive drivers, > which should: > - Fix the

[Plplot-devel] Qt driver update

2009-05-15 Thread Alban Rochel
Hello, Here is another patch for the Qt driver, based on revision 9979. I've rewritten the way commands are buffered in the interactive drivers, which should: - Fix the "blank screen" issue on Mac: not tested (I don't have one to test), but very close to the driver we use in QSAS, which has been t

Re: [Plplot-devel] Qt driver update

2009-03-19 Thread Alan W. Irwin
On 2009-03-19 13:18+0100 Werner Smekal wrote: > Hi, > >> Despite the remaining size and position issues, I encourage everyone here >> to >> try the qt devices on all platforms accessible to you. Also, to make this >> wider testing more convenient, I have decided to turn all qt devices ON by >> d

Re: [Plplot-devel] Qt driver update

2009-03-19 Thread Werner Smekal
Hi, > Despite the remaining size and position issues, I encourage everyone > here to > try the qt devices on all platforms accessible to you. Also, to > make this > wider testing more convenient, I have decided to turn all qt devices > ON by > default (revision 9732). I eventually installe

Re: [Plplot-devel] Qt driver update

2009-03-12 Thread Alan W. Irwin
On 2009-03-12 16:30- Alban Rochel wrote: > Alan W. Irwin wrote: >> I am not sure how to advise you with regards to example 23. My first guess >> was you were being too specific with the desired font names, but I don't >> spot anything in your code that is too specific that way. For example,

Re: [Plplot-devel] Qt driver update

2009-03-12 Thread Alban Rochel
Alan, Alan W. Irwin wrote: > On 2009-03-12 13:47- Alban Rochel wrote: > > Hi Alban: > > I am answering you on the PLplot development list because I think others > there will be interested in how you have improved qt so much. > > I have committed your work as revision 9729. Thanks > I susp

Re: [Plplot-devel] Qt driver update

2009-03-12 Thread Alan W. Irwin
On 2009-03-12 13:47- Alban Rochel wrote: > Hello Alan, > > You will find attached my updates for the Qt driver. I've not made them as a > diff, so much as been changed that it makes more sense to re-deliver > everything. It incorporates my changes for alpha blending, which match yours. > > C