aboutsummaryrefslogtreecommitdiff
path: root/stagit-index.c
Commit message (Collapse)AuthorAgeFilesLines
* improve includes, stagit-index does not need compat.hHiltjo Posthuma2020-02-121-6/+1
|
* small code-style white-space/newlineHiltjo Posthuma2019-12-221-0/+1
|
* add OpenBSD unveil supportHiltjo Posthuma2019-12-011-0/+3
| | | | | | | | | | | | 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.
* pedantic snprintf() improvementHiltjo Posthuma2019-03-091-1/+1
| | | | | | 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 orderHiltjo Posthuma2019-02-161-1/+0
|
* fix compile: libgit2 0.28 changed giterr_last to git_error_lastHiltjo Posthuma2019-02-161-3/+1
| | | | | libgit2 commit: https://github.com/libgit2/libgit2/commit/a27a4de6f8003961d38958893c6c637395c7cc04
* assume OpenBSD 5.9+, always try pledge(2) on OpenBSDHiltjo Posthuma2018-05-251-4/+2
|
* stagit-index: pledge after git_libgit2_initHiltjo Posthuma2018-04-061-3/+4
|
* stagit-index: also dont assume someones <html lang> :)Hiltjo Posthuma2017-04-171-1/+1
|
* stagit-index: remove Content-Language: enHiltjo Posthuma2017-04-171-1/+1
| | | | | forgot to remove this from stagit-index aswell, see also: commit 9e96062b620088a42c7b345e07cc8c12e2b59ed2
* stagit-index: remove empty h1 and add bold markup to table headersHiltjo Posthuma2017-04-161-6/+8
|
* browser compatibility: use numeric entity for 'Hiltjo Posthuma2017-04-151-1/+1
| | | | | &apos; is a XHTML entity, browsers such as links, w3m, lynx and dillo don't support it.
* simplify/shorten pledge stubHiltjo Posthuma2017-03-121-5/+1
|
* reduce scope of repodir, remove unused branch parameterHiltjo Posthuma2017-03-121-1/+1
|
* fix joinpath(): use of global 'repodir', should be 'path'Hiltjo Posthuma2016-05-031-12/+12
| | | | use joinpath for another case.
* code cleanupHiltjo Posthuma2016-05-031-5/+3
|
* remove config.h, add options to stagit.cHiltjo Posthuma2016-05-031-1/+0
|
* add OpenBSD pledge(2) support using -DUSE_PLEDGEHiltjo Posthuma2016-05-031-0/+11
|
* fix times (and timezone)Hiltjo Posthuma2016-05-011-9/+3
| | | | | | - in the index and log show the short time (GMT). - in the Atom feed use GMT time. - for commits show the time + offset.
* fix path join '/'Hiltjo Posthuma2016-05-011-23/+19
| | | | add joinpath() function to handle this.
* code cleanup + style, functionally equivalentHiltjo Posthuma2016-05-011-1/+1
|
* fix: check gmtime, can return NULL on errorHiltjo Posthuma2016-04-271-1/+2
|
* resolve absolute paths to repodir, remove basename just use strrchr.Hiltjo Posthuma2016-04-271-28/+9
| | | | | | | - resolve repodir, for example: stagit-index ../ used to use ".." as the name, now it will resolve to the real directory name. - just use strrchr(path, '/') instead of basename, '/' path separator is now used.
* stagit-index: remove unused efopen functionHiltjo Posthuma2016-04-271-11/+0
|
* Use the recommended HTML5 document type.lostd2016-02-261-1/+1
|
* check path truncationHiltjo Posthuma2016-02-241-6/+18
| | | | be strict about it
* strip .git suffix from nameHiltjo Posthuma2016-01-061-7/+7
| | | | also free stripped_name in the case of stagit-index
* extra whitespaceHiltjo Posthuma2016-01-061-1/+1
|
* Be more explicit when stripping the .git suffixsin2016-01-061-1/+2
|
* stagit-index: Strip per repo .git suffix from generated indexsin2016-01-061-1/+9
|
* stagit-index: continue making list, but return error codeHiltjo Posthuma2016-01-051-6/+7
|
* stagit-index: owner is one line, strip newlineHiltjo Posthuma2016-01-051-0/+1
|
* revert log.html to log/head.html changeHiltjo Posthuma2016-01-051-1/+1
|
* fix link in stagit-index, update documentation, add TODOHiltjo Posthuma2016-01-031-1/+1
|
* rename urmoms to stagit, improve documentationHiltjo Posthuma2015-12-261-0/+235