Commit graph

224 commits

Author SHA1 Message Date
Hiltjo Posthuma
cd6a519813 Makefile: separate CPPFLAGS, compile optimized build by default 2016-03-20 16:23:33 +01:00
Hiltjo Posthuma
761417d254 improve make dist, thanks Quentin Rameau
based on a patch from Quentin with some additions.

- don't build before make dist
- package in directory: stagit-VERSION.
2016-03-20 15:36:21 +01:00
Hiltjo Posthuma
41c90a9173 premature version bumperation, 0.4 (unreleased) 2016-03-20 14:19:48 +01:00
FRIGN
6775e26ebd Choose better colors for the diff page
This makes it easier to read on the light background and is not as
straining in the eyes.
2016-03-01 19:14:10 +01:00
Hiltjo Posthuma
c379d65770 add titles to pages, summary for commit messages, filename for files 2016-03-01 19:14:00 +01:00
Hiltjo Posthuma
78c29a1de2 fix right-alignment of "Files" column 2016-02-26 19:59:11 +01:00
lostd
2b50046245 Use the recommended HTML5 document type. 2016-02-26 19:57:15 +01:00
Hiltjo Posthuma
ad22404903 check path truncation
be strict about it
2016-02-24 14:47:20 +01:00
Hiltjo Posthuma
f4f53c577e config.mk: add -D_DEFAULT_SOURCE to commented builds 2016-02-24 14:41:37 +01:00
Hiltjo Posthuma
8bf328befa atom feed: add link, move content order to bottom
NOTE: using relative links violates the Atom specification, but relative
links are convenient aswell.
2016-02-23 20:44:00 +01:00
Hiltjo Posthuma
5578784dda make printshowfile more generic and like other functions 2016-02-23 20:37:17 +01:00
Hiltjo Posthuma
ce535ae1af just use Name as first column, thanks quinq for the suggestion 2016-01-21 20:42:11 +01:00
Quentin Rameau
75b4b23c9f Rename “Age” column headers into “Date” 2016-01-21 20:38:47 +01:00
Quentin Rameau
502b95ce68 fix file tree handling
Do not forget to keep previous path when recursing or we end up with
filenames only.
2016-01-19 22:16:15 +01:00
z3bra
9693d1d1a9 use 'dirname' as error message for xdirname 2016-01-18 10:31:52 +00:00
Quentin Rameau
4f56d5dec6 fix file size byte unit suffix
Correct suffix for byte is B, b is for bit.
2016-01-13 21:58:08 +01:00
Quentin Rameau
d8bad43b3c stop glibc complaining about _BSD_SOURCE being deprecated 2016-01-13 21:58:08 +01:00
Quentin Rameau
79fab7c6fa replace file size with line count for text files
Keep the number of line when writing text blobs and print it in the
index file tree instead of the size. Still print the size otherwise.
2016-01-13 21:58:08 +01:00
sin
50dccf0e3b Rename Refs/branches to Refs 2016-01-13 18:57:18 +00:00
Hiltjo Posthuma
2296f5167c example.sh: fix: remove error mode, would stop if a dir was invalid
mkdir -p makes the directory always, so no need to check.
2016-01-08 22:17:54 +01:00
Hiltjo Posthuma
8983c802c1 example.sh: fix go to appropriate dir 2016-01-08 21:27:22 +01:00
Hiltjo Posthuma
934980659a implify and restructure code
- remove commit message and lines changed from refs page.
- resolve HEAD once.
- dont make filepath in writeblob()
2016-01-08 20:08:40 +01:00
Hiltjo Posthuma
efe16db1e5 stagit-index: clarify order of the list 2016-01-08 13:44:22 +01:00
Hiltjo Posthuma
fd66a29d3a example.sh: add index-time.html, list sorted by time, fix reposdir '/' 2016-01-08 13:44:22 +01:00
Hiltjo Posthuma
9a78132882 premature version bumperation (0.3) for git 2016-01-08 10:24:50 +01:00
Hiltjo Posthuma
3cc1509656 atom: add newline after date and before message 2016-01-07 17:37:25 +01:00
Hiltjo Posthuma
12a96d466d update man pages: document stripping of .git suffix 2016-01-06 20:06:06 +01:00
Hiltjo Posthuma
ede4982f67 strip .git suffix from name
also free stripped_name in the case of stagit-index
2016-01-06 20:06:06 +01:00
Hiltjo Posthuma
db02820a17 extra whitespace 2016-01-06 20:06:06 +01:00
sin
73f259f255 Update README - it also works on FreeBSD 2016-01-06 18:36:34 +00:00
Hiltjo Posthuma
c576a7ae6e style: vertical-align header text 2016-01-06 19:19:20 +01:00
Hiltjo Posthuma
3aa8ac2a1e update TODO 2016-01-06 19:14:59 +01:00
Hiltjo Posthuma
9978fecb18 refs: only make commit link work for tags 2016-01-06 19:13:51 +01:00
Hiltjo Posthuma
512a31e81f free obj 2016-01-06 19:11:11 +01:00
Hiltjo Posthuma
e45eac89b8 LICENSE: whoops its already 2016 2016-01-06 18:58:20 +01:00
Hiltjo Posthuma
94eba1c052 LICENSE: add dimitris to license/shareholder file 2016-01-06 18:55:25 +01:00
Hiltjo Posthuma
650d6c903c old leftover: dont create log dir 2016-01-06 18:53:51 +01:00
Hiltjo Posthuma
aa3b813f14 cleanup code a bit 2016-01-06 18:53:51 +01:00
Hiltjo Posthuma
6a427c75fc style.css: wrap description text, nowrap for rest
vertical align to the top of the cell, this makes it scale better to some smaller screens
2016-01-06 18:53:51 +01:00
sin
264aef81d5 Be more explicit when stripping the .git suffix 2016-01-06 17:45:57 +00:00
sin
cae9950407 No need for -D_POSIX_C_SOURCE=200809L
XOPEN is a superset.
2016-01-06 17:19:48 +00:00
sin
bd854ac71f Always use the compat functions 2016-01-06 17:07:47 +00:00
sin
2809fd3795 Bring in reallocarray() from OpenBSD 2016-01-06 17:03:42 +00:00
Hiltjo Posthuma
87360fe252 use git_reference for tags and branches, sort branches also
this removes some lines and somewhat simplifies it
2016-01-06 17:45:02 +01:00
Hiltjo Posthuma
c750958b95 fix cast to uintmax_t 2016-01-06 16:04:37 +01:00
sin
ee4c340ce6 Change default MANPREFIX to be ${PREFIX}/man 2016-01-06 14:57:54 +00:00
sin
f631d4ce70 stagit-index: Strip per repo .git suffix from generated index 2016-01-06 14:48:50 +00:00
Hiltjo Posthuma
d045340ea0 lookup commits of annotated tags
NOTE: as described in the TODO this will be rewritten more cleanly
      later using git_reference_*.
2016-01-06 15:35:34 +01:00
Hiltjo Posthuma
9128782aa8 fix warning, use intmax_t %ju, thanks stateless! 2016-01-06 15:19:26 +01:00
Hiltjo Posthuma
824526a656 premature version bumperation 2016-01-06 11:56:52 +01:00