Commit Graph

167 Commits

Author SHA1 Message Date
csoler
976a80a7af switch rsfilelistitems to new serialization 2017-04-24 13:30:18 +02:00
csoler
e2d9152b22 moved converted serialisation files into new directory rsitems/, leaving serialiser/ for the serialisation classes 2017-04-18 21:11:37 +02:00
cyril soler
c87de3eb77 fixed mistake in pointer handling 2017-03-10 10:48:40 +01:00
csoler
a545481daa fixed memory leak when receving multi-chunk file lists 2017-03-09 22:05:06 +01:00
csoler
dec5c5c4b4 suppressed uninitialised memory leak in LocalDirectoryStorage 2017-03-04 21:13:34 +01:00
csoler
303bc09739 fixed force check directories when auto check is disabled 2017-03-02 23:18:12 +01:00
Phenom
e4dbc46b34 Fiw New Warnings 2017-03-01 19:43:34 +01:00
Phenom
c3c2671db4 Fix LocalDirectoryUpdater to take care if is Enabled in option. 2017-02-26 15:42:32 +01:00
cyril soler
cda3c744af attempt at fixing a bug that can cause a crash in p3filelists.cc 2017-02-17 09:17:33 +01:00
csoler
0a02419a29 fixed a big memory leak in hash cache storage load code, and improved deletion of allocated memory if file reading fails 2017-01-31 20:07:27 +01:00
csoler
8637cfa42f added detection of flag change so that new TS is set on root of hierarchy and changes are made visible to friends at next update 2016-12-15 23:07:40 +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
cf8dac2e74 fixed initialisation of random salt in directory updater when no config file is present 2016-12-03 21:00:16 +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
Phenom
674b6de381 Fix Some gcc warnings 383 to 208 lines
Left explicit #warning and deprecated.
Some lines are wrong indented and produce mal formed code.
2016-11-30 22:01:01 +01:00
csoler
137d71c0d9 extended the window during which the GUI is told to tell that the update of shared dirs is done from 5 to 15 secs 2016-11-27 20:57:51 +01:00
csoler
f3d7948238 turned one error into a warning in p3filelists.cc when requesting an unexisting ref 2016-11-27 20:57:51 +01:00
csoler
2a758dd880 changed shared files tree header when updating 2016-11-26 19:19:15 +01:00
csoler
aa4ecd7d87 added limit to calls of PreMods() in SharedFilesDialog so as to keep CPU load minimal when updating dirs from friends. Disabled sorting when new data comes. 2016-11-26 18:58:02 +01:00
csoler
3386238f35 improved preservation of directories when updating, and allow to temporarily disable sorting while an update is received 2016-11-26 11:03:53 +01:00
mr-alice
729c05af4f merged with upstream code 2016-11-25 21:09:34 +01:00
csoler
d975a18fd6 added doubling of buffer size in checkSectionSize when missing space. Used 1024 instead of 1000 as start size 2016-11-25 21:06:40 +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
csoler
5fbc263a36 applied removal of realloc to other files in file_sharing/ directory 2016-11-25 20:05:23 +01:00
csoler
0cb7778ceb removed all calls to realloc causing major slow down on windows where its implementation is extremely inefficient 2016-11-25 18:52:04 +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
9718385333 added missing mutex probably causing crashes when saving directory storage 2016-11-19 20:15:53 +01:00
Phenom
a8782f0612 Fix Crash when checking a big-big file storage.
After check lot of file with errors, error_string become to big and RS
crash.
2016-11-18 23:04:32 +01:00
csoler
bdc8086c2e added missing mChanged=true when removign a directory 2016-11-17 21:27:37 +01:00
csoler
5339e99127 force re-sweep of remote directory that has been updated with new dir content to 10 sec 2016-11-17 21:00:34 +01:00
csoler
36755c4092 added load/save of own file hierarchy 2016-11-17 19:03:53 +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
csoler
608d0d0a65 auto-remove remote directories for friends offline for too long (depending on whether the dir is empty or not) and also remove unused dir files 2016-11-15 21:33:39 +01:00
csoler
99860c1eb0 only allocate a remote directory entry if the peer is online, or the file already exists 2016-11-15 20:10:18 +01:00
csoler
8c8cc88503 fixed problems with negative time shifts in DirDetails causing multiple GUI bugs in File Lists and Search 2016-11-14 21:58:58 +01:00
csoler
5ef4e752d9 added count of total number of files and total file isze on top of shared directories 2016-11-11 20:25:11 +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
e4e366766f fixed bug that caused hierarchies that contain files being hashed to not send updates when the hash is finished 2016-11-05 17:32:40 +01:00
csoler
a97fa1e2cb fixed generation of pseudo-random request ids in p3filelists 2016-11-05 16:07:30 +01:00
csoler
1e919a141c set delay between directory sweep to 60 secs and a-synced sweeps for different friends. Set drop time to 600 for un-answered dir sync requests 2016-11-05 15:30:07 +01:00
csoler
f39272a709 fixed compilation in debug mode for p3filelists.cc 2016-11-04 21:43:09 +01:00
mr-alice
2bb9a87b3b merged and fixed conflict with upstream/master 2016-11-04 13:52:11 +01:00
csoler
8dacb22049 reducing linear cost of allocateNewIndex to constant. Should improve huge lags when receiving big file lists for the first time 2016-11-03 22:32:27 +01:00
mr-alice
8c7c7647b0 fixed conflicts in merging upstream/master to v0.6-FTEncryption 2016-11-01 14:23:13 +01:00
mr-alice
e8e054eeae addednew flag for anonymous search. Merged the two browsable flags in one single flag. 2016-10-31 14:26:01 +01:00
mr-alice
34dcb410b4 fixed a few bugs in ftServer for encrypted tunnel management 2016-10-30 11:36:00 +01:00