Commit Graph

31 Commits

Author SHA1 Message Date
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
5fbc263a36 applied removal of realloc to other files in file_sharing/ directory 2016-11-25 20:05:23 +01:00
csoler
6272856b5e added param to folderIterator to skip/follow symbolic links 2016-11-16 21:41:32 +01:00
Gio
633a6cf8c2 Fixed a bunch of warnings in safe ways 2016-10-13 00:01:33 +02:00
Bryon Gloden, CISSP®
9ae05112be uninitialized variable: size
[libretroshare/src/file_sharing/hash_cache.cc:182]: (error) Uninitialized variable: size

Found by https://github.com/bryongloden/cppcheck
2016-10-01 12:01:09 -04:00
sehraf
9d72b064e1 add thread names & remove some warnings 2016-09-27 09:50:59 +02:00
csoler
fc1a350869 added automated import of old hash cache in order to avoid re-hashing everything when switching to the new system 2016-09-26 21:12:13 +02:00
csoler
bb4b577768 prevent storage for hash of files that cannot be hashed 2016-09-25 18:44:28 +02:00
Mr. Alice
96b333d67e Merge pull request #1 from hunbernd/v0.6-FileLists
Fixed compilation on Windows and with 32 bit compiler
2016-09-24 09:04:25 +02:00
hunbernd
8500b5e9f5 Fixed inconsistency in integer sizes that caused segmentation fault while hashing files also broken message on the GUI 2016-09-23 21:56:41 +02:00
mr-alice
71a5bffed8 added small hack against re-hashing due to stat64 depending on local time on windows 2016-09-23 20:07:57 +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
e4568a896f removed some unused code 2016-09-18 21:16:25 +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
2343c91055 added display of hash progress 2016-09-15 21:51:14 +02:00
mr-alice
e9418bb5c6 added file headers with proper licence terms 2016-09-13 00:01:26 +02:00
mr-alice
679c53b0b0 added load/save of directory hierarchies. Fixed bug in loading of hash cache (caused y non initialisation of dest string in GetRawString()) 2016-09-05 21:22:11 +02:00
mr-alice
5b221c56db moved encrypted data output/input to FileListIO 2016-09-03 18:46:03 +02:00
mr-alice
153783acb5 fixed bug in saving hash cache 2016-09-02 22:08:27 +02:00
mr-alice
7b566f2c55 added load/save for hash cache in the proper place 2016-09-02 21:49:43 +02:00
mr-alice
1290aa8403 fixed proper display of file sharing flags 2016-08-29 21:30:56 +02:00
mr-alice
ca8f95c7f7 fixed a few bugs in internal directory storage structure 2016-08-16 13:46:55 +02:00
mr-alice
df14b41ba6 fixed sleeping when hashing strategy 2016-08-12 19:30:19 +02:00
mr-alice
733ad438fb added IO for hash cache 2016-08-12 15:20:23 +02:00
MrAlice
82c18bbb86 added load/save for file hash cache 2016-08-09 15:07:02 +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
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
63063102bb fixed compilation of file lists code base 2016-07-20 16:10:51 -04:00