Commit graph

43 commits

Author SHA1 Message Date
Hiltjo Posthuma
3f77fb211d fix warning 2015-12-10 19:51:15 +01:00
Eivind Uggedal
d77d972007 file page improvements
- header with filename and size
- handle binary files
- small style changes
2015-12-10 19:50:03 +01:00
Hiltjo Posthuma
23fdbb0c8c fix warning + minor style 2015-12-09 23:56:42 +01:00
Eivind Uggedal
27397b310d Write blobs to files/
This is work in progress:

- relpath is broken under files/
- mkdirp was stolen from sbase
- strlcpy wrapper might be needed
2015-12-09 23:55:59 +01:00
Hiltjo Posthuma
0f5deec0a2 open repo: dont try to detect repos above the specified dir 2015-12-09 22:55:59 +01:00
Hiltjo Posthuma
e489408b99 walk revision by time and only "flat" 2015-12-09 22:55:34 +01:00
Eivind Uggedal
b634cfd860 Simplify diff markup
Remove <span> for inserted/deleted lines and use
the <a> for coloring.
2015-12-09 22:15:25 +01:00
Hiltjo Posthuma
21ffbb062e also free objects for haslicense and hasreadme checks, cleanup 2015-12-09 21:02:49 +01:00
Eivind Uggedal
5fdaca3a10 Free git objects 2015-12-09 20:48:56 +01:00
FRIGN
2aa0e2421b Remove hardcoded right-align
Dramatically reduces the filesize. There also was no reason to have
the aligns.
It now is even easier to read how many lines have changed in the commits
and given the table doesn't expand itself over the size of its entries,
we're cool anyway.
2015-12-08 00:34:32 +01:00
Hiltjo Posthuma
52520a4289 prettification 2015-12-07 23:54:31 +01:00
Hiltjo Posthuma
f69f33eb3c log: reorder time as first column 2015-12-07 23:23:00 +01:00
Hiltjo Posthuma
1d9324a87e truncate message in log, shorter time format 2015-12-07 23:22:45 +01:00
Hiltjo Posthuma
c5c6741b0a simplify time format 2015-12-07 23:22:18 +01:00
Hiltjo Posthuma
9c1862ccda rework code, "cache" commit data in struct commitinfo 2015-12-07 23:00:07 +01:00
Hiltjo Posthuma
1b4f30ba2e cleanup + some better error handling 2015-12-07 21:35:18 +01:00
Hiltjo Posthuma
a0dbff9161 performance tweak: check if commit file exists, if so skip 2015-12-07 21:34:53 +01:00
Hiltjo Posthuma
8de7a32f07 logo is 32x32 2015-12-07 21:20:59 +01:00
Hiltjo Posthuma
86c970e1ec style: center menu and make title smaller 2015-12-07 21:19:30 +01:00
Hiltjo Posthuma
55b823b226 fix when commit has no parent
also dont show parent when there is no id for it.
2015-12-07 21:16:28 +01:00
Hiltjo Posthuma
fe5855546a detect binary diff, comment index + delta header for now (broken) 2015-12-07 20:46:51 +01:00
Hiltjo Posthuma
18e6c1beda dont use reverse diff 2015-12-07 20:00:33 +01:00
Hiltjo Posthuma
a73ca0483c simplify + style fixes 2015-12-07 19:58:19 +01:00
Hiltjo Posthuma
673122b0d5 highlight/make bold some fields 2015-12-07 19:46:07 +01:00
Hiltjo Posthuma
a20e271f93 escape commit msg, dont indent it 2015-12-07 19:34:13 +01:00
Hiltjo Posthuma
9d26489084 fix relpath for files, small cleanup 2015-12-07 19:01:40 +01:00
Hiltjo Posthuma
9b10046464 fix: check readme and license before writing header 2015-12-07 19:00:53 +01:00
Hiltjo Posthuma
0808028312 improve HTML code 2015-12-07 19:00:30 +01:00
Hiltjo Posthuma
53d6b47cc2 make file in diff a link, make hunk and link anchor 2015-12-07 19:00:16 +01:00
Hiltjo Posthuma
ded9719afd commit: use simple shortstat 2015-12-07 18:59:30 +01:00
Hiltjo Posthuma
17f9f53ea0 make author e-mail a link 2015-12-07 18:59:13 +01:00
Hiltjo Posthuma
51ecd71d5f improve Atom feed 2015-12-07 18:58:39 +01:00
Hiltjo Posthuma
e3006c9373 improve header and footer 2015-12-07 18:57:46 +01:00
Hiltjo Posthuma
5215103888 print file as table, add link 2015-12-07 16:40:45 +01:00
Hiltjo Posthuma
45d8d2f430 add atom feed support + some fixes 2015-12-07 16:14:03 +01:00
Hiltjo Posthuma
77260d21f1 improve log, fix warnings 2015-12-07 15:22:47 +01:00
Hiltjo Posthuma
beb7a3b29d add diffstat 2015-12-07 14:26:35 +01:00
Hiltjo Posthuma
a95a439aaa initial diff support, fix log link 2015-12-07 14:07:58 +01:00
Hiltjo Posthuma
46eae58e35 read README and LICENSE from repo, escape as HTML 2015-12-06 22:34:56 +01:00
Hiltjo Posthuma
59912de009 fix menu separator if one or both of license or readme is missing 2015-12-05 21:11:26 +01:00
Hiltjo Posthuma
3872d9e902 detect name and description 2015-12-05 20:59:14 +01:00
Hiltjo Posthuma
7294b10b65 add README and LICENSE file-detection 2015-12-05 20:43:29 +01:00
Hiltjo Posthuma
415e3fdd55 rewrite in C with libgit2, first version 2015-12-05 20:22:57 +01:00