summary refs log tree commit diff
path: root/bin/shotty.c (unfollow)
Commit message (Collapse)Author
2021-01-17Publish "reusing tags"June McEnroe
2021-01-17Use <pre> and <span> to print diffsJune McEnroe
This correctly preserves whitespace in browsers without CSS, as an alternative to [1]. [1]: https://80x24.org/cgit.git/commit/?id=7c692e6137697de8a8473c4de5c3de4fb03a2989
2021-01-17Ignore cgit/gitJune McEnroe
2021-01-17Link to causal.agency cgit from footerJune McEnroe
2021-01-17Use buffered stdioEric Wong
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
2021-01-17Remove redundant title on repo anchorsChris Mayo
The title attribute was being set to the same value as the anchor element text. Signed-off-by: Chris Mayo <aklhfex@gmail.com>
2021-01-17Improve button spacing for browsers w/o CSSEric Wong
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.
2021-01-17Improve decoration display for browsers without CSSEric Wong
Text-based browsers without CSS support show all the decorations bunched together without spacing. Rely on a whitespace instead of CSS support.
2021-01-17Use <pre> for commit-msgEric Wong
This preserves formatting readable for users of text-based browsers without CSS support.
2021-01-17Improve pageheader display on text-based browsersEric Wong
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.
2021-01-17Use git raw note formatChris Mayo
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>
2021-01-17Touch tags in source-filterJune McEnroe
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.
2021-01-16Add -Wint-conversion tweetJune McEnroe
I reference this one often but had lost it until now.
2021-01-15Automatically pipe hilex ANSI output to PAGERJune McEnroe
2021-01-15Use a temp directory in source-filter to preserve nameJune McEnroe
Otherwise ctags can't figure out if the input is a lex or yacc file.
2021-01-15Simplyify htagml match outputJune McEnroe
2021-01-15Output htagml -x from the main loopJune McEnroe
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.
2021-01-14Call cap_rights_limit on stderr tooJune McEnroe
2021-01-14Add dirent.h to c.sh includesJune McEnroe
2021-01-14Add link to gopher version of text.causal.agencyJune McEnroe
2021-01-14Add igp gopher server for text.causal.agencyJune McEnroe
2021-01-13Clean up html.shJune McEnroe
2021-01-13Remove ttpreJune McEnroe
I'm not using this for the bin HTML pages anymore.
2021-01-13Remove hiJune McEnroe
Replaced with hilex, which is far less of a hack. hilex still lacks a shell lexer, but hi's was never very good anyway.
2021-01-13Add gg mapping to viJune McEnroe
The muscle memory for gg is too strong.
2021-01-13Match \ before newline in string as EscapeJune McEnroe
2021-01-13Remove -t flag from ctags commandsJune McEnroe
It's the default/only there for compatibility on the implementations I use.
2021-01-13Match strftime format specifiersJune McEnroe
2021-01-13Switch git.causal.agency to hilex and htagmlJune McEnroe
Still missing a shell lexer in hilex, but well... it's shell.
2021-01-13Try to return make substitutions as single tokensJune McEnroe
2021-01-13Shorten hilex class namesJune McEnroe
2021-01-13Move text "lexer" to hilex.cJune McEnroe
2021-01-13Try to return strings as single tokensJune McEnroe
2021-01-13Match [] as Operator in C lexerJune McEnroe
2021-01-13Fix C lexer to require a digit in a float literalJune McEnroe
Otherwise ".l" is matched as Number.
2021-01-13Support long double in c.shJune McEnroe
2021-01-13Update Terminal.app coloursJune McEnroe
God what is this garbage I only changed one colour.
2021-01-13Increase dark white brightness slightlyJune McEnroe
2021-01-13Add hilex example to htagml manualJune McEnroe
2021-01-12Style causal.agency like bin HTMLJune McEnroe
2021-01-12Avoid matching tag text inside HTML elementsJune McEnroe
2021-01-12Use hilex for up -hJune McEnroe
2021-01-12Use hilex for bin HTMLJune McEnroe
2021-01-12Don't output a pre in hilex by defaultJune McEnroe
2021-01-12Move hilex out of hilex directoryJune McEnroe
2021-01-12Consolidate hilex formatters into hilex.cJune McEnroe
2021-01-12Remove hacky tagging from hilexJune McEnroe
God that makes the lexers so much simpler.
2021-01-12Add htagml -iJune McEnroe
2021-01-12Render tag index in HTMLJune McEnroe
2021-01-12Add htagml -xJune McEnroe