Detecting externally modified files?

42 views
Skip to first unread message

John Miller

unread,
Nov 7, 2012, 10:27:40 AM11/7/12
to wikidpa...@googlegroups.com
Hi,

Can the latest version of WikidPad detect externally modified files?
Last time I checked the sources (about 2 years ago), WikidPad was using an older version of wxWidgets that didn't have the wxFileSystemWatcher class. Have anything changed since then?

The use case I'm interested in is sharing a wiki inside Dropbox.

Michael Butscher

unread,
Nov 10, 2012, 5:29:19 AM11/10/12
to wikidpa...@googlegroups.com
The recent 2.3beta versions have a menu item
"Wiki"->"Maintenance"->"Update ext. modif. wiki files" to check for changes.

Moreover, in the options dialog, options page "Current Wiki"->"On Open" there is
entry "Rebuild" which can be set to "Update ext. mod. files" to always check for
changes when opening the wiki.

At the moment this only affects wiki page files, not other files e.g. for
functional pages.



Michael

John Miller

unread,
Nov 11, 2012, 5:10:14 AM11/11/12
to wikidpa...@googlegroups.com
Thanks, Michael

The other bit that may be required is to put the database file in another location that won't be synchronized by Dropbox.
This would avoid any locking/corruption problems as each client will be responsible for updating its own database from observing the wiki file changes.
It's easy to change the db location in the code so I can live with a local patch and ideally, programs like Dropbox should support the notion of ignored files, but sadly they don't.
Reply all
Reply to author
Forward
0 new messages