1
0
mirror of https://github.com/bobwen-dev/hunter synced 2025-04-12 00:55:41 +02:00

83 Commits

Author SHA1 Message Date
rabite
aa091b69c8 more prallel processing 2020-02-05 18:55:09 +01:00
rabite
025a40044c process files in parallel 2020-01-27 19:14:55 +01:00
rabite
c8e6ea51bb further speed up creation of Files 2020-01-27 17:39:42 +01:00
rabite
fff9c0ca25 speed up creation of Files 2020-01-27 16:30:18 +01:00
rabite
e993c2c275 use faster unstable sorting 2020-01-27 15:49:10 +01:00
rabite
874e7e306f minimize allocations in render_fn 2020-01-27 02:12:58 +01:00
rabite
abc35e0e7d fix blocking when entering/leaving large directory 2020-01-26 16:08:11 +01:00
rabite
314edf528c speed up construction of Files 2020-01-25 01:12:54 +01:00
rabite
b18e86f28e fix regression/crash when directory becomes empty 2020-01-24 23:30:34 +01:00
rabite
8fc070b71b speedup: make hunter handle directories with 1M files 2020-01-23 20:44:10 +01:00
rabite
cd773727eb fix updates ignoring sort/filter/etc settings when rendering 2020-01-23 16:10:34 +01:00
rabite
c9f3312640 save number of visible files instead of recalculating it every time 2020-01-23 04:12:57 +01:00
rabite
325f5a5ab3 remove limit on number of files updated at once
Since calculating the hash tables is the costliest part of updating a
directory it makes little sense to limit the number of files being
processed at once. That only means the hash tables have to be created
more often and updates take much more time in total. Since it's all
done in an asynchronous worker thread anyway it makes more sense to
process as much as possible in one go, even if it takes a second
longer.
2020-01-22 15:28:55 +01:00
rabite
ef29c47e88 fixed hangs when updating large directories (>10k files) 2019-12-23 02:08:50 +01:00
rabite
03693f96d0 improved Files interface by returning Iterator instead of Vec<&File> 2019-12-20 22:07:38 +01:00
rabite
154f922040 fix warnings on recent compilers 2019-12-15 01:32:03 +01:00
rabite
15e2f89a64 filter by file selection 2019-06-30 14:53:44 +02:00
rabite
11f5bd081b modularize media preview generator into own workspace 2019-06-29 23:33:25 +02:00
rabite
caf242986c fix crash in mime_guess when operating on non-regular files 2019-05-28 15:40:30 +02:00
rabite
be7cae5875 improved mime detection for extension-less files 2019-05-28 01:50:02 +02:00
rabite
e8d9c6ad1f merge in media-preview stuff
Squashed commit of the following:

commit 4087cee2f2a72bc2d3e44832809cbe99d25a3309
Author: rabite <rabite@posteo.de>
Date:   Tue May 21 20:40:27 2019 +0200

    rename to preview-gen

commit 275fd420a01c24393ae9cc07287204fde309130a
Author: rabite <rabite@posteo.de>
Date:   Tue May 21 20:30:50 2019 +0200

    update Cargo.toml and README

commit bf4c3fec0f8e0ff4628153297ac64fe165b4e443
Author: rabite <rabite@posteo.de>
Date:   Tue May 21 20:30:33 2019 +0200

    add config options for media

commit 3bf681cd078177d634507c51d04a45bdae184f1b
Author: rabite <rabite@posteo.de>
Date:   Tue May 21 13:46:00 2019 +0200

    always use unicode icons for play/pause/mute

commit ed2a0b31d1911e4d42086699ca1db636c327bacf
Author: rabite <rabite@posteo.de>
Date:   Tue May 21 13:04:11 2019 +0200

    rename to mediaview and some fixups

commit bda3f8f83bec07c3f52d06cf5f8eaad7fdbd85a0
Author: rabite <rabite@posteo.de>
Date:   Tue May 21 11:44:52 2019 +0200

    fix warnings

commit 9c917903cfa958b225f268ed4fb9f55f27162be0
Author: rabite <rabite@posteo.de>
Date:   Tue May 21 01:10:58 2019 +0200

    play audio through viedo widget

commit 9fe208b213710fae889f7701bdb3bf96d599c9a8
Author: rabite <rabite@posteo.de>
Date:   Tue May 21 00:15:12 2019 +0200

    fixed play when autoplay is off

commit d4036d52864d0a4e08f7da2cf6f7419ef070c1a9
Author: rabite <rabite@posteo.de>
Date:   Mon May 20 13:15:44 2019 +0200

    add icons for play/pause/mute

commit 29f0d203cfd7501b50d80501de146da9d89388bb
Author: rabite <rabite@posteo.de>
Date:   Mon May 20 12:26:53 2019 +0200

    add basic gif support

commit 8d28e4c23a91b0ef83739554c3a2f6671a9ff6f5
Author: rabite <rabite@posteo.de>
Date:   Mon May 20 11:43:57 2019 +0200

    fixed play after pause

commit 142017df78de77bcfffd8f3dd9612a06927e183b
Author: rabite <rabite@posteo.de>
Date:   Sun May 19 14:22:16 2019 +0200

    change to stale on drop

commit c0026c7f56f6a841df18e41bd1c9b33543e26cfb
Author: rabite <rabite@posteo.de>
Date:   Sat May 18 23:46:27 2019 +0200

    handle errors in gstreamer closure

commit ef37f872c54b9d21ed5505c2edb480c793afaef9
Author: rabite <rabite@posteo.de>
Date:   Sat May 18 23:40:24 2019 +0200

    add image-only mode to preview-gen

commit 15752464563463c6ecf892c1d8a14651bf32e1e5
Author: rabite <rabite@posteo.de>
Date:   Sat May 18 23:28:33 2019 +0200

    add copyright note

commit 4c9f08fc4de5d3bffefd42284b60aa81cfbae9f7
Author: rabite <rabite@posteo.de>
Date:   Sat May 18 23:27:30 2019 +0200

    make image/video previews optional

commit 9c2c2db2b20ecd4c30acbb1c77ad18c71f528c4c
Author: rabite <rabite@posteo.de>
Date:   Sat May 18 22:13:25 2019 +0200

    remove blank space under video

commit f7056d70fbe9147b3b95d7c10950653eadbb4f48
Author: rabite <rabite@posteo.de>
Date:   Sat May 18 22:06:49 2019 +0200

    remove dbg

commit cce820657ff1258cdb78d455dd3cf04564450cea
Author: rabite <rabite@posteo.de>
Date:   Sat May 18 21:50:25 2019 +0200

    added error handling to preview-gen

commit 80bbe15bacb99d1f4f97504a5d10ecf59544993f
Author: rabite <rabite@posteo.de>
Date:   Sat May 18 21:04:31 2019 +0200

    add time and visual seek bars to videoview

commit 4349945cc5549334f246be64bc7c8e2db43f9150
Author: rabite <rabite@posteo.de>
Date:   Thu May 16 22:39:19 2019 +0200

    fix sneaky process

commit 373128b7096d4de29924617e549a613a3aeea5b2
Author: rabite <rabite@posteo.de>
Date:   Thu May 16 22:07:27 2019 +0200

    fix out of controll processes

commit e061e065e913ab3923ffac1079a9f0a2be0df532
Author: rabite <rabite@posteo.de>
Date:   Thu May 16 20:51:56 2019 +0200

    add media_preview

commit f68c754895a9718d1a962980de9fbf02e5cb48cd
Author: rabite <rabite@posteo.de>
Date:   Thu May 16 19:37:04 2019 +0200

    beta image/video previews

commit 9a5460e553dd26ebccffaf819c64a8dc6ba74818
Author: rabite <rabite@posteo.de>
Date:   Tue May 14 20:36:25 2019 +0200

    external img preview

commit 3c4edfcb7611b36f6e537c73743e0b6bd269037b
Author: rabite <rabite@posteo.de>
Date:   Tue May 14 20:35:12 2019 +0200

    video preview
2019-05-21 20:52:04 +02:00
rabite
99980ace6c use async_value library 2019-05-11 13:32:22 +02:00
rabite
7817cc1d60 add icons to file list 2019-05-09 16:53:30 +02:00
rabite
572a217e17 add incremental search/filter 2019-05-08 13:48:46 +02:00
rabite
2974d744a6 use libraryized pathbuftools 2019-04-20 19:00:05 +02:00
rabite
e7033eca03 remove unused import 2019-04-20 13:03:50 +02:00
rabite
1ddffe2611 Merge branch 'master' of https://github.com/rabite0/hunter 2019-04-20 13:03:13 +02:00
rabite0
d1c932f4ac
Merge pull request #24 from cpdean/fix-lscolors
fix lscolors config if environment variable not set

NOTE: This got lost at some point. Remerging this now.
2019-04-20 12:59:30 +02:00
rabite
95a1ef5a1d use libraryized osstrtools 2019-04-16 02:02:04 +02:00
rabite
127c3e89a4 create placeholder when folder is empty when hiding files 2019-04-14 22:47:26 +02:00
Conrad Dean
38e1bf656b fix lscolors config if environment variable not set
Per the lscolors crate docs, this switches from an `unwrap` to
`unwrap_or_default` so that this does not panic when this environment
variable is not set for the user, fixing a crash on startup in hunter.
2019-04-13 22:03:06 -04:00
rabite
1fd25d35c3 add/remove placeholder when dir becomes empty/populated 2019-04-09 19:22:42 +02:00
rabite
0eedd7da7f fix crash when sorting
Squashed commit of the following:

commit 353e97f4dcff04929cabd707275df193bdde2f31
Author: rabite <rabite@posteo.de>
Date:   Tue Apr 9 18:44:10 2019 +0200

	remove dbgs

commit 97e9cd3eadd259742f0f2a3a619c0eaa23112e54
Author: rabite <rabite@posteo.de>
Date:   Mon Apr 8 17:53:15 2019 +0200

	print names while sorting by name

commit 698fffc4b70255268befdbf5b90948e1ae218538
Author: rabite <rabite@posteo.de>
Date:   Mon Apr 8 17:50:59 2019 +0200

	possible fix for crash when sorting
2019-04-09 18:45:41 +02:00
rabite
d5ccfb0d74 show fs space usage and too much other stuff 2019-04-04 00:31:01 +02:00
rabite
10d9a5462c configurable hidden files/animation 2019-04-03 15:35:29 +02:00
rabite
000bd4ab9e also import tags 2019-04-03 00:43:02 +02:00
rabite
e99a3d993c move widgets/files around instead of caching 2019-04-02 22:17:07 +02:00
rabite
ed32c83aca finally fixed memory leak 2019-03-31 03:28:07 +02:00
rabite
ed6abefc3c some bugs fixed 2019-03-30 22:28:10 +01:00
rabite
b52e63fd8d global file cache/event dispatch 2019-03-29 02:53:21 +01:00
rabite
8d8d9631b5 fixed possibler race condition 2019-03-26 13:05:15 +01:00
rabite
90e626d169 some bugfixes and stuff 2019-03-26 02:15:25 +01:00
rabite
153bf24238 make async clonable 2019-03-25 15:28:45 +01:00
rabite
3888f49aeb load metadata and file-count asynchronously 2019-03-25 02:53:59 +01:00
rabite
e4a2749ee0 start stuff in the background 2019-03-21 21:32:41 +01:00
rabite
095cd1074e filtering by name 2019-03-20 23:38:58 +01:00
rabite
118aeac6e0 faster read permission checking 2019-03-20 17:44:41 +01:00
rabite
e36ddf34b4 use osstring for filenames/paths 2019-03-20 00:29:20 +01:00
rabite
cc8020ee8c shorten HOME and show indicator for links 2019-03-17 06:05:31 +01:00
rabite
7011023bab shorten home path for display 2019-03-17 01:50:38 +01:00