Age | Commit message (Collapse) | Author |
|
- use a QScopedPointer for heap-allocation handling of the thread
- change WatcherThread::watchChanges result type to more clearly indicate why it is returning
- remove the _done field: it's not needed after changing watchChanges
- do conversions for _longPath/_longPathW once in the constructor, not on every call or watchChanges
- break nested loop out of watchChanges for readability
|
|
Make _ready constexpr on macOS and Linux, so it doesnt' use any space.
On Windows it's now private.
|
|
|
|
|
|
Previously it depended on addFolder() / removeFolder() calls to adjust
watchers when new folders were added or removed. There also needed to be
complex move handling.
Now, any folder creation/move-in notifications automatically trigger
watcher additions and folder deletion/move-out triggers removal.
|
|
Add state and signal to catch the following two known problems:
* Linux: inotify user watch pool is exhausted. Folder watcher becomes
unreliable.
* Windows: buffer is too small, some notifications are lost but watching
stays reliable.
|
|
|
|
See #5180
|
|
|
|
|
|
- rename target "doc-dev"
- group into modules
- move to doc/dev
|
|
Conflicts:
README.md
src/gui/folderman.cpp
src/gui/settingsdialog.cpp
src/libsync/accessmanager.cpp
src/libsync/propagateupload.h
|
|
|
|
|
|
|