| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-12-29 | Glob matching in linear time | Bert Münnich | |
| As described by Russ Cox: https://research.swtch.com/glob The exponential complexity of the old implementation was not a real problem, though, as no glob triggering excessive backtracking has ever been spotted in the wild. | |||
| 2018-12-29 | Restore tty attributes if interactive child is terminated by signal | Bert Münnich | |
| Some programs like su(1) do not restore tty attributes like ECHO when they are terminated by receiving SIGINT. Other shells (bash, mksh, zsh) save tty attributes before executing an external command and restore them if the child exited due to the receipt of a signal. rc now does the same if it is interactive. | |||
| 2018-12-29 | Set LC_CTYPE after reading ~/.rcrc | Bert Münnich | |
| rc does not handle umlauts correctly, if locale environment variables are first set in ~/.rcrc. It is necessary to update the environment before calling setlocale(3) because it would otherwise not see the variable values assigned in ~/.rcrc. | |||
| 2018-12-29 | Prevent duplicate lines in readline history | Bert Münnich | |
| Before appending a new line to the readline history, remove all prior lines in the history, which are an exact duplicate of it. | |||
| 2018-12-29 | Handwritten Makefile and config.h; no more GNU autohell | Bert Münnich | |
| 2018-12-29 | Remove duplicate line editing unit | Bert Münnich | |
| edit-bsd.c was a copy of edit-edit.c. | |||
| 2018-08-19 | do not permit "if not" after "if ... else" | Toby Goodwin | |
| 2018-08-19 | add failing test for else / if not case | Toby Goodwin | |
| 2018-08-08 | minor tidyups | Toby Goodwin | |
| 2018-08-08 | Cleaner string for test | Drazen Borkovic | |
| 2018-08-08 | Test for if-not issue | Drazen Borkovic | |
| 2018-08-08 | improved implementation of if_state inspired by borkovic | Toby Goodwin | |
| 2018-05-30 | if_state was being clobbered while running body of succeeding if | Toby Goodwin | |
| 2018-05-30 | tweak ChangeLog | Toby Goodwin | |
| 2018-05-30 | Merge branch 'master' of github.com:rakitzis/rc | Toby Goodwin | |
| 2018-05-30 | very minor cleanups | Toby Goodwin | |
| 2018-05-02 | Merge pull request #47 from muennich/ifnot-conflicts | Toby Goodwin | |
| Silence parser conflicts caused by IF NOT | |||
| 2018-05-01 | Silence parser conflicts caused by IF NOT | Bert Münnich | |
| 2018-05-01 | implement quoting for command completion | Toby Goodwin | |
| 2018-05-01 | quoting functions mean filename completion mostly works for names containing "'" | Toby Goodwin | |
| 2018-04-29 | minor cleanups | Toby Goodwin | |
| 2018-04-28 | support completion through subdirs of path | Toby Goodwin | |
| 2018-04-28 | check access of external commands when completing | Toby Goodwin | |
| 2018-04-28 | eliminate goto... clearer? | Toby Goodwin | |
| 2018-04-26 | Always insert single match of explicit complete function | Bert Münnich | |
| If an explicit complete function has only one match but is used directly after the default tab completion, than the single match is shown instead of inserted. The solution is resetting the 'rl_last_func' variable if it is set to 'rl_complete' when using an explicit complete function. | |||
| 2018-04-26 | Custom readline commands for explicit completions | Bert Münnich | |
| New commands: - rc-complete-command, per default bound to "M-!" - rc-complete-filename, "M-/" - rc-complete-variable, "M-$" These commands are useful, if one wants a specific type of completion which is not performed by the context-senstive default one, e.g. filename completion at the beginning of the line or command completion for the second word (after sudo). The readline code now also sets the application name to "rc", making it possible to specify different bindings for these commands in ~/.inputrc: $if rc "\C-x\C-[": rc-complete-command "\C-[\C-x": rc-complete-filename "\C-x\C-v": rc-complete-variable $endif | |||
| 2018-04-26 | Completion of command names and variables | Bert Münnich | |
| New completion entry functions for readline specific code: - compl_var for variables - compl_fn for functions - compl_builtin for builtins - compl_extcmd for external commands in path - compl_command, which combines the last three The first three are simple wrappers for compl_name, which iterates over a typical rc table (an array of structs) yielding the name fields. The appropriate completion entry function is chosen based on the character/token that preceeds the word to complete: '$' for variable, beginning of line or one of [`@|&(){;] for command. Otherwise the shell falls back to readline's default completion, which it also does, if the chosen completion entry function finds no match. | |||
| 2018-04-25 | bring ChangeLog up to date | Toby Goodwin | |
| 2018-04-20 | new mkinstalldirs for some reason | Toby Goodwin | |
| 2018-04-20 | replace space used to terminate heredoc | Toby Goodwin | |
| 2018-03-26 | Merge branch 'master' into ifnot | Toby Goodwin | |
| 2018-03-26 | whitespace cleanups | Toby Goodwin | |
| 2018-03-20 | whitespace cleanup | Toby Goodwin | |
| 2018-03-19 | Merge branch 'master' into ifnot | Toby Goodwin | |
| 2018-03-19 | implement $nl and $tab, issue #43 | Toby Goodwin | |
| 2018-03-19 | implement desugaring version (again, lost due to git problem) | Toby Goodwin | |
| 2018-03-17 | Merge branch 'master' into ifnot | Toby Goodwin | |
| 2018-03-17 | fix bad merge fixup | Toby Goodwin | |
| 2018-03-17 | Merge branch 'continue' | Toby Goodwin | |
| 2018-03-17 | tidy up, test cases, document flag | Toby Goodwin | |
| 2018-03-16 | flag largely working, flag n + is a bit odd | Toby Goodwin | |
| 2018-03-16 | starting to work | Toby Goodwin | |
| 2018-03-05 | Merge branch 'master' into ifnot | Toby Goodwin | |
| 2018-03-05 | add to ChangeLog | Toby Goodwin | |
| 2018-03-05 | implement walk half of if not, plus tests | Toby Goodwin | |
| 2018-03-02 | Unify bodies of if and if-else statements | Bert Münnich | |
| Fixes issue #31 of rakitzis/rc. | |||
| 2018-03-02 | nBody second child can be null | Toby Goodwin | |
| 2018-03-01 | Merge branch 'master' into ifnot | Toby Goodwin | |
| 2018-02-17 | remove all references to SIGCLD | Toby Goodwin | |
| 2018-02-09 | remove config.h-dist; add thanks to Bert and Leah | Toby Goodwin | |