stagit-gopher, branch HEAD A git gopher frontend. (mirror) 61c4fd365ea5a5c70943b4ba9c98250b56b34924 2023-04-10T10:34:37Z 2023-04-10T10:35:30Z in Atom (RFC4287) an atomTextConstruct specifies the type text as the default Hiltjo Posthuma hiltjo@codemadness.org commit 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. d8c4c2c3aa23b1237f15fc3ab539419c2368989e 2022-08-16T11:22:34Z 2022-08-16T11:22:34Z prefix usage with the common prefix "usage: " Hiltjo Posthuma hiltjo@codemadness.org commit 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: " 9e4bfa14ce08e666da732606187647cca6410b05 2022-08-07T08:09:55Z 2022-08-07T08:09:55Z bump version to 1.2 Hiltjo Posthuma hiltjo@codemadness.org commit 9e4bfa14ce08e666da732606187647cca6410b05 parent dc940cae641026d49ef94d021d7a335c5b3689b3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 7 Aug 2022 10:09:55 +0200 bump version to 1.2 dc940cae641026d49ef94d021d7a335c5b3689b3 2022-07-26T21:53:30Z 2022-07-26T21:53:30Z use the new escaping style in geomyidae for links Hiltjo Posthuma hiltjo@codemadness.org commit 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. a67bac151fe0a30eccfcf6593f1666d0995085db 2022-07-26T21:51:29Z 2022-07-26T21:51:29Z Makefile: add workaround for distros still using older libgit2 versions Hiltjo Posthuma hiltjo@codemadness.org commit 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. 858e1f2a79484adaf430dbd63a836a652fc7527b 2022-05-27T19:30:01Z 2022-05-27T19:30:01Z Revert "remain compatible with slightly older libgit versions for now" Hiltjo Posthuma hiltjo@codemadness.org commit 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." bfb7d7d5cb974479e13ee07f254512a2e909abc1 2022-05-24T12:07:01Z 2022-05-24T12:07:01Z remain compatible with slightly older libgit versions for now Hiltjo Posthuma hiltjo@codemadness.org commit 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 8c74699abac4d2331eeb70c01c5b0367282a3281 2022-05-24T09:09:18Z 2022-05-24T09:09:18Z Allow git to run on an other user repository Hiltjo Posthuma hiltjo@codemadness.org commit 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/ 9a8c60cb308d58cfc10d1ecfd6f6779bd8e806f5 2022-04-02T15:36:06Z 2022-04-02T15:36:06Z bump version to 1.1 Hiltjo Posthuma hiltjo@codemadness.org commit 9a8c60cb308d58cfc10d1ecfd6f6779bd8e806f5 parent cbb963db3795ea24cd0d68f73b415f9fc48922cc Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 2 Apr 2022 17:36:06 +0200 bump version to 1.1 cbb963db3795ea24cd0d68f73b415f9fc48922cc 2022-03-19T11:51:57Z 2022-03-19T11:55:08Z improve stream read and write error handling Hiltjo Posthuma hiltjo@codemadness.org commit 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 1dd611d990843966e50b23dac30617d6aa5b2b2e 2022-01-03T11:25:14Z 2022-01-03T11:25:14Z bump LICENSE year Hiltjo Posthuma hiltjo@codemadness.org commit 1dd611d990843966e50b23dac30617d6aa5b2b2e parent 14e1c9b1fa56df83bb721805ca149fcc3a763d98 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 3 Jan 2022 12:25:14 +0100 bump LICENSE year 14e1c9b1fa56df83bb721805ca149fcc3a763d98 2022-01-03T11:24:55Z 2022-01-03T11:24:55Z libgit2 config opts: set the search to an empty path Hiltjo Posthuma hiltjo@codemadness.org commit 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! 41cb87952c8f4bc9ddc983875a60080473040cae 2021-11-30T17:13:10Z 2021-11-30T17:13:10Z bump version to 1.0 Hiltjo Posthuma hiltjo@codemadness.org commit 41cb87952c8f4bc9ddc983875a60080473040cae parent 42613555baad830fd0fe65798e22ac65c18129e9 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 30 Nov 2021 18:13:10 +0100 bump version to 1.0 42613555baad830fd0fe65798e22ac65c18129e9 2021-11-16T20:10:02Z 2021-11-16T20:10:45Z Print the number of remaining commits Quentin Rameau quinq@fifth.space commit 42613555baad830fd0fe65798e22ac65c18129e9 parent 9d738c87ca291d354f215c45469a6ba983474f73 Author: Quentin Rameau <quinq@fifth.space> Date: Tue, 16 Nov 2021 21:10:02 +0100 Print the number of remaining commits 9d738c87ca291d354f215c45469a6ba983474f73 2021-08-03T17:23:14Z 2021-08-03T17:24:19Z man pages: add EXAMPLES section Hiltjo Posthuma hiltjo@codemadness.org commit 9d738c87ca291d354f215c45469a6ba983474f73 parent a69ad4ac2fcece441b9e216377318cb31fb65577 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 3 Aug 2021 19:23:14 +0200 man pages: add EXAMPLES section a69ad4ac2fcece441b9e216377318cb31fb65577 2021-07-30T23:10:10Z 2021-07-30T23:10:10Z small typo fixes and url -> URL Hiltjo Posthuma hiltjo@codemadness.org commit a69ad4ac2fcece441b9e216377318cb31fb65577 parent 6cf66f825aad83e98a0a614a80c93a4d3bdd80b0 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 31 Jul 2021 01:10:10 +0200 small typo fixes and url -> URL 6cf66f825aad83e98a0a614a80c93a4d3bdd80b0 2021-05-27T10:41:59Z 2021-05-27T10:41:59Z bump version to 0.9.6 Hiltjo Posthuma hiltjo@codemadness.org commit 6cf66f825aad83e98a0a614a80c93a4d3bdd80b0 parent 0aa576b6396f79624f8375405044e2929874a9ee Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Thu, 27 May 2021 12:41:59 +0200 bump version to 0.9.6 0aa576b6396f79624f8375405044e2929874a9ee 2021-05-18T09:47:15Z 2021-05-18T09:47:15Z man page: codemadness is the primary server and fix mdoc date Hiltjo Posthuma hiltjo@codemadness.org commit 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 6cae0784a5747be0b48c8ab17555c12ea7b14df0 2021-05-18T08:44:36Z 2021-05-18T08:44:56Z README: improve a bit the usage examples Hiltjo Posthuma hiltjo@codemadness.org commit 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! d02b5f776a63c8b808baa548b2cd574439bed547 2021-05-05T17:20:21Z 2021-05-05T17:20:21Z do not simplify the history by first-parent Hiltjo Posthuma hiltjo@codemadness.org commit 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! f15e44cac3916d75969bbc56b3c2162b351e3d32 2021-03-14T15:23:37Z 2021-03-14T15:23:37Z bump version to 0.9.5 Hiltjo Posthuma hiltjo@codemadness.org commit f15e44cac3916d75969bbc56b3c2162b351e3d32 parent 0bfdcd098140d52bd553364222df7ecf14621f70 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 14 Mar 2021 16:23:37 +0100 bump version to 0.9.5 0bfdcd098140d52bd553364222df7ecf14621f70 2021-03-13T17:13:18Z 2021-03-13T17:13:18Z Atom feeds: remove the wrong content-type for <link> Hiltjo Posthuma hiltjo@codemadness.org commit 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. 8fd70151ae9c4015c33c9947b79b2072b021e310 2021-03-05T11:46:37Z 2021-03-05T11:46:37Z LICENSE: update Hiltjo Posthuma hiltjo@codemadness.org commit 8fd70151ae9c4015c33c9947b79b2072b021e310 parent a722864f83b9c8697fbf085eb0e2e51cb129e8cb Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 5 Mar 2021 12:46:37 +0100 LICENSE: update a722864f83b9c8697fbf085eb0e2e51cb129e8cb 2021-03-05T11:45:22Z 2021-03-05T11:45:22Z change STAGIT_BASEURL to an -u option and also update the example script Hiltjo Posthuma hiltjo@codemadness.org commit 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 a4d283cbe995468334872de7c5bff0ef5633c747 2021-03-05T10:52:44Z 2021-03-05T10:52:44Z add $STAGIT_BASEURL environment variable to make Atom links absolute Hiltjo Posthuma hiltjo@codemadness.org commit 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! a8a22b38a884641557532a52eff67ad3ba530d30 2021-03-05T10:52:22Z 2021-03-05T10:52:22Z README: mention tags.xml feature Hiltjo Posthuma hiltjo@codemadness.org commit a8a22b38a884641557532a52eff67ad3ba530d30 parent 05a08e8ab50a8da5b2896c3f5887801d059f48dd Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 5 Mar 2021 11:52:22 +0100 README: mention tags.xml feature 05a08e8ab50a8da5b2896c3f5887801d059f48dd 2021-01-09T15:19:18Z 2021-01-09T15:20:15Z utf8pad: fix byte-seek issue with negative width codepoints in the range >= 127 Hiltjo Posthuma hiltjo@codemadness.org commit 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). a9c90b585f158f98dd0997d1509e83f85dd87498 2021-01-09T13:57:30Z 2021-01-09T13:57:30Z micro-optimization: fputc (function) -> putc (macro/inline function) Hiltjo Posthuma hiltjo@codemadness.org commit 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) 554a9fe2e9d12defd9d6253871d8261d3f3ef3c6 2021-01-09T13:56:51Z 2021-01-09T13:56:51Z utf8pad: improve padded printing and printing invalid unicode characters Hiltjo Posthuma hiltjo@codemadness.org commit 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). 7b93d02cd8f26ab9a25d967c72c359a22c91eb74 2021-01-09T13:19:53Z 2021-01-09T13:19:53Z micro-optimization: fputc (function) -> putc (macro/inline function) Hiltjo Posthuma hiltjo@codemadness.org commit 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) 2a7c95ac9f240d3e7d59d74a319ff47f37d4a625 2021-01-08T13:32:23Z 2021-01-08T13:32:23Z LICENSE: bump year Hiltjo Posthuma hiltjo@codemadness.org commit 2a7c95ac9f240d3e7d59d74a319ff47f37d4a625 parent 8091f757ce641307bcdc69c9e5348ef54ab82e5c Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 8 Jan 2021 14:32:23 +0100 LICENSE: bump year 8091f757ce641307bcdc69c9e5348ef54ab82e5c 2021-01-08T13:30:44Z 2021-01-08T13:30:44Z stagit-gopher-index: sync utf8pad from stagit-gopher.c Hiltjo Posthuma hiltjo@codemadness.org commit 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" 70e0e50a6c4d83f7b809be4338bcf2868c13b49b 2020-12-06T16:20:42Z 2020-12-06T16:20:42Z fix warning with libgit2 v0.99+, remain compatible with older versions Hiltjo Posthuma hiltjo@codemadness.org commit 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! f1c1f8c810b311b9f786847dda2494c397cc1ddf 2020-11-24T00:23:12Z 2020-11-24T00:23:12Z add abbreviated commit hash to submodule file Hiltjo Posthuma hiltjo@codemadness.org commit 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> 17ce8c9ec7b5fc669fe3c1285c29b5b6fd1a409a 2020-11-15T20:24:15Z 2020-11-15T20:24:15Z use size_t to count lines Hiltjo Posthuma hiltjo@codemadness.org commit 17ce8c9ec7b5fc669fe3c1285c29b5b6fd1a409a parent a4d8cc9e561103401fde97b8d79179763b0ba2b4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 15 Nov 2020 21:24:15 +0100 use size_t to count lines a4d8cc9e561103401fde97b8d79179763b0ba2b4 2020-11-15T20:22:21Z 2020-11-15T20:22:21Z refs_cmp: remove unneeded cast Hiltjo Posthuma hiltjo@codemadness.org commit a4d8cc9e561103401fde97b8d79179763b0ba2b4 parent ee1e685d9d6391f5eba3c539462c76623d5b50de Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 15 Nov 2020 21:22:21 +0100 refs_cmp: remove unneeded cast ee1e685d9d6391f5eba3c539462c76623d5b50de 2020-11-15T20:21:39Z 2020-11-15T20:21:39Z use LEN() macros for arrays Hiltjo Posthuma hiltjo@codemadness.org commit 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> 12facdbeb1a1c012d16bca8cd8d77b04ee8d10ae 2020-11-15T20:20:29Z 2020-11-15T20:20:29Z avoid shadowed `name' global variable Hiltjo Posthuma hiltjo@codemadness.org commit 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> 218c16a7b8203be267849416fe09f2f650fad4df 2020-08-17T14:09:50Z 2020-08-17T14:09:50Z bump version to 0.9.4 Hiltjo Posthuma hiltjo@codemadness.org commit 218c16a7b8203be267849416fe09f2f650fad4df parent 5ee02bf5a3fc5f4be6a933722c13bfe3527773ae Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Mon, 17 Aug 2020 16:09:50 +0200 bump version to 0.9.4 5ee02bf5a3fc5f4be6a933722c13bfe3527773ae 2020-08-10T14:12:03Z 2020-08-10T14:12:03Z fix a small memleak in writeatom() Hiltjo Posthuma hiltjo@codemadness.org commit 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. 2afab18ce4580fb3be22d6c49380444e9844a3ce 2020-08-08T18:02:07Z 2020-08-08T18:02:07Z stagit-gopher-index: remove unveil support for argv Hiltjo Posthuma hiltjo@codemadness.org commit 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. 40f49c4d17d2cacc62c64e5f96522c3c14c40ab9 2020-08-06T16:28:30Z 2020-08-06T16:28:30Z fix submodule lookup in bare repos Hiltjo Posthuma hiltjo@codemadness.org commit 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! f939dd0767be55df7983178f51c85d3e55054056 2020-07-20T12:16:11Z 2020-07-20T12:16:11Z regression: do not show unset or empty tags Hiltjo Posthuma hiltjo@codemadness.org commit 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 08a0a0113440d0f80b5f68c596c50e3188b8f9e1 2020-07-19T17:15:00Z 2020-07-19T17:15:00Z remove extra newline between link to Atom feeds Hiltjo Posthuma hiltjo@codemadness.org commit 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 7b88e45958cc7502ab58523d56d8609c536de4d8 2020-07-19T17:00:47Z 2020-07-19T17:00:47Z rm unused variable `ids` (from stagit) Hiltjo Posthuma hiltjo@codemadness.org commit 7b88e45958cc7502ab58523d56d8609c536de4d8 parent 4dded587b089f4c2fda9694a908157a549c6cc1a Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 19 Jul 2020 19:00:47 +0200 rm unused variable `ids` (from stagit) 4dded587b089f4c2fda9694a908157a549c6cc1a 2020-07-19T16:56:10Z 2020-07-19T16:56:10Z sort branches and tags by time (descending) and add tags.xml for releases Hiltjo Posthuma hiltjo@codemadness.org commit 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). de86bac090f236501ee9f211d2bd55aa39c38ac7 2020-02-23T19:31:13Z 2020-02-23T19:31:13Z bump version to 0.9.3 Hiltjo Posthuma hiltjo@codemadness.org commit de86bac090f236501ee9f211d2bd55aa39c38ac7 parent a83ff32136aa4f42d62251c30533bfe1b80b7696 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 23 Feb 2020 20:31:13 +0100 bump version to 0.9.3 a83ff32136aa4f42d62251c30533bfe1b80b7696 2020-02-21T12:45:59Z 2020-02-21T12:45:59Z atom.xml: improve output format a bit Hiltjo Posthuma hiltjo@codemadness.org commit 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 66f25f38f7f59c9c37bb2462143c1250a20d04b0 2020-02-12T22:23:26Z 2020-02-12T22:23:26Z improve includes, stagit-gopher-index does not need compat.h Hiltjo Posthuma hiltjo@codemadness.org commit 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 2d17ff69d90329bbbfadbf258f4a22f26358943b 2019-12-22T11:52:49Z 2019-12-22T11:52:49Z add OpenBSD unveil support Hiltjo Posthuma hiltjo@codemadness.org commit 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 44e1ef57a375794bea37555ac1bc417d37156caf 2019-12-22T11:49:47Z 2019-12-22T11:49:47Z some README tweaks and rewording, reordering Hiltjo Posthuma hiltjo@codemadness.org commit 44e1ef57a375794bea37555ac1bc417d37156caf parent 9fcf880188ff2b8b8645f124cc497ea72451dc92 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 22 Dec 2019 12:49:47 +0100 some README tweaks and rewording, reordering 9fcf880188ff2b8b8645f124cc497ea72451dc92 2019-12-22T11:47:29Z 2019-12-22T11:47:29Z Makefile improvements Hiltjo Posthuma hiltjo@codemadness.org commit 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. 3a1f4248d1501107f9f252e507509b822af7b9f8 2019-05-05T17:12:28Z 2019-05-05T17:28:32Z README: works also on NetBSD Leonardo Taccari iamleot@gmail.com commit 3a1f4248d1501107f9f252e507509b822af7b9f8 parent ab837f0b9f0363579c398407f7e694c4052b21a0 Author: Leonardo Taccari <iamleot@gmail.com> Date: Sun, 5 May 2019 19:12:28 +0200 README: works also on NetBSD ab837f0b9f0363579c398407f7e694c4052b21a0 2019-04-23T18:53:23Z 2019-04-23T18:53:23Z bump version to 0.9.2 Hiltjo Posthuma hiltjo@codemadness.org commit ab837f0b9f0363579c398407f7e694c4052b21a0 parent c37c488c222ae62fa82edecd2391e5dd76de1e23 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 23 Apr 2019 20:53:23 +0200 bump version to 0.9.2 c37c488c222ae62fa82edecd2391e5dd76de1e23 2019-03-17T14:19:54Z 2019-03-17T14:19:54Z escape gph in paths Hiltjo Posthuma hiltjo@codemadness.org commit 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 f8a73285fa1ba57d5815a9c365db13772896ad19 2019-03-09T11:41:38Z 2019-03-09T11:41:38Z pedantic snprintf() improvement Hiltjo Posthuma hiltjo@codemadness.org commit 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." 77bfd42fb3c139ada3a679a62c56f6eebd38a0c2 2019-03-01T10:50:45Z 2019-03-01T10:50:45Z fix issues in example scripts Hiltjo Posthuma hiltjo@codemadness.org commit 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. 5a8540c7f9ec50f9fe1b5f163ccfa2d0e5ed5c0b 2019-02-22T10:14:16Z 2019-02-22T10:14:16Z bump version to 0.9.1 Hiltjo Posthuma hiltjo@codemadness.org commit 5a8540c7f9ec50f9fe1b5f163ccfa2d0e5ed5c0b parent 700588116af76c9a3989c8356952493d592d792b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 22 Feb 2019 11:14:16 +0100 bump version to 0.9.1 700588116af76c9a3989c8356952493d592d792b 2019-02-09T14:11:35Z 2019-02-09T14:11:35Z Makefile: add DOCPREFIX for installing docs in ports Hiltjo Posthuma hiltjo@codemadness.org commit 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 4011430d5117b1a33e7a3855d8d83c2862d5552d 2019-02-07T20:02:37Z 2019-02-07T20:04:26Z change order of commits in log from most recent to old to applied order Hiltjo Posthuma hiltjo@codemadness.org commit 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 1db52961131a913a60e96889ae210daede9b44e6 2019-02-03T14:27:14Z 2019-02-03T14:27:14Z remove tags.gph support Hiltjo Posthuma hiltjo@codemadness.org commit 1db52961131a913a60e96889ae210daede9b44e6 parent 8dc7c20dfe3d6a8bb41d4f245e1bbe5965209b3b Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 3 Feb 2019 15:27:14 +0100 remove tags.gph support 8dc7c20dfe3d6a8bb41d4f245e1bbe5965209b3b 2019-02-03T14:26:42Z 2019-02-03T14:26:42Z fix compile: libgit2 0.28 changed giterr_last to git_error_last Hiltjo Posthuma hiltjo@codemadness.org commit 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 c2563a0ef6a3aad37cc234e2bfd9456c615917a9 2018-12-25T12:42:38Z 2018-12-25T12:42:38Z bump version to 0.9 Hiltjo Posthuma hiltjo@codemadness.org commit c2563a0ef6a3aad37cc234e2bfd9456c615917a9 parent 3be1a74e36d2b7bb6064fe671e39fca4b434a655 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 25 Dec 2018 13:42:38 +0100 bump version to 0.9 3be1a74e36d2b7bb6064fe671e39fca4b434a655 2018-11-23T11:56:05Z 2018-11-23T11:56:05Z in the diffstat prefix the type of change Hiltjo Posthuma hiltjo@codemadness.org commit 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 89e38eb68278966aee0d5597a683a299af2484b1 2018-11-23T11:47:58Z 2018-11-23T11:47:58Z don't use a heuristic for renames, the content must match exactly Hiltjo Posthuma hiltjo@codemadness.org commit 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. ad04b34bd289301b0331841176e7ac1483ad8fe1 2018-11-23T11:46:59Z 2018-11-23T11:46:59Z detect filetype changes in diff (for example a normal file to symlink) Hiltjo Posthuma hiltjo@codemadness.org commit 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) 4ae2a118c3f7dd0cc7e7b81289152afbada103bc 2018-11-11T18:07:24Z 2018-11-11T18:07:24Z detect more names for README and LICENSE Hiltjo Posthuma hiltjo@codemadness.org commit 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. 3a00e5bb2bf0415338ff08d1a7bc9a47b4b751e2 2018-11-11T17:57:50Z 2018-11-11T17:57:50Z detect copies and renames based on the threshold of changes Hiltjo Posthuma hiltjo@codemadness.org commit 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 8bad0e073142b1347085d04646fd64e11a7a7c2a 2018-09-08T12:40:03Z 2018-09-08T12:40:03Z optimize to truncate to 79 characters, remove white-space padding at end Hiltjo Posthuma hiltjo@codemadness.org commit 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 cba17854219972673d7079e9cb11185cc2565710 2018-09-02T13:50:33Z 2018-09-02T13:50:33Z fix writeheader not being called when flags are used before repos Hiltjo Posthuma hiltjo@codemadness.org commit 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 d0d070040d949d825c4464022d0d43cb1582db1f 2018-08-22T16:26:37Z 2018-08-22T16:26:37Z simplify range check Hiltjo Posthuma hiltjo@codemadness.org commit d0d070040d949d825c4464022d0d43cb1582db1f parent b03612ce75b2f5d2062897394375bd1f9bbf0e60 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Aug 2018 18:26:37 +0200 simplify range check b03612ce75b2f5d2062897394375bd1f9bbf0e60 2018-08-22T16:24:33Z 2018-08-22T16:24:33Z stagit-gopher: log: indicate when using the -l option and there are more commits Hiltjo Posthuma hiltjo@codemadness.org commit 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 4af56862f25af790ce711ffcfefb792b42042b0d 2018-05-25T16:42:35Z 2018-05-25T16:42:35Z assume OpenBSD 5.9+, always try pledge(2) on OpenBSD Hiltjo Posthuma hiltjo@codemadness.org commit 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 f2bd82599fbf7d3d9c2f7682ee0f09318aa1e798 2018-05-09T16:52:24Z 2018-05-09T17:02:39Z Clarify usage regarding -c and -l mutual exclusion Quentin Rameau quinq@fifth.space commit 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 1d8355b54e8bd333e00eae3ca4f4e2d0f7ed0733 2018-04-07T12:14:54Z 2018-04-07T12:14:54Z bump version to 0.8 Hiltjo Posthuma hiltjo@codemadness.org commit 1d8355b54e8bd333e00eae3ca4f4e2d0f7ed0733 parent 9b48ff8e67a3b23b301293a63e8d757c8305f522 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 7 Apr 2018 14:14:54 +0200 bump version to 0.8 9b48ff8e67a3b23b301293a63e8d757c8305f522 2018-04-06T17:29:33Z 2018-04-06T17:29:33Z stagit-gopher-index: show usage when no repo is specified Hiltjo Posthuma hiltjo@codemadness.org commit 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). 249271be279ada1e7323f413ab41db3a3b99fac9 2018-04-06T17:29:10Z 2018-04-06T17:29:10Z stagit-gopher-index: pledge after git_libgit2_init Hiltjo Posthuma hiltjo@codemadness.org commit 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 8e525dddbb0022a62f969efa1f9aeb30533a3a61 2018-04-06T17:28:43Z 2018-04-06T17:28:43Z stagit-gopher-index.1: fix flag typo Hiltjo Posthuma hiltjo@codemadness.org commit 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 e32410fe7894b741e141248a5e256f1e93e59fab 2018-04-01T13:09:43Z 2018-04-01T13:13:19Z fix truncation and padding for lines containing multiwidth glyphs Hiltjo Posthuma hiltjo@codemadness.org commit 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 c1b5e802f0d0c349faf8d4e6b6988dcfdc574488 2018-03-26T18:11:56Z 2018-03-26T18:11:56Z pledge after git_libgit2_init Hiltjo Posthuma hiltjo@codemadness.org commit 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. ec19160fa44ca478dd7e319eea8ee1ee1a0973e2 2018-02-09T15:13:57Z 2018-02-09T15:13:57Z optimization: only diff the tree when it is needed for the diffstat... Hiltjo Posthuma hiltjo@codemadness.org commit 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. ab46ca27fc26888dc6e061c614d085114eb7b1ea 2018-02-09T15:09:10Z 2018-02-09T15:09:10Z when a tags.gph file exists in the current directory then link it in the menu Hiltjo Posthuma hiltjo@codemadness.org commit 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 b1f0c95f2975540809eb6ff3bcd04023b71a87de 2018-01-28T15:28:25Z 2018-01-28T15:28:25Z README: improve tarball generation by tag example Hiltjo Posthuma hiltjo@codemadness.org commit 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. f3d448a743143b22dcb9ab7e20dc16149d55907b 2018-01-27T15:24:38Z 2018-01-27T15:24:38Z fix escape regression in gphtextnl() and simplify the code Hiltjo Posthuma hiltjo@codemadness.org commit 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! b5cdcadb391b8f27bced0273013ae5ba2189cde9 2018-01-21T15:47:48Z 2018-01-21T15:47:48Z stagit-gopher: add -l option: limit the amount of commits for the log.gph file Hiltjo Posthuma hiltjo@codemadness.org commit 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 fa9a155a4a631fe2f384e9f7516a9a03f2f53c70 2018-01-21T14:25:35Z 2018-01-21T14:25:35Z merge and remove a line Hiltjo Posthuma hiltjo@codemadness.org commit fa9a155a4a631fe2f384e9f7516a9a03f2f53c70 parent 902828a91ad47f2a7351b44f7d589e20085fc557 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 21 Jan 2018 15:25:35 +0100 merge and remove a line 902828a91ad47f2a7351b44f7d589e20085fc557 2018-01-21T14:24:03Z 2018-01-21T14:24:03Z remove a non-portable syntax in Makefile Hiltjo Posthuma hiltjo@codemadness.org commit 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. 6eabee1500b2ff4872a4dff7bd78b57ff83603fc 2018-01-21T14:23:28Z 2018-01-21T14:23:28Z bump LICENSE to 2018 Hiltjo Posthuma hiltjo@codemadness.org commit 6eabee1500b2ff4872a4dff7bd78b57ff83603fc parent 68d5f34fe5aadad1b2272f4797ab18bd2938a962 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 21 Jan 2018 15:23:28 +0100 bump LICENSE to 2018 68d5f34fe5aadad1b2272f4797ab18bd2938a962 2017-11-25T15:04:24Z 2017-11-25T15:04:24Z post-receive: fix warning in script for example when pushing deleted tags Hiltjo Posthuma hiltjo@codemadness.org commit 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. e7bf2942d6f37ffe0ace237d397abf7480e5c945 2017-11-25T14:31:05Z 2017-11-25T14:31:05Z Makefile: bump version to 0.7.2 Hiltjo Posthuma hiltjo@codemadness.org commit 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 203a8500a5017ff2bfb77ccdbd33938c1ad4fea1 2017-11-25T14:13:40Z 2017-11-25T14:13:40Z index: read until the first newline or CR or TAB Hiltjo Posthuma hiltjo@codemadness.org commit 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(). 45274ebb4ba07c9771c279aae51259040d94d0ab 2017-11-25T14:12:36Z 2017-11-25T14:12:36Z gphtext() and gphlink(): fix NUL byte check Hiltjo Posthuma hiltjo@codemadness.org commit 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. bbd27612e48b51f37e4e70566ded2007fe48724f 2017-11-25T14:10:31Z 2017-11-25T14:10:31Z index: setlocale() because we use multibyte functions Hiltjo Posthuma hiltjo@codemadness.org commit 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 9731204482dd309c3de1a1a5055d838f1ec6f899 2017-11-19T13:58:32Z 2017-11-19T13:58:32Z Makefile: bump version to 0.7.1 Hiltjo Posthuma hiltjo@codemadness.org commit 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 181145cd95ae69fc4e54d98047aa1dc25d16b404 2017-11-19T13:57:01Z 2017-11-19T13:57:01Z fix: add "fattr" pledge for chmod(2) for cachefile Hiltjo Posthuma hiltjo@codemadness.org commit 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) 77cc9b4e4f2c2d70880abf48090755902ee45c4f 2017-11-18T11:54:21Z 2017-11-18T11:54:21Z Makefile: bump version to 0.7 Hiltjo Posthuma hiltjo@codemadness.org commit 77cc9b4e4f2c2d70880abf48090755902ee45c4f parent 769babb131e20c4d7ebe197cfc182bc76ea96c18 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 18 Nov 2017 12:54:21 +0100 Makefile: bump version to 0.7 769babb131e20c4d7ebe197cfc182bc76ea96c18 2017-11-17T15:12:12Z 2017-11-17T15:12:12Z fix file permissions for cachefile and respect umask(2) Hiltjo Posthuma hiltjo@codemadness.org commit 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) 9420a097388c8c90a4f534d3b5f8d4f6b7f195bd 2017-11-17T15:09:55Z 2017-11-17T15:09:55Z more verbose errors: show which file failed on open Hiltjo Posthuma hiltjo@codemadness.org commit 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 2fc39b9cc9f90f20a6ef3c725080af1a0d5bc413 2017-11-17T15:08:28Z 2017-11-17T15:08:28Z Makefile: remove unused $SCRIPTS Hiltjo Posthuma hiltjo@codemadness.org commit 2fc39b9cc9f90f20a6ef3c725080af1a0d5bc413 parent e46c746c435114ae3e7541ca93ffa7aacf4aaff3 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 17 Nov 2017 16:08:28 +0100 Makefile: remove unused $SCRIPTS e46c746c435114ae3e7541ca93ffa7aacf4aaff3 2017-11-17T15:06:51Z 2017-11-17T15:06:51Z fixes for escaping and printing Hiltjo Posthuma hiltjo@codemadness.org commit 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.