Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-17 | stagit: fix rendering of first TAB in file | Hiltjo Posthuma | |
else TABs wont render properly (interpreted as part of HTML whitespace) at the first TAB of the line. | |||
2017-04-16 | writeblobhtml: fix possible uninitialized variable n when len == 0 | Hiltjo Posthuma | |
... whoops | |||
2017-04-16 | writeblobhtml: improve file view for text-browsers | Hiltjo Posthuma | |
browsers such as lynx and w3m have some quirks displaying tables and pre elements. links is a bit better with this. | |||
2017-04-16 | text-browser improvements | Hiltjo Posthuma | |
for links, lynx, w3m, dil[dl]o etc: - set oldschool align attribute. - apply bold markup to table header. | |||
2017-04-15 | browser compatibility: use numeric entity for ' | Hiltjo Posthuma | |
' is a XHTML entity, browsers such as links, w3m, lynx and dillo don't support it. | |||
2017-04-01 | writeblobhtml, make fprintf format string const | Hiltjo Posthuma | |
2017-03-12 | fix potential leak, found by clang-analyzer | Hiltjo Posthuma | |
2017-03-12 | fix memory leak of commitinfo | Hiltjo Posthuma | |
2017-03-12 | atom.xml: add newline before EOF | Hiltjo Posthuma | |
2017-03-12 | fix memory leak of commitinfo->parent | Hiltjo Posthuma | |
2017-03-12 | fix memory leak of blob object | Hiltjo Posthuma | |
2017-03-12 | simplify/shorten pledge stub | Hiltjo Posthuma | |
2017-03-12 | reduce scope of repodir, remove unused branch parameter | Hiltjo Posthuma | |
2016-11-09 | also remove language and text direction attribute from <html> | Hiltjo Posthuma | |
2016-11-09 | remove Content-Language: en | Hiltjo Posthuma | |
thanks Aymeric Mansoux! | |||
2016-05-29 | treat an empty repo (without a HEAD) as valid | Hiltjo Posthuma | |
and create the standard files. Disable caching if there is no HEAD. | |||
2016-05-21 | refs_cmp: simplify check, functionally the same | Hiltjo Posthuma | |
2016-05-08 | check if LICENSE, README and .gitmodules is a file blob | Hiltjo Posthuma | |
don't link to directory trees, etc. Thanks 600360 for reporting it! | |||
2016-05-07 | simplify, id is unused | Hiltjo Posthuma | |
2016-05-07 | simplify, no need for goto | Hiltjo Posthuma | |
2016-05-07 | consistency for messages for special-case in diffstat | Hiltjo Posthuma | |
2016-05-07 | fix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03 | Hiltjo Posthuma | |
... the loop was simplified, but forgot to remove p++ (double used) while rebasing the change. | |||
2016-05-06 | fix and simplify time offset | Hiltjo Posthuma | |
2016-05-06 | make diffstat files an anchor (jump to delta) | Hiltjo Posthuma | |
2016-05-03 | fix joinpath(): use of global 'repodir', should be 'path' | Hiltjo Posthuma | |
use joinpath for another case. | |||
2016-05-03 | fix regression from last commit | Hiltjo Posthuma | |
2016-05-03 | code cleanup | Hiltjo Posthuma | |
2016-05-03 | remove config.h, add options to stagit.c | Hiltjo Posthuma | |
2016-05-03 | add OpenBSD pledge(2) support using -DUSE_PLEDGE | Hiltjo Posthuma | |
2016-05-02 | style: write atom feed end in one write, kills 2 lines | Hiltjo Posthuma | |
2016-05-02 | cache support (-c option) | Hiltjo Posthuma | |
"Optionally the -c cachefile option can be used to cache the entries of the log page up to the point of the last commit. The cachefile will store the last commit id and the entries in the HTML table." this caches the diffstat and commits, it is an expensive operation (twss). | |||
2016-05-01 | small code cleanup: no need for status variable | Hiltjo Posthuma | |
2016-05-01 | atom feed: use published for author commit date, updated for committer date | Hiltjo Posthuma | |
this is the same as cgit. | |||
2016-05-01 | fix times (and timezone) | Hiltjo Posthuma | |
- in the index and log show the short time (GMT). - in the Atom feed use GMT time. - for commits show the time + offset. | |||
2016-05-01 | fix path join '/' | Hiltjo Posthuma | |
add joinpath() function to handle this. | |||
2016-05-01 | code cleanup + style, functionally equivalent | Hiltjo Posthuma | |
2016-04-30 | layout: right align lines changed count in diffstat | Hiltjo Posthuma | |
2016-04-30 | optimization: suppress large diffs | Hiltjo Posthuma | |
the values are arbitrary, these can be tweaked later if needed. | |||
2016-04-30 | optimization: read stats once and remember it | Hiltjo Posthuma | |
for an initial run and new commits this speeds stagit up a bit: on an initial run of sbase goes from about 4 seconds to 2.8 on my machine. now we can't use statsbuf, so create the stats string ourselves, while at it color the + and - using a style (can be disabled for the color-haters out there ;)). | |||
2016-04-29 | whoops, module is m--------- | Hiltjo Posthuma | |
2016-04-29 | submodule support | Hiltjo Posthuma | |
- detect .gitmodules file for submodules, add a link "submodules" to the top menu. - link each submodule to the .gitmodules file in HEAD. - revert the special style for modules, but list it as a file "m---------", don't show the line/filesize though, it is not a file. | |||
2016-04-29 | suppress meaningless error codes when a repo can't be opened (similar to ↵ | Hiltjo Posthuma | |
stagit-index) | |||
2016-04-29 | minor style fix | Hiltjo Posthuma | |
2016-04-29 | Fix null pointer access for submodules in writefilestree | Quentin Rameau | |
Do not try to set a link to submodules from bare repo as we can't get the actual url. | |||
2016-04-29 | tweak style of showing submodules | Hiltjo Posthuma | |
this will make it look similar to cgit. show mode as "m---------" | |||
2016-04-29 | Don't fail on submodules | z3bra | |
Submodules will get listed prefixed with a '@', using a specific CSS class for styling. The href will be set to the url of the submodule. Filesize will appear as 0 and filemode will not be printed to avoid an awkward mode: "?---------". In writefilestree, we don't return anymore if an entry can't be categorized as an object, but rather, fail if we can't retrieve its name. | |||
2016-04-27 | fix: check gmtime, can return NULL on error | Hiltjo Posthuma | |
2016-04-27 | resolve absolute paths to repodir, remove basename just use strrchr. | Hiltjo Posthuma | |
- 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. | |||
2016-04-27 | fix: link to line in hunk if a patch has multiple files and hunks | Hiltjo Posthuma | |
thanks to lostd for reporting it! | |||
2016-03-01 | add titles to pages, summary for commit messages, filename for files | Hiltjo Posthuma | |