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

Re: Random Thought: Unified "TortoiseVC" interface for Version Control

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-04-25 22:27:40 CEST

Thomas Hruska wrote:

> Which brings up an interesting question: If the overlay limit is
> hardcoded, wouldn't that mean that some DLL contains a comparison like:
>
> for (x = 0; x < 16; x++)
> ...
>
> Which in turn means there is binary code in the DLL that could be
> modified to expand that limit by patching the DLL. Might be worth
> looking into.

Not really. The overlays are handled special. It's not just a fixed
integer. The number 16 comes from the four bits you can pass to a image
list object. And the other bits are already used for other stuff, so
increasing the number of overlays isn't possible without breaking the
compatibility. The only way to do that would be if MS would create a
completely new shell extension handler for that, and then draw the icons
with API's they have to create first too.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Apr 25 22:28:01 2007

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.