Commit graph

213 commits

Author SHA1 Message Date
Ashley Wulber
c8e5d986f2
Fix context menu position (#1136)
* chore: update libcosmic

* fix(context menu): compensate for scroll virtual offset, and use window position
2025-08-13 11:01:03 -06:00
Ashley Wulber
a4e3bf3eea
fix: limit concurrent thumbnail generation (#1138) 2025-08-13 11:00:07 -06:00
Mitchel Stewart
293350092c
thumbnail: Support jxl and plumbing for future formats. (#1058)
* add plumbing for additional thumbnailers

* remove bad logging and fmt

* fix bad logging message

* add decoding ram limits

* add configuration for thumbs

* cleanups

* fix rebase fails
2025-07-30 15:45:53 -06:00
Ashley Wulber
edca40058b chore: update libcosmic 2025-07-29 16:04:44 -06:00
Jeremy Soller
e1bc0abaab
Update libcosmic 2025-07-24 10:52:49 -06:00
Jeremy Soller
605f44763b
On wayland, place context menus into popups, fixes #1090 2025-07-24 10:51:46 -06:00
Jeremy Soller
3390ef7ea8
Update dependencies 2025-07-22 09:15:33 -06:00
Ashley Wulber
41d01bbb51 chore: update libcosmic 2025-07-17 10:15:42 -06:00
Ashley Wulber
c7e9828d7b feat: retry opening network locations after mounting 2025-07-15 13:15:45 -06:00
Jason Rodney Hansen
54b884e5f8 Add ability to remove files from Recents 2025-07-11 09:38:13 -06:00
Jeremy Soller
f3c8182966
Update dependencies 2025-07-10 15:27:51 -06:00
Ashley Wulber
19c2cefd8a fix(dialog): header close button 2025-07-09 15:28:47 -06:00
Jason Rodney Hansen
489eb2a066 Add caching for thumbnails based and freedesktop.org spec 2025-07-07 08:59:06 -06:00
Ashley Wulber
e4ffec63a1 refactor: apply limit on the number of persisted sort names 2025-07-03 19:34:48 +00:00
Jeremy Soller
b51f3d03a2
Update dependencies 2025-07-01 09:31:12 -06:00
Jeremy Soller
e3b7cfc8e6
Adjust shortcut text style 2025-06-27 11:14:09 -06:00
Jeremy Soller
cefa82f4e9 Drop dbus-config, update libcosmic, and use system_theme_update 2025-06-23 11:37:22 -06:00
Ashley Wulber
1f94e54bee fix: update libcosmic 2025-06-19 10:08:33 -04:00
Ashley Wulber
720caa5dba feat: menubar popups 2025-06-18 12:11:15 -04:00
Jeremy Soller
051001b9ea
Implement setting permissions, fixes #325 2025-05-16 09:39:53 -06:00
Jeremy Soller
0e10447b02
Update io-uring now that patch is released 2025-05-05 08:34:54 -06:00
Jeremy Soller
3d18d7f390
Update dependencies 2025-05-01 09:19:40 -06:00
Jeremy Soller
dd98622cfa Reduce features used on remote filesystems
This attempts to detect remote filesystems on Linux using the
/proc/self/mountinfo file and checking the filesystem against a
hardcoded list of remote filesystems. Remote filesystems will not
thumbnail, read file data to determine mime types, or calculate
directory sizes.
2025-04-29 14:51:11 -06:00
Ryan Brue
372cdf9127
Fix building on s390x, ppc64le (#950)
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2025-04-26 15:35:18 -06:00
Jeremy Soller
387b364e58
Update trash crate 2025-04-21 13:32:41 -06:00
Jeremy Soller
887211c850
Remove merged libc patch 2025-04-17 08:03:53 -06:00
Ashley Wulber
133dab261d chore: update libcosmic 2025-04-16 12:29:28 -04:00
Ashley Wulber
eea916d783
feat: responsive menu bar (#938) 2025-04-15 18:04:07 -06:00
Jason Hansen
5e21c7cf99
Use icu for date and time localization (#934)
* Use icu for date and time localization

* Handle military time config in dialog
2025-04-14 08:59:32 -06:00
Jeremy Soller
32bda4b585
Patches to fix redox support 2025-04-10 09:06:59 -06:00
Michael Murphy
79aa8f887a
feat: use io_uring / IOCP when available for async file IO (#911)
Spawns a single thread for handling async file IO on the [compio runtime](https://github.com/compio-rs/compio).
It is a completion-based IO runtime that can dynamically select a polling mechanism at runtime. It defaults to
io_uring on Linux, IOCP on Windows, and the polling crate everywhere else. On Linux systems where io_uring is
unavailable or disabled, it will fall back to the polling crate.

This eliminates most of the threads that were needed previously. It significantly reduced the amount of memory
needed in the recursive Context to get a good transfer rate for each copy operation—from a 4 MB buffer to 128 KB.
Copies on a nvme drive are somewhat faster with the async IO changes, and use less CPU than before.

Although it uses a single thread for non-blocking tasks, it still manages to 100% max out my nvme drive's
activity for the whole duration of multiple long transfers. But it would be possible to enable compio's
dispatcher to spread operations across worker threads if necessary.

All but the extract and compress operations were updated to be async. I had to switch the `CondVar` in the
`Controller` to a `tokio::sync::Notify` to prevent the IO thread from being put to sleep when an operation is paused.
Fixed a deadlock in the `operation_copy` test function that was performing an operation without concurrently pulling
from the channel in the operation. Reduced the rate that `Message::None` is sent from a subscription to trigger a UI
redraw, and fixed it to not run when operations are paused.
2025-04-09 15:15:07 -06:00
Jeremy Soller
f8ecc856b3
Move xdg-mime patch to dependencies, remove filetime patch 2025-03-31 09:07:58 -06:00
Jeremy Soller
28ec74d440
Use xz2 instead of liblzma, update dependencies 2025-03-31 09:05:32 -06:00
Jeremy Soller
c665cf3522
Update libcosmic 2025-03-31 08:52:18 -06:00
Jeremy Soller
28f324fc11
Add support for accelerator keys in dialog, fixes #390 2025-03-19 14:44:13 -06:00
Jeremy Soller
637d610342
Update libcosmic 2025-03-19 12:29:45 -06:00
Ashley Wulber
4828bae81d
chore: update libcosmic 2025-03-15 11:59:03 -04:00
ellieplayswow
b288cd0581 simplifying list generation for mime types, applying xdg-mime patch & cargo fmt 2025-03-09 21:13:27 +00:00
Michael Aaron Murphy
3e5b14dd23
fix(libcosmic): theme subscription 2025-03-09 15:17:23 +01:00
Michael Aaron Murphy
491b46a131
perf: update libcosmic to improve window resize performance 2025-02-20 13:48:31 +01:00
Michael Aaron Murphy
1733cc98d4
chore: upgrade dependencies 2025-02-19 18:14:31 +01:00
Michael Aaron Murphy
64c591ed19
chore: update libcosmic with mmap threshold fix 2025-02-12 19:19:19 +01:00
Jeremy Soller
ceab7835ad
Clean up mime app handling and make it possible to set default application, part of #325 2025-01-24 11:55:56 -07:00
Jeremy Soller
b9f43cb53e
Handle org.freedesktop.FileManager1 in cosmic-files-applet 2025-01-23 14:01:59 -07:00
Jeremy Soller
199632580c
Update dependencies 2025-01-14 08:54:43 -07:00
Michael Aaron Murphy
87fa4ac478
perf: optimized cosmic-freedesktop-icons 2025-01-14 09:28:29 +01:00
Jeremy Soller
e69e84567b
Update dependencies 2025-01-13 09:03:23 -07:00
Jeremy Soller
fce981ee8f Update dependencies 2025-01-10 09:55:04 -07:00
Ashley Wulber
42c0d58c6c feat: avoid overlap with panel 2024-12-03 12:43:15 -05:00
Vukašin Vojinović
c6f6edbd5a update libcosmic 2024-12-02 18:06:42 +01:00