Re: [hackers] [ii][PATCH] use square brackets for optional -u parameter in man page

2022-09-02 Thread Hiltjo Posthuma
On Thu, Sep 01, 2022 at 01:56:04PM +, Tom Schwindl wrote: > Hi, > > On Tue Aug 30, 2022 at 10:43 AM CEST, Petr Vaněk wrote: > > --- > > ii.1 | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/ii.1 b/ii.1 > > index 8e06af7..db05ab6 100644 > > --- a/ii.1 > > +++

[hackers] [ii] LICENSE: bump license year || Hiltjo Posthuma

2022-09-02 Thread git
commit acbc72748d9d2493e4c21c05f58bed4ede84448f Author: Hiltjo Posthuma AuthorDate: Fri Sep 2 11:23:27 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 11:35:15 2022 +0200 LICENSE: bump license year diff --git a/LICENSE b/LICENSE index a5816a8..798cb78 100644 --- a/LICENSE

[hackers] [ii] ii.1: improve documentation of usage options || Hiltjo Posthuma

2022-09-02 Thread git
commit 2d0480ce81d5bc4329686fe8ef7f0b440bf35ec0 Author: Hiltjo Posthuma AuthorDate: Fri Sep 2 11:23:08 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 11:33:46 2022 +0200 ii.1: improve documentation of usage options * Also improve the order of options and

[hackers] [ii] remove unmaintained changelog || Hiltjo Posthuma

2022-09-02 Thread git
commit 3fab03ea0be7ed61aa9900bb378db328fe83e34b Author: Hiltjo Posthuma AuthorDate: Fri Sep 2 11:50:51 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 11:50:51 2022 +0200 remove unmaintained changelog diff --git a/CHANGES b/CHANGES deleted file mode 100644 index

[hackers] [ii] Makefile: fix make dist if it is run more than once || Hiltjo Posthuma

2022-09-02 Thread git
commit 00698e45ead4ee1cec0e17b9f209dc4332c6f07b Author: Hiltjo Posthuma AuthorDate: Fri Sep 2 11:52:58 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 11:52:58 2022 +0200 Makefile: fix make dist if it is run more than once ... and stream directly to compressed

[hackers] [ii] Makefile: simplify and use system flags by default || Hiltjo Posthuma

2022-09-02 Thread git
commit 36c77931fd8905ad1ca0459fedb209929cb8d596 Author: Hiltjo Posthuma AuthorDate: Fri Sep 2 11:49:34 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 11:49:34 2022 +0200 Makefile: simplify and use system flags by default diff --git a/Makefile b/Makefile index

Re: [hackers] [ii][PATCH] use square brackets for optional -u parameter in man page

2022-09-02 Thread Petr Vaněk
Hi, On Fri, Sep 02, 2022 at 10:37:56AM +0200, Hiltjo Posthuma wrote: > On Thu, Sep 01, 2022 at 01:56:04PM +, Tom Schwindl wrote: > > On Tue Aug 30, 2022 at 10:43 AM CEST, Petr Vaněk wrote: > > > --- > > > ii.1 | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > diff

[hackers] [ii] ii: fix mistake in usage, the host is actually mandatory || Hiltjo Posthuma

2022-09-02 Thread git
commit 5bd50577a911f806cc09d909a31605d2461df53e Author: Hiltjo Posthuma AuthorDate: Fri Sep 2 12:23:40 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 12:23:40 2022 +0200 ii: fix mistake in usage, the host is actually mandatory Reported by Petr Vaněk , thanks!

[hackers] [ii] ii.1: fix some lint warnings from mandoc -Tlint || Hiltjo Posthuma

2022-09-02 Thread git
commit 25c000bf98735aa4f07b4ab9050618426e2f Author: Hiltjo Posthuma AuthorDate: Fri Sep 2 12:25:11 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 12:25:11 2022 +0200 ii.1: fix some lint warnings from mandoc -Tlint diff --git a/ii.1 b/ii.1 index 805ab7e..30f7792 100644

[hackers] [dmenu] tab-complete: figure out the size before copying || NRK

2022-09-02 Thread git
commit 528d39b011afb7ef6fd794ba6b74155d4e69bc68 Author: NRK AuthorDate: Thu Sep 1 23:51:43 2022 +0600 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 13:00:48 2022 +0200 tab-complete: figure out the size before copying we already need to know the string length since `cursor`

[hackers] [dmenu] readstdin: use getline(3) || NRK

2022-09-02 Thread git
commit 32db2b125190d366be472ccb7cad833248696144 Author: NRK AuthorDate: Fri Sep 2 00:35:18 2022 +0600 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 12:53:34 2022 +0200 readstdin: use getline(3) currently readstdin(): - fgets() into a local buffer, - strchr()

[hackers] [ii] [PATCH] ii: Remove unnecessary explicit zeroing of variables

2022-09-02 Thread Tom Schwindl
--- ii.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ii.c b/ii.c index 0856e8f010d3..520f75d1618a 100644 --- a/ii.c +++ b/ii.c @@ -32,7 +32,7 @@ size_t strlcpy(char *, const char *, size_t); #define IRC_MSG_MAX 512 /* guaranteed to be <= than

Re: [hackers] [dmenu] tab-complete: figure out the size before copying || NRK

2022-09-02 Thread Santtu Lakkala
On 2.9.2022 14.01, g...@suckless.org wrote: commit 528d39b011afb7ef6fd794ba6b74155d4e69bc68 dmenu.c b/dmenu.c index 969f6d8..6b285df 100644 --- a/dmenu.c +++ b/dmenu.c @@ -517,9 +517,9 @@ insert: case XK_Tab: if (!sel) return; -

Re: [hackers] [ii] [PATCH] ii: Remove unnecessary explicit zeroing of variables

2022-09-02 Thread Hiltjo Posthuma
On Fri, Sep 02, 2022 at 01:07:15PM +, Tom Schwindl wrote: > --- > ii.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/ii.c b/ii.c > index 0856e8f010d3..520f75d1618a 100644 > --- a/ii.c > +++ b/ii.c > @@ -32,7 +32,7 @@ size_t strlcpy(char *,

[hackers] [dmenu] fix a regression in the previous commit for tab complete || Hiltjo Posthuma

2022-09-02 Thread git
commit 1e8c5b68f4881bd4ae257c780fd41f129c79f419 Author: Hiltjo Posthuma AuthorDate: Fri Sep 2 19:09:50 2022 +0200 Commit: Hiltjo Posthuma CommitDate: Fri Sep 2 19:09:50 2022 +0200 fix a regression in the previous commit for tab complete Reported by Santtu Lakkala , thanks!

Re: [hackers] [dmenu] tab-complete: figure out the size before copying || NRK

2022-09-02 Thread Hiltjo Posthuma
On Fri, Sep 02, 2022 at 02:58:15PM +0300, Santtu Lakkala wrote: > On 2.9.2022 14.01, g...@suckless.org wrote: > > commit 528d39b011afb7ef6fd794ba6b74155d4e69bc68 > dmenu.c b/dmenu.c > > index 969f6d8..6b285df 100644 > > --- a/dmenu.c > > +++ b/dmenu.c > > @@ -517,9 +517,9 @@ insert: > > case

Re: [hackers] [dmenu] tab-complete: figure out the size before copying || NRK

2022-09-02 Thread NRK
Hi Santtu, On Fri, Sep 02, 2022 at 02:58:15PM +0300, Santtu Lakkala wrote: > This should now be > text[cursor] = '\0'; You're totally correct. I noticed this too some time later after I had already sent the patch. I was about to send an amended patch now but looks like it's already fixed thanks