~porcellis

Pelotas, Brasil

https://www.porcellis.com

Latino americano e escrevo código para pagar as contas

~porcellis/antispam

Last active 23 days ago

~porcellis/cirandas.net-ops

Last active 6 months ago

~porcellis/cirandas-devel

Last active 1 year, 5 months ago

~porcellis/softwarelivrenoestado

Last active 1 year, 9 months ago

~porcellis/public-inbox

Last active 1 year, 9 months ago
View more

Recent activity

Re: Enable clojure syntax highlighting for .cljc file extensions a month ago

From Pedro Lucas Porcellis to ~sircmpwn/sr.ht-discuss

Hello Danny!

On Fri May 27, 2022 at 4:13 PM -03, Danny Freeman wrote:
> Is there anything else I can do to see that this change makes it way 
> into source hut? I imagine next time yall get this package updated it 
> will just start working.

I believe that all you need to do is send a patch updating the
py3-pygments package that sr.ht-apkbuilds repository shadows.

Re: Workflow for how to apply patches and pull requests from mutt a month ago

From Pedro Lucas Porcellis to ~sircmpwn/sr.ht-discuss

Hi Beau!

On Tue, May 24, 2022 at 07:19:12AM +0800, Beau Trepp wrote:
> For the other half as a maintainer, I have gotten a bit lost.
> I would be able to review code in my email client and respond, but I'm
> not sure how to then get the commits or patches out of git and then
> apply them to my repository to 'merge' in.

After you reviewed a patch that looks good to go, you should pipe it
into git am. If you use mutt, you can just use the pipe command (| by
default) and type git am -, same goes to aerc (I don't use it so I don't
know what command it is, but it is surely documented).

> If anyone knows of a good blog or workflow explaining this it would be

[PATCH] android: make https links to open on their default handler a month ago

From Pedro Lucas Porcellis to ~emersion/goguma-dev

This also will make things like reddit links being opened on user's
defined handler (i.e. the reddit app client, etc)
---
 android/app/src/main/AndroidManifest.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index bf4fffd..d283d44 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -9,6 +9,13 @@
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
    <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>

[message trimmed]

[PATCH hare] strings: fix typo in the suffix doc a month ago

From Pedro Lucas Porcellis to ~sircmpwn/hare-dev

Signed-off-by: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
---
 strings/suffix.ha | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strings/suffix.ha b/strings/suffix.ha
index 5f599e71..70b08d0c 100644
--- a/strings/suffix.ha
+++ b/strings/suffix.ha
@@ -23,7 +23,7 @@ export fn hasprefix(in: str, prefix: (str | rune)) bool = {
	assert(!hasprefix("hello world", 'q'));
};

// Returns true if 'in' has the given prefix.
[message trimmed]

[PATCH kaiju v2] render: replace manual render logic with wlr_scene a month ago

From Pedro Lucas Porcellis to ~bl4ckb0ne/kaiju-dev

This patch replaces the custom renderer logic with wlroot's wlr_scene
API. This patch matches wlroots version 0.15.1
---
v1 -> v2: squashed the previous four commits into a single one as
discussed on IRC

 render.c | 130 +++----------------------------------------------------
 server.c |  44 +++++++++++--------
 server.h |   2 +
 view.c   |  10 ++++-
 view.h   |   1 +
 5 files changed, 44 insertions(+), 143 deletions(-)

diff --git a/render.c b/render.c
[message trimmed]

[PATCH kaiju 4/4] server: find view from scene node graph a month ago

From Pedro Lucas Porcellis to ~bl4ckb0ne/kaiju-dev

---
 server.c | 29 +++++++++++++----------------
 1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/server.c b/server.c
index 235ff5d..f66d8b9 100644
--- a/server.c
+++ b/server.c
@@ -10,28 +10,25 @@
#include <wlr/util/log.h>

#include <stdlib.h>
#include <assert.h>

[message trimmed]

[PATCH kaiju 3/4] view: update view to use wlr_scene API a month ago

From Pedro Lucas Porcellis to ~bl4ckb0ne/kaiju-dev

---
 view.c | 10 +++++++++-
 view.h |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/view.c b/view.c
index e12fc1f..ca4e074 100644
--- a/view.c
+++ b/view.c
@@ -32,6 +32,8 @@ kaiju_view_focus(struct kaiju_view *view)
	struct kaiju_server *server = view->server;
	struct wlr_keyboard *keyboard = wlr_seat_get_keyboard(seat);

	wlr_scene_node_raise_to_top(view->scene_node);
[message trimmed]

[PATCH kaiju 2/4] server: build wlr_scene graph during initialization a month ago

From Pedro Lucas Porcellis to ~bl4ckb0ne/kaiju-dev

---
 server.c | 15 ++++++++++++++-
 server.h |  2 ++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/server.c b/server.c
index acaea16..235ff5d 100644
--- a/server.c
+++ b/server.c
@@ -105,10 +105,19 @@ new_xdg_surface_handler(struct wl_listener *listener, void *data)
			events.new_xdg_surface);
	struct wlr_xdg_surface *surface = data;

	if (surface->role != WLR_XDG_SURFACE_ROLE_TOPLEVEL) {
[message trimmed]

[PATCH kaiju 1/4] render: replace manual render logic with wlr_scene a month ago

From Pedro Lucas Porcellis to ~bl4ckb0ne/kaiju-dev

---
 render.c | 130 +++----------------------------------------------------
 1 file changed, 5 insertions(+), 125 deletions(-)

diff --git a/render.c b/render.c
index f868ca1..c6eaca7 100644
--- a/render.c
+++ b/render.c
@@ -20,137 +20,17 @@ struct render_data {
	struct timespec *when;
};

static void
render_surface(struct wlr_surface *surface, int x, int y, void *data)
[message trimmed]

[PATCH kaiju 0/4] Replace custom render with wlr_scene a month ago

From Pedro Lucas Porcellis to ~bl4ckb0ne/kaiju-dev

This patchset introduces kaiju to the wlr_scene API. Let me know if you
want me to broke down into smaller hunks/commits.

Pedro Lucas Porcellis (4):
  render: replace manual render logic with wlr_scene
  server: build wlr_scene graph during initialization
  view: update view to use wlr_scene API
  server: find view from scene node graph

 render.c | 130 +++----------------------------------------------------
 server.c |  44 +++++++++++--------
 server.h |   2 +
 view.c   |  10 ++++-
 view.h   |   1 +