Commit graph

107 commits

Author SHA1 Message Date
Hiltjo Posthuma
00fb6ea2b0 fix link in stagit-index, update documentation, add TODO 2016-01-03 22:42:00 +01:00
Hiltjo Posthuma
f96ac27087 no log per branch
rename log.html to log/HEAD.html, small code cleanup
2016-01-03 22:36:48 +01:00
Hiltjo Posthuma
043609742f rename refs to refs/branches 2016-01-03 21:45:53 +01:00
Hiltjo Posthuma
a83a75bb18 refs: add link to log per branch 2016-01-03 21:21:30 +01:00
Hiltjo Posthuma
465d72a6d2 refs: dont make a table when there are no tags, add spacing between 2016-01-03 21:15:13 +01:00
Hiltjo Posthuma
e10f79ad2a add refs page (branches and tags)
quite some code is added, this will be cleaned up in a following code iteration.

- make sure to free some more allocated git objects.
- use fputs() asmuch as possible instead of fprintf().
- code cleanup
2016-01-03 21:06:03 +01:00
Hiltjo Posthuma
c226554b64 improve README 2015-12-27 19:05:45 +01:00
Hiltjo Posthuma
ef3f1ef854 add stagit.c 2015-12-26 21:07:47 +01:00
Hiltjo Posthuma
81dd454368 rename urmoms to stagit, improve documentation 2015-12-26 21:05:55 +01:00
Hiltjo Posthuma
8c58750b63 nvm, dont strip .git from bare repos 2015-12-26 20:58:28 +01:00
Hiltjo Posthuma
781beb4950 add example script to make repo index and files per dir 2015-12-26 20:46:33 +01:00
Hiltjo Posthuma
114899a22d rename EXTRAOBJ to COMPATOBJ 2015-12-26 20:11:59 +01:00
Hiltjo Posthuma
664e60ede5 Makefile: link for COMPAT 2015-12-26 13:08:41 +01:00
Hiltjo Posthuma
597e3cdbed add compat.h 2015-12-26 13:01:41 +01:00
Hiltjo Posthuma
e4e03b3bf9 strip suffix .git used typically for bare repos 2015-12-26 12:57:33 +01:00
Hiltjo Posthuma
3da41fa5dd humanreadable filemodes (code from sbase ls) 2015-12-26 12:57:14 +01:00
Hiltjo Posthuma
a7dd8c5f08 align filesize header right, minor code-style 2015-12-26 12:56:56 +01:00
Hiltjo Posthuma
9c7e2c5678 fix dirname for glibc 2015-12-26 12:56:23 +01:00
Hiltjo Posthuma
1778cba979 allow to specify clone url, displayed in header 2015-12-26 12:55:59 +01:00
Hiltjo Posthuma
955c3779ef update TODO 2015-12-26 12:54:44 +01:00
Hiltjo Posthuma
63a71643d0 index: highlight row on mouseover 2015-12-26 12:54:09 +01:00
Hiltjo Posthuma
9295d3f190 remove TODO from code, see TODO file 2015-12-25 17:49:54 +01:00
Hiltjo Posthuma
1cc9f5fcb1 README: atleast libgit2 v0.22 is required (API)
update TODO
2015-12-25 17:49:03 +01:00
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