summary refs log tree commit diff
Commit message (Collapse)AuthorAge
* 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.
* Remove hiJune McEnroe2021-01-13
| | | | | Replaced with hilex, which is far less of a hack. hilex still lacks a shell lexer, but hi's was never very good anyway.
* Add gg mapping to viJune McEnroe2021-01-13
| | | | The muscle memory for gg is too strong.
* Match \ before newline in string as EscapeJune McEnroe2021-01-13
|
* Remove -t flag from ctags commandsJune McEnroe2021-01-13
| | | | It's the default/only there for compatibility on the implementations I use.
* Match strftime format specifiersJune McEnroe2021-01-13
|
* Switch git.causal.agency to hilex and htagmlJune McEnroe2021-01-13
| | | | Still missing a shell lexer in hilex, but well... it's shell.
* Try to return make substitutions as single tokensJune McEnroe2021-01-13
|
* Shorten hilex class namesJune McEnroe2021-01-13
|
* Move text "lexer" to hilex.cJune McEnroe2021-01-13
|
* Try to return strings as single tokensJune McEnroe2021-01-13
|
* Match [] as Operator in C lexerJune McEnroe2021-01-13
|
* Fix C lexer to require a digit in a float literalJune McEnroe2021-01-13
| | | | Otherwise ".l" is matched as Number.
* Support long double in c.shJune McEnroe2021-01-13
|
* Update Terminal.app coloursJune McEnroe2021-01-13
| | | | God what is this garbage I only changed one colour.
* Increase dark white brightness slightlyJune McEnroe2021-01-13
|
* Add hilex example to htagml manualJune McEnroe2021-01-13
|
* Style causal.agency like bin HTMLJune McEnroe2021-01-12
|
* Avoid matching tag text inside HTML elementsJune McEnroe2021-01-12
|
* Use hilex for up -hJune McEnroe2021-01-12
|
* Use hilex for bin HTMLJune McEnroe2021-01-12
|
* Don't output a pre in hilex by defaultJune McEnroe2021-01-12
|
* Move hilex out of hilex directoryJune McEnroe2021-01-12
|
* Consolidate hilex formatters into hilex.cJune McEnroe2021-01-12
|
* Remove hacky tagging from hilexJune McEnroe2021-01-12
| | | | God that makes the lexers so much simpler.
* Add htagml -iJune McEnroe2021-01-12
|
* Render tag index in HTMLJune McEnroe2021-01-12
|
* Add htagml -xJune McEnroe2021-01-12
|
* Prevent matching the same tag twiceJune McEnroe2021-01-12
|