Adding some functionality...

Sebastian Andersson <[email protected]> Mon, 13 Feb 2012 09:25:59 +0100
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
--===============4824221401860608616==
Content-Type: multipart/alternative;
	boundary="_90e573d9-a304-4375-8f55-e38c3f24e537_"

--_90e573d9-a304-4375-8f55-e38c3f24e537_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hello!

I have been trying to add some functionality to TortoiseCVS (as a school pr=
oject=2C but if it turns out to be great I would love to share it). The goa=
l is creating a Search screen that enables the user search through files in=
 a folder for e.g author name or changedates/createddates. The overall look=
 could be very similair to the "Add Contents" dialog=2C which was my starti=
ng point in learning how the code was set up. I have successfully managed t=
o edit the menu to show a Search-dialog option which when selected starts a=
 almost identical dialog to the AddContents dialog.=20

Now I wanted to have ALL folders in the Root (the folder where I started To=
rtoise in) to show up in the left panel gui-tree=2C and all files in the se=
lected folder to show in the right list panel. However currently=2C as the =
Add-contents dialog only want to show files NOT in the repository=2C the gu=
i-tree (ofcourse) only shows the folders that have files addable in them. I=
 have tried to figure out how this exactly works=2C but have failed. In my =
mind=2C somewhere in the code it should check whether a folder contains fil=
es that are not in the repository=2C but this location in the code is not o=
bvious. There seems to be a long sequence of events that determine what fol=
ders appear in the gui-tree. Some folders are excluded at the creating of t=
he FileTree and some are excluded at the next step when creating the gui-tr=
ee=2C which is very confusing. Any hints on this would be very helpful. In =
my case=2C I want ALL folders to be visible.

I do not understand what "Enabled" and "Selected" means=2C which a treeData=
 can have both of=2C can someone explain?

Also=2C there seems to be a bug in the Add Content dialog: If you click the=
 column head (the top of the column that sorts the ctrl-list) twice on the =
same column (to re-sort ascending/descending) and that column only contains=
 one type of entry you will get a crash. E.g: A folder contains two addable=
 files=2C both of which are of Format=3DBinary=2C you click to sort after F=
ormat and after two clicks (sometimes even one) you get a crash. This is re=
gardless of what column it is (Add=2C Keywords=2C Type=2C etc).

Very thankful of any help and tips!

Best regards=2C
Sebastian


 		 	   		  =

--_90e573d9-a304-4375-8f55-e38c3f24e537_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
Hello!<br><br>I have been trying to add some functionality to TortoiseCVS (=
as a school project=2C but if it turns out to be great I would love to shar=
e it). The goal is creating a Search screen that enables the user search th=
rough files in a folder for e.g author name or changedates/createddates. Th=
e overall look could be very similair to the "Add Contents" dialog=2C which=
 was my starting point in learning how the code was set up. I have successf=
ully managed to edit the menu to show a Search-dialog option which when sel=
ected starts a almost identical dialog to the AddContents dialog. <br><br>N=
ow I wanted to have ALL folders in the Root (the folder where I started Tor=
toise in) to show up in the left panel gui-tree=2C and all files in the sel=
ected folder to show in the right list panel. However currently=2C as the A=
dd-contents dialog only want to show files NOT in the repository=2C the gui=
-tree (ofcourse) only shows the folders that have files addable in them. I =
have tried to figure out how this exactly works=2C but have failed. In my m=
ind=2C somewhere in the code it should check whether a folder contains file=
s that are not in the repository=2C but this location in the code is not ob=
vious. There seems to be a long sequence of events that determine what fold=
ers appear in the gui-tree. Some folders are excluded at the creating of th=
e FileTree and some are excluded at the next step when creating the gui-tre=
e=2C which is very confusing. Any hints on this would be very helpful. In m=
y case=2C I want ALL folders to be visible.<br><br>I do not understand what=
 "Enabled" and "Selected" means=2C which a treeData can have both of=2C can=
 someone explain?<br><br>Also=2C there seems to be a bug in the Add Content=
 dialog: If you click the column head (the top of the column that sorts the=
 ctrl-list) twice on the same column (to re-sort ascending/descending) and =
that column only contains one type of entry you will get a crash. E.g: A fo=
lder contains two addable files=2C both of which are of Format=3DBinary=2C =
you click to sort after Format and after two clicks (sometimes even one) yo=
u get a crash. This is regardless of what column it is (Add=2C Keywords=2C =
Type=2C etc).<br><br>Very thankful of any help and tips!<br><br>Best regard=
s=2C<br>Sebastian<br><br><br> 		 	   		  </div></body>
</html>=

--_90e573d9-a304-4375-8f55-e38c3f24e537_--


--===============4824221401860608616==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
--===============4824221401860608616==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tortoisecvs-users mailing list
tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users

--===============4824221401860608616==--