1
0
forked from vitrine/wmaker

Commit Graph

  • 1a791f93d3 merge upstream refactor/riir Stu Black 2026-04-06 19:28:46 -04:00
  • 2da6de7593 Rewrite WMFontPanel in Rust. Stu Black 2025-12-15 13:52:37 -05:00
  • 6c17cc3a12 Add allow(non_snake_case) for WMList and WMButton FFI functions. Stu Black 2026-04-05 20:38:00 -04:00
  • c24a199243 Start porting the base WINGs widget type to Rust. Stu Black 2025-12-15 13:52:37 -05:00
  • 1ea3c1b8db Reimplement the WMAddListItem macro in Rust. Stu Black 2025-12-15 13:52:37 -05:00
  • 39efd22bed Reimplment the WMCreateCommandButton macro in Rust. Stu Black 2025-12-15 13:52:37 -05:00
  • 52fc9eec43 Clean up bindgen invocation for WINGs somewhat. Stu Black 2025-12-15 13:52:37 -05:00
  • d2a42971c8 Name the anonymous enum for WMButton behaviors. Stu Black 2025-12-15 13:52:37 -05:00
  • d02d67ec61 Eliminate accidentally commited temporary file. Stu Black 2026-04-05 19:56:09 -04:00
  • b1eca604b2 Fix false positive improper_ctypes warnings for structs that are opaque types from C. Stu Black 2026-04-05 12:57:39 -04:00
  • 9933450b63 merge upstream Stu Black 2026-04-05 20:01:18 -04:00
  • 797ef1ace8 Fix false positive improper_ctypes warnings for structs that are opaque types from C (#27) Stu Black 2026-04-05 19:58:39 -04:00
  • 5883e0d8a3 Eliminate accidentally commited temporary file. Stu Black 2026-04-05 19:56:09 -04:00
  • 7878215c19 Fix false positive improper_ctypes warnings for structs that are opaque types from C. Stu Black 2026-04-05 12:57:39 -04:00
  • b5e94932c9 Update snapshot test of font panel rendering. Stu Black 2026-03-31 11:20:41 -04:00
  • efec1e8d1e Fix off-by-one error in WMArray iteration macro behavior Stu Black 2026-03-31 11:16:47 -04:00
  • 2aa0b0bf53 Create an integration test for the WMFontPanel widget. Stu Black 2026-02-25 23:05:11 -05:00
  • d4c8f986a6 Bump to public insta-image crate. Stu Black 2026-03-26 23:44:43 -04:00
  • ec1761f4f3 Utilities for X11 image capture and acceptance testing. Stu Black 2026-01-07 16:13:55 -05:00
  • 32cf67b012 Fix panic when a handler triggers handler scheduling. Stu Black 2026-03-07 12:27:44 -05:00
  • ee28e9d0a2 Drop debugging print that was committed by accident. Stu Black 2026-01-07 16:13:55 -05:00
  • e882fd1f13 Make WMCreateCommandButton into a proper function instead of a macro. Stu Black 2026-01-07 16:13:55 -05:00
  • eaabf7e20c Fix panic when notification dispatch triggers notification dispatch. Stu Black 2026-02-25 23:05:11 -05:00
  • 7c7b9aa97c Rewrite WINGs handlers.c in Rust. Stu Black 2025-12-15 13:52:37 -05:00
  • 223a64286f Remove WINGs input handlers. Stu Black 2025-12-15 13:52:37 -05:00
  • ce97a3b39f Drop select(2)-based input FD polling. Stu Black 2025-12-15 13:52:37 -05:00
  • 5075c877fa Remove WMDeleteTimerWithClientData. Stu Black 2025-12-15 13:52:37 -05:00
  • fa67563c2b Break out Sendable into its own utility module. Stu Black 2025-12-20 13:09:32 -05:00
  • cd711ba52b Restore function prototype for W_ClearNotificationCenter. Stu Black 2025-12-15 13:52:37 -05:00
  • d46810291b Remove unused import. Stu Black 2025-12-15 13:52:37 -05:00
  • 7c875284dc Add build-generated files to .gitignore. Stu Black 2025-12-15 13:52:37 -05:00
  • 52db12fbf2 Merge pull request 'Merge refactor/wings-rs into refactor/riir' (#13) from refactor/wings-rs into refactor/riir refactor/wings-rs-fontpanel Stu Black 2025-12-15 13:03:10 -05:00
  • b2481cf657 Name arguments directly instead of aping the Google C++ style guide. Stu Black 2025-12-15 12:34:51 -05:00
  • c371e26d05 Add new Rust source files to Makefile.am. Stu Black 2025-11-24 07:56:46 -05:00
  • 98421afc38 Rewrite all functions from WINGs wfont.c in Rust. Stu Black 2025-11-23 16:16:02 -05:00
  • 9e49ed98a2 Make WINGs configuration visible from Rust. Stu Black 2025-11-23 16:03:53 -05:00
  • a466f17c35 Fix build order issues by moving wings-rs/ into WINGs/. Stu Black 2025-11-23 15:55:27 -05:00
  • d33c05ef08 Ignore target dir for nested Cargo subdirs, too. Stu Black 2025-11-23 15:49:33 -05:00
  • 79873413db Tweak build so that WINGsP.rs gets generated at the right time. Stu Black 2025-11-23 14:52:10 -05:00
  • 57ac6b8178 Put the font and y (ascent) fields of W_Font behind accessors. Stu Black 2025-11-23 12:48:16 -05:00
  • d30fe6182d Mark wings-rs as a staticlib. Stu Black 2025-11-23 12:44:11 -05:00
  • e20009a880 Use bindgen to generate Rust bindings for WINGs types. Stu Black 2025-11-16 17:23:48 -05:00
  • ee71db6693 Remove unused functions WMSetWidgetDefaultFont, WMSetWidgetDefaultBoldFont. Stu Black 2025-11-14 01:15:08 -05:00
  • 01c7eb7275 Remove unused function WMCopyFontWithStyle. Stu Black 2025-11-14 01:10:37 -05:00
  • fa99c12fd7 Remove unused function WMIsAntialiasingEnabled. Stu Black 2025-11-14 01:09:34 -05:00
  • d7e815010b Merge pull request 'Merge refactor/wutil-rs into refactor/riir' (#12) from trurl/wmaker:refactor/wutil-rs into refactor/riir Stu Black 2025-12-15 12:50:52 -05:00
  • a31fa582bd Merge branch 'refactor/riir' into refactor/wutil-rs Stu Black 2025-12-15 12:49:49 -05:00
  • d3dac752cc Indent with tabs, as is standard for this file. Stu Black 2025-12-08 13:31:05 -05:00
  • 0893be1cea Use BTreeMap instead of HashMap for notification subscriptions. Stu Black 2025-12-08 13:24:44 -05:00
  • d8057575ce Use a helper method for adding notification listeners. Stu Black 2025-12-08 13:14:12 -05:00
  • d8912c58e6 Fix typo in comment. Stu Black 2025-12-08 13:06:58 -05:00
  • b7f765e3f6 Rewrite WINGs/notification.c in Rust. Stu Black 2025-11-12 16:33:48 -05:00
  • d88d626fbe Remove direct creation and posting of notifications from WINGs. Stu Black 2025-11-12 12:15:13 -05:00
  • 5847e9d68f Ditch the notification function WMRemoveNotificationObserverWithName. Stu Black 2025-11-08 12:26:57 -05:00
  • adb967ab15 Drop dead notification queue code. Stu Black 2025-11-02 15:59:55 -05:00
  • 0c4d78a53d Drop unused macro (dead code) that invokes WMCreateNotification. Stu Black 2025-11-02 14:25:49 -05:00
  • dcd45f0677 Make some unused public WMNotification APIs private. Stu Black 2025-11-01 15:50:17 -04:00
  • 0097d1819e Move functions on Bag which were only called by FFI code inline. Stu Black 2025-11-12 17:03:56 -05:00
  • 8270124869 Nix dead code that was left commented out. Stu Black 2025-11-12 17:03:23 -05:00
  • 89183f3bcb Rewrite WMBag in Rust. Stu Black 2025-10-28 21:13:31 -04:00
  • 46e540b1b1 Prune the WMBag API in preparation for rewriting it in Rust. Stu Black 2025-10-27 23:28:43 -04:00
  • 9802b684ae Rewrite WINGs/tree.c in Rust. Stu Black 2025-10-31 22:06:01 -04:00
  • 0a04a4c12e Remove depthFirst parameter from WMTreeWalk. Stu Black 2025-10-29 15:13:23 -04:00
  • e1a263cc5b Prune unused WMTree API functions. Stu Black 2025-10-29 12:32:32 -04:00
  • c298b5f96f Avoid an unnecessary allocation in wtrimspace. Stu Black 2025-11-12 16:48:47 -05:00
  • dfd77b11a9 Don't scan ahead unnecessarily in wstrndup. Stu Black 2025-11-12 16:46:57 -05:00
  • 927cc93e0a Add string.rs to Makefile.am for wutil-rs. Stu Black 2025-10-28 21:16:18 -04:00
  • d2046de7ff Unit tests for wtokenjoin. Stu Black 2025-10-27 23:13:15 -04:00
  • a7a44397a4 Rewrite all functions from WUtils string.c in Rust. Stu Black 2025-10-27 22:42:37 -04:00
  • 72a1f8cb9e Throw some comments around the FST table for tokenizing command line. Stu Black 2025-10-26 10:10:19 -04:00
  • 60902b9222 Use system strlcpy/strlcat instead of packaging our own. Stu Black 2025-10-24 13:56:58 -04:00
  • e0fc92bf51 Fix omissions in WMHashEnumerator C interface. Stu Black 2025-11-24 22:15:32 -05:00
  • f8df6447ea Store addresses insead of pointers in WMArray. Stu Black 2025-11-24 16:19:40 -05:00
  • bd18e0c600 add some hacky lines to start-captive-wmaker.sh to ease debugging of X11 integration from Emacs Stu Black 2025-11-21 16:01:41 -05:00
  • 50caed30c0 Add a wings-rs crate for porting WINGs proper to Rust. Stu Black 2025-11-14 01:07:40 -05:00
  • 46af2c27ee Tweak start-captive-wmaker.sh to behave a little more nicely. Stu Black 2025-10-28 21:30:34 -04:00
  • 026426e6c3 Remove VoidPointer impls that were commented out in previous commit. Stu Black 2025-10-25 12:41:52 -04:00
  • 564501953f Use wfree instead of XFree in a few more places. Stu Black 2025-10-25 01:53:23 -04:00
  • 8c68f95291 Update calls to malloc/free, etc., to use wmalloc/wfree/... Stu Black 2025-10-24 15:18:02 -04:00
  • d66eb34f16 Satisfy the dangerous_implicit_autorefs lint. Stu Black 2025-10-23 16:26:47 -04:00
  • 65726a1e6a WMHashTable ownership: it doesn't own keys or values. Stu Black 2025-10-23 16:25:37 -04:00
  • fbd6400186 Remove stale reference to libwings_rs (which should have been deleted in a rebase). Stu Black 2025-10-23 16:25:01 -04:00
  • 4f4dcf551b Restore proplist.c, which was clobbered by mistake during a rebase. Stu Black 2025-10-23 15:40:50 -04:00
  • bd61e58821 Don't pass wmalloc'd memory to XFree. Stu Black 2025-10-23 14:23:56 -04:00
  • 1a8d99b2c0 PropList array items should return NULL on OOB index access. Stu Black 2025-10-23 14:20:28 -04:00
  • 7bded0055f Drop unused wAbort function from WPrefs.app. Stu Black 2025-09-19 18:25:48 -04:00
  • 32c40643c2 Replace WUtil hashtable with a Rust impl. Stu Black 2025-09-14 18:51:06 -04:00
  • 157a8e0d5a Eliminate the retainKey and releaseKey hashtable callbacks. Stu Black 2025-09-11 21:26:08 -04:00
  • 252362545e Drop WMStringHashCallbacks, which is unused. Stu Black 2025-09-11 21:02:32 -04:00
  • f69227ce19 Remove support for PropList data nodes. Stu Black 2025-10-16 22:00:18 -04:00
  • bc163d13f6 Provide alloc_string impl. Stu Black 2025-10-23 12:24:58 -04:00
  • 2d2dd9febe Chasing memory bugs: be consistent about wmalloc/wfree. Stu Black 2025-10-23 12:24:24 -04:00
  • 14c316615e Chasing memory bugs in memory.rs: copy only the payload length in wrealloc. Stu Black 2025-10-23 12:23:19 -04:00
  • 6a98614d13 Clarify wmalloc contract - it's safe to read before writing. Stu Black 2025-10-23 12:21:29 -04:00
  • dfdaa67b4d Chasing memory bugs in memory.rs: allocate the right layout. Stu Black 2025-10-23 12:14:18 -04:00
  • e6fd7e49f8 Clean things up a little bit with refutable let. Stu Black 2025-10-23 12:12:27 -04:00
  • 12930739ec Allocate PropList description with memory::alloc_bytes. Stu Black 2025-10-17 11:47:22 -04:00
  • cf588d6e27 Simplify path_from_cstr substantially (h/t cross). Stu Black 2025-10-17 11:00:48 -04:00
  • f3961ba66f Reimplement the PropList data structure in Rust. Stu Black 2025-10-16 21:33:47 -04:00
  • 5b593fb19a Expose the GSUSER_SUBDIR preprocessor symbol to Rust. Stu Black 2025-10-16 09:38:01 -04:00