Re: Plasma Unit conversion library

2009-07-16 Thread Petri Damstén
On Wednesday 15 July 2009 16:53:03 Carsten Niehaus wrote:
 As a sideissue, kashthealien created this request six weeks ago:

   http://reviewboard.kde.org/r/779/

 Aaron mentioned i18n()-problems, but those are not patch specific but
 lib-specific.

I did i18n rewrite for the lib and added density with that commit 
(http://websvn.kde.org/?view=revrevision=994221) so this is shipped.

Petri


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Unit conversion library

2009-07-15 Thread Carsten Niehaus
Moin

 I'm not sure how to proceed when multiple projects in KDE start to
 use the same lib so I let others to answer to that.

 they get moved somewhere common, though i don't know where this one 
 would go. it has kdelibs deps (so kde-support is out), i don't know if
 it really fits into kdeibs itself and it certainly doesn't in 
 kdepimlibs ... we'll figure something out. we may end up creating a
 new module or just putting it into kdelibs; it does need to stick to 
 an ABI at this point.

Any news here? Now that Akademy is over perhaps you discussed this
issue?

The problem is that translators start translation our duplicated code
which sucks. So the earlier we find a new place for this lib the better.

As a sideissue, kashthealien created this request six weeks ago:

http://reviewboard.kde.org/r/779/

Aaron mentioned i18n()-problems, but those are not patch specific but
lib-specific. Aaron notes there:

when 4.4 opens you can then merge the entire set of changes over into
trunk/.

So it is ok now to commit this fix to trunk? Most of i18n() is fixed in
an updated patch kashthealien will add to that review request any minute
and 4.3 is branched.

Carsten


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Unit conversion library

2009-07-09 Thread Petri Damstén
On Tuesday 07 July 2009 20:35:18 Aaron J. Seigo wrote:
 btw ... some things that would be great to get done as well:

 * currency conversions using the short names, e.g. cad, usd, nko, etc ..
 typing canadian dollar is a little annoying ;)

Yes they are upper case now (10 CAD  € works) but lower case would be 
probably better.

 * this line needs to be replaced with a KIO call:
 i(KProcess::execute(QStringList()  kioclient  copy  --
 noninteractive  URL  m_cache) == 0) {

kio calls crashed when library was used in runner (threading issues?) so I 
have to test if it now works (code is already there it's just commented).

Petri



signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Plasma Unit conversion library

2009-07-07 Thread kashyap puranik
Hi,

I have used the unit conversion library in the kde-plasma addons/libs
directory.

I have modified the library to add an density unit conversion.

Right now I am using it for Kalzium for unit conversion, I have it in a
separate directory under kdeedu/kalzium .

Is there any way, this library can be shared between Plasma and Kalzium?

-- 
Kashyap R Puranik
3rd year computer science student
IIT Madras
India
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Unit conversion library

2009-07-07 Thread Petri Damstén
On Tuesday 07 July 2009 17:40:53 kashyap puranik wrote:
 Hi,

 I have used the unit conversion library in the kde-plasma addons/libs
 directory.

 I have modified the library to add an density unit conversion.

 Right now I am using it for Kalzium for unit conversion, I have it in a
 separate directory under kdeedu/kalzium .

 Is there any way, this library can be shared between Plasma and Kalzium?

I'm going to do a major modifications to unit conversion library because 
currently it cannot be properly translated to all the languages. I'll add the 
density after that. 

I'm not sure how to proceed when multiple projects in KDE start to use the 
same lib so I let others to answer to that.

Petri


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: Plasma Unit conversion library

2009-07-07 Thread Aaron J. Seigo
On Tuesday 07 July 2009, Petri Damstén wrote:
 I'm not sure how to proceed when multiple projects in KDE start to use the
 same lib so I let others to answer to that.

they get moved somewhere common, though i don't know where this one would go. 
it has kdelibs deps (so kde-support is out), i don't know if it really fits 
into kdeibs itself and it certainly doesn't in kdepimlibs ... we'll figure 
something out. we may end up creating a new module or just putting it into 
kdelibs; it does need to stick to an ABI at this point.

btw ... some things that would be great to get done as well:

* currency conversions using the short names, e.g. cad, usd, nko, etc .. 
typing canadian dollar is a little annoying ;)

* this line needs to be replaced with a KIO call: 
i(KProcess::execute(QStringList()  kioclient  copy  --
noninteractive  URL  m_cache) == 0) {


-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software


signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel