Commit Graph

  • cd711ba52b Restore function prototype for W_ClearNotificationCenter. refactor/riir 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 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. refactor/wutil-rs 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. refactor/wutil-rs-hashtable 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
  • f2e9123db6 Port WINGs data.c (WMData) to Rust. Stu Black 2025-10-04 12:31:54 -04:00
  • 791149fe70 Correct oversight in how WMMapArray is supposed to work. Stu Black 2025-10-03 22:55:52 -04:00
  • 52b0e6b182 Drop WMData's destructor field. Stu Black 2025-10-03 01:19:07 -04:00
  • bbcf40ee47 Eliminate the WINGs function WMCreateDataWithBytesNoCopy. Stu Black 2025-10-03 01:16:32 -04:00
  • 9d07e2d3d8 Eliminate the unused WINGs function WMGetSubdataWithRange. Stu Black 2025-10-03 01:02:40 -04:00
  • dea8c36cd5 Eliminate the unused WINGs function WMCreatePLDataWithBytesNoCopy. Stu Black 2025-10-03 01:01:15 -04:00
  • 3beadbb6cb Forgot to add new array.rs impl. Stu Black 2025-10-03 00:50:02 -04:00
  • dd36130730 Fix const qualifier on strings returned by wgethomedir. Stu Black 2025-10-03 00:44:58 -04:00
  • 6ede7a5cb0 Reimplement WINGs array.c in Rust. Stu Black 2025-10-03 00:43:56 -04:00
  • 2b9b915768 Replace most WUtil functions in findfile.c with Rust impls. Stu Black 2025-10-02 14:22:20 -04:00
  • d50adaa1c8 Use free() on memory returned by FcNameUnparse and hand back wfree-managed pointers from our functions. Stu Black 2025-10-02 13:26:57 -04:00
  • 5b0ad78f01 Remember to AC_SUBST the Rust compiler environment variables so they're visible in Makefiles. Stu Black 2025-10-02 13:24:51 -04:00
  • 46fcbb0ff1 Port custom allocators (WINGs memory.c) to Rust. Stu Black 2025-09-21 15:31:47 -04:00
  • e3fb8ddbc8 Rip out Boehm GC support. Stu Black 2025-09-11 17:10:07 -04:00
  • 59ad67f4dc Provide a janky script for running Window Maker in a captive Xephyr X server. Stu Black 2025-10-23 14:39:53 -04:00
  • d91275d959 memory: replace most of memory.c with Rust mem Dan Cross 2025-10-12 01:14:35 +00:00
  • 5325e2d455 Improve automake integration with Rust build. Stu Black 2025-09-14 18:09:29 -04:00
  • 82c8b0c9b4 Rename wmakerlib dir to wmaker-rs for econsistency with future libs. Stu Black 2025-09-13 14:54:13 -04:00
  • 02d638d1c6 Define WAppIcon struct in Rust. refactor/rust_app_icon Stu Black 2025-09-09 22:41:10 -04:00
  • 54bd69680a Make bitfields into regular fields so we can mirror WAppIcon in Rust. Stu Black 2025-09-09 22:37:37 -04:00
  • a67f7483fd Clean up parameters that were commented out. refactor/rust_wapplication refactor/rust_icon Stu Black 2025-09-09 22:27:55 -04:00
  • cf87f7e83b Finish moving WApplication struct defn and methods into Rust. Stu Black 2025-09-09 22:23:59 -04:00
  • b569889f21 Expose RRetainImage from wrlib for Rust. Stu Black 2025-09-09 22:21:15 -04:00
  • 383b3a1a7b Expose some WMHandlerID methods from WINGs for Rust. Stu Black 2025-09-09 22:20:07 -04:00
  • 4fd7d1e2c1 Forgot to include screen.rs earlier. Stu Black 2025-09-09 22:19:41 -04:00
  • 0131c493c0 Expose PropGetWMClass for Rust. Stu Black 2025-09-09 22:19:16 -04:00
  • 5f1317b885 Forgot to include global module in lib.rs. Stu Black 2025-09-09 22:18:49 -04:00
  • 5817c1f032 Expose a Rust type for WMenu. Stu Black 2025-09-09 22:18:30 -04:00