summary refs log tree commit diff
Commit message (Collapse)AuthorAge
* Add make lexerJune McEnroe2020-12-29
| | | | | This is kind of a mess and needs to be cleaned up against more careful reading of the make grammar.
* Clean up C lexerJune McEnroe2020-12-29
| | | | This ordering of rules feels much cleaner.
* Clean up hilex code somewhatJune McEnroe2020-12-29
|
* Match lex/yacc %% %{ %} lines as MacroJune McEnroe2020-12-29
|
* Match top-level C definitions as IdentifierTagJune McEnroe2020-12-29
|
* Match C type declarations as IdentifierTagJune McEnroe2020-12-29
|
* Match function-like macro definitions as IdentifierTagJune McEnroe2020-12-29
|
* Reconfigure C macro start conditionsJune McEnroe2020-12-29
|
* Document HTML class namesJune McEnroe2020-12-29
|
* Rename Tag class to IdentifierTagJune McEnroe2020-12-29
|
* Change HTML class from hi to hilexJune McEnroe2020-12-29
| | | | You can tell I was just copying the HTML code huh.
* Add hilex HTML outputJune McEnroe2020-12-29
|
* Add hilex manual pageJune McEnroe2020-12-29
|
* Match Objective-C #import in C lexerJune McEnroe2020-12-29
|
* Add hilex IRC formatterJune McEnroe2020-12-28
|
* Generate Tag tokens for mdoc headingsJune McEnroe2020-12-28
|
* Add mdoc lexerJune McEnroe2020-12-28
|
* Lex strings inside macrosJune McEnroe2020-12-28
|
* Set H_SETUNIQUEJune McEnroe2020-12-28
|
* Add initial version of hilexJune McEnroe2020-12-28
| | | | | | | | | | hilex is meant to replace hi, based on lex rather than a mess of overlapping regexps. I want to preserve hi's tagging abilities, but that will require some amount of parsing/post-processing, which I'm not sure how to approach yet. Macro lexing for C still needs work, as I want to match strings and comments inside macros.
* Add TOUR.7June McEnroe2020-12-28
|
* Add 'doc/zlib/' from commit 'e1ebbcf0ed43f21dd504f1f109e5d12b6bc99460'June McEnroe2020-12-27
|\ | | | | | | | | | | git-subtree-dir: doc/zlib git-subtree-mainline: bc52b7578b0ebfc228977342ac7bffc999212197 git-subtree-split: e1ebbcf0ed43f21dd504f1f109e5d12b6bc99460
| * Replace Makefile with portable oneJune McEnroe2020-12-27
| |
| * Convert zlib.h comments to mdocJune McEnroe2020-12-27
|
* Add "this commit" option to switch formAlyssa Ross2020-12-27
| | | | | | | | | | | | | | | | | Branches are grouped into their own section to make the "this commit" option visually distinct. Adding this option will result in two options being marked as selected if a branch has the same name as a commit oid. But that would cause all sorts of other problems anyway (attempting to switch to the branch would actually give you the commit, etc.), so let's not worry about that. A "permalink" link on the blob view next to the "plain" link would probably be more discoverable, but that would only work for the blob view. The switch UI is visible everywhere. Signed-off-by: Alyssa Ross <hi@alyssa.is>
* Show subject in commit page titleJune McEnroe2020-12-27
|
* Show symlink targets in tree listingJune McEnroe2020-12-27
| | | | | Add links to symbolic link targets in tree listings, formatted like "ls -l". Path normalization collapses any ".." components of the link.
* Disallow blame in robots.txtJune McEnroe2020-12-27
|
* Don't link to blame for binary blobsJune McEnroe2020-12-27
|
* Bail from blame if blob is binaryJune McEnroe2020-12-27
| | | | This avoids piping binary blobs through the source-filter.
* Remove dependency on memrchrJune McEnroe2020-12-27
|
* Remove cgit/git submoduleJune McEnroe2020-12-27
|
* Merge commit '85016e706cd00e527dba3fa83b2783dfb56a4ffa' as ↵June McEnroe2020-12-27
|\ | | | | | | | | | | 'www/git.causal.agency/cgit' From tag 'v1.2.3'.
| * Squashed 'www/git.causal.agency/cgit/' content from commit 02221fd3June McEnroe2020-12-27
| | | | | git-subtree-dir: www/git.causal.agency/cgit git-subtree-split: 02221fd3fe523a3293d64e3359036e3a71d6fd7e
* Remove 1shJune McEnroe2020-12-23
|
* Remove bash_profile, bashrcJune McEnroe2020-12-23
|
* Fix dash Makefile compatibility with BSD makeJune McEnroe2020-12-23
|
* Switch from 1sh to dashJune McEnroe2020-12-23
|
* Fix multi-line prompts when right prompts are usedJune McEnroe2020-12-23
| | | | | | editline does not render a multi-line PS1 correctly when RPS1 is also set. To work around this, return only the last line of the cached prompt to editline, and print the leading lines separately inside setprompt.
* Add RPS1 and RPS2 right prompt variablesJune McEnroe2020-12-23
|
* Cache the expanded prompt for editlineJune McEnroe2020-12-23
| | | | | | | | | | | | | | | | | | | Previously, the prompt would be expanded every time editline called the getprompt callback. I think the code may have been written assuming that editline only calls getprompt once per prompt, but it may actually call it many times, for instance every time you type backspace. This results not only in slower editing from expanding complex prompts repeatedly, it also consumes more and more stack memory each time getprompt is called. This can be seen by setting PS1 to some command substitution, typing many characters at the prompt, then holding backspace and observing memory usage. Thankfully all this stack memory is freed between prompts by the stackmark calls around el_gets. This change causes prompt expansion to always happen in the setprompt call, as it would when editline is disabled, and a cached copy of the prompt is saved for getprompt to return every time editline calls it. Since getprompt is no longer doing expansion, the stackmark calls surrounding el_gets can be removed.
* Bind libedit's secret filename completion functionJune McEnroe2020-12-22
| | | | | | | | | | Check if the FreeBSD (and by extension macOS) _el_fn_sh_complete version of the function exists, which does shell escaping of completed filenames before _el_fn_complete learned to. Tab is bound after calling el_set() and el_source() since the default bindings set tab to something else, and it should always be filename completion in the shell.
* Build with libedit by defaultJune McEnroe2020-12-22
|
* Fail if building --with-libedit and can't find libeditJune McEnroe2020-12-22
| | | | | Previously, configure --with-libedit would only fail in the case where libedit is available but its header file histedit.h is not.
* Merge commit '9e55e38997ed4d6998af9e113e215a926c24988e' as 'bin/dash'June McEnroe2020-12-22
|\ | | | | | | From tag 'v0.5.11.2'.
| * Squashed 'bin/dash/' content from commit a45870fJune McEnroe2020-12-22
| | | | | git-subtree-dir: bin/dash git-subtree-split: a45870f71f42be6bf3c8eada04debd1008f9dc3e
* Limit prune.sh to ~/.config ~/.localJune McEnroe2020-12-22
| | | | | Otherwise macOS gets very mad as it tries to access a bunch of protected directories.
* Match the number part of the argument to :RFCJune McEnroe2020-12-21
| | | | This fixes pressing K on "RFC3501", for example.
* Move rfc.vim to doc/rfcJune McEnroe2020-12-21
| | | | | That default path is a bit wonky, but it prevents having to template rfc.vim for basically no reason.
* Move rfc to doc/rfcJune McEnroe2020-12-21
|