Commit graph

384 commits

Author SHA1 Message Date
Jeremy Soller
bdbc21b2f1
Merge pull request #272 from joshuamegnauth54/replace-lexical-sort-with-icu-collator
fix: Panic on long numerical file names (replace lexical_sort)
2024-07-08 08:31:11 -06:00
Josh Megnauth
d7114aaeb9
Handle language sorter errors 2024-07-08 02:28:35 -04: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
5ec14f86b3
Merge pull request #270 from jasonrhansen/selection-fix
Fix drag select for grid view
2024-07-04 06:33:31 -06:00
Jason Rodney Hansen
2378aa049d Fix drag select for grid view
When there was a single row of files and there weren't enough files to
fill the row, you couldn't initiate a drag select from the right side of
these files.
2024-07-03 16:31:30 -06:00
Jeremy Soller
66cef478ba
Changes to better match design 2024-07-03 14:24:11 -06:00
Jeremy Soller
9628642409
Add support for getting window id from dialog 2024-07-03 13:14:25 -06:00
Jeremy Soller
1b0dd43d3b
Merge pull request #269 from pop-os/file-chooser
Improvements for file chooser
2024-07-03 12:28:30 -06:00
Jeremy Soller
6133274837
Support dialog filters 2024-07-03 12:27:43 -06:00
Jeremy Soller
1b2ab2c93c
Allow override of title and button label, implement choices 2024-07-03 12:27:07 -06:00
Jeremy Soller
cce891827e
Support building with wayland backend 2024-07-03 12:27:01 -06:00
Jeremy Soller
e81f9701f6
Merge pull request #247 from pknepps/empty-trash-feat
Small fixes from previous PR
2024-07-02 08:15:45 -06:00
Jason Rodney Hansen
e9031f299d Add middle-click to open in new tab from nav bar 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
42db606097 Update libcosmic to get fix for middle-click on tab 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
35dedcb9ea Fix position of bread crumb context menu 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
03ac8e31bc Improve right-click and middle-click handling 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
419a4dcdc7 Add properties to bread crumbs context menu 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
26423beaac Add middle-click in breadcrumbs to open in new tab 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
808de5b355 Add key binds for open in new tab/window 2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
7d3ae07067 Add context menu for breadcrumbs
* Open in new tab
* Open in new window
2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
0971f6f20f Open files with middle click
* Directories open in new tab
* All others open the file
2024-07-02 08:14:51 -06:00
Jason Rodney Hansen
36bcf81bc6 Add ability to open folders in new tab/window 2024-07-02 08:14:51 -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
Bjorn Ove Hay Andersen
553c11deb3 Disable code using trash::os_limited as it isn't available on macos 2024-06-14 06:59:55 -06:00
pknepps
5b1d549dca removed unneccessary code from previous commit 2024-06-14 00:57:50 -04:00
Matthew Fallah (マシュー・ファラー)
428279540d Update French translation, fix word order mistake in Japanese 2024-06-13 06:17:42 -06:00
Matthew Fallah (マシュー・ファラー)
9dc743fcee Update Japanese translation 2024-06-13 06:17:42 -06:00
Matthew Fallah (マシュー・ファラー)
0e79f94d90 Update Spanish translation, fix tuteo 2024-06-13 06:17:42 -06:00
Ashley Wulber
334faa6de0 update libcosmic
fixes navbard dnd
2024-06-12 13:40:39 -06:00
Jeremy Soller
c270109d30
Fix mime icon fallback 2024-06-12 10:51:28 -06:00
Jeremy Soller
6572faec5c
Update dependencies 2024-06-12 09:19:19 -06:00
Jeremy Soller
ddd99525c5
Update dependencies 2024-06-12 08:13:20 -06:00
Gustavo Santana de Aquino
7983b90a34 i18n(pt-BR) - Updating translation 2024-06-12 08:12:00 -06:00
Jeremy Soller
43af5ac63e
Add some samples of non-english text 2024-06-12 08:11:44 -06:00
Jeremy Soller
0ec5f72169
Search in current tab 2024-06-10 13:02:06 -06:00
pknepps
a193b186fb Added the "Empty Trash" button on the Trashes nav-menu. 2024-06-10 08:51:05 -06:00
Jeremy Soller
0562b443a3
Update dependencies 2024-06-10 08:25:53 -06:00
Jakub Jíra
febac9d831 i18n(cs): Translation update
Signed-off-by: Jakub Jíra <jakub.jira@protonmail.com>
2024-06-06 08:25:06 -06:00
pknepps
cc3c0737e4 Added the "Empty Trash" button on the Trashes nav-menu. 2024-06-05 18:48:51 -04:00
Jeremy Soller
c639d6d1e6
Update dependencies 2024-06-05 07:15:56 -06:00
Jason Rodney Hansen
9af2919b1a Fix spacer height
This fixes the scrollbar showing up when there's space below the files.
2024-06-03 14:01:50 -06:00
Jason Rodney Hansen
077c30b7e4 Fix drag selecting from empty area in grid view
This seems to have been broken by the latest libcosmic update.
2024-06-03 08:06:38 -06:00
FAlexei
53b9336b2d i18n(ru): Translation update 2024-06-03 08:06:07 -06:00
Michael Aaron Murphy
5aaff9ea3b fix: activate nav bar item with matching location 2024-06-02 07:19:54 -06:00
Ashley Wulber
4a7c59b987 fix: DnD fixes 2024-05-31 18:07:12 -06:00
Jeremy Soller
6d8dbb398e Show search results in tab 2024-05-31 15:20:06 -06:00
Jeremy Soller
c5bff149c0 Implement search backend 2024-05-31 15:20:06 -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
aab8d310df
Use widget::responsive for tab responsiveness, fixes #204 2024-05-31 09:51:34 -06:00