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

Re: [Tortoisehg-develop] Tortoise clients and icon overlay handlers

From: TK Soh <teekaysoh_at_gmail.com>
Date: 2008-01-01 17:20:13 CET

On Jan 1, 2008 12:30 PM, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Hi,
>
> Since there are now more than just one Tortoise client available, and
> many people have already more than just one installed, the limit of
> available icon overlay handlers becomes a real problem.
>
> As you know, Windows only has 12 slots available for icon overlay
> handlers (the theoretical limit is 15, but 3 are already used by the OS
> itself). Which means if a user has more than one Tortoise client
> installed, the second one can't show all overlays anymore.
>
> To solve this problem, I've implemented a common overlay handler for
> Tortoise clients. If all Tortoise clients would use this handler instead
> of the OS one, they would all use the same slots in the system and it
> doesn't matter anymore how many clients a user has installed.
>
> To use this common overlay handler, all you have to do is to install the
> common handler (of course) and then register your own handlers under
> HKLM\Software\TortoiseOverlays\ instead of
> HKLM\Software\Microsoft\Windows\current
> version\explorer\ShellIconOverlayIdentifiers.
>
> I've already implemented this change in TortoiseSVN, it's not much work.
>
> The sourcecode is available from here (username: guest, leave password
> empty):
> http://tortoisesvn.tigris.org/svn/tortoisesvn/TortoiseOverlays/version-1.0.1/
> the installers and merge modules are in the /bin subfolder.
>
> More information is available in the documentation file:
> http://tortoisesvn.tigris.org/svn/tortoisesvn/TortoiseOverlays/version-1.0.1/Documentation.txt
>
> The whole thing is 'license free' to avoid incompatibilities with the
> license of your own Tortoise client. Which means it's completely free to
> use, link to or whatever you like.
>
> Stefan

This is great news. Thanks for sharing this. I believe it's on the
TODO list of every Tortoise project (minus TSVN, of course) to do
exactly this. I'll look into adapting the common handler asap.

BTW, out of curiosity, I took a peek into the registry of an XP box
where I've TortoiseSVN 1.4.5 installed, but I don't see
HKLM\Software\TortoiseOverlays\ anywhere. Has this been implemented,
in the later version of TSVN perhaps?
Received on Tue Jan 1 19:16:33 2008

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