~jmaselbas

https://zdiv.net

firmware hacker - C enjoyer - openGL addict - IRC lurker

~jmaselbas/public-inbox

Last active 8 months ago
View more

Recent activity

[PATCH oekaki] Add guides when pasting a snarf 4 months ago

From Jules Maselbas to ~rabbits/public-inbox

The snarf is aligned on a tile basis, so are the guides

---
 src/oekaki.tal | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/oekaki.tal b/src/oekaki.tal
index 9d30d46..c52600f 100644
--- a/src/oekaki.tal
+++ b/src/oekaki.tal
@@ -440,15 +440,15 @@
	JMP2r

	&up ( -- )
[message trimmed]

[PATCH oekaki] Also normalize rect for snarf 4 months ago

From Jules Maselbas to ~rabbits/public-inbox

---
 src/oekaki.tal | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/oekaki.tal b/src/oekaki.tal
index 3d3721e..9d30d46 100644
--- a/src/oekaki.tal
+++ b/src/oekaki.tal
@@ -651,6 +651,7 @@
	&pixel $4

@<snarf-rect> ( x* y* x2* y2* -- )
	normalize-rect
	;dict/snarf-ext .File/name DEO2
[message trimmed]

[PATCH oekaki] Make erase set pixel to 0 when blend is off 4 months ago

From Jules Maselbas to ~rabbits/public-inbox

---
 src/oekaki.tal | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/oekaki.tal b/src/oekaki.tal
index 468e499..3d3721e 100644
--- a/src/oekaki.tal
+++ b/src/oekaki.tal
@@ -464,7 +464,8 @@
	DUP2 .canvas/height LDZ2 LTH2 ?{ POP2 POP2 JMP2r }
	OVR2 .canvas/width LDZ2 LTH2 ?{ POP2 POP2 JMP2r }
	patt-pixel ?{ POP2 POP2 JMP2r }
	.brush/color LDZ !<blend-pixel>/force
	[ LIT2 00 -brush/color ] LDZ .brush/erase LDZ ?{ SWP }
[message trimmed]

[PATCH oekaki] Add icon and menu entry to change shapes 4 months ago

From Jules Maselbas to ~rabbits/public-inbox

The proposed icon looks like this:

    . . . 0 0 0 0 .
    . 0 0 0 . . 0 .
    0 0 0 0 0 . 0 .
    0 0 . 0 0 0 0 .
    0 0 0 0 0 . . .
    . 0 0 0 . . 0 .
    . . . . . 0 0 0
    . . . . . . 0 .

---
 src/oekaki.tal | 10 ++++++++++
 1 file changed, 10 insertions(+)
[message trimmed]

[PATCH oekaki 4/4] Rework redraw request using a single rectangle region 4 months ago

From Jules Maselbas to ~rabbits/public-inbox

Using only a rectangle to keep track of tiles that needs to be redrawn
makes rectangle operation faster by removing the iteration on the list
of requests (which was done for each pixel).

---
 src/oekaki.tal | 63 ++++++++++++++++++++++++++++----------------------
 1 file changed, 36 insertions(+), 27 deletions(-)

diff --git a/src/oekaki.tal b/src/oekaki.tal
index 93ab909..8288e91 100644
--- a/src/oekaki.tal
+++ b/src/oekaki.tal
@@ -147,20 +147,36 @@
		BRK }
[message trimmed]

[PATCH oekaki 3/4] Remove clear-menu function 4 months ago

From Jules Maselbas to ~rabbits/public-inbox

---
 src/oekaki.tal | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/src/oekaki.tal b/src/oekaki.tal
index 546cf77..93ab909 100644
--- a/src/oekaki.tal
+++ b/src/oekaki.tal
@@ -198,7 +198,7 @@
	#03 DIVk MUL SUB .brush/natural STZ !<draw-menu>

@<hide-menu> ( -- )
	.menu/hide LDZ ?{ [ LIT2 01 -menu/hide ] STZ !<clear-menu> }
	.menu/hide LDZ ?{ [ LIT2 01 -menu/hide ] STZ !<redraw-all> }
[message trimmed]

[PATCH oekaki 2/4] Hide menu when dragging with any tools 4 months ago

From Jules Maselbas to ~rabbits/public-inbox

---
 src/oekaki.tal | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/oekaki.tal b/src/oekaki.tal
index ddc8385..546cf77 100644
--- a/src/oekaki.tal
+++ b/src/oekaki.tal
@@ -329,7 +329,8 @@
	JMP2r

	&drag ( -- )
	[ LIT2 &last-x $2 ] [ LIT2 &last-y $2 ] OVR2 #0010 GTH2 ?{ <hide-menu> }
	( ) .Mouse/x DEI2 #0010 GTH2 ?{ <hide-menu> }
[message trimmed]

[PATCH oekaki 1/4] Clear menu only when it was shown 4 months ago

From Jules Maselbas to ~rabbits/public-inbox

---
 src/oekaki.tal | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/oekaki.tal b/src/oekaki.tal
index cb39fc4..ddc8385 100644
--- a/src/oekaki.tal
+++ b/src/oekaki.tal
@@ -198,7 +198,8 @@
	#03 DIVk MUL SUB .brush/natural STZ !<draw-menu>

@<hide-menu> ( -- )
	[ LIT2 01 -menu/hide ] STZ !<clear-menu>
	.menu/hide LDZ ?{ [ LIT2 01 -menu/hide ] STZ !<clear-menu> }
[message trimmed]

[PATCH aerc v2 2/2] doc: fix the syntax for -d in the usage example 8 months ago

From Jules Maselbas to ~rjarry/aerc-devel

The -d option expect `..` for a range and not `,`

Signed-off-by: Jules Maselbas <jmaselbas@zdiv.net>
---
 doc/aerc-search.1.scd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/aerc-search.1.scd b/doc/aerc-search.1.scd
index e6b0be5c..3f4b61c8 100644
--- a/doc/aerc-search.1.scd
+++ b/doc/aerc-search.1.scd
@@ -8,8 +8,8 @@ aerc-search - search and filter patterns and options for *aerc*(1)

This syntax is common to all backends.
[message trimmed]

[PATCH aerc v2 1/2] doc: update and rephrase -H header search syntax 8 months ago

From Jules Maselbas to ~rjarry/aerc-devel

The syntax for the -H option's argument was confusing, warning about requiring
the value to be from the header by a space without hinting that it also expect
a single argument: requiring the query to be wrapped with quotes.

Since 8464b3738 ("search: use a common api for all workers") the parser and the
syntax has changed, now: the query is split around `:` without needing a space.

Update the man page to reflect this change.

Signed-off-by: Jules Maselbas <jmaselbas@zdiv.net>
---

changes in v2: added more details about space and value being optional
[message trimmed]