~amk

program writer for a respectable software company

~amk/public-inbox

Last active 11 months ago
View more

Recent activity

[PATCH hare-irc] Fix builds 10 months ago

From Alex McGrath to ~sircmpwn/hare-dev

---
 cmd/testbot/main.ha |  4 ++--
 net/irc/client.ha   |  9 ++++-----
 net/irc/isupport.ha |  4 ++--
 net/irc/message.ha  |  4 +---
 net/irc/state.ha    | 24 ++++++++++++------------
 5 files changed, 21 insertions(+), 24 deletions(-)

diff --git a/cmd/testbot/main.ha b/cmd/testbot/main.ha
index e09af6b..e073410 100644
--- a/cmd/testbot/main.ha
+++ b/cmd/testbot/main.ha
@@ -43,7 +43,7 @@ export fn main() void = {
 	for (!(irc::dispatch(conn)! is io::EOF)) void;

[PATCH gamja] Add support for uploading files with FILEHOST 1 year, 1 month ago

From Alex McGrath to ~emersion/public-inbox

---
 components/app.js           | 41 +++++++++++++++++++++++++++++++++++++
 components/buffer-header.js | 25 +++++++++++++++++++---
 lib/irc.js                  |  4 ++++
 3 files changed, 67 insertions(+), 3 deletions(-)

diff --git a/components/app.js b/components/app.js
index a27c915..db3d713 100644
--- a/components/app.js
+++ b/components/app.js
@@ -226,6 +226,7 @@ export default class App extends Component {
		this.handleVerifyClick = this.handleVerifyClick.bind(this);
		this.handleVerifySubmit = this.handleVerifySubmit.bind(this);
		this.handleOpenSettingsClick = this.handleOpenSettingsClick.bind(this);
[message trimmed]

[PATCH kimchi] Include query parameters when using the 'redirect' directive 2 years ago

From Alex McGrath to ~emersion/public-inbox

---
 directives.go | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/directives.go b/directives.go
index 9a57ff4..8891d9e 100644
--- a/directives.go
+++ b/directives.go
@@ -229,7 +229,16 @@ var backends = map[string]parseBackendFunc{
		if err := dir.ParseParams(&to); err != nil {
			return nil, err
		}
		return http.RedirectHandler(to, http.StatusFound), nil

[message trimmed]

[PATCH] community/tllist: upgrade to 1.1.0 2 years ago

From Alex McGrath to ~sircmpwn/alpine-aports

---
 community/tllist/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/community/tllist/APKBUILD b/community/tllist/APKBUILD
index b862c6053f..76d5c74560 100644
--- a/community/tllist/APKBUILD
+++ b/community/tllist/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=tllist
pkgver=1.0.5
pkgver=1.1.0
pkgrel=0
[message trimmed]

[PATCH] community/fcft: upgrade to 3.1.2 2 years ago

From Alex McGrath to ~sircmpwn/alpine-aports

---
 community/fcft/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/community/fcft/APKBUILD b/community/fcft/APKBUILD
index c678be31b2..ef5fd7b03e 100644
--- a/community/fcft/APKBUILD
+++ b/community/fcft/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=fcft
pkgver=3.1.1
pkgrel=1
pkgver=3.1.2
[message trimmed]

[PATCH] community/py3-mpv: upgrade to 1.0.1 2 years ago

From Alex McGrath to ~sircmpwn/alpine-aports

---
 community/py3-mpv/APKBUILD | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/community/py3-mpv/APKBUILD b/community/py3-mpv/APKBUILD
index 2f46ffde67..60d52295b4 100644
--- a/community/py3-mpv/APKBUILD
+++ b/community/py3-mpv/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Alex McGrath <amk@amk.ie>
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=py3-mpv
pkgver=0.5.2
pkgrel=2
[message trimmed]

[PATCH] gracefully fail when no messages are selected for deletion or moving 2 years ago

From Alex McGrath to ~migadu/alps-devel

---
 plugins/base/routes.go | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/plugins/base/routes.go b/plugins/base/routes.go
index 255faa5..52d1681 100644
--- a/plugins/base/routes.go
+++ b/plugins/base/routes.go
@@ -1024,6 +1024,11 @@ func handleMove(ctx *alps.Context) error {
		return echo.NewHTTPError(http.StatusBadRequest, err)
	}

	if len(uids) == 0 {
		ctx.Session.PutNotice("No messages selected.")
[message trimmed]

[PATCH] community/fcft: upgrade to 3.1.1 2 years ago

From Alex McGrath to ~sircmpwn/alpine-aports

---
 community/fcft/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/fcft/APKBUILD b/community/fcft/APKBUILD
index 612207362a..d4d3deb96d 100644
--- a/community/fcft/APKBUILD
+++ b/community/fcft/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=fcft
pkgver=3.0.1
pkgver=3.1.1
pkgrel=0
[message trimmed]

[PATCH hautils v3] uniq: new command 2 years ago

From Alex McGrath to ~sircmpwn/hare-dev

This implements most of uniq excluding the `-f` flag

spec: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/uniq.html
---
Reslove some comments (clean up void returns, config declaration, fprintln)

 .gitignore |   1 +
 Makefile   |   2 +
 uniq.ha    | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 162 insertions(+)
 create mode 100644 uniq.ha

diff --git a/.gitignore b/.gitignore
index 9e1875f..757c334 100644
[message trimmed]

[PATCH hautils] uniq: new command 2 years ago

From Alex McGrath to ~sircmpwn/hare-dev

This implements most of uniq excluding the `-f` flag

spec: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/uniq.html
---
Resolves some comments (static buffers, strings::compare -> ==)

 .gitignore |   1 +
 Makefile   |   2 +
 uniq.ha    | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 162 insertions(+)
 create mode 100644 uniq.ha

diff --git a/.gitignore b/.gitignore
index 9e1875f..757c334 100644
[message trimmed]