Hiltjo Posthuma
55556b66bc
compat: add strlcpy, strlcat, for glibc
2015-12-25 17:48:46 +01:00
Hiltjo Posthuma
543e74e64f
fix libgit2 include, it is in the include path
2015-12-24 20:58:22 +01:00
Hiltjo Posthuma
ae620515b0
remove double newline bloat
2015-12-20 21:49:23 +01:00
Hiltjo Posthuma
b8fc56187e
update README and improve man pages
2015-12-20 21:34:40 +01:00
Hiltjo Posthuma
2e4ed81390
urmoms-index: kill some lines
2015-12-20 21:13:54 +01:00
Hiltjo Posthuma
75cba4e6fd
rewrite writefiles, now works with bare repos
...
dont use the index but get the tree by the last commit id (revparse HEAD).
2015-12-20 20:42:53 +01:00
Hiltjo Posthuma
09e1377c68
README: add install and dependencies instructions
2015-12-20 20:42:31 +01:00
Hiltjo Posthuma
304c896bd4
style.css: maximize contrast for text
2015-12-20 20:42:16 +01:00
Hiltjo Posthuma
5436dd7892
update TODO
2015-12-20 17:11:34 +01:00
Hiltjo Posthuma
7102cfd3f7
add urmoms-index, initial version
2015-12-20 17:11:25 +01:00
Hiltjo Posthuma
372fe8d86e
writelog: remove return value, it was unused
2015-12-20 17:11:06 +01:00
Hiltjo Posthuma
e01336e656
improve fopen flag: remove b and r+ in some case
...
don't require rw rights for just reading
2015-12-20 17:10:07 +01:00
Hiltjo Posthuma
2ab268d5b1
use relative url in header, escape name and description too
2015-12-20 17:09:51 +01:00
Hiltjo Posthuma
6414c8b212
set diff options
2015-12-17 22:59:19 +01:00
Hiltjo Posthuma
8ea5831438
free the tree
2015-12-17 22:56:32 +01:00
Hiltjo Posthuma
d073ffa0a2
file_size is uint32_t on latest libgit2, thanks uggedal for reporting it!
2015-12-17 19:53:07 +01:00
FRIGN
c3014aaaba
Add config.def.h and make summary length configurable
2015-12-14 12:49:58 +01:00
Eivind Uggedal
f33bca44bd
Dynamic relpath for blob pages
2015-12-11 12:36:17 +01:00
Eivind Uggedal
57d70b0a2d
Right align numbers in tables
2015-12-10 23:40:13 +01:00
Eivind Uggedal
0a4451bc15
Line numbers on blob pages
2015-12-10 23:29:49 +01:00
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
FRIGN
43a7d4dc2c
Make border solid
2015-12-09 23:48:20 +01:00
Hiltjo Posthuma
a0e2be52c1
update TODO
2015-12-09 23:02:43 +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
Eivind Uggedal
1363b8b51e
Simplify style and make output more legible
...
- Combines and removes some redundancy.
- Makes <hr> softer by using dashed lines.
- Removes <a> underlines since the file/log view
have tons of links and reading them is a bit
distracting. Underlines are added on hover.
- Makes diff headers darkcyan to match the default
command line colors and not conflict with new
<a> style.
2015-12-09 22:15:23 +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
db7fb9b2ae
Add myself to LICENSE
2015-12-08 00:36:06 +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
FRIGN
66e007efd3
Add pre
...
Actually, we still have <pre>.
2015-12-08 00:23:58 +01:00
FRIGN
afcb86a55d
Refactor style.css
...
We have no <pre> anymore.
2015-12-08 00:17:48 +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
b1ad5e2633
update TODO
2015-12-07 23:01:09 +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
a523491d6c
update README with basic usage
2015-12-07 20:53:48 +01:00
Hiltjo Posthuma
437d99fb0f
update TODO
2015-12-07 20:46:59 +01:00
Hiltjo Posthuma
fe5855546a
detect binary diff, comment index + delta header for now (broken)
2015-12-07 20:46:51 +01:00