~seb

https://sebsite.pw/

i'm a human i think

Recent activity

[PATCH madeline 3/3] Use utf8::strerror a month ago

From Sebastian to ~ecs/mrsh-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 made/types.ha | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/made/types.ha b/made/types.ha
index 077cf35..b1457d7 100644
--- a/made/types.ha
+++ b/made/types.ha
@@ -54,8 +54,8 @@ export fn ctx_finish(ctx: *context) (void | io::error) = {

// Converts a made [[error]] into a user-friendly string.
export fn strerror(e: error) str = match (e) {
case utf8::invalid =>
[message trimmed]

[PATCH madeline 2/3] Capitalize strerror messages a month ago

From Sebastian to ~ecs/mrsh-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 made/types.ha | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/made/types.ha b/made/types.ha
index 52decd3..077cf35 100644
--- a/made/types.ha
+++ b/made/types.ha
@@ -55,19 +55,19 @@ export fn ctx_finish(ctx: *context) (void | io::error) = {
// Converts a made [[error]] into a user-friendly string.
export fn strerror(e: error) str = match (e) {
case utf8::invalid =>
	return "invalid utf8";
[message trimmed]

[PATCH madeline 1/3] Add more types to error tagged union a month ago

From Sebastian to ~ecs/mrsh-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 made/line.ha  |  7 +------
 made/types.ha | 11 +++++++++--
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/made/line.ha b/made/line.ha
index a66600d..68e6a8e 100644
--- a/made/line.ha
+++ b/made/line.ha
@@ -26,14 +26,9 @@ export fn line(ctx: *context) (str | void | io::EOF | error) = {
	s.lidx = len(s.lines) + 1;
	fmt::fprint(s.out, "\x1b[6n")?;

[message trimmed]

[PATCH madeline] s/os::finish/fs::finish/ a month ago

From Sebastian to ~ecs/mrsh-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 made/complete.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/made/complete.ha b/made/complete.ha
index 9354848..3810f95 100644
--- a/made/complete.ha
+++ b/made/complete.ha
@@ -68,7 +68,7 @@ export fn complete_fs(ctx: *context, buf: []u8, pos: size) (str, [](str, str)) =
	case fs::error =>
		return ("", []);
	};
	defer os::finish(it);
[message trimmed]

[PATCH madeline] graph: fix memory leak on invalid UTF-8 a month ago

From Sebastian to ~ecs/mrsh-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 graph/props+gen.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graph/props+gen.ha b/graph/props+gen.ha
index e24a71f..51902eb 100644
--- a/graph/props+gen.ha
+++ b/graph/props+gen.ha
@@ -57,8 +57,8 @@ fn handle(
	case io::EOF =>
		break;
	case let line: []u8 =>
		let line = strings::fromutf8(line)?;
[message trimmed]

[PATCH madeline] Update per bufio function name changes 2 months ago

From Sebastian to ~ecs/mrsh-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 graph/props+gen.ha | 2 +-
 made/actions.ha    | 2 +-
 made/hist.ha       | 2 +-
 made/line.ha       | 4 ++--
 made/util.ha       | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/graph/props+gen.ha b/graph/props+gen.ha
index 843f881..e24a71f 100644
--- a/graph/props+gen.ha
+++ b/graph/props+gen.ha
@@ -53,7 +53,7 @@ fn handle(
[message trimmed]

[PATCH madeline] Use opaque 3 months ago

From Sebastian to ~ecs/mrsh-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 graph/props+gen.ha | 2 +-
 made/actions.ha    | 2 +-
 made/hist.ha       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/graph/props+gen.ha b/graph/props+gen.ha
index 8248d3e..843f881 100644
--- a/graph/props+gen.ha
+++ b/graph/props+gen.ha
@@ -107,7 +107,7 @@ fn handle(
	};
};
[message trimmed]

[PATCH madeline] Add ^t to transpose characters 3 months ago

From Sebastian to ~ecs/mrsh-dev

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
makes madeline even more trans

 made/line.ha | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/made/line.ha b/made/line.ha
index 1d2ed76..9045d39 100644
--- a/made/line.ha
+++ b/made/line.ha
@@ -102,6 +102,17 @@ export fn line(ctx: *context) (str | void | io::EOF | error) = {
			case mode::SEARCH =>
				histup(&s)?;
[message trimmed]

[PATCH madeline] Add hinter type 4 months ago

From Sebastian to ~ecs/mrsh-dev

This allows a hinter to be set similarly to a completer. A function
"hinthistory" is provided which replicates the old default behavior.

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 example.ha                           |  4 ++--
 made/actions.ha                      | 18 +++++++-------
 made/{complete/fs.ha => complete.ha} | 22 +++++++++++++----
 made/complete/types.ha               | 12 ----------
 made/hint.ha                         | 19 +++++++++++++++
 made/hist.ha                         |  7 +++---
 made/line.ha                         |  4 +---
 made/types.ha                        |  5 ++--
 made/util.ha                         | 35 +++++++++++-----------------
[message trimmed]

[PATCH madeline] Add hinter type 4 months ago

From Sebastian to ~ecs/mrsh-dev

This allows a hinter to be set similarly to a completer. A function
"hinthistory" is provided which replicates the old default behavior.

Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
feel free to change anything here. also with made::complete gone
made::split also wants to go

 example.ha                           |  4 ++--
 made/actions.ha                      | 18 +++++++-------
 made/{complete/fs.ha => complete.ha} | 22 +++++++++++++----
 made/complete/types.ha               | 12 ----------
 made/hint.ha                         | 19 +++++++++++++++
 made/hist.ha                         |  7 +++---
[message trimmed]