Gioacchino Mazzurco
329050a9c2
Use safer rstime_t instead of time_t
...
Avoid problems to serialization on different platforms, without breaking
nested STL containers serialization.
The conversion have been made with sed, and checked with grep, plus
kdiff3 visual ispection, plus rutime tests, so it should be fine.
2018-10-07 13:07:06 +02:00
csoler
b3277824eb
license fix in pqi
2018-05-28 22:03:39 +02:00
csoler
544b4af4c2
fixed license in chat, crypto, dht, file_sharing
2018-05-21 20:50:38 +02:00
csoler
3f88e3e901
added check to avoid hashing files that are currently being modified
2018-05-16 13:24:52 +02:00
csoler
d0039241d3
replaced usleep() by rstime::rs_usleep() which accepts times >= 1 sec. Should fix problems on windows
2018-01-27 20:22:31 +01:00
csoler
40cda111d2
removed delay when calling forceUpdate() on directories
2017-09-25 21:05:42 +02:00
csoler
d8cb3fe35a
fixed not rehashing files that already exist in a different directory pointed by a symlink
2017-09-25 20:56:35 +02:00
csoler
4766a8927a
added an additional hard limit to directory depth, just in case
2017-09-24 23:51:47 +02:00
csoler
f497905497
fixed limitation of directory depth when indexing files
2017-09-24 23:43:52 +02:00
csoler
abd7e25a2e
added checks for mMaxShareDepth and mIgnoreDuplicates
2017-09-24 18:14:45 +02:00
csoler
2a99df4d48
added UI and parameters for two new options in shared files: max share depth and ignore duplicates
2017-09-24 17:53:06 +02:00
csoler
d8f621e9ec
make forceDirectoryCheck() to desactivate the pause, in case it was left activated
2017-09-17 20:14:45 +02:00
Phenom
cf908674ce
Fix unitialized value in LocalDirectoryUpdater.
2017-09-11 21:51:14 +02:00
csoler
0ca0b72a5a
moved file ignore test to a more appropriate place
2017-09-11 19:02:07 +02:00
csoler
eff5c5d6ee
added pause to file hashing
2017-09-10 22:07:36 +02:00
csoler
884b3a6220
added infrastructure to add a ignore list in shared files
2017-09-10 19:58:57 +02:00
csoler
303bc09739
fixed force check directories when auto check is disabled
2017-03-02 23:18:12 +01:00
Phenom
c3c2671db4
Fix LocalDirectoryUpdater to take care if is Enabled in option.
2017-02-26 15:42:32 +01:00
csoler
08294deeba
removed unused updateHash() functions in directory_storage. Fixed a bug that caused H(H(F)) to not be recomputed at start, causing e2e encryption to fail in some cases.
2016-12-14 22:58:49 +01:00
csoler
ff271c6732
force recheck of existing files at start, to possibly re-hash files that were not already
2016-12-02 19:02:41 +01:00
csoler
d986216f55
remove non existing shared directories when not found on the disk
2016-12-01 23:27:34 +01:00
mr-alice
2953957e66
added full re-scan when symbolic links are (des)activated, since the directory time stamps will not trigger an update
2016-11-25 20:50:10 +01:00
mr-alice
3f3efca22d
removed canonicalize_file_name from MacOS compilation
2016-11-25 20:33:27 +01:00
mr-alice
5f69c9ea1f
added an option to follow symbolic links or not, and anti-loop system during directories traversal
2016-11-24 23:42:56 +01:00
csoler
172b513cd3
added change in TS for shared directories when virtual name changes
2016-11-21 16:14:11 +01:00
csoler
ba78007cf1
added parameter to disallow hashing files which time is in the future (as they severely perturbate the synchronisation process)
2016-11-16 21:49:27 +01:00
csoler
6272856b5e
added param to folderIterator to skip/follow symbolic links
2016-11-16 21:41:32 +01:00
cyril soler
461975f115
generally prevent threads to start twice, and fixed bug causing DirWatcher to be run twice
2016-11-07 10:09:28 +01:00
csoler
bd9a464d11
added deterministic but unredictable hash generation for dir hashes, which should be preserved accross reboots. Should fix the msg from friends sending requests for the "wrong" dir hashes.
2016-10-12 23:20:38 +02:00
cyril soler
854eebb2cb
only update subfiles and subdirs list during dir watching sweep when the TS of the dir has changed. Greatly improve cost of regular directory watching process
2016-10-05 11:00:01 +02:00
sehraf
9d72b064e1
add thread names & remove some warnings
2016-09-27 09:50:59 +02:00
mr-alice
9cf950472c
removed most of debug info in file list sharing code
2016-09-18 22:05:27 +02:00
mr-alice
de104d3e34
fixed up GUI parameters in Directories. Removed HashCache duration handles since this is now automatic
2016-09-18 18:34:39 +02:00
mr-alice
d3b46221ff
merged modifications from origin
2016-09-15 21:45:00 +02:00
mr-alice
afbb641b58
fixed forceDirectoryCheck and inDirectoryCheck methods
2016-09-14 20:41:22 +02:00
mr-alice
e9418bb5c6
added file headers with proper licence terms
2016-09-13 00:01:26 +02:00
mr-alice
6fc02e03b1
added load/save of configuration and shared dirs list
2016-09-01 21:04:48 +02:00
mr-alice
494d2071c9
fixed update of directory TS, also fixing update of empty dirs at friends
2016-08-28 18:42:52 +02:00
mr-alice
76831348e6
added update of last modif LS, and rsitems to update directories between friends
2016-08-22 07:49:45 +02:00
mr-alice
edc602f68f
added infrastructure for synchronisation of file lists
2016-08-20 16:23:11 +02:00
mr-alice
78b8744183
fixed display of remote directories
2016-08-17 14:48:54 +02:00
mr-alice
ca8f95c7f7
fixed a few bugs in internal directory storage structure
2016-08-16 13:46:55 +02:00
mr-alice
2d1824b01d
fixed virtual names
2016-08-06 19:04:54 +02:00
mr-alice
43f4f5d2d9
fixed threading issues in directory updater
2016-08-05 22:37:40 +02:00
mr-alice
aeb0595301
fixed updated ts in hash cache files
2016-07-28 10:49:49 +02:00
mr-alice
2aac88464d
fixed a few bugs in directory parsing
2016-07-28 09:29:15 +02:00
mr-alice
463f21c85c
fixed hashing thread
2016-07-28 00:48:28 +02:00
mr-alice
d86b89b15a
fixed compilation/running of directory updater
2016-07-27 21:22:59 +02:00
mr-alice
25c824fd5f
added iterators for directory storage class
2016-07-24 23:48:22 -04:00
mr-alice
3e48b0fd95
improved FolderIterator class
2016-07-23 22:14:43 -04:00