DirSync3 — Synchronize Directories

Here you can discuss about your favorite plug-in.
Post Reply
pepak
Posts: 617
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 58 times

DirSync3 — Synchronize Directories

Post by pepak »

This topic discusses the DirSync and DirSync3 plugins.
Игорь Юдинцев
Posts: 726
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 2 times

Re: DirSync — Synchronize Directories

Post by Игорь Юдинцев »

Quick and dirty Unicode adaptation of the plugin, with sources (Russian comments are translated to English):
DirSyncW_03.zip
(33.64 KiB) Downloaded 611 times
UPD 27.09.2009 1:26 — fixed a bug.
Игорь Юдинцев
Posts: 726
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 2 times

Re: DirSync — Synchronize Directories

Post by Игорь Юдинцев »

v0.3.1 Fixed a buffer overflow.
Attachments
DirSyncW_031.zip
(33.81 KiB) Downloaded 589 times
pepak
Posts: 617
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 58 times

Re: DirSync — Synchronize Directories

Post 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?
pepak
Posts: 617
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 58 times

Re: DirSync — Synchronize Directories

Post by pepak »

Guess I should translate the czech comments, then...
Игорь Юдинцев
Posts: 726
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 2 times

Re: DirSync — Synchronize Directories

Post 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.
Maximus5
Posts: 3295
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 10 times
Contact:

Re: DirSync — Synchronize Directories

Post by Maximus5 »

1. Two lng-resources (MOpenErrorTitle, MOpenErrorBody) does not exists in *.lng files
2.
Peth222
Posts: 2
Joined: Tue 17 Nov, 2009 15:19

Re: DirSync — Synchronize Directories

Post 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:
Kildor
Posts: 1515
Joined: Wed 16 Mar, 2005 06:26
Location: Новосибирск
Been thanked: 1 time
Contact:

Re: DirSync — Synchronize Directories

Post by Kildor »

> Peth222
update your far to last version first.
Ты мне не выкай!
«ФарФорум не для пользователей!»
Upd:
P.S. Я просто поддерживаю беседу.» © Народ.

xmpp:kildor@jabber.ru
Peth222
Posts: 2
Joined: Tue 17 Nov, 2009 15:19

Re: DirSync — Synchronize Directories

Post 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
Maximus5
Posts: 3295
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 10 times
Contact:

Re: DirSync — Synchronize Directories

Post by Maximus5 »

Support of FAR2 build 1311.
Static link.

DirSyncW_032.7z
Maximus5
Posts: 3295
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 10 times
Contact:

Re: DirSync — Synchronize Directories

Post by Maximus5 »

v0.3.3
Readonly file overwrite confirmation.

DirSyncW_033.7z
r-bin
Posts: 67
Joined: Fri 16 Jul, 2010 02:53
Has thanked: 1 time
Been thanked: 2 times

Re: DirSync — Synchronize Directories

Post by r-bin »

Добрый день. Прошу прощения, что пишу по русски, я тут недавно. Но думаю автор поймёт...

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

Re: DirSync — Synchronize Directories

Post 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.
Maximus5
Posts: 3295
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 10 times
Contact:

Re: DirSync — Synchronize Directories

Post 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.
Post Reply

Return to “General Plug-In Discussions”