| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Otherwise ctags can't figure out if the input is a lex or yacc file.
|
| |
|
| |
|
| |
|
|
|
|
| |
Still missing a shell lexer in hilex, but well... it's shell.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Add links to symbolic link targets in tree listings, formatted like
"ls -l". Path normalization collapses any ".." components of the link.
|
| |
|
| |
|
|
|
|
| |
This avoids piping binary blobs through the source-filter.
|
| |
|
| |
|
|
|
|
|
|
| |
'www/git.causal.agency/cgit'
From tag 'v1.2.3'.
|
| |
|
| |
|
| |
|
|
|
|
| |
I don't know, it's something.
|
|
|
|
| |
And fix some atom lints.
|
|
|
|
| |
Don't depend on LANG being set.
|
|
|
|
|
|
|
|
| |
But keep it disabled for READMEs since they always use non-standard
sections and the TOC is just distracting there, I think.
Also add the style so its h1 is the same size as the ones inside
sections...
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It should never be served as a regular file.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|