Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Graeme Geldenhuys
On Fri, Nov 7, 2008 at 12:01 PM, Paul Ishenin <[EMAIL PROTECTED]> wrote:
> Dont complicate already complicated task at the begining. Let's Darius
> implement svn plugin at first and then you will push him to make it more
> generic.

This is my sentiment as well. Get one out there first—then generalise
it if the demand is there. So far I'm enjoying the SVN plugin—mostly
because I can now type my commit comments much easier and review diffs
with less hassle before I commit.   :-)   Awesome work Darius!


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread dhkblaszyk
> On Fri, 7 Nov 2008, Paul Ishenin wrote:
>
>> Michael Van Canneyt wrote:
>>
>> > I second this. Borland has (had) a special API in the IDE for this.
>> > Specifically, this would mean that lazarus provides an interface
>> > in ideintf, which is then implemented for various version control
>> > systems...
>>
>> Dont complicate already complicated task at the begining. Let's Darius
>> implement svn plugin at first and then you will push him to make it more
>> generic.
>
> Of course! I'm happy to see that there is a plugin at all :-)
> Since I use Subversion, the SVN plugin is a perfect start for me :-)
>
> But not everyone uses SVN, so...

Creating a generic interface was the plan already from the beginning, but
I only have limited time to work on this, and rather than trying to work
out an API from the beginning I wanted to create something usable first
and then see what functionality can be shared after. I welcome any ideas
though on improving the SVN plugin as well as the IDE interface. Keep
sending them patches :)

Darius

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Michael Van Canneyt


On Fri, 7 Nov 2008, Paul Ishenin wrote:

> Michael Van Canneyt wrote:
> 
> > I second this. Borland has (had) a special API in the IDE for this.
> > Specifically, this would mean that lazarus provides an interface
> > in ideintf, which is then implemented for various version control 
> > systems...
> 
> Dont complicate already complicated task at the begining. Let's Darius 
> implement svn plugin at first and then you will push him to make it more 
> generic.

Of course! I'm happy to see that there is a plugin at all :-)
Since I use Subversion, the SVN plugin is a perfect start for me :-)

But not everyone uses SVN, so...

Michael.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Paul Ishenin
Michael Van Canneyt wrote:

> I second this. Borland has (had) a special API in the IDE for this.
> Specifically, this would mean that lazarus provides an interface
> in ideintf, which is then implemented for various version control 
> systems...

Dont complicate already complicated task at the begining. Let's Darius 
implement svn plugin at first and then you will push him to make it more 
generic.

Best regards,
Paul Ishenin.

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Graeme Geldenhuys
On 11/7/08, dmitry boyarintsev <[EMAIL PROTECTED]> wrote:
> Imho, it's better to make Generic Version Control integration plugin, rather
> than SVN plugin.

I'm not the one implementing the SVN plugin, I'm simply testing it and
commenting. But you might have a point - though it will be a lot more
effort I think. I guess one can look at the SCC API from Microsoft to
get ideas for an API interface. Though I don't know much about the SCC
API.

Not all source control software work the same though. Some require
checkout/checkin, some don't. etc..  But that's for Darius to decide
if he wants to go though the extra trouble - or leave it for somebody
else to tackle.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Vincent Snijders
dmitry boyarintsev schreef:
> Imho, it's better to make Generic Version Control integration plugin, 
> rather than SVN plugin.

Yes, but a svn plugin is better than no plugin.

Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Michael Van Canneyt


On Fri, 7 Nov 2008, dmitry boyarintsev wrote:

> Imho, it's better to make Generic Version Control integration plugin, rather
> than SVN plugin.
> 
> So actually ANY version control tool can be used with the same GUI (CVS,
> SVN, Git .. and others). All control tool provides common features, like:
>  file comparing, commite/update/revert, add/remove files with version
> controlled project.

I second this. Borland has (had) a special API in the IDE for this.
Specifically, this would mean that lazarus provides an interface
in ideintf, which is then implemented for various version control 
systems...

Michael. 
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread dmitry boyarintsev
Imho, it's better to make Generic Version Control integration plugin, rather
than SVN plugin.

So actually ANY version control tool can be used with the same GUI (CVS,
SVN, Git .. and others). All control tool provides common features, like:
 file comparing, commite/update/revert, add/remove files with version
controlled project.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Graeme Geldenhuys
Another option:

* SVN Diff screen should not wrap the diff text. That makes it near
impossible to see what changed.  There is a horizontal scrollbar, but
for some reason the text still wraps.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] SVN integration into Lazarus IDE (suggestions)

2008-11-07 Thread Graeme Geldenhuys
Hi,

Before I flood Mantis with feature requests , I thought it might
be worth to discuss some ideal here first and then only put the worth
while features in Mantis. This will help guide Darius or whoever is
working on the SVN integration.

Please note, I know the SVN integration is in it's early days. I have
no issues there, on the contrary, I think what has been done so far is
pretty impressive and already very useful.


Below are some ideas I have. I'm not sure if they already exist or are
in the pipeline. I just thought I would mention them anyway. Please
feel free to add or extend the list.

* http://bugs.freepascal.org/view.php?id=12585
  This reduces screen clutter

* caching of information as it's being needed. Due to the limitation
of SVN only storing the most recent revision information to generate
diffs. As soon as you request differences between revisions of the
same file, it takes 30-60 seconds depending on your internet
connection. As soon as such differences get asked for, could those be
cached so if it is requested again, all information in locally
available. I think TortoiseSVN does this as well.

* history (revision) information per file. eg: the active file in the
editor.  So far I can only find revision information per project
level, not file level.

* By default, filter the "commit screen" to only show 'modified' and
'unversioned' files in the grid. There is no need or point for the
'normal' files.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus