Merging icon/pixmap cache to kdelibs

Rivo Laks rivolaks at hot.ee
Sun Jul 15 12:52:07 BST 2007


Hi again!

As my last thread didn't have any clear outcome and kdelibs freeze date was 
moved, I'm proposing the merge of my icon/pixmap cache to kdelibs again.

The most important addition in the meantime has been splitting the cache into 
KPixmapCache and KIconCache. The KPixmapCache is a general-purpose cache 
which can be used to e.g. cache pixmaps rendered from SVGs. There is interest 
for using it from app developers and many apps in kdeedu and kdegames (among 
others) would benefit from it.

The API should be complete now, but I'd appreciate a review and will add 
anything missing.
The implementation itself isn't perfect yet and will be improved prior to 4.0. 
E.g. mmapping the files and using tree for faster key lookup in index aren't 
done yet.

If noone objects, I will make the merge, so if you oppose it then object 
now.

The patch with changes to kdeui is attached. Note that this includes my 
KProfiler stuff which I don't intend to merge as well as tabs->spaces changes 
in KIconLoader.

Rivo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: soc-iconcache-kdeui.diff.bz2
Type: application/x-bzip2
Size: 14265 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070715/9433f329/attachment.bin>


More information about the kde-core-devel mailing list