Stu Black trurl
trurl commented on pull request vitrine/wmaker#3 2025-11-12 16:46:23 -05:00
Rewrite WUtils string.c in Rust

Thanks, this is an improvement. (The extant wstrndup called strlen on s, so I didn't feel too badly about scanning ahead for a null byte ... but we can do better.)

I'd like to migrate…

trurl commented on pull request vitrine/wmaker#1 2025-11-01 10:46:04 -04:00
memory: replace most of memory.c with Rust mem

RE calls to XFree: there are definite instances of (w)malloc'd pointers being passed to XFree. I'm cleaning them up as I find them.

trurl commented on pull request vitrine/wmaker#4 2025-11-01 10:38:02 -04:00
Rewrite WUtils bagtree.c in Rust

Only putting functionality into the FFI functions makes sense. (I've done similarly in other refactors that you're looking at.) I was thinking to have most operations addressable via completely…

trurl created pull request vitrine/wmaker#6 2025-10-31 22:17:30 -04:00
Rewrite WUtils WMTreeNode in Rust
trurl pushed to refactor/wutil-rs-tree at trurl/wmaker 2025-10-31 22:11:41 -04:00
c598b034f5 Rewrite WINGs/tree.c in Rust.
11f348b07b Remove depthFirst parameter from WMTreeWalk.
3a873b8ad5 Prune unused WMTree API functions.
Compare 3 commits »
trurl created branch refactor/wutil-rs-tree in trurl/wmaker 2025-10-31 22:11:39 -04:00
trurl merged pull request vitrine/wmaker#5 2025-10-28 21:36:59 -04:00
Tweak start-captive-wmaker.sh to behave a little more nicely.
trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-28 21:36:59 -04:00
46af2c27ee Tweak start-captive-wmaker.sh to behave a little more nicely.
trurl created pull request vitrine/wmaker#5 2025-10-28 21:36:13 -04:00
Tweak start-captive-wmaker.sh to behave a little more nicely.
trurl pushed to refactor/wutil-rs at trurl/wmaker 2025-10-28 21:32:46 -04:00
46af2c27ee Tweak start-captive-wmaker.sh to behave a little more nicely.
trurl created pull request vitrine/wmaker#4 2025-10-28 21:27:03 -04:00
Rewrite WUtils bagtree.c in Rust
trurl created pull request vitrine/wmaker#3 2025-10-28 21:24:41 -04:00
Rewrite WUtils string.c in Rust
trurl pushed to refactor/wutil-rs-string at trurl/wmaker 2025-10-28 21:16:51 -04:00
6d0fa3f8a6 Add string.rs to Makefile.am for wutil-rs.
trurl pushed to refactor/wutil-rs-bagtree at trurl/wmaker 2025-10-28 21:16:00 -04:00
d4443114b8 Rewrite WMBag in Rust.
0f748de74f Prune the WMBag API in preparation for rewriting it in Rust.
Compare 2 commits »
trurl created branch refactor/wutil-rs-bagtree in trurl/wmaker 2025-10-28 21:15:58 -04:00
trurl pushed to refactor/wutil-rs-string at trurl/wmaker 2025-10-27 23:13:38 -04:00
091c86634e Unit tests for wtokenjoin.
trurl pushed to refactor/wutil-rs-string at trurl/wmaker 2025-10-27 22:46:30 -04:00
76eceb36a8 Rewrite all functions from WUtils string.c in Rust.
4e018fb526 Throw some comments around the FST table for tokenizing command line.
466324b743 Use system strlcpy/strlcat instead of packaging our own.
Compare 3 commits »
trurl created branch refactor/wutil-rs-string in trurl/wmaker 2025-10-27 22:46:30 -04:00
trurl pushed to refactor/wutil-rs at trurl/wmaker 2025-10-26 01:22:28 -04:00
026426e6c3 Remove VoidPointer impls that were commented out in previous commit.
564501953f Use wfree instead of XFree in a few more places.
8c68f95291 Update calls to malloc/free, etc., to use wmalloc/wfree/...
d91275d959 memory: replace most of memory.c with Rust mem
Compare 4 commits »
trurl closed pull request vitrine/wmaker#1 2025-10-25 12:58:08 -04:00
memory: replace most of memory.c with Rust mem