~lanodan

BZH

https://hacktivis.me/

Haelwenn (lanodan) Monnier

~lanodan/public-inbox

Last active 5 months ago
View more

Recent activity

Re: [PATCH harec] src/gen: Rename *constexpr to *constant a month ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/hare-dev

[2023-02-13 12:51:41+0000] Ember Sawady:
>thanks!
>
>To git@git.sr.ht:~sircmpwn/harec
>   aef98a9..4730fa6  master -> master
>
>btw you'll probably run into issues with math.h, that was what was
>blocking cproc compilation before

Oh, I got something quite unexpected

cproc+linux-gnu: I can now entirely run run make ; make check with no issues
cproc+linux-musl: I get "cproc-qbe: long double is not yet supported"

[PATCH harec] src/gen: Rename *constexpr to *constant a month ago

From to ~sircmpwn/hare-dev

From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>

This fixes compilation with cproc, constexpr bein a keyword in C23.

Picked *constant to correspond to the same assignment in the
gen_data_item function.
---
 src/gen.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gen.c b/src/gen.c
index 3328ab8..7c760bb 100644
--- a/src/gen.c
+++ b/src/gen.c
[message trimmed]

Re: [PATCH hare] cmd/hare: Use LDLINKFLAGS instead of LDFLAGS a month ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/hare-dev

[2023-02-03 18:31:11+0000] Ember Sawady:
>On Fri Feb 3, 2023 at 6:29 PM UTC, Jose Lombera wrote:
>> Maybe it's not the objective to be Hare-specific, but in practice it
>> will be.  No other software will use this variable (and if it does,
>> we'll have to worry with clashes again).
>
>I think it makes sense to try to standardize an environment variable
>that's just passed directly to $LD

Agreed and I think I'd rather have `HARE_LDFLAGS` later on if need be,
LDFLAGS being erroneously shoved to CC isn't an issue only with Hare but also Perl,
among probably a lot of other software out there.

[PATCH hare] cmd/hare: Use LDLINKFLAGS instead of LDFLAGS a month ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/hare-dev

From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>

Implements: https://todo.sr.ht/~sircmpwn/hare/784
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
---
 cmd/hare/schedule.ha | 2 +-
 docs/hare.scd        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/hare/schedule.ha b/cmd/hare/schedule.ha
index 643a80e9..f082f5aa 100644
--- a/cmd/hare/schedule.ha
+++ b/cmd/hare/schedule.ha
@@ -40,7 +40,7 @@ fn getenv(var: str) []str = {
[message trimmed]

[PATCH hare] cmd/hare: Stick to POSIX ar(1) flags to avoid requiring ARFLAGS a month ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/hare-dev

From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>

This also makes ARFLAGS consistent with CFLAGS as being designed for extra user flags.

Tested with GNU Binutils ar(1) and LLVM ar(1).

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
---
 cmd/hare/schedule.ha | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/cmd/hare/schedule.ha b/cmd/hare/schedule.ha
index 643a80e9..98fcfc5f 100644
--- a/cmd/hare/schedule.ha
[message trimmed]

[PATCH hare-wayland v2] cmd/scanner: Use strings::template and merge interface+request+event a month ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/public-inbox

From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>

---
 cmd/scanner/main.ha | 416 +++++++++++++++++++++++++++++---------------
 1 file changed, 272 insertions(+), 144 deletions(-)

diff --git a/cmd/scanner/main.ha b/cmd/scanner/main.ha
index 7ba6d90..5dba0f9 100644
--- a/cmd/scanner/main.ha
+++ b/cmd/scanner/main.ha
@@ -1,9 +1,162 @@
use fmt;
use io;
use os;
[message trimmed]

Re: [PATCH hare-wayland] cmd/scanner: Use strings::template and merge interface+request+event a month ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/public-inbox

[2023-01-28 11:31:38+0100] Drew DeVault:
>Needs rebase?

Isn't that done? It's parent commit is eb6e32a

[PATCH hare-wayland] cmd/scanner: Use strings::template and merge interface+request+event a month ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/public-inbox

From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>

---
 cmd/scanner/main.ha | 418 +++++++++++++++++++++++++++++---------------
 1 file changed, 273 insertions(+), 145 deletions(-)

diff --git a/cmd/scanner/main.ha b/cmd/scanner/main.ha
index 379e196..3dc6481 100644
--- a/cmd/scanner/main.ha
+++ b/cmd/scanner/main.ha
@@ -1,9 +1,163 @@
use fmt;
use io;
use os;
[message trimmed]

[PATCH hare 3/3] net/uri/+test: Use wanted/got wrapping for all str assertions 3 months ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/hare-dev

Signed-off-by: Haelwenn (lanodan) Monnier <contact+sr.ht@hacktivis.me>
---
 net/uri/+test.ha | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/net/uri/+test.ha b/net/uri/+test.ha
index 4b99c7b0..71c3fd3f 100644
--- a/net/uri/+test.ha
+++ b/net/uri/+test.ha
@@ -145,25 +145,29 @@ fn test_uri(in: str, expected_uri: uri, expected_str: str) (void | invalid) = {
	const u = parse(in)?;
	defer finish(&u);

	assert(u.scheme == expected_uri.scheme);
[message trimmed]

[PATCH hare 2/3] net/uri: Fix decoding multi-byte percent-data 3 months ago

From Haelwenn (lanodan) Monnier to ~sircmpwn/hare-dev

Technically it can be non-UTF-8 but hare heavily assumes UTF-8.

Signed-off-by: Haelwenn (lanodan) Monnier <contact+sr.ht@hacktivis.me>
---
 net/uri/+test.ha   | 10 ++++++++++
 net/uri/parse.ha   | 26 +++++++++++++++++++++++++-
 scripts/gen-stdlib |  2 +-
 stdlib.mk          |  4 ++--
 4 files changed, 38 insertions(+), 4 deletions(-)

diff --git a/net/uri/+test.ha b/net/uri/+test.ha
index ac024fc8..4b99c7b0 100644
--- a/net/uri/+test.ha
+++ b/net/uri/+test.ha
[message trimmed]