Commit graph

47 commits

Author SHA1 Message Date
Leyoda
f1b1f8d799 yoda: cosmic-files customizations (squashed 21 commits)
This commit squashes the 21 local commits that customize cosmic-files for
the yoda stack, to allow a clean rebase on upstream/master.

Original commits (chronological):

- 9bcfe7a Cargo.toml: patch libcosmic via local path for dev builds
- 04abd13 yoda: depend on libcosmic-yoda (path) instead of upstream libcosmic
- 02adcc3 lockfile: libcosmic-yoda 0.1.0-yoda -> 0.1.0-yoda.2
- a025fd6 yoda: prefer cosmic-yoterm over upstream cosmic-term in terminal fallback
- e8d62ae yoda: add "Always use this app" toggle to OpenWith dialog
- 8fb2b15 yoda wayland-v5: redirect window_clipboard + cosmic-text to local forks
- 0595296 yoda: Dolphin-style quick actions toolbar under the headerbar
- 4b6d345 yoda: fix missing rename icon in toolbar
- 8b51af1 yoda: use pencil-symbolic for the Rename toolbar button
- 33a5c8f yoda: phase 2 - customizable toolbar (settings toggles per button)
- 1cf17dc yoda: phase 3 - drag-drop toolbar editor in Settings
- 11d4357 yoda: add up/down buttons next to drag handle in toolbar editor
- af843d2 yoda: direct drag-drop reorder on the toolbar itself
- 94c3e6c yoda: toolbar as segmented_button for working drag reorder
- f053819 yoda: toolbar icon-only + clean visual (Control style, 32px squares)
- 338354c Improve initial directory listing latency
- d080bc8 Resolve cosmic-files warnings without masking
- 69c35ab yoda: switch window_clipboard patch to public Forgejo fork
- 35e115f yoda: switch cosmic-text patch to public Forgejo fork
- 6f3adcd chore: clean feature-gated warnings
- 57ab1ec fix: clean files warnings for terminal build

Original tip preserved as tag backup/pre-rebase-upstream-20260524.
2026-05-24 21:27:30 +02:00
Vukašin Vojinović
d5dbcc7677 chore: add rustfmt config
Also adds a Zed editor config for automatic formatting with nightly.
2026-04-29 00:53:57 +02:00
Michael Aaron Murphy
e35d5123f0
perf: avoid holding async mutex guards across await points
tokio recommends using a sync mutex with a notifier instead of the
async mutex where possible. Rust forbids holding a sync mutex guard
across await points so we can prevent a potential deadlock this way.

This adds a custom channel based on the tokio mpmc example for
handling gvfs events from callbacks to avoid the async mutex
requirement. Messages are held in a `VecDeque` behind a sync mutex
and the receiver will get notified via the notifier when a message
is added to the queue.

Weak references used in gio callbacks in case the sender is dropped
by the application.
2026-04-14 17:04:48 +02:00
Michael Aaron Murphy
93dd775f3c
perf: get image dimensions from background thread
This caused the tab subscription to block the tokio executor.
Instead store the image dimensions in the `Item`, which is
created on a background thread.
2026-04-14 16:51:51 +02:00
Ashley Wulber
360973175c
feat: rebase libcosmic onto iced 0.14 2026-03-13 21:04:17 +01:00
Vukašin Vojinović
1e25e7dd69 chore: clippy 2026-01-30 21:05:46 +01:00
Jeremy Soller
c680492a9a
Hide shadowed mounts, may fix #1245 2025-12-29 17:12:23 -07:00
Cheong Lau
7c7dbe7178 fix: update network path when entering uri
closes: #1406
2025-12-08 17:12:23 -07:00
Cheong Lau
66733b7fda feat(tab): allow entering of network uri as path 2025-11-26 16:11:10 -07:00
Jeremy Soller
29a1f7f518
Merge pull request #1379 from FreddyFunk/bugfix/external-drives-metadata
Show metadata, thumbnails and gallery view on mounted drives
2025-11-18 16:52:35 -07:00
Frederic Laing
c8f25472a7
extend remote location filesystem detection filter 2025-11-17 09:27:26 +01:00
Frederic Laing
0fc6596681
directly navigate to the mounted drive after mounting them with a click on the sidebar 2025-11-17 09:06:02 +01:00
Frederic Laing
26e223c4f0
fix metadata, thumbnails and gallery view for locally mounted drives 2025-11-17 08:58:28 +01:00
Frederic Laing
e2f70a1215 fix for hidden files being visible on external drives 2025-11-13 16:22:09 -05:00
Cheong Lau
bd1fa1f0a9 perf: general minor performance optimisations
Notably there is some code cleanup with the zooming functionality, I've
created a new module to reduce code duplication.
2025-10-29 08:16:50 +10:00
Cheong Lau
5f729829d7 chore: more pedantic clippy suggestions 2025-10-29 08:10:19 +10:00
Vukašin Vojinović
909577b364 chore: clippy 2025-10-03 14:36:00 -04:00
Vukašin Vojinović
3ee1a07f09 chore: update dependencies
Updates all dependencies other than ICU.
Enables the `dbus-config` libcosmic feature to fix theming responsiveness.
Also prevents the trash and network drive layer container from touching the edge of the window.
2025-09-11 08:15:26 -06:00
Vukašin Vojinović
f95869a631 chore: migrate to Rust 2024 edition 2025-09-11 08:15:26 -06:00
Ashley Wulber
03ed0857d2 fix: fallback to 0 if no path can be found for network directory 2025-07-17 10:15:42 -06:00
Ashley Wulber
a37b27e7e4 fix: network page entries 2025-07-16 09:37:58 -06:00
Ashley Wulber
a7a519b14c cleanup 2025-07-15 13:15:45 -06:00
Ashley Wulber
08367c9ea6 feat: handle opening network location in new window 2025-07-15 13:15:45 -06:00
Ashley Wulber
c7e9828d7b feat: retry opening network locations after mounting 2025-07-15 13:15:45 -06:00
Ashley Wulber
6a2bd1faf1 fix: add eject button for context menus on mount point 2025-07-01 00:25:58 +00:00
Jeremy Soller
2c8060f93b
Remove debug prints from gvfs mounter 2025-05-15 11:49:49 -06:00
Daniel
569247acfb
visualise cut items (#954) 2025-04-28 07:35:27 -06:00
Jeremy Soller
7598130650
Fall back to unmount if eject is not supported, fixes #941 2025-04-21 13:21:02 -06: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
Josh Megnauth
8ff54d1522 chore(clippy): mime_app, operation, mounter
Fixes Clippy lints for:
* src/mounter/
* src/operation/
* src/mime_app.rs
* src/mouse_area.rs (I missed two of them last time)
2025-01-22 08:10:05 -07:00
Josh Megnauth
6a6a494012 chore(clippy): mouse_area, controller & more
Fixes lints for:
* src/operation/controller.rs
* src/mouse_area.rs
* src/mounter/mod.rs
2025-01-19 10:55:56 -07:00
Jeremy Soller
2f08c05afe
Refactor directory size to allow for cancellation 2024-11-15 17:30:25 -07:00
francesco-gaglione
5f944a3059
Directories sizes in details view (#656)
* translations

* folder size in details view

* dir size subscription

* waldir instead of recursion

* opitonal size with calculating label waiting for subscription

* removed not necessary code

* Bug fixes

---------

Co-authored-by: Jeremy Soller <jackpot51@gmail.com>
2024-11-15 15:24:52 -07:00
Daniel Yoon
99306cbf1b initial commit 2024-10-23 11:21:48 +11:00
Jeremy Soller
390673c70f
Update libcosmic/iced 2024-10-21 13:51:10 -06:00
Jeremy Soller
583d3dfa0d
Support mounting encrypted drive, fixes #144 2024-10-11 16:43:16 -06:00
Jeremy Soller
e25cd37f2d
Search redesign, fixes #550, fixes #287, fixes part of #224 2024-10-09 15:41:10 -06:00
Jeremy Soller
218630b7e0
Eject instead of unmount, fixes #479 2024-10-04 19:07:26 -06:00
Jeremy Soller
c511242dd4
Implement desktop view toggles, part of #547 2024-10-04 16:28:30 -06:00
Jeremy Soller
8ace8d025a Mount network path as needed 2024-09-16 09:18:35 -06:00
Jeremy Soller
c3d6498042 WIP: support for network browsing 2024-09-16 09:18:35 -06:00
Jeremy Soller
0d8fd00dd3
Implement network drive connection, part of #202 2024-09-12 15:54:54 -06:00
Jeremy Soller
e6f8fdd1e6
Go back to home if location is unmounted, fixes #148 2024-05-31 10:39:27 -06:00
Jeremy Soller
37a6f37f7f
Implement unmount button 2024-04-24 13:59:55 -06:00
Jeremy Soller
d80c358ca5
Fix compilation without gvfs feature 2024-04-22 15:32:19 -06:00
Jeremy Soller
2b1abc7c23
Refresh gvfs volumes as needed 2024-04-22 13:14:25 -06:00
Jeremy Soller
02b6cda872
Add mounter abstraction, enable minimal GVfs support 2024-04-22 09:54:00 -06:00