KCalc's Future
Hi Bernd, You are listed in kdeutils/AUTHORS as the maintainer for KCalc. Speaking for the KDE 4 Release Team.. I am wondering what your plans are for KCalc in KDE4. There has been a lot of mail going on in kde-core-devel discussing some critical issues with KCalc and we haven't heard from you. In the meantime, David Johnson has volunteered to give it some love. But we need a KCalc maintainer. So, how should we proceed with KCalc and the KDE4.0 release? Regards, Allen ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
On Saturday 08 December 2007 20:00:08 Allen Winter wrote: > Hi Bernd, > > You are listed in kdeutils/AUTHORS as the maintainer for KCalc. > > Speaking for the KDE 4 Release Team.. I am wondering what > your plans are for KCalc in KDE4. There has been a lot of > mail going on in kde-core-devel discussing some critical > issues with KCalc There have? Can you provide me with a link since I can't find any such mails... I tried a full-text search on 'kcalc' in kmail. > and we haven't heard from you. There was one thread on this list which grossly overstated problems (none actually exist anymore) for the app, I didn't expect any mails from bernd myself. So, either I'm missing various mails, and in effect the reason for your mail, or this is based on some misunderstandings. In my tests kcalc from svn fits the role of a general purpose desktop calculator perfectly. So your mail surprises me, I'm not sure there is a strong need for a maintainer. Its got well below the average amount of bugs (22) *confused* -- Thomas Zander pgpENEICGBNKA.pgp Description: PGP signature ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
A Dissabte 08 Desembre 2007, Thomas Zander va escriure: > On Saturday 08 December 2007 20:00:08 Allen Winter wrote: > > Hi Bernd, > > > > You are listed in kdeutils/AUTHORS as the maintainer for KCalc. > > > > Speaking for the KDE 4 Release Team.. I am wondering what > > your plans are for KCalc in KDE4. There has been a lot of > > mail going on in kde-core-devel discussing some critical > > issues with KCalc > > There have? Can you provide me with a link since I can't find any such > mails... > I tried a full-text search on 'kcalc' in kmail. > > > and we haven't heard from you. > > There was one thread on this list which grossly overstated problems (none > actually exist anymore) for the app, I didn't expect any mails from bernd > myself. So you mean typing 3 + 3 Enter and getting a 0 is the expected behaviour? Albert > > So, either I'm missing various mails, and in effect the reason for your > mail, or this is based on some misunderstandings. > > In my tests kcalc from svn fits the role of a general purpose desktop > calculator perfectly. So your mail surprises me, I'm not sure there is a > strong need for a maintainer. Its got well below the average amount of > bugs (22) > > *confused* ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Fwd: RE: KCalc's Future
Thanks for the fast response Bernd. David, KCalc is all yours :) Please keep me informed as to the GMP issue. -Allen -- Forwarded Message -- Subject: RE: KCalc's Future Date: Saturday 08 December 2007 From: Bernd J Wuebben <[EMAIL PROTECTED]> To: 'Allen Winter' <[EMAIL PROTECTED]> Hi Allen, I wrote KCalc during a period of perhaps 2 weeks in the spring of 1997 shortly after we founded KDE. While I have contributed many more applications to KDE I have not worked specifically on KCalc since then. Over the years various kind individuals have looked after KCalc, making sure it would compile with newer versions of KDE. Unfortunately, I personally have no time nor am in a position (Development environment etc) to look after KCalc. If David Johnson is currently helping KCalc to grow with KDE then David Johnson is fully entitled to decide what to do with KCalc. Best, Bernd -Original Message- From: Allen Winter [mailto:[EMAIL PROTECTED] Sent: Saturday, December 08, 2007 2:00 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; KDE release coordination Subject: KCalc's Future Hi Bernd, You are listed in kdeutils/AUTHORS as the maintainer for KCalc. Speaking for the KDE 4 Release Team.. I am wondering what your plans are for KCalc in KDE4. There has been a lot of mail going on in kde-core-devel discussing some critical issues with KCalc and we haven't heard from you. In the meantime, David Johnson has volunteered to give it some love. But we need a KCalc maintainer. So, how should we proceed with KCalc and the KDE4.0 release? Regards, Allen --- ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
On Saturday 08 December 2007 20:59:48 Albert Astals Cid wrote: > So you mean typing 3 + 3 Enter and getting a 0 is the expected > behaviour? Hi Albert, thanks for one of your always illuminating emails :) I think that since we have seen various people try to reproduce it and it works correctly for most of them that, sure, there is something to investigate. But since you made it really clear you don't want to spent time on it, and so far you are one of the only developers actually seeing this, I fail to see that being significant in any way for kcalcs standing in the release. -- Thomas Zander pgpsTykAsMmlZ.pgp Description: PGP signature ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
On 12/8/07, Albert Astals Cid <[EMAIL PROTECTED]> wrote: > So you mean typing 3 + 3 Enter and getting a 0 is the expected behaviour? As I said in the previous discussion this works fine here. It only seems to be an issue for people on 64 bit machines, and I suspect not even all of those. If people would get together info about things like which version of gmp they're using, which compiler etc. then maybe we could make some progress on this issue. Cheers Rich. ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
A Dissabte 08 Desembre 2007, Thomas Zander va escriure: > On Saturday 08 December 2007 20:59:48 Albert Astals Cid wrote: > > So you mean typing 3 + 3 Enter and getting a 0 is the expected > > behaviour? > > Hi Albert, > > thanks for one of your always illuminating emails :) > > I think that since we have seen various people try to reproduce it and it > works correctly for most of them that, sure, there is something to > investigate. But since you made it really clear you don't want to spent > time on it, and so far you are one of the only developers actually seeing > this, I fail to see that being significant in any way for kcalcs standing > in the release. I'll note that answer for the next time you report a okular/kpdf bug and it works for me. Albert ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
A Dissabte 08 Desembre 2007, Richard Moore va escriure: > On 12/8/07, Albert Astals Cid <[EMAIL PROTECTED]> wrote: > > So you mean typing 3 + 3 Enter and getting a 0 is the expected behaviour? > > As I said in the previous discussion this works fine here. It only > seems to be an issue for people on 64 bit machines, and I suspect not > even all of those. If people would get together info about things like > which version of gmp they're using, which compiler etc. then maybe we > could make some progress on this issue. I know it's weird, actually i'm using exactly the same configuration (ubuntu version, installed libraries and cpu model) than John Tapsell and it works for him. I've already volunteered givin remove access to my machine to David Johnson so he can try fixing the bug but he said it was not necessary. For the record: gmp version: 4.2.1+dfsg-5ubuntu4 g++ version: g++-4.1 (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) machine: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Albert > Cheers > > Rich. > ___ > release-team mailing list > release-team@kde.org > https://mail.kde.org/mailman/listinfo/release-team ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
A Dissabte 08 Desembre 2007, Albert Astals Cid va escriure: > A Dissabte 08 Desembre 2007, Richard Moore va escriure: > > On 12/8/07, Albert Astals Cid <[EMAIL PROTECTED]> wrote: > > > So you mean typing 3 + 3 Enter and getting a 0 is the expected > > > behaviour? > > > > As I said in the previous discussion this works fine here. It only > > seems to be an issue for people on 64 bit machines, and I suspect not > > even all of those. If people would get together info about things like > > which version of gmp they're using, which compiler etc. then maybe we > > could make some progress on this issue. > > I know it's weird, actually i'm using exactly the same configuration > (ubuntu version, installed libraries and cpu model) than John Tapsell and > it works for him. > > I've already volunteered givin remove access to my machine to David Johnson ^^ typo "giving remote access" ^^ Albert > so he can try fixing the bug but he said it was not necessary. > > For the record: > gmp version: 4.2.1+dfsg-5ubuntu4 > g++ version: g++-4.1 (GCC) 4.1.3 20070929 (prerelease) (Ubuntu > 4.1.2-16ubuntu2) > machine: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ > > Albert > > > Cheers > > > > Rich. > > ___ > > release-team mailing list > > release-team@kde.org > > https://mail.kde.org/mailman/listinfo/release-team > > ___ > release-team mailing list > release-team@kde.org > https://mail.kde.org/mailman/listinfo/release-team ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
Albert Astals Cid schrieb: > A Dissabte 08 Desembre 2007, Richard Moore va escriure: >> On 12/8/07, Albert Astals Cid <[EMAIL PROTECTED]> wrote: >>> So you mean typing 3 + 3 Enter and getting a 0 is the expected behaviour? >> As I said in the previous discussion this works fine here. It only >> seems to be an issue for people on 64 bit machines, and I suspect not >> even all of those. If people would get together info about things like >> which version of gmp they're using, which compiler etc. then maybe we >> could make some progress on this issue. > > I know it's weird, actually i'm using exactly the same configuration (ubuntu > version, installed libraries and cpu model) than John Tapsell and it works > for him. > > I've already volunteered givin remove access to my machine to David Johnson > so > he can try fixing the bug but he said it was not necessary. > > For the record: > gmp version: 4.2.1+dfsg-5ubuntu4 > g++ version: g++-4.1 (GCC) 4.1.3 20070929 (prerelease) (Ubuntu > 4.1.2-16ubuntu2) > machine: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ > OpenSuSE 10.3 64bit, gcc 4.2.1 The attached patch fixes the problem (better: avoids the problem). After this 3+3 is 6 again on my system. It was ever, but displaying did not work correct. Christian Index: knumber/knumber.cpp === --- knumber/knumber.cpp (Revision 746388) +++ knumber/knumber.cpp (Arbeitskopie) @@ -366,7 +366,7 @@ if (width > 0) { //result needs to be cut-off bool tmp_bool = _fraction_input; // stupid work-around _fraction_input = false; - tmp_str = (KNumber("1.0")*(*this)).toQString(width, -1); + tmp_str = (KNumber(1.0)*(*this)).toQString(width, -1); _fraction_input = tmp_bool; } else tmp_str = QString(_num->ascii()); @@ -375,7 +375,7 @@ if (_float_output) { bool tmp_bool = _fraction_input; // stupid work-around _fraction_input = false; - tmp_str = (KNumber("1.0")*(*this)).toQString(width, -1); + tmp_str = (KNumber(1.0)*(*this)).toQString(width, -1); _fraction_input = tmp_bool; } else { // _float_output == false if(_splitoffinteger_output) { @@ -394,7 +394,7 @@ //result needs to be cut-off bool tmp_bool = _fraction_input; // stupid work-around _fraction_input = false; - tmp_str = (KNumber("1.0")*(*this)).toQString(width, -1); + tmp_str = (KNumber(1.0)*(*this)).toQString(width, -1); _fraction_input = tmp_bool; } } ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
A Dissabte 08 Desembre 2007, Christian Ehrlicher va escriure: > Albert Astals Cid schrieb: > > A Dissabte 08 Desembre 2007, Richard Moore va escriure: > >> On 12/8/07, Albert Astals Cid <[EMAIL PROTECTED]> wrote: > >>> So you mean typing 3 + 3 Enter and getting a 0 is the expected > >>> behaviour? > >> > >> As I said in the previous discussion this works fine here. It only > >> seems to be an issue for people on 64 bit machines, and I suspect not > >> even all of those. If people would get together info about things like > >> which version of gmp they're using, which compiler etc. then maybe we > >> could make some progress on this issue. > > > > I know it's weird, actually i'm using exactly the same configuration > > (ubuntu version, installed libraries and cpu model) than John Tapsell and > > it works for him. > > > > I've already volunteered givin remove access to my machine to David > > Johnson so he can try fixing the bug but he said it was not necessary. > > > > For the record: > > gmp version: 4.2.1+dfsg-5ubuntu4 > > g++ version: g++-4.1 (GCC) 4.1.3 20070929 (prerelease) (Ubuntu > > 4.1.2-16ubuntu2) > > machine: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ > > OpenSuSE 10.3 64bit, gcc 4.2.1 > > The attached patch fixes the problem (better: avoids the problem). > After this 3+3 is 6 again on my system. It was ever, but displaying did > not work correct. Works here :-) Albert > > > Christian ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
Albert Astals Cid schrieb: > A Dissabte 08 Desembre 2007, Christian Ehrlicher va escriure: >> Albert Astals Cid schrieb: >>> A Dissabte 08 Desembre 2007, Richard Moore va escriure: On 12/8/07, Albert Astals Cid <[EMAIL PROTECTED]> wrote: > So you mean typing 3 + 3 Enter and getting a 0 is the expected > behaviour? As I said in the previous discussion this works fine here. It only seems to be an issue for people on 64 bit machines, and I suspect not even all of those. If people would get together info about things like which version of gmp they're using, which compiler etc. then maybe we could make some progress on this issue. >>> I know it's weird, actually i'm using exactly the same configuration >>> (ubuntu version, installed libraries and cpu model) than John Tapsell and >>> it works for him. >>> >>> I've already volunteered givin remove access to my machine to David >>> Johnson so he can try fixing the bug but he said it was not necessary. >>> >>> For the record: >>> gmp version: 4.2.1+dfsg-5ubuntu4 >>> g++ version: g++-4.1 (GCC) 4.1.3 20070929 (prerelease) (Ubuntu >>> 4.1.2-16ubuntu2) >>> machine: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ >> OpenSuSE 10.3 64bit, gcc 4.2.1 >> >> The attached patch fixes the problem (better: avoids the problem). >> After this 3+3 is 6 again on my system. It was ever, but displaying did >> not work correct. > > Works here :-) > fine. Now we need someone from gmp as the problem lies here: _knumfloat::_knumfloat(QString const & num) { mpf_init(_mpf); mpf_set_str(_mpf, num.toAscii(), 10); } I already tried to pass "10,0" without success. Don't know if "nan" and "inf" is correctly interpreted. Christian ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
On 08.12.07 23:12:16, Christian Ehrlicher wrote: > _knumfloat::_knumfloat(QString const & num) > { > mpf_init(_mpf); > mpf_set_str(_mpf, num.toAscii(), 10); > } > > I already tried to pass "10,0" without success. Don't know if "nan" and > "inf" is correctly interpreted. Does gmp create a deep copy of the char*? If not that might be the reason, toAscii() returns a QByteArray and that will be implicitly converted to char*. However that returns the QByteArray internal buffer and thus its gone after the call to mpf_set_str. So either gmp needs to do a deep copy in set_str or you need to keep the QByteArray around until its not needed anymore. Andreas -- Your boss is a few sandwiches short of a picnic. ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team
Re: KCalc's Future
Andreas Pakulat schrieb: > On 08.12.07 23:12:16, Christian Ehrlicher wrote: >> _knumfloat::_knumfloat(QString const & num) >> { >> mpf_init(_mpf); >> mpf_set_str(_mpf, num.toAscii(), 10); >> } >> >> I already tried to pass "10,0" without success. Don't know if "nan" and >> "inf" is correctly interpreted. > > Does gmp create a deep copy of the char*? If not that might be the > reason, toAscii() returns a QByteArray and that will be implicitly > converted to char*. However that returns the QByteArray internal buffer > and thus its gone after the call to mpf_set_str. So either gmp needs to > do a deep copy in set_str or you need to keep the QByteArray around > until its not needed anymore. > I hope you're wrong - I would consider this as a design bug in gmp otherwise :) Christian ___ release-team mailing list release-team@kde.org https://mail.kde.org/mailman/listinfo/release-team