Commit Graph

29 Commits

Author SHA1 Message Date
Dave Davenport 4e06bff706 Change modi -> modes
issues: #1599
2022-02-23 22:42:56 +01:00
Dave Davenport e3860c89e8 [FileBrowser] Reduce number of re-allocs. 2021-10-12 10:34:47 +02:00
Dave Davenport e081feec27 [FileBrowser] if text cannot be converted, try to mangle it into something.
Issue: #1471
2021-09-22 19:08:32 +02:00
Dave Davenport e116aa5bc1 [Textbox|FileBrowser] Fix crash on invalid filename
Try to fix some crash on invalid filenames.

Issue: #1471
2021-09-22 15:45:02 +02:00
Dave Davenport 294a22f3dd Fix some memory leaks. 2021-09-06 21:26:04 +02:00
Dave Davenport e60e6bab2a [Doc] Try to fix some of the doxygen coverage warnings. 2021-08-20 11:37:03 +02:00
Dave Davenport 954fc728b2 [Cleanup] Using clang-tidy 2021-08-18 01:16:45 +02:00
a1346054 c62137f8ab
Simple maintenance improvements (#1370)
* rofi moved to libera.chat

* unify some theme headers and whitespace

* consistently use the same hashbang for bash

* improve obsolete way of testing equality

see https://github.com/koalaman/shellcheck/wiki/SC2268 for explanation

* use consistent function definitions in bash scripts

* remove duplicated author and fix whitespace

* quote all variables in scripts

fixes many warnings identified through shellcheck

* fix whitespace in scripts

* fix whitespace in non-source files

* fix spelling in non-source files

* fix whitespace and indentation in source files

* fix spelling in source files
2021-08-14 13:03:16 +02:00
TonCherAmi c1ff6baecd
[FileBrowser] Add option to group directories ahead of files. (#1352) 2021-07-10 23:58:27 +02:00
TonCherAmi 0ff0866be7
[FileBrowser] Add sorting-method. (#1340)
* [FileBrowser] Add sorting-method.

* [FileBrowser] Convert -file-browser-directory to new config format.
2021-06-27 09:28:21 +02:00
Dave Davenport 330402aa13 [FileBrowser] rename file-browser to filebrowser
In preperation to a overhaul of config system.
2021-06-24 19:11:56 +02:00
TonCherAmi c1244b066f
[FileBrowser] Allow setting startup directory (#1325) 2021-06-05 14:22:48 +02:00
Dave Davenport 2eefd9b191 [Run] Allow (Ctrl-L) to complete files using file-browser.
Merge old setup from #1116

issue: #1116  #659
2021-06-01 13:14:45 +02:00
Dave Davenport 3b297ee80d Re-indent the code using indenter. 2021-06-01 10:44:23 +02:00
Dave Davenport 04c006a4a2 [FileBrowser] fix escaping of paths. 2021-05-10 21:34:17 +02:00
Dave Davenport f69f8fcb7b Cleanup code documentation. 2021-05-05 21:53:29 +02:00
Dave Davenport a3f12837cb Partially fix switching between modi, does not work for script mode.
Issue: #1286
2021-04-10 23:04:05 +02:00
Dave Davenport 7061eb21ae Indent round. 2020-11-03 23:57:02 +01:00
Dave Davenport 6e98290335 [RofiIconFetcher] Do image checking in icon fetcher, use nkutils-enum 2020-10-18 22:01:49 +02:00
Dave Davenport 5994df7f04 [IconLoader] add optional gif loader. 2020-10-18 21:37:05 +02:00
Dave Davenport d8a420c952 [FileBrowser] Small restructure. 2020-10-18 20:54:03 +02:00
Dave Davenport 08a40d13ce [Icons] Check both small and big caps for extention. 2020-10-17 22:05:17 +02:00
Dave Davenport e00ef7d993 [FileBrowser] Save last directory. 2020-10-16 21:33:02 +02:00
Dave Davenport 10678e55d8 [FileBrowser] Prepend '@' before filename if link. 2020-10-16 21:10:04 +02:00
Dave Davenport 9a21040d0e [FileBrowser] Add SVG as file type. 2020-10-16 20:22:27 +02:00
Dave Davenport 0d45686914 [FileBrowser] If link, use stat to check out type.
Fixes: #1214
2020-10-15 19:19:51 +02:00
Dave Davenport eea8897501 Fix some of the documentation 2020-10-12 21:39:36 +02:00
Dave Davenport 585538b428 Try fixing build on meson of readdir dirent args. 2020-10-12 20:32:25 +02:00
Dave Davenport 519d4d2818 [FileBrowser] Add file browser modi. 2020-10-12 20:17:21 +02:00