]> git.armaanb.net Git - stagit.git/log
stagit.git
3 years agoFix README in Makefile
Armaan Bhojwani [Tue, 6 Apr 2021 01:57:36 +0000 (21:57 -0400)]
Fix README in Makefile

3 years agoExpress file sizes in human readable format
Armaan Bhojwani [Tue, 6 Apr 2021 01:56:55 +0000 (21:56 -0400)]
Express file sizes in human readable format

3 years agoConvert README to Markdown
Armaan Bhojwani [Tue, 6 Apr 2021 00:45:39 +0000 (20:45 -0400)]
Convert README to Markdown

3 years agoRender .md files with cmark-gfm
Armaan Bhojwani [Tue, 6 Apr 2021 00:13:12 +0000 (20:13 -0400)]
Render .md files with cmark-gfm

3 years agoMake line numbers more subdued
Armaan Bhojwani [Mon, 5 Apr 2021 22:30:38 +0000 (18:30 -0400)]
Make line numbers more subdued

3 years agoRemove file name from first line
Armaan Bhojwani [Mon, 5 Apr 2021 22:27:25 +0000 (18:27 -0400)]
Remove file name from first line

3 years agoCopy files.html to index.html
Armaan Bhojwani [Mon, 5 Apr 2021 22:26:04 +0000 (18:26 -0400)]
Copy files.html to index.html

3 years agostagit: generate tar archive for each repo
Armaan Bhojwani [Mon, 5 Apr 2021 22:22:12 +0000 (18:22 -0400)]
stagit: generate tar archive for each repo

3 years agoPut description in its own <tr>
Armaan Bhojwani [Mon, 5 Apr 2021 21:14:27 +0000 (17:14 -0400)]
Put description in its own <tr>

3 years agoMake all pre tags pre-wrapped
Armaan Bhojwani [Mon, 5 Apr 2021 18:47:45 +0000 (14:47 -0400)]
Make all pre tags pre-wrapped

3 years agoFix indentation
Armaan Bhojwani [Mon, 5 Apr 2021 18:02:52 +0000 (14:02 -0400)]
Fix indentation

3 years agoAdd pre-wrap css style
Armaan Bhojwani [Mon, 5 Apr 2021 17:54:53 +0000 (13:54 -0400)]
Add pre-wrap css style

3 years agoRemove minified CSS
Armaan Bhojwani [Mon, 5 Apr 2021 15:46:40 +0000 (11:46 -0400)]
Remove minified CSS

3 years agoRemove PNGs
Armaan Bhojwani [Mon, 5 Apr 2021 15:02:25 +0000 (11:02 -0400)]
Remove PNGs

3 years agoUpdate README
Armaan Bhojwani [Mon, 5 Apr 2021 15:01:29 +0000 (11:01 -0400)]
Update README

3 years agostagit-index: change title to h1
Armaan Bhojwani [Mon, 5 Apr 2021 15:00:33 +0000 (11:00 -0400)]
stagit-index: change title to h1

3 years agoSwitch to Chroma for syntax highlighting
Armaan Bhojwani [Mon, 5 Apr 2021 14:10:17 +0000 (10:10 -0400)]
Switch to Chroma for syntax highlighting

3 years agoDocument previous commit
Armaan Bhojwani [Mon, 8 Mar 2021 19:06:18 +0000 (14:06 -0500)]
Document previous commit

3 years agoWrite index to index.html instead of stdout
Armaan Bhojwani [Mon, 8 Mar 2021 19:04:37 +0000 (14:04 -0500)]
Write index to index.html instead of stdout

3 years agoCopy css in stagit-index
Armaan Bhojwani [Mon, 8 Mar 2021 15:31:42 +0000 (10:31 -0500)]
Copy css in stagit-index

3 years agoRestructure repo
Armaan Bhojwani [Mon, 8 Mar 2021 14:39:49 +0000 (09:39 -0500)]
Restructure repo

3 years agoUpdate date on manpages
Armaan Bhojwani [Mon, 8 Mar 2021 14:13:12 +0000 (09:13 -0500)]
Update date on manpages

3 years agoUse /usr/local/share
Armaan Bhojwani [Mon, 8 Mar 2021 14:11:20 +0000 (09:11 -0500)]
Use /usr/local/share

3 years agoUpdate documentation
Armaan Bhojwani [Sun, 7 Mar 2021 14:22:13 +0000 (09:22 -0500)]
Update documentation

3 years agoUse minified stylesheet
Armaan Bhojwani [Sun, 7 Mar 2021 14:15:09 +0000 (09:15 -0500)]
Use minified stylesheet

3 years agoImplement cp function instead of system(cp)
Armaan Bhojwani [Sun, 7 Mar 2021 14:13:37 +0000 (09:13 -0500)]
Implement cp function instead of system(cp)

3 years agoUpdate .gitignore
Armaan Bhojwani [Sun, 7 Mar 2021 14:13:26 +0000 (09:13 -0500)]
Update .gitignore

3 years agoFirst commit
Armaan Bhojwani [Sat, 6 Mar 2021 23:22:28 +0000 (18:22 -0500)]
First commit

Lots of cleanup and playing around with things

3 years agoChange default tab-size to 4.
Demonstrandum [Sat, 6 Feb 2021 16:35:34 +0000 (16:35 +0000)]
Change default tab-size to 4.

3 years agoLink index.html to log.html, being the default page.
Demonstrandum [Thu, 6 Aug 2020 16:23:58 +0000 (17:23 +0100)]
Link index.html to log.html, being the default page.

3 years agoAdd cachefile for each repo.
Demonstrandum [Thu, 6 Aug 2020 16:18:51 +0000 (17:18 +0100)]
Add cachefile for each repo.

3 years agoRender tasklists.
Demonstrandum [Thu, 6 Aug 2020 03:09:38 +0000 (04:09 +0100)]
Render tasklists.

3 years agoUnderline h{1,2}
Demonstrandum [Thu, 6 Aug 2020 02:51:23 +0000 (03:51 +0100)]
Underline h{1,2}

3 years agoBetter markup CSS.
Demonstrandum [Thu, 6 Aug 2020 02:38:36 +0000 (03:38 +0100)]
Better markup CSS.

3 years agoMove markdown article outside blob.
Demonstrandum [Thu, 6 Aug 2020 02:24:52 +0000 (03:24 +0100)]
Move markdown article outside blob.

3 years agoAdd markdown rendering.
Demonstrandum [Thu, 6 Aug 2020 02:19:30 +0000 (03:19 +0100)]
Add markdown rendering.

3 years agoUpdate style.
Demonstrandum [Thu, 6 Aug 2020 01:26:28 +0000 (02:26 +0100)]
Update style.

3 years agoPass in filename not fpath.
Demonstrandum [Thu, 6 Aug 2020 01:00:57 +0000 (02:00 +0100)]
Pass in filename not fpath.

3 years agoAdded syntax highlighting.
Demonstrandum [Thu, 6 Aug 2020 00:55:22 +0000 (01:55 +0100)]
Added syntax highlighting.

3 years agoDitch linguist and switch to python.
Demonstrandum [Thu, 6 Aug 2020 00:22:47 +0000 (01:22 +0100)]
Ditch linguist and switch to python.

3 years agoRedirect stdout to correct file.
Demonstrandum [Wed, 5 Aug 2020 21:50:38 +0000 (22:50 +0100)]
Redirect stdout to correct file.

3 years agoFix highlight script location.
Demonstrandum [Wed, 5 Aug 2020 21:22:12 +0000 (22:22 +0100)]
Fix highlight script location.

3 years agoFileBlob wrapper.
Demonstrandum [Wed, 5 Aug 2020 21:04:18 +0000 (22:04 +0100)]
FileBlob wrapper.

3 years agoAdd synatx highlighting with Pygment.
Demonstrandum [Wed, 5 Aug 2020 19:43:12 +0000 (20:43 +0100)]
Add synatx highlighting with Pygment.

3 years agoFix ownership of generated files.
Demonstrandum [Wed, 29 Jul 2020 22:09:26 +0000 (23:09 +0100)]
Fix ownership of generated files.

3 years agoUpdate logo.
Demonstrandum [Wed, 8 Jul 2020 18:31:01 +0000 (19:31 +0100)]
Update logo.

3 years agoMake website more mobile friendly.
Demonstrandum [Sun, 5 Jul 2020 15:04:38 +0000 (16:04 +0100)]
Make website more mobile friendly.

3 years agoProperly cut .git out of name.
Demonstrandum [Fri, 3 Jul 2020 14:53:08 +0000 (15:53 +0100)]
Properly cut .git out of name.

3 years agoEmpty padding.
Demonstrandum [Wed, 1 Jul 2020 16:52:04 +0000 (17:52 +0100)]
Empty padding.

3 years agoChange 'Commit message' -> 'Commit'
Demonstrandum [Wed, 1 Jul 2020 16:34:24 +0000 (17:34 +0100)]
Change 'Commit message' -> 'Commit'

3 years agoMore verbose repo-gen.sh
Demonstrandum [Wed, 1 Jul 2020 16:17:06 +0000 (17:17 +0100)]
More verbose repo-gen.sh

3 years agoChange bin to .out file.
Demonstrandum [Wed, 1 Jul 2020 15:59:08 +0000 (16:59 +0100)]
Change bin to .out file.

3 years agoUse local stagit build.
Demonstrandum [Wed, 1 Jul 2020 15:52:20 +0000 (16:52 +0100)]
Use local stagit build.

3 years agoUpdate to neutral logo and favicon.
Demonstrandum [Wed, 1 Jul 2020 15:37:27 +0000 (16:37 +0100)]
Update to neutral logo and favicon.

3 years agoChanged README to say this is a fork.
Demonstrandum [Wed, 1 Jul 2020 15:33:39 +0000 (16:33 +0100)]
Changed README to say this is a fork.

3 years agoInitial changes.
sfdk [Wed, 1 Jul 2020 15:26:18 +0000 (15:26 +0000)]
Initial changes.

4 years agobump version to 0.9.3
Hiltjo Posthuma [Sun, 23 Feb 2020 19:30:46 +0000 (20:30 +0100)]
bump version to 0.9.3

4 years agoatom.xml: improve output format a bit
Hiltjo Posthuma [Fri, 21 Feb 2020 12:46:23 +0000 (13:46 +0100)]
atom.xml: improve output format a bit

4 years agoimprove includes, stagit-index does not need compat.h
Hiltjo Posthuma [Wed, 12 Feb 2020 22:20:25 +0000 (23:20 +0100)]
improve includes, stagit-index does not need compat.h

4 years agostyle.css: highlight anchor ids, useful for linking highlighting lines in a diff
Hiltjo Posthuma [Sun, 29 Dec 2019 18:02:04 +0000 (19:02 +0100)]
style.css: highlight anchor ids, useful for linking highlighting lines in a diff

4 years agosmall code-style white-space/newline
Hiltjo Posthuma [Sun, 22 Dec 2019 11:53:54 +0000 (12:53 +0100)]
small code-style white-space/newline

4 years agoadd OpenBSD unveil support
Hiltjo Posthuma [Sun, 1 Dec 2019 17:31:07 +0000 (18:31 +0100)]
add OpenBSD unveil support

The unveil() system call first appeared in OpenBSD 6.4.

For stagit it has the following properties now:

- stagit-index: only read-access to the file-system for the specified
  directories/repositories.
- stagit: read-access to the specified directory/repository.
  read-write and creation access to the current directory for the output files.
  read-write and creation access to the specified cache file.

4 years agosome README tweaks and rewording, reordering
Hiltjo Posthuma [Sun, 1 Dec 2019 17:26:27 +0000 (18:26 +0100)]
some README tweaks and rewording, reordering

4 years agoMakefile improvements
Hiltjo Posthuma [Sun, 1 Dec 2019 17:26:04 +0000 (18:26 +0100)]
Makefile improvements

- remove double -c in .c.o target.
- remove config.mk abstraction.
- change LIBS and INCS to LIBGIT_INC and LIBGIT_LIB.
- use system cflags and ldflags, but allow the same override rules for porters.

4 years agoREADME: works also on NetBSD
Leonardo Taccari [Sun, 5 May 2019 17:11:36 +0000 (19:11 +0200)]
README: works also on NetBSD

5 years agobump version to 0.9.2
Hiltjo Posthuma [Tue, 23 Apr 2019 18:53:05 +0000 (20:53 +0200)]
bump version to 0.9.2

5 years agoescape HTML in paths
Hiltjo Posthuma [Sat, 16 Mar 2019 12:07:58 +0000 (13:07 +0100)]
escape HTML in paths

- escape paths in diff line.
- escape path in anchor href attribute in files.html

5 years agopedantic snprintf() improvement
Hiltjo Posthuma [Sat, 9 Mar 2019 11:39:10 +0000 (12:39 +0100)]
pedantic snprintf() improvement

POSIX says:
"If an output error was encountered, these functions shall return a negative
value and set errno to indicate the error."

5 years agofix issues in example scripts
Hiltjo Posthuma [Fri, 1 Mar 2019 10:49:29 +0000 (11:49 +0100)]
fix issues in example scripts

- in case cd fails don't continue (don't write in previous directory).
- post-receive: quote $(pwd) in case it has spaces.

found by shellcheck tool.

5 years agobump version to 0.9.1
Hiltjo Posthuma [Fri, 22 Feb 2019 10:13:44 +0000 (11:13 +0100)]
bump version to 0.9.1

5 years agoMakefile: add DOCPREFIX for installing docs in ports
Hiltjo Posthuma [Sat, 9 Feb 2019 14:02:38 +0000 (15:02 +0100)]
Makefile: add DOCPREFIX for installing docs in ports

change installed doc from /usr/local/share/stagit to /usr/local/share/doc/stagit

5 years agochange order of commits in log from most recent to old to applied order
Hiltjo Posthuma [Thu, 7 Feb 2019 20:00:06 +0000 (21:00 +0100)]
change order of commits in log from most recent to old to applied order

5 years agofix compile: libgit2 0.28 changed giterr_last to git_error_last
Hiltjo Posthuma [Sun, 3 Feb 2019 14:24:34 +0000 (15:24 +0100)]
fix compile: libgit2 0.28 changed giterr_last to git_error_last

libgit2 commit:
https://github.com/libgit2/libgit2/commit/a27a4de6f8003961d38958893c6c637395c7cc04

5 years agobump version to 0.9
Hiltjo Posthuma [Tue, 25 Dec 2018 12:44:02 +0000 (13:44 +0100)]
bump version to 0.9

5 years agostyle: keep default browser style for links, except patch chunks
Hiltjo Posthuma [Tue, 25 Dec 2018 12:39:34 +0000 (13:39 +0100)]
style: keep default browser style for links, except patch chunks

This is almost always an underline. This improves accessibility.

Remove underline for patch chunks for readability.

5 years agoin the diffstat prefix the type of change, allow CSS styling
Hiltjo Posthuma [Sun, 18 Nov 2018 17:08:20 +0000 (18:08 +0100)]
in the diffstat prefix the type of change, allow CSS styling

5 years agodon't use a heuristic for renames, the content must match exactly
Hiltjo Posthuma [Sun, 18 Nov 2018 17:07:22 +0000 (18:07 +0100)]
don't use a heuristic for renames, the content must match exactly

this prevents showing files as renames when most (but not all) of the file was
changed.

5 years agodetect filetype changes in diff (for example a normal file to symlink)
Hiltjo Posthuma [Sun, 18 Nov 2018 17:06:41 +0000 (18:06 +0100)]
detect filetype changes in diff (for example a normal file to symlink)

5 years agodetect more names for README and LICENSE
Hiltjo Posthuma [Sun, 11 Nov 2018 17:23:28 +0000 (18:23 +0100)]
detect more names for README and LICENSE

- for license: LICENSE, LICENSE.md, COPYING.
- for readme: README, README.md.

5 years agodetect copies and renames based on the threshold of changes
Hiltjo Posthuma [Sun, 11 Nov 2018 17:09:27 +0000 (18:09 +0100)]
detect copies and renames based on the threshold of changes

5 years agosimplify range check
Hiltjo Posthuma [Sun, 19 Aug 2018 20:03:45 +0000 (22:03 +0200)]
simplify range check

5 years agostagit: log: indicate when using the -l option and there are more commits
Hiltjo Posthuma [Sun, 19 Aug 2018 12:06:19 +0000 (14:06 +0200)]
stagit: log: indicate when using the -l option and there are more commits

5 years agoassume OpenBSD 5.9+, always try pledge(2) on OpenBSD
Hiltjo Posthuma [Fri, 25 May 2018 16:43:36 +0000 (18:43 +0200)]
assume OpenBSD 5.9+, always try pledge(2) on OpenBSD

5 years agoClarify usage regarding -c and -l mutual exclusion
Quentin Rameau [Wed, 9 May 2018 16:51:08 +0000 (18:51 +0200)]
Clarify usage regarding -c and -l mutual exclusion

6 years agobump version to 0.8
Hiltjo Posthuma [Sat, 7 Apr 2018 12:14:35 +0000 (14:14 +0200)]
bump version to 0.8

6 years agostagit-index: pledge after git_libgit2_init
Hiltjo Posthuma [Fri, 6 Apr 2018 17:28:05 +0000 (19:28 +0200)]
stagit-index: pledge after git_libgit2_init

6 years agopledge after git_libgit2_init
Hiltjo Posthuma [Mon, 26 Mar 2018 18:08:19 +0000 (20:08 +0200)]
pledge after git_libgit2_init

this is because libgit uses curl which uses some initialization
checks, namely an IPv6 check which creates a socket.

6 years agooptimization: only diff the tree when it is needed for the diffstat...
Hiltjo Posthuma [Sun, 18 Mar 2018 14:34:37 +0000 (15:34 +0100)]
optimization: only diff the tree when it is needed for the diffstat...

... also clear all fields in the structure on failure.

This is not as big an optimization as stagit-gopher, because the diffstat is
displayed in the log, but the difference is still measurable.

6 years agoREADME: improve tarball generation by tag example
Hiltjo Posthuma [Sun, 28 Jan 2018 15:27:10 +0000 (16:27 +0100)]
README: improve tarball generation by tag example

- set the project name + '-' + tag name as prefix.
- allow '/' in the tag name.
- allow '-' as suffix in the tag.

6 years agostagit: add -l option: limit the amount of commits for the log.html file
Hiltjo Posthuma [Sun, 21 Jan 2018 15:47:10 +0000 (16:47 +0100)]
stagit: add -l option: limit the amount of commits for the log.html file

6 years agobump LICENSE to 2018
Hiltjo Posthuma [Sun, 21 Jan 2018 14:23:21 +0000 (15:23 +0100)]
bump LICENSE to 2018

6 years agostyle.css: improve compatibility with older browsers, namely dillo
Hiltjo Posthuma [Sat, 20 Jan 2018 12:18:27 +0000 (13:18 +0100)]
style.css: improve compatibility with older browsers, namely dillo

6 years agoRemove a non-portable syntax in Makefile
Quentin Rameau [Sat, 2 Dec 2017 18:04:22 +0000 (19:04 +0100)]
Remove a non-portable syntax in Makefile

6 years agoMakefile: bump version to 0.7.2
Hiltjo Posthuma [Sat, 25 Nov 2017 15:06:26 +0000 (16:06 +0100)]
Makefile: bump version to 0.7.2

6 years agopost-receive: fix warning in script for example when pushing deleted tags
Hiltjo Posthuma [Sat, 25 Nov 2017 15:02:24 +0000 (16:02 +0100)]
post-receive: fix warning in script for example when pushing deleted tags

the "new" variable would be zero:
remote: fatal: bad object 0000000000000000000000000000000000000000

NOTE: when pushing new tags the "old" variable would be zero, this was
      already fixed.

6 years agoSort style.css in alphabetical order
Aaron Marcher [Sat, 25 Nov 2017 11:09:56 +0000 (12:09 +0100)]
Sort style.css in alphabetical order

6 years agoMakefile: bump version to 0.7.1
Hiltjo Posthuma [Sun, 19 Nov 2017 13:58:15 +0000 (14:58 +0100)]
Makefile: bump version to 0.7.1

6 years agofix: add "fattr" pledge for chmod(2) for cachefile
Hiltjo Posthuma [Sun, 19 Nov 2017 13:52:04 +0000 (14:52 +0100)]
fix: add "fattr" pledge for chmod(2) for cachefile

improve checks for when head is NULL (empty repo)

6 years agoMakefile: bump version to 0.7
Hiltjo Posthuma [Sat, 18 Nov 2017 11:53:08 +0000 (12:53 +0100)]
Makefile: bump version to 0.7

6 years agoMakefile: remove unused $SCRIPTS
Hiltjo Posthuma [Sat, 11 Nov 2017 00:34:50 +0000 (01:34 +0100)]
Makefile: remove unused $SCRIPTS