AgeCommit message (Collapse)AuthorLines
Show characters a browser breaks at as escapesBryce Kwon-0/+3
The HTML parser turns a carriage return with no line feed after it into a line feed, and WebKit starts a new line at U+2028 and U+2029, while git and the line numbers count line feeds alone, so each one set every later line of the tree and blame pages a line below its number. CSS Text makes vertical tab, form feed and next line forced breaks as well, though no engine honours that yet. The escapes follow gitweb, which shows control characters the same way.
Say how to build cgit on muslBryce Kwon-0/+6
Git's code there needs the kernel headers and its bundled regex, and the build failed with nothing to say so.
Build Git without translations or Tcl toolsBryce Kwon-2/+2
cgit never shows Git's translations or runs its Tcl tools, yet building needed libintl and msgfmt for one and, under make test, tclsh for the other, which a musl system such as Alpine lacks.
Claim and test Lua 5.5 for every extensionBryce Kwon-2/+2
luaossl from release 20260910 and luaposix load under Lua 5.5, and cgit renders the same pages under it as under LuaJIT. Running the suites there already caught a write to a for loop's control variable, which 5.5 makes read-only.
Detect Lua 5.5 when buildingBryce Kwon-3/+3
cgit builds against Lua 5.5 and serves the same pages with it, but a host whose only Lua was 5.5 got a binary without Lua from the search.
Give an empty repository's clone table its hooksBryce Kwon-4/+5
It was a bare table.list with no name, section or label, the one listing that broke what the README promises a theme.
Check every markup hook the README namesBryce Kwon-8/+11
The README promised that t0005 checked them all, while fourteen went unchecked, and three of its claims were too broad. A date shown in full carries no age hooks, line anchors follow enable-tree-linenumbers and cgit.css also styles html.cgit-standalone.
Complete the README's pages and query parametersBryce Kwon-3/+14
List everything make install puts in placeBryce Kwon-3/+4
Walk a path on the blob page from any commit the id namesBryce Kwon-1/+1
With both an id and a path the blob page handed back the raw object the id named, so a commit id gave the commit text itself, while the plain page looked the path up in that commit's tree. A tag is peeled to its commit on the way, and the README example of a pinned commit now uses a form the request checks accept.
Keep the Lua-less build compilingBryce Kwon-0/+5
`cgit_abort_filters` unhooks the Lua write interposer under NO_LUA too, where neither the hook nor its state exists, so `make NO_LUA=1` and the default mode of `tools/release-build.sh` have not compiled since the die path learned to take stdout back from a filter. The suite now builds that variant into `build/nolua` and runs it, and a `lua:` filter in such a build is refused with a message naming the cause instead of an unknown filter type.
Add stable markup hooks for site themesBryce Kwon-0/+45
Unify the docs, samples and extensionsBryce Kwon-32/+25
Split trailers out of the commit messageBryce Kwon-1/+1
Trim the readme and fold in the author creditsBryce Kwon-122/+52
Document the line anchors in the readmeBryce Kwon-0/+5
Convert the manual page to plain `MANUAL.txt`Bryce Kwon-2/+2
Beyond the format change, the documented defaults and inheritance notes now match what the code does.
Tabulate the query parameters in the readmeBryce Kwon-24/+24
Fold the test readme and ignore rules into the rootBryce Kwon-52/+65
Document how cgit urls are builtBryce Kwon-0/+65
Drop the Last-Modified, Expires and ETag headersBryce Kwon-1/+1
Reorganize the tree into vendor/ and custom/Bryce Kwon-19/+6
Replace the browser markdown renderer with a filterBryce Kwon-0/+2
The readme is now escaped plain text unless `about-filter` points at the new `about-render.lua`, which renders markdown, man pages and plain text server-side. `enable-markdown` goes away with the renderer.
Bound syntax-highlight memory and widen coverageBryce Kwon-0/+18
Rewrite the README for the fork as `README.txt`Bryce Kwon-0/+144