[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: [TSVN] Re: "Update to Revision" doesn't count as a modification

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-05-10 11:55:23 CEST

On 5/10/06, Hans-Emil Skogh <Hans-Emil.Skogh@tritech.se> wrote:

> Having said that, I must wonder; Would it be possible to dynamically
> allocate and deallocate overlay icon slots?

No. Unfortunately not. That's what I first tried too.
But the explorer/shell loads the overlay handlers on startup only. And
those handlers only can return true/false to show the overlay or not.
If they could return the icon to use as the overlay, that would be
great! But unfortunately, it's not implemented that way.

> I mean, if you have plenty of overlay icon slots free (when the need for a
> specific overlay icon arises) would it not make sense to grab another free
> slot and use it to display the information, or do you have to allocate the
> slots all at once?

I already have some checking in place. TSVN will allocate as many
slots as possible. It checks the *installed* overlay handlers for
that, because that number can be very different from the *loaded*
handlers. If there are more handlers installed than slots are
available, then TSVN only loads the 'important' ones (i.e. conflicted,
normal, modified) but not 'added', 'deleted', ... which get replaced
by 'modified'.

http://tortoisesvn.sourceforge.net/node/99

Stefan

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed May 10 11:55:34 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.