Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix HTML: use <th> instead of <td><b> | Thorsten Ortlepp | 2020-02-29 | 1 | -10/+10 |
| | |||||
* | Fixed path to resources | Thorsten Ortlepp | 2020-02-29 | 1 | -3/+3 |
| | |||||
* | atom.xml: improve output format a bit | Hiltjo Posthuma | 2020-02-21 | 1 | -2/+2 |
| | |||||
* | improve includes, stagit-index does not need compat.h | Hiltjo Posthuma | 2020-02-12 | 1 | -1/+2 |
| | |||||
* | add OpenBSD unveil support | Hiltjo Posthuma | 2019-12-01 | 1 | -0/+7 |
| | | | | | | | | | | | | The unveil() system call first appeared in OpenBSD 6.4. For stagit it has the following properties now: - stagit-index: only read-access to the file-system for the specified directories/repositories. - stagit: read-access to the specified directory/repository. read-write and creation access to the current directory for the output files. read-write and creation access to the specified cache file. | ||||
* | escape HTML in paths | Hiltjo Posthuma | 2019-03-16 | 1 | -4/+12 |
| | | | | | - escape paths in diff line. - escape path in anchor href attribute in files.html | ||||
* | pedantic snprintf() improvement | Hiltjo Posthuma | 2019-03-09 | 1 | -3/+3 |
| | | | | | | POSIX says: "If an output error was encountered, these functions shall return a negative value and set errno to indicate the error." | ||||
* | change order of commits in log from most recent to old to applied order | Hiltjo Posthuma | 2019-02-16 | 1 | -2/+0 |
| | |||||
* | fix compile: libgit2 0.28 changed giterr_last to git_error_last | Hiltjo Posthuma | 2019-02-16 | 1 | -3/+1 |
| | | | | | libgit2 commit: https://github.com/libgit2/libgit2/commit/a27a4de6f8003961d38958893c6c637395c7cc04 | ||||
* | in the diffstat prefix the type of change, allow CSS styling | Hiltjo Posthuma | 2018-11-18 | 1 | -1/+16 |
| | |||||
* | don't use a heuristic for renames, the content must match exactly | Hiltjo Posthuma | 2018-11-18 | 1 | -1/+3 |
| | | | | | this prevents showing files as renames when most (but not all) of the file was changed. | ||||
* | detect filetype changes in diff (for example a normal file to symlink) | Hiltjo Posthuma | 2018-11-18 | 1 | -1/+3 |
| | |||||
* | detect more names for README and LICENSE | Hiltjo Posthuma | 2018-11-11 | 1 | -16/+30 |
| | | | | | - for license: LICENSE, LICENSE.md, COPYING. - for readme: README, README.md. | ||||
* | detect copies and renames based on the threshold of changes | Hiltjo Posthuma | 2018-11-11 | 1 | -0/+9 |
| | |||||
* | simplify range check | Hiltjo Posthuma | 2018-08-22 | 1 | -4/+1 |
| | |||||
* | stagit: log: indicate when using the -l option and there are more commits | Hiltjo Posthuma | 2018-08-22 | 1 | -0/+4 |
| | |||||
* | assume OpenBSD 5.9+, always try pledge(2) on OpenBSD | Hiltjo Posthuma | 2018-05-25 | 1 | -4/+2 |
| | |||||
* | Clarify usage regarding -c and -l mutual exclusion | Quentin Rameau | 2018-05-09 | 1 | -1/+1 |
| | |||||
* | pledge after git_libgit2_init | Hiltjo Posthuma | 2018-03-26 | 1 | -5/+8 |
| | | | | | this is because libgit uses curl which uses some initialization checks, namely an IPv6 check which creates a socket. | ||||
* | optimization: only diff the tree when it is needed for the diffstat... | Hiltjo Posthuma | 2018-03-18 | 1 | -17/+27 |
| | | | | | | | ... also clear all fields in the structure on failure. This is not as big an optimization as stagit-gopher, because the diffstat is displayed in the log, but the difference is still measurable. | ||||
* | stagit: add -l option: limit the amount of commits for the log.html file | Hiltjo Posthuma | 2018-01-21 | 1 | -12/+37 |
| | |||||
* | fix: add "fattr" pledge for chmod(2) for cachefile | Hiltjo Posthuma | 2017-11-19 | 1 | -7/+5 |
| | | | | improve checks for when head is NULL (empty repo) | ||||
* | fix file permissions for cachefile and respect umask(2) | Hiltjo Posthuma | 2017-11-10 | 1 | -2/+10 |
| | |||||
* | more verbose errors: show which file failed on open | Hiltjo Posthuma | 2017-11-10 | 1 | -2/+2 |
| | |||||
* | allow umask to handle permissions | Hiltjo Posthuma | 2017-09-04 | 1 | -1/+1 |
| | |||||
* | separate getstats from getbyoid: slightly faster | Hiltjo Posthuma | 2017-06-23 | 1 | -2/+4 |
| | |||||
* | for the commit Date: header use the git format-patch format | Hiltjo Posthuma | 2017-05-07 | 1 | -1/+1 |
| | |||||
* | dont truncate summary length anymore | Hiltjo Posthuma | 2017-05-07 | 1 | -14/+2 |
| | | | | | | | | make sure not partial (invalid) utf-8 sequences are written. The old logic truncated by bytelen was wrong. It is too complex to implement it in a correct way with git: it is not assured a commit message is UTF-8 encoded. remove showlinecount and summarylen variables. | ||||
* | improve commitinfo_getstats | Hiltjo Posthuma | 2017-05-07 | 1 | -5/+2 |
| | | | | | - reorder: unnecessary allocation when git_patch_from_diff fails. - no need to free patch object when git_patch_from_diff fails. | ||||
* | align line numbers to 8 spaces | Hiltjo Posthuma | 2017-04-17 | 1 | -1/+1 |
| | | | | ... now it is done. | ||||
* | writeblobhtml: minor style fix | Hiltjo Posthuma | 2017-04-17 | 1 | -1/+1 |
| | | | | using len instead of the loop 'i' is slightly more clear | ||||
* | stagit: fix rendering of first TAB in file | Hiltjo Posthuma | 2017-04-17 | 1 | -1/+1 |
| | | | | | else TABs wont render properly (interpreted as part of HTML whitespace) at the first TAB of the line. | ||||
* | writeblobhtml: fix possible uninitialized variable n when len == 0 | Hiltjo Posthuma | 2017-04-16 | 1 | -2/+2 |
| | | | | ... whoops | ||||
* | writeblobhtml: improve file view for text-browsers | Hiltjo Posthuma | 2017-04-16 | 1 | -16/+19 |
| | | | | | | | browsers such as lynx and w3m have some quirks displaying tables and pre elements. links is a bit better with this. | ||||
* | text-browser improvements | Hiltjo Posthuma | 2017-04-16 | 1 | -12/+18 |
| | | | | | | | for links, lynx, w3m, dil[dl]o etc: - set oldschool align attribute. - apply bold markup to table header. | ||||
* | browser compatibility: use numeric entity for ' | Hiltjo Posthuma | 2017-04-15 | 1 | -1/+1 |
| | | | | | ' is a XHTML entity, browsers such as links, w3m, lynx and dillo don't support it. | ||||
* | writeblobhtml, make fprintf format string const | Hiltjo Posthuma | 2017-04-01 | 1 | -1/+1 |
| | |||||
* | fix potential leak, found by clang-analyzer | Hiltjo Posthuma | 2017-03-12 | 1 | -0/+1 |
| | |||||
* | fix memory leak of commitinfo | Hiltjo Posthuma | 2017-03-12 | 1 | -1/+1 |
| | |||||
* | atom.xml: add newline before EOF | Hiltjo Posthuma | 2017-03-12 | 1 | -1/+1 |
| | |||||
* | fix memory leak of commitinfo->parent | Hiltjo Posthuma | 2017-03-12 | 1 | -0/+1 |
| | |||||
* | fix memory leak of blob object | Hiltjo Posthuma | 2017-03-12 | 1 | -0/+1 |
| | |||||
* | simplify/shorten pledge stub | Hiltjo Posthuma | 2017-03-12 | 1 | -5/+1 |
| | |||||
* | reduce scope of repodir, remove unused branch parameter | Hiltjo Posthuma | 2017-03-12 | 1 | -6/+6 |
| | |||||
* | also remove language and text direction attribute from <html> | Hiltjo Posthuma | 2016-11-09 | 1 | -1/+1 |
| | |||||
* | remove Content-Language: en | Hiltjo Posthuma | 2016-11-09 | 1 | -1/+1 |
| | | | | thanks Aymeric Mansoux! | ||||
* | treat an empty repo (without a HEAD) as valid | Hiltjo Posthuma | 2016-05-29 | 1 | -5/+10 |
| | | | | and create the standard files. Disable caching if there is no HEAD. | ||||
* | refs_cmp: simplify check, functionally the same | Hiltjo Posthuma | 2016-05-21 | 1 | -6/+3 |
| | |||||
* | check if LICENSE, README and .gitmodules is a file blob | Hiltjo Posthuma | 2016-05-08 | 1 | -3/+8 |
| | | | | don't link to directory trees, etc. Thanks 600360 for reporting it! | ||||
* | simplify, id is unused | Hiltjo Posthuma | 2016-05-07 | 1 | -3/+2 |
| |