[Kst] Re: CDF datasource (again)

George Staikos staikos at kde.org
Thu Jul 29 03:43:19 CEST 2004

On Wednesday 28 July 2004 12:20, Nicolas.Brisset at eurocopter.com wrote:
> Dear George,
> I know you are very busy with kst at the moment and have little time to
> spend on the cdf datasource. It just so happens that I may have a little
> time to work on it tomorrow and next week, so that I'd like to know how far
> you've come. If you can't finish it quickly, could you please send me back
> the version you've improved (along with a few tips as to where the bugs are
> :-)) ?
> It would also be nice if you could import it into the main kst tree (even
> with no SUBDIRS line in the Makefile.am so that it does not get built by
> default) so that I can keep up with cvs without having to add the
> datasource everytime as it's a bit painful ! But I don't know whether that
> hurts any policies...

   Ok I have good news.  I [think I] have found the one tiny problem with this 
plugin, and it's exactly the problem I just fixed with the planck plugin 
today.  frameCount() returns the wrong value because prior to today, it 
didn't know how to compute this when different fields have different counts.  
If you can modify fieldCount() to make use of the new argument, I think it 
will work fine for you.  I enhanced the debug output to illustrate the 
problem if you choose a small vector in the file.

   For now you can work by sending me unified (cvs -z3 diff -u3p) diffs of 
your changes and I can commit them to CVS.  If you want to actively work on 
this in CVS, I can help you get a CVS account.  We need to write an autoconf 
check for CDF before we can enable the datasource for general compilation.  
If this is done by next week, we can ship it in 0.99.  You might also want to 
enhance error condition handling and fill in any newer functionality that I 
added to datasources when you have time to hack at it.

George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/

More information about the Kst mailing list