~novakane

France

~novakane/public-inbox

Last active 11 months ago
View more

Recent activity

[PATCH zig-spoon] ci: Update to zig 0.10 20 hours ago

From Hugo Machet to ~leon_plickat/public-inbox

---
 .builds/alpine.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.builds/alpine.yml b/.builds/alpine.yml
index 742749494447..9292fc474413 100644
--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
@@ -6,10 +6,10 @@ sources:
  - https://git.sr.ht/~leon_plickat/zig-spoon
tasks:
  - install_deps: |
      wget -q https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
      tar -xvf zig-linux-x86_64-0.9.1.tar.xz 1>/dev/null
[message trimmed]

[PATCH nfm] ci: Update to zig 0.10 20 hours ago

From Hugo Machet to ~leon_plickat/nfm

---
 .builds/alpine.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.builds/alpine.yml b/.builds/alpine.yml
index adab7c86c96b..1ed7f3a063dc 100644
--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
@@ -7,10 +7,10 @@ sources:
tasks:
  - install_deps: |
      # Remove a lot of useless lines from wget and tar output.
      wget -q https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
      tar -xvf zig-linux-x86_64-0.9.1.tar.xz 1>/dev/null
[message trimmed]

[PATCH nfm v2] Quote brackets in insertQuotedSliceAtCursor() 6 days ago

From Hugo Machet to ~leon_plickat/nfm

---
Fixed a typo in the test that made it wrong

 src/EditableUTF8String.zig | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/EditableUTF8String.zig b/src/EditableUTF8String.zig
index 01e3a2446b1e..d6156768ddf1 100644
--- a/src/EditableUTF8String.zig
+++ b/src/EditableUTF8String.zig
@@ -407,7 +407,7 @@ pub fn insertQuotedSliceAtCursor(self: *Self, in: []const u8) !void {
    var escaped: bool = false;
    for (in) |byte| {
        switch (byte) {
[message trimmed]

[PATCH nfm] Quote brackets in insertQuotedSliceAtCursor() 6 days ago

From Hugo Machet to ~leon_plickat/nfm

---
Needed for file like `foo(1).txt`

 src/EditableUTF8String.zig | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/EditableUTF8String.zig b/src/EditableUTF8String.zig
index 01e3a2446b1e..532c8d0c0726 100644
--- a/src/EditableUTF8String.zig
+++ b/src/EditableUTF8String.zig
@@ -407,7 +407,7 @@ pub fn insertQuotedSliceAtCursor(self: *Self, in: []const u8) !void {
    var escaped: bool = false;
    for (in) |byte| {
        switch (byte) {
[message trimmed]

[RFC PATCH v3] Rewrite user input tab completion a month ago

From Hugo Machet to ~leon_plickat/nfm

From: Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>

* Add completion of child directories

Implements: https://todo.sr.ht/~leon_plickat/nfm/37
---
 src/Completion.zig         | 103 +++++++++++++++++++++++++++++
 src/EditableUTF8String.zig |  66 ++++++++++++++++++-
 src/mode.zig               | 130 +++++++++++++++++++++++++++++++++++++
 src/nfm.zig                |  96 ++-------------------------
 4 files changed, 303 insertions(+), 92 deletions(-)
 create mode 100644 src/Completion.zig

diff --git a/src/Completion.zig b/src/Completion.zig
[message trimmed]

[RFC PATCH v2] Rewrite user input tab completion a month ago

From Hugo Machet to ~leon_plickat/nfm

From: Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>

* Add completion of child directories

Implements: https://todo.sr.ht/~leon_plickat/nfm/37
---
 src/Completion.zig         | 103 +++++++++++++++++++++++++++++
 src/EditableUTF8String.zig |  66 ++++++++++++++++++-
 src/mode.zig               | 128 +++++++++++++++++++++++++++++++++++++
 src/nfm.zig                |  95 ++-------------------------
 4 files changed, 301 insertions(+), 91 deletions(-)
 create mode 100644 src/Completion.zig

diff --git a/src/Completion.zig b/src/Completion.zig
[message trimmed]

[RFC PATCH] Rewrite user input tab completion a month ago

From Hugo Machet to ~leon_plickat/nfm

From: Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>

* Add completion of child directories

Implements: https://todo.sr.ht/~leon_plickat/nfm/37
---
 src/Completion.zig  | 141 ++++++++++++++++++++++++++++++++++++++++++++
 src/InputBuffer.zig |   4 +-
 src/mode.zig        | 139 +++++++++++++++++++++++++++++++++++++++++++
 src/nfm.zig         | 100 +++----------------------------
 4 files changed, 290 insertions(+), 94 deletions(-)
 create mode 100644 src/Completion.zig

diff --git a/src/Completion.zig b/src/Completion.zig
[message trimmed]

[PATCH nfm v2] Rename colour-theme/scheme option to theme 2 months ago

From Hugo Machet to ~leon_plickat/nfm

---
v1 -> v2:
* Add the option to the example config
* Change a sentence in nfm(5) for more consistancy

 doc/nfm.5          | 6 +++---
 example/config.ini | 1 +
 src/Config.zig     | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/nfm.5 b/doc/nfm.5
index cd03954ffba3..8fd467732e66 100644
--- a/doc/nfm.5
+++ b/doc/nfm.5
[message trimmed]

[PATCH nfm] Rename colour-theme/scheme option to theme 2 months ago

From Hugo Machet to ~leon_plickat/nfm

---
 doc/nfm.5      | 4 ++--
 src/Config.zig | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/nfm.5 b/doc/nfm.5
index cd03954ffba3..dee5ed7fda20 100644
--- a/doc/nfm.5
+++ b/doc/nfm.5
@@ -86,9 +86,9 @@ Defaults to false.
.RE
.
.P
\fBcolour-scheme\fR = default|mono|paige|solarized-dark|solarized-light;
[message trimmed]

[PATCH nfm] Make open-* actions optionally take an argument 3 months ago

From Hugo Machet to ~leon_plickat/nfm

Implements: https://todo.sr.ht/~leon_plickat/nfm/35
---
 src/Config.zig                    | 40 ++++++++++++++++++++++---------
 src/key-operations/user-input.zig | 40 ++++++++++++++++++-------------
 2 files changed, 53 insertions(+), 27 deletions(-)

diff --git a/src/Config.zig b/src/Config.zig
index f4db96409da2..af9d1d07a06a 100644
--- a/src/Config.zig
+++ b/src/Config.zig
@@ -267,22 +267,40 @@ fn assignKeybind(self: *Self, variable: []const u8, value: []const u8, path: []c
    const res = try self.keybinds.getOrPut(alloc, ev);

    if (try isOperationWithArg("open-cmd", value, path, line)) |val| {
[message trimmed]