~hummer12007

Recent activity

[PATCH 2/2] Render after reading stdin 9 months ago

From Mykyta Holubakha to ~adnano/wmenu-devel

This allows seeing option list without doing any input, like in original dmenu.
---
 main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main.c b/main.c
index 99620fd..f430087 100644
--- a/main.c
+++ b/main.c
@@ -1166,6 +1166,7 @@ int main(int argc, char **argv) {

	read_stdin(&state);
	match(&state);
	render_frame(&state);
[message trimmed]

[PATCH 1/2] Drop render_frame on surface_enter 9 months ago

From Mykyta Holubakha to ~adnano/wmenu-devel

---
 main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/main.c b/main.c
index bfa5e62..99620fd 100644
--- a/main.c
+++ b/main.c
@@ -411,7 +411,6 @@ static void surface_enter(void *data, struct wl_surface *surface,
		struct wl_output *wl_output) {
	struct menu_state *state = data;
	state->output = wl_output_get_user_data(wl_output);
	render_frame(state);
}
[message trimmed]

[PATCH hare v3] rt: add functions to walk stack frames 2 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 2 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]

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

From to ~sircmpwn/hare-dev

From: Mykyta Holubakha <hilobakho@gmail.com>

---
 rt/+linux/backtrace.ha | 19 +++++++++++++++++++
 rt/+x86_64/getfp.s     |  5 +++++
 scripts/gen-stdlib     |  7 +++++++
 stdlib.mk              | 14 ++++++++++++++
 4 files changed, 45 insertions(+)
 create mode 100644 rt/+linux/backtrace.ha
 create mode 100644 rt/+x86_64/getfp.s

diff --git a/rt/+linux/backtrace.ha b/rt/+linux/backtrace.ha
new file mode 100644
index 0000000..f189204
[message trimmed]

[PATCH hare] Build fixup 3 years ago

From to ~sircmpwn/hare-dev

From: Mykyta Holubakha <hilobakho@gmail.com>

---
 scripts/gen-stdlib | 2 +-
 stdlib.mk          | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib
index 69a4574..9ddf4f7 100755
--- a/scripts/gen-stdlib
+++ b/scripts/gen-stdlib
@@ -390,7 +390,7 @@ net() {
		'$(PLATFORM)/socket.ha' \
		'$(PLATFORM)/util.ha' \
[message trimmed]

[PATCH hare] net: add high-level UNIX socket interface 3 years ago

From to ~sircmpwn/hare-dev

From: Mykyta Holubakha <hilobakho@gmail.com>

---
 net/+linux/socket.ha | 115 +++++++++++++++++++++++++++----------------
 net/+linux/util.ha   |  40 +++++++++++++--
 2 files changed, 108 insertions(+), 47 deletions(-)

diff --git a/net/+linux/socket.ha b/net/+linux/socket.ha
index b743b18..f8ad388 100644
--- a/net/+linux/socket.ha
+++ b/net/+linux/socket.ha
@@ -1,51 +1,60 @@
use io;
use net::ip;
[message trimmed]

[PATCH hare v5 2/2] net::unix: unix socket address type 3 years ago

From to ~sircmpwn/hare-dev

From: Mykyta Holubakha <hilobakho@gmail.com>

---
 net/unix/+linux.ha | 29 +++++++++++++++++++++++++++++
 net/unix/addr.ha   |  5 +++++
 scripts/gen-stdlib |  9 +++++++++
 stdlib.mk          | 30 ++++++++++++++++++++++++++++++
 4 files changed, 73 insertions(+)
 create mode 100644 net/unix/+linux.ha
 create mode 100644 net/unix/addr.ha

diff --git a/net/unix/+linux.ha b/net/unix/+linux.ha
new file mode 100644
index 0000000..fb29c95
[message trimmed]

[PATCH hare v5 1/2] rt: fix UNIX_PATH_MAX type 3 years ago

From to ~sircmpwn/hare-dev

From: Mykyta Holubakha <hilobakho@gmail.com>

---
 rt/+linux/socket.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/+linux/socket.ha b/rt/+linux/socket.ha
index 11ee8e1..f58dfa3 100644
--- a/rt/+linux/socket.ha
+++ b/rt/+linux/socket.ha
@@ -27,7 +27,7 @@ export type sockaddr_in6 = struct {
	sin6_scope_id: u32,
};

[message trimmed]