VisualDiffer extension

Posted by dafi on 2008-05-02 06:51

Hi,

I've finished the first stable version of VisualDiffer.

VisualDiffer allows to compare directories and files and generates a visual (colored) result.
Actually it works only with local files but I'm working to interact with SVN and so on... but I will ask Todd to help me :P

Edit: Changed download link

You can download the preview version (not all features are enabled due to some bug) from VisualDiffer website

The version installs on Komodo 4.4 alpha.

VisualDiffer is accessible from Tools Menu

As soon as possibile I'll add other features
- file operations, copy/move/rename
- allow user to select comparision criteria, by modification time/by size/by content
Actually comparator is hard coded
- save settings as workbench (choosen folders and comparision criteria)
- add filters for folder and/or file to include and/or exclude
- full integration with Komodo, diffs on replace files and version controls
- improve performance on folder comparision (it is strange but array.sort() is the bottleneck)
- better font (any idea???)

Any idea as usual is very appreciated

Some screenshots are shown below.

Choose to find differences for folders or files

A result double clicking on files from folder dialog

jeff.griffiths | Fri, 2008-05-02 08:45

Awesome, I'll check it out!

--
JeffG

alien612 | Fri, 2010-01-22 05:25

Have a look at this compare directories utility. It is the best tool for your PC or laptop.

http://filesync.moleskinsoft.com/

adamg | Fri, 2008-05-02 09:56

Good job,

have a look at Total commander, synchronize directories feature...

dafi | Sun, 2008-05-04 06:13

I've added other little improvements and fixed some bug.

Now folders indicate type of difference inside, below the legend

You can download from (or wait update notication)

http://dafizilla.sourceforge.net/visualdiffer/index.php

--
dafi
Enhance KomodoEdit with MoreKomodo

dafi | Wed, 2008-06-04 11:04

I've released a new version with many improvements.

New - File/Folder filters: It is possibile to choose file and/or folder to exclude from comparison
New - Comparison criteria: Compare file by time/size
New - Session List: It is possibile to save comparision sessions. Filters and criteria will be saved, too
New - Context menu: Folder Panel has a context menu
New - Set as base folder: Use can change comparison folder just right-click and choose Set as base folder menuitem

many bug fix

You can download from (or wait update notication)

http://dafizilla.sourceforge.net/visualdiffer/index.php

EDIT: I've added some new screenshot
--
dafi
Enhance KomodoEdit with MoreKomodo

toddw
ActiveState Staff
Wed, 2008-06-04 11:06

Hi Dafi,

Following on from:
http://community.activestate.com/forum-topic/problem-compare-files

I really like this extension for the visual folder diffing tools, but I'm finding the diff window to show individual file diffs is a little clunky, I think it's the listbox or treecell's that I'm finding too blocky... but maybe that's just me :) I certainly like the full file context on your diff window and the syntax coloring a lot better.

I've been recently playing around with the Thunderbird Colored Diffs extension, to see if it could be easily integrated to Komodo's Diff Window, and found that it seems it will overlay nicely on on this element, thus providing the side-by-side diff support (context and delta styles as well).

Is it possible to get VisualDiffer to use the Komodo diff window for showing file diff's (perhaps a pref), that way if Komodo's diff window starts supporting alternative styles it's easy for the user to choose their preferred style.

Cheers,
Todd

dafi | Wed, 2008-06-04 11:18

I don't understand what is so clunky but I admit fonts are very ugly.

Switch diff directly to Komodo window it's easy I can add it

EDIT: I've found Colored Diffs after many VisualDiffer code was already written so I could not integrate it...
--
dafi
Enhance KomodoEdit with MoreKomodo

toddw
ActiveState Staff
Wed, 2008-06-18 12:57

Yes that was rather vague, here are some better descriptions of what bugs me about the listboxes diff UI:

  • listbox's will crop the text if it's too long to fit in the window, leaving you to either select the particular line or have to hover over the "..." to see the full line content
  • selection of text is hard - need to select the row and then select the text from the textbox. It seems impossible to select multiple lines
  • does not show line numbers

Cheers,
Todd

dafi | Sat, 2010-01-09 01:13

You can download from ActiveState extensions gallery or from the official website Dafizilla VisualDiffer

[Fix] - Bug 2926224 - Folder Diff: Compare content
[Fix] - Bug 2924835 - Folder Diff: Copy to clipboard file from both sides
[Fix] - Bug 2922736 - Folder Diff: Set base folders for both sides
[Fix] - Bug 2922152 - Folder Diff: Format file size with thousands separator
[Fix] - Bug 2921901 - Folder Diff: double click on null file must expand folders
[Fix] - Bug 2921869 - Folder Diff: Double click on orphan file generate error
[Fix] - Bug 2919197 - Folder Diff: Show size also for folders
[Fix] - Bug 2918017 - Folder Diff: incorrectly report old files
[Fix] - Bug 2917629 - Folder Diff: Selected item foreground color in is ugly
[Fix] - Bug 2916819 - Folder Diff: Expand and collapse all folders
[Fix] - Bug 2921811 - File Diff: Change panel layout doesn't work first time
[Fix] - Bug 2922699 - File Diff: Selected item foreground color in is ugly
[Fix] - Bug 2916129 - Folder and file diff dialogs must use a descriptive title
[Fix] - Bug 2843425 - Error: this._controller in null
[Fix] - Bug 2468245 - Error after deleting session in main window
--
dafi
Enhance KomodoEdit with MoreKomodo