Commit graph

131 commits

Author SHA1 Message Date
1488e2b01b Merge remote-tracking branch 'upstream/master' into local/libcosmic-path-patch
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/app.rs
#	src/dialog.rs
#	src/menu.rs
#	src/tab.rs
2026-08-19 22:02:40 +02:00
d78a22d87c feat: add "edit desktop entry" to the desktop file context menu
Opening a .desktop file launches the application it describes, so the
file manager offered no way to look at or change the file itself: the
only way out was a terminal. Reported upstream on 2025-05-11 and still
open.

Add an "Edit desktop entry" action to the context menu, next to the
entry own desktop actions. It opens the file with the default
text/plain handler instead of its application/x-desktop one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 20:42:34 +02:00
9e0c2726ef feat: add empty-trash action to trash view context menu
Right-clicking inside the trash view now shows 'Empty trash' when
the trash is not empty, in addition to the existing per-item
restore/delete actions and sort options.
2026-07-25 22:54:15 +02:00
fd4a2ba610 fix: absorb libcosmic theme-v2 API (nav_context_menu, app_popup LiveSettings)
Leyoda 2026 – GPLv3
2026-07-03 15:26:15 +02:00
Leyoda
17fc1cabbb 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-07-03 15:21:21 +02:00
Ashley Wulber
8fc5182486 fix: popup corner improvements 2026-07-01 15:18:11 -04:00
Ashley Wulber
0e761ba811 fix: no blur for desktop mode
fix: desktop blur

chore: update libcosmic

chore: update libcosmic

chore: update libcosmic
2026-07-01 15:18:11 -04:00
Ashley Wulber
6fe510a67a chore: update libcosmic 2026-07-01 15:18:09 -04:00
ZlordHUN
49107187a4
feat: view folder's content in trash
- [x] I have disclosed use of any AI generated code in my commit
messages.
- If you are using an LLM, and do not fully understand the changes it is
making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex
code that lacks enough context for a proper fix or feature inclusion.
This results in considerably longer code reviews. Due to this, AI
authored or partially authored PRs may be closed without comment.
- [x] I understand these changes in full and will be able to respond to
review comments.
- [x] My change is accurately described in the commit message.
- [x] My contribution is tested and working as described.
- [x] I have read the [Developer Certificate of
Origin](https://developercertificate.org/) and certify my contribution
under its conditions.
2026-06-29 18:39:12 +02:00
Hojjat
af65a6b1c0 improv: use sort-icons instead of unicode arrow glyphs 2026-06-09 14:36:14 -06:00
Hojjat
355423a027 chore: fixes after libcosmic update 2026-05-26 14:14:02 -04: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
Vukašin Vojinović
e91a984da9 chore: clippy 2026-04-29 00:53:57 +02:00
Vukašin Vojinović
93e31d433a chore: update dependencies 2026-04-29 00:53:57 +02:00
Jeremy Soller
9c0eb63b82 Refactor trash handling to improve portability 2026-04-17 12:54:33 -06:00
darkfated
39281a6336 Add user-defined context actions 2026-04-06 06:16:27 +03:00
Jason Rodney Hansen
b041feec48 feat: add 'Open item location' to search 2026-03-20 08:41:19 -06:00
Ashley Wulber
360973175c
feat: rebase libcosmic onto iced 0.14 2026-03-13 21:04:17 +01:00
Jason Rodney Hansen
bba95c3fc0 feat: search in Recents and Trash 2026-02-27 18:34:58 -07:00
Frederic Laing
591ba0f9b9 feat: gray out paste menu when clipboard is empty or location unsupported 2026-02-19 14:19:26 -07:00
Frederic Laing
4e77e398f2
add option to copy path when pressing down shift 2026-02-18 22:42:14 +01:00
Ada Alakbarova
395b4922e4 fix: Remove inappropriate context menu options while in Recents
It's not a regular folder, which means:
- It can't be modified, so the following options are removed:
  - New file
  - New folder
  - Paste
- It can't be opened as a folder, so the following options are removed:
  - Open in terminal
2026-02-18 12:14:22 -07:00
Jason Rodney Hansen
d701e32716 feat: add 'Move to' and 'Copy to' to Edit menu 2026-02-15 13:59:16 -07:00
Jason Rodney Hansen
7e44a0c3de feat: move to and copy to 2026-02-03 16:45:02 -07: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ć
11b6a0713f chore: link desktop appearance to desktop page 2025-09-13 10:51:14 -06:00
Vukašin Vojinović
f95869a631 chore: migrate to Rust 2024 edition 2025-09-11 08:15:26 -06:00
Jeremy Soller
e3c793a44d
Move archive handling to archive.rs 2025-08-04 15:13:55 -06:00
Josh Megnauth
35a9bd5347 Use trash-rs' is_empty more
Fixes two instances where enumerating trash items isn't needed.
2025-07-24 10:25:16 -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
Jason Rodney Hansen
54b884e5f8 Add ability to remove files from Recents 2025-07-11 09:38:13 -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
e3b7cfc8e6
Adjust shortcut text style 2025-06-27 11:14:09 -06:00
Ashley Wulber
720caa5dba feat: menubar popups 2025-06-18 12:11:15 -04:00
Jeremy Soller
3b34ba8907
Add reload folder key binding, fixes #146 2025-05-15 10:55:11 -06:00
Jeremy Soller
4bf72d9f6a
Handle bz2 mimetypes 2025-05-07 10:10:39 -06:00
Gwen Lg
160ef5f414 feat: include permanent delete in menu_bar 2025-04-29 20:18:30 +02:00
Gwen Lg
95aba7c74e Add context menu management of permanently deleting files and folders
The action replace move-to-trash when shift modifier is active, like on
other desktop environement.
Use modifiers value stored in Tab struct as needed to forward to context_menu
creation.
Started from work of Tim Dengel <tim.dengel.debian@gmail.com>
2025-04-29 20:18:30 +02:00
Jeremy Soller
4f8d22c120
Format 2025-04-21 13:32:29 -06:00
Ashley Wulber
eea916d783
feat: responsive menu bar (#938) 2025-04-15 18:04:07 -06:00
Jeremy Soller
28ec74d440
Use xz2 instead of liblzma, update dependencies 2025-03-31 09:05:32 -06:00
johnoye742
bfcc605799 Added Extract To feature to the context menu. 2025-03-17 13:01:26 +01:00
Jeremy Soller
c8aa80fb2f
Add operation to permanently delete trash items, fixes #841 2025-03-03 13:44:06 -07: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
dddfc8a673 chore(clippy): config, dialog, menu
Fixes Clippy lints for:
* src/config.rs
* src/dialog.rs
* src/menu.rs
2025-01-22 08:10:19 -07:00
Jason Rodney Hansen
38e8aac622 Enable Open item location for Recents 2025-01-04 16:35:05 -07:00
Vukašin Vojinović
c6f6edbd5a update libcosmic 2024-12-02 18:06:42 +01:00