|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
|
|
|
Re: [Kmymoney2-user] Kmymoney2 CVS version freezing with custom reportHi all,
on Friday 18 July 2008 03:01, Alvaro Soliverez wrote: > Hello all, > I have debugged the test file. The culprit seems to be that at some > point, given a combination of numbers, it enters an infinite loop. > It should come out of that eventually, but it would take a looooong > time. > > KSpread uses a similar function, but it seems to be more efficient, and > more readable. And it has a condition to escape the function after a > prudent number of iterations. :) > I could try to adapt that one to KMyMoney, what do you think? > Also, what are the copyright implications, since I am not copying > line-by-line, but basing mine on the one of KSpread? > Of course it won't be a line-by-line copy, but pretty much. > I have already subscribed to koffice-devel mailing list, and I will try > to ask there, but just in case... I assume, KSpread also follows some open source licence (if not GPL). So that shouldn't be a problem. What we have done in the past in such cases can be seen eg. in kMyMoneyDateTbl::weekNumber() (kmymoney2/widgets/kmymoneydatetbl.cpp) as well as the top of the same file. Another one is here: http://kmymoney2.sourceforge.net/kmymoney2-api/html/classMyMoneyTransaction.html#e1 -- Regards Thomas Baumgart GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA ------------------------------------------------------------- A crash turns an expensive computer into a simple stone! ------------------------------------------------------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ KMyMoney2-developer mailing list KMyMoney2-developer@... https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer |
|
|
Re: [Kmymoney2-user] Kmymoney2 CVS version freezing with custom reportStrangely, KOffice, or at least this particular file seems to be GPL v2 ONLY. I will put in a separate file, so it is easier to spot.
There should be no problem in the future, since all of KDE seems to be going to GPL v2 or later, or GPL v3, but just to make sure. I am talking to one of the developers, Stefan Nikolaus, of this class, just to make sure it is okay. He also confirmed me that XIRR is ok according to the OpenFormula spec, so that is another good point to use this same function. Nobody wants Debian raising a warning because of this, right? I still remember that issue we had a few months ago. :)) On Fri, Jul 18, 2008 at 1:54 AM, Thomas Baumgart <thb@...> wrote: Hi all, ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ KMyMoney2-developer mailing list KMyMoney2-developer@... https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer |
|
|
Re: [Kmymoney2-user] Kmymoney2 CVS version freezing with custom reportHello all,
I managed to adapt the function from KSpread to KMyMoney. I am not entirely sure it works, though the unit tests pass ok. But I am still waiting for an answer from KOffice about the license, so I cannot commit this until then. I opened John's test file and I was able to run the reports with no dates, and KMyMoney didn't freeze. It took some time (about 20 secs or so), but it didn't freeze. Numbers didn't seem all that accurate in some cases, but I guess that is because the anon file numbers are so big that it overflows the MyMoneyMoney object. I have seen that happen before. We will have to wait until I can commit and then run some more tests. Regards, Alvaro On Fri, Jul 18, 2008 at 11:54 AM, Alvaro Soliverez <asoliverez@...> wrote:
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ KMyMoney2-developer mailing list KMyMoney2-developer@... https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer |
|
|
Re: [Kmymoney2-user] Kmymoney2 CVS version freezing with custom reportHello all,
I got the ok from Sascha Pfau, from KOffice, to relicense his code to GPL v2 or later and include it in KMyMoney. I am about to commit it. Thomas, can you check the copyright notice later? I added a comment, but not the original license since it was agreed to relicense, so the original one was no longer meaningful. Now, please test it and let me know of any issues. We can always go back to trying to fix the old one, but since this one is "shared" with KOffice, it is easier to maintain, and it also complies with OpenFormula, which is a reassurance. Thank you all for your patience and help with testing and ideas to solve this issue. Regards, Alvaro On Fri, Jul 18, 2008 at 10:57 PM, Alvaro Soliverez <asoliverez@...> wrote:
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ KMyMoney2-developer mailing list KMyMoney2-developer@... https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer |
|
|
Re: [Kmymoney2-user] Kmymoney2 CVS version freezing with custom reportHi all,
on Saturday 19 July 2008 17:56, Alvaro Soliverez wrote: > Hello all, > I got the ok from Sascha Pfau, from KOffice, to relicense his code to > GPL v2 or later and include it in KMyMoney. I am about to commit it. > Thomas, can you check the copyright notice later? I added a comment, but > not the original license since it was agreed to relicense, so the > original one was no longer meaningful. That looks perfectly ok. Since the whole code is under GPLv2 or later this part is now too. Mentioning Sascha in the header is good. > Now, please test it and let me know of any issues. We can always go back > to trying to fix the old one, but since this one is "shared" with > KOffice, it is easier to maintain, and it also complies with > OpenFormula, which is a reassurance. > > Thank you all for your patience and help with testing and ideas to solve > this issue. > > Regards, > Alvaro > > On Fri, Jul 18, 2008 at 10:57 PM, Alvaro Soliverez > <asoliverez@...> > > wrote: > > Hello all, > > I managed to adapt the function from KSpread to KMyMoney. I am not > > entirely sure it works, though the unit tests pass ok. But I am still > > waiting for an answer from KOffice about the license, so I cannot > > commit this until then. > > > > I opened John's test file and I was able to run the reports with no > > dates, and KMyMoney didn't freeze. It took some time (about 20 secs or > > so), but it didn't freeze. Numbers didn't seem all that accurate in > > some cases, but I guess that is because the anon file numbers are so > > big that it overflows the MyMoneyMoney object. I have seen that happen > > before. > > > > We will have to wait until I can commit and then run some more tests. > > > > Regards, > > Alvaro > > > > > > > > > > On Fri, Jul 18, 2008 at 11:54 AM, Alvaro Soliverez > > <asoliverez@...> > > > > wrote: > >> Strangely, KOffice, or at least this particular file seems to be GPL > >> v2 ONLY. I will put in a separate file, so it is easier to spot. > >> There should be no problem in the future, since all of KDE seems to > >> be going to GPL v2 or later, or GPL v3, but just to make sure. > >> > >> I am talking to one of the developers, Stefan Nikolaus, of this > >> class, just to make sure it is okay. He also confirmed me that XIRR > >> is ok according to the OpenFormula spec, so that is another good > >> point to use this same function. > >> > >> Nobody wants Debian raising a warning because of this, right? I still > >> remember that issue we had a few months ago. :)) > >> > >> On Fri, Jul 18, 2008 at 1:54 AM, Thomas Baumgart <thb@...> > >> > >> wrote: > >>> Hi all, > >>> > >>> on Friday 18 July 2008 03:01, Alvaro Soliverez wrote: > >>> > Hello all, > >>> > I have debugged the test file. The culprit seems to be that at > >>> > some point, given a combination of numbers, it enters an infinite > >>> > loop. It should come out of that eventually, but it would take a > >>> > looooong time. > >>> > > >>> > KSpread uses a similar function, but it seems to be more > >>> > efficient, and more readable. And it has a condition to escape the > >>> > function after a prudent number of iterations. :) > >>> > I could try to adapt that one to KMyMoney, what do you think? > >>> > >>> Sounds like a good idea to me. At least, we should give it a try. > >>> > >>> > Also, what are the copyright implications, since I am not copying > >>> > line-by-line, but basing mine on the one of KSpread? > >>> > Of course it won't be a line-by-line copy, but pretty much. > >>> > I have already subscribed to koffice-devel mailing list, and I > >>> > will try to ask there, but just in case... > >>> > >>> I assume, KSpread also follows some open source licence (if not > >>> GPL). So that shouldn't be a problem. > >>> > >>> What we have done in the past in such cases can be seen eg. in > >>> kMyMoneyDateTbl::weekNumber() > >>> (kmymoney2/widgets/kmymoneydatetbl.cpp) as well as the top of the > >>> same file. > >>> > >>> Another one is here: > >>> > >>> http://kmymoney2.sourceforge.net/kmymoney2-api/html/classMyMoneyTran > >>>saction.html#e1 > >>> > >>> -- > >>> > >>> Regards > >>> > >>> Thomas Baumgart > >>> > >>> GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA > >>> ------------------------------------------------------------- > >>> A crash turns an expensive computer into a simple stone! > >>> ------------------------------------------------------------- > >>> > >>> -------------------------------------------------------------------- > >>>----- This SF.Net email is sponsored by the Moblin Your Move > >>> Developer's challenge > >>> Build the coolest Linux based applications with Moblin SDK & win > >>> great prizes > >>> Grand prize is a trip for two to an Open Source event anywhere in > >>> the world > >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >>> _______________________________________________ > >>> KMyMoney2-developer mailing list > >>> KMyMoney2-developer@... > >>> https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer Regards Thomas Baumgart GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA ------------------------------------------------------------- With every day I come closer to the grave and learn something new. It all happens because I have wandered around too much and stumbled into the Linux world - which is a fantastic place to be! (Algis Kabaila) ------------------------------------------------------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ KMyMoney2-developer mailing list KMyMoney2-developer@... https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer |
| Free Forum Powered by Nabble | Forum Help |