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

[TSVN] Commit Dialog Context Menu

From: Damian Powell <damian_at_shadow-angel.com>
Date: 2004-12-01 02:20:46 CET

Hi Stefan,

Okay, here's another little patch for you to take a look at.

After the CSVNStatusListCtrl has handled a context menu command, at checks
to see if the number of items has changed (perhaps an item was reverted,
deleted, ignored or otherwise removed from the list for some reason) and if
it has, a registered message is sent to the parent window. The CLogPromptDlg
class handles this message to do a check for an empty list. If the list is
empty, then the "There's nothing for TortoiseSVN to do here..." message is
displayed and the dialog closes.

Also, after sending one of my earlier patches, I realised that my
fixed_array<T> class was basically a poor cousin to std::vector<T,A> so I
enhanced it so that it is now a full subclass of the same name and template
parameters within the stdex namespace. It doesn't have all of the STL
vector's constructors yet but they would be easy enough to add if they are
required.

I hope you find this patch interesting.

TTFN,
Damian.

PS: I hope you don't mind me sending these small patches. I know that they
are pretty insignificant but unfortunately, they're all that I have time for
and I really want to give something back to the project.

-------------
Damian Powell
[w] http://www.shadow-angel.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Wed Dec 1 08:48:19 2004

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.