about summary refs log tree commit diff
path: root/third_party/cgit (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-06-03 r/878 fix(3p/cgit): Fix compilation under ClangLuke Granger-Brown2-2/+2
Clang treats function-like macros "correctly", in that, per the C11 spec: "Each subsequent instance of the function-like macro name followed by a ( [...] is replaced by the replacement list [...]". Additionally, fprintf is also permitted to be defined as a function-like macro rather than as a true function: "Any function declared in a header may be additionally implemented as a function-like macro defined in the header [...]". The specification then suggests surrounding the name of the function in parens to avoid this, which is the technique we use here to avoid the function-like macro being invoked. The other fix here is to use uintptr_t for some arithmetic, since Git is expecting an int as the value here and not a pointer.
2020-04-19 r/633 fix(third_party/cgit): Correctly make "about links" on about pageVincent Ambo1-0/+4
2020-02-21 feat(cgit/ui-commit): show subject in page titleC. McEnroe1-0/+1
2020-02-21 feat(cgit/ui-tree): show symlink targets in tree listingC. McEnroe1-2/+20
Add links to symbolic link targets in tree listings, formatted like "ls -l". Path normalization collapses any ".." components of the link.
2020-02-21 feat(cgit/ui-tree): don't link to blame for binary blobsC. McEnroe1-2/+4
2020-02-21 feat(cgit/ui-blame): bail if blob is binaryC. McEnroe1-0/+4
This avoids piping binary blobs through the source-filter.
2020-02-21 r/559 chore: Rename pkgs->depot in all Nix file headersVincent Ambo1-3/+3
2020-02-09 r/514 fix(third_party/cgit): Make vpath & repo available for about cmdVincent Ambo1-1/+1
This change makes cgit pass the current repo and vpath inside of the repo on to the about cmd, which makes it possible for it to correctly render `tree`, `log` and other links to the same vpath.
2020-01-18 r/402 chore(third_party/cgit): Remove git submoduleVincent Ambo2-3/+0
This is instead passed in by Nix, and it confuses git on clones.
2020-01-12 r/382 feat(third_party/cgit): Render timestamps in dottimeVincent Ambo4-8/+8
Using the DATE_DOTTIME format support in git.
2020-01-12 r/380 feat(third_party/cgit): Add derivation to build cgitVincent Ambo2-0/+38
This is pretty much exactly the derivation from nixpkgs, with some things removed to reduce the closure size (e.g. the various formatters used in the default cgit version, which are replaced by cheddar in my setup).
2020-01-11 r/377 feat(third_party/cgit): Generate links to about pages from subtreesVincent Ambo1-4/+10
If you're on tree/foo/bar, the about link will now point to about/foo/bar. Currently the annoying thing about this is that it will also do it for files.
2020-01-11 r/376 feat(third_party/cgit): Use README at each subtreeVincent Ambo1-0/+12
This means that individual subtrees of a repository will also have their READMEs rendered on the about page, for example: /foo/bar/README.md Will render on: /about/foo/bar/ This is useful for monorepo setups in which subtrees represent individual projects.
2020-01-11 r/375 feat(third_party/cgit): Generate monorepo compatible URLsVincent Ambo2-43/+10
Generates URLs that do not include the repository name. On git.tazj.in, only one repository (depot) is served - hence URLs generated by cgit need not include the name.
2020-01-11 r/371 merge(third_party/cgit): Import at master of 2020-01-11Vincent Ambo102-0/+15631
Imported commit '723dc8fbcb1a4609c264758eae420ee2811a2b55' as 'third_party/cgit'.