summaryrefslogtreecommitdiffstats
path: root/src/color.c
Commit message (Collapse)AuthorAgeFilesLines
* trie: New trie_clear() functionTavian Barnes2023-08-311-2/+1
|
* color: Only highlight the trailing slash on ENOTDIRTavian Barnes2023-07-131-2/+4
|
* color: Don't break up leading and trailing dirsTavian Barnes2023-07-131-27/+32
|
* color: TTY-escape filenamesTavian Barnes2023-07-131-1/+9
|
* color: Get rid of EXT_MAXTavian Barnes2023-07-131-10/+30
|
* bfstd: Support wordesc() without allocatingTavian Barnes2023-07-131-13/+7
|
* diag: Shell-escape expression argumentsTavian Barnes2023-07-061-3/+3
|
* color: Don't print unnecessary reset sequencesTavian Barnes2023-06-301-24/+43
|
* color: Compare values too when deciding to smart-caseTavian Barnes2023-06-301-16/+65
|
* color: Implement smart casingTavian Barnes2023-06-291-219/+372
| | | | | | | | | Since coreutils 9.2, ls does case-sensitive extension matching if the same extension is capitalized differently in $LS_COLORS. Implement the same logic. Link: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33123 Link: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9086
* alloc: New header for memory allocation utilitiesTavian Barnes2023-06-201-2/+3
|
* color: New %pq formatter for shell-escaped stringsTavian Barnes2023-06-161-0/+18
|
* color: `fi=0` should not fall back to `no`Tavian Barnes2023-06-081-4/+4
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-181-3/+2
|
* Use bfs_bug("...") over assert(!"...")Tavian Barnes2023-05-181-1/+2
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-111-1/+0
| | | | In anticipation of C23, since those headers won't be necessary any more.
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* bfstd: New wrappers for dirname()/basename()Tavian Barnes2023-01-191-1/+1
|
* Add BFS_FORMATTER() to vprintf()-type functions tooTavian Barnes2022-12-081-0/+2
|
* expr: Rename bfs_expr_has_children() to _is_parent()Tavian Barnes2022-12-051-1/+1
|
* expr: Remove the singleton bfs_{true,false} expressionsTavian Barnes2022-11-301-0/+4
|
* bfstd: Rename from util and reorganize itTavian Barnes2022-11-061-1/+1
|
* color: Avoid dynamic allocation in get_ext_color()Tavian Barnes2022-11-011-11/+19
|
* trie: Make leaves into a linked listTavian Barnes2022-10-291-5/+2
|
* color: Add a (void) prototypeTavian Barnes2022-10-171-1/+1
|
* color: Don't colorize capable files by defaultTavian Barnes2022-05-111-1/+1
| | | | | | | GNU ls changed this default in coreutils 9.1, since checking capabilities has a severe performance penalty. Link: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=6b5134770d35b045e5a9219bf4a216324e0113d3
* color: Only check ln=target onceTavian Barnes2022-05-111-7/+7
| | | | Fixes: 7241d6cc35134fcb5ec6dfa81bbd01e430b2415f
* Source / Include Folder (#88)トトも2022-04-161-0/+1125
Moved Source Files Into `src` Folder