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
Wyatt Herkamp
65227fcd76
update depends
2024-01-28 17:54:13 -07:00
Jeremy Soller
6536a66ba2
Add helper for setting config values efficiently
2024-01-14 18:55:15 -07:00
Jeremy Soller
69531644ff
Update to upstream trash-rs
2024-01-10 08:55:47 -07:00
Jeremy Soller
a43de15627
Get is_dir and size for trash items
2024-01-06 12:59:36 -07:00
Jeremy Soller
1ba5be1116
Partial trash implementation
2024-01-05 16:17:23 -07:00
Jeremy Soller
42c4ec9dad
Add simple file properties
2024-01-05 14:44:20 -07:00
Jeremy Soller
2d0a0059d3
Sort naturally
2024-01-05 09:44:47 -07:00
Jeremy Soller
7efe6efa30
Rescan in background and describe empty folders
2024-01-05 08:55:18 -07:00
Jeremy Soller
68be49302b
Bring in mime icon implementation from cosmic-edit
2024-01-03 15:33:28 -07:00
Jeremy Soller
9978f246b9
Basic implementation
2024-01-03 15:27:32 -07:00