~evantj

https://evan.d2evs.net

/ˈɛvən/

~evantj/hare-raylib-devel

Last active 16 days ago

~evantj/hare-raylib-announce

Last active 16 days ago
View more

Recent activity

[PATCH] nsvi: use the correct setting for hint border colors 5 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

Sorry, my bad
---
 frontends/visurf/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontends/visurf/window.c b/frontends/visurf/window.c
index 0aae8643d..a1498226f 100644
--- a/frontends/visurf/window.c
+++ b/frontends/visurf/window.c
@@ -398,7 +398,7 @@ draw_hints(struct nsvi_window *win, struct pool_buffer *buf)
			x = 0;
		}

		cairo_set_source_u32(buf->cairo, config.hints.border.width);
[message trimmed]

[PATCH] nsvi: use box_coords to get the absolute coordinates 5 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

The previous method didn't handle some edge cases relating to float
elements, which sometimes lead to hints placed in the wrong place.
---
 frontends/visurf/commands.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/frontends/visurf/commands.c b/frontends/visurf/commands.c
index 2541d7fbe..da98be36b 100644
--- a/frontends/visurf/commands.c
+++ b/frontends/visurf/commands.c
@@ -11,6 +11,7 @@
#include "content/content.h"
#include "content/content_protected.h"
#include "content/handlers/html/box.h"
[message trimmed]

[PATCH] nsvi: hint gadgets 5 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

---
 frontends/visurf/commands.c |  5 ++-
 frontends/visurf/window.c   | 68 +++++++++++++++++++++++++++++++++----
 frontends/visurf/window.h   |  2 +-
 3 files changed, 64 insertions(+), 11 deletions(-)

diff --git a/frontends/visurf/commands.c b/frontends/visurf/commands.c
index 22d1cb46e..2541d7fbe 100644
--- a/frontends/visurf/commands.c
+++ b/frontends/visurf/commands.c
@@ -169,9 +169,8 @@ cmd_exline(struct nsvi_state *state, int argc, char *argv[])
static void
follow_collect_hints(struct gui_window *win, struct box *node, int x, int y)
{
[message trimmed]

[PATCH] nsvi: restructure settings hierarchy 8 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

---
 frontends/visurf/settings.c | 205 ++++++++++++++++++------------------
 frontends/visurf/settings.h |  80 +++++++-------
 frontends/visurf/window.c   |  48 ++++-----
 3 files changed, 163 insertions(+), 170 deletions(-)

diff --git a/frontends/visurf/settings.c b/frontends/visurf/settings.c
index 957610f44..53d33ab47 100644
--- a/frontends/visurf/settings.c
+++ b/frontends/visurf/settings.c
@@ -10,47 +10,8 @@
#include "visurf/visurf.h"

struct nsvi_config config = {
[message trimmed]

[PATCH] nsvi: make throbber width configurable 8 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

---
I think that we should consider getting rid of the .colors namespace, so
that these settings could go under the same .tabs namespace as fg, bg,
etc. and we could restructure other settings similarly, but I don't
think this patch is the place for that.
 frontends/visurf/settings.c | 11 +++++++++++
 frontends/visurf/settings.h |  6 ++++++
 frontends/visurf/window.c   |  6 ++++--
 3 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/frontends/visurf/settings.c b/frontends/visurf/settings.c
index fe5cdda7d..957610f44 100644
--- a/frontends/visurf/settings.c
+++ b/frontends/visurf/settings.c
[message trimmed]

[PATCH] nsvi: make margins configurable 8 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

---
 frontends/visurf/settings.c |  7 ++++
 frontends/visurf/settings.h |  2 +
 frontends/visurf/window.c   | 82 ++++++++++++++++++-------------------
 3 files changed, 49 insertions(+), 42 deletions(-)

diff --git a/frontends/visurf/settings.c b/frontends/visurf/settings.c
index 3f8fbcf87..fe5cdda7d 100644
--- a/frontends/visurf/settings.c
+++ b/frontends/visurf/settings.c
@@ -61,6 +61,8 @@ struct nsvi_config config = {
		.border = 0,
	},
	.home = (char *)"about:blank",
[message trimmed]

[PATCH] nsvi: add hint borders 8 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

---
 frontends/visurf/settings.c | 23 +++++++++++++++++++++++
 frontends/visurf/settings.h |  2 ++
 frontends/visurf/window.c   |  6 ++++++
 3 files changed, 31 insertions(+)

diff --git a/frontends/visurf/settings.c b/frontends/visurf/settings.c
index d284f60e1..3f8fbcf87 100644
--- a/frontends/visurf/settings.c
+++ b/frontends/visurf/settings.c
@@ -17,6 +17,7 @@ struct nsvi_config config = {
			.bg = 0xEE2222FF,
			.fg = 0xFFFFFFFF,
			.like = 0x000000FF,
[message trimmed]

[PATCH] nsvi: add ^H exline binding 8 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

---
 frontends/visurf/window.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/frontends/visurf/window.c b/frontends/visurf/window.c
index 9d0ee3b0c..e33b149e4 100644
--- a/frontends/visurf/window.c
+++ b/frontends/visurf/window.c
@@ -1290,6 +1290,10 @@ nsvi_window_handle_exline_key(struct nsvi_window *win,
		case XKB_KEY_v:
			nsvi_window_exline_paste(win);
			return;
		case XKB_KEY_h:
			exline_delete_backward(exline, 1);
[message trimmed]

[PATCH] nsvi: make homepage user-customizable 8 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

---
 frontends/visurf/main.c     | 3 +--
 frontends/visurf/settings.c | 6 ++++++
 frontends/visurf/settings.h | 2 ++
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/frontends/visurf/main.c b/frontends/visurf/main.c
index b76b666c6..5060a63d0 100644
--- a/frontends/visurf/main.c
+++ b/frontends/visurf/main.c
@@ -1287,8 +1287,7 @@ main(int argc, char *argv[]) {
	nserror error;
	nsurl *url = NULL;
	if (argc < 2) {
[message trimmed]

[PATCH] Settings: separate selected and unselected tab foregrounds 8 months ago

From Evan Johnston to ~sircmpwn/visurf-devel

---
 frontends/visurf/settings.c | 34 ++++++++++++++++++++++------------
 frontends/visurf/settings.h | 11 ++++++++---
 frontends/visurf/window.c   | 12 ++++++++----
 3 files changed, 38 insertions(+), 19 deletions(-)

diff --git a/frontends/visurf/settings.c b/frontends/visurf/settings.c
index a83e18fcf..401bbbf91 100644
--- a/frontends/visurf/settings.c
+++ b/frontends/visurf/settings.c
@@ -39,11 +39,16 @@ struct nsvi_config config = {
		},

		.tabs = {
[message trimmed]