Stu Black trurl
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 pushed to refactor/wutil-rs at vitrine/wmaker 2025-10-16 21:45:39 -04:00
trurl created branch refactor/wutil-rs in 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 »
trurl pushed to refactor/rust_app_icon at vitrine/wmaker 2025-10-08 14:52:54 -04:00
02d638d1c6 Define WAppIcon struct in Rust.
54bd69680a Make bitfields into regular fields so we can mirror WAppIcon in Rust.
Compare 2 commits »
trurl created branch refactor/rust_app_icon in vitrine/wmaker 2025-10-08 14:52:53 -04:00
trurl pushed to refactor/rust_icon at vitrine/wmaker 2025-10-08 14:52:32 -04:00
trurl created branch refactor/rust_icon in vitrine/wmaker 2025-10-08 14:52:32 -04:00
trurl pushed to migrate-to-bazel_refactor-mess-v1 at vitrine/wmaker 2025-10-08 14:52:00 -04:00
438a45064b Committing the mess I've gotten myself into for backtracking.
trurl created branch migrate-to-bazel_refactor-mess-v1 in vitrine/wmaker 2025-10-08 14:51:59 -04:00
trurl pushed to migrate-to-bazel at vitrine/wmaker 2025-10-08 14:51:46 -04:00
879a766a94 Fix typo in BUILD deps for //wmaker:keybind.
ff1c9fd9f9 Factor keybind into its own BUILD target (//wmaker:keybind).
bd8f3c2fd1 Factor notification macros and appearance enum out of WindowMaker.h.
16343ec2e0 Factor resources.{h,c} out into //wmaker:resources.
fc5b1e4d8e Move global variables from WindowMaker.h into //wmaker:globals.
Compare 10 commits »
trurl pushed to refactor/wutil-rs-proplist at vitrine/wmaker 2025-10-08 14:51:21 -04:00
4732296762 Port WINGs data.c (WMData) to Rust.
3846a5017c Correct oversight in how WMMapArray is supposed to work.
d736af8321 Drop WMData's destructor field.
506e14cd24 Eliminate the WINGs function WMCreateDataWithBytesNoCopy.
ee047b63df Eliminate the unused WINGs function WMGetSubdataWithRange.
Compare 10 commits »
trurl created branch refactor/wutil-rs-proplist in vitrine/wmaker 2025-10-08 14:51:21 -04:00
trurl pushed to refactor/wings-rs at vitrine/wmaker 2025-10-08 14:51:00 -04:00
ec5932ff9a Drop unused wAbort function from WPrefs.app.
85bbc8f975 Replace WUtil hashtable with a Rust impl.
b94d48a812 Eliminate the retainKey and releaseKey hashtable callbacks.
ac606156c4 Drop WMStringHashCallbacks, which is unused.
d7bde34561 Port custom allocators (WINGs memory.c) to Rust.
Compare 6 commits »
trurl created branch refactor/wings-rs in vitrine/wmaker 2025-10-08 14:51:00 -04:00
trurl pushed to refactor/riir at vitrine/wmaker 2025-10-08 14:50:34 -04:00
5325e2d455 Improve automake integration with Rust build.
82c8b0c9b4 Rename wmakerlib dir to wmaker-rs for econsistency with future libs.
Compare 2 commits »
trurl pushed to refactor/riir at vitrine/wmaker 2025-09-09 22:33:09 -04:00