AgeCommit message (Collapse)AuthorLines
Compress xz snapshots on one threadBryce Kwon-1/+2
Current xz uses a thread per core unless told otherwise, so a single tar.xz request could keep every core busy, unlike the other compressors.
Find a compressor on the default path when unsetBryce Kwon-2/+14
With no PATH in the environment, the check that a compressor exists gave up and refused every compressed snapshot, though execvp would have found it on the system's default path.
Keep snapshot members from starting at a slashBryce Kwon-1/+9
A name that was all suffix, such as .tar, settled on a ref called v with an empty prefix, and an empty snapshot-prefix did the same for a snapshot asked for by id, so every member of the archive started at /.
Hold object sizes in size_t as git 2.55 doesBryce Kwon-1/+1
Git 2.55 moved object sizes from unsigned long to size_t. The two are the same type on 64-bit hosts, but not on a 32-bit one, where GCC 14 rejects the mismatched pointers, so cgit stopped compiling there.
Keep string literals behind const pointersBryce Kwon-6/+6
Git's DEVELOPER=1 build turns on -Wwrite-strings as an error, and the literals stored through plain char pointers failed cgit's own objects there. The exec filter's argv takes the cast execvp needs once, the way git's run-command does.
Align with spaces instead of tabsBryce Kwon-7/+7
Harden the page renderersBryce Kwon-11/+60
Clean up the whole treeBryce Kwon-33/+18
Trim the comments and dead code across the treeBryce Kwon-1/+1
Use standard HTTP reason phrasesBryce Kwon-7/+7
Use registered snapshot MIME typesBryce Kwon-3/+3
Print the raw-content headers with the restBryce Kwon-5/+1
Drop the Last-Modified, Expires and ETag headersBryce Kwon-2/+0
Restyle the sources and fix the audit's findingsBryce Kwon-125/+173
Settle the names, types and layout of the sourcesBryce Kwon-1/+1
Keep zstd snapshots single-threadedBryce Kwon-1/+3
Point the fork's links and credits at itselfBryce Kwon-1/+1
AUTHORS now records the upstream developers as the project's history rather than as maintainers of the fork.
Reorganize into source, assets and librariesBryce Kwon-0/+318
The C sources move to source/, the served files to assets/, the bundled Git submodule to libraries/git and the filter scripts to extensions/. Everything the build generates now lands in build/, so a clean is a single remove and the tree stays clean.