Commit Graph

  • d1972f7893 refactor(platform): Unify watch logic and fix manual snapshot leaks anth64 2026-01-22 00:24:04 +01:00
  • b4fbfebc85 build: remove -ldl from Windows target anth64 2026-01-20 22:05:53 +01:00
  • c863da08dd fix(platform): address C89 warnings and Windows pointer casting anth64 2026-01-20 21:53:33 +01:00
  • 404bf9503c fix: init file count to 0, just in case... anth64 2026-01-19 23:16:20 +01:00
  • 42cf581125 fix: use union for ISO C compliant function pointer conversion anth64 2026-01-19 07:57:40 +01:00
  • c64f9aa946 fix: I forgot to change it from uint8_t to int... anth64 2026-01-18 22:24:24 +01:00
  • 3e2762ac15 remove accidental import, thanks clangd anth64 2026-01-18 22:04:05 +01:00
  • a3978644af refactor: centralize module identity logic and upgrade lookup anth64 2026-01-18 22:01:54 +01:00
  • a290be5dcc feat: implement .tmp directory isolation for safe hot-reload anth64 2026-01-18 21:26:17 +01:00
  • 38469a358f Replace dynamic allocations with fixed-size buffers and add module extension filtering anth64 2026-01-17 19:52:42 +01:00
  • e2e49e605c Fix bmake builds: use absolute include paths, output .dylib on macOS anth64 2026-01-17 19:50:38 +01:00
  • 2820552db8 Add STK_MOD_RELOAD to module event enum anth64 2026-01-11 21:09:51 +01:00
  • 86f08bec19 build: fix bmake clean by using absolute paths for directory removal anth64 2026-01-11 18:06:22 +01:00
  • bf5863fcb1 build: implement platform-agnostic build system anth64 2026-01-11 17:55:47 +01:00
  • 888e6d5f72 Added kqueue directory behavior and huge refactor anth64 2026-01-11 15:31:14 +01:00
  • 503bd21fae Oops, fix merge conflict. anth64 2026-01-11 12:54:46 +01:00
  • fe650743b9 'simplify' make file to work across gmake and bmake anth64 2026-01-11 12:50:35 +01:00
  • 4ae6e533fa Switch gcc to use available c compiler anth64 2026-01-10 16:13:57 +01:00
  • 0649e287be extract_module_id is now not static anth64 2025-12-20 08:22:41 -05:00
  • a7d40929bf Change shutdown return type and hot reload WIP anth64 2025-11-07 07:55:44 +01:00
  • 7169dd37b7 hot loading skeleton anth64 2025-11-06 22:34:55 +01:00
  • a30eeb7b1c extract_module_id non static -> static anth64 2025-11-06 22:29:15 +01:00
  • 8d4a506a91 extract_module_id(const char* path) static -> not static anth64 2025-11-06 21:25:47 +01:00
  • c95daad754 Simplify Windows event handling anth64 2025-11-06 20:42:41 +01:00
  • 13604e3f3e Fix Linux inotify event handling and simplify module events anth64 2025-11-06 20:06:15 +01:00
  • 0cf819fc73 stk module id static -> not static anth64 2025-11-06 19:29:20 +01:00
  • b5bb6bc707 Fix (*file_list) pointer syntax in Windows code, remove repeated variable, windows code now returns event types anth64 2025-11-05 07:49:57 +01:00
  • 3b993458d1 Add module ID tracking for hot-reloading anth64 2025-11-04 07:39:20 +01:00
  • da4dcee490 Enhance file watching to return event types anth64 2025-11-03 23:16:32 +01:00
  • ec2aa09596 add stk file event enum and definition for stk poll anth64 2025-11-03 21:44:33 +01:00
  • 35cc5afa9d Module discovery working for real this time anth64 2025-11-02 19:41:56 +01:00
  • e878819b02 remove diff output anth64 2025-11-02 19:28:16 +01:00
  • 3c7608ef51 create mod directory if it does not exist. anth64 2025-11-02 19:01:08 +01:00
  • 5c621c8367 Init/shutdown working anth64 2025-11-02 18:40:33 +01:00
  • a0c9cdb577 Windows implementation for platform_directory_init_scan anth64 2025-11-02 13:55:09 +01:00
  • 4b70f606fa add directory scan function intended for use on startup, Linux only for now anth64 2025-11-02 12:56:02 +01:00
  • 7d7f02d1be use a constant for the mod dir buffer size anth64 2025-11-02 12:44:10 +01:00
  • a66d9f9357 add mod dir anth64 2025-11-02 12:30:26 +01:00
  • 5ab3da22ae update documentation to have a posix/windows focus. I am big dumb, consoles do not have dlls... anth64 2025-11-02 09:38:12 +01:00
  • ed6325598c remove kqueue code, focus on Linux/Windows implementation for now. anth64 2025-11-02 09:29:27 +01:00
  • 390f1a40bc add kqueue directory start/stop, check is still wip anth64 2025-11-01 18:20:16 +01:00
  • f1c6372b3e rename event buffer, add directory watching for windows (WIP/needs testing) anth64 2025-10-31 07:39:11 +01:00
  • 0e6664ec47 Implement Linux directory watching using inotify anth64 2025-10-29 20:25:45 +01:00
  • 08b990a16a fix log function name anth64 2025-10-23 23:20:38 +02:00
  • bab9887fdb added functions to load/unload modules anth64 2025-10-23 22:20:49 +02:00
  • df0954ba0d stk module count function, remove stk_ids since handles will be used as "ids" and typedef for stk module functions anth64 2025-10-23 21:36:49 +02:00
  • 51ae8c7ab2 change shutdown log msg anth64 2025-10-23 21:18:37 +02:00
  • 9d8dad7ea1 platform specific dynamic library loading anth64 2025-10-22 19:20:48 +02:00
  • 8b26742c63 add logging anth64 2025-10-21 00:10:51 +02:00
  • a82fb80a99 prevent c++ name mangling anth64 2025-10-21 00:10:20 +02:00
  • 586733f2eb Makefile detect os (windows/posix) anth64 2025-10-20 22:42:04 +02:00
  • 9d51be7a18 added docs directory and design roadmap anth64 2025-10-18 17:15:52 -04:00
  • 4b6c3ffe2f instead of storing modules as a struct, switch to a more "ECS" style of handling modules anth64 2025-10-09 07:55:41 +02:00
  • dfa190caea add minimal module struct anth64 2025-10-08 21:58:22 +02:00
  • 079921091f initial code + Makefile anth64 2025-10-08 19:17:18 +02:00
  • 4066f3488b add compile flags for lsp anth64 2025-10-08 19:01:44 +02:00
  • d8d00b88b8 update gitignore to include build dirs anth64 2025-10-08 19:01:24 +02:00
  • 9b547c30fe Add README anth64 2025-09-28 16:33:26 +02:00
  • 7dfa2b1d77 Initial commit anth64 2025-09-28 14:21:06 +00:00