Stu Black trurl
trurl created branch refactor/wutil-rs-fix-memory-fn-calls in trurl/wmaker 2025-10-25 01:55:44 -04:00
trurl commented on pull request vitrine/wmaker#1 2025-10-24 15:26:50 -04:00
memory: replace most of memory.c with Rust mem

I'm merging this into another branch and will open a PR for that to the main repo, under refactor/wutil-rs.

When you went in and updated calls to malloc/free, did you also look at XFree? That…

trurl created repository trurl/wmaker 2025-10-23 15:12:02 -04:00
trurl pushed to refactor/wutil-rs-hashtable at vitrine/wmaker 2025-10-23 14:47:52 -04:00
bd61e58821 Don't pass wmalloc'd memory to XFree.
1a8d99b2c0 PropList array items should return NULL on OOB index access.
7bded0055f Drop unused wAbort function from WPrefs.app.
32c40643c2 Replace WUtil hashtable with a Rust impl.
157a8e0d5a Eliminate the retainKey and releaseKey hashtable callbacks.
Compare 32 commits »
trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-23 14:47:15 -04:00
bd61e58821 Don't pass wmalloc'd memory to XFree.
1a8d99b2c0 PropList array items should return NULL on OOB index access.
7bded0055f Drop unused wAbort function from WPrefs.app.
32c40643c2 Replace WUtil hashtable with a Rust impl.
157a8e0d5a Eliminate the retainKey and releaseKey hashtable callbacks.
Compare 32 commits »
trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-23 14:43:35 -04:00
0e4fa42e6b Don't pass wmalloc'd memory to XFree.
c37873915c PropList array items should return NULL on OOB index access.
fe2f65c27b Provide a janky script for running Window Maker in a captive Xephyr X server.
766820bc08 Drop unused wAbort function from WPrefs.app.
f03ef7d019 Replace WUtil hashtable with a Rust impl.
Compare 32 commits »
trurl pushed to refactor/wutil-rs-hashtable at vitrine/wmaker 2025-10-23 14:42:16 -04:00
766820bc08 Drop unused wAbort function from WPrefs.app.
f03ef7d019 Replace WUtil hashtable with a Rust impl.
eb696d1a5c Eliminate the retainKey and releaseKey hashtable callbacks.
775c7b62ca Drop WMStringHashCallbacks, which is unused.
578eb62d47 Remove support for PropList data nodes.
Compare 10 commits »
trurl created branch refactor/wutil-rs-hashtable in vitrine/wmaker 2025-10-23 14:42:15 -04:00
trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-23 14:40:44 -04:00
bda2ee6cca Don't pass wmalloc'd memory to XFree.
419120ba43 PropList array items should return NULL on OOB index access.
d1501dce99 Remove support for PropList data nodes.
fe0444ff89 Provide alloc_string impl.
bb5e590f33 Chasing memory bugs: be consistent about wmalloc/wfree.
Compare 28 commits »
trurl pushed to refactor/riir at vitrine/wmaker 2025-10-23 14:40:02 -04:00
59ad67f4dc Provide a janky script for running Window Maker in a captive Xephyr X server.
trurl deleted branch refactor/wings-rs from vitrine/wmaker 2025-10-23 14:39:18 -04:00
trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-23 14:33:39 -04:00
4844c53727 Don't pass wmalloc'd memory to XFree.
61ee9c243a PropList array items should return NULL on OOB index access.
Compare 2 commits »
trurl deleted branch refactor/wutil-rs-proplist from vitrine/wmaker 2025-10-23 14:32:53 -04:00
trurl commented on pull request vitrine/wmaker#1 2025-10-23 14:29:26 -04:00
memory: replace most of memory.c with Rust mem

Thank you!

(We're already talking about this elsewhere, but commenting for posterity.)

I had already taken a different approach to writing an allocator (adding a header to each alloc'd…

trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-23 13:47:06 -04:00
578eb62d47 Remove support for PropList data nodes.
8747ac65e7 Provide alloc_string impl.
777190d3e8 Chasing memory bugs: be consistent about wmalloc/wfree.
5b4e41601b Chasing memory bugs in memory.rs: copy only the payload length in wrealloc.
39283f714d Clarify wmalloc contract - it's safe to read before writing.
Compare 8 commits »
trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-17 11:02:03 -04:00
f280317cf6 Simplify path_from_cstr substantially (h/t cross).
trurl pushed to refactor/wutil-rs-proplist at vitrine/wmaker 2025-10-16 22:01:46 -04:00
8ea74e426c Remove support for PropList data nodes.
trurl created branch refactor/wutil-rs in vitrine/wmaker 2025-10-16 21:45:39 -04:00
trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-16 21:45:39 -04:00
trurl pushed to refactor/wutil-rs-proplist at vitrine/wmaker 2025-10-16 21:37:17 -04:00
e3ebe522cd Reimplement the PropList data structure in Rust.
42424f1e16 Expose the GSUSER_SUBDIR preprocessor symbol to Rust.
Compare 2 commits »