Stu Black trurl
trurl closed pull request vitrine/wmaker#11 2025-12-15 12:49:23 -05:00
Merge refactor/wutil-rs into refactor/riir
trurl commented on pull request vitrine/wmaker#11 2025-12-15 12:49:20 -05:00
Merge refactor/wutil-rs into refactor/riir

Hm, let's actually do this via PRs from https://git.sdf.org/trurl/wmaker.

trurl created pull request vitrine/wmaker#12 2025-12-15 12:48:58 -05:00
Merge refactor/wutil-rs into refactor/riir
trurl created pull request vitrine/wmaker#11 2025-12-15 12:45:14 -05:00
Merge refactor/wutil-rs into refactor/riir
trurl pushed to refactor/wings-rs-font at trurl/wmaker 2025-12-15 12:37:04 -05:00
ba50cf3747 merge upstream
e0fc92bf51 Fix omissions in WMHashEnumerator C interface.
f8df6447ea Store addresses insead of pointers in WMArray.
bd18e0c600 add some hacky lines to start-captive-wmaker.sh to ease debugging of X11 integration from Emacs
Compare 4 commits »
trurl pushed to refactor/wings-rs at vitrine/wmaker 2025-12-15 12:36:09 -05:00
9444c56e15 Name arguments directly instead of aping the Google C++ style guide.
3a9ea4f0c7 Add new Rust source files to Makefile.am.
abf49492c8 Rewrite all functions from WINGs wfont.c in Rust.
f2f961ff1e Make WINGs configuration visible from Rust.
6a18ba06d5 Fix build order issues by moving wings-rs/ into WINGs/.
Compare 14 commits »
trurl merged pull request vitrine/wmaker#9 2025-12-15 12:36:08 -05:00
Rewrite WINGs wfont.c in Rust
trurl pushed to refactor/wings-rs-font at trurl/wmaker 2025-12-15 12:35:48 -05:00
9444c56e15 Name arguments directly instead of aping the Google C++ style guide.
3a9ea4f0c7 Add new Rust source files to Makefile.am.
Compare 2 commits »
trurl commented on pull request vitrine/wmaker#9 2025-12-15 12:34:07 -05:00
Rewrite WINGs wfont.c in Rust

I like the Google C++ style guide's prescription on this, but we don't have a lint, so... sure.

trurl pushed to refactor/riir at vitrine/wmaker 2025-12-15 12:17:24 -05:00
e0fc92bf51 Fix omissions in WMHashEnumerator C interface.
f8df6447ea Store addresses insead of pointers in WMArray.
bd18e0c600 add some hacky lines to start-captive-wmaker.sh to ease debugging of X11 integration from Emacs
50caed30c0 Add a wings-rs crate for porting WINGs proper to Rust.
Compare 4 commits »
trurl merged pull request vitrine/wmaker#10 2025-12-15 12:17:23 -05:00
Start addressing some bugs in new Rust code
trurl commented on pull request vitrine/wmaker#10 2025-12-15 12:16:53 -05:00
Start addressing some bugs in new Rust code

I don't see how I can reasonably use with_addr to retain provenance when converting values stored in the array from usize back to pointers. The problem lies in how this API is used by existing…

trurl pushed to refactor/wutil-rs at trurl/wmaker 2025-12-15 12:02:36 -05:00
d3dac752cc Indent with tabs, as is standard for this file.
0893be1cea Use BTreeMap instead of HashMap for notification subscriptions.
d8057575ce Use a helper method for adding notification listeners.
d8912c58e6 Fix typo in comment.
b7f765e3f6 Rewrite WINGs/notification.c in Rust.
Compare 10 commits »
trurl deleted branch refactor/wutil-rs-notification from trurl/wmaker 2025-12-15 12:00:49 -05:00
trurl merged pull request vitrine/wmaker#7 2025-12-15 12:00:41 -05:00
Rewrite WUtils notification.c in Rust
trurl pushed to refactor/wutil-rs at vitrine/wmaker 2025-12-15 12:00:40 -05:00
d3dac752cc Indent with tabs, as is standard for this file.
0893be1cea Use BTreeMap instead of HashMap for notification subscriptions.
d8057575ce Use a helper method for adding notification listeners.
d8912c58e6 Fix typo in comment.
b7f765e3f6 Rewrite WINGs/notification.c in Rust.
Compare 10 commits »
trurl commented on pull request vitrine/wmaker#10 2025-12-12 16:58:59 -05:00
Start addressing some bugs in new Rust code

On the bright side, ditching WMArray and WMHashTable will be possible soon-ish.

trurl commented on pull request vitrine/wmaker#9 2025-12-12 16:54:26 -05:00
Rewrite WINGs wfont.c in Rust

There are crates that provide pango bindings, but there's some weird provenance (https://github.com/yeslogic/fontconfig-rs/issues/52), and nothing seems like a drop-dead obvious thing to drop into…

trurl commented on pull request vitrine/wmaker#10 2025-12-08 13:53:14 -05:00
Start addressing some bugs in new Rust code

I'm not sure I can do this. Is there a .cast() method for converting between raw pointer and non-raw-pointer types? For example, most of the time this file uses as, it's casting a usize to…

trurl pushed to refactor/riir at trurl/wmaker 2025-12-08 13:42:48 -05:00
e0fc92bf51 Fix omissions in WMHashEnumerator C interface.
f8df6447ea Store addresses insead of pointers in WMArray.
bd18e0c600 add some hacky lines to start-captive-wmaker.sh to ease debugging of X11 integration from Emacs
50caed30c0 Add a wings-rs crate for porting WINGs proper to Rust.
Compare 4 commits »