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

Re: [PATCH] TortoiseSVN doc typo

From: Dongsheng Song <dongsheng.song_at_gmail.com>
Date: 2007-09-20 18:08:17 CEST

I see, thanks.

2007/9/20, Simon Large <simon.tortoisesvn@googlemail.com>:
> On 20/09/2007, Dongsheng Song <dongsheng.song@gmail.com> wrote:
> > DWORD is uint32_t, so 0x80080000 greater than 0x20000000, 0x80080000
> > is higher value, not lower.
>
> We need to store a uint64_t, but the registry only allows uint32_t.
> The unit64_t has to be split into higher uint32_t and lower uint32_t.
>
> uint64_t Entries = 0x2000000080080000 is stored as
> uint32_t EntriesHigh = 0x20000000 and
> uint32_t EntriesLow = 0x80080000
>
> Simon
>
> > 2007/9/20, Simon Large <simon.tortoisesvn@googlemail.com>:
> > > > in TortoiseSVN/tsvn_app_admins.xml:
> > > > ---- snip ----
> > > >
> > > > The lower <literal>DWORD</literal> value (<literal>0x80080000</literal>)
> > > > must then be stored in
> > > > <filename>HKEY_CURRENT_USER\Software\TortoiseSVN\ContextMenuEntriesMaskLow</filename>,
> > > > the higher <literal>DWORD</literal> value (<literal>0x20000000</literal>) in
> > > > <filename>HKEY_CURRENT_USER\Software\TortoiseSVN\ContextMenuEntriesMaskHigh</filename>.
> > > > ---- snip ----
> > > >
> > > > lower <literal>DWORD</literal> value (<literal>0x80080000</literal>) >
> > > > higher <literal>DWORD</literal> value (<literal>0x20000000</literal>),
> > > > why ?
> > >
> > > Why not? I don't understand the problem. Two 32-bit (DWORD) values are
> > > needed as a bitmask of allowed entries. The values here are just
> > > examples of what you might want to use so that only a few entries are
> > > shown.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Sep 20 18:08:27 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.