NO

Author Topic: Ability to view code differences  (Read 4922 times)

MrTimmyToes

  • Guest
Ability to view code differences
« on: October 12, 2005, 11:38:40 AM »
Pelle,

I am working with several people that use Pelles C.  Is it possible to see code changes between each programmers work?  I've noticed some other compilers offer this to see what has been modified, who modified it, and so forth.  Is that possible with Pelles C or a possible future feature?

Tim

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Ability to view code differences
« Reply #1 on: October 13, 2005, 02:30:56 PM »
Hello,

It depends on what you want - a simple "file diff" utility, or a version control system.

The first case can be solved with the WinDiff utility from the "Microsoft Platform SDK" - adding it as a new tool to the "Tools" menu should be enough...

Support for some form of version control system could be nice, but I'm not sure it should be included in the "base package" - it's probably not for everyone. Perhaps doable as an add-in, but I'm not sure...

Do you have an example of what you want?

Pelle
/Pelle

MrTimmyToes

  • Guest
Ability to view code differences
« Reply #2 on: October 14, 2005, 07:56:40 AM »
Pelle,

Basically, I want the ability to see what C functions were added/removed, code that was added, edited, and removed, as well as the times of the changes.

Do you think something like that would confuse people?

Perhaps programming it as an add-in might make things simpler for programmers, since not all need that ability.

Recently, I found CVSGUI here... http://www.wincvs.org/ .  What do you think of it?

I haven't tried it yet, but that might be what I'm after.  I'll give that a shot and see how it is.

Tim

MrTopom

  • Guest
Ability to view code differences
« Reply #3 on: October 14, 2005, 09:18:15 AM »
I am using WinCVS for my professional work and it is good to use it with a CVS versioning system.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Ability to view code differences
« Reply #4 on: October 14, 2005, 07:51:24 PM »
Quote from: "MrTimmyToes"
Basically, I want the ability to see what C functions were added/removed, code that was added, edited, and removed, as well as the times of the changes.

OK.

Quote from: "MrTimmyToes"
Do you think something like that would confuse people?

Maybe not confuse. It's always difficult to decide what should be included in the "base package", and what should be "extras". I don't want to end up with a download the size of Microsoft's. But this might be "general" enough to be included...?

Quote from: "MrTimmyToes"

Recently, I found CVSGUI here... http://www.wincvs.org/ .  What do you think of it?

I havn't used it much, but CVS seems very popular. There are several other version control systems around. My idea with an add-in was that it would be easier to support more than one system - if I build something into the IDE, it will be for one solution only. Less flexible.

Pelle
/Pelle