logo       

Re: Re: [Gaim-commits] CVS: gaim/src gtkconv.c,1.504,1.505: msg#00156

gnome.gaim.devel

Subject: Re: Re: [Gaim-commits] CVS: gaim/src gtkconv.c,1.504,1.505

On Wed, 15 Dec 2004 17:57:26 -0600, Tim Ringenbach <omarvo@xxxxxxxxxxx> wrote:
> Evan Schoenberg wrote:
>
> > What exactly does the cache in ~/.gaim/icons do? I currently have
> > 56.6 MB of files in there (8,435 files, significantly more buddies
> > than I have on my list).
> >
>
> It collects buddy icons. Due to past (and possibly present, not sure)
> bugs in Gaim, buddy icons were sometimes leaked. Also if two people use
> the same buddy icon, you get the file twice.
>
> If you've ever logged into Trepia on Gaim, you'll have gotten a lot of
> them from there too.
>
> I'd like to see this cache recoded, and so would shx. Something where
> each file is stored only once by using hashes, and where a database is
> kept and old unreferenced files are garbage collected. And also where
> unreferenced files can get re-referenced.
>
> Also, this database will probably get used for custom smileys. And I
> think someone is working on those.

Indeed, I would like something like that.

Maybe inside .gaim/icons we can have a folder for each one of the
protocols, and then inside that, each file named as it's hash.

I don't know how does each prpl does buddy icons, but I think each one
of them uses some kind of hash, at least if it does some kind of
caching.

Also considering the custom smileys maybe the folder can be named as
.gaim/cache and there the prpl can store whatever files it caches.
Maybe each prpl can have a different directory structure inside its
cache dir or something.

--
Felipe Contreras


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise