stagit-gopher, branch HEADA git gopher frontend. (mirror)
61c4fd365ea5a5c70943b4ba9c98250b56b349242023-04-10T10:34:37Z2023-04-10T10:35:30Zin Atom (RFC4287) an atomTextConstruct specifies the type text as the defaultHiltjo Posthumahiltjo@codemadness.orgcommit 61c4fd365ea5a5c70943b4ba9c98250b56b34924
parent d8c4c2c3aa23b1237f15fc3ab539419c2368989e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 10 Apr 2023 12:34:37 +0200
in Atom (RFC4287) an atomTextConstruct specifies the type text as the default
This saves a few bytes.
d8c4c2c3aa23b1237f15fc3ab539419c2368989e2022-08-16T11:22:34Z2022-08-16T11:22:34Zprefix usage with the common prefix "usage: "Hiltjo Posthumahiltjo@codemadness.orgcommit d8c4c2c3aa23b1237f15fc3ab539419c2368989e
parent 9e4bfa14ce08e666da732606187647cca6410b05
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 16 Aug 2022 13:22:34 +0200
prefix usage with the common prefix "usage: "
9e4bfa14ce08e666da732606187647cca6410b052022-08-07T08:09:55Z2022-08-07T08:09:55Zbump version to 1.2Hiltjo Posthumahiltjo@codemadness.orgcommit 9e4bfa14ce08e666da732606187647cca6410b05
parent dc940cae641026d49ef94d021d7a335c5b3689b3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 7 Aug 2022 10:09:55 +0200
bump version to 1.2
dc940cae641026d49ef94d021d7a335c5b3689b32022-07-26T21:53:30Z2022-07-26T21:53:30Zuse the new escaping style in geomyidae for linksHiltjo Posthumahiltjo@codemadness.orgcommit dc940cae641026d49ef94d021d7a335c5b3689b3
parent a67bac151fe0a30eccfcf6593f1666d0995085db
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 26 Jul 2022 23:53:30 +0200
use the new escaping style in geomyidae for links
[| is now skipped. Escape entries only if needed, cleaning up the output a bit.
Lines starting with 't' don't need to be escaped.
a67bac151fe0a30eccfcf6593f1666d0995085db2022-07-26T21:51:29Z2022-07-26T21:51:29ZMakefile: add workaround for distros still using older libgit2 versionsHiltjo Posthumahiltjo@codemadness.orgcommit a67bac151fe0a30eccfcf6593f1666d0995085db
parent 858e1f2a79484adaf430dbd63a836a652fc7527b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 26 Jul 2022 23:51:29 +0200
Makefile: add workaround for distros still using older libgit2 versions
Noticed on Void Linux, Debian, etc.
858e1f2a79484adaf430dbd63a836a652fc7527b2022-05-27T19:30:01Z2022-05-27T19:30:01ZRevert "remain compatible with slightly older libgit versions for now"Hiltjo Posthumahiltjo@codemadness.orgcommit 858e1f2a79484adaf430dbd63a836a652fc7527b
parent bfb7d7d5cb974479e13ee07f254512a2e909abc1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 27 May 2022 21:30:01 +0200
Revert "remain compatible with slightly older libgit versions for now"
This reverts commit bfb7d7d5cb974479e13ee07f254512a2e909abc1.
Reported by Anton:
"The last commit[1] is not correct as GIT_OPT_SET_OWNER_VALIDATION is not
a preprocessor directive but rather an enum. Causing the branch to never
be entered."
bfb7d7d5cb974479e13ee07f254512a2e909abc12022-05-24T12:07:01Z2022-05-24T12:07:01Zremain compatible with slightly older libgit versions for nowHiltjo Posthumahiltjo@codemadness.orgcommit bfb7d7d5cb974479e13ee07f254512a2e909abc1
parent 8c74699abac4d2331eeb70c01c5b0367282a3281
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 24 May 2022 14:07:01 +0200
remain compatible with slightly older libgit versions for now
8c74699abac4d2331eeb70c01c5b0367282a32812022-05-24T09:09:18Z2022-05-24T09:09:18ZAllow git to run on an other user repositoryHiltjo Posthumahiltjo@codemadness.orgcommit 8c74699abac4d2331eeb70c01c5b0367282a3281
parent 9a8c60cb308d58cfc10d1ecfd6f6779bd8e806f5
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 24 May 2022 11:09:18 +0200
Allow git to run on an other user repository
Reported by Anton:
"Recent versions of libgit2 broke stagit for me due to the added opt-out
GIT_OPT_SET_OWNER_VALIDATION configuration knob. My repositories are owned by
root:vcs and I run stagit as another user which happens to be in vcs group but
not the owner of the repository. Disabling the validation makes stagit work as
expected again."
Some notes:
When using regular git it also provides a knob. This is due to a security
concern in some cases, which is not applicable to stagit.
git log somerepo
fatal: unsafe repository ('somerepo' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory somerepo
See also / related:
- https://github.blog/2022-04-12-git-security-vulnerability-announced/
9a8c60cb308d58cfc10d1ecfd6f6779bd8e806f52022-04-02T15:36:06Z2022-04-02T15:36:06Zbump version to 1.1Hiltjo Posthumahiltjo@codemadness.orgcommit 9a8c60cb308d58cfc10d1ecfd6f6779bd8e806f5
parent cbb963db3795ea24cd0d68f73b415f9fc48922cc
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 2 Apr 2022 17:36:06 +0200
bump version to 1.1
cbb963db3795ea24cd0d68f73b415f9fc48922cc2022-03-19T11:51:57Z2022-03-19T11:55:08Zimprove stream read and write error handlingHiltjo Posthumahiltjo@codemadness.orgcommit cbb963db3795ea24cd0d68f73b415f9fc48922cc
parent 1dd611d990843966e50b23dac30617d6aa5b2b2e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 19 Mar 2022 12:51:57 +0100
improve stream read and write error handling
1dd611d990843966e50b23dac30617d6aa5b2b2e2022-01-03T11:25:14Z2022-01-03T11:25:14Zbump LICENSE yearHiltjo Posthumahiltjo@codemadness.orgcommit 1dd611d990843966e50b23dac30617d6aa5b2b2e
parent 14e1c9b1fa56df83bb721805ca149fcc3a763d98
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 3 Jan 2022 12:25:14 +0100
bump LICENSE year
14e1c9b1fa56df83bb721805ca149fcc3a763d982022-01-03T11:24:55Z2022-01-03T11:24:55Zlibgit2 config opts: set the search to an empty pathHiltjo Posthumahiltjo@codemadness.orgcommit 14e1c9b1fa56df83bb721805ca149fcc3a763d98
parent 41cb87952c8f4bc9ddc983875a60080473040cae
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 3 Jan 2022 12:24:55 +0100
libgit2 config opts: set the search to an empty path
Otherwise this would search outside the unveiled paths and cause an unveil
violation.
Reported by Anton Lindqvist, thanks!
41cb87952c8f4bc9ddc983875a60080473040cae2021-11-30T17:13:10Z2021-11-30T17:13:10Zbump version to 1.0Hiltjo Posthumahiltjo@codemadness.orgcommit 41cb87952c8f4bc9ddc983875a60080473040cae
parent 42613555baad830fd0fe65798e22ac65c18129e9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 30 Nov 2021 18:13:10 +0100
bump version to 1.0
42613555baad830fd0fe65798e22ac65c18129e92021-11-16T20:10:02Z2021-11-16T20:10:45ZPrint the number of remaining commitsQuentin Rameauquinq@fifth.spacecommit 42613555baad830fd0fe65798e22ac65c18129e9
parent 9d738c87ca291d354f215c45469a6ba983474f73
Author: Quentin Rameau <quinq@fifth.space>
Date: Tue, 16 Nov 2021 21:10:02 +0100
Print the number of remaining commits
9d738c87ca291d354f215c45469a6ba983474f732021-08-03T17:23:14Z2021-08-03T17:24:19Zman pages: add EXAMPLES sectionHiltjo Posthumahiltjo@codemadness.orgcommit 9d738c87ca291d354f215c45469a6ba983474f73
parent a69ad4ac2fcece441b9e216377318cb31fb65577
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 3 Aug 2021 19:23:14 +0200
man pages: add EXAMPLES section
a69ad4ac2fcece441b9e216377318cb31fb655772021-07-30T23:10:10Z2021-07-30T23:10:10Zsmall typo fixes and url -> URLHiltjo Posthumahiltjo@codemadness.orgcommit a69ad4ac2fcece441b9e216377318cb31fb65577
parent 6cf66f825aad83e98a0a614a80c93a4d3bdd80b0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 31 Jul 2021 01:10:10 +0200
small typo fixes and url -> URL
6cf66f825aad83e98a0a614a80c93a4d3bdd80b02021-05-27T10:41:59Z2021-05-27T10:41:59Zbump version to 0.9.6Hiltjo Posthumahiltjo@codemadness.orgcommit 6cf66f825aad83e98a0a614a80c93a4d3bdd80b0
parent 0aa576b6396f79624f8375405044e2929874a9ee
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 27 May 2021 12:41:59 +0200
bump version to 0.9.6
0aa576b6396f79624f8375405044e2929874a9ee2021-05-18T09:47:15Z2021-05-18T09:47:15Zman page: codemadness is the primary server and fix mdoc dateHiltjo Posthumahiltjo@codemadness.orgcommit 0aa576b6396f79624f8375405044e2929874a9ee
parent 6cae0784a5747be0b48c8ab17555c12ea7b14df0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 18 May 2021 11:47:15 +0200
man page: codemadness is the primary server and fix mdoc date
6cae0784a5747be0b48c8ab17555c12ea7b14df02021-05-18T08:44:36Z2021-05-18T08:44:56ZREADME: improve a bit the usage examplesHiltjo Posthumahiltjo@codemadness.orgcommit 6cae0784a5747be0b48c8ab17555c12ea7b14df0
parent d02b5f776a63c8b808baa548b2cd574439bed547
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 18 May 2021 10:44:36 +0200
README: improve a bit the usage examples
Similar to the commit for stagit by quinq, thanks!
d02b5f776a63c8b808baa548b2cd574439bed5472021-05-05T17:20:21Z2021-05-05T17:20:21Zdo not simplify the history by first-parentHiltjo Posthumahiltjo@codemadness.orgcommit d02b5f776a63c8b808baa548b2cd574439bed547
parent f15e44cac3916d75969bbc56b3c2162b351e3d32
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 5 May 2021 19:20:21 +0200
do not simplify the history by first-parent
Reference:
https://libgit2.org/libgit2/#HEAD/group/revwalk/git_revwalk_simplify_first_parent
Noticed on merge commits on:
https://git.simple-cc.org/scc/
Reported by quinq, thanks!
f15e44cac3916d75969bbc56b3c2162b351e3d322021-03-14T15:23:37Z2021-03-14T15:23:37Zbump version to 0.9.5Hiltjo Posthumahiltjo@codemadness.orgcommit f15e44cac3916d75969bbc56b3c2162b351e3d32
parent 0bfdcd098140d52bd553364222df7ecf14621f70
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 14 Mar 2021 16:23:37 +0100
bump version to 0.9.5
0bfdcd098140d52bd553364222df7ecf14621f702021-03-13T17:13:18Z2021-03-13T17:13:18ZAtom feeds: remove the wrong content-type for <link>Hiltjo Posthumahiltjo@codemadness.orgcommit 0bfdcd098140d52bd553364222df7ecf14621f70
parent 8fd70151ae9c4015c33c9947b79b2072b021e310
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 13 Mar 2021 18:13:18 +0100
Atom feeds: remove the wrong content-type for <link>
The type is incorrectly set to "text/html". The attribute is optional as
described in the Atom standard. It's not entirely clear what the correct type
for gopher would be either, so remove it.
References:
https://tools.ietf.org/html/rfc4287
Section 4.2.7. The "atom:link" Element and section 4.2.7.3. The "type" Attribute.
8fd70151ae9c4015c33c9947b79b2072b021e3102021-03-05T11:46:37Z2021-03-05T11:46:37ZLICENSE: updateHiltjo Posthumahiltjo@codemadness.orgcommit 8fd70151ae9c4015c33c9947b79b2072b021e310
parent a722864f83b9c8697fbf085eb0e2e51cb129e8cb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 12:46:37 +0100
LICENSE: update
a722864f83b9c8697fbf085eb0e2e51cb129e8cb2021-03-05T11:45:22Z2021-03-05T11:45:22Zchange STAGIT_BASEURL to an -u option and also update the example scriptHiltjo Posthumahiltjo@codemadness.orgcommit a722864f83b9c8697fbf085eb0e2e51cb129e8cb
parent a4d283cbe995468334872de7c5bff0ef5633c747
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 12:45:22 +0100
change STAGIT_BASEURL to an -u option and also update the example script
a4d283cbe995468334872de7c5bff0ef5633c7472021-03-05T10:52:44Z2021-03-05T10:52:44Zadd $STAGIT_BASEURL environment variable to make Atom links absoluteHiltjo Posthumahiltjo@codemadness.orgcommit a4d283cbe995468334872de7c5bff0ef5633c747
parent a8a22b38a884641557532a52eff67ad3ba530d30
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 11:52:44 +0100
add $STAGIT_BASEURL environment variable to make Atom links absolute
And to specify the correct gopher type.
With feedback from adc, thanks!
a8a22b38a884641557532a52eff67ad3ba530d302021-03-05T10:52:22Z2021-03-05T10:52:22ZREADME: mention tags.xml featureHiltjo Posthumahiltjo@codemadness.orgcommit a8a22b38a884641557532a52eff67ad3ba530d30
parent 05a08e8ab50a8da5b2896c3f5887801d059f48dd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 5 Mar 2021 11:52:22 +0100
README: mention tags.xml feature
05a08e8ab50a8da5b2896c3f5887801d059f48dd2021-01-09T15:19:18Z2021-01-09T15:20:15Zutf8pad: fix byte-seek issue with negative width codepoints in the range >= 127Hiltjo Posthumahiltjo@codemadness.orgcommit 05a08e8ab50a8da5b2896c3f5887801d059f48dd
parent a9c90b585f158f98dd0997d1509e83f85dd87498
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Jan 2021 16:19:18 +0100
utf8pad: fix byte-seek issue with negative width codepoints in the range >= 127
For example: "\xef\xbf\xb7" (codepoint 0xfff7), returns wcwidth(wc) == -1.
The next byte was incorrected seeked, but the codepoint itself was valid
(mbtowc).
a9c90b585f158f98dd0997d1509e83f85dd874982021-01-09T13:57:30Z2021-01-09T13:57:30Zmicro-optimization: fputc (function) -> putc (macro/inline function)Hiltjo Posthumahiltjo@codemadness.orgcommit a9c90b585f158f98dd0997d1509e83f85dd87498
parent 554a9fe2e9d12defd9d6253871d8261d3f3ef3c6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Jan 2021 14:57:30 +0100
micro-optimization: fputc (function) -> putc (macro/inline function)
554a9fe2e9d12defd9d6253871d8261d3f3ef3c62021-01-09T13:56:51Z2021-01-09T13:56:51Zutf8pad: improve padded printing and printing invalid unicode charactersHiltjo Posthumahiltjo@codemadness.orgcommit 554a9fe2e9d12defd9d6253871d8261d3f3ef3c6
parent 7b93d02cd8f26ab9a25d967c72c359a22c91eb74
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Jan 2021 14:56:51 +0100
utf8pad: improve padded printing and printing invalid unicode characters
- Use unicode replacement character (codepoint 0xfffd) when a codepoint is
invalid and proceed printing the rest of the characters.
- When a codepoint is invalid reset the internal state of mbtowc(3), from the
OpenBSD man page:
" If a call to mbtowc() resulted in an undefined internal state, mbtowc()
must be called with s set to NULL to reset the internal state before it
can safely be used again."
- Make the function return 0 when `len` is 0 (this should not be not an error).
7b93d02cd8f26ab9a25d967c72c359a22c91eb742021-01-09T13:19:53Z2021-01-09T13:19:53Zmicro-optimization: fputc (function) -> putc (macro/inline function)Hiltjo Posthumahiltjo@codemadness.orgcommit 7b93d02cd8f26ab9a25d967c72c359a22c91eb74
parent 2a7c95ac9f240d3e7d59d74a319ff47f37d4a625
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Jan 2021 14:19:53 +0100
micro-optimization: fputc (function) -> putc (macro/inline function)
2a7c95ac9f240d3e7d59d74a319ff47f37d4a6252021-01-08T13:32:23Z2021-01-08T13:32:23ZLICENSE: bump yearHiltjo Posthumahiltjo@codemadness.orgcommit 2a7c95ac9f240d3e7d59d74a319ff47f37d4a625
parent 8091f757ce641307bcdc69c9e5348ef54ab82e5c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 8 Jan 2021 14:32:23 +0100
LICENSE: bump year
8091f757ce641307bcdc69c9e5348ef54ab82e5c2021-01-08T13:30:44Z2021-01-08T13:30:44Zstagit-gopher-index: sync utf8pad from stagit-gopher.cHiltjo Posthumahiltjo@codemadness.orgcommit 8091f757ce641307bcdc69c9e5348ef54ab82e5c
parent 70e0e50a6c4d83f7b809be4338bcf2868c13b49b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 8 Jan 2021 14:30:44 +0100
stagit-gopher-index: sync utf8pad from stagit-gopher.c
Syncs a fix from commit e32410fe:
"fix truncation and padding for lines containing multiwidth glyphs"
70e0e50a6c4d83f7b809be4338bcf2868c13b49b2020-12-06T16:20:42Z2020-12-06T16:20:42Zfix warning with libgit2 v0.99+, remain compatible with older versionsHiltjo Posthumahiltjo@codemadness.orgcommit 70e0e50a6c4d83f7b809be4338bcf2868c13b49b
parent f1c1f8c810b311b9f786847dda2494c397cc1ddf
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 6 Dec 2020 17:20:42 +0100
fix warning with libgit2 v0.99+, remain compatible with older versions
git_blob_rawsize now returns with git_object_size_t (unsigned). This was
git_off_t (signed).
In my current version 1.1.0:
types.h:typedef uint64_t git_object_size_t;
v0.28.5:
https://libgit2.org/libgit2/#v0.28.5/group/blob/git_blob_rawsize
changed from v0.99 onwards:
https://libgit2.org/libgit2/#v0.99.0/group/blob/git_blob_rawsize
Fix: use size_t to remain compatible (with a possible warning in older
versions), since git_object_size_t is a new defined type.
This assumes size_t is atleast uint32_t / uint64_t size.
Adapted from a patch by Augustin Fabre <augustin@augfab.fr>, thanks!
f1c1f8c810b311b9f786847dda2494c397cc1ddf2020-11-24T00:23:12Z2020-11-24T00:23:12Zadd abbreviated commit hash to submodule fileHiltjo Posthumahiltjo@codemadness.orgcommit f1c1f8c810b311b9f786847dda2494c397cc1ddf
parent 17ce8c9ec7b5fc669fe3c1285c29b5b6fd1a409a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 24 Nov 2020 01:23:12 +0100
add abbreviated commit hash to submodule file
sync the similar change as stagit.
Small change: do not align names of submodules anymore because of the
abbreviated commit after the name. Just assume the submodule name is short.
Patch for stagit was from: Oscar Benedito <oscar@oscarbenedito.com>
17ce8c9ec7b5fc669fe3c1285c29b5b6fd1a409a2020-11-15T20:24:15Z2020-11-15T20:24:15Zuse size_t to count linesHiltjo Posthumahiltjo@codemadness.orgcommit 17ce8c9ec7b5fc669fe3c1285c29b5b6fd1a409a
parent a4d8cc9e561103401fde97b8d79179763b0ba2b4
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 21:24:15 +0100
use size_t to count lines
a4d8cc9e561103401fde97b8d79179763b0ba2b42020-11-15T20:22:21Z2020-11-15T20:22:21Zrefs_cmp: remove unneeded castHiltjo Posthumahiltjo@codemadness.orgcommit a4d8cc9e561103401fde97b8d79179763b0ba2b4
parent ee1e685d9d6391f5eba3c539462c76623d5b50de
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 21:22:21 +0100
refs_cmp: remove unneeded cast
ee1e685d9d6391f5eba3c539462c76623d5b50de2020-11-15T20:21:39Z2020-11-15T20:21:39Zuse LEN() macros for arraysHiltjo Posthumahiltjo@codemadness.orgcommit ee1e685d9d6391f5eba3c539462c76623d5b50de
parent 12facdbeb1a1c012d16bca8cd8d77b04ee8d10ae
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 21:21:39 +0100
use LEN() macros for arrays
from Augustin Fabre <augustin@augfab.fr>
12facdbeb1a1c012d16bca8cd8d77b04ee8d10ae2020-11-15T20:20:29Z2020-11-15T20:20:29Zavoid shadowed `name' global variableHiltjo Posthumahiltjo@codemadness.orgcommit 12facdbeb1a1c012d16bca8cd8d77b04ee8d10ae
parent 218c16a7b8203be267849416fe09f2f650fad4df
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 15 Nov 2020 21:20:29 +0100
avoid shadowed `name' global variable
by Augustin Fabre <augustin@augfab.fr>
218c16a7b8203be267849416fe09f2f650fad4df2020-08-17T14:09:50Z2020-08-17T14:09:50Zbump version to 0.9.4Hiltjo Posthumahiltjo@codemadness.orgcommit 218c16a7b8203be267849416fe09f2f650fad4df
parent 5ee02bf5a3fc5f4be6a933722c13bfe3527773ae
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 17 Aug 2020 16:09:50 +0200
bump version to 0.9.4
5ee02bf5a3fc5f4be6a933722c13bfe3527773ae2020-08-10T14:12:03Z2020-08-10T14:12:03Zfix a small memleak in writeatom()Hiltjo Posthumahiltjo@codemadness.orgcommit 5ee02bf5a3fc5f4be6a933722c13bfe3527773ae
parent 2afab18ce4580fb3be22d6c49380444e9844a3ce
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 10 Aug 2020 16:12:03 +0200
fix a small memleak in writeatom()
non-tag references were not freed.
2afab18ce4580fb3be22d6c49380444e9844a3ce2020-08-08T18:02:07Z2020-08-08T18:02:07Zstagit-gopher-index: remove unveil support for argvHiltjo Posthumahiltjo@codemadness.orgcommit 2afab18ce4580fb3be22d6c49380444e9844a3ce
parent 40f49c4d17d2cacc62c64e5f96522c3c14c40ab9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 8 Aug 2020 20:02:07 +0200
stagit-gopher-index: remove unveil support for argv
This can reach the unveil argument limits and it is not a good case for using
unveil.
40f49c4d17d2cacc62c64e5f96522c3c14c40ab92020-08-06T16:28:30Z2020-08-06T16:28:30Zfix submodule lookup in bare reposHiltjo Posthumahiltjo@codemadness.orgcommit 40f49c4d17d2cacc62c64e5f96522c3c14c40ab9
parent f939dd0767be55df7983178f51c85d3e55054056
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 6 Aug 2020 18:28:30 +0200
fix submodule lookup in bare repos
Sync fix from stagit.
Patch by kst <nil@krj.st>, thanks!
f939dd0767be55df7983178f51c85d3e550540562020-07-20T12:16:11Z2020-07-20T12:16:11Zregression: do not show unset or empty tagsHiltjo Posthumahiltjo@codemadness.orgcommit f939dd0767be55df7983178f51c85d3e55054056
parent 08a0a0113440d0f80b5f68c596c50e3188b8f9e1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 20 Jul 2020 14:16:11 +0200
regression: do not show unset or empty tags
08a0a0113440d0f80b5f68c596c50e3188b8f9e12020-07-19T17:15:00Z2020-07-19T17:15:00Zremove extra newline between link to Atom feedsHiltjo Posthumahiltjo@codemadness.orgcommit 08a0a0113440d0f80b5f68c596c50e3188b8f9e1
parent 7b88e45958cc7502ab58523d56d8609c536de4d8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Jul 2020 19:15:00 +0200
remove extra newline between link to Atom feeds
7b88e45958cc7502ab58523d56d8609c536de4d82020-07-19T17:00:47Z2020-07-19T17:00:47Zrm unused variable `ids` (from stagit)Hiltjo Posthumahiltjo@codemadness.orgcommit 7b88e45958cc7502ab58523d56d8609c536de4d8
parent 4dded587b089f4c2fda9694a908157a549c6cc1a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Jul 2020 19:00:47 +0200
rm unused variable `ids` (from stagit)
4dded587b089f4c2fda9694a908157a549c6cc1a2020-07-19T16:56:10Z2020-07-19T16:56:10Zsort branches and tags by time (descending) and add tags.xml for releasesHiltjo Posthumahiltjo@codemadness.orgcommit 4dded587b089f4c2fda9694a908157a549c6cc1a
parent de86bac090f236501ee9f211d2bd55aa39c38ac7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Jul 2020 18:56:10 +0200
sort branches and tags by time (descending) and add tags.xml for releases
Similar to the recent changes to stagit (HTML version).
de86bac090f236501ee9f211d2bd55aa39c38ac72020-02-23T19:31:13Z2020-02-23T19:31:13Zbump version to 0.9.3Hiltjo Posthumahiltjo@codemadness.orgcommit de86bac090f236501ee9f211d2bd55aa39c38ac7
parent a83ff32136aa4f42d62251c30533bfe1b80b7696
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 23 Feb 2020 20:31:13 +0100
bump version to 0.9.3
a83ff32136aa4f42d62251c30533bfe1b80b76962020-02-21T12:45:59Z2020-02-21T12:45:59Zatom.xml: improve output format a bitHiltjo Posthumahiltjo@codemadness.orgcommit a83ff32136aa4f42d62251c30533bfe1b80b7696
parent 66f25f38f7f59c9c37bb2462143c1250a20d04b0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 21 Feb 2020 13:45:59 +0100
atom.xml: improve output format a bit
66f25f38f7f59c9c37bb2462143c1250a20d04b02020-02-12T22:23:26Z2020-02-12T22:23:26Zimprove includes, stagit-gopher-index does not need compat.hHiltjo Posthumahiltjo@codemadness.orgcommit 66f25f38f7f59c9c37bb2462143c1250a20d04b0
parent 2d17ff69d90329bbbfadbf258f4a22f26358943b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 12 Feb 2020 23:23:26 +0100
improve includes, stagit-gopher-index does not need compat.h
2d17ff69d90329bbbfadbf258f4a22f26358943b2019-12-22T11:52:49Z2019-12-22T11:52:49Zadd OpenBSD unveil supportHiltjo Posthumahiltjo@codemadness.orgcommit 2d17ff69d90329bbbfadbf258f4a22f26358943b
parent 44e1ef57a375794bea37555ac1bc417d37156caf
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Dec 2019 12:52:49 +0100
add OpenBSD unveil support
The unveil() system call first appeared in OpenBSD 6.4.
For stagit-gopher it has the following properties now:
- stagit-gopher-index: only read-access to the file-system for the specified
directories/repositories.
- stagit-gopher: 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
44e1ef57a375794bea37555ac1bc417d37156caf2019-12-22T11:49:47Z2019-12-22T11:49:47Zsome README tweaks and rewording, reorderingHiltjo Posthumahiltjo@codemadness.orgcommit 44e1ef57a375794bea37555ac1bc417d37156caf
parent 9fcf880188ff2b8b8645f124cc497ea72451dc92
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Dec 2019 12:49:47 +0100
some README tweaks and rewording, reordering
9fcf880188ff2b8b8645f124cc497ea72451dc922019-12-22T11:47:29Z2019-12-22T11:47:29ZMakefile improvementsHiltjo Posthumahiltjo@codemadness.orgcommit 9fcf880188ff2b8b8645f124cc497ea72451dc92
parent 3a1f4248d1501107f9f252e507509b822af7b9f8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 22 Dec 2019 12:47:29 +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.
3a1f4248d1501107f9f252e507509b822af7b9f82019-05-05T17:12:28Z2019-05-05T17:28:32ZREADME: works also on NetBSDLeonardo Taccariiamleot@gmail.comcommit 3a1f4248d1501107f9f252e507509b822af7b9f8
parent ab837f0b9f0363579c398407f7e694c4052b21a0
Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 5 May 2019 19:12:28 +0200
README: works also on NetBSD
ab837f0b9f0363579c398407f7e694c4052b21a02019-04-23T18:53:23Z2019-04-23T18:53:23Zbump version to 0.9.2Hiltjo Posthumahiltjo@codemadness.orgcommit ab837f0b9f0363579c398407f7e694c4052b21a0
parent c37c488c222ae62fa82edecd2391e5dd76de1e23
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 23 Apr 2019 20:53:23 +0200
bump version to 0.9.2
c37c488c222ae62fa82edecd2391e5dd76de1e232019-03-17T14:19:54Z2019-03-17T14:19:54Zescape gph in pathsHiltjo Posthumahiltjo@codemadness.orgcommit c37c488c222ae62fa82edecd2391e5dd76de1e23
parent f8a73285fa1ba57d5815a9c365db13772896ad19
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 17 Mar 2019 15:19:54 +0100
escape gph in paths
- escape paths in diff line.
- escape path in directory selector in files.gph
f8a73285fa1ba57d5815a9c365db13772896ad192019-03-09T11:41:38Z2019-03-09T11:41:38Zpedantic snprintf() improvementHiltjo Posthumahiltjo@codemadness.orgcommit f8a73285fa1ba57d5815a9c365db13772896ad19
parent 77bfd42fb3c139ada3a679a62c56f6eebd38a0c2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Mar 2019 12:41:38 +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."
77bfd42fb3c139ada3a679a62c56f6eebd38a0c22019-03-01T10:50:45Z2019-03-01T10:50:45Zfix issues in example scriptsHiltjo Posthumahiltjo@codemadness.orgcommit 77bfd42fb3c139ada3a679a62c56f6eebd38a0c2
parent 5a8540c7f9ec50f9fe1b5f163ccfa2d0e5ed5c0b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 1 Mar 2019 11:50:45 +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.
5a8540c7f9ec50f9fe1b5f163ccfa2d0e5ed5c0b2019-02-22T10:14:16Z2019-02-22T10:14:16Zbump version to 0.9.1Hiltjo Posthumahiltjo@codemadness.orgcommit 5a8540c7f9ec50f9fe1b5f163ccfa2d0e5ed5c0b
parent 700588116af76c9a3989c8356952493d592d792b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Feb 2019 11:14:16 +0100
bump version to 0.9.1
700588116af76c9a3989c8356952493d592d792b2019-02-09T14:11:35Z2019-02-09T14:11:35ZMakefile: add DOCPREFIX for installing docs in portsHiltjo Posthumahiltjo@codemadness.orgcommit 700588116af76c9a3989c8356952493d592d792b
parent 4011430d5117b1a33e7a3855d8d83c2862d5552d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 9 Feb 2019 15:11:35 +0100
Makefile: add DOCPREFIX for installing docs in ports
change installed doc from /usr/local/share/stagit-gopher to
/usr/local/share/doc/stagit-gopher
4011430d5117b1a33e7a3855d8d83c2862d5552d2019-02-07T20:02:37Z2019-02-07T20:04:26Zchange order of commits in log from most recent to old to applied orderHiltjo Posthumahiltjo@codemadness.orgcommit 4011430d5117b1a33e7a3855d8d83c2862d5552d
parent 1db52961131a913a60e96889ae210daede9b44e6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 7 Feb 2019 21:02:37 +0100
change order of commits in log from most recent to old to applied order
1db52961131a913a60e96889ae210daede9b44e62019-02-03T14:27:14Z2019-02-03T14:27:14Zremove tags.gph supportHiltjo Posthumahiltjo@codemadness.orgcommit 1db52961131a913a60e96889ae210daede9b44e6
parent 8dc7c20dfe3d6a8bb41d4f245e1bbe5965209b3b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 3 Feb 2019 15:27:14 +0100
remove tags.gph support
8dc7c20dfe3d6a8bb41d4f245e1bbe5965209b3b2019-02-03T14:26:42Z2019-02-03T14:26:42Zfix compile: libgit2 0.28 changed giterr_last to git_error_lastHiltjo Posthumahiltjo@codemadness.orgcommit 8dc7c20dfe3d6a8bb41d4f245e1bbe5965209b3b
parent c2563a0ef6a3aad37cc234e2bfd9456c615917a9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 3 Feb 2019 15:26:42 +0100
fix compile: libgit2 0.28 changed giterr_last to git_error_last
libgit2 commit:
https://github.com/libgit2/libgit2/commit/a27a4de6f8003961d38958893c6c637395c7cc04
c2563a0ef6a3aad37cc234e2bfd9456c615917a92018-12-25T12:42:38Z2018-12-25T12:42:38Zbump version to 0.9Hiltjo Posthumahiltjo@codemadness.orgcommit c2563a0ef6a3aad37cc234e2bfd9456c615917a9
parent 3be1a74e36d2b7bb6064fe671e39fca4b434a655
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 25 Dec 2018 13:42:38 +0100
bump version to 0.9
3be1a74e36d2b7bb6064fe671e39fca4b434a6552018-11-23T11:56:05Z2018-11-23T11:56:05Zin the diffstat prefix the type of changeHiltjo Posthumahiltjo@codemadness.orgcommit 3be1a74e36d2b7bb6064fe671e39fca4b434a655
parent 89e38eb68278966aee0d5597a683a299af2484b1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 23 Nov 2018 12:56:05 +0100
in the diffstat prefix the type of change
89e38eb68278966aee0d5597a683a299af2484b12018-11-23T11:47:58Z2018-11-23T11:47:58Zdon't use a heuristic for renames, the content must match exactlyHiltjo Posthumahiltjo@codemadness.orgcommit 89e38eb68278966aee0d5597a683a299af2484b1
parent ad04b34bd289301b0331841176e7ac1483ad8fe1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 23 Nov 2018 12:47:58 +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.
ad04b34bd289301b0331841176e7ac1483ad8fe12018-11-23T11:46:59Z2018-11-23T11:46:59Zdetect filetype changes in diff (for example a normal file to symlink)Hiltjo Posthumahiltjo@codemadness.orgcommit ad04b34bd289301b0331841176e7ac1483ad8fe1
parent 4ae2a118c3f7dd0cc7e7b81289152afbada103bc
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 23 Nov 2018 12:46:59 +0100
detect filetype changes in diff (for example a normal file to symlink)
4ae2a118c3f7dd0cc7e7b81289152afbada103bc2018-11-11T18:07:24Z2018-11-11T18:07:24Zdetect more names for README and LICENSEHiltjo Posthumahiltjo@codemadness.orgcommit 4ae2a118c3f7dd0cc7e7b81289152afbada103bc
parent 3a00e5bb2bf0415338ff08d1a7bc9a47b4b751e2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 11 Nov 2018 19:07:24 +0100
detect more names for README and LICENSE
- for license: LICENSE, LICENSE.md, COPYING.
- for readme: README, README.md.
3a00e5bb2bf0415338ff08d1a7bc9a47b4b751e22018-11-11T17:57:50Z2018-11-11T17:57:50Zdetect copies and renames based on the threshold of changesHiltjo Posthumahiltjo@codemadness.orgcommit 3a00e5bb2bf0415338ff08d1a7bc9a47b4b751e2
parent 8bad0e073142b1347085d04646fd64e11a7a7c2a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 11 Nov 2018 18:57:50 +0100
detect copies and renames based on the threshold of changes
8bad0e073142b1347085d04646fd64e11a7a7c2a2018-09-08T12:40:03Z2018-09-08T12:40:03Zoptimize to truncate to 79 characters, remove white-space padding at endHiltjo Posthumahiltjo@codemadness.orgcommit 8bad0e073142b1347085d04646fd64e11a7a7c2a
parent cba17854219972673d7079e9cb11185cc2565710
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 8 Sep 2018 14:40:03 +0200
optimize to truncate to 79 characters, remove white-space padding at end
cba17854219972673d7079e9cb11185cc25657102018-09-02T13:50:33Z2018-09-02T13:50:33Zfix writeheader not being called when flags are used before reposHiltjo Posthumahiltjo@codemadness.orgcommit cba17854219972673d7079e9cb11185cc2565710
parent d0d070040d949d825c4464022d0d43cb1582db1f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 2 Sep 2018 15:50:33 +0200
fix writeheader not being called when flags are used before repos
d0d070040d949d825c4464022d0d43cb1582db1f2018-08-22T16:26:37Z2018-08-22T16:26:37Zsimplify range checkHiltjo Posthumahiltjo@codemadness.orgcommit d0d070040d949d825c4464022d0d43cb1582db1f
parent b03612ce75b2f5d2062897394375bd1f9bbf0e60
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 22 Aug 2018 18:26:37 +0200
simplify range check
b03612ce75b2f5d2062897394375bd1f9bbf0e602018-08-22T16:24:33Z2018-08-22T16:24:33Zstagit-gopher: log: indicate when using the -l option and there are more commitsHiltjo Posthumahiltjo@codemadness.orgcommit b03612ce75b2f5d2062897394375bd1f9bbf0e60
parent 4af56862f25af790ce711ffcfefb792b42042b0d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 22 Aug 2018 18:24:33 +0200
stagit-gopher: log: indicate when using the -l option and there are more commits
4af56862f25af790ce711ffcfefb792b42042b0d2018-05-25T16:42:35Z2018-05-25T16:42:35Zassume OpenBSD 5.9+, always try pledge(2) on OpenBSDHiltjo Posthumahiltjo@codemadness.orgcommit 4af56862f25af790ce711ffcfefb792b42042b0d
parent f2bd82599fbf7d3d9c2f7682ee0f09318aa1e798
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 25 May 2018 18:42:35 +0200
assume OpenBSD 5.9+, always try pledge(2) on OpenBSD
f2bd82599fbf7d3d9c2f7682ee0f09318aa1e7982018-05-09T16:52:24Z2018-05-09T17:02:39ZClarify usage regarding -c and -l mutual exclusionQuentin Rameauquinq@fifth.spacecommit f2bd82599fbf7d3d9c2f7682ee0f09318aa1e798
parent 1d8355b54e8bd333e00eae3ca4f4e2d0f7ed0733
Author: Quentin Rameau <quinq@fifth.space>
Date: Wed, 9 May 2018 18:52:24 +0200
Clarify usage regarding -c and -l mutual exclusion
1d8355b54e8bd333e00eae3ca4f4e2d0f7ed07332018-04-07T12:14:54Z2018-04-07T12:14:54Zbump version to 0.8Hiltjo Posthumahiltjo@codemadness.orgcommit 1d8355b54e8bd333e00eae3ca4f4e2d0f7ed0733
parent 9b48ff8e67a3b23b301293a63e8d757c8305f522
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 7 Apr 2018 14:14:54 +0200
bump version to 0.8
9b48ff8e67a3b23b301293a63e8d757c8305f5222018-04-06T17:29:33Z2018-04-06T17:29:33Zstagit-gopher-index: show usage when no repo is specifiedHiltjo Posthumahiltjo@codemadness.orgcommit 9b48ff8e67a3b23b301293a63e8d757c8305f522
parent 249271be279ada1e7323f413ab41db3a3b99fac9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 6 Apr 2018 19:29:33 +0200
stagit-gopher-index: show usage when no repo is specified
similar to stagit-index (HTML version).
249271be279ada1e7323f413ab41db3a3b99fac92018-04-06T17:29:10Z2018-04-06T17:29:10Zstagit-gopher-index: pledge after git_libgit2_initHiltjo Posthumahiltjo@codemadness.orgcommit 249271be279ada1e7323f413ab41db3a3b99fac9
parent 8e525dddbb0022a62f969efa1f9aeb30533a3a61
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 6 Apr 2018 19:29:10 +0200
stagit-gopher-index: pledge after git_libgit2_init
8e525dddbb0022a62f969efa1f9aeb30533a3a612018-04-06T17:28:43Z2018-04-06T17:28:43Zstagit-gopher-index.1: fix flag typoHiltjo Posthumahiltjo@codemadness.orgcommit 8e525dddbb0022a62f969efa1f9aeb30533a3a61
parent e32410fe7894b741e141248a5e256f1e93e59fab
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 6 Apr 2018 19:28:43 +0200
stagit-gopher-index.1: fix flag typo
e32410fe7894b741e141248a5e256f1e93e59fab2018-04-01T13:09:43Z2018-04-01T13:13:19Zfix truncation and padding for lines containing multiwidth glyphsHiltjo Posthumahiltjo@codemadness.orgcommit e32410fe7894b741e141248a5e256f1e93e59fab
parent c1b5e802f0d0c349faf8d4e6b6988dcfdc574488
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 1 Apr 2018 15:09:43 +0200
fix truncation and padding for lines containing multiwidth glyphs
c1b5e802f0d0c349faf8d4e6b6988dcfdc5744882018-03-26T18:11:56Z2018-03-26T18:11:56Zpledge after git_libgit2_initHiltjo Posthumahiltjo@codemadness.orgcommit c1b5e802f0d0c349faf8d4e6b6988dcfdc574488
parent ec19160fa44ca478dd7e319eea8ee1ee1a0973e2
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 26 Mar 2018 20:11:56 +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.
ec19160fa44ca478dd7e319eea8ee1ee1a0973e22018-02-09T15:13:57Z2018-02-09T15:13:57Zoptimization: only diff the tree when it is needed for the diffstat...Hiltjo Posthumahiltjo@codemadness.orgcommit ec19160fa44ca478dd7e319eea8ee1ee1a0973e2
parent ab46ca27fc26888dc6e061c614d085114eb7b1ea
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 9 Feb 2018 16:13:57 +0100
optimization: only diff the tree when it is needed for the diffstat...
... also clear all fields in the structure on failure.
ab46ca27fc26888dc6e061c614d085114eb7b1ea2018-02-09T15:09:10Z2018-02-09T15:09:10Zwhen a tags.gph file exists in the current directory then link it in the menuHiltjo Posthumahiltjo@codemadness.orgcommit ab46ca27fc26888dc6e061c614d085114eb7b1ea
parent b1f0c95f2975540809eb6ff3bcd04023b71a87de
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 9 Feb 2018 16:09:10 +0100
when a tags.gph file exists in the current directory then link it in the menu
b1f0c95f2975540809eb6ff3bcd04023b71a87de2018-01-28T15:28:25Z2018-01-28T15:28:25ZREADME: improve tarball generation by tag exampleHiltjo Posthumahiltjo@codemadness.orgcommit b1f0c95f2975540809eb6ff3bcd04023b71a87de
parent f3d448a743143b22dcb9ab7e20dc16149d55907b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 28 Jan 2018 16:28:25 +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.
f3d448a743143b22dcb9ab7e20dc16149d55907b2018-01-27T15:24:38Z2018-01-27T15:24:38Zfix escape regression in gphtextnl() and simplify the codeHiltjo Posthumahiltjo@codemadness.orgcommit f3d448a743143b22dcb9ab7e20dc16149d55907b
parent b5cdcadb391b8f27bced0273013ae5ba2189cde9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 27 Jan 2018 16:24:38 +0100
fix escape regression in gphtextnl() and simplify the code
Thanks Christoph for the report!
b5cdcadb391b8f27bced0273013ae5ba2189cde92018-01-21T15:47:48Z2018-01-21T15:47:48Zstagit-gopher: add -l option: limit the amount of commits for the log.gph fileHiltjo Posthumahiltjo@codemadness.orgcommit b5cdcadb391b8f27bced0273013ae5ba2189cde9
parent fa9a155a4a631fe2f384e9f7516a9a03f2f53c70
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 21 Jan 2018 16:47:48 +0100
stagit-gopher: add -l option: limit the amount of commits for the log.gph file
fa9a155a4a631fe2f384e9f7516a9a03f2f53c702018-01-21T14:25:35Z2018-01-21T14:25:35Zmerge and remove a lineHiltjo Posthumahiltjo@codemadness.orgcommit fa9a155a4a631fe2f384e9f7516a9a03f2f53c70
parent 902828a91ad47f2a7351b44f7d589e20085fc557
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 21 Jan 2018 15:25:35 +0100
merge and remove a line
902828a91ad47f2a7351b44f7d589e20085fc5572018-01-21T14:24:03Z2018-01-21T14:24:03Zremove a non-portable syntax in MakefileHiltjo Posthumahiltjo@codemadness.orgcommit 902828a91ad47f2a7351b44f7d589e20085fc557
parent 6eabee1500b2ff4872a4dff7bd78b57ff83603fc
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 21 Jan 2018 15:24:03 +0100
remove a non-portable syntax in Makefile
sync from stagit, by Quentin Rameau.
6eabee1500b2ff4872a4dff7bd78b57ff83603fc2018-01-21T14:23:28Z2018-01-21T14:23:28Zbump LICENSE to 2018Hiltjo Posthumahiltjo@codemadness.orgcommit 6eabee1500b2ff4872a4dff7bd78b57ff83603fc
parent 68d5f34fe5aadad1b2272f4797ab18bd2938a962
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 21 Jan 2018 15:23:28 +0100
bump LICENSE to 2018
68d5f34fe5aadad1b2272f4797ab18bd2938a9622017-11-25T15:04:24Z2017-11-25T15:04:24Zpost-receive: fix warning in script for example when pushing deleted tagsHiltjo Posthumahiltjo@codemadness.orgcommit 68d5f34fe5aadad1b2272f4797ab18bd2938a962
parent e7bf2942d6f37ffe0ace237d397abf7480e5c945
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 25 Nov 2017 16:04:24 +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.
e7bf2942d6f37ffe0ace237d397abf7480e5c9452017-11-25T14:31:05Z2017-11-25T14:31:05ZMakefile: bump version to 0.7.2Hiltjo Posthumahiltjo@codemadness.orgcommit e7bf2942d6f37ffe0ace237d397abf7480e5c945
parent 203a8500a5017ff2bfb77ccdbd33938c1ad4fea1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 25 Nov 2017 15:31:05 +0100
Makefile: bump version to 0.7.2
203a8500a5017ff2bfb77ccdbd33938c1ad4fea12017-11-25T14:13:40Z2017-11-25T14:13:40Zindex: read until the first newline or CR or TABHiltjo Posthumahiltjo@codemadness.orgcommit 203a8500a5017ff2bfb77ccdbd33938c1ad4fea1
parent 45274ebb4ba07c9771c279aae51259040d94d0ab
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 25 Nov 2017 15:13:40 +0100
index: read until the first newline or CR or TAB
This makes sure the column is properly aligned also, because a newline is
ignored, but it is counted in utf8pad().
45274ebb4ba07c9771c279aae51259040d94d0ab2017-11-25T14:12:36Z2017-11-25T14:12:36Zgphtext() and gphlink(): fix NUL byte checkHiltjo Posthumahiltjo@codemadness.orgcommit 45274ebb4ba07c9771c279aae51259040d94d0ab
parent bbd27612e48b51f37e4e70566ded2007fe48724f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 25 Nov 2017 15:12:36 +0100
gphtext() and gphlink(): fix NUL byte check
these functions iterate until the length or when there is a NUL byte.
bbd27612e48b51f37e4e70566ded2007fe48724f2017-11-25T14:10:31Z2017-11-25T14:10:31Zindex: setlocale() because we use multibyte functionsHiltjo Posthumahiltjo@codemadness.orgcommit bbd27612e48b51f37e4e70566ded2007fe48724f
parent 9731204482dd309c3de1a1a5055d838f1ec6f899
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 25 Nov 2017 15:10:31 +0100
index: setlocale() because we use multibyte functions
9731204482dd309c3de1a1a5055d838f1ec6f8992017-11-19T13:58:32Z2017-11-19T13:58:32ZMakefile: bump version to 0.7.1Hiltjo Posthumahiltjo@codemadness.orgcommit 9731204482dd309c3de1a1a5055d838f1ec6f899
parent 181145cd95ae69fc4e54d98047aa1dc25d16b404
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Nov 2017 14:58:32 +0100
Makefile: bump version to 0.7.1
181145cd95ae69fc4e54d98047aa1dc25d16b4042017-11-19T13:57:01Z2017-11-19T13:57:01Zfix: add "fattr" pledge for chmod(2) for cachefileHiltjo Posthumahiltjo@codemadness.orgcommit 181145cd95ae69fc4e54d98047aa1dc25d16b404
parent 77cc9b4e4f2c2d70880abf48090755902ee45c4f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 19 Nov 2017 14:57:01 +0100
fix: add "fattr" pledge for chmod(2) for cachefile
improve checks for when head is NULL (empty repo)
77cc9b4e4f2c2d70880abf48090755902ee45c4f2017-11-18T11:54:21Z2017-11-18T11:54:21ZMakefile: bump version to 0.7Hiltjo Posthumahiltjo@codemadness.orgcommit 77cc9b4e4f2c2d70880abf48090755902ee45c4f
parent 769babb131e20c4d7ebe197cfc182bc76ea96c18
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 18 Nov 2017 12:54:21 +0100
Makefile: bump version to 0.7
769babb131e20c4d7ebe197cfc182bc76ea96c182017-11-17T15:12:12Z2017-11-17T15:12:12Zfix file permissions for cachefile and respect umask(2)Hiltjo Posthumahiltjo@codemadness.orgcommit 769babb131e20c4d7ebe197cfc182bc76ea96c18
parent 9420a097388c8c90a4f534d3b5f8d4f6b7f195bd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Nov 2017 16:12:12 +0100
fix file permissions for cachefile and respect umask(2)
9420a097388c8c90a4f534d3b5f8d4f6b7f195bd2017-11-17T15:09:55Z2017-11-17T15:09:55Zmore verbose errors: show which file failed on openHiltjo Posthumahiltjo@codemadness.orgcommit 9420a097388c8c90a4f534d3b5f8d4f6b7f195bd
parent 2fc39b9cc9f90f20a6ef3c725080af1a0d5bc413
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Nov 2017 16:09:55 +0100
more verbose errors: show which file failed on open
2fc39b9cc9f90f20a6ef3c725080af1a0d5bc4132017-11-17T15:08:28Z2017-11-17T15:08:28ZMakefile: remove unused $SCRIPTSHiltjo Posthumahiltjo@codemadness.orgcommit 2fc39b9cc9f90f20a6ef3c725080af1a0d5bc413
parent e46c746c435114ae3e7541ca93ffa7aacf4aaff3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Nov 2017 16:08:28 +0100
Makefile: remove unused $SCRIPTS
e46c746c435114ae3e7541ca93ffa7aacf4aaff32017-11-17T15:06:51Z2017-11-17T15:06:51Zfixes for escaping and printingHiltjo Posthumahiltjo@codemadness.orgcommit e46c746c435114ae3e7541ca93ffa7aacf4aaff3
parent daa814e5c59ef7dcadfe779b46bd305e0d93f7a1
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 17 Nov 2017 16:06:51 +0100
fixes for escaping and printing
- if the index or project description is empty don't print an empty line.
- escape | in gph links.
- when a column is not set / empty print it aligned.
- pad text, then print it escaped.
- print left-aligned headers of last column in a simpler way.