Search found 114 matches

by JeremyNicoll
Fri Mar 21, 2025 4:19 pm
Forum: ExamDiff Pro
Topic: BUG: ExamDiff improperly comparing shortcut (.lnk) files causes slowness
Replies: 25
Views: 59610

Re: BUG: ExamDiff improperly comparing shortcut (.lnk) files causes slowness


I'm not sure what problem has to be solved here. LNK files are just binary files, and they are compared as such. The target column is purely information (in case of LNK files), and it is hidden by default.

The original issue, again, will be resolved. We are not likely to have an option specific ...
by JeremyNicoll
Fri Mar 21, 2025 3:21 pm
Forum: ExamDiff Pro
Topic: BUG: ExamDiff improperly comparing shortcut (.lnk) files causes slowness
Replies: 25
Views: 59610

Re: BUG: ExamDiff improperly comparing shortcut (.lnk) files causes slowness


Again, it simply, in case of shortcuts, imitates what the Explorer does. As for the performance, as i said earlier, it will not be an issue.


If I undrstand correctly that gives users a simple choice: don't display the target column (so be none the wiser about what EDP compared), or display it ...
by JeremyNicoll
Fri Mar 21, 2025 2:35 pm
Forum: ExamDiff Pro
Topic: BUG: ExamDiff improperly comparing shortcut (.lnk) files causes slowness
Replies: 25
Views: 59610

Re: BUG: ExamDiff improperly comparing shortcut (.lnk) files causes slowness


The target value is used for display purposes (like the Windows Explorer's Link Target column.

Comparison is still performed on the actual links. The target is also used for navigation in case of symbolic links (reparse points).


But the thing is, the resolved target only shows a resolution by ...
by JeremyNicoll
Fri Mar 21, 2025 1:09 am
Forum: ExamDiff Pro
Topic: BUG: ExamDiff improperly comparing shortcut (.lnk) files causes slowness
Replies: 25
Views: 59610

Re: BUG: ExamDiff improperly comparing shortcut (.lnk) files causes slowness


You are probably right. In any case, that's up to IShellLink, we can't control its behavior.


Surely though you could peek at each target string to see if it contains a percent sign, first? And then if it does determine from an option (does it already exist? - I couldn't find anything online for ...
by JeremyNicoll
Wed Feb 26, 2025 10:18 am
Forum: ExamDiff Pro
Topic: Problems of offset
Replies: 20
Views: 91459

Re: Problems of offset

You could also shrink unnecessarily long words.

Why "Offset:", bearing in mind that anyone using this sort of display will already know that Offset is the normal way to specify a location? Why not just use "At:"?

Why "Selection:" when what it seems to mean, is "Size:"? Or "Sz:" or even "L:" or "Q ...
by JeremyNicoll
Thu Feb 06, 2025 3:19 am
Forum: ExamDiff Pro
Topic: ExamDiff with elevated rights possible again via right mouse key?
Replies: 12
Views: 65099

Re: ExamDiff with elevated rights possible again via right mouse key?

Why would one need this? - is it to read files that your user wouldn't otherwise be able to?

Presumably starting the compare via the right-click context menu only works (ever) if in Explorer/whatever you've had the rights to read the directory info of the parent directory?
by JeremyNicoll
Wed Mar 20, 2024 5:57 am
Forum: ExamDiff Pro
Topic: Ignore large block of text
Replies: 21
Views: 106832

Re: Ignore large block of text

Perhaps another option would be to write a simple 'plugin' which strips out the blocks of lines
you're not interested in. Possibly you'd want the plugin to leave a single line where each such
block had been saying "There was a key definition here." or even (if the number of them
matters) "Key ...
by JeremyNicoll
Thu Apr 06, 2023 11:32 am
Forum: ExamDiff Pro
Topic: Support for COBOL
Replies: 14
Views: 37184

Re: Support for COBOL


We don't use Guesslang via the plug-in architecture. Guessing is done on the text buffer; whether it was generated by a plug-in is irrelevant. Then there's mapping to EDP doc types, currently only system-defined. I can foresee mapping to a user-defined type but that language has to be supported by ...
by JeremyNicoll
Thu Apr 06, 2023 10:39 am
Forum: ExamDiff Pro
Topic: Support for COBOL
Replies: 14
Views: 37184

Re: Support for COBOL


As for user-defined parsers and language detectors, this is something we don't foresee in the immediate future.


When you say "user-defined parsers", do you mean loading Tree-sitter parsers /if/ someone had managed to create one themselves?

I'd have thought the effort involved in allowing users ...
by JeremyNicoll
Thu Apr 06, 2023 10:04 am
Forum: ExamDiff Pro
Topic: Support for COBOL
Replies: 14
Views: 37184

Re: Support for COBOL


Unfortunately, the syntax highlighting library we use does not support COBOL.


It's worse than that: it doesn't support lots of things. One might be inclined to ask why you chose it.

And, it looks like defining a parser for it, would be very hard work - suitable perhaps as an academic project ...
by JeremyNicoll
Tue Mar 07, 2023 4:06 pm
Forum: ExamDiff Pro
Topic: EBCDIC is not being displayed correctly
Replies: 22
Views: 55002

Re: EBCDIC is not being displayed correctly

Thank-you!
by JeremyNicoll
Fri Feb 24, 2023 1:54 pm
Forum: ExamDiff Pro
Topic: EBCDIC is not being displayed correctly
Replies: 22
Views: 55002

Re: EBCDIC is not being displayed correctly


Thanks. We were thinking about these code pages... Here's an idea: why should EBCDIC files treated as second-class citizens and compared as binary files? Or, for that matter, any other non-Unicode (ANSI) code pages? So one potential approach would be to have an option in EDP to define the default ...
by JeremyNicoll
Fri Feb 24, 2023 1:22 pm
Forum: ExamDiff Pro
Topic: EBCDIC is not being displayed correctly
Replies: 22
Views: 55002

Re: EBCDIC is not being displayed correctly


... and (2) the existing EBCDIC support in binary comparison will go away, for obvious reasons.


It's not obvious to me. EBCDIC files are not all just text - yes those containing programme source (of one sort or another) are, but object code, load modules, snap dumps etc are not.

There's still ...
by JeremyNicoll
Mon Jun 27, 2022 2:32 am
Forum: ExamDiff Pro
Topic: Slippery directories
Replies: 9
Views: 22316

Re: Slippery directories

MSpagni wrote: Sat Jun 25, 2022 8:46 am Now, when a directory becomes empty after a deletion, the directory itlsef shifts at the bottom of the list.
Does that depend on how the list is sorted?
by JeremyNicoll
Tue Apr 12, 2022 6:21 am
Forum: ExamDiff Pro
Topic: Bug: Ignored lines by regex do not work always
Replies: 17
Views: 33138

Re: Bug: Ignored lines by regex do not work always

I'm unconvinced that the regexes are doing what you want. As far as I can see:

setting name='[^']*(icon|signedo|lasts|last_s|mute|photo)[^']*'

looks for

the literal "setting name='"
then zero or more instances of not-single-quote
then one of a set of literals
then zero of more instances ...