Commit graph

160 commits

Author SHA1 Message Date
Jeremy Soller
f51e4f5016
Make notify support optional, update libcosmic 2024-08-26 13:31:01 -06:00
Jeremy Soller
80783f6cd1
Sort dependencies alphabetically 2024-08-26 13:24:13 -06:00
Austin Riba
4ba816b151 Display file ownership and permissions.
This subsumes #414. Took feedback into account to display more
human-readble permissions. Also, display the owner and group ownership
inline with the permissions themselves.
2024-08-21 13:52:52 -07:00
Francesco Pio Gaglione
bb2833e65e removed examples from cargo.toml 2024-08-20 21:11:49 +02:00
Francesco Pio Gaglione
0c299950c9 recents in dialog mode 2024-08-20 09:43:25 +02:00
Francesco Pio Gaglione
1ffb3b9870 fix merge conflicts 2024-08-20 08:30:41 +02:00
Nathan Rowe
ef23ff77e1 Enable extracting zip files to current folder 2024-08-19 12:12:08 -04:00
Francesco Pio Gaglione
056724268e recent section 2024-08-16 14:42:09 +02:00
Jeremy Soller
da329004aa
Continue operations in the background if the window is closed 2024-08-09 09:59:25 -06:00
Josh Megnauth
748d53fdbe
Localized date strings
Fixes some of #256

This patch also cleans up the `icu` dependencies from my last PR. I
added all of `icu` as a dependency last time because I assumed it would
be needed for this fix. However, `chrono` supports localization and
`icu` seemed harder to use anyway.
2024-07-12 02:20:41 -04:00
Jeremy Soller
eba72e131a
Get TrashItems when deleting 2024-07-11 16:20:59 -06:00
Jeremy Soller
a3ea6d5197
Update cosmic-text to fix clipping, part of #255 2024-07-09 11:23:01 -06:00
Jeremy Soller
d31e103f65
Ellipsize breadcrumbs that do not fit, fixes #189 2024-07-09 11:16:14 -06:00
Jeremy Soller
107422ec6c
Do not wrap breadcrumbs 2024-07-08 20:52:00 -06:00
Jeremy Soller
97444c3572
Use replace dialog in all required places, part of #180 2024-07-08 13:43:11 -06:00
Jeremy Soller
35fcb011c5
Add dialog for move conflict, part of #180 2024-07-08 11:51:07 -06:00
Josh Megnauth
783256fe8b
fix: Panic on long numerical file names
Closes: #258

[lexical_sort](https://github.com/Aloso/lexical-sort) is currently
unmaintained. The author recommends switching to the `icu` crate which
is maintained by the Unicode Consortium.
2024-07-08 02:00:52 -04:00
Jeremy Soller
6133274837
Support dialog filters 2024-07-03 12:27:43 -06:00
Jeremy Soller
cce891827e
Support building with wayland backend 2024-07-03 12:27:01 -06:00
Jeremy Soller
3fef386fd3
Enable a11y feature and update depends 2024-06-20 09:15:45 -06:00
Josh Megnauth
cd135fc248 Bump trash-rs to fix panic for non-Unicode paths
See: https://github.com/Byron/trash-rs/issues/105

Some operating systems or file systems support non-Unicode paths (e.g.
Linux and the BSDs). `trash-rs` panicked when trashing or listing the
trash with non-UTF8 names.

For COSMIC Files specifically, the program panics on start if the trash
contains files with invalid Unicode names. It also panics when
attempting to trash files with said names.

To replicate:
```sh
touch ''$'\250'
gio trash ''$'\250'

cosmic-files
```
2024-06-19 08:28:13 -06:00
Jeremy Soller
c5bff149c0 Implement search backend 2024-05-31 15:20:06 -06:00
Jeremy Soller
059d70f21a
Update dependencies 2024-05-17 08:56:19 -06:00
Josh Megnauth
ef32539aae Unit tests and clean up for dupe file feature 2024-05-14 10:54:52 -06:00
Jeremy Soller
a1d11edfa5 Downgrade serde for better rust compatibility 2024-04-27 08:25:02 -06:00
Jeremy Soller
cacbda0afe
Update libcosmic 2024-04-25 20:19:36 -06:00
Jeremy Soller
37a6f37f7f
Implement unmount button 2024-04-24 13:59:55 -06:00
Michael Aaron Murphy
8c3af501ca feat: add context menus to nav bar 2024-04-23 11:49:14 -06:00
Jeremy Soller
02b6cda872
Add mounter abstraction, enable minimal GVfs support 2024-04-22 09:54:00 -06:00
Ashley Wulber
926a16ce2e
Dnd (#103)
* wip: drag offers

* wip: dnd

* wip: dnd

* feat: hover indicators

* feat: change directory on hover

* fix: dnd drop filtering and drop kind

* fix: mouse area selection rectangle

* fix: better drag rectangle and dnd drag interaction

* feat: nav and tab dnd

* cleanup: remove extra patch

* cleanup: delete leftover dnd widgets

* chore: update libcosmic

* fix: list view spacer height overflow
2024-04-10 09:41:25 -06:00
Josh Megnauth
503bce2c37
Bump trash: 3.3.1 to 4.1.0
The latest version of `trash` supports a feature needed to monitor the
trash.
2024-03-20 20:52:35 -04:00
Jeremy Soller
244291be79
Partially implement copy and move, debounce events 2024-03-20 11:54:37 -06:00
Jeremy Soller
dca3f4c08d
Allow copy to clipboard 2024-03-20 08:42:28 -06:00
Jeremy Soller
672821a5fc
Use shared-mime-info for mime detection 2024-03-04 11:16:25 -07:00
Jeremy Soller
ef040c4277
Implement open in terminal 2024-03-04 10:28:16 -07:00
Jeremy Soller
26173d6529
Partial open with implementation, parse mimeapps.list files 2024-03-01 16:10:30 -07:00
Jeremy Soller
18e847abb8
Calculate open with apps, when xdg feature is enabled 2024-03-01 13:20:47 -07:00
Jeremy Soller
88eb934564
Fixup for last commit 2024-03-01 09:22:38 -07:00
Jeremy Soller
0b8ca753b8
Update libcosmic and adjust dialog size 2024-03-01 09:18:57 -07:00
Jeremy Soller
b39c845456
Add about page, add icons, use open crate 2024-02-28 09:29:17 -07:00
Jeremy Soller
5778d64e8c Implement dialog for replacing files 2024-02-26 15:16:29 -07:00
Jeremy Soller
9905af8f6f
Add thumbnailing 2024-02-22 16:17:39 -07:00
Jeremy Soller
f38ce15bf9
Calculate mime and fix time formats 2024-02-22 15:04:37 -07:00
Jeremy Soller
cb4bd84ea5 Rebase on new libcosmic and iced 2024-02-09 07:09:51 -07:00
Jeremy Soller
0bb7494269 Patch wgpu 2024-02-03 12:14:35 -07:00
Jeremy Soller
588211adb0 Enable multi-window feature of libcosmic 2024-02-01 19:40:37 -07:00
Joshua Megnauth
d6c58991c0
Test helpers and unit tests (#26)
* Implement a few utility functions for tests

Most tests would require a test file hierarchy instead of operating on a
live system.

* Add unit tests for `tab::scan_path`

Tests:
* Works on a valid path
* Returns an empty Vec on an invalid directory
* Returns an empty Vec for an empty directory

I also implemented a few test helpers that may be useful for other
unit tests.

* Less spammy test logs and placate Clippy.
2024-02-01 09:29:10 -07:00
Jeremy Soller
12d087abd9
Watch folders for changes 2024-01-30 11:26:23 -07:00
Jeremy Soller
583ba6c22d
Set MSRV to 1.71 2024-01-29 09:47:17 -07:00
Wyatt Herkamp
44960f5d08 Fix Windows Bug 2024-01-28 17:54:13 -07:00