summary refs log tree commit diff
Commit message (Collapse)AuthorAge
* Warn twice about stopped jobsJune McEnroe2021-02-04
| | | | | | Not really sure why this previously set job_warning to 2 rather than 1. Anyway I often just press ^D again after the warning without really thinking, so do it twice.
* Remove cgit logo using cgitrcJune McEnroe2021-02-04
| | | | | It's not documented that you can set logo to empty string to remove it, I just noticed by reading print_header.
* Add The Rosewater RedemptionJune McEnroe2021-01-31
| | | | Remembering how to read 2021.
* Use int when checking for EOFJune McEnroe2021-01-29
|
* Move gpl.c and agpl.c templates out of etcJune McEnroe2021-01-28
|
* Set para and sect for mdocJune McEnroe2021-01-27
| | | | Copied from the OpenBSD defaults.
* Use First state to match keyword at beginning of lineJune McEnroe2021-01-26
| | | | | Otherwise keywords at the beginnings of lines with preceeding whitespace are not matched.
* Install vi on Linux and nvi on macOSJune McEnroe2021-01-25
|
* Use vi and lessJune McEnroe2021-01-25
| | | | | I haven't used neovim in a couple weeks by now, so I may as well commit this.
* Use mtags for sh in source-filterJune McEnroe2021-01-20
|
* Generate tags for sh files in mtagsJune McEnroe2021-01-20
| | | | | Only matches functions declared at the beginnings of lines, but I'm fine with that.
* Add messy sh lexerJune McEnroe2021-01-20
| | | | Surprisingly seems to work for everything I looked at in my repos.
* Add all target to git.causal.agency MakefileJune McEnroe2021-01-20
|
* Remove Lua supportJune McEnroe2021-01-20
| | | | | Lua support is unused and the dlsym fwrite/write hacks horrify me. Clean it up.
* Fix tests for diff spansJune McEnroe2021-01-20
|
* Avoid matching ':' in make tagsJune McEnroe2021-01-20
| | | | Otherwise a :: rule includes one of the ':'s in the tag name.
* Prefer tag matches not preceded by [[:alnum:]]June McEnroe2021-01-19
| | | | Otherwise the "id" in "void" matches for "void id".
* Escape \ and / in mtags search patternsJune McEnroe2021-01-19
|
* Use mtags in source-filterJune McEnroe2021-01-20
|
* Add mtags to generate tags for make and mdocJune McEnroe2021-01-19
|
* Map tags to IDs using only [[:alnum:]-._]June McEnroe2021-01-19
|
* Don't use a pager if reading standard inputJune McEnroe2021-01-19
|
* Support BSD make syntax and match *.amJune McEnroe2021-01-19
| | | | These don't really go together, but...
* Match tab following escaped newline in make assignmentsJune McEnroe2021-01-19
| | | | Otherwise it ends up going into Shell state.
* Allow matching lexers using first input lineJune McEnroe2021-01-18
| | | | Using ungetc(3) rather than rewind(3) to support piped input.
* Add mdate scriptJune McEnroe2021-01-18
| | | | | To be used as 1G!!mdate in vi(1) to update the .Dd line of mdoc files.
* Don't compress RFCs, add rfc(1) commandJune McEnroe2021-01-18
|
* Publish "reusing tags"June McEnroe2021-01-17
|
* Use <pre> and <span> to print diffsJune McEnroe2021-01-17
| | | | | | | This correctly preserves whitespace in browsers without CSS, as an alternative to [1]. [1]: https://80x24.org/cgit.git/commit/?id=7c692e6137697de8a8473c4de5c3de4fb03a2989
* Ignore cgit/gitJune McEnroe2021-01-17
|
* Link to causal.agency cgit from footerJune McEnroe2021-01-17
|
* Use buffered stdioEric Wong2021-01-17
| | | | | | | | | | | | | | | | | | | | | | | Our generation of HTML triggers many small write(2) syscalls which is inefficient. Time output on a horrible query against my git.git mirror shows significant performance improvement: QUERY_STRING='id=2b93bfac0f5bcabbf60f174f4e7bfa9e318e64d5&id2=d6da71a9d16b8cf27f9d8f90692d3625c849cbc8' PATH_INFO=/mirrors/git.git/diff export QUERY_STRING PATH_INFO time ./cgit >/dev/null Before: real 0m1.585s user 0m0.904s sys 0m0.658s After: real 0m0.750s user 0m0.666s sys 0m0.076s
* Remove redundant title on repo anchorsChris Mayo2021-01-17
| | | | | | | The title attribute was being set to the same value as the anchor element text. Signed-off-by: Chris Mayo <aklhfex@gmail.com>
* Improve button spacing for browsers w/o CSSEric Wong2021-01-17
| | | | | | | For browsers on low-end machines running browsers without CSS support, the default tree view displayed "logplain" when it should be "log plain". Stop relying on CSS and add a space in between elements to improve accessibility.
* Improve decoration display for browsers without CSSEric Wong2021-01-17
| | | | | | Text-based browsers without CSS support show all the decorations bunched together without spacing. Rely on a whitespace instead of CSS support.
* Use <pre> for commit-msgEric Wong2021-01-17
| | | | | This preserves formatting readable for users of text-based browsers without CSS support.
* Improve pageheader display on text-based browsersEric Wong2021-01-17
| | | | | | | | | | | Text-based browsers (and some GUI browsers such as dillo) display the pageheader as: "summaryrefslogtreecommitdiff" This is difficult-to-read. Improve accessibility for users who cannot run memory-hungry browsers by using whitespace instead of relying on CSS.
* Use git raw note formatChris Mayo2021-01-17
| | | | | | | | | | | | | | | | Currently a commit note is shown as: Notes Notes: <note text> Change to: Notes <note text> Signed-off-by: Chris Mayo <aklhfex at gmail.com>
* Touch tags in source-filterJune McEnroe2021-01-17
| | | | | ctags does not create the tags file if the input file contains nothing worth tagging, and htagml errors if there is no tags file to load.
* Add -Wint-conversion tweetJune McEnroe2021-01-16
| | | | I reference this one often but had lost it until now.
* Automatically pipe hilex ANSI output to PAGERJune McEnroe2021-01-15
|
* Use a temp directory in source-filter to preserve nameJune McEnroe2021-01-15
| | | | Otherwise ctags can't figure out if the input is a lex or yacc file.
* Simplyify htagml match outputJune McEnroe2021-01-15
|
* Output htagml -x from the main loopJune McEnroe2021-01-15
| | | | | Silly the way it was written, but I think I started writing it that way before I decided to make it mutually exclusive with regular output.
* Call cap_rights_limit on stderr tooJune McEnroe2021-01-14
|
* Add dirent.h to c.sh includesJune McEnroe2021-01-14
|
* Add link to gopher version of text.causal.agencyJune McEnroe2021-01-14
|
* Add igp gopher server for text.causal.agencyJune McEnroe2021-01-14
|
* Clean up html.shJune McEnroe2021-01-13
|
* Remove ttpreJune McEnroe2021-01-13
| | | | I'm not using this for the bin HTML pages anymore.