Zlatin Balevsky
|
c0ad9b9a6c
|
windows throws an exception when trying to open the file. GitHub issue #97
|
2021-10-19 16:24:42 +01:00 |
Zlatin Balevsky
|
d53666d7bb
|
try to acquire a read lock before trying to hash the file. GitHub issue #97
|
2021-10-19 15:46:40 +01:00 |
Zlatin Balevsky
|
6a3716b774
|
Try a read lock over the file that is being hashed. GitHub issue #97
|
2021-10-19 14:25:00 +01:00 |
Zlatin Balevsky
|
d64fcfc1a4
|
re-instate the throttling of file load property
|
2021-10-19 13:55:06 +01:00 |
Zlatin Balevsky
|
cdf96f32a2
|
switch to WeakHashMap to prevent reference leak of Destinations
|
2021-10-17 15:06:32 +01:00 |
Zlatin Balevsky
|
0e0b30c3a6
|
revert delaying of downloads as the semaphore approach is enough. GitHub issue #90
|
2021-10-15 18:33:05 +01:00 |
Zlatin Balevsky
|
3d72497d5f
|
Fix return value
|
2021-10-15 17:40:04 +01:00 |
Zlatin Balevsky
|
a131263686
|
limit the simultaneous connections to a given destination to 4. GitHub issue #90
|
2021-10-15 17:29:01 +01:00 |
Zlatin Balevsky
|
73d3fb6ad8
|
throttle new downloads to one every 100ms. Helps with GitHub issue #90
|
2021-10-15 16:03:24 +01:00 |
Zlatin Balevsky
|
bc4f61bcdb
|
Speed up mass resume/retry of downloads. GitHub issue #89
|
2021-10-15 02:11:39 +01:00 |
Zlatin Balevsky
|
0efe12f247
|
update test with second required kickoff event
|
2021-10-14 17:16:15 +01:00 |
Zlatin Balevsky
|
1c1f947315
|
remove the throttling of loading the shared files on startup since the GUI is now updated on a timer
|
2021-10-14 16:57:54 +01:00 |
Zlatin Balevsky
|
47b841cf3d
|
load feeds after the UI loads
|
2021-10-13 20:23:00 +01:00 |
Zlatin Balevsky
|
da2d006405
|
cache hidden roots as they are likely to repeat a lot
|
2021-10-13 10:11:45 +01:00 |
Zlatin Balevsky
|
6c186267f6
|
fix a typo that was causing max chat connections to revert to -1. GitHub issue #66
|
2021-10-12 17:33:41 +01:00 |
Zlatin Balevsky
|
d1bb60c269
|
remove (broken) attempt to force-share the update file
|
2021-10-12 17:15:00 +01:00 |
Zlatin Balevsky
|
ee68ce42c9
|
fix a typo that was causing update checks after every startup
|
2021-10-12 17:13:12 +01:00 |
Zlatin Balevsky
|
41dc8ab0e6
|
Increase the MAX_RESULTS constant because it's not as relevant any more
|
2021-10-11 15:18:16 +01:00 |
Zlatin Balevsky
|
2bfcbbf1c5
|
mark local queries and make sure they get broadcast
|
2021-10-10 08:11:55 +01:00 |
Zlatin Balevsky
|
3c1fbf1953
|
fix connecting to only trusted contacts
|
2021-10-10 07:51:10 +01:00 |
Zlatin Balevsky
|
296f8a9f4d
|
only show paths if the query was searching for paths
|
2021-10-10 00:00:50 +01:00 |
Zlatin Balevsky
|
1c5100f320
|
send path information with results
|
2021-10-09 23:22:24 +01:00 |
Zlatin Balevsky
|
ebac1ffafa
|
add flag to search paths to query message
|
2021-10-09 23:15:35 +01:00 |
Zlatin Balevsky
|
ce806f9f4d
|
Index visible file paths and search through them. GitHub issue #78
|
2021-10-09 22:57:47 +01:00 |
Zlatin Balevsky
|
262bd6931d
|
fix persistence of downloaders which was broken in GitHub issue #65
|
2021-10-09 20:53:22 +01:00 |
Zlatin Balevsky
|
4ee8841db0
|
Prevent race condition with resuming downloads who are just finishing, GitHub issue #77
|
2021-10-09 20:37:57 +01:00 |
Zlatin Balevsky
|
838f9162e4
|
When downloading folder structures share them correctly if sharing is enabled. GitHub issue #65
|
2021-10-08 10:43:25 +01:00 |
Zlatin Balevsky
|
61a61bbbd0
|
Use an HMAC instead of salted hash when generating secret root. Thanks to Searinox for the analysis. GitHub issue #65
|
2021-10-08 06:27:50 +01:00 |
Zlatin Balevsky
|
f022cd7075
|
create download target directory structure, GitHub issue #65
|
2021-10-08 03:16:41 +01:00 |
Zlatin Balevsky
|
06207fbd43
|
fix salt creation on new installs, GitHub issue #65
|
2021-10-08 03:15:59 +01:00 |
Zlatin Balevsky
|
1941406eb9
|
add a hidden root to each path so that the tree does not combine similarly named folders. GitHub issue #65
|
2021-10-08 01:27:28 +01:00 |
Zlatin Balevsky
|
6c55812721
|
canonicalize before checking if directory is watched. Add logging to debug GitHub issue #65
|
2021-10-07 04:51:05 +01:00 |
Zlatin Balevsky
|
2c3a0e5310
|
make sure all watched directories are loaded before any shared files are loaded, GitHub issue #65
|
2021-10-05 18:11:35 +01:00 |
Zlatin Balevsky
|
4e28e6020b
|
do not transmit path information if there is none
|
2021-10-05 00:51:35 +01:00 |
Zlatin Balevsky
|
f1e73daf5c
|
transfer path information in browse GitHub issue #65
|
2021-10-05 00:01:38 +01:00 |
Zlatin Balevsky
|
009af0ce0c
|
decorate SharedFile objects with path from shared root. GitHub issue #65
|
2021-10-04 23:25:36 +01:00 |
Zlatin Balevsky
|
c09396dd90
|
If the user tries to download a file they already, copy the local file. GitHub issue #68
|
2021-10-01 19:42:09 +01:00 |
Zlatin Balevsky
|
5cd06bc58b
|
Release 0.8.9
|
2021-09-14 21:44:21 +01:00 |
Zlatin Balevsky
|
d4d8d09e15
|
ensure that message sender matches endpoint destination and that message is addressed to me
|
2021-09-14 21:28:19 +01:00 |
Zlatin Balevsky
|
559dd76fc7
|
fix bandwidth property names
|
2021-09-07 16:24:28 +01:00 |
Zlatin Balevsky
|
950d34a259
|
if upnp props are not present, assume it's enabled
|
2021-09-07 14:28:06 +01:00 |
Zlatin Balevsky
|
0b2fd2017a
|
share percentage slider
|
2021-09-07 09:08:43 +01:00 |
Zlatin Balevsky
|
1e1a4d0e56
|
ability to disable UPnP in wizard and options
|
2021-09-07 08:41:47 +01:00 |
Zlatin Balevsky
|
a04faadc04
|
do not share hidden directories from auto-watch
|
2021-09-07 04:38:52 +01:00 |
Zlatin Balevsky
|
4a62215e46
|
delete empty directories from files/
|
2021-09-07 04:16:05 +01:00 |
Zlatin Balevsky
|
f079326826
|
Unshare directories in batches. Generate list of directories to unshare from core, not gui. Prevent the negative tree from growing when there are unshares. Fix sharing of files without extensions if the extension ignore list is empty.
|
2021-09-06 17:30:39 +01:00 |
Zlatin Balevsky
|
4b50575c13
|
do not emit event if there were no unshared files
|
2021-09-06 11:24:10 +01:00 |
Zlatin Balevsky
|
39f3476158
|
ensure vals are loaded when flushing
|
2021-09-06 11:19:01 +01:00 |
Zlatin Balevsky
|
aeb124ce2d
|
fix adding files to negative tree
|
2021-09-05 20:15:47 +01:00 |
Zlatin Balevsky
|
84254f862d
|
default chat rooms
|
2021-08-30 14:57:02 +01:00 |
Zlatin Balevsky
|
30409a8f0b
|
enable STBM
|
2021-08-29 13:57:18 +01:00 |
Zlatin Balevsky
|
3344b8ef8b
|
publish results piecemally
|
2021-08-12 11:07:31 +01:00 |
Zlatin Balevsky
|
5f229d903f
|
Release 0.8.8
|
2021-07-07 21:10:33 +01:00 |
Zlatin Balevsky
|
57e60c631b
|
do not respond to pings without UUID. Do not solicit responses unless there's need for more connections
|
2021-06-18 06:58:00 +01:00 |
Zlatin Balevsky
|
8c0cecbfdd
|
persist downloaders after fetching a hashlist
|
2021-06-15 21:16:22 +01:00 |
Zlatin Balevsky
|
b4f525d282
|
fix a bug with hash collisions on file names
|
2021-06-15 20:33:16 +01:00 |
Zlatin Balevsky
|
9dcf6e7bea
|
keep hashes arrays sorted for faster checking
|
2021-06-15 18:36:55 +01:00 |
Zlatin Balevsky
|
e1ffd81e6e
|
redesign handling of explicitly unshared files to support directories as well
|
2021-06-13 15:59:34 +01:00 |
Zlatin Balevsky
|
d3cfcef063
|
offload deletion to disk IO thread
|
2021-06-12 16:28:35 +01:00 |
Zlatin Balevsky
|
49787fb4dc
|
more efficient directory traversal
|
2021-06-12 16:07:52 +01:00 |
Zlatin Balevsky
|
cbf66b620e
|
fix construction of event
|
2021-06-12 15:57:56 +01:00 |
Zlatin Balevsky
|
ab2fa6066b
|
cache hashcode, reverse check in equals() to reduce filesystem calls
|
2021-06-12 15:53:45 +01:00 |
Zlatin Balevsky
|
d7423e7e08
|
delete json and hashlist on persister thread
|
2021-06-12 10:55:22 +01:00 |
Zlatin Balevsky
|
ea11805489
|
remove correct object
|
2021-06-12 10:39:27 +01:00 |
Zlatin Balevsky
|
948ab9d3c0
|
Make FileUnsharedEvent a batch event
|
2021-06-12 10:05:36 +01:00 |
Zlatin Balevsky
|
7b670b9037
|
make sure spans are fully loaded before trying to flush them
|
2021-06-12 07:50:16 +01:00 |
Zlatin Balevsky
|
8356a92aa3
|
add an option to disable throttling of the loading of shared files on startup
|
2021-06-09 13:41:32 +01:00 |
Zlatin Balevsky
|
1e7e30dee2
|
Switch to LAX Json parser and parallelize the stream after filtering
|
2021-06-09 12:50:00 +01:00 |
Zlatin Balevsky
|
aa2b80cc0d
|
remove unnecessary canonicalization
|
2021-06-09 12:48:47 +01:00 |
Zlatin Balevsky
|
3c2d6e3952
|
more efficient (de)serialization of String[]
|
2021-06-09 00:57:27 +01:00 |
Zlatin Balevsky
|
96e359643a
|
double page size
|
2021-06-09 00:55:31 +01:00 |
Zlatin Balevsky
|
12a052ca55
|
small optimizations
|
2021-06-08 23:21:54 +01:00 |
Zlatin Balevsky
|
fd06fdf7ce
|
spltt search index into Java and Groovy parts for faster initial loading. GitHub issue #59
|
2021-06-08 22:30:33 +01:00 |
Zlatin Balevsky
|
e09b4c6621
|
do not reload keys, only values
|
2021-06-08 21:26:18 +01:00 |
Zlatin Balevsky
|
5b3416f7bb
|
perform a periodic gc() just in case, GitHub issue #59
|
2021-06-08 16:17:04 +01:00 |
Zlatin Balevsky
|
94a78bfa4e
|
GitHub issue #59 - try to accommodate larger libraries without limiting heap size
|
2021-06-08 15:54:51 +01:00 |
Zlatin Balevsky
|
bcc94abadd
|
switch Set -> Array in FileTree
|
2021-06-05 23:54:04 +01:00 |
Zlatin Balevsky
|
d00d6d7e18
|
flatten the nameToFile map as well
|
2021-06-05 23:39:25 +01:00 |
Zlatin Balevsky
|
71d20d075b
|
reduce memory usage of the rootToFiles structure by switching to array values
|
2021-06-05 23:18:39 +01:00 |
Zlatin Balevsky
|
30abc5af8d
|
get rid of unused cached value
|
2021-06-05 22:16:49 +01:00 |
Zlatin Balevsky
|
fe85887b39
|
use two SkipLists, thanks zzz for the suggestion
|
2021-06-05 15:44:53 +01:00 |
Zlatin Balevsky
|
72c4998954
|
increment counters appropriately after increasing value size to integer
|
2021-06-05 05:29:54 +01:00 |
Zlatin Balevsky
|
ea1f431323
|
more efficient splitting, reduces blockfile access
|
2021-06-05 03:18:18 +01:00 |
Zlatin Balevsky
|
cb2ab77316
|
increase max value size to 2^24
|
2021-06-05 03:11:50 +01:00 |
Zlatin Balevsky
|
a9c4f612fd
|
fix re-use of SkipSpan when it goes empty
|
2021-06-05 03:04:52 +01:00 |
Zlatin Balevsky
|
1168a871eb
|
get rid of the limit for byte[] i/o
|
2021-06-04 22:27:22 +01:00 |
Zlatin Balevsky
|
0916e67939
|
rename package so that it won't conflict in the plugin
|
2021-06-04 18:22:45 +01:00 |
Zlatin Balevsky
|
88f1f381b9
|
multi-part backing storage
|
2021-06-04 18:14:07 +01:00 |
Zlatin Balevsky
|
4a0275914d
|
clean or suppress some warnings
|
2021-06-04 16:05:14 +01:00 |
Zlatin Balevsky
|
38bfecbc4f
|
increase span size
|
2021-06-04 16:01:14 +01:00 |
Zlatin Balevsky
|
40492ac5d2
|
re-add nulling of values
|
2021-06-04 16:00:31 +01:00 |
Zlatin Balevsky
|
008d82ad1d
|
side-port the blockfile db changes from i2p.i2p
|
2021-06-04 14:54:16 +01:00 |
Zlatin Balevsky
|
93ac56b353
|
fix or suppress various warnings
|
2021-06-04 12:41:01 +01:00 |
Zlatin Balevsky
|
84387bef8e
|
clear out vals storage after retrieving value
|
2021-06-04 12:35:21 +01:00 |
Zlatin Balevsky
|
3d30f49776
|
do not store values in the heap, just keys
|
2021-06-04 12:23:22 +01:00 |
Zlatin Balevsky
|
9ecb73149c
|
Split processing of files from directories. Throttle emission of new events based on threadpool queue length
|
2021-06-04 05:57:50 +01:00 |
Zlatin Balevsky
|
dfd7be9618
|
reduce the size of the memmapped file
|
2021-06-04 03:48:15 +01:00 |
Zlatin Balevsky
|
8892dd73a8
|
switch to a memory-mapped file instead of a RAF
|
2021-06-04 03:21:43 +01:00 |
Zlatin Balevsky
|
76eaca996f
|
experimental Blockfile db instead of in-memory index
|
2021-06-04 00:09:33 +01:00 |
Zlatin Balevsky
|
1c2972ecfc
|
add some default file types to ignore
|
2021-06-03 17:22:38 +01:00 |