~selfisekai

Nederland

https://liberda.nl/

Recent activity

[PATCH v2 7/7] Zig 0.14: std.mem.tokenize -> std.mem.tokenizeSequence a month ago

From LN Liberda to ~mil/mepo-devel

---
 src/Downloader.zig | 2 +-
 src/blit/blit.zig  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Downloader.zig b/src/Downloader.zig
index 4136bf7..327a294 100644
--- a/src/Downloader.zig
+++ b/src/Downloader.zig
@@ -58,7 +58,7 @@ fn parse_download_request(download_request_str: []const u8) !TileCache.DownloadB
    var zoom_min: i32 = undefined;
    var zoom_max: i32 = undefined;

    var tokens_it = std.mem.tokenize(u8, download_request_str, ",");
[message trimmed]

[PATCH v2 6/7] Zig 0.14: std.mem.split -> std.mem.splitSequence a month ago

From LN Liberda to ~mil/mepo-devel

---
 src/api/clippaste.zig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/clippaste.zig b/src/api/clippaste.zig
index d2de888..8c45daf 100644
--- a/src/api/clippaste.zig
+++ b/src/api/clippaste.zig
@@ -23,7 +23,7 @@ fn execute(mepo: *Mepo, _: [types.MepoFnNargs]types.MepoArg) !void {
    // trim commas, and see if can parse as floats; if so assume lat/lon
    // if not - break out and run whatever is in clipboard as jsonapi
    parse_lat_lon: {
        var it = std.mem.split(u8, text, " ");
        var it = std.mem.splitSequence(u8, text, " ");
[message trimmed]

[PATCH v2 5/7] Zig 0.14: QueueHashMap.pop() might pop nothing a month ago

From LN Liberda to ~mil/mepo-devel

---
 src/TileCache.zig                  | 18 ++++++++++++------
 src/datastructure/QueueHashMap.zig |  8 +++++---
 2 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/src/TileCache.zig b/src/TileCache.zig
index 4744a48..3bb969e 100644
--- a/src/TileCache.zig
+++ b/src/TileCache.zig
@@ -82,15 +82,21 @@ pub fn download_loop(tile_cache: *Self, graphical_mode: bool) !void {
        }

        // 2. Transfer from UI LIFO into transfers
        while (tile_cache.queue_lifo_ui.count() > 0 and tile_cache.transfer_map.count() < p.get(p.pref.tile_cache_max_n_transfers).u) {
[message trimmed]

[PATCH v2 4/7] Zig 0.14: std.posix.sigaction does not error a month ago

From LN Liberda to ~mil/mepo-devel

---
 src/api/bind_signal.zig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/bind_signal.zig b/src/api/bind_signal.zig
index c866eab..533f499 100644
--- a/src/api/bind_signal.zig
+++ b/src/api/bind_signal.zig
@@ -45,7 +45,7 @@ fn bind_signal(mepo: *Mepo, signo_str: [:0]const u8, expression: []const u8) !vo
        .flags = 0,
    };

    std.posix.sigaction(signal_name, &signal_action, null) catch return error.FailedToSetupSighandler;
    std.posix.sigaction(signal_name, &signal_action, null);
[message trimmed]

[PATCH v2 3/7] Zig 0.14: Rename Mepo.config to Mepo.config_contents a month ago

From LN Liberda to ~mil/mepo-devel

The field name conflicts with the import of config.zig
---
 src/Mepo.zig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Mepo.zig b/src/Mepo.zig
index a7ed01f..9c38647 100644
--- a/src/Mepo.zig
+++ b/src/Mepo.zig
@@ -18,7 +18,7 @@ const FnTable = @import("./api/_FnTable.zig");
const Self = @This();
allocator: std.mem.Allocator,
blit_pinlayer_cache: datastructure.EvictionHashMap(types.XYZ, *sdl.SDL_Texture, evict_texture, &config.MaxTextures),
config: []const u8,
[message trimmed]

[PATCH v2 1/7] Zig 0.14: Here we go again a month ago

From LN Liberda to ~mil/mepo-devel

---
 src/main.zig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.zig b/src/main.zig
index c6fafbb..39ea01d 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -12,8 +12,8 @@ const utildbg = @import("./util/utildbg.zig");
pub fn main() !void {
    comptime {
        const v = builtin.zig_version;
        if (v.major != 0 or v.minor != 13)
            @panic("Must be built against Zig 0.13.x");
[message trimmed]

[PATCH zig-fcft] Update to Zig 0.14 a month ago

From LN Liberda to ~novakane/public-inbox

---
 .gitignore    | 2 +-
 build.zig     | 4 ++--
 build.zig.zon | 9 +++++----
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/.gitignore b/.gitignore
index 6832522..19892e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
zig-cache
\ No newline at end of file
.zig-cache
[message trimmed]

[PATCH zig-spoon] Update to Zig 0.14 a month ago

From LN Liberda to ~leon_plickat/public-inbox

---
 .builds/alpine.yml         |  9 +++++----
 build.zig.zon              | 14 +++++++++++++-
 example/input-demo.zig     |  2 +-
 example/menu.zig           |  2 +-
 lib/Term.zig               |  6 +++---
 lib/colour_description.zig |  2 +-
 lib/input.zig              |  2 +-
 7 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/.builds/alpine.yml b/.builds/alpine.yml
index fda2f45..6f52f87 100644
--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
[message trimmed]

[PATCH zig-ini] Update to Zig 0.14 a month ago

From LN Liberda to ~leon_plickat/public-inbox

---
 build.zig.zon | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build.zig.zon b/build.zig.zon
index f6b56a5..237fe42 100644
--- a/build.zig.zon
@@ -1,5 +1,5 @@
.{
    .name = "ini",
    .name = .ini,
    .version = "1.0.2",
    .paths = .{
[message trimmed]