~martijnbraam

The Netherlands

https://brixit.nl/

I do computer stuff

~martijnbraam/public-inbox

Last active a month ago

~martijnbraam/openatem

Last active a month ago

~martijnbraam/boarddb

Last active 2 months ago

~martijnbraam/fathub

Last active 3 months ago

~martijnbraam/postmarketos

Last active 6 months ago

~martijnbraam/rptr-devel

Last active 9 months ago

~martijnbraam/rptr-announce

Last active 9 months ago

~martijnbraam/ofonoctl

Last active 1 year, 10 months ago

~martijnbraam/pmos-upstream

Last active 2 years ago

~martijnbraam/test

Last active 3 years ago
View more

Recent activity

[PATCH] DPI scaling for the dots 12 hours ago

From Martijn Braam to ~calebccff/pbsplash

---
Make all the dot render metrics relative to the dot size and the dot
size relative to the DPI so the dots always have a consistent physical
size.

 include/pbsplash.h |  4 ++--
 src/animate.c      | 39 ++++++++++++---------------------------
 src/pbsplash.c     |  2 +-
 3 files changed, 15 insertions(+), 30 deletions(-)

diff --git a/include/pbsplash.h b/include/pbsplash.h
index bb2ba0a..b855f28 100644
--- a/include/pbsplash.h
+++ b/include/pbsplash.h
[message trimmed]

Re: [PATCH 1/2] frontend/home: Add HTTP 404 page 2 months ago

From Martijn Braam to ~martijnbraam/boarddb

I've changed the 404 handler into a global one so it just works when you 
abort(404) anywhere :)

On 3/15/22 11:46, Raffaele Tranquillini wrote:
> Signed-off-by: Raffaele Tranquillini <raffaele.tranquillini@gmail.com>
> ---
>   boarddb/frontend/home.py                 |  5 ++++-
>   boarddb/static/css/component/layout.less |  2 +-
>   boarddb/templates/404.html               | 10 ++++++++++
>   3 files changed, 15 insertions(+), 2 deletions(-)
>   create mode 100644 boarddb/templates/404.html
>
> diff --git a/boarddb/frontend/home.py b/boarddb/frontend/home.py
> index 5b3f942..1a7f8a2 100644

[PATCH todo.sr.ht] Remove ability to create an issue comment with only whitespace 3 months ago

From Martijn Braam to ~sircmpwn/sr.ht-dev

---
 todosrht/blueprints/ticket.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/todosrht/blueprints/ticket.py b/todosrht/blueprints/ticket.py
index b04e560..3f1bcb3 100644
--- a/todosrht/blueprints/ticket.py
+++ b/todosrht/blueprints/ticket.py
@@ -158,7 +158,7 @@ def ticket_comment_POST(owner, name, ticket_id):
    reopen = valid.optional("reopen")
    preview = valid.optional("preview")

    valid.expect(not text or 3 <= len(text) <= 16384,
    valid.expect(not text or 3 <= len(text.strip()) <= 16384,
[message trimmed]

Re: [PATCH numberstation] Improve behavior when launching multiple instances 4 months ago

From Martijn Braam to ~martijnbraam/public-inbox

This is great! Thanks, I've applied it and released 1.1.0 with this and 
your previous patch.

On 2/2/22 16:59, Kazutoshi Noguchi wrote:
> The current implementation ignores a key passed to the second instance
> and always tries to add a key passed to the first instance.
>
> This patch fixes this bug by handling arguments with GApplication.
>
> This patch also makes this app focusing the existing window instead of creating
> a new one when launching the second instance.
> ---
>   numberstation/__main__.py | 29 ++++++++++++++++++-----------
>   numberstation/window.py   | 10 ++++------

Re: [PATCH] WIP: Implement board comparison page 5 months ago

From Martijn Braam to ~martijnbraam/boarddb

Nice

On 1/21/22 13:28, Raffaele Tranquillini wrote:
> ---
>   boarddb/__init__.py                 | 18 +++++++++
>   boarddb/frontend/home.py            | 11 ++++++
>   boarddb/templates/boardcompare.html | 57 +++++++++++++++++++++++++++++
>   3 files changed, 86 insertions(+)
>   create mode 100644 boarddb/templates/boardcompare.html
>
> diff --git a/boarddb/__init__.py b/boarddb/__init__.py
> index 54f80b5..cc27208 100644
> --- a/boarddb/__init__.py
> +++ b/boarddb/__init__.py

Re: [PATCH] Add JingPad downstream 6 months ago

From Martijn Braam to ~martijnbraam/public-inbox

On 12/27/21 18:41, Dang Huynh wrote:
> ---
>   data/downstream-jingling-jingpad.yaml | 32 +++++++++++++++++++++++++++
>   1 file changed, 32 insertions(+)
>   create mode 100644 data/downstream-jingling-jingpad.yaml
>
> diff --git a/data/downstream-jingling-jingpad.yaml b/data/downstream-jingling-jingpad.yaml
> new file mode 100644
> index 0000000..d1019f7
> --- /dev/null
> +++ b/data/downstream-jingling-jingpad.yaml
> @@ -0,0 +1,32 @@
> +name: Jingpad A1 Downstream
> +manufacturer: JingLing

Re: [PATCH] Allow empty issuer in andotp import 6 months ago

From Martijn Braam to ~martijnbraam/public-inbox

Thanks, applied. I've slightly modified it to also check if issuer is 
not empty/null to make the checking complete.

On 12/17/21 17:24, Lorenzo Martinico wrote:
> ---
>   contrib/andotp.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/contrib/andotp.py b/contrib/andotp.py
> index a98e004..337ec0d 100755
> --- a/contrib/andotp.py
> +++ b/contrib/andotp.py
> @@ -10,7 +10,7 @@ for item in items:
>       label = quote(item["label"])

Re: [PATCH] add contrib/andotp.py: import from andotp 7 months ago

From Martijn Braam to ~martijnbraam/public-inbox

Thanks, applied to master

On 12/1/21 14:56, Drew DeVault wrote:
> This script converts the andOTP JSON dump into a list of otpauth://
> URLs.
> ---
>   contrib/andotp.py | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>   create mode 100755 contrib/andotp.py
>
> diff --git a/contrib/andotp.py b/contrib/andotp.py
> new file mode 100755
> index 0000000..a98e004
> --- /dev/null

[PATCH] rockchip: Add initial support for the PinePhone Pro 8 months ago

From Martijn Braam to ~postmarketos/upstreaming

This is a new device by PINE64 that's very similar to the Pinebook Pro
that's already supported.

Specification:
- Rockchip RK3399
- 4GB Dual-Channel LPDDR4
- 128GB eMMC
- mSD card slot
- AP6255 for 802.11ac WiFi and Bluetooth
- 6 inch 720*1440 DSI display
- Quectel EG25g usb modem
- Type-C port with alt-mode display (DP 1.2) and PD charging.

Signed-off-by: Martijn Braam <martijn@brixit.nl>
[message trimmed]

Re: [PATCH bare-py] Fix typo in url 10 months ago

From Martijn Braam to ~martijnbraam/public-inbox

Hah did not notice that, Thanks for the patch

On 8/3/21 8:17 AM, blank X wrote:
> ---
>   setup.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/setup.py b/setup.py
> index 0854ce5..f3c8001 100644
> --- a/setup.py
> +++ b/setup.py
> @@ -4,7 +4,7 @@ setup(
>       name='bare',
>       version='0.7.0',