]> git.armaanb.net Git - stagit.git/log
stagit.git
8 years agoAlways use the compat functions
sin [Wed, 6 Jan 2016 17:05:46 +0000 (17:05 +0000)]
Always use the compat functions

8 years agoBring in reallocarray() from OpenBSD
sin [Wed, 6 Jan 2016 17:02:28 +0000 (17:02 +0000)]
Bring in reallocarray() from OpenBSD

8 years agouse git_reference for tags and branches, sort branches also
Hiltjo Posthuma [Wed, 6 Jan 2016 16:45:02 +0000 (17:45 +0100)]
use git_reference for tags and branches, sort branches also

this removes some lines and somewhat simplifies it

8 years agofix cast to uintmax_t
Hiltjo Posthuma [Wed, 6 Jan 2016 15:04:37 +0000 (16:04 +0100)]
fix cast to uintmax_t

8 years agoChange default MANPREFIX to be ${PREFIX}/man
sin [Wed, 6 Jan 2016 14:57:25 +0000 (14:57 +0000)]
Change default MANPREFIX to be ${PREFIX}/man

8 years agostagit-index: Strip per repo .git suffix from generated index
sin [Wed, 6 Jan 2016 14:46:40 +0000 (14:46 +0000)]
stagit-index: Strip per repo .git suffix from generated index

8 years agolookup commits of annotated tags
Hiltjo Posthuma [Wed, 6 Jan 2016 14:35:34 +0000 (15:35 +0100)]
lookup commits of annotated tags

NOTE: as described in the TODO this will be rewritten more cleanly
      later using git_reference_*.

8 years agofix warning, use intmax_t %ju, thanks stateless!
Hiltjo Posthuma [Wed, 6 Jan 2016 14:19:26 +0000 (15:19 +0100)]
fix warning, use intmax_t %ju, thanks stateless!

8 years agopremature version bumperation
Hiltjo Posthuma [Wed, 6 Jan 2016 10:56:52 +0000 (11:56 +0100)]
premature version bumperation

8 years agoimprove README
Hiltjo Posthuma [Wed, 6 Jan 2016 10:56:43 +0000 (11:56 +0100)]
improve README

8 years agoimprove Makefile
Hiltjo Posthuma [Wed, 6 Jan 2016 10:24:29 +0000 (11:24 +0100)]
improve Makefile

dist: add favicon.png, config.def.h and example.sh
install: install favicon.png and example.sh

8 years agotiny whitespace fix
Hiltjo Posthuma [Tue, 5 Jan 2016 21:32:11 +0000 (22:32 +0100)]
tiny whitespace fix

8 years agostagit-index: continue making list, but return error code
Hiltjo Posthuma [Tue, 5 Jan 2016 21:30:59 +0000 (22:30 +0100)]
stagit-index: continue making list, but return error code

8 years agofix relpath for log
Hiltjo Posthuma [Tue, 5 Jan 2016 20:43:26 +0000 (21:43 +0100)]
fix relpath for log

8 years agoclone url is one line, strip newline
Hiltjo Posthuma [Tue, 5 Jan 2016 20:43:14 +0000 (21:43 +0100)]
clone url is one line, strip newline

8 years agorefs: fix table id for tags
Hiltjo Posthuma [Tue, 5 Jan 2016 20:42:51 +0000 (21:42 +0100)]
refs: fix table id for tags

8 years agorefs: remove link, it may be broken for non-HEAD
Hiltjo Posthuma [Tue, 5 Jan 2016 20:42:34 +0000 (21:42 +0100)]
refs: remove link, it may be broken for non-HEAD

8 years agomake hunk line itself a link
Hiltjo Posthuma [Tue, 5 Jan 2016 20:42:10 +0000 (21:42 +0100)]
make hunk line itself a link

8 years agostyle: darkblue for hunk like cgit, hunk line is now a link
Hiltjo Posthuma [Tue, 5 Jan 2016 20:41:49 +0000 (21:41 +0100)]
style: darkblue for hunk like cgit, hunk line is now a link

8 years agostagit-index: owner is one line, strip newline
Hiltjo Posthuma [Tue, 5 Jan 2016 20:41:03 +0000 (21:41 +0100)]
stagit-index: owner is one line, strip newline

8 years agoexample.sh: make symlinks to style, icons and index by default
Hiltjo Posthuma [Tue, 5 Jan 2016 20:40:26 +0000 (21:40 +0100)]
example.sh: make symlinks to style, icons and index by default

8 years agorevert log.html to log/head.html change
Hiltjo Posthuma [Tue, 5 Jan 2016 20:04:07 +0000 (21:04 +0100)]
revert log.html to log/head.html change

8 years agofix newline after header
Hiltjo Posthuma [Tue, 5 Jan 2016 20:03:39 +0000 (21:03 +0100)]
fix newline after header

8 years agofix link to commit from log page
Hiltjo Posthuma [Mon, 4 Jan 2016 22:55:39 +0000 (23:55 +0100)]
fix link to commit from log page

8 years agostagit: fix hunk header, thanks uggedal for reporting!
Hiltjo Posthuma [Mon, 4 Jan 2016 22:41:40 +0000 (23:41 +0100)]
stagit: fix hunk header, thanks uggedal for reporting!

8 years agoupdate TODO
Hiltjo Posthuma [Sun, 3 Jan 2016 21:44:05 +0000 (22:44 +0100)]
update TODO

8 years agofix link in stagit-index, update documentation, add TODO
Hiltjo Posthuma [Sun, 3 Jan 2016 21:42:00 +0000 (22:42 +0100)]
fix link in stagit-index, update documentation, add TODO

8 years agono log per branch
Hiltjo Posthuma [Sun, 3 Jan 2016 21:36:48 +0000 (22:36 +0100)]
no log per branch

rename log.html to log/HEAD.html, small code cleanup

8 years agorename refs to refs/branches
Hiltjo Posthuma [Sun, 3 Jan 2016 20:45:53 +0000 (21:45 +0100)]
rename refs to refs/branches

8 years agorefs: add link to log per branch
Hiltjo Posthuma [Sun, 3 Jan 2016 20:21:30 +0000 (21:21 +0100)]
refs: add link to log per branch

8 years agorefs: dont make a table when there are no tags, add spacing between
Hiltjo Posthuma [Sun, 3 Jan 2016 20:15:13 +0000 (21:15 +0100)]
refs: dont make a table when there are no tags, add spacing between

8 years agoadd refs page (branches and tags)
Hiltjo Posthuma [Sun, 3 Jan 2016 20:06:03 +0000 (21:06 +0100)]
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

8 years agoimprove README
Hiltjo Posthuma [Sun, 27 Dec 2015 18:05:45 +0000 (19:05 +0100)]
improve README

8 years agoadd stagit.c
Hiltjo Posthuma [Sat, 26 Dec 2015 20:07:47 +0000 (21:07 +0100)]
add stagit.c

8 years agorename urmoms to stagit, improve documentation
Hiltjo Posthuma [Sat, 26 Dec 2015 20:05:55 +0000 (21:05 +0100)]
rename urmoms to stagit, improve documentation

8 years agonvm, dont strip .git from bare repos
Hiltjo Posthuma [Sat, 26 Dec 2015 19:58:28 +0000 (20:58 +0100)]
nvm, dont strip .git from bare repos

8 years agoadd example script to make repo index and files per dir
Hiltjo Posthuma [Sat, 26 Dec 2015 19:46:33 +0000 (20:46 +0100)]
add example script to make repo index and files per dir

8 years agorename EXTRAOBJ to COMPATOBJ
Hiltjo Posthuma [Sat, 26 Dec 2015 19:11:59 +0000 (20:11 +0100)]
rename EXTRAOBJ to COMPATOBJ

8 years agoMakefile: link for COMPAT
Hiltjo Posthuma [Sat, 26 Dec 2015 12:08:41 +0000 (13:08 +0100)]
Makefile: link for COMPAT

8 years agoadd compat.h
Hiltjo Posthuma [Sat, 26 Dec 2015 12:01:41 +0000 (13:01 +0100)]
add compat.h

8 years agostrip suffix .git used typically for bare repos
Hiltjo Posthuma [Sat, 26 Dec 2015 11:57:33 +0000 (12:57 +0100)]
strip suffix .git used typically for bare repos

8 years agohumanreadable filemodes (code from sbase ls)
Hiltjo Posthuma [Sat, 26 Dec 2015 11:57:14 +0000 (12:57 +0100)]
humanreadable filemodes (code from sbase ls)

8 years agoalign filesize header right, minor code-style
Hiltjo Posthuma [Sat, 26 Dec 2015 11:56:56 +0000 (12:56 +0100)]
align filesize header right, minor code-style

8 years agofix dirname for glibc
Hiltjo Posthuma [Sat, 26 Dec 2015 11:56:23 +0000 (12:56 +0100)]
fix dirname for glibc

8 years agoallow to specify clone url, displayed in header
Hiltjo Posthuma [Sat, 26 Dec 2015 11:55:59 +0000 (12:55 +0100)]
allow to specify clone url, displayed in header

8 years agoupdate TODO
Hiltjo Posthuma [Sat, 26 Dec 2015 11:54:44 +0000 (12:54 +0100)]
update TODO

8 years agoindex: highlight row on mouseover
Hiltjo Posthuma [Sat, 26 Dec 2015 11:54:09 +0000 (12:54 +0100)]
index: highlight row on mouseover

8 years agoremove TODO from code, see TODO file
Hiltjo Posthuma [Fri, 25 Dec 2015 16:49:54 +0000 (17:49 +0100)]
remove TODO from code, see TODO file

8 years agoREADME: atleast libgit2 v0.22 is required (API)
Hiltjo Posthuma [Fri, 25 Dec 2015 16:49:03 +0000 (17:49 +0100)]
README: atleast libgit2 v0.22 is required (API)

update TODO

8 years agocompat: add strlcpy, strlcat, for glibc
Hiltjo Posthuma [Fri, 25 Dec 2015 16:48:46 +0000 (17:48 +0100)]
compat: add strlcpy, strlcat, for glibc

8 years agofix libgit2 include, it is in the include path
Hiltjo Posthuma [Thu, 24 Dec 2015 19:58:22 +0000 (20:58 +0100)]
fix libgit2 include, it is in the include path

8 years agoremove double newline bloat
Hiltjo Posthuma [Sun, 20 Dec 2015 20:49:23 +0000 (21:49 +0100)]
remove double newline bloat

8 years agoupdate README and improve man pages
Hiltjo Posthuma [Sun, 20 Dec 2015 20:34:40 +0000 (21:34 +0100)]
update README and improve man pages

8 years agourmoms-index: kill some lines
Hiltjo Posthuma [Sun, 20 Dec 2015 20:13:54 +0000 (21:13 +0100)]
urmoms-index: kill some lines

8 years agorewrite writefiles, now works with bare repos
Hiltjo Posthuma [Sun, 20 Dec 2015 19:42:53 +0000 (20:42 +0100)]
rewrite writefiles, now works with bare repos

dont use the index but get the tree by the last commit id (revparse HEAD).

8 years agoREADME: add install and dependencies instructions
Hiltjo Posthuma [Sun, 20 Dec 2015 19:42:31 +0000 (20:42 +0100)]
README: add install and dependencies instructions

8 years agostyle.css: maximize contrast for text
Hiltjo Posthuma [Sun, 20 Dec 2015 19:42:16 +0000 (20:42 +0100)]
style.css: maximize contrast for text

8 years agoupdate TODO
Hiltjo Posthuma [Sun, 20 Dec 2015 16:11:34 +0000 (17:11 +0100)]
update TODO

8 years agoadd urmoms-index, initial version
Hiltjo Posthuma [Sun, 20 Dec 2015 16:11:25 +0000 (17:11 +0100)]
add urmoms-index, initial version

8 years agowritelog: remove return value, it was unused
Hiltjo Posthuma [Sun, 20 Dec 2015 16:11:06 +0000 (17:11 +0100)]
writelog: remove return value, it was unused

8 years agoimprove fopen flag: remove b and r+ in some case
Hiltjo Posthuma [Sun, 20 Dec 2015 16:10:07 +0000 (17:10 +0100)]
improve fopen flag: remove b and r+ in some case

don't require rw rights for just reading

8 years agouse relative url in header, escape name and description too
Hiltjo Posthuma [Sun, 20 Dec 2015 16:09:51 +0000 (17:09 +0100)]
use relative url in header, escape name and description too

8 years agoset diff options
Hiltjo Posthuma [Thu, 17 Dec 2015 21:59:19 +0000 (22:59 +0100)]
set diff options

8 years agofree the tree
Hiltjo Posthuma [Thu, 17 Dec 2015 21:56:32 +0000 (22:56 +0100)]
free the tree

8 years agofile_size is uint32_t on latest libgit2, thanks uggedal for reporting it!
Hiltjo Posthuma [Thu, 17 Dec 2015 18:53:07 +0000 (19:53 +0100)]
file_size is uint32_t on latest libgit2, thanks uggedal for reporting it!

8 years agoAdd config.def.h and make summary length configurable
FRIGN [Mon, 14 Dec 2015 11:49:23 +0000 (12:49 +0100)]
Add config.def.h and make summary length configurable

8 years agoDynamic relpath for blob pages
Eivind Uggedal [Fri, 11 Dec 2015 10:03:19 +0000 (10:03 +0000)]
Dynamic relpath for blob pages

8 years agoRight align numbers in tables
Eivind Uggedal [Thu, 10 Dec 2015 22:35:39 +0000 (22:35 +0000)]
Right align numbers in tables

8 years agoLine numbers on blob pages
Eivind Uggedal [Thu, 10 Dec 2015 22:24:18 +0000 (22:24 +0000)]
Line numbers on blob pages

8 years agofix warning
Hiltjo Posthuma [Thu, 10 Dec 2015 18:51:15 +0000 (19:51 +0100)]
fix warning

8 years agofile page improvements
Eivind Uggedal [Thu, 10 Dec 2015 18:13:08 +0000 (18:13 +0000)]
file page improvements

- header with filename and size
- handle binary files
- small style changes

8 years agofix warning + minor style
Hiltjo Posthuma [Wed, 9 Dec 2015 22:56:42 +0000 (23:56 +0100)]
fix warning + minor style

8 years agoWrite blobs to files/
Eivind Uggedal [Wed, 9 Dec 2015 22:46:00 +0000 (22:46 +0000)]
Write blobs to files/

This is work in progress:

- relpath is broken under files/
- mkdirp was stolen from sbase
- strlcpy wrapper might be needed

8 years agoMake border solid
FRIGN [Wed, 9 Dec 2015 22:48:20 +0000 (23:48 +0100)]
Make border solid

8 years agoupdate TODO
Hiltjo Posthuma [Wed, 9 Dec 2015 22:02:43 +0000 (23:02 +0100)]
update TODO

8 years agoopen repo: dont try to detect repos above the specified dir
Hiltjo Posthuma [Wed, 9 Dec 2015 21:55:59 +0000 (22:55 +0100)]
open repo: dont try to detect repos above the specified dir

8 years agowalk revision by time and only "flat"
Hiltjo Posthuma [Wed, 9 Dec 2015 21:55:34 +0000 (22:55 +0100)]
walk revision by time and only "flat"

8 years agoSimplify diff markup
Eivind Uggedal [Wed, 9 Dec 2015 09:43:20 +0000 (09:43 +0000)]
Simplify diff markup

Remove <span> for inserted/deleted lines and use
the <a> for coloring.

8 years agoSimplify style and make output more legible
Eivind Uggedal [Wed, 9 Dec 2015 08:30:49 +0000 (08:30 +0000)]
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.

8 years agoalso free objects for haslicense and hasreadme checks, cleanup
Hiltjo Posthuma [Wed, 9 Dec 2015 20:02:49 +0000 (21:02 +0100)]
also free objects for haslicense and hasreadme checks, cleanup

8 years agoFree git objects
Eivind Uggedal [Wed, 9 Dec 2015 12:31:20 +0000 (12:31 +0000)]
Free git objects

8 years agoAdd myself to LICENSE
FRIGN [Mon, 7 Dec 2015 23:36:06 +0000 (00:36 +0100)]
Add myself to LICENSE

8 years agoRemove hardcoded right-align
FRIGN [Mon, 7 Dec 2015 23:34:32 +0000 (00:34 +0100)]
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.

8 years agoAdd pre
FRIGN [Mon, 7 Dec 2015 23:23:58 +0000 (00:23 +0100)]
Add pre

Actually, we still have <pre>.

8 years agoRefactor style.css
FRIGN [Mon, 7 Dec 2015 23:17:48 +0000 (00:17 +0100)]
Refactor style.css

We have no <pre> anymore.

8 years agoprettification
Hiltjo Posthuma [Mon, 7 Dec 2015 22:54:31 +0000 (23:54 +0100)]
prettification

8 years agolog: reorder time as first column
Hiltjo Posthuma [Mon, 7 Dec 2015 22:23:00 +0000 (23:23 +0100)]
log: reorder time as first column

8 years agotruncate message in log, shorter time format
Hiltjo Posthuma [Mon, 7 Dec 2015 22:22:45 +0000 (23:22 +0100)]
truncate message in log, shorter time format

8 years agosimplify time format
Hiltjo Posthuma [Mon, 7 Dec 2015 22:22:18 +0000 (23:22 +0100)]
simplify time format

8 years agoupdate TODO
Hiltjo Posthuma [Mon, 7 Dec 2015 22:01:09 +0000 (23:01 +0100)]
update TODO

8 years agorework code, "cache" commit data in struct commitinfo
Hiltjo Posthuma [Mon, 7 Dec 2015 22:00:07 +0000 (23:00 +0100)]
rework code, "cache" commit data in struct commitinfo

8 years agocleanup + some better error handling
Hiltjo Posthuma [Mon, 7 Dec 2015 20:35:18 +0000 (21:35 +0100)]
cleanup + some better error handling

8 years agoperformance tweak: check if commit file exists, if so skip
Hiltjo Posthuma [Mon, 7 Dec 2015 20:34:53 +0000 (21:34 +0100)]
performance tweak: check if commit file exists, if so skip

8 years agologo is 32x32
Hiltjo Posthuma [Mon, 7 Dec 2015 20:20:59 +0000 (21:20 +0100)]
logo is 32x32

8 years agostyle: center menu and make title smaller
Hiltjo Posthuma [Mon, 7 Dec 2015 20:19:30 +0000 (21:19 +0100)]
style: center menu and make title smaller

8 years agofix when commit has no parent
Hiltjo Posthuma [Mon, 7 Dec 2015 20:16:28 +0000 (21:16 +0100)]
fix when commit has no parent

also dont show parent when there is no id for it.

8 years agoupdate README with basic usage
Hiltjo Posthuma [Mon, 7 Dec 2015 19:53:48 +0000 (20:53 +0100)]
update README with basic usage

8 years agoupdate TODO
Hiltjo Posthuma [Mon, 7 Dec 2015 19:46:59 +0000 (20:46 +0100)]
update TODO

8 years agodetect binary diff, comment index + delta header for now (broken)
Hiltjo Posthuma [Mon, 7 Dec 2015 19:46:51 +0000 (20:46 +0100)]
detect binary diff, comment index + delta header for now (broken)

8 years agodont use reverse diff
Hiltjo Posthuma [Mon, 7 Dec 2015 19:00:33 +0000 (20:00 +0100)]
dont use reverse diff