I test ver 0.97 far3 x86 on far 4400. Run plugin, see editor with files and folders, which can copy-move-delete to left or to right. Run plugin via menu to change direction of operations. See two messageboxes:
Incorrect or damaged …\DirSync\DirSyncRus.lng
Message 137 not found
and
Incorrect or damaged …\Utils\DirSync\DirSyncRus.lng
Message 138 not found
DirSync — Synchronize Directories
Posted: Fri 24 Jul, 2015 03:56
by pepak
Yep, I am an idiot - I forgot to add the last two language strings to the russian and spanish language file:
Back in 2009 I wanted a synchronization plugin which didn't exist at the time. So I took the sources from FAR 1's Advanced Compare and modified them in several places to get the functionality I wanted. The result was pepak @ DirSync. Maximus5 took pepak @ DirSync, updated it for FAR 2 compatibility and released it as Maximus5 @ DirSync. Eventually he implemented some new features and also provided a MacroLib script for better control of the editor with synchronization info. But for some reason I didn't like his script and rewrote it as macro pepak @ DirSync.
Eventually I decided to reimplement the whole plugin from scratch. The result is what we discuss in this thread.
DirSync — Synchronize Directories
Posted: Fri 24 Jul, 2015 09:34
by John Doe
pepak wrote: rewrote it as macro pepak @ DirSync.
Is it for new or for old plugin?
pepak wrote: the whole plugin from scratch.
I suggest you to add this story and links to corresponding topic title posts (and plugin docs), and change new plugin name to somewhat like http://forum.farmanager.com/viewtopic.php?f=34&t=9726 (feel free to edit).
DirSync — Synchronize Directories
Posted: Fri 24 Jul, 2015 09:46
by pepak
John Doe wrote:
pepak wrote: rewrote it as macro pepak @ DirSync.
Is it for new or for old plugin?
It is for Maximus5's plugin. It is no longer relevant for my current plugin.
pepak wrote: the whole plugin from scratch.
I suggest you to add this story and links to corresponding topic title posts (and plugin docs), and change new plugin name to somewhat like http://forum.farmanager.com/viewtopic.php?f=34&t=9726 (feel free to edit).
I guess. This will be particularly interesting to handle with the PlugRing.
DirSync — Synchronize Directories
Posted: Fri 24 Jul, 2015 09:56
by John Doe
pepak wrote: t is for Maximus5's plugin. It is no longer relevant for my current plugin.
Ok, I just moved it to corresponding topic (russian).
pepak wrote: This will be particularly interesting to handle with the PlugRing.
Nothing special.
But please make sure that new plugin has different GUID.
DirSync — Synchronize Directories
Posted: Fri 24 Jul, 2015 10:05
by pepak
John Doe wrote:But please make sure that new plugin has different GUID.
I already did. I didn't keep any of the old code, including GUIDs.
Hello pepak! It seems that Alt+F3 in editor did not work correctly. Here is what i see after pressing that hotkey:
My configuration: FAR3 b4898, DirSync 1.1.0.558, Windows 7 SP1 + Updates
DirSync3 — Synchronize Directories
Posted: Sun 26 Feb, 2017 15:00
by pepak
That's a problem of your configuration. DirSync3 does not perform side-by-side comparison, it calls a program (e.g. WinMerge) to do that. You need to set this program up in plugin options. Then the functionality will work just fine.
DirSync3 — Synchronize Directories
Posted: Sun 26 Feb, 2017 15:11
by Dennis_Moore
pepak wrote: That's a problem of your configuration. DirSync3 does not perform side-by-side comparison, it calls a program (e.g. WinMerge) to do that. You need to set this program up in plugin options. Then the functionality will work just fine.
WinMerge works fine, but by default "Command used for visual compare" is VC: [what means FAR plugin Visual Compare]. I propose to change default setting in the next release to empty line or "WinMergeU.exe" and notice about it in the readme file.
And one more request. "Command used for visual compare" did not recognize environment variables. Can you solve this? Thanks.
DirSync3 — Synchronize Directories
Posted: Sun 26 Feb, 2017 15:18
by pepak
That's definitely not true. DirSync3 does not default to Visual Compare. There isn't even any functionality for calling a plugin for visual comparison. The default command is "winmerge" (without U or .exe).
Environment variables can be arranged, will put it in my TODO list.
DirSync3 — Synchronize Directories
Posted: Sun 26 Feb, 2017 15:26
by Dennis_Moore
pepak wrote: That's definitely not true. DirSync3 does not default to Visual Compare. There isn't even any functionality for calling a plugin for visual comparison. The default command is "winmerge" (without U or .exe).
Environment variables can be arranged, will put it in my TODO list.
Yes, default is "WinMerge". Sorry. Maybe I was trying to use DirSync with VC file compare function [as it does AdvCmp] and forgot about it.