KURLfied CvsPart (Version 2)

Mario Scalas mario.scalas at libero.it
Thu May 1 00:22:05 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

As I explained to roberto on #kdevelop my previous patch was pretty brittle 
since it didn't take in account KURL tricks about path() and directory() 
methods.
   I reworked the interface of FileContext class trying to keep the interface 
compliant with the current code-base & adding only one method for using KURL 
for the volunteers ;).

Since something else will probably change in FileContext in the following days 
... I moved FileContext implemetation from /lib/interfaces/kdevcore.h in 
/lib/interfaces/kdevecore.cpp: any needed modification to this header would 
anyway force to re-compile all depending modules. Sorry, but at least 
something is spared for the future.

I had to fix also how FileContext was built in filegroupswidget.cpp (relative 
Vs absolute path problem as always ;)

Now CVS part works with KURL both from FileTree and FileGroups: I don't know 
if it break something else (hope not) so I ask someone else to test it. It is 
not long as It seems (some changes are redundants due to my "kill that ugly 
double white line"-like attitude: still don't know how to revert them while 
cvs-diffing ... ;)

So, whoever has spare cpu cycles and know that his/her/its part uses the 
FileContext , check it and provide feedbacks, remarks, bugs, ...

Thanks.
Mario.

Ps: the current diff contains both modifications to CvsPart, FileContext and 
FileGroupsWidget.

- -- 
Mario Scalas <mario dot scalas at libero dot it>
Miser miser! Modo niger et ustus fortiter.
homepage: http://digilander.iol.it/zakuteam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+sbn2kfH25fNf4bcRAtD8AJ4jZMF1Iyf7pnkZOZTGAsX5BpYJgwCfdRXb
1gnrGOCNPB4yzIqsxUI+AmM=
=8xYO
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvspart-kurlfied-v2.diff
Type: text/x-diff
Size: 14801 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20030501/00234b44/attachment.bin>


More information about the KDevelop-devel mailing list