DirSync3 — Synchronize Directories

Here you can discuss about your favorite plug-in.
pepak
Posts: 328
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

DirSync3 — Synchronize Directories

Post by pepak » Sun 30 Aug, 2009 20:27

This topic discusses the DirSync and DirSync3 plugins.

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: DirSync — Synchronize Directories

Post by Игорь Юдинцев » Sat 26 Sep, 2009 22:04

Quick and dirty Unicode adaptation of the plugin, with sources (Russian comments are translated to English):
DirSyncW_03.zip
(33.64 KiB) Downloaded 412 times
UPD 27.09.2009 1:26 — fixed a bug.

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: DirSync — Synchronize Directories

Post by Игорь Юдинцев » Sun 27 Sep, 2009 11:01

v0.3.1 Fixed a buffer overflow.
Attachments
DirSyncW_031.zip
(33.81 KiB) Downloaded 402 times

pepak
Posts: 328
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

Re: DirSync — Synchronize Directories

Post by pepak » Sun 27 Sep, 2009 18:33

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: 328
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 3 times
Been thanked: 9 times

Re: DirSync — Synchronize Directories

Post by pepak » Sun 27 Sep, 2009 18:43

Guess I should translate the czech comments, then...

Игорь Юдинцев
Posts: 725
Joined: Sun 03 Apr, 2005 22:00
Location: Казань
Been thanked: 1 time

Re: DirSync — Synchronize Directories

Post by Игорь Юдинцев » Sun 27 Sep, 2009 20:02

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: 3292
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 4 times
Contact:

Re: DirSync — Synchronize Directories

Post by Maximus5 » Thu 01 Oct, 2009 19:53

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 » Tue 17 Nov, 2009 15:46

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: Новосибирск
Contact:

Re: DirSync — Synchronize Directories

Post by Kildor » Tue 17 Nov, 2009 15:59

> 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 » Tue 17 Nov, 2009 16:17

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: 3292
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 4 times
Contact:

Re: DirSync — Synchronize Directories

Post by Maximus5 » Tue 19 Jan, 2010 22:53

Support of FAR2 build 1311.
Static link.

DirSyncW_032.7z

Maximus5
Posts: 3292
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 4 times
Contact:

Re: DirSync — Synchronize Directories

Post by Maximus5 » Wed 09 Jun, 2010 20:53

v0.3.3
Readonly file overwrite confirmation.

DirSyncW_033.7z

r-bin
Posts: 66
Joined: Fri 16 Jul, 2010 02:53
Has thanked: 1 time

Re: DirSync — Synchronize Directories

Post by r-bin » Tue 21 Sep, 2010 04:22

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

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

AnrDaemon
Posts: 93
Joined: Mon 14 Jun, 2010 20:25

Re: DirSync — Synchronize Directories

Post by AnrDaemon » Thu 23 Sep, 2010 22:03

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: 3292
Joined: Sun 11 Nov, 2007 02:03
Been thanked: 4 times
Contact:

Re: DirSync — Synchronize Directories

Post by Maximus5 » Thu 23 Sep, 2010 22:44

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.

AnrDaemon
Posts: 93
Joined: Mon 14 Jun, 2010 20:25

Re: DirSync — Synchronize Directories

Post by AnrDaemon » Sat 25 Sep, 2010 01:57

Maximus5 wrote:TFor example, we want to erase files from the left panel, not existing on the right. But all other files must be synchronized.
True that :/ I didn't spared enough time to consider all possible usage patterns.

Post Reply

Return to “General Plug-In Discussions”