CVS Plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

CVS Plugin

Post by *fabiochelly »

I never found a Client user-friendly.

I don't know CVS very much. Is it possible for a developper to create a CVS plugin?

It should not be too difficult for someone who already knows CVS commands.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Geoffrey
Junior Member
Junior Member
Posts: 73
Joined: 2003-02-11, 10:53 UTC
Location: France/Belgium
Contact:

Post by *Geoffrey »

I guess one could base oneself to CVS' source code (e.g. the one that goes with Cygwin), but I never had a look by myself.
The only thing I can tell (at least for that version of CVS), is that AFAIK there's no function exported to DLL, which would have made things easier.

As far as a CVS client is concerned, you may try GNU WinCVS, which doesn't look too bad.

Regards,
Geoffrey
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

WinCVS is horrible, I've never seen a software so illogical as this one!

The cvs.exe could be easilly used to create a plugin I think.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
piranha
Junior Member
Junior Member
Posts: 70
Joined: 2003-02-07, 19:55 UTC
Location: Miami, Fl
Contact:

Post by *piranha »

Why reinventing the wheel?
Try http://www.tortoisecvs.org/
After all, computers crash, people die, relationships fall apart. The best we can do is breath and reboot.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Tortoise doesn't work with TC. They explicitly disable the special CVS icons for other programs than Explorer, and write in the source that they had to do this because it doesn't work in a stable way under Windows.
Author of Total Commander
https://www.ghisler.com
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

And I've never find a CVS client which has the ability to show the remote view as a FTP client.

It would be great to have it in TC.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Geoffrey
Junior Member
Junior Member
Posts: 73
Joined: 2003-02-11, 10:53 UTC
Location: France/Belgium
Contact:

Post by *Geoffrey »

2fabio:

I don't find it so illogical, but that's maybe also because I'm now used to it.

As for using cvs.exe from inside a plugin, I don't like this idea of making calls to external programs, I don't find it 'clean'

Geoffrey
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

Many plugins work like this: the SSH plugin for instance uses Putty.
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Geoffrey
Junior Member
Junior Member
Posts: 73
Joined: 2003-02-11, 10:53 UTC
Location: France/Belgium
Contact:

Post by *Geoffrey »

Well, it's just my personal taste, as a programmer.
I prefer using interfaces, via shared libraries, for example.

Geoffrey
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

WinCVS, Tortoise and all CVS clients I know use cvs.exe

Why a TC plugin wouldn't do the same?
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
Geoffrey
Junior Member
Junior Member
Posts: 73
Joined: 2003-02-11, 10:53 UTC
Location: France/Belgium
Contact:

Post by *Geoffrey »

It makes some kind of sense as far as WinCVS is concerned, since it's a GNU tool; ad they use the GNU distribution of cvs.exe. But they could have made a shared library of it (even if it would probably have required some additional programming work) !

I don't know about Tortoise.

Anyway, as I said, it's just a matter of personal taste.

Geoffrey
User avatar
piranha
Junior Member
Junior Member
Posts: 70
Joined: 2003-02-07, 19:55 UTC
Location: Miami, Fl
Contact:

Post by *piranha »

ghisler(Author) wrote:Tortoise doesn't work with TC. They explicitly disable the special CVS icons for other programs than Explorer, and write in the source that they had to do this because it doesn't work in a stable way under Windows.
Doesn't work? I use it on daily basis.
It does not display icons, true. But besides that - it's functionality it perfectly ok.
After all, computers crash, people die, relationships fall apart. The best we can do is breath and reboot.
Andrey
New Member
New Member
Posts: 1
Joined: 2003-05-27, 09:31 UTC
Contact:

Post by *Andrey »

Not a secret, that CVS is very popular.
But CVS would be not so convenient if its developers have not made SVC support in FAR.
CVS support is very necessary.
I know many people (including me) which use Total Commander, but launch FAR only for working with CVS.

After installation, CVS updates file FarMenu.Ini in FAR folder. It contains FAR commands menu, which displayed in FAR by F2, it contans commands: update files in current folder to cvs, backup files in current folder to cvs, update selected file from cvs, backup current file to cvs, etc.

I tried to facilitate job with CVS in Total Commander, having added corresponding commands on control panel.
But each command is a set of console commands, it started in separate windows, it is very inconvenient.

I thought for a long time how in the best way to make CVS support in Total Commander, and arrive at conclusion, that such powerful and convenient product does not have only one feature - capture input and output of console applications.

Every time when we start DOS or console application, it's started in separate DOS window. Why? It is much better to display result in Total Commander window instead of left and right panels. So it is made everywhere, in NC, DN, FAR, VC, etc.

After that, working with CVS in Total Commander will very conveniently and easy. It will enough to add one more panel (bar file) and that's all.

I am confident, it will be very powerful and useful feature, which will provide not only CVS support, but also many other useful things.

Windows supports catpuring of DOS and console applications, and I want to add this in one of my application too.
---
Best regards,
Andrey Kilievich.
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

Andrey wrote:and arrive at conclusion, that such powerful and convenient product does not have only one feature - capture input and output of console applications
That's simple and genius idea! I already like this future feature... :) It can be very useful.
andyrozman
Junior Member
Junior Member
Posts: 2
Joined: 2003-11-18, 15:28 UTC
Location: Slovenia

Post by *andyrozman »

Hi !

I started using TortoiseCVS which added RightClick Menu items for using CVS (for import, add, update, ...). Also this aplication uses overlay icons so that icons that are in Cvs are color coded (or have signs or something beside them). We would only need to create plug in for TC, that would also be able to recognize this tags and color them accordingly...
Could someone of you do this? I am not familiar with TC to do this myself. If someone would be willing to do this, he/she can look at tortoise.sf.net, to see how it was implemented there.

Andy
Post Reply