diff --git a/RELEASES.md b/RELEASES.md index 0fda5c4..f10a44d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,9 +1,19 @@ -# Unreleased +# murx 1.0.4 released + +**November 24, 2026** - Added short options for `--history` (`-H`), `--cwd` (`-d`), `--clock` (`-C`), `--murx` (`-m`), `--hostname` (`-n`), and `--titles` (`-t`). - Renamed `--pane-titles` to `--titles`. +- Use `murx --adopt work` after upgrading to move a running session to the new + server while keeping panes, scrollback, and client connections. The running + server must support handoff. Sessions started by older versions need a + one-time restart. +- Use `--resize-on-input` or the Configuration menu's **Resize to last input** + toggle to make the session size follow the client that last sent input. +- Fixed the build with Arch's compiler flags by reading handoff timestamps + into matching 64-bit types. # murx 1.0.3 released diff --git a/murx.c b/murx.c index 809d2d7..ba29c08 100644 --- a/murx.c +++ b/murx.c @@ -88,7 +88,7 @@ #define MURX_NOIPA #endif -#define MURX_VERSION "1.0.3" +#define MURX_VERSION "1.0.4" #define DEFAULT_PREFIX 0x01 /* client -> server */ @@ -1522,7 +1522,7 @@ struct Client { int truecolor; unsigned char in[16384]; size_t inlen; - long long escape_since; + int64_t escape_since; unsigned char net[65536]; size_t netlen; @@ -1553,7 +1553,7 @@ struct Client { int confirm_action; /* 1 kill pane, 2 kill server, 3 kill window */ char msg[256]; - long long msg_until; + int64_t msg_until; char title[160]; @@ -1849,7 +1849,7 @@ static Pane *pane_new(const char *cwd, int w, int h, const char *title, signal(SIGTERM, SIG_DFL); setenv("TERM", "screen-256color", 1); if (session_name && *session_name) setenv("MURX", session_name, 1); - if (cwd && *cwd) chdir(cwd); + if (cwd && *cwd && chdir(cwd) < 0) perror("murx: chdir"); const char *base = strrchr(shell, '/'); base = base ? base + 1 : shell; char arg0[PATH_MAX]; @@ -4895,8 +4895,7 @@ static int session_serialize(Session *s, HBuf *b, int *fds, int *nfds, buf_i32(b, last_idx); buf_u32(b, (uint32_t)nclient); - int ci = 0; - for (Client *c = s->clients; c; c = c->next, ci++) { + for (Client *c = s->clients; c; c = c->next) { fds[fd_i++] = c->fd; ser_client(b, c, fd_i - 1, panes, npane, c == adopt_client ? adopt_skip : 0); diff --git a/os/alpine/APKBUILD b/os/alpine/APKBUILD index 36a641e..a5ea265 100644 --- a/os/alpine/APKBUILD +++ b/os/alpine/APKBUILD @@ -1,6 +1,6 @@ # Local source snapshot; refresh version and checksums with `make pkgsums`. pkgname=murx -pkgver=1.0.3 +pkgver=1.0.4 pkgrel=0 pkgdesc="Small persistent terminal multiplexer" url="https://codeberg.org/armin/murx" @@ -26,10 +26,10 @@ package() { } sha512sums=" -299f4fcc053bcf46313ad34655aaf9180b59dc3a86758fd24e848c0cb1933d99ceeb56e4f85c592dd612d625f55b118284ee6a94c991216af61daa343091d518 murx.c +9ea57a94318d3b8df8e8e2e4c45ad00a0df9b54cb6d93b9d1cb5f2f0a0c26ab3402a70d141404fb8124b92e58f2581944e4d924094f927e9b035e4fe1836913d murx.c ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile -7546e0d84cb9094b4b2ac14e05d38a37270c2a4451f3d41aaa7b0b38290acb0ff6de821331634c802d08568817cf1ed0fbb5afd6734ef4a8155720b826ab6ce9 murx.1 -6dce945220e19d90e295c1bdac3c9015f93759c22ba7dcbf467d8c7b9d3c0d6369770bba149da68925e9a02cb0df96e3d1ed2889529288de5cf29202604de090 MURX-README.md +16a542970423f761175da657bc54d37c089197cc3428397c2de51a312280c751b03af70ce38cf5b3fea9e0b2ed006d5b892e54ddbc625806e05e41a726b18225 murx.1 +1ce08e99e30b85347bf8f228525440887e083f9cc2175f951693fa2dad9357870fa587ffc1ee98a60edad957468f2b8b8af96ac3bf6ddd38df13deceb429f381 MURX-README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/os/arch/PKGBUILD b/os/arch/PKGBUILD index a3daaf1..7c8de1c 100644 --- a/os/arch/PKGBUILD +++ b/os/arch/PKGBUILD @@ -1,6 +1,6 @@ # Local source snapshot; refresh version and checksums with `make pkgsums`. pkgname=murx -pkgver=1.0.3 +pkgver=1.0.4 pkgrel=1 pkgdesc='Small persistent terminal multiplexer' arch=('x86_64' 'aarch64') @@ -8,10 +8,10 @@ url='https://codeberg.org/armin/murx' license=('Apache-2.0') depends=('glibc') source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS') -sha256sums=('4ab7d155c3d9b23c22fc5792837ce2dd4e020cf0998edb743e7726edee73b438' +sha256sums=('824e06e7e77c57437509fcd9b8eea7eef83d84aba0e6e376abd58f95b89d9b2a' '78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2' - 'a4b48ce1c847869956ea52eac50c51446a9e6f720d8e4b211cb97a78a7f53663' - 'c49f2baa2a00da7a73881d6d05cbc07c28530b7f831ebdb2639fa1bb974a9290' + '00496e2c82881dfc10e70d64ebcfde94f25bd3227c1481fa29ce564c81b55c2d' + '615dffa59389202bf7efb1e2a0b672e1e6b1801e1289f4f68728c9dfe98d4ea2' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') diff --git a/os/debian/changelog b/os/debian/changelog index 4ee4e82..c7c15ff 100644 --- a/os/debian/changelog +++ b/os/debian/changelog @@ -1,3 +1,9 @@ +murx (1.0.4-1) unstable; urgency=medium + + * Update to upstream version 1.0.4. + + -- Johannes Findeisen Tue, 24 Nov 2026 10:40:26 +0100 + murx (1.0.3-1) unstable; urgency=medium * Add Debian packaging for murx 1.0.3.