csoler
81c1eb227c
moved file hashing and download count to new notification system
2020-01-30 23:02:23 +01:00
Gioacchino Mazzurco
df87fe53b1
Cleanup RsThread and related classes
...
Removed antipattern abstraction RsSingleJobThread
Rename runloop() method to run() in RsThread
Ported few classes ineriting from RsSingleJobThread to RsThread
RsThread use std::atomic instead of self implemented strange binary semaphores
Removed RsTickingThread::shutdown() use RsThread::askForStop() instead
Removed RsTickingThread::fullstop() use RsThread::fullstop() instead
Stop properly JSON API server in retroshare-gui
Centralize errno traslation to literal in util/rserrno.*
2019-12-30 10:38:54 +01:00
felisucoibi
c9aab51c7c
Update hash_cache.cc
2019-12-01 23:01:20 +01:00
felisucoibi
ff9c7774f2
Update hash_cache.cc
2019-12-01 12:28:52 +01:00
zapek
3f8611f40f
the cache is corrected and saved
2019-04-06 00:15:01 +02:00
zapek
683e3579aa
fixed wrong file hash daylight saving time warnings on windows
2019-04-03 21:29:34 +02:00
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
0f758902cd
started cleaning the mess with rsAccounts: only exposed useful functionality of rsAccount beyond a static class and removed all references to rsAccounts in the code
2018-07-24 23:47:32 +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
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
3bb694f439
added display of hashing speed. Changed hashing buffer size to 10MB to improve performance
2017-10-29 21:24:34 +01:00
csoler
d61a5cd5ab
attempt at fixing the re-hash bug. Now only using canonicalized filenames in hash cache
2017-10-02 22:23:26 +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
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
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