[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kconfig_compiler4
From:       Allen Winter <winter () kde ! org>
Date:       2006-01-12 0:01:00
Message-ID: 200601111901.00364.winter () kde ! org
[Download RAW message or body]

On Wednesday 11 January 2006 11:20, Thomas Braxton wrote:

> How about this patch? The only problem I have is with kcfg.xsd, is there a way 
> to make it output a warning for using deprecated types? If not, should we 
> allow both types for now and just remove them before KDE4 ships. And does the 
> version of kcfg.xsd need to change?
> 
Thomas,

I think this is the correct approach where you
change (U)Int32 back to (U)Int and change (U)Int64 to (U)IntLongLong.
The patch looks fine to me.

I searched all the .kcfg files in kdelibs, kdebase, kdegraphics, and kdeedu and didn't
find any occurrences of "type=(U)Int64" so it shouldn't be too painful to simply
remove that type (and not deprecate).

..and yes, I think you need to update kcfg.xsd too.

Then don't forget to un-deprecate ItemInt and ItemUInt in kconfigskeleton.h
and ItemInt432 and ItemUInt32 need to be removed,
and ItemInt64 and ItemUInt64 need to be deprecated,
and there needs to be a new ItemLongLong and ItemULongLong types.

Whew.

-Allen

-- 
Let's Keep the Political Talk Out of KDE PLEASE
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic