~hummer12007

Recent activity

[PATCH hare v3] net/uri: fix some leaks 3 months ago

From Mykyta Holubakha to ~sircmpwn/hare-dev

---
 net/uri/+test.ha |  3 +++
 net/uri/parse.ha | 27 ++++++++++++++++++++++++++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/net/uri/+test.ha b/net/uri/+test.ha
index e9ecde6a..79b3e2d0 100644
--- a/net/uri/+test.ha
+++ b/net/uri/+test.ha
@@ -103,6 +103,9 @@ use net::ip;
	// Unexpected character
	assert(parse("https://^harelang.org") is invalid);

	// Trailing stuff after port
[message trimmed]

[PATCH hare v2] net/uri: fix some leaks 3 months ago

From Mykyta Holubakha to ~sircmpwn/hare-dev

---
 net/uri/+test.ha |  3 +++
 net/uri/parse.ha | 27 ++++++++++++++++++++++++++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/net/uri/+test.ha b/net/uri/+test.ha
index e9ecde6a..79b3e2d0 100644
--- a/net/uri/+test.ha
+++ b/net/uri/+test.ha
@@ -103,6 +103,9 @@ use net::ip;
	// Unexpected character
	assert(parse("https://^harelang.org") is invalid);

	// Trailing stuff after port
[message trimmed]

[PATCH hare v1] net/uri: fix some leaks 3 months ago

From Mykyta Holubakha to ~sircmpwn/hare-dev

---
 net/uri/+test.ha |  3 +++
 net/uri/parse.ha | 32 +++++++++++++++++++++++++++++++-
 2 files changed, 34 insertions(+), 1 deletion(-)

diff --git a/net/uri/+test.ha b/net/uri/+test.ha
index e9ecde6a..79b3e2d0 100644
--- a/net/uri/+test.ha
+++ b/net/uri/+test.ha
@@ -103,6 +103,9 @@ use net::ip;
	// Unexpected character
	assert(parse("https://^harelang.org") is invalid);

	// Trailing stuff after port
[message trimmed]

[PATCH hare v2 2/2] tests: fix low-hanging memory leaks 3 months ago

From Mykyta Holubakha to ~sircmpwn/hare-dev

---
 bufio/scanner_test+test.ha           | 3 +++
 crypto/bigint/+test/encoding_test.ha | 4 ++++
 crypto/ec/curves+test.ha             | 1 +
 encoding/base64/base64.ha            | 3 +++
 net/ip/test+test.ha                  | 4 +++-
 strings/tokenize.ha                  | 4 ++++
 unix/hosts/test+test.ha              | 1 +
 7 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/bufio/scanner_test+test.ha b/bufio/scanner_test+test.ha
index ddb3bf56..b3fadf0f 100644
--- a/bufio/scanner_test+test.ha
[message trimmed]

[PATCH hare v2 1/2] std: fix some low-hanging memory leaks 3 months ago

From Mykyta Holubakha to ~sircmpwn/hare-dev

---
 net/uri/parse.ha         | 4 ++++
 regex/regex.ha           | 2 ++
 time/chrono/timescale.ha | 7 +++++++
 time/date/virtual.ha     | 1 +
 4 files changed, 14 insertions(+)

diff --git a/net/uri/parse.ha b/net/uri/parse.ha
index 74eddd35..0c0093bf 100644
--- a/net/uri/parse.ha
+++ b/net/uri/parse.ha
@@ -91,6 +91,7 @@ export fn parse(in: str) (uri | invalid) = {
		case let s: str =>
			yield match (ip::parse(s)) {
[message trimmed]

[PATCH 2/2] tests: fix low-hanging memory leaks 3 months ago

From Mykyta Holubakha to ~sircmpwn/hare-dev

---
 bufio/scanner_test+test.ha           | 3 +++
 crypto/bigint/+test/encoding_test.ha | 4 ++++
 crypto/ec/curves+test.ha             | 1 +
 encoding/base64/base64.ha            | 3 +++
 net/ip/test+test.ha                  | 4 +++-
 strings/tokenize.ha                  | 4 ++++
 unix/hosts/test+test.ha              | 1 +
 7 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/bufio/scanner_test+test.ha b/bufio/scanner_test+test.ha
index ddb3bf56..b3fadf0f 100644
--- a/bufio/scanner_test+test.ha
[message trimmed]

[PATCH 1/2] std: fix some low-hanging memory leaks 3 months ago

From Mykyta Holubakha to ~sircmpwn/hare-dev

---
 net/uri/parse.ha         | 4 ++++
 regex/regex.ha           | 2 ++
 time/chrono/timescale.ha | 7 +++++++
 time/date/virtual.ha     | 1 +
 4 files changed, 14 insertions(+)

diff --git a/net/uri/parse.ha b/net/uri/parse.ha
index 74eddd35..0c0093bf 100644
--- a/net/uri/parse.ha
+++ b/net/uri/parse.ha
@@ -91,6 +91,7 @@ export fn parse(in: str) (uri | invalid) = {
		case let s: str =>
			yield match (ip::parse(s)) {
[message trimmed]

[PATCH hare v3] rt: add functions to walk stack frames 3 years ago

From to ~sircmpwn/hare-dev

From: Mykyta Holubakha <hilobakho@gmail.com>

Signed-off-by: Mykyta Holubakha <hilobakho@gmail.com>
---
 rt/+aarch64/backtrace.ha | 19 +++++++++++++++++++
 rt/+aarch64/getfp.s      |  5 +++++
 rt/+x86_64/backtrace.ha  | 20 ++++++++++++++++++++
 rt/+x86_64/getfp.s       |  5 +++++
 scripts/gen-stdlib       |  7 +++++++
 stdlib.mk                | 14 ++++++++++++++
 6 files changed, 70 insertions(+)
 create mode 100644 rt/+aarch64/backtrace.ha
 create mode 100644 rt/+aarch64/getfp.s
 create mode 100644 rt/+x86_64/backtrace.ha
[message trimmed]

[PATCH hare v2] rt: add functions to walk stack frames 3 years ago

From to ~sircmpwn/hare-dev

From: Mykyta Holubakha <hilobakho@gmail.com>

---
Works on +x86_64, to be tested on aarch64 when it gets fixed.

 rt/+aarch64/backtrace.ha | 19 +++++++++++++++++++
 rt/+aarch64/getfp.s      |  5 +++++
 rt/+x86_64/backtrace.ha  | 20 ++++++++++++++++++++
 rt/+x86_64/getfp.s       |  5 +++++
 scripts/gen-stdlib       |  7 +++++++
 stdlib.mk                | 14 ++++++++++++++
 6 files changed, 70 insertions(+)
 create mode 100644 rt/+aarch64/backtrace.ha
 create mode 100644 rt/+aarch64/getfp.s
[message trimmed]

[PATCH harec] check/gen: support len of pointers to arrays 3 years ago

From to ~sircmpwn/hare-dev

From: Mykyta Holubakha <hilobakho@gmail.com>

---
 src/check.c | 2 +-
 src/gen.c   | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/check.c b/src/check.c
index f0e5f13..7753172 100644
--- a/src/check.c
+++ b/src/check.c
@@ -1758,7 +1758,7 @@ check_expr_measure(struct context *ctx,
		errors = check_expression(ctx, aexpr->measure.value,
			expr->measure.value, NULL, errors);
[message trimmed]