Commit Graph

2799 Commits (e0a843350fec880ffbf01a70c6200219177faab0)

Author SHA1 Message Date
Zlatin Balevsky accf8301ad
escape occurrences of short id 2021-07-06 20:37:23 +01:00
Zlatin Balevsky 0f3c22ddd4
fix plugin compilation after recent UnsharedFileEvent changes 2021-07-05 20:44:48 +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 03a9c055e6
avoid default groovy method which creates a temporary TreeMap 2021-06-15 21:02:42 +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 d95e9c3472
prevent an IllegalStateException when unsharing files not visible in the filtered tree 2021-06-14 13:36:56 +01:00
Zlatin Balevsky 0bada3b66c
filter library by keywords more similar to network search. Github issue #61 2021-06-14 10:07:53 +01:00
Zlatin Balevsky 72c23b0417
Try to follow XDG Base dir standard if not on Windows or Mac, GitHub issue #7 2021-06-13 16:48:17 +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 f012eaef47
fix focus on uploaded file in tree view 2021-06-12 23:29:09 +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 b3cae1451c
do not use swing groovy extensions which for some reason are not available after jlinking 2021-06-12 14:30:12 +01:00
Zlatin Balevsky d64eebc153
open a file with double-click from library 2021-06-12 11:12:10 +01:00
Zlatin Balevsky 300404915d
more efficient mass unsharing 2021-06-12 10:56:01 +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 14b55065c6
lowercase filter 2021-06-12 10:08:30 +01:00
Zlatin Balevsky 948ab9d3c0
Make FileUnsharedEvent a batch event 2021-06-12 10:05:36 +01:00
Zlatin Balevsky 29e002f8f1
get rid of manual library refresh, switch to LinkedHashSet for all files, properly clean up intermediate nodes in the filtered tree 2021-06-12 09:30:16 +01:00
Zlatin Balevsky 65b20a9f93
update library in batch after unsharing 2021-06-12 08:06:11 +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 d5a17e9b6a
fix collapsing of tree on refresh (as in during uploads). Fix magic expansion on clearing of filter 2021-06-12 06:09:14 +01:00
Zlatin Balevsky 4fcb82133c
add Clear and Filter buttons. Disable filtering until library has loaded. Do not traverse subtree on every selection 2021-06-12 05:38:23 +01:00
Zlatin Balevsky 88fe173fbb
do not filter on every keystroke 2021-06-11 18:54:23 +01:00
Zlatin Balevsky 9c7cf3d969
try to speed up tree expansion 2021-06-11 18:49:49 +01:00
Zlatin Balevsky 7e08417c91
ability to filter library 2021-06-11 18:33:17 +01:00
Zlatin Balevsky f56a96923b
do not canonicalize from the UI thread 2021-06-11 05:35:17 +01:00
Zlatin Balevsky 674ef4c708
White background on systray icon, thanks to slrslr, GitHub issue #60 2021-06-10 11:31:21 +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