From blackfrog1 at gmail.com Tue Mar 1 00:42:25 2011
From: blackfrog1 at gmail.com (Collin Bennett)
Date: Mon, 28 Feb 2011 18:42:25 -0500
Subject: [Kst] Broken links on you site
Message-ID:
On the Download - Source Code page, the link to the GetData library is incorrect. The correct link is
Also on the home page for Kst , you have two links pointing the download page. The link on top of the page works, but the one in the section after the logo doesn't.
Top Link: - works
Second link: - doesn't work because of the letter s at the end of the url. Plus you need a lower-case letter d.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110228/a8854e7a/attachment.htm
From nicolas.brisset at eurocopter.com Tue Mar 1 09:07:55 2011
From: nicolas.brisset at eurocopter.com (Nicolas Brisset)
Date: Tue, 1 Mar 2011 09:07:55 +0100 (CET)
Subject: [Kst] www/areas/extragear/apps/kst
Message-ID: <20110301080755.C83F73E1F1@svn.kde.org>
SVN commit 1223204 by brisset:
Fix a couple of broken links.
M +1 -1 download/source_code.php
M +1 -1 index.php
--- trunk/www/areas/extragear/apps/kst/download/source_code.php #1223203:1223204
@@ -24,7 +24,7 @@
Kst uses a number of open-source libraries:
The optional GNU Scientific Library, on which a lot of very useful data analysis plugins are based
-
The optional GetData library, which provides support for files in the Dirfile format
+
The optional GetData library, which provides support for files in the Dirfile format
The optional NetCdf library, which provides support for files in the netCDF format
The optional muParser library, which is used in the general non-linear fitting plugin
--- trunk/www/areas/extragear/apps/kst/index.php #1223203:1223204
@@ -13,7 +13,7 @@
Kst contains many powerful built-in features and is expandable with plugins and extensions (see developer information in the "Ressources" section).
-Kst is licensed under the GPL, and is as such freely available for anyone. What's more, as of 2.0.x it is available on all of the following platforms: Microsoft Windows, Linux, Mac OSX. Note that KDE libraries are an optional dependency (i.e. you can run Kst without KDE, but you get additional features when running on a platform with KDE). See the "Downloads" section for pre-compiled executables or the sources.
+Kst is licensed under the GPL, and is as such freely available for anyone. What's more, as of 2.0.x it is available on all of the following platforms: Microsoft Windows, Linux, Mac OSX. Note that KDE libraries are an optional dependency (i.e. you can run Kst without KDE, but you get additional features when running on a platform with KDE). See the "Downloads" section for pre-compiled executables or the sources.
From Nicolas.Brisset at eurocopter.com Tue Mar 1 09:10:35 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Tue, 1 Mar 2011 09:10:35 +0100
Subject: [Kst] Re: Broken links on you site
In-Reply-To:
References:
Message-ID:
Hi Collin,
thanks for the report. I have fixed the links now, can you check if that's what you meant (I'm not sure about the second issue you mentioned)?
Nicolas
________________________________
Von: Collin Bennett [mailto:blackfrog1 at gmail.com]
Gesendet: Dienstag, 1. M?rz 2011 00:42
An: kst at kde.org
Betreff: [Kst] Broken links on you site
On the Download - Source Code page, the link to the GetData library is incorrect. The correct link is
Also on the home page for Kst , you have two links pointing the download page. The link on top of the page works, but the one in the section after the logo doesn't.
Top Link: - works
Second link: - doesn't work because of the letter s at the end of the url. Plus you need a lower-case letter d.
Thank you.
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110301/60653433/attachment.htm
From Nicolas.Brisset at eurocopter.com Tue Mar 1 09:19:16 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Tue, 1 Mar 2011 09:19:16 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src/libkstapp
In-Reply-To: <20110226210120.958B7AC8C0@svn.kde.org>
References: <20110226210120.958B7AC8C0@svn.kde.org>
Message-ID:
Hi Barth,
> SVN commit 1222872 by netterfield:
>
> BUG: 267196
> Fix crash case when units, etc of new file are not picked up in
'duplicate
> file'.
>
> This exposes another bug: why aren't the units properly picked up?
Good question... I think we are waiting for an answer to do the release.
Have you had time to look at that further?
I fear there is another issue (I haven't tested yet, though): when using
the change data file tool and replacing the vectors, are metadata
updated properly? And how about the case where we duplicate the vectors:
what should we do about the metadata? But that second part is for
post-2.0.3...
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From syntheticpp at gmx.net Tue Mar 1 20:54:31 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Tue, 01 Mar 2011 20:54:31 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src/libkstapp
In-Reply-To:
References: <20110226210120.958B7AC8C0@svn.kde.org>
Message-ID: <4D6D4EF7.5040104@gmx.net>
On 01.03.2011 09:19, Brisset, Nicolas wrote:
> Hi Barth,
>
>> SVN commit 1222872 by netterfield:
>>
>> BUG: 267196
>> Fix crash case when units, etc of new file are not picked up in
> 'duplicate
>> file'.
>>
>> This exposes another bug: why aren't the units properly picked up?
> Good question... I think we are waiting for an answer to do the release.
> Have you had time to look at that further?
>
> I fear there is another issue (I haven't tested yet, though): when using
> the change data file tool and replacing the vectors, are metadata
> updated properly? And how about the case where we duplicate the vectors:
> what should we do about the metadata? But that second part is for
> post-2.0.3...
>
On Windows I only see the loaded vector in the change dialog not all
of the file. This is a bug, or I'm wrong?
Peter
From dvw at ketiltrout.net Wed Mar 2 03:53:30 2011
From: dvw at ketiltrout.net (D. V. Wiebe)
Date: Tue, 1 Mar 2011 18:53:30 -0800
Subject: [Kst] Fills and fonts.
Message-ID: <20110302025330.GI2698@ptolemy.phas.ubc.ca>
Good news, guys. Slackware finally drop kde3 support, so I've finally
had to get over my laziness and upgrade to kst2.
A couple questions:
1) How do I change the default fill of plots? I thought the "Default
Fill Properties" in the Settings dialogue might do it, but nope.
2) Since black-on-black is hard to read, how do I change the font
colour of a legend? I though "Brush Color" might do it under the
appearance menu, but nope. (It does change the colour of the bounding
box).
3) Closing the main plot window (via the X in the window dressing)
with a, say, Edit Plot Item dialogue window open doesn't cause kst to
exit (until you separately get rid of the dialog box). Is that a bug?
I can't see when that would be useful. Surely, destroying the main
window should cause all the other dialogs.
I'm using SVN revision 1223278.
TTFN
-dvw
--
Don Wiebe dvw at phas.ubc.ca
Department of Physics and Astronomy
University of British Columbia Hennings 204
6224 Agricultural Road Tele: +1-604-822-2585
University Endowment Lands, BC
Canada V6T 1Z1 http://ketiltrout.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20110301/4ffaa430/attachment.sig
From dvw at ketiltrout.net Wed Mar 2 04:09:53 2011
From: dvw at ketiltrout.net (D. V. Wiebe)
Date: Wed, 2 Mar 2011 04:09:53 +0100 (CET)
Subject: [Kst] [Bug 267428] New: On exit, kst asks to save an empty session
Message-ID:
https://bugs.kde.org/show_bug.cgi?id=267428
Summary: On exit, kst asks to save an empty session
Product: kst
Version: 2.0.3
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: ui
AssignedTo: kst at kde.org
ReportedBy: dvw at ketiltrout.net
Version: 2.0.3 (using KDE 4.5.5)
OS: Linux
kst asks the user whether it should save the session even if there's nothing to
save.
Reproducible: Always
Steps to Reproduce:
1) start kst
2) Create -> Scalar -> Generate -> give the scalar a value -> OK
3) Data Manager -> Purge (which should delete the scalar just created)
4) File -> Exit
Actual Results:
A dialog box appears: "Your document has been modified. Save changes?"
Expected Results:
kst exits without asking to save the empty sesison.
Compiled from SVN revision 1223278.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From dvw at ketiltrout.net Wed Mar 2 04:31:27 2011
From: dvw at ketiltrout.net (D. V. Wiebe)
Date: Wed, 2 Mar 2011 04:31:27 +0100 (CET)
Subject: [Kst] [Bug 267432] New: kst2 --version
Message-ID:
https://bugs.kde.org/show_bug.cgi?id=267432
Summary: kst2 --version
Product: kst
Version: 2.0.3
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kst at kde.org
ReportedBy: dvw at ketiltrout.net
Being able to get version information out of "kst2 --version" would be handy.
(It certainly makes bug reporting quicker.)
I'd be even happier if I could run this without having to start an X Server
first. (like I do with "kst2 --help"...)
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From Nicolas.Brisset at eurocopter.com Wed Mar 2 08:19:52 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Wed, 2 Mar 2011 08:19:52 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src/libkstapp
In-Reply-To: <4D6D4EF7.5040104@gmx.net>
References: <20110226210120.958B7AC8C0@svn.kde.org>
<4D6D4EF7.5040104@gmx.net>
Message-ID:
> On Windows I only see the loaded vector in the change dialog not all
> of the file. This is a bug, or I'm wrong?
No, this is not a bug. You see only existing vectors and can duplicate
them or load them from a new file. And you can choose to update
dependents as well, meaning equations, curves, etc based on those
vectors.
I really have to get around to doing those screencasts... But the bad
thing is that I haven't found a working solution for that on my Linux PC
and under Windows the last version crashes when using the tool. I fear
we'll need another RC anyway when the bug is completely fixed...
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From syntheticpp at gmx.net Wed Mar 2 22:48:09 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Wed, 02 Mar 2011 22:48:09 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src/libkstapp
In-Reply-To:
References: <20110226210120.958B7AC8C0@svn.kde.org> <4D6D4EF7.5040104@gmx.net>
Message-ID: <4D6EBB19.6040700@gmx.net>
On 02.03.2011 08:19, Brisset, Nicolas wrote:
>> On Windows I only see the loaded vector in the change dialog not all
>> of the file. This is a bug, or I'm wrong?
> No, this is not a bug. You see only existing vectors and can duplicate
> them or load them from a new file. And you can choose to update
> dependents as well, meaning equations, curves, etc based on those
> vectors.
OK, even better.
>
> I really have to get around to doing those screencasts... But the bad
> thing is that I haven't found a working solution for that on my Linux PC
> and under Windows the last version crashes when using the tool. I fear
> we'll need another RC anyway when the bug is completely fixed...
It still crashes? I thought it's fixed now.
>
> Nicolas
From Nicolas.Brisset at eurocopter.com Thu Mar 3 18:25:51 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Thu, 3 Mar 2011 18:25:51 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src/libkstapp
In-Reply-To: <4D6EBB19.6040700@gmx.net>
References: <20110226210120.958B7AC8C0@svn.kde.org> <4D6D4EF7.5040104@gmx.net>
<4D6EBB19.6040700@gmx.net>
Message-ID:
> It still crashes? I thought it's fixed now.
The svn version no longer crashes. But I believe the last RC still
does...
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From syntheticpp at gmx.net Thu Mar 3 22:23:35 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Thu, 3 Mar 2011 22:23:35 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkstapp
Message-ID: <20110303212335.5E73BAC8C2@svn.kde.org>
SVN commit 1223587 by kuemmel:
prepare for --version
M +15 -16 commandlineparser.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/commandlineparser.cpp #1223586:1223587
@@ -111,30 +111,26 @@
"Plot column 2 and column 3 in plot P1 and column 4 in plot P2\n"
" kst data.dat -P P1 -y 2 -y 3 -P P2 -y 4\n";
+static void printText(const QString& text, const QString& detailText, const QString& t = QString())
+{
#ifdef Q_OS_WIN
-static void printUsage(QString t) { // No console on Windows.
- QString displayText(usageMessage);
- if (!t.isEmpty()) {
- displayText += '\n';
- displayText += t;
- }
- QMessageBox box(QMessageBox::Information, "Kst", displayText);
- QString detailText(usageDetailsMessage);
+ // No console on Windows.
+ QMessageBox box(QMessageBox::Information, "Kst", text + t);
box.setDetailedText(detailText);
box.exec();
-}
#else
-static void printUsage(const QString &t) {
- QString displayText = QString(usageMessage) + QString(usageDetailsMessage);
- if (!t.isEmpty()) {
- displayText += "\n\n";
- displayText += t;
- }
+ QString displayText = QString(text) + QString(detailText) + t;
qWarning("%s", qPrintable(displayText));
-}
#endif
+}
+static void printUsage(const QString &t)
+{
+ printText(QString(usageMessage), QString(usageDetailsMessage), "\n" + t);
+}
+
+
CommandLineParser::CommandLineParser(Document *doc):
_doAve(false), _doSkip(false), _doConsecutivePlots(true), _useBargraph(false),
_useLines(true), _usePoints(false), _overrideStyle(false), _sampleRate(1.0),
@@ -367,6 +363,9 @@
if ((arg == "--help")||(arg == "-help")) {
printUsage(QString());
*ok = false;
+ } else if (arg == "--version" || arg == "-version") {
+ printUsage(QString());
+ *ok = false;
} else if (arg == "-f") {
*ok = _setIntArg(&_startFrame, i18n("Usage: -f \n"), true);
_document->objectStore()->override.f0 = _startFrame;
From syntheticpp at gmx.net Thu Mar 3 22:33:10 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Thu, 3 Mar 2011 22:33:10 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkstapp
Message-ID: <20110303213311.06750AC8C2@svn.kde.org>
SVN commit 1223588 by kuemmel:
--version
BUG: 267432
M +6 -2 commandlineparser.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/commandlineparser.cpp #1223587:1223588
@@ -14,6 +14,8 @@
#include "datasource.h"
#include "objectstore.h"
#include "colorsequence.h"
+#include "svnrevision.h"
+#include "config.h"
#include
#include
@@ -111,12 +113,14 @@
"Plot column 2 and column 3 in plot P1 and column 4 in plot P2\n"
" kst data.dat -P P1 -y 2 -y 3 -P P2 -y 4\n";
-static void printText(const QString& text, const QString& detailText, const QString& t = QString())
+static void printText(const QString& text, const QString& detailText = QString(), const QString& t = QString())
{
#ifdef Q_OS_WIN
// No console on Windows.
QMessageBox box(QMessageBox::Information, "Kst", text + t);
+ if (!detailText.isEmpty()) {
box.setDetailedText(detailText);
+ }
box.exec();
#else
QString displayText = QString(text) + QString(detailText) + t;
@@ -364,7 +368,7 @@
printUsage(QString());
*ok = false;
} else if (arg == "--version" || arg == "-version") {
- printUsage(QString());
+ printText(QString("Kst ") + KSTVERSION + " Revision " + SVN_REVISION);
*ok = false;
} else if (arg == "-f") {
*ok = _setIntArg(&_startFrame, i18n("Usage: -f \n"), true);
From syntheticpp at gmx.net Thu Mar 3 22:35:06 2011
From: syntheticpp at gmx.net (=?UTF-8?Q?Peter=20K=C3=BCmmel=20?=)
Date: Thu, 3 Mar 2011 22:35:06 +0100 (CET)
Subject: [Kst] [Bug 267432] kst2 --version
In-Reply-To:
References:
Message-ID: <20110303213506.4481581060@immanuel.kde.org>
https://bugs.kde.org/show_bug.cgi?id=267432
Peter K?mmel changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Peter K?mmel 2011-03-03 22:35:05 ---
SVN commit 1223588 by kuemmel:
--version
BUG: 267432
M +6 -2 commandlineparser.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=1223588
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From nik.neusser at gmx.de Thu Mar 3 22:41:26 2011
From: nik.neusser at gmx.de (Nikolaus Neusser)
Date: Thu, 03 Mar 2011 22:41:26 +0100
Subject: [Kst] streaming udp data
Message-ID: <4D700B06.5020408@gmx.de>
Hello everyone,
i would like to know if kst is capable of ploting data that is received in real time via ethernet/udp?
How can i grab the udp data and forward it to kst?
Thanks a lot,
nik
From nicolas.brisset at free.fr Thu Mar 3 23:12:48 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Thu, 3 Mar 2011 23:12:48 +0100 (CET)
Subject: [Kst] Re: streaming udp data
In-Reply-To: <1833817916.4927251299190174091.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <33697730.4927491299190368344.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi Nikolaus,
that sounds like an interesting idea... I don't know what type of data you are using, but basically what you'd have to do is write a datasource plugin (there is a template and we can provide some help) that can:
- list the available variables
- provide for each variable the number of samples
- get the values of a given sample range for a given variable
- update the previous information regularly
I don't know how proficient you are with C++. I think the hardest part would be the local storage of data in the datasource as the data model is so that it is up to the datasource to provide the information.
Actually, thinking about it I believe the easiest solution would be to write a small piece of code that gets your UDP data and writes it locally to a file type supported by kst out of the box. I'd suggest ASCII (easiest), or getdata (good performance), or netCDF (standard format, with quite a few nice features. I believe it even supports over-the-network access, but you'd have to check).
I think this is not the first time we have such a request, it'd be nice to have something that we can integrate in the kst distribution...
I hope that helped a bit,
Nicolas
----- "Nikolaus Neusser" a ?crit :
> Hello everyone,
>
> i would like to know if kst is capable of ploting data that is
> received in real time via ethernet/udp?
> How can i grab the udp data and forward it to kst?
>
> Thanks a lot,
> nik
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
From matt at truch.net Thu Mar 3 23:49:15 2011
From: matt at truch.net (Matthew Truch)
Date: Thu, 3 Mar 2011 17:49:15 -0500
Subject: [Kst] Re: streaming udp data
In-Reply-To: <4D700B06.5020408@gmx.de>
References: <4D700B06.5020408@gmx.de>
Message-ID: <7B6D9BEB-1900-491F-AC33-91DCBA5008D2@truch.net>
Nicholas is right, but I'll add my two cents.
After thinking of this several times before, your best option is to
write a simple program that saves the data to disk in a format kst can
read and then reading from that file in kst. That gives you the
greatest flexibility in terms of speed and storage.
As for what data format, that depends on the number of fields you're
writing and your data rate. For smaller numbers, ASCII is fine and
easy to write. Getdata is fast and space efficient.
With any of the formats kst reads, it will update with new data in
real time. Don't forget to flush the data after each write if you go
the ASCII file route.
From syntheticpp at gmx.net Fri Mar 4 00:04:23 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Fri, 04 Mar 2011 00:04:23 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src/libkstapp
In-Reply-To:
References: <20110226210120.958B7AC8C0@svn.kde.org> <4D6D4EF7.5040104@gmx.net> <4D6EBB19.6040700@gmx.net>
Message-ID: <4D701E77.9050209@gmx.net>
On 03.03.2011 18:25, Brisset, Nicolas wrote:
>> It still crashes? I thought it's fixed now.
> The svn version no longer crashes. But I believe the last RC still
> does...
rc2 could be downloaded now.
Peter
From syntheticpp at gmx.net Sat Mar 5 21:59:01 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Sat, 5 Mar 2011 21:59:01 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkstapp
Message-ID: <20110305205901.C2AA2AC736@svn.kde.org>
SVN commit 1223908 by kuemmel:
don't show gui when command parsing failed
M +1 -1 application.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/application.cpp #1223907:1223908
@@ -51,7 +51,7 @@
DialogLauncher::replaceSelf(new DialogLauncherGui);
connect(this, SIGNAL(aboutToQuit()), _mainWindow, SLOT(aboutToQuit()));
- _mainWindow->show();
+ //_mainWindow->show();
//_mainWindow->hide();
}
From nicolas.brisset at free.fr Sat Mar 5 22:19:54 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Sat, 5 Mar 2011 22:19:54 +0100 (CET)
Subject: [Kst] Release?
Message-ID: <1500120626.5122931299359994489.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi,
I think it'd be nice to decide what we still want to do before the release. Barth, it wasn't clear from your last commit if you're planning to address the bug where metadata are not correctly duplicated when using the change data file tool.
As far as I'm concerned, I have a few more UI HIG fixes in the pipeline I'd like to commit before the release, but it's not going to take long - and it's low risk. Then I'd like to finally do those screencasts I've been mentioning. I hope to be done until the beginning of next week.
Does anybody have something else?
Nicolas
From syntheticpp at gmx.net Sat Mar 5 22:20:01 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Sat, 05 Mar 2011 22:20:01 +0100
Subject: [Kst] Kst 2.0.3-rc2
Message-ID: <4D72A901.8000703@gmx.net>
We needed an additional release candidate due to a crash in the change data dialog,
which is fixed now:
https://sourceforge.net/projects/kst/files/Kst%202.0.3/
Because there where problems with the getdata plugin on the Mac
rc2 binary for the Mac doesn't ship getdata. Please install getdata
into /usr: ./configure --prefix=/usr/
So rc1 ships getdata and rc2 not, what is better?
kst now also supports the command line option --version.
Peter
From christiandehne at web.de Sun Mar 6 21:23:49 2011
From: christiandehne at web.de (Christian Trippe)
Date: Sun, 6 Mar 2011 21:23:49 +0100 (CET)
Subject: [Kst] [Bug 267828] New: Problems with the kst.desktop file shipped
with 2.0.3 rc2
Message-ID:
https://bugs.kde.org/show_bug.cgi?id=267828
Summary: Problems with the kst.desktop file shipped with 2.0.3
rc2
Product: kst
Version: 2.0.3
Platform: openSUSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kst at kde.org
ReportedBy: christiandehne at web.de
Created an attachment (id=57731)
--> (http://bugs.kde.org/attachment.cgi?id=57731)
Patch to use the new binary name kst2 and fix the format of the mimetype entry
Version: 2.0.3 (using KDE 4.6.0)
OS: Linux
This is somehow a follow up of bug 250555.
There are a few problems with the desktop file shipped with kst 2.0.3 rc2
1.) The binary is called kst and not kst2
2.) The line with Mimetype does not end with a semicolon
3.) the kst icon does not get installed, which means no icon is shown the
application menu (and for openSUSE the rpm does not even build)
(Actually no icon from the src/images directory gets installed.)
I attach a patch which solves the first two problems.
Reproducible: Always
OS: Linux
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From nicolas.brisset at eurocopter.com Sun Mar 6 21:42:36 2011
From: nicolas.brisset at eurocopter.com (Nicolas Brisset)
Date: Sun, 6 Mar 2011 21:42:36 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src
Message-ID: <20110306204236.DAA73AC8C3@svn.kde.org>
SVN commit 1223989 by brisset:
Another round of strings/UI fixes to improve internal consistency as well as compliance with KDE HIG. I wanted to pull this through as long as we're
not translated. Changing strings becomes much more difficult after that.
If there's anything you don't like, just complain! If you notice something I have missed, either fix it yourself or inform me.
M +8 -7 libkstapp/arrowpropertiestab.ui
M +2 -2 libkstapp/axistab.ui
M +2 -1 libkstapp/bugreportwizard.ui
M +10 -10 libkstapp/changefiledialog.ui
M +2 -1 libkstapp/childviewoptionstab.ui
M +4 -6 libkstapp/choosecolordialog.ui
M +17 -16 libkstapp/curvetab.ui
M +4 -4 libkstapp/datawizard.cpp
M +14 -13 libkstapp/datawizardpagedatapresentation.ui
M +2 -2 libkstapp/datawizardpagedatasource.ui
M +35 -23 libkstapp/datawizardpagefilters.ui
M +6 -6 libkstapp/datawizardpageplot.ui
M +1 -1 libkstapp/debugdialog.ui
M +6 -6 libkstapp/defaultlabelpropertiestab.ui
M +1 -2 libkstapp/dialog.ui
M +9 -9 libkstapp/differentiatecurvesdialog.cpp
M +1 -1 libkstapp/dimensionstab.ui
M +5 -4 libkstapp/editmultiplewidget.ui
M +1 -1 libkstapp/equationtab.ui
M +1 -1 libkstapp/filltab.ui
M +1 -1 libkstapp/filterfittab.ui
M +1 -1 libkstapp/generaltab.ui
M +4 -4 libkstapp/gridtab.ui
M +21 -20 libkstapp/histogramtab.ui
M +1 -1 libkstapp/labeltab.ui
M +4 -4 libkstapp/layouttab.ui
M +4 -4 libkstapp/legendtab.ui
M +1 -1 libkstapp/logdialog.ui
M +24 -11 libkstapp/markerstab.ui
M +32 -31 libkstapp/matrixtab.ui
M +1 -1 libkstapp/overridelabeltab.ui
M +1 -1 libkstapp/plotaxis.cpp
M +3 -3 libkstapp/plotitem.cpp
M +10 -10 libkstapp/rangetab.ui
M +13 -12 libkstapp/scalartab.ui
M +4 -4 libkstapp/stroketab.ui
M +7 -7 libkstapp/vectortab.ui
M +1 -1 widgets/curveappearance.ui
M +3 -3 widgets/curveplacement.ui
M +13 -12 widgets/datarange.ui
M +5 -5 widgets/fftoptions.ui
http://websvn.kde.org/?view=rev&revision=1223989
From syntheticpp at gmx.net Sun Mar 6 22:27:31 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Sun, 06 Mar 2011 22:27:31 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src
In-Reply-To: <20110306204236.DAA73AC8C3@svn.kde.org>
References: <20110306204236.DAA73AC8C3@svn.kde.org>
Message-ID: <4D73FC43.4020301@gmx.net>
I uploaded new binaries for windows with this changes and the recent Qt 4.7.2.
Peter
On 06.03.2011 21:42, Nicolas Brisset wrote:
> SVN commit 1223989 by brisset:
>
> Another round of strings/UI fixes to improve internal consistency as well as compliance with KDE HIG. I wanted to pull this through as long as we're
> not translated. Changing strings becomes much more difficult after that.
> If there's anything you don't like, just complain! If you notice something I have missed, either fix it yourself or inform me.
>
>
> M +8 -7 libkstapp/arrowpropertiestab.ui
> M +2 -2 libkstapp/axistab.ui
> M +2 -1 libkstapp/bugreportwizard.ui
> M +10 -10 libkstapp/changefiledialog.ui
> M +2 -1 libkstapp/childviewoptionstab.ui
> M +4 -6 libkstapp/choosecolordialog.ui
> M +17 -16 libkstapp/curvetab.ui
> M +4 -4 libkstapp/datawizard.cpp
> M +14 -13 libkstapp/datawizardpagedatapresentation.ui
> M +2 -2 libkstapp/datawizardpagedatasource.ui
> M +35 -23 libkstapp/datawizardpagefilters.ui
> M +6 -6 libkstapp/datawizardpageplot.ui
> M +1 -1 libkstapp/debugdialog.ui
> M +6 -6 libkstapp/defaultlabelpropertiestab.ui
> M +1 -2 libkstapp/dialog.ui
> M +9 -9 libkstapp/differentiatecurvesdialog.cpp
> M +1 -1 libkstapp/dimensionstab.ui
> M +5 -4 libkstapp/editmultiplewidget.ui
> M +1 -1 libkstapp/equationtab.ui
> M +1 -1 libkstapp/filltab.ui
> M +1 -1 libkstapp/filterfittab.ui
> M +1 -1 libkstapp/generaltab.ui
> M +4 -4 libkstapp/gridtab.ui
> M +21 -20 libkstapp/histogramtab.ui
> M +1 -1 libkstapp/labeltab.ui
> M +4 -4 libkstapp/layouttab.ui
> M +4 -4 libkstapp/legendtab.ui
> M +1 -1 libkstapp/logdialog.ui
> M +24 -11 libkstapp/markerstab.ui
> M +32 -31 libkstapp/matrixtab.ui
> M +1 -1 libkstapp/overridelabeltab.ui
> M +1 -1 libkstapp/plotaxis.cpp
> M +3 -3 libkstapp/plotitem.cpp
> M +10 -10 libkstapp/rangetab.ui
> M +13 -12 libkstapp/scalartab.ui
> M +4 -4 libkstapp/stroketab.ui
> M +7 -7 libkstapp/vectortab.ui
> M +1 -1 widgets/curveappearance.ui
> M +3 -3 widgets/curveplacement.ui
> M +13 -12 widgets/datarange.ui
> M +5 -5 widgets/fftoptions.ui
>
>
> http://websvn.kde.org/?view=rev&revision=1223989
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
From Nicolas.Brisset at eurocopter.com Mon Mar 7 08:53:16 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Mon, 7 Mar 2011 08:53:16 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src
In-Reply-To: <4D73FC43.4020301@gmx.net>
References: <20110306204236.DAA73AC8C3@svn.kde.org> <4D73FC43.4020301@gmx.net>
Message-ID:
> I uploaded new binaries for windows with this changes and the recent
Qt
> 4.7.2.
Nice :-) I have just downloaded them, and they seem to be OK.
I just noticed that the shortcut that gets created is still called
-beta3 per default. We have to fix that prior to the final release.
Now I'll try to make the screencasts on that basis, I'll let you know if
I encounter bad bugs which need to be fixed.
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From Nicolas.Brisset at eurocopter.com Mon Mar 7 08:56:01 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Mon, 7 Mar 2011 08:56:01 +0100
Subject: [Kst] Re: Kst 2.0.3-rc2
In-Reply-To: <4D72A901.8000703@gmx.net>
References: <4D72A901.8000703@gmx.net>
Message-ID:
> Because there where problems with the getdata plugin on the Mac
> rc2 binary for the Mac doesn't ship getdata. Please install getdata
> into /usr: ./configure --prefix=/usr/
>
> So rc1 ships getdata and rc2 not, what is better?
I'll let Mac users answer here, but my feeling is that we should ship it
together. Especially on Mac it seems people are used to getting
all-inclusive bundles. And it should work "out-of-the-box"!
But I don't know what problems you are talking about... So maybe there
are good reasons to ship it separately.
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From syntheticpp at gmx.net Mon Mar 7 23:08:02 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Mon, 07 Mar 2011 23:08:02 +0100
Subject: [Kst] Re: Kst 2.0.3-rc2
In-Reply-To:
References: <4D72A901.8000703@gmx.net>
Message-ID: <4D755742.605@gmx.net>
On 07.03.2011 08:56, Brisset, Nicolas wrote:
>> Because there where problems with the getdata plugin on the Mac
>> rc2 binary for the Mac doesn't ship getdata. Please install getdata
>> into /usr: ./configure --prefix=/usr/
>>
>> So rc1 ships getdata and rc2 not, what is better?
> I'll let Mac users answer here, but my feeling is that we should ship it
> together. Especially on Mac it seems people are used to getting
> all-inclusive bundles. And it should work "out-of-the-box"!
Yes, this was the idea for rc1.
>
> But I don't know what problems you are talking about... So maybe there
> are good reasons to ship it separately.
I got a mail that getdata files could not be read with rc1.
But I'm not familiar with releases for all these "cat of prey" Macs.
Peter
From mathieu660r at gmail.com Tue Mar 8 04:49:40 2011
From: mathieu660r at gmail.com (mathieu660r at gmail.com)
Date: Tue, 08 Mar 2011 03:49:40 +0000
Subject: [Kst] Addition of sample on a specific range
Message-ID: <20cf3071c8c28785e6049df080ce@google.com>
Hi,
I'm new here and I find KST a really great tool for fast and efficient
plotting. I'm currently using some hardware to measure the real power of
some lights. I can plot the power easily and I can get the power value on
the y axis and the time on the x axis. My question is a little bit complex
so I will try to explain the best as I can if you have questions please
ask. So I want to add all the value of a time sample ( example : all the
value during 60 minutes and do it for each 60 minutes) and multiply the
total value by another value to get an approximation of the cost of
electricity.
Thanks,
Mathieu R.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110308/d260e864/attachment.htm
From netterfield at astro.utoronto.ca Wed Mar 9 04:08:03 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Wed, 9 Mar 2011 04:08:03 +0100 (CET)
Subject: [Kst]
branches/work/kst/portto4/kst/src/plugins/dataobject/correlation/crosscorrelation
Message-ID: <20110309030803.1110DAC8C4@svn.kde.org>
SVN commit 1224217 by netterfield:
Improve names in plugin. Still not perfect though.
M +3 -3 crosscorrelation.cpp
--- branches/work/kst/portto4/kst/src/plugins/dataobject/correlation/crosscorrelation/crosscorrelation.cpp #1224216:1224217
@@ -23,8 +23,8 @@
static const QString& VECTOR_IN_ONE = "Vector One In";
static const QString& VECTOR_IN_TWO = "Vector Two In";
-static const QString& VECTOR_OUT_STEP = "Step Value";
-static const QString& VECTOR_OUT_CORRELATED = "Correlated";
+static const QString& VECTOR_OUT_STEP = "Offset";
+static const QString& VECTOR_OUT_CORRELATED = "C";
class ConfigCrossCorrelationPlugin : public Kst::DataObjectConfigWidget, public Ui_CrossCorrelationConfig {
public:
@@ -120,7 +120,7 @@
QString CrossCorrelationSource::_automaticDescriptiveName() const {
- return QString("Cross Correlation Plugin Object");
+ return QString("Cross Correlation");
}
From netterfield at astro.utoronto.ca Wed Mar 9 04:14:33 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Wed, 9 Mar 2011 04:14:33 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkstapp
Message-ID: <20110309031433.6F8A5AC8C4@svn.kde.org>
SVN commit 1224218 by netterfield:
FEATURE:
Add a data source config dialog option to the change file dialog, to allow configuration options to
be set for the new data file.
M +15 -0 changefiledialog.cpp
M +1 -0 changefiledialog.h
M +59 -4 changefiledialog.ui
--- branches/work/kst/portto4/kst/src/libkstapp/changefiledialog.cpp #1224217:1224218
@@ -13,6 +13,7 @@
#include "changefiledialog.h"
#include "datacollection.h"
+#include "datasourcedialog.h"
#include "datavector.h"
#include "datamatrix.h"
#include "datascalar.h"
@@ -68,6 +69,8 @@
connect(_buttonBox->button(QDialogButtonBox::Ok), SIGNAL(clicked()), this, SLOT(OKClicked()));
connect(_buttonBox->button(QDialogButtonBox::Apply), SIGNAL(clicked()), this, SLOT(apply()));
+ connect(_configure, SIGNAL(clicked()), this, SLOT(showConfigWidget()));
+
_dataFile->setFile(QDir::currentPath());
updateButtons();
}
@@ -82,7 +85,15 @@
QDialog::show();
}
+void ChangeFileDialog::showConfigWidget() {
+ QPointer dialog = new DataSourceDialog(DataDialog::New, _dataSource, this);
+ if ( dialog->exec() == QDialog::Accepted ) {
+ fileNameChanged(_dataSource->fileName());
+ }
+ delete dialog;
+}
+
void ChangeFileDialog::removeButtonClicked() {
foreach (QListWidgetItem* item, _selectedFilePrimitiveList->selectedItems()) {
_changeFilePrimitiveList->addItem(_selectedFilePrimitiveList->takeItem(_selectedFilePrimitiveList->row(item)));
@@ -125,13 +136,17 @@
return;
}
_dataSource = DataSourcePluginManager::findOrLoadSource(_store, filename);
+ _fileType->setText(_dataSource->fileType());
updateButtons();
+ _configure->setEnabled(_dataSource->hasConfigWidget());
+
}
void ChangeFileDialog::fileNameChanged(const QString &file) {
_dataSource = 0;
updateButtons();
+ _configure->setEnabled(false);
_requestID += 1;
ValidateDataSourceThread *validateDSThread = new ValidateDataSourceThread(file, _requestID);
--- branches/work/kst/portto4/kst/src/libkstapp/changefiledialog.h #1224217:1224218
@@ -48,6 +48,7 @@
void availableDoubleClicked(QListWidgetItem * item);
void selectedDoubleClicked(QListWidgetItem * item);
+ void showConfigWidget();
void updateButtons();
void OKClicked();
--- branches/work/kst/portto4/kst/src/libkstapp/changefiledialog.ui #1224217:1224218
@@ -6,8 +6,8 @@
00
- 580
- 450
+ 603
+ 452
@@ -180,6 +180,12 @@
+
+
+ 0
+ 0
+
+ &File:
@@ -203,7 +209,7 @@
-
+ 0
@@ -236,7 +242,7 @@
-
+ 0
@@ -279,7 +285,56 @@
+
+
+
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+
+
+
+
+ 10
+ 0
+
+
+
+ Unknown File Type
+
+
+ false
+
+
+
+
+
+
+ false
+
+
+
+ 0
+ 0
+
+
+
+ Con&figure...
+
+
+
+
+
From netterfield at astro.utoronto.ca Wed Mar 9 04:17:07 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Wed, 9 Mar 2011 04:17:07 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkstapp
Message-ID: <20110309031707.CCD8CAC8C4@svn.kde.org>
SVN commit 1224220 by netterfield:
GUI:
BUG:
Fix layout bugs in the vector dialog.
M +9 -9 vectortab.ui
--- branches/work/kst/portto4/kst/src/libkstapp/vectortab.ui #1224219:1224220
@@ -153,15 +153,12 @@
-
-
- File name:
- Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenterfalse
@@ -169,11 +166,7 @@
-
-
- false
-
-
+
@@ -198,6 +191,13 @@
+
+
+ false
+
+
+
+ 0
From netterfield at astro.utoronto.ca Wed Mar 9 04:19:04 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Wed, 9 Mar 2011 04:19:04 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src
Message-ID: <20110309031904.0C4EBAC8C4@svn.kde.org>
SVN commit 1224221 by netterfield:
Significantly improve automatic legend names.
I think I now do a reasonable job with all cases, except the case where
units are not consistent between all relations in a plot.
Please look for troubles.
M +3 -3 libkst/datavector.cpp
A libkst/labelinfo.cpp [License: GPL (v2+)]
M +1 -0 libkst/labelinfo.h
M +52 -4 libkstapp/legenditem.cpp
M +1 -1 libkstapp/legenditem.h
M +1 -1 libkstapp/plotitem.cpp
M +7 -36 libkstapp/plotrenderitem.cpp
M +0 -1 libkstapp/plotrenderitem.h
--- branches/work/kst/portto4/kst/src/libkst/datavector.cpp #1224220:1224221
@@ -328,12 +328,12 @@
label_info.units = QString();
}
- label_info.name = _field;
+ label_info.name = descriptiveName();// _field;
// un-escape escaped special characters so they aren't escaped 2x.
- label_info.name.replace("\\_", "_").replace("\\^","^").replace("\\[", "[").replace("\\]", "]");
+ //label_info.name.replace("\\_", "_").replace("\\^","^").replace("\\[", "[").replace("\\]", "]");
// now escape the special characters.
- label_info.name.replace('_', "\\_").replace('^', "\\^").replace('[', "\\[").replace(']', "\\]");
+ //label_info.name.replace('_', "\\_").replace('^', "\\^").replace('[', "\\[").replace(']', "\\]");
return label_info;
}
--- branches/work/kst/portto4/kst/src/libkst/labelinfo.h #1224220:1224221
@@ -31,6 +31,7 @@
QString name;
QString quantity;
QString units;
+ QString singleRenderItemLabel() const;
};
}
--- branches/work/kst/portto4/kst/src/libkstapp/legenditem.cpp #1224220:1224221
@@ -84,10 +84,58 @@
QFont font(_font);
font.setPointSizeF(view()->defaultFont(_fontScale).pointSizeF());
- foreach(RelationPtr relation, legendItems) {
+ // generate string list of relation names
+ QStringList names;
+ int count = legendItems.count();
+ bool allAuto = true;
+ bool sameX = true;
+ LabelInfo label_info = legendItems.at(0)->xLabelInfo();
+
+ for (int i = 0; idescriptiveNameIsManual()) {
+ allAuto = false;
+ }
+ if (relation->xLabelInfo() != label_info) {
+ sameX = false;
+ }
+ }
+
+ if (!allAuto) {
+ for (int i = 0; idescriptiveName());
+ }
+ } else {
+ for (int i = 0; ititleInfo();
+ QString label = label_info.singleRenderItemLabel();
+ if (label.isEmpty()) {
+ label_info = relation->yLabelInfo();
+ if (!label_info.name.isEmpty()) {
+ LabelInfo xlabel_info = relation->xLabelInfo();
+ if (!sameX) {
+ label = i18n("%1 vs %2").arg(label_info.name).arg(xlabel_info.name);
+ } else if (xlabel_info.quantity.isEmpty()) {
+ label = label_info.name;
+ } else if (xlabel_info.quantity != xlabel_info.name) {
+ label = i18n("%1 vs %2").arg(label_info.name).arg(xlabel_info.name);
+ } else {
+ label = label_info.name;
+ }
+ } else {
+ label = relation->descriptiveName();
+ }
+ }
+ names.append(label);
+ }
+ }
+
+ for (int i = 0; idescriptiveName());
+QSize LegendItem::paintRelation(QString name, RelationPtr relation, QPixmap *pixmap, const QFont &font) {
+ Label::Parsed *parsed = Label::parse(name);
pixmap->fill(Qt::transparent);
--- branches/work/kst/portto4/kst/src/libkstapp/legenditem.h #1224220:1224221
@@ -71,7 +71,7 @@
virtual QString _automaticDescriptiveName() const;
virtual void _initializeShortName();
private:
- QSize paintRelation(RelationPtr relation, QPixmap *pixmap, const QFont &font);
+ QSize paintRelation(QString name, RelationPtr relation, QPixmap *pixmap, const QFont &font);
PlotItem *_plotItem;
bool _auto;
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #1224220:1224221
@@ -1920,7 +1920,7 @@
foreach (PlotRenderItem *renderer, renderItems()) {
QString label = renderer->bottomLabel();
if (!label.isEmpty()) {
- if (_xAxis->axisInterpret()) { // remove units
+ if (_xAxis->axisInterpret()) { // remove units if time interpretation
QRegExp rx(" \\[*\\]");
rx.setPatternSyntax(QRegExp::Wildcard);
return label.remove(rx);
--- branches/work/kst/portto4/kst/src/libkstapp/plotrenderitem.cpp #1224220:1224221
@@ -317,35 +317,6 @@
}
}
-QString PlotRenderItem::singleRenderItemLabel(const LabelInfo& label_info) const {
- if (label_info.units.isEmpty() && label_info.quantity.isEmpty()) { // Nxx xxx
- return label_info.name;
- } else if (label_info.quantity.isEmpty()) {
- if (!label_info.name.isEmpty()) {
- return QString("%1 \\[%2\\]").arg(label_info.name).arg(label_info.units); // NxU
- } else {
- return label_info.units; // xxU
- }
- } else if (label_info.units.isEmpty()) {
- if (label_info.name.isEmpty()) {
- return label_info.quantity; // xQx
- } else {
- if (label_info.name.toLower().contains(label_info.quantity.toLower())) {
- return label_info.name; // NQx A
- } else {
- return QString("%1: %2").arg(label_info.name).arg(label_info.quantity); // NQx B
- }
- }
- } else if (label_info.name.isEmpty()) {
- return QString("%1 \\[%2\\]").arg(label_info.quantity).arg(label_info.units); // xQU
- //} else if (label_info.name.toLower().contains(label_info.quantity.toLower())) {
- // return QString("%1 \\[%2\\]").arg(label_info.name).arg(label_info.units); // NQU A
- } else {
- return QString("%1 \\[%2\\]").arg(label_info.quantity).arg(label_info.units); // NQU B
- }
-}
-
-
QString PlotRenderItem::multiRenderItemLabel(bool isX) const {
QString units;
QString quantity;
@@ -376,7 +347,7 @@
}
if (allSame) {
- return singleRenderItemLabel(label_info);
+ return label_info.singleRenderItemLabel();
}
// search for the first vector with quantity and units; use it.
@@ -408,8 +379,7 @@
QString PlotRenderItem::leftLabel() const {
if (relationList().size() == 1) {
- LabelInfo label_info = relationList().at(0)->yLabelInfo();
- return singleRenderItemLabel(label_info);
+ return relationList().at(0)->yLabelInfo().singleRenderItemLabel();
} else { // multiple curves: quantity [units]
return multiRenderItemLabel(false);
}
@@ -418,8 +388,7 @@
QString PlotRenderItem::bottomLabel() const {
if (relationList().size() == 1) {
- LabelInfo label_info = relationList().at(0)->xLabelInfo();
- return singleRenderItemLabel(label_info);
+ return relationList().at(0)->xLabelInfo().singleRenderItemLabel();
} else { // multiple curves: quantity [units]
return multiRenderItemLabel(true);
}
@@ -436,10 +405,12 @@
QString PlotRenderItem::topLabel() const {
if (relationList().size() == 1) {
LabelInfo label_info = relationList().at(0)->titleInfo();
- QString label = singleRenderItemLabel(label_info);
+ QString label = label_info.singleRenderItemLabel();
if (label.isEmpty()) {
label_info = relationList().at(0)->yLabelInfo();
- if ((!label_info.name.isEmpty()) && (!label_info.quantity.isEmpty())) {
+ if (label_info.singleRenderItemLabel().isEmpty()) {
+ label = relationList().at(0)->descriptiveName();
+ } else if ((!label_info.name.isEmpty()) && (!label_info.quantity.isEmpty())) {
LabelInfo xlabel_info = relationList().at(0)->xLabelInfo();
if ((!xlabel_info.name.isEmpty()) && (!xlabel_info.quantity.isEmpty())) {
label = i18n("%1 vs %2").arg(label_info.name).arg(xlabel_info.name);
--- branches/work/kst/portto4/kst/src/libkstapp/plotrenderitem.h #1224220:1224221
@@ -62,7 +62,6 @@
QString bottomLabel() const;
QString rightLabel() const;
QString topLabel() const;
- QString singleRenderItemLabel(const LabelInfo& label_info) const;
QString multiRenderItemLabel(bool isX) const;
QRectF computedProjectionRect() const;
From asuomynona at gmail.com Wed Mar 9 07:40:30 2011
From: asuomynona at gmail.com (Ben Lewis)
Date: Wed, 09 Mar 2011 17:40:30 +1100
Subject: [Kst] Re: Addition of sample on a specific range
In-Reply-To: <20cf3071c8c28785e6049df080ce@google.com>
References: <20cf3071c8c28785e6049df080ce@google.com>
Message-ID: <4D7720DE.4090802@gmail.com>
Hi Mathieu,
If you are sampling at regular intervals you could try using the "Cumulative Sum" plugin found under
Create > Filter Plugin > Cumulative Sum.
This will give you a running total of energy used.
You can then use an equation found under Create > Equation to calcuate the total cost.
You will need to be consistent with your units, so if power is measured in Watts and the cumulative
sum variable, dx, is entered in seconds, then the unit cost of electricity will need to be $/W-s.
I hope this helps.
Cheers, Ben
On 8/03/2011 2:49 PM, mathieu660r at gmail.com wrote:
> Hi,
>
> I'm new here and I find KST a really great tool for fast and efficient plotting. I'm currently
> using some hardware to measure the real power of some lights. I can plot the power easily and I
> can get the power value on the y axis and the time on the x axis. My question is a little bit
> complex so I will try to explain the best as I can if you have questions please ask. So I want to
> add all the value of a time sample ( example : all the value during 60 minutes and do it for each
> 60 minutes) and multiply the total value by another value to get an approximation of the cost of
> electricity.
>
> Thanks,
> Mathieu R.
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110309/dd6a70cd/attachment.htm
From Nicolas.Brisset at eurocopter.com Wed Mar 9 08:41:14 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Wed, 9 Mar 2011 08:41:14 +0100
Subject: [Kst] Re: Addition of sample on a specific range
In-Reply-To: <4D7720DE.4090802@gmail.com>
References: <20cf3071c8c28785e6049df080ce@google.com>
<4D7720DE.4090802@gmail.com>
Message-ID:
Ben, thanks for the reply :-)
You're right, this is the plugin to use, if you want only one scalar at the end (cost over the whole data set). However, I fear that what Mathieu wanted is a "sliding window", or "moving sum", which the plugin currently does not support. It should be easy (and it would be interesting) to add an option to compute either the cumulative sum over the whole data, or an output vector showing the cumulative sum over a given number of samples. The only "difficult" point in that case would be the values to use at the beginning, i.e. for the first samples until we have the desired window width.
And some other ideas:
- use the "Sum" automatic scalar, and generate another scalar from it if you need a scale factor (Create->Scalar->Generate and type your equation in the "Value" field of the "Generate" group). This has the advantage that you can then display the value in a text label directly.
- use the Data range tool to select the right number of samples, and scroll through the data "page-wise". If the update mechanism is working as it should, you should see the label update automatically. Unfortunately, right now it seems that scalars from other scalars don't get updated. Barth, would this be easy to fix?
Mathieu: if it's not clear or if we haven't understood the case, just refine your question.
Nicolas
________________________________
Von: Ben Lewis [mailto:asuomynona at gmail.com]
Gesendet: Mittwoch, 9. M?rz 2011 07:41
An: kst at kde.org
Betreff: [Kst] Re: Addition of sample on a specific range
Hi Mathieu,
If you are sampling at regular intervals you could try using the "Cumulative Sum" plugin found under Create > Filter Plugin > Cumulative Sum.
This will give you a running total of energy used.
You can then use an equation found under Create > Equation to calcuate the total cost.
You will need to be consistent with your units, so if power is measured in Watts and the cumulative sum variable, dx, is entered in seconds, then the unit cost of electricity will need to be $/W-s.
I hope this helps.
Cheers, Ben
On 8/03/2011 2:49 PM, mathieu660r at gmail.com wrote:
Hi,
I'm new here and I find KST a really great tool for fast and efficient plotting. I'm currently using some hardware to measure the real power of some lights. I can plot the power easily and I can get the power value on the y axis and the time on the x axis. My question is a little bit complex so I will try to explain the best as I can if you have questions please ask. So I want to add all the value of a time sample ( example : all the value during 60 minutes and do it for each 60 minutes) and multiply the total value by another value to get an approximation of the cost of electricity.
Thanks,
Mathieu R.
_______________________________________________
Kst mailing list
Kst at kde.org
https://mail.kde.org/mailman/listinfo/kst
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110309/96df5187/attachment-0001.htm
From Nicolas.Brisset at eurocopter.com Wed Mar 9 08:53:10 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Wed, 9 Mar 2011 08:53:10 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/src
In-Reply-To: <20110309031904.0C4EBAC8C4@svn.kde.org>
References: <20110309031904.0C4EBAC8C4@svn.kde.org>
Message-ID:
Hi Barth,
> SVN commit 1224221 by netterfield:
>
> Significantly improve automatic legend names.
> I think I now do a reasonable job with all cases, except the case
where
> units are not consistent between all relations in a plot.
>
> Please look for troubles.
Nice to see you're back to coding after a few more silent days!
Could you tell us what you plan to do with the issue that duplicated
vectors don't have correct metadata: fix it now, or release with the fix
you made that prevents the change data file tool from crashing and wait
for the next release to do a proper fix?
Nicolas
P.S.: there are some issues with the update mechanism... I will make bug
reports as soon as I come to it, unfortunately I don't have time right
now.
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From asuomynona at gmail.com Wed Mar 9 10:27:15 2011
From: asuomynona at gmail.com (Ben Lewis)
Date: Wed, 09 Mar 2011 20:27:15 +1100
Subject: [Kst] Duplicate plugins
Message-ID: <4D7747F3.8000000@gmail.com>
I have noticed a couple of issues with the latest version of Kst under windows
* All the plugins listed under "Standard Plugin", "Fit Plugin" and "Filter Plugin" are
duplicated. See attached screen shot.
* .kst files are not associated with Kst. It would be nice if the installer did this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110309/9b81a11d/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KST plugins.png
Type: image/png
Size: 81110 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20110309/9b81a11d/attachment-0001.png
From netterfield at astro.utoronto.ca Thu Mar 10 01:09:32 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Wed, 9 Mar 2011 19:09:32 -0500
Subject: [Kst] Re: Addition of sample on a specific range
In-Reply-To: <20cf3071c8c28785e6049df080ce@google.com>
References: <20cf3071c8c28785e6049df080ce@google.com>
Message-ID:
Are the data evenly sampled?
If so: (this is for kst2. kst1.x is similar).
When you read in the data (eg, data wizard page 3, or in the vector
dialog), you will see in the "Data Range" widget an option
"[ ] Read 1 sample per ________ frames [ ] Boxcar filter first"
If you select both of these, and set the number of frames to the
number of samples in an hour, then the data vector you read will be
sampled once per hour, and will contain the average over that period.
eg, if you sample the data once per second:
[ x ] Read 1 sample per _3600_ frames [ x ] Boxcar filter first
The resulting vector will contain the average for each hour, sampled
once per hour.
Then use an equation to multiply by the cost per kWhr to give the cost per hour.
If you want the integrated cost, you can use the Cumulative Sum filter
(in the plot->rmb->Filter->[Curvename] pulls up the filter dialog.
Then select "Cumulative sum". Set the value of your dX, and perhaps
chose to place the curve in a new plot).
If the data are not evenly sampled, it is going to be hard to deal with in kst.
cbn
On Mon, Mar 7, 2011 at 10:49 PM, wrote:
> Hi,
>
> I'm new here and I find KST a really great tool for fast and efficient
> plotting. I'm currently using some hardware to measure the real power of
> some lights. I can plot the power easily and I can get the power value on
> the y axis and the time on the x axis. My question is a little bit complex
> so I will try to explain the best as I can if you have questions please ask.
> So I want to add all the value of a time sample ( example : all the value
> during 60 minutes and do it for each 60 minutes) and multiply the total
> value by another value to get an approximation of the cost of electricity.
>
> Thanks,
> Mathieu R.
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
>
--
C. Barth Netterfield
University of Toronto
416-845-0946
From netterfield at astro.utoronto.ca Thu Mar 10 01:12:21 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Wed, 9 Mar 2011 19:12:21 -0500
Subject: [Kst] Re: Duplicate plugins
In-Reply-To: <4D7747F3.8000000@gmail.com>
References: <4D7747F3.8000000@gmail.com>
Message-ID:
I don't see this under linux. It looks like maybe the plugins have
been installed twice on your system somehow.
On Wed, Mar 9, 2011 at 4:27 AM, Ben Lewis wrote:
> I have noticed a couple of issues with the latest version of Kst under
> windows
>
> All the plugins listed under "Standard Plugin", "Fit Plugin" and "Filter
> Plugin" are duplicated.? See attached screen shot.
> .kst files are not associated with Kst.? It would be nice if the installer
> did this.
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
>
--
C. Barth Netterfield
University of Toronto
416-845-0946
From Nicolas.Brisset at eurocopter.com Thu Mar 10 07:35:36 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Thu, 10 Mar 2011 07:35:36 +0100
Subject: [Kst] Re: Duplicate plugins
In-Reply-To:
References: <4D7747F3.8000000@gmail.com>
Message-ID:
I don't see this under Windows XP either (with kst installed in an empty directory from the 2.0.3-rc3 installer).
> I don't see this under linux. It looks like maybe the plugins have
> been installed twice on your system somehow.
>
>
> On Wed, Mar 9, 2011 at 4:27 AM, Ben Lewis wrote:
> > I have noticed a couple of issues with the latest version of Kst under
> > windows
> >
> > All the plugins listed under "Standard Plugin", "Fit Plugin" and "Filter
> > Plugin" are duplicated. See attached screen shot.
> > .kst files are not associated with Kst. It would be nice if the
> installer
> > did this.
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From Nicolas.Brisset at eurocopter.com Thu Mar 10 07:38:08 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Thu, 10 Mar 2011 07:38:08 +0100
Subject: [Kst] Re: Duplicate plugins
In-Reply-To: <4D7747F3.8000000@gmail.com>
References: <4D7747F3.8000000@gmail.com>
Message-ID:
* .kst files are not associated with Kst. It would be nice if the
installer did this.
I agree that it would be nice, as lots of people don't know how to
associate a given file type with a program under Windows. BUT: if the
installer does that, it has to do it in such a way that we don't need
admin privileges (i.e. create the keys in the registry in a section
which is user-writable). Or even better: install the association
system-wide if the user has enough privileges, otherwise in his user
section.
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110310/a710cebb/attachment.htm
From asuomynona at gmail.com Thu Mar 10 10:51:59 2011
From: asuomynona at gmail.com (Ben Lewis)
Date: Thu, 10 Mar 2011 20:51:59 +1100
Subject: [Kst] Re: Duplicate plugins
In-Reply-To:
References: <4D7747F3.8000000@gmail.com>
Message-ID: <4D789F3F.4030102@gmail.com>
Thanks Barth and Nicolas for taking a look at this for me.
This must have been a problem specific to my installation. It's fixed now. For some reason I had
Kst installed in two different directories. I uninstalled Kst, deleted both directories and then
reinstalled it again.
On 10/03/2011 5:35 PM, Brisset, Nicolas wrote:
> I don't see this under Windows XP either (with kst installed in an empty directory from the 2.0.3-rc3 installer).
>
>> I don't see this under linux. It looks like maybe the plugins have
>> been installed twice on your system somehow.
>>
>>
>> On Wed, Mar 9, 2011 at 4:27 AM, Ben Lewis wrote:
>>> I have noticed a couple of issues with the latest version of Kst under
>>> windows
>>>
>>> All the plugins listed under "Standard Plugin", "Fit Plugin" and "Filter
>>> Plugin" are duplicated. See attached screen shot.
>>> .kst files are not associated with Kst. It would be nice if the
>> installer
>>> did this.
>
>
> Eurocopter Deutschland GmbH
> Sitz der Gesellschaft/Registered Office: Donauwoerth
> Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
> Geschaeftsfuehrung/Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
>
> CONFIDENTIALITY NOTICE
>
> This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
> If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
From stridentlyzy1 at elitap.ru Thu Mar 10 11:52:37 2011
From: stridentlyzy1 at elitap.ru (=?koi8-r?B?69PFzsnRLCDh19TP4NLJ09Q=?=)
Date: Thu, 10 Mar 2011 02:52:37 -0800
Subject: [Kst] =?koi8-r?b?7uX64ffp8+nt4fEg7+Pl7uvh?=
Message-ID: <830478500.20110310025237@>
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ! ! !
? ? ? ? ? ? ? : (495) 2 2 7 1 5 0 3
???????? ???????? ??????????, ??? 98% ?????? ?? ????????? ???????, ???????? ?????? ? ?????? ????????????.
???????? ??? ??????????? ??????:
- ??????????? ?????? ? ??????????,
- ????????? ? ????????? ????????,
- ????????? ? ??????????? ?????? ?????????? ???????,
- ????????? ? ?????????? ???? ????????????????,
- ??????? ????????? ? ???,
- ????? ???????????? ???? ???????? ? ????,
- ??????? ????????????? ??????? ???? ?? ?????? ????,
- ???????? ????????? ??????? ?????????? ?????????? ?? ??????? ????.
? ? ? ? ? ? ? : (495) 2 2 7 1 5 0 3
From mathieu660r at gmail.com Thu Mar 10 17:29:08 2011
From: mathieu660r at gmail.com (mathieu660r at gmail.com)
Date: Thu, 10 Mar 2011 16:29:08 +0000
Subject: [Kst] Re: Addition of sample on a specific range
In-Reply-To:
Message-ID: <000e0cd4b5b63c5b9f049e2358b0@google.com>
Hi,
I would want to thanks everyone who tried to solve my problem. The method
proposed by mister Netterfield is exactly what I was searching for. I will
set a delay on my hardware so the sample will be every second, this way I
will be able to use you method. Because I don't have acces to the hardware
for the moment I can't test you solution. But, I just want to be sure of
something. If I input the start and end of the sample will this vector will
update itself and sample it for each hour ? I know you talked about that in
your email but will this iterate automatically ? I also wanna know if it's
possible for KST to parse data on a COM port and flush the value every day?
Thanks
On Mar 9, 2011 7:09pm, Barth Netterfield
wrote:
> Are the data evenly sampled?
> If so: (this is for kst2. kst1.x is similar).
> When you read in the data (eg, data wizard page 3, or in the vector
> dialog), you will see in the "Data Range" widget an option
> "[ ] Read 1 sample per ________ frames [ ] Boxcar filter first"
> If you select both of these, and set the number of frames to the
> number of samples in an hour, then the data vector you read will be
> sampled once per hour, and will contain the average over that period.
> eg, if you sample the data once per second:
> [ x ] Read 1 sample per _3600_ frames [ x ] Boxcar filter first
> The resulting vector will contain the average for each hour, sampled
> once per hour.
> Then use an equation to multiply by the cost per kWhr to give the cost
> per hour.
> If you want the integrated cost, you can use the Cumulative Sum filter
> (in the plot->rmb->Filter->[Curvename] pulls up the filter dialog.
> Then select "Cumulative sum". Set the value of your dX, and perhaps
> chose to place the curve in a new plot).
> If the data are not evenly sampled, it is going to be hard to deal with
> in kst.
> cbn
> On Mon, Mar 7, 2011 at 10:49 PM, mathieu660r at gmail.com> wrote:
> > Hi,
> >
> > I'm new here and I find KST a really great tool for fast and efficient
> > plotting. I'm currently using some hardware to measure the real power of
> > some lights. I can plot the power easily and I can get the power value
> on
> > the y axis and the time on the x axis. My question is a little bit
> complex
> > so I will try to explain the best as I can if you have questions please
> ask.
> > So I want to add all the value of a time sample ( example : all the
> value
> > during 60 minutes and do it for each 60 minutes) and multiply the total
> > value by another value to get an approximation of the cost of
> electricity.
> >
> > Thanks,
> > Mathieu R.
> > _______________________________________________
> > Kst mailing list
> > Kst at kde.org
> > https://mail.kde.org/mailman/listinfo/kst
> >
> >
> --
> C. Barth Netterfield
> University of Toronto
> 416-845-0946
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110310/798f8afe/attachment.htm
From netterfield at astro.utoronto.ca Fri Mar 11 00:24:57 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Thu, 10 Mar 2011 18:24:57 -0500
Subject: [Kst] Re: branches/work/kst/portto4/kst/src
In-Reply-To:
References: <20110309031904.0C4EBAC8C4@svn.kde.org>
Message-ID:
> Could you tell us what you plan to do with the issue that duplicated
> vectors don't have correct metadata: fix it now, or release with the fix
> you made that prevents the change data file tool from crashing and wait
> for the next release to do a proper fix?
The metadata is only not picked up when the config options for the new file are
not correct. Currently, the config options for the old file are not
copied over to
the new one, so if they are of the same format, but different than the user's
default config, and the new file has never been opened, then it will be wrong.
In order to make it possible for the user to handle this, I have added
a datasource
config button to the change file dialog, so the user can manually set the format
of the new file.
Eventually, something more intelligent should happen. Like it should guess that
the file is of the same format of the old one, and then check using
some heuristics
to verify this. This is not for 2.0.3, which should probably be
released very soon.
--
C. Barth Netterfield
University of Toronto
416-845-0946
From netterfield at astro.utoronto.ca Fri Mar 11 00:28:54 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Fri, 11 Mar 2011 00:28:54 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src
Message-ID: <20110310232854.57AB2AC8C5@svn.kde.org>
SVN commit 1224439 by netterfield:
More automatic label work:
-propagate units through fits and filters
-start work to handle labels for different units between multiple curves in the same window.
M +10 -0 libkstapp/legenditem.cpp
M +4 -0 plugins/filters/butterworth_bandpass/butterworth_bandpass.cpp
M +4 -0 plugins/filters/butterworth_bandstop/butterworth_bandstop.cpp
M +4 -0 plugins/filters/butterworth_highpass/butterworth_highpass.cpp
M +3 -0 plugins/filters/butterworth_lowpass/butterworth_lowpass.cpp
M +4 -0 plugins/filters/despike/filterdespike.cpp
M +7 -0 plugins/fits/exponential_unweighted/fitexponential_unweighted.cpp
M +8 -0 plugins/fits/exponential_weighted/fitexponential_weighted.cpp
M +8 -0 plugins/fits/gaussian_unweighted/fitgaussian_unweighted.cpp
M +9 -0 plugins/fits/gaussian_weighted/fitgaussian_weighted.cpp
M +14 -0 plugins/fits/gradient_unweighted/fitgradient_unweighted.cpp
M +14 -0 plugins/fits/gradient_weighted/fitgradient_weighted.cpp
M +13 -0 plugins/fits/linear_unweighted/fitlinear_unweighted.cpp
M +13 -0 plugins/fits/linear_weighted/fitlinear_weighted.cpp
M +8 -0 plugins/fits/lorentzian_unweighted/fitlorentzian_unweighted.cpp
M +8 -0 plugins/fits/lorentzian_weighted/fitlorentzian_weighted.cpp
M +7 -0 plugins/fits/polynomial_unweighted/fitpolynomial_unweighted.cpp
M +7 -0 plugins/fits/polynomial_weighted/fitpolynomial_weighted.cpp
M +7 -0 plugins/fits/sinusoid_unweighted/fitsinusoid_unweighted.cpp
M +8 -0 plugins/fits/sinusoid_weighted/fitsinusoid_weighted.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/legenditem.cpp #1224438:1224439
@@ -89,7 +89,9 @@
int count = legendItems.count();
bool allAuto = true;
bool sameX = true;
+ bool sameYUnits = true;
LabelInfo label_info = legendItems.at(0)->xLabelInfo();
+ QString yUnits = legendItems.at(0)->xLabelInfo().units;
for (int i = 0; ixLabelInfo() != label_info) {
sameX = false;
}
+ // sameYUnits is false if any non empty units are defined differently.
+ if (yUnits.isEmpty()) {
+ yUnits = relation->yLabelInfo().units;
+ } else if (relation->yLabelInfo().units != yUnits) {
+ if (!relation->yLabelInfo().units.isEmpty()) {
+ sameYUnits = false;
}
+ }
+ }
if (!allAuto) {
for (int i = 0; ilabelInfo();
+ label_info.name = i18n("Filtered %1").arg(label_info.name);
+ outputVector->setLabelInfo(label_info);
+
return kst_pass_filter( inputVector, scalars, outputVector);
}
--- branches/work/kst/portto4/kst/src/plugins/filters/butterworth_bandstop/butterworth_bandstop.cpp #1224438:1224439
@@ -218,6 +218,10 @@
scalars.insert(1, rateScalar);
scalars.insert(2, bandwidthScalar);
+ Kst::LabelInfo label_info = inputVector->labelInfo();
+ label_info.name = i18n("Filtered %1").arg(label_info.name);
+ outputVector->setLabelInfo(label_info);
+
return kst_pass_filter( inputVector, scalars, outputVector);
}
--- branches/work/kst/portto4/kst/src/plugins/filters/butterworth_highpass/butterworth_highpass.cpp #1224438:1224439
@@ -194,6 +194,10 @@
scalars.insert(0, orderScalar);
scalars.insert(1, cutoffScalar);
+ Kst::LabelInfo label_info = inputVector->labelInfo();
+ label_info.name = i18n("Filtered %1").arg(label_info.name);
+ outputVector->setLabelInfo(label_info);
+
return kst_pass_filter( inputVector, scalars, outputVector);
}
--- branches/work/kst/portto4/kst/src/plugins/filters/butterworth_lowpass/butterworth_lowpass.cpp #1224438:1224439
@@ -190,6 +190,9 @@
scalars.insert(0, orderScalar);
scalars.insert(1, cutoffScalar);
+ Kst::LabelInfo label_info = inputVector->labelInfo();
+ label_info.name = i18n("Filtered %1").arg(label_info.name);
+ outputVector->setLabelInfo(label_info);
return kst_pass_filter( inputVector, scalars, outputVector);
}
--- branches/work/kst/portto4/kst/src/plugins/filters/despike/filterdespike.cpp #1224438:1224439
@@ -279,6 +279,10 @@
}
}
+ Kst::LabelInfo label_info = inputVector->labelInfo();
+ label_info.name = i18n("Despiked %1").arg(label_info.name);
+ outputVector->setLabelInfo(label_info);
+
return true;
}
--- branches/work/kst/portto4/kst/src/plugins/fits/exponential_unweighted/fitexponential_unweighted.cpp #1224438:1224439
@@ -212,6 +212,13 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Exponential Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Exponential Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
bool bReturn = false;
bReturn = kstfit_nonlinear( inputVectorX, inputVectorY,
--- branches/work/kst/portto4/kst/src/plugins/fits/exponential_weighted/fitexponential_weighted.cpp #1224438:1224439
@@ -227,6 +227,14 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Exponential Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Exponential Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
+
bool bReturn = false;
bReturn = kstfit_nonlinear_weighted( inputVectorX, inputVectorY, inputVectorWeights,
--- branches/work/kst/portto4/kst/src/plugins/fits/gaussian_unweighted/fitgaussian_unweighted.cpp #1224438:1224439
@@ -216,6 +216,14 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Gaussian Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Gaussian Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
bool bReturn = false;
bReturn = kstfit_nonlinear( inputVectorX, inputVectorY,
--- branches/work/kst/portto4/kst/src/plugins/fits/gaussian_weighted/fitgaussian_weighted.cpp #1224438:1224439
@@ -231,6 +231,15 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Gaussian Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Gaussian Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
+
bool bReturn = false;
bReturn = kstfit_nonlinear_weighted( inputVectorX, inputVectorY, inputVectorWeights,
--- branches/work/kst/portto4/kst/src/plugins/fits/gradient_unweighted/fitgradient_unweighted.cpp #1224438:1224439
@@ -172,6 +172,20 @@
Kst::VectorPtr outputVectorYHi = _outputVectors[VECTOR_OUT_Y_HI];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Gradient Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Gradient Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
+ label_info.name = i18n("Gradient Fit Lower Limit");
+ outputVectorYLo->setLabelInfo(label_info);
+
+ label_info.name = i18n("Gradient Fit Upper Limit");
+ outputVectorYHi->setLabelInfo(label_info);
+
int i = 0;
int iLength;
bool bReturn = false;
--- branches/work/kst/portto4/kst/src/plugins/fits/gradient_weighted/fitgradient_weighted.cpp #1224438:1224439
@@ -189,6 +189,20 @@
Kst::VectorPtr outputVectorYHi = _outputVectors[VECTOR_OUT_Y_HI];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Gradient Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Gradient Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
+ label_info.name = i18n("Gradient Fit Lower Limit");
+ outputVectorYLo->setLabelInfo(label_info);
+
+ label_info.name = i18n("Gradient Fit Upper Limit");
+ outputVectorYHi->setLabelInfo(label_info);
+
+
int i = 0;
int iLength;
bool bReturn = false;
--- branches/work/kst/portto4/kst/src/plugins/fits/linear_unweighted/fitlinear_unweighted.cpp #1224438:1224439
@@ -185,6 +185,19 @@
double y;
double yErr;
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Linear Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Linear Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
+ label_info.name = i18n("Linear Fit Lower Limit");
+ outputVectorYLo->setLabelInfo(label_info);
+
+ label_info.name = i18n("Linear Fit Upper Limit");
+ outputVectorYHi->setLabelInfo(label_info);
+
if( precursor( inputVectorX, inputVectorY, 0, &iLength, false, true, 2, pInputs, outputVectorYFitted, outputVectorYResiduals, outputVectorYParameters, outputVectorYCovariance, outputVectorYLo, outputVectorYHi ) ) {
if( !gsl_fit_linear( pInputs[XVALUES], 1, pInputs[YVALUES], 1, iLength, &c0, &c1, &cov00, &cov01, &cov11, &dSumSq ) ) {
--- branches/work/kst/portto4/kst/src/plugins/fits/linear_weighted/fitlinear_weighted.cpp #1224438:1224439
@@ -189,6 +189,19 @@
Kst::VectorPtr outputVectorYHi = _outputVectors[VECTOR_OUT_Y_HI];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Linear Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Linear Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
+ label_info.name = i18n("Linear Fit Lower Limit");
+ outputVectorYLo->setLabelInfo(label_info);
+
+ label_info.name = i18n("Linear Fit Upper Limit");
+ outputVectorYHi->setLabelInfo(label_info);
+
int i = 0;
int iLength;
bool bReturn = false;
--- branches/work/kst/portto4/kst/src/plugins/fits/lorentzian_unweighted/fitlorentzian_unweighted.cpp #1224438:1224439
@@ -216,6 +216,14 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Lorentzian Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Lorentzian Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
bool bReturn = false;
bReturn = kstfit_nonlinear( inputVectorX, inputVectorY,
--- branches/work/kst/portto4/kst/src/plugins/fits/lorentzian_weighted/fitlorentzian_weighted.cpp #1224438:1224439
@@ -231,6 +231,14 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Lorentzian Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Lorentzian Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
+
bool bReturn = false;
bReturn = kstfit_nonlinear_weighted( inputVectorX, inputVectorY, inputVectorWeights,
--- branches/work/kst/portto4/kst/src/plugins/fits/polynomial_unweighted/fitpolynomial_unweighted.cpp #1224438:1224439
@@ -193,6 +193,13 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Polynomial Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Polynomial Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
bool bReturn = false;
int iNumParams;
--- branches/work/kst/portto4/kst/src/plugins/fits/polynomial_weighted/fitpolynomial_weighted.cpp #1224438:1224439
@@ -209,6 +209,13 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Polynomial Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Polynomial Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
bool bReturn = false;
int iNumParams;
--- branches/work/kst/portto4/kst/src/plugins/fits/sinusoid_unweighted/fitsinusoid_unweighted.cpp #1224438:1224439
@@ -217,6 +217,13 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Sinusoidal Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Sinusoidal Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
bool bReturn = false;
int iNumParams;
--- branches/work/kst/portto4/kst/src/plugins/fits/sinusoid_weighted/fitsinusoid_weighted.cpp #1224438:1224439
@@ -233,6 +233,14 @@
Kst::VectorPtr outputVectorYCovariance = _outputVectors[VECTOR_OUT_Y_COVARIANCE];
Kst::ScalarPtr outputScalar = _outputScalars[SCALAR_OUT];
+
+ Kst::LabelInfo label_info = inputVectorY->labelInfo();
+ label_info.name = i18n("Sinusoidal Fit to %1").arg(label_info.name);
+ outputVectorYFitted->setLabelInfo(label_info);
+
+ label_info.name = i18n("Sinusoidal Fit Residuals");
+ outputVectorYResiduals->setLabelInfo(label_info);
+
bool bReturn = false;
int iNumParams;
From netterfield at astro.utoronto.ca Fri Mar 11 14:02:24 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Fri, 11 Mar 2011 14:02:24 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkstapp
Message-ID: <20110311130224.1E97CAC8C7@svn.kde.org>
SVN commit 1224488 by netterfield:
Legends and labels now properly handle curves with different units,
by putting them in the legend rather than in the axis label.
M +13 -8 legenditem.cpp
M +29 -18 plotrenderitem.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/legenditem.cpp #1224487:1224488
@@ -91,7 +91,7 @@
bool sameX = true;
bool sameYUnits = true;
LabelInfo label_info = legendItems.at(0)->xLabelInfo();
- QString yUnits = legendItems.at(0)->xLabelInfo().units;
+ QString yUnits = legendItems.at(0)->yLabelInfo().units;
for (int i = 0; ititleInfo();
- QString label = label_info.singleRenderItemLabel();
+ QString label = relation->titleInfo().singleRenderItemLabel();
if (label.isEmpty()) {
label_info = relation->yLabelInfo();
- if (!label_info.name.isEmpty()) {
+ QString y_label = label_info.name;
+ if (!sameYUnits) {
+ if (!label_info.units.isEmpty()) {
+ y_label = i18n("%1 \\[%2\\]").arg(y_label).arg(label_info.units);
+ }
+ }
+ if (!y_label.isEmpty()) {
LabelInfo xlabel_info = relation->xLabelInfo();
if (!sameX) {
- label = i18n("%1 vs %2").arg(label_info.name).arg(xlabel_info.name);
+ label = i18n("%1 vs %2").arg(y_label).arg(xlabel_info.name);
} else if (xlabel_info.quantity.isEmpty()) {
- label = label_info.name;
+ label = y_label;
} else if (xlabel_info.quantity != xlabel_info.name) {
- label = i18n("%1 vs %2").arg(label_info.name).arg(xlabel_info.name);
+ label = i18n("%1 vs %2").arg(y_label).arg(xlabel_info.name);
} else {
- label = label_info.name;
+ label = y_label;
}
} else {
label = relation->descriptiveName();
--- branches/work/kst/portto4/kst/src/libkstapp/plotrenderitem.cpp #1224487:1224488
@@ -326,7 +326,10 @@
units.clear();
quantity.clear();
- bool allSame = true;
+ bool nameSame = true;
+ bool unitsSame = true;
+ bool quantitySame = true;
+
int count;
count = relationList().size();
@@ -341,32 +344,40 @@
} else {
label_info = relationList().at(i)->yLabelInfo();
}
- if (label_info != first_label_info) {
- allSame = false;
+ if (label_info.name != first_label_info.name) {
+ nameSame = false;
}
+ if (!label_info.units.isEmpty()) {
+ if (units.isEmpty()) {
+ units = label_info.units;
+ } else {
+ if (label_info.units != units) {
+ unitsSame = false;
}
-
- if (allSame) {
- return label_info.singleRenderItemLabel();
}
-
- // search for the first vector with quantity and units; use it.
- foreach (const RelationPtr &relation, relationList()) {
- if (isX) {
- label_info = relation->xLabelInfo();
- } else {
- label_info = relation->yLabelInfo();
}
- if (!label_info.quantity.isEmpty() && !label_info.units.isEmpty()) {
- return QString("%1 \\[%2\\]").arg(label_info.quantity).arg(label_info.units);
- }
if (!label_info.quantity.isEmpty()) {
+ if (quantity.isEmpty()) {
quantity = label_info.quantity;
+ } else {
+ if (label_info.quantity != quantity) {
+ quantitySame = false;
}
- if (!label_info.units.isEmpty()) {
- units = label_info.units;
}
}
+ }
+
+ if (nameSame && unitsSame && quantitySame) {
+ return label_info.singleRenderItemLabel();
+ }
+
+ if (!quantitySame) {
+ quantity.clear();
+ }
+ if (!unitsSame) {
+ units.clear();
+ }
+
if (!units.isEmpty() && !quantity.isEmpty()) {
return QString("%1 \\[%2\\]").arg(quantity).arg(units);
} else if (!units.isEmpty()) {
From nicolas.brisset at free.fr Fri Mar 11 22:40:18 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Fri, 11 Mar 2011 22:40:18 +0100 (CET)
Subject: [Kst] Behavior of plugins: parts missing
In-Reply-To: <1205309685.823621299879549816.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <2144353304.823751299879618419.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi,
I have been playing a bit with plugins and I am having trouble with the behavior of plugins called from the create menu. If you call a filter plugin from the RMB in a plot, you get a dialog where the input vector is preselected and greyed out (OK, since you call it from the context menu of a curve) and where you can set the options of the curve to be created, as well as its placement.
When you want to create a plugin object from the create menu, you get a barebone dialog where you can only choose the input vector, and nothing more. The X vector is chosen to be the input vector, and the new curve is placed in a new plot. I don't grasp why we don't get the same dialog as in the first case, with only the input vector freely selectable.
Try to create a low-pass plugin on a curve from the context menu and then on the same curve but from the global Create->Filter Plugin menu, and you'll see what I mean!
I guess this is pretty easy to fix, and I'd really like it fixed ASAP because it is absolutely not user-friendly as it is - and not good enough for screencasts! Barth, does it sound possible to fix this prior to 2.0.3 or is it too much?
Nicolas
From netterfield at astro.utoronto.ca Fri Mar 11 23:42:08 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Fri, 11 Mar 2011 17:42:08 -0500
Subject: [Kst] Re: Behavior of plugins: parts missing
In-Reply-To: <2144353304.823751299879618419.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <1205309685.823621299879549816.JavaMail.root@zimbra13-e2.priv.proxad.net>
<2144353304.823751299879618419.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID:
Weird. Creating a plot is a bug here. I'll fix it.
On Mar 11, 2011 4:40 PM, "Nicolas Brisset" wrote:
> Hi,
>
> I have been playing a bit with plugins and I am having trouble with the
behavior of plugins called from the create menu. If you call a filter plugin
from the RMB in a plot, you get a dialog where the input vector is
preselected and greyed out (OK, since you call it from the context menu of a
curve) and where you can set the options of the curve to be created, as well
as its placement.
> When you want to create a plugin object from the create menu, you get a
barebone dialog where you can only choose the input vector, and nothing
more. The X vector is chosen to be the input vector, and the new curve is
placed in a new plot. I don't grasp why we don't get the same dialog as in
the first case, with only the input vector freely selectable.
>
> Try to create a low-pass plugin on a curve from the context menu and then
on the same curve but from the global Create->Filter Plugin menu, and you'll
see what I mean!
> I guess this is pretty easy to fix, and I'd really like it fixed ASAP
because it is absolutely not user-friendly as it is - and not good enough
for screencasts! Barth, does it sound possible to fix this prior to 2.0.3 or
is it too much?
>
> Nicolas
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110311/7c2b2fb0/attachment.htm
From netterfield at astro.utoronto.ca Mon Mar 14 13:35:34 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Mon, 14 Mar 2011 13:35:34 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst
Message-ID: <20110314123534.CFD4EAC8C7@svn.kde.org>
SVN commit 1224865 by netterfield:
Don't create a plot from the plain filter/fit dialog, when the
plot options are hidden.
Fix naming of equations.
M +1 -16 devel-docs/Kst2Specs/Bugs
M +16 -2 src/libkstapp/curvetab.ui
M +1 -1 src/libkstmath/equation.cpp
M +1 -1 src/widgets/curveplacement.cpp
--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/Bugs #1224864:1224865
@@ -15,20 +15,5 @@
Probably related bug: points don't always appear centered on the line.
--------------------
-With live data, occasionally the last few (several) samples show as a
-flat-line (at about the value of the last sample at the previous update)
-which magically fixes itself upon the next update. I think I have
-reported this before.
-
-and (same bug)
-
-With live data, add a label which contains a scalar showing the
-"Last" value of a vector. As the data is scrolling by, sometimes this
-scalar will indicate a value strikingly similar to the "Min" (or perhaps
-"First") value on the plot rather than the Last value.
-
-** This appears to be either a BLASTpol defile bug, or a filesystem issue. **
-
---------------------
-
Select box tool. Escape to cancel. Mouse zooms don't work until you actually draw a box.
+
--- branches/work/kst/portto4/kst/src/libkstapp/curvetab.ui #1224864:1224865
@@ -43,7 +43,14 @@
-
+
+
+
+ 0
+ 0
+
+
+
@@ -62,7 +69,14 @@
-
+
+
+
+ 0
+ 0
+
+
+
--- branches/work/kst/portto4/kst/src/libkstmath/equation.cpp #1224864:1224865
@@ -547,7 +547,7 @@
}
QString Equation::_automaticDescriptiveName() const {
- return _yOutVector->labelInfo().name;
+ return _yOutVector->titleInfo().name;
}
QString Equation::descriptionTip() const {
--- branches/work/kst/portto4/kst/src/widgets/curveplacement.cpp #1224864:1224865
@@ -42,7 +42,7 @@
CurvePlacement::Place CurvePlacement::place() const {
- if (_noPlot->isChecked())
+ if ((!isVisible()) || _noPlot->isChecked())
return NoPlot;
else if (_existingPlot->isChecked())
return ExistingPlot;
From Nicolas.Brisset at eurocopter.com Mon Mar 14 14:36:49 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Mon, 14 Mar 2011 14:36:49 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst
In-Reply-To: <20110314123534.CFD4EAC8C7@svn.kde.org>
References: <20110314123534.CFD4EAC8C7@svn.kde.org>
Message-ID:
> Don't create a plot from the plain filter/fit dialog, when the
> plot options are hidden.
Wouldn't it be better to always show the options, even if defaulting to
"do not place in any plot"? Because now indeed when you create a plugin
from the Create menu you don't get a new plot, but neither do you have
an easy option to create a curve and put it in a given plot.
I think I'd prefer having the same dialog as when calling from the
curves's RMB, with all options.
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From netterfield at astro.utoronto.ca Mon Mar 14 15:43:37 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Mon, 14 Mar 2011 10:43:37 -0400
Subject: [Kst] Re: branches/work/kst/portto4/kst
In-Reply-To:
References: <20110314123534.CFD4EAC8C7@svn.kde.org>
Message-ID:
From bogus@does.not.exist.com Mon Mar 14 00:20:28 2011
From: bogus@does.not.exist.com ()
Date: Sun, 13 Mar 2011 23:20:28 -0000
Subject: No subject
Message-ID:
From bogus@does.not.exist.com Mon Mar 14 00:20:28 2011
From: bogus@does.not.exist.com ()
Date: Sun, 13 Mar 2011 23:20:28 -0000
Subject: No subject
Message-ID:
clearly defined.
We may be able to come up with a more convenient way to automatically
handle plugins later (ie, not for 2.0.3) but for now, the suggested
workflow is to create fits and filters from the RMB menu. This is in
my private wishlist, and may be in bugzilla as well (I haven't
checked).
In the meantime: no new features or wishlist items for 2.0.3. kst is
not done, but the current svn is enough better than 2.0.2 that it
would be really silly to delay further.
EXCEPT: I discovered a critical bug in specifying plots from the
command line which I really need to fix. I hope to fix it on the way
home tonight. We should release as soon as possible after that.
On Mon, Mar 14, 2011 at 9:36 AM, Brisset, Nicolas
wrote:
>> Don't create a plot from the plain filter/fit dialog, when the
>> plot options are hidden.
> Wouldn't it be better to always show the options, even if defaulting to
> "do not place in any plot"? Because now indeed when you create a plugin
> from the Create menu you don't get a new plot, but neither do you have
> an easy option to create a curve and put it in a given plot.
>
> I think I'd prefer having the same dialog as when calling from the
> curves's RMB, with all options.
>
> Nicolas
>
>
> Eurocopter Deutschland GmbH
> Sitz der Gesellschaft/Registered Office: Donauwoerth
> Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lu=
tz Bertling
> Geschaeftsfuehrung/Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Ba=
rnscheidt
>
> CONFIDENTIALITY NOTICE
>
> This communication and the information it contains is intended for the ad=
dressee(s) named above and for no other persons or organizations. It is con=
fidential and may be legally privileged and protected by law. The unauthori=
zed use, copying or disclosure of this communication or any part of it is p=
rohibited and may be unlawful.
> If you have received this communication in error, kindly notify us by ret=
urn e-mail and discard and/or delete the communication. Thank you very much=
.
> It is possible for e-mails to be intercepted or affected by viruses. Whil=
st we maintain virus checks on our e-mails, we accept no liability for viru=
ses or other material which might be introduced with this message.
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
--=20
C. Barth Netterfield
University of Toronto
416-845-0946
From netterfield at astro.utoronto.ca Tue Mar 15 14:40:14 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Tue, 15 Mar 2011 14:40:14 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkstapp
Message-ID: <20110315134014.41ADEAC8C7@svn.kde.org>
SVN commit 1224983 by netterfield:
Fix view settings on command line startup, by explicitly setting the
scene size to something non-zero.
This change appears to have been made necessary by at qt update,
but I'm not sure of that.
M +0 -1 plotitem.cpp
M +3 -2 view.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/plotitem.cpp #1224982:1224983
@@ -3638,7 +3638,6 @@
void CreatePlotForCurve::createItem() {
_item = new PlotItem(_view);
-
creationComplete(); //add to undo stack
}
--- branches/work/kst/portto4/kst/src/libkstapp/view.cpp #1224982:1224983
@@ -70,6 +70,7 @@
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setScene(new Scene(this));
+ scene()->setSceneRect(rect());
scene()->installEventFilter(this);
setInteractive(true);
setRenderHints(QPainter::Antialiasing | QPainter::TextAntialiasing | QPainter::SmoothPixmapTransform);
@@ -384,7 +385,7 @@
viewport()->resize(size);
- setSceneRect(QRectF(0.0, 0.0, size.width() - 4.0, size.height() - 4.0));
+ setSceneRect(QRectF(0.0, 0.0, size.width() - 1.0, size.height() - 1.0));
updateBrush();
@@ -411,7 +412,7 @@
if (size() != sceneRect().size()) {
QRectF oldSceneRect = sceneRect();
- setSceneRect(QRectF(0.0, 0.0, width() - 4.0, height() - 4.0));
+ setSceneRect(QRectF(0.0, 0.0, width() - 1.0, height() - 1.0));
updateBrush();
From netterfield at astro.utoronto.ca Tue Mar 15 15:15:00 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Tue, 15 Mar 2011 10:15:00 -0400
Subject: [Kst] ready for release?
Message-ID:
I think there are no remaining critical code bugs, and that we should
package up and announce kst 2.0.3 asap.
Matt and Steve, are you happy with the build system and the packaging now?
--
C. Barth Netterfield
University of Toronto
416-845-0946
From matt at truch.net Tue Mar 15 15:17:24 2011
From: matt at truch.net (Matthew D Truch)
Date: Tue, 15 Mar 2011 10:17:24 -0400
Subject: [Kst] Re: ready for release?
In-Reply-To:
References:
Message-ID: <20110315141724.GA5830@truch.net>
> I think there are no remaining critical code bugs, and that we should
> package up and announce kst 2.0.3 asap.
>
> Matt and Steve, are you happy with the build system and the packaging now?
There might be a couple more minor issues, but they are minor enough
that they can wait. From my point of view, release!
--
"Things are more like they are today than they ever have been before."
--------------------------
Matthew Truch
Department of Physics and Astronomy
University of Pennsylvania
matt at truch.net
http://matt.truch.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20110315/3c8d5c6c/attachment.sig
From sbenton at physics.utoronto.ca Tue Mar 15 15:25:18 2011
From: sbenton at physics.utoronto.ca (Steve Benton)
Date: Tue, 15 Mar 2011 10:25:18 -0400
Subject: [Kst] Re: ready for release?
In-Reply-To:
References:
Message-ID: <4D7F76CE.7030806@physics.utoronto.ca>
On 15/03/2011 10:15 AM, Barth Netterfield wrote:
> Matt and Steve, are you happy with the build system and the packaging now?
>
Yup. deb package works happily with cmake.
From Nicolas.Brisset at eurocopter.com Tue Mar 15 18:29:37 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Tue, 15 Mar 2011 18:29:37 +0100
Subject: [Kst] Re: ready for release?
In-Reply-To:
References:
Message-ID:
> I think there are no remaining critical code bugs, and that we should
> package up and announce kst 2.0.3 asap.
I'll do some basic functional tests (also known as "quality assurance"
as soon as I can (hopefully tonight) and let you know if I stumble
across bad issues. If it's good, then we'll release and make plans for
the next version, which would be 2.1.0 if we want to change the file
format for some things like auto-legends. Is that right?
And speaking about packaging, is there someone doing OpenSuse packages?
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From ctrippe at opensuse.org Tue Mar 15 21:36:18 2011
From: ctrippe at opensuse.org (Christian Trippe)
Date: Tue, 15 Mar 2011 21:36:18 +0100
Subject: [Kst] Re: ready for release?
Message-ID: <1325271.7LgClcjqfE@asterix.site>
> And speaking about packaging, is there someone doing OpenSuse packages?
I have build the kst package for openSUSE for the last release and also have a
working build with RC2 based on CMake.
The openSUSE build checks complained about a few issues where the most
important ones (which make the package fail to build because of these not
passed tests) I have reported at https://bugs.kde.org/show_bug.cgi?id=267828
But nothing to stop a release from my point of view.
Christian
Ps: I hope, I don't destroy the thread as I was not subscribed to the list
before this mail.
From syntheticpp at gmx.net Tue Mar 15 22:18:13 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Tue, 15 Mar 2011 22:18:13 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/kst
Message-ID: <20110315211813.9620CAC8C7@svn.kde.org>
SVN commit 1225000 by kuemmel:
fix wrong desktop file, thx to Christian Trippe
M +2 -2 kst.desktop
--- branches/work/kst/portto4/kst/src/kst/kst.desktop #1224999:1225000
@@ -1,9 +1,9 @@
[Desktop Entry]
Type=Application
-Exec=kst -caption "%c" %i %m
+Exec=kst2 -caption "%c" %i %m
Icon=kst
DocPath=kst/index.html
-MimeType=application/x-kst
+MimeType=application/x-kst;
Categories=Qt;KDE;Science;
Name=Kst
Name[hi]=??????
From syntheticpp at gmx.net Tue Mar 15 22:19:12 2011
From: syntheticpp at gmx.net (=?UTF-8?Q?Peter=20K=C3=BCmmel=20?=)
Date: Tue, 15 Mar 2011 22:19:12 +0100 (CET)
Subject: [Kst] [Bug 267828] Problems with the kst.desktop file shipped with
2.0.3 rc2
In-Reply-To:
References:
Message-ID: <20110315211912.AB0CA81D5A@immanuel.kde.org>
https://bugs.kde.org/show_bug.cgi?id=267828
Peter K?mmel changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |syntheticpp at gmx.net
--- Comment #1 from Peter K?mmel 2011-03-15 22:19:12 ---
1. and 2. are fixed.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From nicolas.brisset at free.fr Tue Mar 15 22:55:04 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Tue, 15 Mar 2011 22:55:04 +0100 (CET)
Subject: [Kst] Re: ready for release?
In-Reply-To: <504218422.1345071300225522848.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <34111004.1346251300226104655.JavaMail.root@zimbra13-e2.priv.proxad.net>
----- "Christian Trippe" a ?crit :
> I have build the kst package for openSUSE for the last release and
> also have a working build with RC2 based on CMake.
Hey, cool! I have just seen that you're the guy who provides those up-to-date OpenSUSE kst rpms in KDE:Release:46/openSUSE_11.3 (among others). I had wondered who was doing that but had not bothered checking until now. So now I know whom to thank: thank you!
> The openSUSE build checks complained about a few issues where the most
> important ones (which make the package fail to build because of these
> not passed tests) I have reported at
> https://bugs.kde.org/show_bug.cgi?id=267828
Peter has just included your changes. Could you check whether kst now builds fine? It seems for 2.0.2 you had another patch along the lines of:
-#include
+#include
Is it still needed? Can we find a way to include it mainstream?
> Ps: I hope, I don't destroy the thread as I was not subscribed to the
> list before this mail.
You don't seriously think we'd be angry to have a new subscriber, do you?
No problem, at least for me. I find it much more painful that all mails I sent from my work adress get this stupid disclaimer which there is no way to turn off!
Nicolas
From netterfield at astro.utoronto.ca Tue Mar 15 23:50:58 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Tue, 15 Mar 2011 18:50:58 -0400
Subject: [Kst] Re: ready for release?
In-Reply-To: <1325271.7LgClcjqfE@asterix.site>
References: <1325271.7LgClcjqfE@asterix.site>
Message-ID:
Thanks, Christian!
Welcome to the list :-)
On Tue, Mar 15, 2011 at 4:36 PM, Christian Trippe wrote:
>> And speaking about packaging, is there someone doing OpenSuse packages?
>
> I have build the kst package for openSUSE for the last release and also have a
> working build with RC2 based on CMake.
>
> The openSUSE build checks complained about a few issues where the most
> important ones (which make the package fail to build because of these not
> passed tests) I have reported at https://bugs.kde.org/show_bug.cgi?id=267828
>
> But nothing to stop a release from my point of view.
>
> Christian
>
> Ps: I hope, I don't destroy the thread as I was not subscribed to the list
> before this mail.
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
--
C. Barth Netterfield
University of Toronto
416-845-0946
From nicolas.brisset at free.fr Wed Mar 16 00:02:44 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Wed, 16 Mar 2011 00:02:44 +0100 (CET)
Subject: [Kst] 2.0.3 RC "QA" results
In-Reply-To: <739684500.1351621300230072255.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <742885809.1351671300230164701.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi,
so I've played around with a lot of features. The version is today's svn. Here are some observations. It looks good on the whole, and I wouldn't mind releasing as is, apart maybe from the crash I listed first, but it may be ditro-specific.
If one or the other issue can be fixed in a few minutes, we can also do it quickly before release (but I won't have time). Otherwise we can do a 2.0.4 soon after 2.0.3 before starting more complicated things for 2.1.0... I'll let Barth decide :-)
In any case I've listed all my observations here so that I don't forget them later... Sorry that's it's become a bit long, but I tested quite a lot of stuff.
- the polynomial interpolation plugin crashes!!! Message: symbol lookup error: /usr/lib/libgsl.so.0: undefined symbol: cblas_dasum. I have gsl 1.12... The gaussian fit also crashes with a similar message (cblas_dnrm2). This is with stock openSUSE rpms, does it also happen on other systems?
- when in layout mode, there is an offset between the image you drag around and the location at which the plot is anchored when you release the mouse button. This really gets on the nerves!
- in layout mode, rotated plots are shown normal during drag (Peter already mentioned this, but I don't know whether it's hard to fix it or if he just forgot)
- using the edit multiple mode on curves, you can't set point properties correctly: the drop down to point types is not showing anything useful (white on white...) and Density is disabled even when you click "Show points". It works in "edit single" mode. If it's easy to fix, that would be nice... "Show lines" works well, so I guess it's not too hard.
- legend font sizes seem to default to 0 points (and are shown with a tiny font here, which does not even seem to obey the minimum font size I set in the settings)
- the change data file tool does not remember the last new file used
- when you add a curve based on an equation to the first plot, all plots on the page are rearranged and the first one becomes the last one. Very disturbing! (This happens with "Automatic layout" checked, but automatic layout does not do that if called from the RMB!)
- I don't like the fact that plugins create 2 slave vectors. That's a point we've alredy started to discuss => I'll come back to it post 2.0.3
- legend items should be unique, they are not. To reproduce: plot CStk from the TWIN1xxx sample, then use the change data file tool to plot the same from TWIN2: the legend has two identical entries. In that particular case the name could stay in the left label as it is common, and we'd need a hint at the datasource or a way to recognize which curve is which (the C1/C2 id?).
- if you generate a scalar from another scalar (you can, using the Generate option even though it's a bit clumsy without the scalar selector) it does not get updated. If you create a label from it, the label obviously does not update - which is a use case we discussed recently... The name of the scalar is also not very elegant ("fixme: set _slaveName!")
- the undo/redo system is broken to the point where I fear using it (it crashes pretty easily). Even Word does it much better (though that's about all it does well!)
- when showing only part of the points (density < all), the intervals between points look weird/very uneven
- if you do an equation like [CStk (V2)]-[offset (X83)] where offset is a generated salar set to some value (e.g. 10), when you change the value of offset from the data manager the curve does not update. Double-click the equation and hit OK => the update comes.
- when plotting XY plots and PSDs from the TWIN1xxx sample on CStk, PStk, RStk, YPdl the plots with PSDs don't get a log X-axis by default. Maybe they should? But worse is the fact that when you set the X axis to log, you get strange curves with a first X point around 1e-281. And the best part: when you plot all points, the X-axis range changes. I'm confused...
Well, even though 2.0.3 looks like a pretty nice and stable release (better than previous ones in the 2.0 series in any case), it looks like there are still some things we can improve around the edges. Of course, most of the points above are a bit hidden and don't prevent from working efficiently with kst. But if it's all about ploish, then we can/should do some more.
And I haven't yet started telling you all the ideas I have for the longer term... We definitely need more developers!
Nicolas
From syntheticpp at gmx.net Wed Mar 16 00:13:33 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Wed, 16 Mar 2011 00:13:33 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/cmake/modules
Message-ID: <20110315231333.8F6ECAC8C7@svn.kde.org>
SVN commit 1225010 by kuemmel:
cmake: also find debug libaries (matches with getdata's cmake build for msvc)
M +16 -6 FindGetdata.cmake
--- branches/work/kst/portto4/kst/cmake/modules/FindGetdata.cmake #1225009:1225010
@@ -27,15 +27,25 @@
PATHS ${kst_3rdparty_dir} ${GETDATA_INCLUDEDIR})
foreach(it ${PKGGETDATA_LIBRARIES})
- set(lib lib-NOTFOUND CACHE STRING "" FORCE)
- FIND_LIBRARY(lib ${it}
- HINTS
- ENV GSL_DIR
- PATH_SUFFIXES lib
+ set(lib_release lib_release-NOTFOUND CACHE STRING "" FORCE)
+ FIND_LIBRARY(lib_release ${it}
+ HINTS ENV GETDATA_DIR PATH_SUFFIXES lib
PATHS ${kst_3rdparty_dir} ${PKGGETDATA_LIBRARY_DIRS})
- list(APPEND GETDATA_LIBRARIES ${lib})
+ list(APPEND GETDATA_LIBRARIES_RELEASE ${lib_release})
+ list(APPEND GETDATA_LIBRARIES_BOTH optimized ${lib_release})
+ set(lib_debug lib_debug-NOTFOUND CACHE STRING "" FORCE)
+ FIND_LIBRARY(lib_debug ${it}d
+ HINTS ENV GETDATA_DIR PATH_SUFFIXES lib
+ PATHS ${kst_3rdparty_dir} ${PKGGETDATA_LIBRARY_DIRS})
+ list(APPEND GETDATA_LIBRARIES_DEBUG ${lib_debug})
+ list(APPEND GETDATA_LIBRARIES_BOTH debug ${lib_debug})
endforeach()
+if(GETDATA_LIBRARIES_DEBUG AND GETDATA_LIBRARIES_RELEASE)
+ set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_BOTH})
+else()
+ set(GETDATA_LIBRARIES ${GETDATA_LIBRARIES_RELEASE})
+endif()
IF(GETDATA_INCLUDEDIR AND GETDATA_INCLUDEDIR)
From netterfield at astro.utoronto.ca Wed Mar 16 13:51:33 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Wed, 16 Mar 2011 13:51:33 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src
Message-ID: <20110316125133.5745FAC8C7@svn.kde.org>
SVN commit 1225051 by netterfield:
BUG:
Fix invisible point type in curveappearance in edit multiple mode.
Fix default font size for legends (but the default isn't sticky yet).
M +1 -1 libkstapp/legenditem.cpp
M +5 -0 widgets/curveappearance.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/legenditem.cpp #1225050:1225051
@@ -254,7 +254,7 @@
font.fromString(_dialogDefaults->value("legend/font",font.toString()).toString());
setFont(font);
- setFontScale(_dialogDefaults->value("legend/fontScale", 0.0).toDouble());
+ setFontScale(_dialogDefaults->value("legend/fontScale", 12.0).toDouble());
_verticalDisplay = _dialogDefaults->value("legend/verticalDisplay",true).toBool();
// set the pen
--- branches/work/kst/portto4/kst/src/widgets/curveappearance.cpp #1225050:1225051
@@ -75,6 +75,9 @@
void CurveAppearance::populateSymbolCombo(QComboBox *combo, QColor symbolColor) {
+ if (symbolColor == Qt::transparent) {
+ symbolColor = Qt::black;
+ }
QStyleOptionComboBox option;
option.initFrom(combo);
option.currentIcon = combo->itemIcon(combo->currentIndex());
@@ -361,7 +364,9 @@
void CurveAppearance::clearValues() {
_color->clearSelection();
+ _headColor->clearSelection();
_spinBoxLineWidth->clear();
+ _comboHeadSymbol->setCurrentIndex(-1);
_comboPointSymbol->setCurrentIndex(-1);
_comboPointDensity->setCurrentIndex(-1);
_comboLineStyle->setCurrentIndex(-1);
From netterfield at astro.utoronto.ca Wed Mar 16 14:09:21 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Wed, 16 Mar 2011 09:09:21 -0400
Subject: [Kst] Re: 2.0.3 RC "QA" results
In-Reply-To: <742885809.1351671300230164701.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <739684500.1351621300230072255.JavaMail.root@zimbra13-e2.priv.proxad.net>
<742885809.1351671300230164701.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID:
Thanks for this great report Nicolas!
I'm leaving for a few days starting momentarily, so I won't be able to
get any more of this taken care of. I think 2.0.3 should go out
anyway, and we can release a 2.0.4 in a few weeks.
cbn
On Tue, Mar 15, 2011 at 7:02 PM, Nicolas Brisset
wrote:
> - the polynomial interpolation plugin crashes!!! Message: symbol lookup error: /usr/lib/libgsl.so.0: undefined symbol: cblas_dasum. I have gsl 1.12... The gaussian fit also crashes with a similar message (cblas_dnrm2). This is with stock openSUSE rpms, does it also happen on other systems?
No crash on gaussian fit.
The poly interp is easy to crash with bad inputs, but not with the
error you list. We need a wishlist for a better interpolation
interface.
> - when in layout mode, there is an offset between the image you drag around and the location at which the plot is anchored when you release the mouse button. This really gets on the nerves!
I don't see this. How big is the offset?
> - in layout mode, rotated plots are shown normal during drag (Peter already mentioned this, but I don't know whether it's hard to fix it or if he just forgot)
2.1 Bug
> - using the edit multiple mode on curves, you can't set point properties correctly: the drop down to point types is not showing anything useful (white on white...) and Density is disabled even when you click "Show points". It works in "edit single" mode. If it's easy to fix, that would be nice... "Show lines" works well, so I guess it's not too hard.
Fixed.
> - legend font sizes seem to default to 0 points (and are shown with a tiny font here, which does not even seem to obey the minimum font size I set in the settings)
Fixed
> - the change data file tool does not remember the last new file used
> - when you add a curve based on an equation to the first plot, all plots on the page are rearranged and the first one becomes the last one. Very disturbing! (This happens with "Automatic layout" checked, but automatic layout does not do that if called from the RMB!)
2.1: A complete re-do of automatic layout is required. Can you start
a wishlist for it.
> - I don't like the fact that plugins create 2 slave vectors. That's a point we've alredy started to discuss => I'll come back to it post 2.0.3
2.1 Please create a wishlist for discussion.
> - legend items should be unique, they are not. To reproduce: plot CStk from the TWIN1xxx sample, then use the change data file tool to plot the same from TWIN2: the legend has two identical entries. In that particular case the name could stay in the left label as it is common, and we'd need a hint at the datasource or a way to recognize which curve is which (the C1/C2 id?).
2.0.4. Please create a wishlist.
> - if you generate a scalar from another scalar (you can, using the Generate option even though it's a bit clumsy without the scalar selector) it does not get updated. If you create a label from it, the label obviously does not update - which is a use case we discussed recently... The name of the scalar is also not very elegant ("fixme: set _slaveName!")
2.0.4 Bug.
> - the undo/redo system is broken to the point where I fear using it (it crashes pretty easily). Even Word does it much better (though that's about all it does well!)
2.1 Bug.
> - when showing only part of the points (density < all), the intervals between points look weird/very uneven
2.0.4 Bug
> - if you do an equation like [CStk (V2)]-[offset (X83)] where offset is a generated salar set to some value (e.g. 10), when you change the value of offset from the data manager the curve does not update. Double-click the equation and hit OK => the update comes.
2.0.4 Bug.
> - when plotting XY plots and PSDs from the TWIN1xxx sample on CStk, PStk, RStk, YPdl the plots with PSDs don't get a log X-axis by default. Maybe they should?
It is a sticky default. Non-log is a fine initial default.
> But worse is the fact that when you set the X axis to log, you get strange curves with a first X point around 1e-281. And the best part: when you plot all points, the X-axis range changes. I'm confused...
I don't see this. Can you send a screen shot?
> Well, even though 2.0.3 looks like a pretty nice and stable release (better than previous ones in the 2.0 series in any case), it looks like there are still some things we can improve around the edges. Of course, most of the points above are a bit hidden and don't prevent from working efficiently with kst. But if it's all about ploish, then we can/should do some more.
> And I haven't yet started telling you all the ideas I have for the longer term... We definitely need more developers!
> Nicolas
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
--
C. Barth Netterfield
University of Toronto
416-845-0946
From ctrippe at opensuse.org Wed Mar 16 22:12:59 2011
From: ctrippe at opensuse.org (Christian Trippe)
Date: Wed, 16 Mar 2011 22:12:59 +0100
Subject: [Kst] Re: ready for release?
In-Reply-To: <34111004.1346251300226104655.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <34111004.1346251300226104655.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <2371142.MWSOnnPclZ@asterix.site>
Am Dienstag, 15. M?rz 2011, 22:55:04 schrieb Nicolas Brisset:
> ----- "Christian Trippe" a ?crit :
> > The openSUSE build checks complained about a few issues where the most
> > important ones (which make the package fail to build because of these
> > not passed tests) I have reported at
> > https://bugs.kde.org/show_bug.cgi?id=267828
>
> Peter has just included your changes. Could you check whether kst now builds
> fine? It seems for 2.0.2 you had another patch along the lines of:
> -#include
> +#include
> Is it still needed? Can we find a way to include it mainstream?
>
It needs this change and another one to build the cfitsio plugin with the
libcfitsio0 package from openSUSE.
The updated patch is attached. I do not know if it should get included.
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfitsio_build.diff
Type: text/x-patch
Size: 950 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20110316/e705246d/attachment.diff
From get.sonic at gmail.com Thu Mar 17 02:16:41 2011
From: get.sonic at gmail.com (Sonic)
Date: Thu, 17 Mar 2011 06:46:41 +0530
Subject: [Kst] Creating Datasource Reader
Message-ID: <4D8160F9.2000608@gmail.com>
Hello
We've been using a package called Easyplot for all our plotting
needs and we're now considering Kst 1.8 on Linux. (Can't use Kst 2.x
series because we're on KDE 3.5 on RHEL 5).
Our plot files are single independent files that contain ASCII header
(that describe the number of columns, X & y vectors, formatting etc.)
followed by ASCII or binary data. I'd like to know if I can make Kst
open and use the same plot file by creating a custom datasource reader.
My requirement is that by opening the file in Kst, the plot should
appear, without the user needing to select more options or making more
clicks. It's okay if I need to call Kst with some command line options.
Before I jump on creating a custom reader, I thought I should ask here
if this is even possible with Kst 1.x.
Any help is highly appreciated.
Thanks,
Syam Krishnan C.R.
From Nicolas.Brisset at eurocopter.com Thu Mar 17 08:19:19 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Thu, 17 Mar 2011 08:19:19 +0100
Subject: [Kst] Re: Creating Datasource Reader
In-Reply-To: <4D8160F9.2000608@gmail.com>
References: <4D8160F9.2000608@gmail.com>
Message-ID:
Hi,
> We've been using a package called Easyplot for all our plotting
> needs and we're now considering Kst 1.8 on Linux. (Can't use Kst 2.x
> series because we're on KDE 3.5 on RHEL 5).
Just a quick note in case you're not aware of it: kst2 has far less
dependencies than kst1 had. In particular, it is currently a pure Qt4
app, which means kdelibs and all of its dependencies are not required.
We are planning to offer optional KDE integration on the platforms where
it is available, but it will stay optional.
Qt4 is supported on such a broad range of platforms that I don't think
installing it on RHEL 5 would be an issue. Also note that you don't need
admin privileges, you can install Qt4 and kst2 anywhere you like. If you
don't know how that goes, ask here: we can provide instructions.
That being said, please be aware that kst2 is not (yet) on feature
parity with kst 1.x. It does have some features that kst 1.x does not
have (and never will have), but things like scripting are still missing.
Also loading kst 1.x files, but if you're new to kst this shouldn't be
much of an issue.
All in all, I'd tend towards kst2 unless you absolutely need scripting
and need it fast (it will be brought back at some point in time, though
not necessarily compatible with kst 1.x scripting).
> Our plot files are single independent files that contain ASCII header
> (that describe the number of columns, X & y vectors, formatting etc.)
> followed by ASCII or binary data. I'd like to know if I can make Kst
> open and use the same plot file by creating a custom datasource
reader.
Plain ASCII files hould be supported out of the box, kst is really very
configurable in that respect. Regarding binary files you'll probably
have to make some changes. Creating a custom datasource is always
possible and allows you anything.
I'd recommend doing it in a generic way and contributing it to kst
(preferably 2), so that we are able to help and so that others also
benefit from your efforts. One thing which may be discussed is making
the change directly in the ASCII datasource: if the only difference
between your ASCII and binary options is the storage of the data, maybe
adding a checkbox "binary data" and using a different approach to parse
the file would make sense. To be discussed, here is the right place.
> My requirement is that by opening the file in Kst, the plot should
> appear, without the user needing to select more options or making more
> clicks. It's okay if I need to call Kst with some command line
options.
I believe what you're asking for is already available: you can create a
plot based on a data file, and reuse the same layout with another data
file. You can even easily compare the two files using the "Change Data
File" tool, be it kst 1.x or 2.x.
> Before I jump on creating a custom reader, I thought I should ask here
> if this is even possible with Kst 1.x.
Well, I hope I answered your questions. If you have more or I didn't
understand your questions correctly, please ask again.
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From Nicolas.Brisset at eurocopter.com Thu Mar 17 08:22:12 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Thu, 17 Mar 2011 08:22:12 +0100
Subject: [Kst] Re: ready for release?
In-Reply-To: <2371142.MWSOnnPclZ@asterix.site>
References: <34111004.1346251300226104655.JavaMail.root@zimbra13-e2.priv.proxad.net>
<2371142.MWSOnnPclZ@asterix.site>
Message-ID:
> It needs this change and another one to build the cfitsio plugin with
the
> libcfitsio0 package from openSUSE.
>
> The updated patch is attached. I do not know if it should get
included.
I believe the cmake check could be integrated.
For the other issue (the include path) I guess if we detect include
paths well in the cmake check we could keep #include in the
code and it will work.
Peter, you're the build system guru: what do you think?
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
From ctrippe at opensuse.org Thu Mar 17 19:41:44 2011
From: ctrippe at opensuse.org (Christian Trippe)
Date: Thu, 17 Mar 2011 19:41:44 +0100
Subject: [Kst] Re: ready for release?
In-Reply-To:
References: <34111004.1346251300226104655.JavaMail.root@zimbra13-e2.priv.proxad.net>
<2371142.MWSOnnPclZ@asterix.site>
Message-ID: <1525309.nDTz241sX4@asterix.site>
Am Donnerstag, 17. M?rz 2011, 08:22:12 schrieb Brisset, Nicolas:
> > It needs this change and another one to build the cfitsio plugin with
>
> the
>
> > libcfitsio0 package from openSUSE.
> >
> > The updated patch is attached. I do not know if it should get
>
> included.
> I believe the cmake check could be integrated.
> For the other issue (the include path) I guess if we detect include
> paths well in the cmake check we could keep #include in the
> code and it will work.
Sorry for not really checking earlier. With the new cmake build the second
part is no longer needed, only the first part
Index: cmake/modules/FindCFITSIO.cmake
===================================================================
--- cmake/modules/FindCFITSIO.cmake (Revision 1223149)
+++ cmake/modules/FindCFITSIO.cmake (Arbeitskopie)
@@ -10,7 +10,7 @@
FIND_PATH(CFITSIO_INCLUDEDIR fitsio.h
HINTS
ENV CFITSIO_DIR
- PATH_SUFFIXES include/cfitsio include
+ PATH_SUFFIXES include/libcfitsio0 include
PATHS ${kst_3rdparty_dir}
)
FIND_LIBRARY(CFITSIO_LIBRARIES cfitsio
is needed as it otherwise does not detect the presence of fitsio.h
Christian
From syntheticpp at gmx.net Thu Mar 17 20:36:13 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Thu, 17 Mar 2011 20:36:13 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/cmake/modules
Message-ID: <20110317193613.13B73AC8C8@svn.kde.org>
SVN commit 1225170 by kuemmel:
needed on openSUSE
M +1 -1 FindCFITSIO.cmake
--- branches/work/kst/portto4/kst/cmake/modules/FindCFITSIO.cmake #1225169:1225170
@@ -10,7 +10,7 @@
FIND_PATH(CFITSIO_INCLUDEDIR fitsio.h
HINTS
ENV CFITSIO_DIR
- PATH_SUFFIXES include/cfitsio include
+ PATH_SUFFIXES include include/cfitsio include/libcfitsio0
PATHS ${kst_3rdparty_dir}
)
FIND_LIBRARY(CFITSIO_LIBRARIES cfitsio
From nicolas.brisset at free.fr Thu Mar 17 22:07:46 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Thu, 17 Mar 2011 22:07:46 +0100 (CET)
Subject: [Kst] Re: branches/work/kst/portto4/kst/cmake/modules
In-Reply-To: <20110317193613.13B73AC8C8@svn.kde.org>
Message-ID: <47408710.1675081300396066497.JavaMail.root@zimbra13-e2.priv.proxad.net>
----- "Peter K?mmel" a ?crit :
> SVN commit 1225170 by kuemmel:
>
> needed on openSUSE
>
> M +1 -1 FindCFITSIO.cmake
Christian, can you check whether that's OK?
Peter, can you then package 2.0.3 final?
I have to contact that poor guy who wanted to know more about kst and which I left without answer for far too long, and organise some PR, even though I think 2.0.4 will be the really mature release...
Nicolas
From nicolas.brisset at free.fr Thu Mar 17 22:45:03 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Thu, 17 Mar 2011 22:45:03 +0100 (CET)
Subject: [Kst] The crash when using a gsl-based fit plugin: possible solution
In-Reply-To: <640668532.1678731300398121565.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <974373341.1678891300398303685.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi,
I have been researching a bit around the crash I get when using a fit plugin. From the thread at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456898 I see that this problem is known and fairly specific to gsl, which provides a rather non-standard way of exchanging implementations of the cblas lib post-compilation.
It seems that making the gsl flags "-Wl,--no-as-needed -lgsl -lgslcblas -lm" and making sure they are at the end of the list should fix the issue.
Peter, could you try to add that to cmake so that I can check whether it works? Having all fit plugins crash is really bad. We should try to fix it, especially if there is a known solution. I'm actually surprised that it does not crash on other Linux systems as this way of linking seems to be the default for gsl.
Nicolas
From get.sonic at gmail.com Fri Mar 18 02:30:31 2011
From: get.sonic at gmail.com (Sonic)
Date: Fri, 18 Mar 2011 07:00:31 +0530
Subject: [Kst] Re: Creating Datasource Reader
In-Reply-To:
References: <4D8160F9.2000608@gmail.com>
Message-ID: <4D82B5B7.9050207@gmail.com>
On 03/17/2011 12:49 PM, Brisset, Nicolas wrote:
> Hi,
>
>> We've been using a package called Easyplot for all our plotting
>> needs and we're now considering Kst 1.8 on Linux. (Can't use Kst 2.x
>> series because we're on KDE 3.5 on RHEL 5).
> Just a quick note in case you're not aware of it: kst2 has far less
> dependencies than kst1 had. In particular, it is currently a pure Qt4
> app, which means kdelibs and all of its dependencies are not required.
> We are planning to offer optional KDE integration on the platforms where
> it is available, but it will stay optional.
We already have built Qt4 on RHEL and all our applications are developed
in Qt4. I didn't know Kst 2.x was
pure Qt4. I was thinking that it required KDE4 libs.
> All in all, I'd tend towards kst2 unless you absolutely need scripting
> and need it fast (it will be brought back at some point in time, though
> not necessarily compatible with kst 1.x scripting).
In that case, I'd definitely try it out. But how do I implement custom
datasource readers for 2.x?
If I remember right, for Kst 1.x, this was done as ordinary KDE3
plugins. Is there a separate handbook for
custom readers for Kst 2.x?
>> Our plot files are single independent files that contain ASCII header
>> (that describe the number of columns, X& y vectors, formatting etc.)
>> followed by ASCII or binary data. I'd like to know if I can make Kst
>> open and use the same plot file by creating a custom datasource
> reader.
> Plain ASCII files hould be supported out of the box, kst is really very
> configurable in that respect. Regarding binary files you'll probably
> have to make some changes. Creating a custom datasource is always
> possible and allows you anything.
> I'd recommend doing it in a generic way and contributing it to kst
> (preferably 2), so that we are able to help and so that others also
> benefit from your efforts. One thing which may be discussed is making
> the change directly in the ASCII datasource: if the only difference
> between your ASCII and binary options is the storage of the data, maybe
> adding a checkbox "binary data" and using a different approach to parse
> the file would make sense. To be discussed, here is the right place.
Actually, the problem is that the number of vectors, columns
corresponding to x & y axes, data in ascii or binary etc. will be known
only when the
header (ASCII) of the plot file is read. That's why I think a custom
reader would be required, as we cannot simply call Kst with command line
arguments to specify columns.
>> My requirement is that by opening the file in Kst, the plot should
>> appear, without the user needing to select more options or making more
>> clicks. It's okay if I need to call Kst with some command line
> options.
> I believe what you're asking for is already available: you can create a
> plot based on a data file, and reuse the same layout with another data
> file. You can even easily compare the two files using the "Change Data
> File" tool, be it kst 1.x or 2.x.
This is not exactly what I want. I want the plot file to contain the
data so that I can simply share one file and someone else can simply
open it as a plot by just clicking on it. I wouldn't want to open that
file in Kst and then manually choose the vectors and plotting options.
Just opening the file in Kst should bring up the plot as specified by
the header information in the plot file. I guess this is already
possible by creating a *.kst file and choosing to put the data inside
it. But my requirement is to have the same behaviour for some other kind
of plot file.
In short, my file will *not* be a *.kst file. Instead it'll be some
other format (that contains an ASCII header followed by ASCII or binary
data) which when opened by Kst should bring up the plot as written
inside it's header.
I wanted to know if a custom reader would make this work.
Thanks for all the help. I really appreciate it.
regards,
Syam Krishnan
From sunbeame4 at ecoautomobile.ru Fri Mar 18 17:54:32 2011
From: sunbeame4 at ecoautomobile.ru (=?koi8-r?B?5czFzsEg69XE0tHbz9fB?=)
Date: Fri, 18 Mar 2011 11:54:32 -0500
Subject: [Kst] =?koi8-r?b?8sXLzMHNwSDawSDH0sHOycPFyg==?=
Message-ID: <20110318115432.o825cxkb115608@www.ecoautomobile.ru>
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110318/018b93bb/attachment.htm
From eutraining at eutraining.be Fri Mar 18 19:02:00 2011
From: eutraining at eutraining.be (European Training Institute)
Date: Fri, 18 Mar 2011 19:02:00 +0100
Subject: [Kst]
=?windows-1252?q?Changements_radicaux_en_Comitologie_=E0_partir_?=
=?windows-1252?q?du_1er_mars_2011_=28kst=40kde=2Eorg=29?=
Message-ID:
Changements radicaux en Comitologie ? partir du 1er mars 2011
--------------------------------------------------------------------------------
[Fact sheet]
A partir du 1er mars 2011, la comitologie change radicalement:
'' Produits alimentaires, v?t?rinaires, ?n?rgie, produits chimiques..., tr?s peu de secteurs lui ?chappent "
ETI propose son expertise en mati?re de sujets europ?ens. Un s?minaire en deux modules d'une demie journ?e chacun pour comprendre la nouvelle r?forme de la comitologie. Une connaissance incontournable pour les professionnels des affaires europ?ennes.
- T?l?chargez le programme http://www.eutraining.be/tracking/r.emt?h=www.e-t-i.be%2Fdownload%2Fpe_nouvelle_comitologie.pdf&t=pbux&e=bqt
- Visitez le site web http://www.eutraining.be/tracking/r.emt?h=www.e-t-i.be%2Fconferences.asp&t=pbux&e=bqt
Une formation sp?cialis?e pour les professionnels
des affaires europ?ennes
- La comitologie 2011 en pratique.
- Mesures d'ex?cution et actes d?l?gu?s.
- Cons?quences en mati?re de procedure pour les professionnels.
- Comment r?ussir en adaptant sa strat?gie en affaires publiques.
- Etudes de cas.
S?minaire en FR :11 Avril
Nombre de place limit? Inscrivez vous des ? pr?sent
--------------------------------------------------------------------------------
NOTE: Si vous avez re?u ce message par erreur ou si vous ne souhaitez pas recevoir plus de messages d?sinscrivez vous ici mailto:eutraining at eutraining.be?Subject=UNSUBSCRIBE:kst at kde.org,PID:6QK/Qw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110318/672c34ee/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.gif
Type: image/gif
Size: 13552 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20110318/672c34ee/attachment-0001.gif
From ctrippe at opensuse.org Fri Mar 18 20:21:45 2011
From: ctrippe at opensuse.org (Christian Trippe)
Date: Fri, 18 Mar 2011 20:21:45 +0100
Subject: [Kst] Re: branches/work/kst/portto4/kst/cmake/modules
In-Reply-To: <47408710.1675081300396066497.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <47408710.1675081300396066497.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <61930137.P8zzmTg1fA@asterix.site>
Am Donnerstag, 17. M?rz 2011, 22:07:46 schrieb Nicolas Brisset:
> ----- "Peter K?mmel" a ?crit :
> > SVN commit 1225170 by kuemmel:
> >
> > needed on openSUSE
> >
> > M +1 -1 FindCFITSIO.cmake
>
> Christian, can you check whether that's OK?
Yes, thanks. This works fine now.
Christian
From syntheticpp at gmx.net Fri Mar 18 20:30:17 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Fri, 18 Mar 2011 20:30:17 +0100
Subject: [Kst] Re: Creating Datasource Reader
In-Reply-To: <4D82B5B7.9050207@gmail.com>
References: <4D8160F9.2000608@gmail.com>
<4D82B5B7.9050207@gmail.com>
Message-ID: <4D83B2C9.9070701@gmx.net>
>> All in all, I'd tend towards kst2 unless you absolutely need scripting
>> and need it fast (it will be brought back at some point in time, though
>> not necessarily compatible with kst 1.x scripting).
> In that case, I'd definitely try it out. But how do I implement custom
> datasource readers for 2.x?
> If I remember right, for Kst 1.x, this was done as ordinary KDE3
> plugins. Is there a separate handbook for
> custom readers for Kst 2.x?
Hi Syam,
sorry, but we have no documentation about custom plugins.
Our code is in src/datasources. Have a look at ascii or netcdf.
> In short, my file will *not* be a *.kst file. Instead it'll be some
> other format (that contains an ASCII header followed by ASCII or binary
> data) which when opened by Kst should bring up the plot as written
> inside it's header.
> I wanted to know if a custom reader would make this work.
Yes, it's possible. You could start patching the ascii datasource plugin,
and see if it fits your needs (with auto-opening). Only after that I would
start with a custom plugin.
Peter
>
> Thanks for all the help. I really appreciate it.
>
>
> regards,
>
> Syam Krishnan
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
From syntheticpp at gmx.net Fri Mar 18 20:32:07 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Fri, 18 Mar 2011 20:32:07 +0100
Subject: [Kst] Re: The crash when using a gsl-based fit plugin: possible
solution
In-Reply-To: <974373341.1678891300398303685.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <974373341.1678891300398303685.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <4D83B337.7090607@gmx.net>
On 17.03.2011 22:45, Nicolas Brisset wrote:
> Hi,
>
> I have been researching a bit around the crash I get when using a fit plugin. From the thread at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456898 I see that this problem is known and fairly specific to gsl, which provides a rather non-standard way of exchanging implementations of the cblas lib post-compilation.
> It seems that making the gsl flags "-Wl,--no-as-needed -lgsl -lgslcblas -lm" and making sure they are at the end of the list should fix the issue.
>
> Peter, could you try to add that to cmake so that I can check whether it works? Having all fit plugins crash is really bad. We should try to fix it, especially if there is a known solution. I'm actually surprised that it does not crash on other Linux systems as this way of linking seems to be the default for gsl.
As I understand it, gsl loads a blas lib at runtime. Have you installed one of them on your sytem?
Peter
From syntheticpp at gmx.net Fri Mar 18 23:27:27 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Fri, 18 Mar 2011 23:27:27 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/cmake/modules
Message-ID: <20110318222727.0F3A1AC8C8@svn.kde.org>
SVN commit 1225255 by kuemmel:
show .cpp and .h side-by-side in Studio when build with as merged files
M +6 -2 KstMacros.cmake
--- branches/work/kst/portto4/kst/cmake/modules/KstMacros.cmake #1225254:1225255
@@ -106,13 +106,17 @@
set_source_files_properties(merged_const.cpp PROPERTIES OBJECT_DEPENDS "${depends_moc_uic}")
set_source_files_properties(merged_touched.cpp PROPERTIES OBJECT_DEPENDS "${depends_moc_uic}")
add_library(${kst_name} ${type} ${merged_files} ${kst_${kst_name}_dont_merge} ${kst_${kst_name}_headers} ${kst_${kst_name}_uis} ${kst_${kst_name}_sources_not_generated} ${svnversion_h})
- kst_add_info_files(Headers/Sources ${kst_${kst_name}_sources_not_generated})
+ foreach(_it ${kst_${kst_name}_sources_not_generated})
+ set_source_files_properties(${_it} PROPERTIES HEADER_FILE_ONLY TRUE)
+ endforeach()
+ source_group("Source Files" Files)
+ source_group("Header Files" Files)
else()
add_library(${kst_name} ${type} ${kst_${kst_name}_sources} ${kst_${kst_name}_headers} ${svnversion_h})
+ kst_flat_source_group(${kst_${kst_name}_headers} ${kst_${kst_name}_sources_not_generated})
endif()
set_property(TARGET ${kst_name} PROPERTY DEBUG_POSTFIX ${kst_debug_postfix})
set_target_properties(${kst_name} PROPERTIES VERSION ${kst_version} SOVERSION ${kst_version_major})
- kst_flat_source_group(${kst_${kst_name}_headers} ${kst_${kst_name}_sources_not_generated})
kst_revision_add_dependency()
if(WIN32)
if(NOT ${type} STREQUAL "STATIC")
From syntheticpp at gmx.net Fri Mar 18 23:29:11 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Fri, 18 Mar 2011 23:29:11 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkst
Message-ID: <20110318222911.4ECBAAC8C8@svn.kde.org>
SVN commit 1225256 by kuemmel:
build on windows
M +5 -1 labelinfo.h
--- branches/work/kst/portto4/kst/src/libkst/labelinfo.h #1225255:1225256
@@ -21,9 +21,13 @@
#define LABELINFO_H
#include
+
+#include "kst_export.h"
+
+
namespace Kst {
-struct LabelInfo
+struct KSTCORE_EXPORT LabelInfo
{
LabelInfo() : name(QString()), quantity(QString()), units(QString()) {}
bool operator==(const LabelInfo &l) const { return (l.name==name) && (l.quantity==quantity) && (l.units==units); }
From syntheticpp at gmx.net Fri Mar 18 23:29:38 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Fri, 18 Mar 2011 23:29:38 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src/libkstapp
Message-ID: <20110318222938.5EA1CAC8C9@svn.kde.org>
SVN commit 1225257 by kuemmel:
comments
M +28 -0 datawizard.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/datawizard.cpp #1225256:1225257
@@ -39,6 +39,11 @@
namespace Kst {
+
+//
+// DataWizardPageDataSource
+//
+
DataWizardPageDataSource::DataWizardPageDataSource(ObjectStore *store, QWidget *parent, const QString& default_source)
: QWizardPage(parent), _pageValid(false), _store(store), _requestID(0) {
setupUi(this);
@@ -162,6 +167,11 @@
}
+
+//
+// DataWizardPageVectors
+//
+
DataWizardPageVectors::DataWizardPageVectors(QWidget *parent)
: QWizardPage(parent) {
setupUi(this);
@@ -316,6 +326,10 @@
}
+//
+// DataWizardPageFilters
+//
+
DataWizardPageFilters::DataWizardPageFilters(QWidget *parent)
: QWizardPage(parent) {
setupUi(this);
@@ -338,6 +352,10 @@
+//
+// DataWizardPagePlot
+//
+
DataWizardPagePlot::~DataWizardPagePlot() {
}
@@ -526,6 +544,11 @@
}
+
+//
+// DataWizardPageDataPresentation
+//
+
DataWizardPageDataPresentation::DataWizardPageDataPresentation(ObjectStore *store, QWidget *parent)
: QWizardPage(parent), _pageValid(false) {
setupUi(this);
@@ -657,6 +680,11 @@
}
+
+//
+// DataWizard
+//
+
DataWizard::DataWizard(QWidget *parent, const QString& fileToOpen)
: QWizard(parent), _document(0) {
From syntheticpp at gmx.net Fri Mar 18 23:39:22 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Fri, 18 Mar 2011 23:39:22 +0100 (CET)
Subject: [Kst] branches/work/kst/portto4/kst/src
Message-ID: <20110318223922.9A9B9AC8C8@svn.kde.org>
SVN commit 1225259 by kuemmel:
When only a filename is passed to kst without any further arguments
and it is not a .kst file try to find a datasource which could load it,
and show all vectors against INDEX. Each datasource could overwrite this
behavior, like it was asked by Syam Krishnan C.R. on the mailinglist.
Having this feature it is now possible to register Kst as default program
for opening data files: double-click on your data file and see Kst previewing
your data!
M +12 -0 datasources/ascii/asciisource.cpp
M +2 -0 datasources/ascii/asciisource.h
M +4 -0 libkst/datasource.h
M +68 -1 libkstapp/commandlineparser.cpp
M +3 -0 libkstapp/commandlineparser.h
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1225258:1225259
@@ -19,6 +19,10 @@
#include "asciisource.h"
#include "asciisourceconfig.h"
+#include "curve.h"
+#include "colorsequence.h"
+#include "objectstore.h"
+
#include "math_kst.h"
#include "kst_inf.h"
#include "kst_i18n.h"
@@ -916,4 +920,12 @@
}
+
+Kst::ObjectList AsciiSource::autoCurves(ObjectStore& objectStore)
+{
+ // here we could do more sophisticated stuff when generating a list of curves
+ return ObjectList();
+}
+
+
// vim: ts=2 sw=2 et
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.h #1225258:1225259
@@ -76,6 +76,8 @@
static QStringList scalarListFor(const QString& filename, AsciiSourceConfig *cfg);
static QStringList stringListFor(const QString& filename, AsciiSourceConfig *cfg);
+ Kst::ObjectList autoCurves(Kst::ObjectStore& objectStore);
+
private:
// TODO Is this too big or should we use even more: 1MB on the stack?
#define KST_PREALLOC 1 * 1024 * 1024
--- branches/work/kst/portto4/kst/src/libkst/datasource.h #1225258:1225259
@@ -194,7 +194,11 @@
virtual QString descriptionTip() const;
+ /** Creates a list of curves without user interaction
+ */
+ virtual ObjectList
@@ -11,9 +11,9 @@
Kst is very user-friendly (both the community and the program itself!).
-Kst contains many powerful built-in features and is expandable with plugins and extensions (see developer information in the "Ressources" section).
+Kst contains many powerful built-in features and is expandable with plugins and extensions (see developer information in the "Ressources" section).
-Kst is licensed under the GPL, and is as such freely available for anyone. What's more, as of 2.0.x it is available on all of the following platforms: Microsoft Windows, Linux, Mac OSX. Note that KDE libraries are an optional dependency (i.e. you can run Kst without KDE, but you get additional features when running on a platform with KDE). See the "Downloads" section for pre-compiled executables or the sources.
+Kst is licensed under the GPL, and is as such freely available for anyone. What's more, as of 2.0.x it is available on all of the following platforms: Microsoft Windows, Linux, Mac OSX. Note that KDE libraries are an optional dependency (i.e. you can run Kst without KDE, but you get additional features when running on a platform with KDE). See the "Downloads" section for pre-compiled executables or the sources.
@@ -42,7 +42,7 @@
About Kst 1 and Kst 2
-Currently Kst 1.x and Kst 2.x are stable releases.
+Currently Kst 1.x and Kst 2.x are stable releases.
Kst 1 has some features that Kst 2 does not yet have, but Kst 2 also has some nice improvements over Kst 1. If you are new to Kst, you should probably start with Kst 2, unless you need specific features no yet supported or are working with people using Kst 1. One good place to ask for advice is on the mailing list.
To illustrate the flexibility of Kst in handling various file formats, we provide a couple of sample files using different conventions:
Some metadata in the header including field names. 2 similar files are provided to experiment with the "change data file" tool
-
Pure data (Kst will call the vectors "Column1", "Column2", etc...) from a gyrometer: 3 vectors x 200 000 samples (gzipped, please uncompress before using)
+
Pure data (Kst will call the vectors "Column1", "Column2", etc...) from a gyrometer: 3 vectors x 200 000 samples (gzipped, please uncompress before using)
One large file (zipped) to experiment for yourself the performance of Kst (coming soon)
From nicolas.brisset at free.fr Thu Mar 24 20:32:23 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Thu, 24 Mar 2011 20:32:23 +0100 (CET)
Subject: [Kst] Re: www/areas/extragear/apps/kst
In-Reply-To: <20110324171811.41CACAC8C9@svn.kde.org>
Message-ID: <158086256.2587561300995143086.JavaMail.root@zimbra13-e2.priv.proxad.net>
> SVN commit 1225911 by truch:
>
> Re-enable web user tracking.
Hi Matt,
nice that you have activated this. I'd be interested to know how to look at the statistics, if you could give me a small explanation...
I guess we have to wait for some time before having something to look at, but it's a feature I missed in the otherwise pretty cool KDE template system.
Nicolas
From nicolas.brisset at free.fr Sat Mar 26 20:01:31 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Sat, 26 Mar 2011 20:01:31 +0100 (CET)
Subject: [Kst] PR proposal for 2.0.3
In-Reply-To: <891070640.2794501301165790000.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <1966283992.2794711301166091384.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi,
since we're going to release 2.0.3 any time now (Peter, Barth: is there anything preventing us from doing it right now?), I thought it was a good idea to try and put together a small release blurb. Please comment/improve so that we can try to promote kst a bit wider than just this mailing list this time...
My plan for this communication effort would be:
- send the release mail to this list (of course)
- send the release mail to the kde-science list
- contact Stuart Jarvis to do an interview and publish something on KDE Dot News (he already offered to do that a little while ago, and Barth could certainly tell a couple of nice stories like committing from the South Pole!)
- somehow get the news out to planetkde.org (maybe via Stuart again as we don't yet have any planetkde blogger in the kst community)
- publish the update on kde-apps.org (right now the latest version there is 2.0.0 beta1!!!)
- maybe also publish on qt-apps.org?
- I have started contacted scidavis and QtGrace developers to see if there is interest for some cooperation. I already got some feedback, but as hard to believe as it may sound (for people using or working on open-source, Qt-based plotting tools) they don't know kst at all, so I guess it's going to take some time to identify what cooperation could mean, as they will need to try kst - just as we may need to test their tools. I'd like to emphasize that cooperation does not necessarily mean dumping some of the tools (even though it's always a possibility), but maybe some shared libs or plugins would already be interesting. In any case it could be interesting to get the information of the new release posted there too, provided that it is not seen as an offense by the respective devs
- post the still-to-be-done screencasts on youtube, as even if the quality is not what I'd like for the ones which will be linked to the website, the audience there is probably greater and it can certainly help the google ranking of kst, which is not in the first page right now when you look for "free plotting tool", "free plot tool", or "cross-platform open-source plot tool"
- pimp up the wikipedia page(s) somehow linked with kst
- any other good idea you may suggest :-)
Now in terms of contents, here is what I think we should address. The complete text I'm proposing for review can be found between the lines with stars.
- new website
- 3 platforms completely supported
- much improved metadata support
- ASCII datasource improvements (performance, config options)
- KDE integration status and further plans (cmake, icons, KDE HIG, ...)
- perspective for the next versions (in particular scripting + kst 1.x format support)
- lots of bugs and crashes fixed
- the fact that it can be installed alongside kst1, i.e. it can be tested without too much risk
***********************************************
Kst 2.0.3 released March 29th 2011
The Kst team is happy to announce the immediate availability of Kst 2.0.3, the not yet so well-known but outstanding open-source, cross-platform 2D plotting tool. Packages for Windows, various Linux distributions and Mac OS X are available, as well as the complete source code and cmake-based build files.
A more detailed presentation of Kst can be found on the completely revamped web page at http://kst-plot.kde.org , which provides detailed screenshots , video tutorials and all the useful download links .
Kst2 is a major rewrite to Qt4 of the long-existing, Qt3/KDE3-based Kst1 code base. Kst2 has not yet reached feature-parity with Kst1, but on the other hand Kst2 also offers some features not available in Kst1. Both versions are considered stable and can be installed in parallel. This Kst2 release has benefited from much more testing than previous 2.x releases and is now considered usable for real-life projects, even though there are still some rough edges, which are being polished release after release. For a more detailed discussion on the differences between Kst1 and Kst2, please refer to the bottom of this page .
Note that in the course of the port to Qt4, it was decided to base the core of Kst2 on Qt only for ease of distribution, especially to non-Linux platforms. Currently, Kst2 has no dependency on KDE, even though optional integration of some KDE features is being worked on to benefit those users using the KDE platform.
Highlights of Kst2 compared with similar plotting tools (like xmgrace/QtGrace, qtiplot/SciDavis, LabPlot) are:
- outstanding performance: curves with millions of points are no problem at all!
- plotting of live streams
- out-of-the box support for a variety of formats (currently ASCII, netCDF, dirfile, Qimage-supported types)
- very user-friendly and efficient, with a fantastic data import wizard and capacity to edit multiple objects at once
- active community, with over 300 commits since the previous release in November and an active mailing list
- easily expandable for new data formats or data analysis algorithms thanks to a plugin-based architecture
- available on Windows, Linux and Mac OSX
The most notable improvements brought by Kst 2.0.3 over the 2.0.2 version released in November 2010 are:
- cmake-based build system, with Windows, Mac OS X and Linux installers
- many improvements in the reading of ASCII files: extensive UI overhaul and huge speedup
- support for metadata added for netCDF files (scalar and string attributes) and ASCII (units and some data-file info)
- UI improvements (new icons, consistency with KDE HIG guidelines, some dialogs reworked)
- lots of bugs and crashes fixed in less-often used parts of the code
We hope you will enjoy this release and help us further test and improve the tool. Kst has been developed over many years by professional developers and has reached a high level of maturity, with a very nice, future-proof code base. It was recently field-proven during the Boomerang mission in Antarctica, during which the probably south-most commit ever made landed in KDE's subversion repository!
We are aware that Kst is not very well known and generally suffers from a lack of awareness, and are seeking to address that with an ambitious communication plan, now that we have reached a solid, mass-consumption ready release. Please take the time to test kst, report the bugs you may find and tell your friends if you like it!
The Kst Team
**************************************************
Sorry for the long mail, but I had lots to say. Now I'm hoping for some feedback and suggestion improvements!
I still have a couple of things to improve on the website and the screencasts to prepare. Maybe it would also be nice to give Linux packagers some time to prepare packages before announcing the release officially.
I'm pretty excited to see how this release will be received. I think we're now ready to move to the next level, let's see what feedback we get!
Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110326/b11dae1c/attachment.htm
From netterfield at astro.utoronto.ca Sat Mar 26 23:15:36 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Sat, 26 Mar 2011 18:15:36 -0400
Subject: [Kst] Re: PR proposal for 2.0.3
In-Reply-To: <1966283992.2794711301166091384.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <891070640.2794501301165790000.JavaMail.root@zimbra13-e2.priv.proxad.net>
<1966283992.2794711301166091384.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID:
This is great Nicolas!
Comments embedded below:
On Sat, Mar 26, 2011 at 3:01 PM, Nicolas Brisset
wrote:
> My plan for this communication effort would be:
> - contact Stuart Jarvis to do an interview and publish something on KDE Dot
> News (he already offered to do that a little while ago, and Barth could
> certainly tell a couple of nice stories like committing from the South
> Pole!)
I'll try to bounce back words to him as quickly as possible.
> [...]
> - publish the update on kde-apps.org (right now the latest version there is
> 2.0.0 beta1!!!)
I got the account switched over to me, so I will upload once we release.
> - I have started contacted scidavis and QtGrace developers to see if there
> is interest for some cooperation. I already got some feedback, but as hard
> to believe as it may sound (for people using or working on open-source,
> Qt-based plotting tools) they don't know kst at all, so I guess it's going
> to take some time to identify what cooperation could mean, as they will need
> to try kst - just as we may need to test their tools. I'd like to emphasize
> that cooperation does not necessarily mean dumping some of the tools (even
> though it's always a possibility), but maybe some shared libs or plugins
> would already be interesting. In any case it could be interesting to get the
> information of the new release posted there too, provided that it is not
> seen as an offense by the respective devs
I think there may be capability overlap between the various programs,
but kst has as
its first priorities:
-fast exploration of real time data
-fast exploration of massive data sets
Other capabilities, like data analysis and publication quality plots
take a secondary
role, where these other project probably excel in them....
> - post the still-to-be-done screencasts on youtube, as even if the quality
> is not what I'd like for the ones which will be linked to the website, the
> audience there is probably greater and it can certainly help the google
> ranking of kst, which is not in the first page right now when you look for
> "free plotting tool", "free plot tool", or "cross-platform open-source plot
> tool"
excellent. Can you let us see a draft?
> - pimp up the wikipedia page(s) somehow linked with kst
> - any other good idea you may suggest :-)
Excellent.
> ***********************************************
> Kst 2.0.3 released March 29th 2011
>
> The Kst team is happy to announce the immediate availability of Kst 2.0.3,
> the not yet so well-known but outstanding open-source, cross-platform 2D
delete "the not yet well-known but" and replace with "an"
> plotting tool. Packages for Windows, various Linux distributions and Mac OS
> X are available, as well as the complete source code and cmake-based build
> files.
> A more detailed presentation of Kst can be found on the completely revamped
> web page at http://kst-plot.kde.org, which provides detailed screenshots,
> video tutorials and all the useful download links.
>
> Kst2 is a major rewrite to Qt4 of the long-existing, Qt3/KDE3-based Kst1
> code base. Kst2 has not yet reached feature-parity with Kst1, but on the
> other hand Kst2 also offers some features not available in Kst1. Both
> versions are considered stable and can be installed in parallel. This Kst2
as far as I can tell, scripting and vector eps plots are the only two missing
features of note. The vast majority of people don't need scripting
(in fact I have
not yet seen a real-world use-case for scripting, though I know that they must
exist!) or vector eps plots, so I would prefer if we didn't make the
lack of feature
parity 'front and center.'. so perhaps change "Kst2 has not yet... in
parallel" with
Kst2 offers many new features compared with kst1, including better meta data
support, improved name handling, and shared axis boxes. For those who need
the ability to read kst1 files, and scripting (not supported in kst2),
kst1 and kst2
are installable in parallel.
> release has benefited from much more testing than previous 2.x releases and
> is now considered usable for real-life projects, even though there are still
> some rough edges, which are being polished release after release. For a more
delete "even though there are still some rough edges". There are in
kst1 as well.
> detailed discussion on the differences between Kst1 and Kst2, please refer
> to the bottom of this page.
> Note that in the course of the port to Qt4, it was decided to base the core
> of Kst2 on Qt only for ease of distribution, especially to non-Linux
> platforms. Currently, Kst2 has no dependency on KDE, even though optional
> integration of some KDE features is being worked on to benefit those users
> using the KDE platform.
>
> Highlights of Kst2 compared with similar plotting tools (like
> xmgrace/QtGrace, qtiplot/SciDavis, LabPlot) are:
> - outstanding performance: curves with millions of points are no problem at
> all!
> - plotting of live streams
> - out-of-the box support for a variety of formats (currently ASCII, netCDF,
> dirfile, Qimage-supported types)
> - very user-friendly and efficient, with a fantastic data import wizard and
> capacity to edit multiple objects at once
> - active community, with over 300 commits since the previous release in
> November and an active mailing list
> - easily expandable for new data formats or data analysis algorithms thanks
> to a plugin-based architecture
> - available on Windows, Linux and Mac OSX
>
> The most notable improvements brought by Kst 2.0.3 over the 2.0.2 version
> released in November 2010 are:
> - cmake-based build system, with Windows, Mac OS X and Linux installers
> - many improvements in the reading of ASCII files: extensive UI overhaul and
> huge speedup
> - support for metadata added for netCDF files (scalar and string attributes)
> and ASCII (units and some data-file info)
> - UI improvements (new icons, consistency with KDE HIG guidelines, some
> dialogs reworked)
> - lots of bugs and crashes fixed in less-often used parts of the code
>
> We hope you will enjoy this release and help us further test and improve the
> tool. Kst has been developed over many years by professional developers and
> has reached a high level of maturity, with a very nice, future-proof code
> base. It was recently field-proven during the Boomerang mission in
BLASTpol, not Boomerang.
> Antarctica, during which the probably south-most commit ever made landed in
"possibly southern-most"
> KDE's subversion repository!
> We are aware that Kst is not very well known and generally suffers from a
> lack of awareness, and are seeking to address that with an ambitious
> communication plan, now that we have reached a solid, mass-consumption ready
> release.
I think we can delete this sentence "We are aware ... read release".
> Please take the time to test kst, report the bugs you may find and
> tell your friends if you like it!
>
> The Kst Team
> **************************************************
>
> Sorry for the long mail, but I had lots to say. Now I'm hoping for some
> feedback and suggestion improvements!
> I still have a couple of things to improve on the website and the
> screencasts to prepare. Maybe it would also be nice to give Linux packagers
> some time to prepare packages before announcing the release officially.
> I'm pretty excited to see how this release will be received. I think we're
> now ready to move to the next level, let's see what feedback we get!
>
> Nicolas
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
>
Thanks for doing this Nicolas!
--
C. Barth Netterfield
University of Toronto
416-845-0946
From egretengineering at gmail.com Sun Mar 27 05:03:19 2011
From: egretengineering at gmail.com (Ben Lewis)
Date: Sun, 27 Mar 2011 14:03:19 +1100
Subject: [Kst] Re: PR proposal for 2.0.3
In-Reply-To: <1966283992.2794711301166091384.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <1966283992.2794711301166091384.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <4D8EA8F7.3080803@gmail.com>
There may be some magazines interested in doing a feature article on KST. For example:
Linux User & Developer - (GNU software mag)
linuxuser at imagine-publishing.co.uk
Elektor - (Hobbyist electronics mag) info at elektor.com
On 27/03/2011 6:01 AM, Nicolas Brisset wrote:
> Hi,
>
> since we're going to release 2.0.3 any time now (Peter, Barth: is there anything preventing us
> from doing it right now?), I thought it was a good idea to try and put together a small release
> blurb. Please comment/improve so that we can try to promote kst a bit wider than just this mailing
> list this time...
>
> My plan for this communication effort would be:
> - send the release mail to this list (of course)
> - send the release mail to the kde-science list
> - contact Stuart Jarvis to do an interview and publish something on KDE Dot News (he already
> offered to do that a little while ago, and Barth could certainly tell a couple of nice stories
> like committing from the South Pole!)
> - somehow get the news out to planetkde.org (maybe via Stuart again as we don't yet have any
> planetkde blogger in the kst community)
> - publish the update on kde-apps.org (right now the latest version there is 2.0.0 beta1!!!)
> - maybe also publish on qt-apps.org?
> - I have started contacted scidavis and QtGrace developers to see if there is interest for some
> cooperation. I already got some feedback, but as hard to believe as it may sound (for people using
> or working on open-source, Qt-based plotting tools) they don't know kst at all, so I guess it's
> going to take some time to identify what cooperation could mean, as they will need to try kst -
> just as we may need to test their tools. I'd like to emphasize that cooperation does not
> necessarily mean dumping some of the tools (even though it's always a possibility), but maybe some
> shared libs or plugins would already be interesting. In any case it could be interesting to get
> the information of the new release posted there too, provided that it is not seen as an offense by
> the respective devs
> - post the still-to-be-done screencasts on youtube, as even if the quality is not what I'd like
> for the ones which will be linked to the website, the audience there is probably greater and it
> can certainly help the google ranking of kst, which is not in the first page right now when you
> look for "free plotting tool", "free plot tool", or "cross-platform open-source plot tool"
> - pimp up the wikipedia page(s) somehow linked with kst
> - any other good idea you may suggest :-)
>
> Now in terms of contents, here is what I think we should address. The complete text I'm proposing
> for review can be found between the lines with stars.
> - new website
> - 3 platforms completely supported
> - much improved metadata support
> - ASCII datasource improvements (performance, config options)
> - KDE integration status and further plans (cmake, icons, KDE HIG, ...)
> - perspective for the next versions (in particular scripting + kst 1.x format support)
> - lots of bugs and crashes fixed
> - the fact that it can be installed alongside kst1, i.e. it can be tested without too much risk
>
> ***********************************************
> Kst 2.0.3 released March 29th 2011
>
> The Kst team is happy to announce the immediate availability of Kst 2.0.3, the not yet so
> well-known but outstanding open-source, cross-platform 2D plotting tool. Packages for Windows,
> various Linux distributions and Mac OS X are available, as well as the complete source code and
> cmake-based build files.
> A more detailed presentation of Kst can be found on the completely revamped web page at
> http://kst-plot.kde.org, which provides detailed screenshots
> , video tutorials
> and all the useful download links .
>
> Kst2 is a major rewrite to Qt4 of the long-existing, Qt3/KDE3-based Kst1 code base. Kst2 has not
> yet reached feature-parity with Kst1, but on the other hand Kst2 also offers some features not
> available in Kst1. Both versions are considered stable and can be installed in parallel. This Kst2
> release has benefited from much more testing than previous 2.x releases and is now considered
> usable for real-life projects, even though there are still some rough edges, which are being
> polished release after release. For a more detailed discussion on the differences between Kst1 and
> Kst2, please refer to the bottom of this page .
> Note that in the course of the port to Qt4, it was decided to base the core of Kst2 on Qt only for
> ease of distribution, especially to non-Linux platforms. Currently, Kst2 has no dependency on KDE,
> even though optional integration of some KDE features is being worked on to benefit those users
> using the KDE platform.
>
> Highlights of Kst2 compared with similar plotting tools (like xmgrace/QtGrace, qtiplot/SciDavis,
> LabPlot) are:
> - outstanding performance: curves with millions of points are no problem at all!
> - plotting of live streams
> - out-of-the box support for a variety of formats (currently ASCII, netCDF, dirfile,
> Qimage-supported types)
> - very user-friendly and efficient, with a fantastic data import wizard and capacity to edit
> multiple objects at once
> - active community, with over 300 commits since the previous release in November and an active
> mailing list
> - easily expandable for new data formats or data analysis algorithms thanks to a plugin-based
> architecture
> - available on Windows, Linux and Mac OSX
>
> The most notable improvements brought by Kst 2.0.3 over the 2.0.2 version released in November
> 2010 are:
> - cmake-based build system, with Windows, Mac OS X and Linux installers
> - many improvements in the reading of ASCII files: extensive UI overhaul and huge speedup
> - support for metadata added for netCDF files (scalar and string attributes) and ASCII (units and
> some data-file info)
> - UI improvements (new icons, consistency with KDE HIG guidelines, some dialogs reworked)
> - lots of bugs and crashes fixed in less-often used parts of the code
>
> We hope you will enjoy this release and help us further test and improve the tool. Kst has been
> developed over many years by professional developers and has reached a high level of maturity,
> with a very nice, future-proof code base. It was recently field-proven during the Boomerang
> mission in Antarctica, during which the probably south-most commit ever made landed in KDE's
> subversion repository!
> We are aware that Kst is not very well known and generally suffers from a lack of awareness, and
> are seeking to address that with an ambitious communication plan, now that we have reached a
> solid, mass-consumption ready release. Please take the time to test kst, report the bugs you may
> find and tell your friends if you like it!
>
> The Kst Team
> **************************************************
>
> Sorry for the long mail, but I had lots to say. Now I'm hoping for some feedback and suggestion
> improvements!
> I still have a couple of things to improve on the website and the screencasts to prepare. Maybe it
> would also be nice to give Linux packagers some time to prepare packages before announcing the
> release officially.
> I'm pretty excited to see how this release will be received. I think we're now ready to move to
> the next level, let's see what feedback we get!
>
> Nicolas
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110327/87443729/attachment-0001.htm
From makc at freebsd.org Sun Mar 27 21:44:18 2011
From: makc at freebsd.org (Max Brazhnikov)
Date: Sun, 27 Mar 2011 23:44:18 +0400
Subject: [Kst] fix build on FreeBSD
Message-ID: <201103272344.19601.makc@freebsd.org>
Hi,
The patch [1] fixes compilation issues on FreeBSD. Can it be committed please?
Max
[1] http://people.freebsd.org/~makc/patches/kst.diff
From syntheticpp at gmx.net Sun Mar 27 22:33:48 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Sun, 27 Mar 2011 22:33:48 +0200 (CEST)
Subject: [Kst] branches/work/kst/portto4/kst
Message-ID: <20110327203348.E1C82AC8CA@svn.kde.org>
SVN commit 1226229 by kuemmel:
also compile on FreeBSD, thx to Max Brazhnikov
M +1 -1 cmake/src/libkst/CMakeLists.txt
M +25 -16 src/libkst/measuretime.cpp
M +2 -0 src/libkst/measuretime.h
--- branches/work/kst/portto4/kst/cmake/src/libkst/CMakeLists.txt #1226228:1226229
@@ -2,7 +2,7 @@
kst_files_ignore(stdinsource timezones)
-if(WIN32 OR APPLE )
+if(WIN32 OR APPLE OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
kst_files_ignore(sysinfo psversion)
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lrt")
--- branches/work/kst/portto4/kst/src/libkst/measuretime.cpp #1226228:1226229
@@ -64,37 +64,46 @@
}
-void MeasureTime::restart()
+double MeasureTime::getTime() const
{
#ifdef Q_OS_WIN
+
LARGE_INTEGER st;
QueryPerformanceCounter(&st);
- started = st.QuadPart * frequency;
+ return st.QuadPart * frequency;
+
#else
-#ifndef Q_OS_MAC
+
+#if defined(Q_OS_MAC)
+ // TODO
+ return 0;
+#else
timespec t;
+#if defined(CLOCK_PROCESS_CPUTIME_ID)
clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &t);
- started = 1.0 * t.tv_sec + 1e-9 * t.tv_nsec;
+#elif defined(CLOCK_PROF)
+ clock_gettime(CLOCK_PROF, &t);
+#else
+ clock_gettime(CLOCK_REALTIME, &t);
#endif
+ return 1.0 * t.tv_sec + 1e-9 * t.tv_nsec;
#endif
+
+#endif
+
+}
+
+
+void MeasureTime::restart()
+{
+ started = getTime();
interval = 0;
}
void MeasureTime::measure()
{
- double now = 0;
-#ifdef Q_OS_WIN
- LARGE_INTEGER st;
- QueryPerformanceCounter(&st);
- now = st.QuadPart * frequency;
-#else
-#ifndef Q_OS_MAC
- timespec t;
- clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &t);
- now = 1.0 * t.tv_sec + 1e-9 * t.tv_nsec;
-#endif
-#endif
+ double now = getTime();
interval += now - started;
started = now;
}
--- branches/work/kst/portto4/kst/src/libkst/measuretime.h #1226228:1226229
@@ -46,6 +46,8 @@
/// Increment interval by interval since last call/restart().
void measure();
+
+ double getTime() const;
};
#define TIME_IN_SCOPE(x) MeasureTime x(QString("%1 at %2, line %3, time in scope").arg(#x).arg(__FILE__).arg(__LINE__))
From syntheticpp at gmx.net Mon Mar 28 22:25:13 2011
From: syntheticpp at gmx.net (=?UTF-8?Q?Peter=20K=C3=BCmmel=20?=)
Date: Mon, 28 Mar 2011 22:25:13 +0200 (CEST)
Subject: [Kst] [Bug 252079] Add a "Recently used" entry in the File menu
In-Reply-To:
References:
Message-ID: <20110328202513.11B7983A43@immanuel.kde.org>
https://bugs.kde.org/show_bug.cgi?id=252079
Peter K?mmel changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From syntheticpp at gmx.net Mon Mar 28 22:26:51 2011
From: syntheticpp at gmx.net (=?UTF-8?Q?Peter=20K=C3=BCmmel=20?=)
Date: Mon, 28 Mar 2011 22:26:51 +0200 (CEST)
Subject: [Kst] [Bug 263390] header files marked as executable?
In-Reply-To:
References:
Message-ID: <20110328202651.165A183A53@immanuel.kde.org>
https://bugs.kde.org/show_bug.cgi?id=263390
Peter K?mmel changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.0.4 |2.0.2
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From syntheticpp at gmx.net Mon Mar 28 22:29:16 2011
From: syntheticpp at gmx.net (=?UTF-8?Q?Peter=20K=C3=BCmmel=20?=)
Date: Mon, 28 Mar 2011 22:29:16 +0200 (CEST)
Subject: [Kst] [Bug 267828] Problems with the kst.desktop file shipped with
2.0.3 rc2
In-Reply-To:
References:
Message-ID: <20110328202916.759D4832C8@immanuel.kde.org>
https://bugs.kde.org/show_bug.cgi?id=267828
Peter K?mmel changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |2.0.3
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
From nicolas.brisset at eurocopter.com Mon Mar 28 22:34:04 2011
From: nicolas.brisset at eurocopter.com (Nicolas Brisset)
Date: Mon, 28 Mar 2011 22:34:04 +0200 (CEST)
Subject: [Kst] www/areas/extragear/apps/kst
Message-ID: <20110328203404.E3A3DAC8CD@svn.kde.org>
SVN commit 1226340 by brisset:
- Improve/update some of the text
- make section headers linkable from elsewhere
M +20 -12 index.php
M +1 -1 sample_data/index.php
M +9 -9 screenshots/dialogs/index.php
M +3 -3 video_tutorials/index.php
--- trunk/www/areas/extragear/apps/kst/index.php #1226339:1226340
@@ -5,7 +5,7 @@
-
Kst is the fastest real-time large-dataset viewing and plotting tool available (you may be interested in some benchmarks) and has built-in data analysis functionality.
@@ -37,27 +37,35 @@
Fully scriptable (coming soon).
-A roadmap for future features and releases is available on the features page.
+A roadmap for future features and releases is available under the "Resources" link at the top of the page.
-Currently Kst 1.x and Kst 2.x are stable releases.
-Kst 1 has some features that Kst 2 does not yet have, but Kst 2 also has some nice improvements over Kst 1. If you are new to Kst, you should probably start with Kst 2, unless you need specific features no yet supported or are working with people using Kst 1. One good place to ask for advice is on the mailing list.
+Currently Kst 1.x and Kst 2.x are stable releases.
+Kst 1 is no longer being actively developed, apart from occasional bug fixes. Kst 1 has some features that Kst 2 does not yet have, in particular dcop bindings and scripting,
+but on the other hand Kst 2 offers some nice improvements over Kst 1 such as shared axes and extended support for metadata.
+If you are new to Kst, you should probably start with Kst 2, unless you need very specific features not yet supported - or are working with people using Kst 1, as presently Kst 2
+cannot yet load Kst 1.x files.
+
Generally speaking, a good place to ask for advice is the mailing list.
-
File formats
-
Kst 1 supports the following formats: ASCII, Dirfile, CDF, netCDF, piolib, FITS, HEALPix, QImage-compatible image types (jpg, png, etc)
-
As of November 2010, Kst 2 supports : ASCII, Dirfile, netCDF, QImage-compatible image types.
-But support for the other formats handled by Kst 1 is fairly easy to reactivate, and a couple of new ones are planned (e.g. Matlab's MAT files).
+
Kst 1 supports the following formats: ASCII, Dirfile, CDF,
+netCDF, piolib, FITS, HEALPix,
+QImage-compatible image types (jpg, png, etc)
+
+
As of March 2011, Kst 2 supports : ASCII, Dirfile, netCDF,
+CFitsIO, QImage-compatible image types.
+Support for the other formats handled by Kst 1 is fairly easy to reactivate, and a couple of new ones are planned (e.g. Matlab's MAT files, or Origin files).
Generally speaking, it is easy to add support for a new format, so if your favorite file type is not supported, contact us on the mailing
-list and we'll get it started.
Data sources are plugins which provide support for new file types
-
Plugins can easily be added for any type of operation, including fit and filter plugins
+
Plugins can easily be added for any type of operation, including fit and filter plugins if you want to develop your own to extend the large number of GSL-based plugins already distributed with Kst
It does not take a very experienced programmer to customize Kst to your needs.
Some metadata in the header including field names. 2 similar files are provided to experiment with the "change data file" tool
Pure data (Kst will call the vectors "Column1", "Column2", etc...) from a gyrometer: 3 vectors x 200 000 samples (gzipped, please uncompress before using)
-
One large file (zipped) to experiment for yourself the performance of Kst (coming soon)
+
One large file (zipped) to experience for yourself the performance of Kst (coming soon)
addImage("tool_change_data_file_thumb.png", "tool_change_data_file.png", 300, "", "Load the same data from another file (replace or compare)", "Load the same data from another file (replace or compare)", "");
@@ -119,7 +119,7 @@
$gallery->show();
?>
-
+addImage("edit_curve_multiple_thumb.png", "edit_curve_multiple.png", 300, "", "Change curve settings for multiple curves at once", "Change curve settings for multiple curves at once", "");
$gallery->addImage("plot_dialog_multiple_thumb.png", "plot_dialog_multiple.png", 300, "", "Change plot settings for multiple plots at once", "Change plot settings for multiple plots at once", "");
$gallery->show();
From nicolas.brisset at eurocopter.com Mon Mar 28 23:18:34 2011
From: nicolas.brisset at eurocopter.com (Nicolas Brisset)
Date: Mon, 28 Mar 2011 23:18:34 +0200 (CEST)
Subject: [Kst] www/areas/extragear/apps/kst/screenshots/dialogs
Message-ID: <20110328211834.A948EAC8CD@svn.kde.org>
SVN commit 1226348 by brisset:
Update the view strings screenshot: now that we've fixed the bugs, it looks much better!
M view_strings.png
M view_strings_thumb.png
From nicolas.brisset at free.fr Tue Mar 29 00:03:13 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Tue, 29 Mar 2011 00:03:13 +0200 (CEST)
Subject: [Kst] Interesting feedback from a scidavis/Origin user
In-Reply-To: <1806873188.3080331301349634903.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <275681532.3080461301349793494.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi,
I recently posted a message on the scidavis-contributors list to see if there would be interest to cooperate in any way. I haven't received any feedback (yet?) from the developers, but one user posted the message below (relevant extracts quoted):
"I'm not scidavis contributor, but user of such kind of software. I've never seen kst before. I've discovered your multiple editing. If I need to plot 3 or 4 graphs on the same kind it saves a lot of time."
[...]
"To my opinion your tool badly lacks of abilities to manipulate data in tables (like in scidavis, labplot or origin) before it can be plotted. It's needed for scientific data analysis. And moreover, I think that using kst files, Like you are doing now is not so good Idea. To gave my plots to colleagues I have to give them all the initial files and your kst. And I haven't tested what will happen, if some of the data files are moved or renamed."
[...]
"And one of sufficient features, you need to do, to get scientific community attention is to implement microcal origin files opening). There is liborigin, which can help you handle this."
[...]
"Your plotting engine, using opengl seems very promising to me."
What I think of that is:
1) in one of the next versions, we really have to work on the view vectors dialog. I have played a bit with labplot, which is very interesting. It all goes in the direction of one of my recent bug reports requesting an improved vector view with multiple vectors and adjustable format
2) Kst is really under-publicized and does not have the reputation it deserves!
3) adding support for Matlab's .mat files and Origin files would definitely be nice to attract new users; the same person wrote me in a subsequent mail: "The software like kst is badly needed for science. I'm working in a place with ~20000 of scientists, and, I think, the most of them use Origin to plot. I was trying to move my lab to Linux and the only thing we really lack is good data analysis software. Some scientists, who are used to programming are using gnuplot etc. But most people are scared of programming and want to do everything using mouse. So the place for the best open source data manipulation software is still vacant. Your project is the only one GUI data manipulation software which is actively developed, as far as I found." Now, that says a lot!!!
4) we have to test the OpenGL engine more, on most of my systems I get blurred text and it is slower than the default paint engine. Sometimes it even crashes. I'd be curious to know what other people's experiences are.
Nicolas
From nicolas.brisset at free.fr Tue Mar 29 01:06:53 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Tue, 29 Mar 2011 01:06:53 +0200 (CEST)
Subject: [Kst] Sample data?
Message-ID: <1227020765.3082451301353613798.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi,
reviewing a bit the status of the website, I saw that in the sample data section (http://kst-plot.kde.org/sample_data/) there are still a number of "coming soon" entries. Can anybody help with that? In particular, I don't know where to find interesting dirfiles or fits images...
We could also discuss the possibility of creating a sample data package to make available for download from the sf.net page.
Any suggestions?
Nicolas
P.S.: I'm done with the release announcement, but I'd like to have at least 2 or 3 screencasts available before sending it, and finding the right place to host the files and the right format to use / way to embed is turning out to be quite a nightmare. If someone knows where to host such contents, please tell me. Right now I'm tending towards hosting the videos on my homepage (on free.fr), embedding them on the kst page and moving them one a week to a free account on Vimeo. But it's not what I'd call a satisfying long-term solution!
From netterfield at astro.utoronto.ca Tue Mar 29 15:29:37 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Tue, 29 Mar 2011 09:29:37 -0400
Subject: [Kst] Re: Sample data?
In-Reply-To: <1227020765.3082451301353613798.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <1227020765.3082451301353613798.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID:
I'm traveling this week but when I get back, we can easily host this stuff
in Toronto.
On Mar 28, 2011 4:06 PM, "Nicolas Brisset" wrote:
> Hi,
>
> reviewing a bit the status of the website, I saw that in the sample data
section (http://kst-plot.kde.org/sample_data/) there are still a number of
"coming soon" entries. Can anybody help with that? In particular, I don't
know where to find interesting dirfiles or fits images...
> We could also discuss the possibility of creating a sample data package to
make available for download from the sf.net page.
>
> Any suggestions?
>
> Nicolas
>
> P.S.: I'm done with the release announcement, but I'd like to have at
least 2 or 3 screencasts available before sending it, and finding the right
place to host the files and the right format to use / way to embed is
turning out to be quite a nightmare. If someone knows where to host such
contents, please tell me. Right now I'm tending towards hosting the videos
on my homepage (on free.fr), embedding them on the kst page and moving them
one a week to a free account on Vimeo. But it's not what I'd call a
satisfying long-term solution!
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110329/b9c88ccc/attachment.htm
From Nicolas.Brisset at eurocopter.com Tue Mar 29 15:39:54 2011
From: Nicolas.Brisset at eurocopter.com (Brisset, Nicolas)
Date: Tue, 29 Mar 2011 15:39:54 +0200
Subject: [Kst] Re: Sample data?
In-Reply-To:
References: <1227020765.3082451301353613798.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID:
I'm traveling this week but when I get back, we can easily host this
stuff in Toronto.
Hi Barth, which "stuff" do you mean there? The screencasts, or the
sample data?
Nicolas
Eurocopter Deutschland GmbH
Sitz der Gesellschaft/Registered Office: Donauwoerth
Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling
Geschaeftsfuehrung/Board of Management:
Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110329/b9202333/attachment.htm
From netterfield at astro.utoronto.ca Tue Mar 29 16:10:12 2011
From: netterfield at astro.utoronto.ca (Barth Netterfield)
Date: Tue, 29 Mar 2011 10:10:12 -0400
Subject: [Kst] Re: Sample data?
In-Reply-To:
References: <1227020765.3082451301353613798.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID:
Whatever you want.
What do you think we should do with domain names? kst.astro.utoronto.ca?
Or just link to them from kst.kde.org?
cbn
On Tue, Mar 29, 2011 at 9:39 AM, Brisset, Nicolas <
Nicolas.Brisset at eurocopter.com> wrote:
> I'm traveling this week but when I get back, we can easily host this
> stuff in Toronto.
>
> Hi Barth, which "stuff" do you mean there? The screencasts, or the sample
> data?
>
> Nicolas
>
> *EUROCOPTER DEUTSCHLAND GmbH* *
> Sitz der Gesellschaft / Registered Office: Donauw?rth* *
> Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508* *
> Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Dr. Lutz Bertling
> * *Gesch?ftsf?hrung / Board of Management:* *Dr. Wolfgang Schoder, Vorsitzender / CEO; Friedrich-Wilhelm Hormel; Ralf
> Barnscheidt* CONFIDENTIALITY NOTICE
> This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations.
> It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication
> or any part of it is prohibited and may be unlawful.
> If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication.
> Thank you very much.
> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses
> or other material which might be introduced with this message.
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
>
--
C. Barth Netterfield
University of Toronto
416-845-0946
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20110329/1f2d5c6c/attachment.htm
From matt at truch.net Tue Mar 29 16:26:27 2011
From: matt at truch.net (Matthew D Truch)
Date: Tue, 29 Mar 2011 10:26:27 -0400
Subject: [Kst] Re: Sample data?
In-Reply-To:
References: <1227020765.3082451301353613798.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <20110329142627.GA3432@truch.net>
> What do you think we should do with domain names? kst.astro.utoronto.ca?
> Or just link to them from kst.kde.org?
I would suggest linking to them; it gets confusing, ugly, and otherwise
not nice to have multiple domain names for what logically is a unified
webpage.
--
"One in every seven days is a Thursday."
--------------------------
Matthew Truch
Department of Physics and Astronomy
University of Pennsylvania
matt at truch.net
http://matt.truch.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kst/attachments/20110329/e8e1bb5c/attachment.sig
From syntheticpp at gmx.net Tue Mar 29 18:31:31 2011
From: syntheticpp at gmx.net (=?utf-8?q?Peter=20K=C3=BCmmel?=)
Date: Tue, 29 Mar 2011 18:31:31 +0200 (CEST)
Subject: [Kst] branches/work/kst/portto4/kst/cmake
Message-ID: <20110329163132.07EABAC8CD@svn.kde.org>
SVN commit 1226405 by kuemmel:
fix installer name
M +9 -4 CMakeLists.txt
--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1226404:1226405
@@ -215,13 +215,14 @@
if(WIN32)
set(CPACK_GENERATOR NSIS ZIP)
set(CPACK_BINARY_ZIP 1)
- if (kst_install_prefix)
- set(CPACK_NSIS_PACKAGE_NAME ${kst_install_prefix})
endif()
-endif()
if (kst_install_prefix)
+ if(WIN32)
+ set(CPACK_PACKAGE_FILE_NAME ${kst_install_prefix}-win32)
+ else()
set(CPACK_PACKAGE_FILE_NAME ${kst_install_prefix}-binary)
+ endif()
set(CPACK_SOURCE_PACKAGE_FILE_NAME ${kst_install_prefix})
else()
set(CPACK_SOURCE_PACKAGE_FILE_NAME Kst-${kst_version})
@@ -252,7 +253,11 @@
# sources
set(CPACK_SOURCE_INSTALLED_DIRECTORIES "${kst_dir};/") # http://www.mail-archive.com/cmake at cmake.org/msg33720.html
-set(CPACK_SOURCE_GENERATOR TGZ ZIP TBZ2)
+if(WIN32)
+ set(CPACK_SOURCE_GENERATOR ZIP)
+else()
+ set(CPACK_SOURCE_GENERATOR TGZ)
+endif()
# rpm
set(CPACK_SET_DESTDIR "ON")
From nicolas.brisset at free.fr Tue Mar 29 20:54:12 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Tue, 29 Mar 2011 20:54:12 +0200 (CEST)
Subject: [Kst] Re: Sample data?
In-Reply-To: <20110329142627.GA3432@truch.net>
Message-ID: <130051941.3227081301424852976.JavaMail.root@zimbra13-e2.priv.proxad.net>
> > What do you think we should do with domain names?
> kst.astro.utoronto.ca?
> > Or just link to them from kst.kde.org?
>
> I would suggest linking to them; it gets confusing, ugly, and
> otherwise not nice to have multiple domain names for what logically is a
> unified webpage.
I definitely agree here: the idea is to host the files on a server with enough bandwidth to serve them correctly, but this should be hidden from the user. I'm planning to embed the videos on the screencast page.
Which is fun given the amount of video formats there is, and the lack of a universal format, each major browser refusing to support some for political/ethical reasons...
But there are good resources on the web explaining the situation and giving solutions. So in the end it should work.
Nicolas
From nicolas.brisset at free.fr Tue Mar 29 21:06:49 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Tue, 29 Mar 2011 21:06:49 +0200 (CEST)
Subject: [Kst] http://kst.sourceforge.net/ redirect?
Message-ID: <1226091599.3229121301425609026.JavaMail.root@zimbra13-e2.priv.proxad.net>
Hi Peter,
can you check if it's possible to redirect http://kst.sourceforge.net/ to http://kst-plot.kde.org.
I'm pretty sure it's possible, and it would be much better than the stupide default sf.net page...
Nicolas
From syntheticpp at gmx.net Tue Mar 29 21:52:31 2011
From: syntheticpp at gmx.net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date: Tue, 29 Mar 2011 21:52:31 +0200
Subject: [Kst] Re: http://kst.sourceforge.net/ redirect?
In-Reply-To: <1226091599.3229121301425609026.JavaMail.root@zimbra13-e2.priv.proxad.net>
References: <1226091599.3229121301425609026.JavaMail.root@zimbra13-e2.priv.proxad.net>
Message-ID: <4D92387F.1010502@gmx.net>
On 29.03.2011 21:06, Nicolas Brisset wrote:
> Hi Peter,
>
> can you check if it's possible to redirect http://kst.sourceforge.net/ to http://kst-plot.kde.org.
> I'm pretty sure it's possible, and it would be much better than the stupide default sf.net page...
>
Done.
> Nicolas
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>
From nicolas.brisset at free.fr Tue Mar 29 22:28:11 2011
From: nicolas.brisset at free.fr (Nicolas Brisset)
Date: Tue, 29 Mar 2011 22:28:11 +0200 (CEST)
Subject: [Kst] Re: http://kst.sourceforge.net/ redirect?
In-Reply-To: <4D92387F.1010502@gmx.net>
Message-ID: <1977702292.3242371301430491213.JavaMail.root@zimbra13-e2.priv.proxad.net>
> > can you check if it's possible to redirect
> http://kst.sourceforge.net/ to http://kst-plot.kde.org.
> > I'm pretty sure it's possible, and it would be much better than the
> stupide default sf.net page...
>
> Done.
Cool :-) This is much better! Thanks.
Nicolas
From caparisoned8 at energomarket.ru Wed Mar 30 12:11:42 2011
From: caparisoned8 at energomarket.ru (=?koi8-r?B?98HM0SD21cvP18E=?=)
Date: Wed, 30 Mar 2011 17:11:42 +0700
Subject: [Kst] =?koi8-r?b?62HCZczYztllIMxv1MvJLiDzYc3ZZSDOydrLyWUgw2XO2Q==?=
Message-ID: <20110330171142.o860pcqf721047@www.ee.ru>
?o???a??e ?o??? ??? ??o??a??? ?a?e?? o? ??o???o???e??!
?o???o ? ?a? o????o?a???e ?o??? ??? ??o??a??? ?a?e?? ?o ????e? ?e?e!
- ?a??? ???o??? a??o????e??.
- ?a?a? ?????a? ?o??a??a.
- ?a??e ?????e ?e??.
- ?a?oe ????ee ?a????e ?a ???a?e.
?o??o???e, ??o?? ???a?? ???o???! ?a?o?o ??e??o?e??? ?o???e ?e ???e?!
?e?e?o??: (903) 67?-94-8?, (495) 755-O2-40