Options file saving 'Directory Exclude filter' in hex

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
aaronp
New Member
Posts: 6
Joined: Mon Sep 12, 2005 12:22 pm

Options file saving 'Directory Exclude filter' in hex

Post by aaronp »

I have about 30 different ExamDiff options files for comparing a number of different folders. They have rather elaborate 'Directory Exclude Filters'. I need to use ExamDiff to compare these options files, but because the data is in Hex, it isn't meaningful. It would be better if it were to save the Exclude filter in the human readable format that I typed them in as.

Before
[Directory comparison]
Include filter hex=2A 00
Exclude filter hex=3A 00 2A 00 44 00 6F 00 63 00 75 00 6D 00...

After
[Directory comparison]
Include filter=*
Exclude filter=:*Documentation*, *.scc, ...

Ideally the Options file would be Xml instead of Ini format, so you wouldn't have to have so many things in Hex (could use CDATA[] sections in the xml).

Thanks,
aaron
User avatar
psguru
Site Admin
Posts: 2232
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

You are right, these HEX strings are no very user-friendly. They were implemented when we added Unicode support.

We'll look into this issue. One problem is, of course, the migration from one format to another.

As far as XML is concerned, I'm not a big fan of it when it comes to simple settings files.
psguru
PrestoSoft
aaronp
New Member
Posts: 6
Joined: Mon Sep 12, 2005 12:22 pm

Post by aaronp »

Well, I guess that when you added Unicode support, it no longer became 'simple file settings'. You seem like a smart guy, I'm sure you could figure out some way to migrate to xml. ;-)

While were on this topic, I've one more idea. It would great if the 'options file' also saved the From/To folders and the 'options file' were saved with an extension that was associated with ExamDiff. Then I could just double- click the file and ExamDiff would run and do everything I want. As you know, currently one has to create a shortcut that points to ExamDiff and passes in the two folders and the 'options file' as parameters. Anyway, its not a huge deal...just an idea.

Thanks
User avatar
psguru
Site Admin
Posts: 2232
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

While were on this topic, I've one more idea. It would great if the 'options file' also saved the From/To folders and the 'options file' were saved with an extension that was associated with ExamDiff. Then I could just double- click the file and ExamDiff would run and do everything I want. As you know, currently one has to create a shortcut that points to ExamDiff and passes in the two folders and the 'options file' as parameters. Anyway, its not a huge deal...just an idea.
Not a bad idea. Perhaps one day...
psguru
PrestoSoft
User avatar
psguru
Site Admin
Posts: 2232
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Just to let you know that strings will be saved as normal strings in options files for Windows 2000/XP/2003/Vista (NT-based versions). For 95/98/Me we still will use HEX strings since these versions of Windows do not support saving INI strings in Unicode. This change is coming in the next build of 3.5 Beta.

Also, we'll implement another idea of yours: saving sessions in files (this includes file names and options), and having an ability to "run" these files in order to start EDPro sessions. The session files extension will be .edpsess
psguru
PrestoSoft
Post Reply