| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
Copied from the OpenBSD defaults.
|
|
|
|
|
| |
Otherwise keywords at the beginnings of lines with preceeding
whitespace are not matched.
|
| |
|
|
|
|
|
| |
I haven't used neovim in a couple weeks by now, so I may as well
commit this.
|
| |
|
|
|
|
|
| |
Only matches functions declared at the beginnings of lines, but I'm
fine with that.
|
|
|
|
| |
Surprisingly seems to work for everything I looked at in my repos.
|
| |
|
|
|
|
|
| |
Lua support is unused and the dlsym fwrite/write hacks horrify me.
Clean it up.
|
| |
|
|
|
|
| |
Otherwise a :: rule includes one of the ':'s in the tag name.
|
|
|
|
| |
Otherwise the "id" in "void" matches for "void id".
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
These don't really go together, but...
|
|
|
|
| |
Otherwise it ends up going into Shell state.
|
|
|
|
| |
Using ungetc(3) rather than rewind(3) to support piped input.
|
|
|
|
|
| |
To be used as 1G!!mdate in vi(1) to update the .Dd line of mdoc
files.
|
| |
|
| |
|
|
|
|
|
|
|
| |
This correctly preserves whitespace in browsers without CSS, as an
alternative to [1].
[1]: https://80x24.org/cgit.git/commit/?id=7c692e6137697de8a8473c4de5c3de4fb03a2989
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
The title attribute was being set to the same value as the anchor
element text.
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Text-based browsers without CSS support show all the decorations
bunched together without spacing. Rely on a whitespace instead
of CSS support.
|
|
|
|
|
| |
This preserves formatting readable for users of text-based browsers
without CSS support.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
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.
|
|
|
|
| |
I reference this one often but had lost it until now.
|
| |
|
|
|
|
| |
Otherwise ctags can't figure out if the input is a lex or yacc file.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
I'm not using this for the bin HTML pages anymore.
|
|
|
|
|
| |
Replaced with hilex, which is far less of a hack. hilex still lacks
a shell lexer, but hi's was never very good anyway.
|
|
|
|
| |
The muscle memory for gg is too strong.
|
| |
|
|
|
|
| |
It's the default/only there for compatibility on the implementations I use.
|
| |
|