Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix OpenBSD build | Přemysl Eric Janouch | 40 hours | 1 | -5/+5 |
| | |||||
* | Add support for BSD derivatives, fix macOS | Přemysl Eric Janouch | 40 hours | 1 | -21/+72 |
| | |||||
* | Improve filename passing | Přemysl Eric Janouch | 2024-04-17 | 1 | -5/+7 |
| | | | | | | | c9662f1 forgot about internal helpers. Moreover, it is annoying to see the -- in shell history for every single external helper call. | ||||
* | Use more precise filesizes | Přemysl Eric Janouch | 2024-04-07 | 1 | -5/+25 |
| | | | | | | The behaviour differs from GNU `ls -lh` in that we use binary units, meaning we get 1023 before 1.0K rather than 999 before 1.0K, which is nonetheless still four characters wide. | ||||
* | Fix passing filenames starting with - | Přemysl Eric Janouch | 2024-01-20 | 1 | -2/+2 |
| | | | | We don't want to pass them as program options. | ||||
* | Fix code formatting, bump copyright years | Přemysl Eric Janouch | 2023-06-12 | 1 | -4/+4 |
| | |||||
* | Do not beep on window resizes | Přemysl Eric Janouch | 2023-06-11 | 1 | -1/+2 |
| | |||||
* | Implement ^W in the editor | Přemysl Eric Janouch | 2023-06-11 | 1 | -2/+15 |
| | |||||
* | Support wildcards in interactive search | Přemysl Eric Janouch | 2022-09-03 | 1 | -15/+30 |
| | | | | | | | The previous search for the longest match is functionally duplicated by typing individual characters on the input line, and wildcards can be escaped, so there shouldn't be regressions in terms of capability. | ||||
* | Add a missing case break | Přemysl Eric Janouch | 2022-01-08 | 1 | -0/+1 |
| | |||||
* | Add and bind an action to center the cursor | Přemysl Eric Janouch | 2022-01-08 | 1 | -1/+4 |
| | | | | "z" stands for VIM's "zz". | ||||
* | Do not crash on opendir() failures | Přemysl Eric Janouch | 2021-11-09 | 1 | -5/+16 |
| | | | | Show an error message, and a way out. | ||||
* | Fix build with recent ncurses | Přemysl Eric Janouch | 2021-11-09 | 1 | -0/+3 |
| | | | | Easily gained, easily lost. No more ^S binding. | ||||
* | Add clang-format configuration, clean up | Přemysl Eric Janouch | 2021-11-05 | 1 | -40/+40 |
| | |||||
* | Move the cursor to just created directories | Přemysl Eric Janouch | 2021-10-30 | 1 | -3/+9 |
| | |||||
* | Clean up | Přemysl Eric Janouch | 2021-10-30 | 1 | -11/+9 |
| | |||||
* | Bind ^S to search, as in Emacs, with a trick | Přemysl Eric Janouch | 2021-10-18 | 1 | -1/+10 |
| | | | | We heavily depend on ncurses anyway, so no worries about portability. | ||||
* | Slightly optimize very large directories | Přemysl Eric Janouch | 2021-10-05 | 1 | -16/+17 |
| | | | | | | | | Cumulatively 10% of user time, give or take. These are mainly pointless multibyte to wide string conversions. The hit to source code readibility is minimal. | ||||
* | Measured stat performance, io_uring not worth it | Přemysl Eric Janouch | 2021-10-05 | 1 | -3/+2 |
| | | | | Large directories are slow for different reasons. | ||||
* | Don't reload on sort changes | Přemysl Eric Janouch | 2021-09-26 | 1 | -10/+15 |
| | | | | It is unexpected behaviour, and likes to take too long. | ||||
* | Add a comment about libacl | Přemysl Eric Janouch | 2021-09-26 | 1 | -1/+3 |
| | | | | So that I don't repeat my actions in the future. | ||||
* | Ignore empty XDG_CONFIG_DIRS | Přemysl Eric Janouch | 2021-09-26 | 1 | -1/+1 |
| | | | | | | | | As the specification says we should. GLib does this as well. It is still possible to achieve an empty set by using ":", which are two non-absolute paths that should be ignored. GLib doesn't implement this. Thus, we're now better than GLib. | ||||
* | Fix a signedness compiler warning | Přemysl Eric Janouch | 2021-07-19 | 1 | -5/+5 |
| | |||||
* | Bind F6 to a rename prompt | Přemysl Eric Janouch | 2021-07-17 | 1 | -1/+1 |
| | | | | | | Mostly just so that the F7 binding isn't completely alone. Since Shift-F6 isn't something we can just bind to, use a prefill. | ||||
* | Bind F7 to an mkdir prompt | Přemysl Eric Janouch | 2021-07-17 | 1 | -2/+12 |
| | | | | This might have needed more thought, but we'll see. | ||||
* | Implement search iteration | Přemysl Eric Janouch | 2021-07-17 | 1 | -17/+37 |
| | | | | | | The interactive search now has its own keymap, overriding "input". Closes #5 | ||||
* | Add a right-side prompt to the search | Přemysl Eric Janouch | 2021-07-17 | 1 | -7/+24 |
| | |||||
* | Enable pushing the search in a certain direction | Přemysl Eric Janouch | 2021-07-17 | 1 | -6/+7 |
| | | | | We want to make it possible to iterate all current matches. | ||||
* | Make search() return the number of matches | Přemysl Eric Janouch | 2021-07-17 | 1 | -2/+4 |
| | |||||
* | Make removing characters invoke g.editor_on_change | Přemysl Eric Janouch | 2021-07-17 | 1 | -3/+4 |
| | |||||
* | Improve C-char parsing | Přemysl Eric Janouch | 2021-07-09 | 1 | -4/+4 |
| | | | | | | | | | I was hoping that a superoptimiser would help me find a miraculous branchless equation to cover it, but in the end the branching doesn't hurt at all in our case. It's more readable than `(((char >> 2) - 0x38) & 0x60) ^ char` or `(char ^ 0x40) & (((char >> 1) ^ 0x20) | 0x5f)`. | ||||
* | Allow binding to custom key sequences | Přemysl Eric Janouch | 2021-07-07 | 1 | -6/+18 |
| | | | | And document this feature in the manual page. | ||||
* | Include a header required for kill() | Přemysl Eric Janouch | 2020-10-29 | 1 | -0/+1 |
| | | | | Yet, this program remains fairly unportable. | ||||
* | Implement the --version option | Přemysl Eric Janouch | 2020-10-26 | 1 | -0/+5 |
| | | | | Since we have a version number at all, even if it's meaningless. | ||||
* | Bind F1 to show the help | Přemysl Eric Janouch | 2020-10-25 | 1 | -1/+2 |
| | |||||
* | Mark a minor issue for later resolution | Přemysl Eric Janouch | 2020-10-24 | 1 | -0/+1 |
| | |||||
* | Cleanup | Přemysl Eric Janouch | 2020-10-23 | 1 | -7/+0 |
| | | | | | | The wchar_t variant of compute_width() is no longer needed. So all in all the better help has saved code. | ||||
* | Group help message by action | Přemysl Eric Janouch | 2020-10-23 | 1 | -5/+7 |
| | | | | Considerably more useful and concise. | ||||
* | Bind M-Up to the "parent" action | Přemysl Eric Janouch | 2020-10-23 | 1 | -1/+2 |
| | | | | | | Taken from Windows Explorer, which previously used Backspace. We might want to use h/l for parent/choose by default. | ||||
* | Bind C-d in the editor | Přemysl Eric Janouch | 2020-10-23 | 1 | -1/+1 |
| | | | | | | We do get these as a key, after all. Closes #4 | ||||
* | Implement C-v in the editor | Přemysl Eric Janouch | 2020-10-23 | 1 | -2/+14 |
| | | | | | | Not completely happy with the explicit `halfdelay (1)`. Updates #4 | ||||
* | Implement C-u C-k in the editor | Přemysl Eric Janouch | 2020-10-23 | 1 | -0/+10 |
| | | | | Updates #4 | ||||
* | Cleanup | Přemysl Eric Janouch | 2020-10-22 | 1 | -16/+17 |
| | |||||
* | Implement Delete in the editor | Přemysl Eric Janouch | 2020-10-22 | 1 | -2/+11 |
| | | | | | | | Not caring about C-d right now, we might have to convince the tty to send it to us--I'm not sure if it does, or returns EOF. Updates #4 | ||||
* | Implement C-a C-e C-b C-f in the editor | Přemysl Eric Janouch | 2020-10-21 | 1 | -1/+26 |
| | | | | Updates #4 | ||||
* | Make backspace erase combining characters | Přemysl Eric Janouch | 2020-10-21 | 1 | -2/+7 |
| | | | | | | They might not be even printed correctly, though. Updates #4 | ||||
* | Track cursor position in the editor | Přemysl Eric Janouch | 2020-10-21 | 1 | -6/+13 |
| | | | | Updates #4 | ||||
* | Add an installation script | Přemysl Eric Janouch | 2020-10-21 | 1 | -0/+1 |
| | | | | | | | | Copying snippets from the README was uncomfortable and laborious, and wasted a lot of space in the document, especially after the recent additions. Closes #3 | ||||
* | Let the caller decide how to launch helpers | Přemysl Eric Janouch | 2020-10-08 | 1 | -2/+1 |
| | | | | | In the end, we don't need to impose any policy on it, and it removes a level of quoting, as well as an `eval`. | ||||
* | When resuming a child, resume the whole group | Přemysl Eric Janouch | 2020-10-08 | 1 | -1/+1 |
| | | | | | | | | | | | | SIGTSTP is sent to the entire foreground process group, so do the some with our SIGCONT. Debian's default sh (dash) doesn't replace itself with the command, even if it's the last one in the -c option. Of course, we do not need to use /bin/sh for the helpers at all, though it doesn't cost us much. We could also issue an explicit `exec`. |