Page 1 of 6

DirSync3 — Synchronize Directories

Posted: Sun 30 Aug, 2009 20:27
by pepak
This topic discusses the DirSync and DirSync3 plugins.

Re: DirSync — Synchronize Directories

Posted: Sat 26 Sep, 2009 22:04
by Игорь Юдинцев
Quick and dirty Unicode adaptation of the plugin, with sources (Russian comments are translated to English):
DirSyncW_03.zip
(33.64 KiB) Downloaded 593 times
UPD 27.09.2009 1:26 — fixed a bug.

Re: DirSync — Synchronize Directories

Posted: Sun 27 Sep, 2009 11:01
by Игорь Юдинцев
v0.3.1 Fixed a buffer overflow.

Re: DirSync — Synchronize Directories

Posted: Sun 27 Sep, 2009 18:33
by pepak
I assume this is a completely separate plugin, not compatible with FAR 1.xx?

Btw., that buffer overflow - does it apply to the non-unicode version as well?

Re: DirSync — Synchronize Directories

Posted: Sun 27 Sep, 2009 18:43
by pepak
Guess I should translate the czech comments, then...

Re: DirSync — Synchronize Directories

Posted: Sun 27 Sep, 2009 20:02
by Игорь Юдинцев
pepak wrote:I assume this is a completely separate plugin, not compatible with FAR 1.xx?

Btw., that buffer overflow - does it apply to the non-unicode version as well?
Functionally, the ANSI and Unicode versions don't differ, so I'd like to see both them as two targets of one project. With this in mind, I was trying to stay close to original code, there are just some additions from the latest SVN revision of AdvCompare plugin.
Comparing to v0.02, I've fixed a couple of issues with buffer sizes, Esc logic and dialog borders.
The overflow appeared in 0.3 — I had missed some sizeof's.

Re: DirSync — Synchronize Directories

Posted: Thu 01 Oct, 2009 19:53
by Maximus5
1. Two lng-resources (MOpenErrorTitle, MOpenErrorBody) does not exists in *.lng files
2.

Re: DirSync — Synchronize Directories

Posted: Tue 17 Nov, 2009 15:46
by Peth222
Hi I was trying to install DirSync v0.3.1 plugin to FAR 2.0 alpha 1 build 655, but when I attempt to activate the plugin it gave me following error message:

Exception occured:
"Unknown exception" (0xE06D7363)
Exception address: 0x7C80BEF7 in module:
C:\FAR20\Plugins\DirSyncW\DirSyncW.dll

...

Please can you advice how to make this unique pluing functional. I need unicode support and found this tool very usable base on what I read about it. Your help or any kind of advice is welcomed.

Best regards, Pavel :oops:

Re: DirSync — Synchronize Directories

Posted: Tue 17 Nov, 2009 15:59
by Kildor
> Peth222
update your far to last version first.

Re: DirSync — Synchronize Directories

Posted: Tue 17 Nov, 2009 16:17
by Peth222
Kildor wrote:> Peth222
update your far to last version first.
That solved the problem. I was thinking I have latest FAR version (that was latest on Czech web), but thanks to you I discovered much newer FAR through this web ... the plugin is working fine now.

Thanks a lot. Pavel

Re: DirSync — Synchronize Directories

Posted: Tue 19 Jan, 2010 22:53
by Maximus5
Support of FAR2 build 1311.
Static link.

DirSyncW_032.7z

Re: DirSync — Synchronize Directories

Posted: Wed 09 Jun, 2010 20:53
by Maximus5
v0.3.3
Readonly file overwrite confirmation.

DirSyncW_033.7z

Re: DirSync — Synchronize Directories

Posted: Tue 21 Sep, 2010 04:22
by r-bin
Добрый день. Прошу прощения, что пишу по русски, я тут недавно. Но думаю автор поймёт...

Во-первых, классный плагин. Спасибо!
Во-вторых, есть небольшой косяк по сравнению с А-версией. При снятии галочек копировать влево(вправо) файлы всё равно копируются если есть в списке, в редакторе.
И в-третьих, как пожелание: а нельзя ли сделать опцию удалять "лишние" файлы с левой(правой) панели. Было бы супер. Т.е., к примеру, копируем всё новое из левой панели в правую, а в правой удаляем те файлы которых нет в левой панели.

Re: DirSync — Synchronize Directories

Posted: Thu 23 Sep, 2010 22:03
by AnrDaemon
r-bin wrote:И в-третьих, как пожелание: а нельзя ли сделать опцию удалять "лишние" файлы с левой(правой) панели. Было бы супер. Т.е., к примеру, копируем всё новое из левой панели в правую, а в правой удаляем те файлы которых нет в левой панели.
That would be sensible for
"[x] Full synchronization to: [Left/Right[v]]"
Being selected, the target panel will be brought to the state of the source panel, removing all files that do not exist in source tree.

Re: DirSync — Synchronize Directories

Posted: Thu 23 Sep, 2010 22:44
by Maximus5
This is fail.
For example, we want to erase files from the left panel, not existing on the right. But all other files must be synchronized.
Your suggestion does not allow such behaviour.