Commit Graph

  • 6f97c060b3 Added defensive input validation in waitline() to return -1 when bufsize <= 0, preventing invalid buffer handling paths. Added a Windows-specific guard in waitline() that checks _get_osfhandle(sok) before calling read() in non-socket mode; if the CRT file descriptor is invalid, it now fails gracefully with -1 instead of hitting the debug CRT assertion you reported. deepend 2026-02-16 01:09:16 -07:00
  • 2bfd96c9e0 Fix vsnprintf handling for MSVC compiler deepend-tildeclub 2026-02-16 00:45:59 -07:00
  • c815a4629c Update python3.vcxproj with new configurations deepend-tildeclub 2026-02-15 23:05:59 -07:00
  • 41f140c971 Fix XML encoding issues in python3.vcxproj deepend-tildeclub 2026-02-15 22:58:35 -07:00
  • 89b0bc667b Update python3.vcxproj with UndefinePreprocessorDefinitions deepend-tildeclub 2026-02-15 22:50:37 -07:00
  • d8cbab3bfc Modify python3.vcxproj with new preprocessor definitions deepend-tildeclub 2026-02-15 22:40:12 -07:00
  • 5a5daf153e Fix optimization settings in zoitechat.props deepend-tildeclub 2026-02-15 22:33:01 -07:00
  • bf4782d3e1 Set wide handle for GTK3 horizontal paned widget deepend-tildeclub 2026-02-15 22:31:45 -07:00
  • 4ba03065bc Enable debug libraries and disable optimizations deepend-tildeclub 2026-02-15 22:24:35 -07:00
  • 747a1dca97 I made a targeted fix for the Plugins/Scripts Load button on Windows: before issuing LOAD ..., the selected file path is now copied and normalized to forward slashes (\ → /) under #ifdef WIN32, then quoted if needed. This keeps Linux behavior unchanged and avoids Windows path parsing issues in the command path. The load dialog wiring remains the same (same callback and filters), only the command path construction was hardened. deepend 2026-02-15 22:13:13 -07:00
  • 16f2c6cc0d Updated Windows sysinfo HDD querying to use Win32_LogicalDisk filtered to local fixed drives (DriveType = 3) instead of Win32_Volume, with an inline comment explaining this avoids provider/RPC probe failures (such as Plan9/WSL-backed providers) seen in debugger sessions. Updated the HDD size property read from WMI from Capacity to Size so it matches the new Win32_LogicalDisk query schema. deepend 2026-02-15 16:51:11 -07:00
  • b569d24cd1 Added a new Windows-only startup helper, win32_set_gsettings_schema_dir(), that sets GSETTINGS_SCHEMA_DIR to <install-dir>/share/glib-2.0/schemas when the environment variable is not already set and the directory exists. This is intended to prevent GTK/GSettings initialization failures (like the file chooser crash path you shared). Called that helper in fe_args() before gtk_init() on Windows so schema resolution is configured early in process startup. deepend 2026-02-15 16:37:51 -07:00
  • 7f4ffdb1e5 Added defensive path validation in gtkutil_file_req() so the file chooser only receives existing directories for initial/current folder setup, with fallback to get_xdir() when the requested folder is invalid. This is aimed at preventing the Windows crash that occurs immediately on pressing the Plugin GUI Load button (before file selection). Wrapped shortcut-folder setup with existence checks and explicit GError handling so invalid config paths don’t propagate into GTK chooser failures/crashes on Windows. Removed an unused get_xdir_fs extern declaration from this function while introducing a single xdir value reused across chooser setup logic. deepend 2026-02-15 16:15:25 -07:00
  • 60c05710b1 Reviewed src/fe-gtk/plugingui.c and fixed several crash-prone assumptions in the plugin GUI code path that can surface on Windows during plugin load/unload lifecycle edges: Added type guards before using the stored plugin view/model (GTK_IS_TREE_VIEW, GTK_IS_LIST_STORE) so stale or unexpected object data doesn’t get dereferenced. Switched plugin list population to always pass non-null strings for name/version/description via plugingui_safe_string, preventing null string propagation into GTK model setters. Added an unload guard for empty/null modname before calling unload logic, preventing unsafe calls into plugin teardown paths with invalid identifiers. deepend 2026-02-15 15:57:19 -07:00
  • 3e59822753 Reviewed the plugin GUI code path and fixed two crash-prone null-handling cases that are especially risky on Windows plugin metadata paths: fe_pluginlist_update() now guards against pl == NULL, pl->version == NULL, and pl->filename == NULL before dereferencing, and uses safe empty-string fallbacks for filename-backed columns. This prevents null dereferences from malformed or partially-populated plugin entries. plugingui_unload() now early-returns when the selected plugin filepath is NULL/empty before suffix checks and command formatting, preventing invalid string operations in unload flow. deepend 2026-02-15 15:41:28 -07:00
  • 47a9729737 Added a new session guard helper for the plugin GUI so addon commands only run when there is a valid active session, and emit a user-facing error otherwise. This prevents handle_command() calls with an invalid/null session context (a likely crash path on Windows in edge UI states). Updated plugin Unload and Reload callbacks to use the guarded session helper before issuing command-based unload/reload for script plugins, and to exit cleanly when no session is available. Fixed plugin list layout sizing by forcing the tree view’s scrolled container to expand/fill inside the plugin window’s vbox, so the loaded-plugins list now uses full available height above the button row. deepend 2026-02-15 15:23:39 -07:00
  • 3f31d9bd5a Fixed the plugin/script load callback to avoid using a potentially stale session pointer from the file dialog callback userdata; it now resolves a safe target session at callback time. This prevents crashes when the original session is no longer valid. Added a defensive check that reports a user-facing error ("No active session available for loading addons.") and exits early when no valid session exists, instead of calling handle_command() with invalid state. Updated the file request call to pass NULL userdata for load operations, so the callback no longer retains a stale session pointer while the chooser is open. deepend 2026-02-15 15:12:00 -07:00
  • 95538794e3 Fixed the GTK file chooser handling to avoid dereferencing/processing invalid filenames by adding an early guard in gtkutil_check_file() for NULL/empty selections, which prevents the load flow from continuing with bad input. Fixed the single-file open path in gtkutil_file_req_done() to fetch the filename once and only call gtkutil_check_file() when a non-NULL filename is returned, preventing the crash path when GTK returns no file on accept/load. deepend 2026-02-15 15:02:26 -07:00
  • 371b1caaa6 Updated win32/copy/copy.vcxproj to keep only fixed (non-wildcard) items in the top-level project ItemGroup, which is the part Visual Studio analyzes for the wildcard warning. Moved all wildcard-based includes (*.dll, **\*, etc.) into an ItemGroup inside the Build target so they’re evaluated at build time instead of as VC project item definitions, preserving the copy behavior deepend 2026-02-15 14:35:19 -07:00
  • 64909893e7 Add additional DLLs to installer configuration deepend-tildeclub 2026-02-15 14:19:00 -07:00
  • 815f1c810e Add additional DLL dependencies to copy.vcxproj deepend-tildeclub 2026-02-15 14:18:26 -07:00
  • 1f031d8966 Add new DLLs and remove conditional helper sources deepend-tildeclub 2026-02-15 10:18:20 -07:00
  • 2a4aa2f8ac Fix Lua file path in installer script deepend-tildeclub 2026-02-15 10:06:02 -07:00
  • d646607066 Update Lua file paths in installer script deepend-tildeclub 2026-02-15 10:02:01 -07:00
  • c37b45308e Update Lua LGI DLL source path in installer script deepend-tildeclub 2026-02-15 09:57:49 -07:00
  • 2cec6a6778 Update library sources in installer script deepend-tildeclub 2026-02-15 09:52:40 -07:00
  • a4c635ee52 Rename fontconfig.dll to fontconfig-1.dll deepend-tildeclub 2026-02-15 09:48:52 -07:00
  • 4fc859d9ef Fix fontconfig DLL source name in installer script deepend-tildeclub 2026-02-15 09:48:38 -07:00
  • f945e3c292 Update fontconfig.dll to fontconfig-1.dll deepend-tildeclub 2026-02-15 09:48:15 -07:00
  • 37d8126128 Update freetype.dll to freetype-6.dll in installer deepend-tildeclub 2026-02-15 09:45:11 -07:00
  • 86ab733de0 Add skipifsourcedoesntexist flag to theme source deepend-tildeclub 2026-02-15 09:41:03 -07:00
  • 95d87732c4 Implement fallback procedures for Inno Download Plugin deepend-tildeclub 2026-02-15 09:34:30 -07:00
  • 8338e701b4 Clean up installer script by removing unused code deepend-tildeclub 2026-02-15 09:33:46 -07:00
  • a384b8e295 Implement fallback procedures for Inno Download Plugin deepend-tildeclub 2026-02-15 09:32:34 -07:00
  • 019f591627 Update installer.vcxproj with new configurations deepend-tildeclub 2026-02-15 09:24:18 -07:00
  • 8cbfb29a49 Modify installer project file for Inno Setup paths deepend-tildeclub 2026-02-15 09:14:24 -07:00
  • 12470fd954 Update zoitechat.props for x64 platform support deepend-tildeclub 2026-02-14 23:47:41 -07:00
  • fd9cd61991 Simplify build matrix for Windows workflow deepend-tildeclub 2026-02-14 23:43:06 -07:00
  • 4a40af7eda Update Inno Setup paths to version 6 deepend-tildeclub 2026-02-14 23:34:51 -07:00
  • 58eed1682c Change Inno Setup path to version 6 deepend-tildeclub 2026-02-14 23:34:03 -07:00
  • 481e7f78bc Update Inno Setup version in Windows build workflow deepend-tildeclub 2026-02-14 23:33:29 -07:00
  • 34de343fa6 Update installer.vcxproj with new XML structure deepend-tildeclub 2026-02-14 23:23:46 -07:00
  • 1c4fd1d02d Add ISCC path for pre-build event deepend-tildeclub 2026-02-14 23:18:26 -07:00
  • 4c3b8cbec7 Remove Inno Setup 6 ISCC.exe path conditions deepend-tildeclub 2026-02-14 23:04:50 -07:00
  • 727d08519a Update IsccPath conditions for Inno Setup versions deepend-tildeclub 2026-02-14 23:00:02 -07:00
  • bb796bb364 Update installer.vcxproj.filters for resource files deepend-tildeclub 2026-02-14 22:58:36 -07:00
  • b413762457 Update installer.vcxproj for new file inclusion deepend-tildeclub 2026-02-14 22:58:15 -07:00
  • 45ef0fcd26 Update artifact handling in Windows build workflow deepend-tildeclub 2026-02-14 22:47:42 -07:00
  • eaef68f827 Fix artifact paths in Windows build workflow deepend-tildeclub 2026-02-14 22:39:06 -07:00
  • 5c4b04615d Update OwnFlags and add Lua and Python conditions deepend-tildeclub 2026-02-14 22:27:30 -07:00
  • b77690d046 Refactor zoitechat.props configuration for clarity deepend-tildeclub 2026-02-14 22:27:00 -07:00
  • 49c97108e5 Update zoitechat.props for dependency paths and flags deepend-tildeclub 2026-02-14 22:26:00 -07:00
  • 14e15fa79d Add conditional library references for GTK3 and others deepend-tildeclub 2026-02-14 22:22:34 -07:00
  • fc3e36e255 Refactor dependency paths in zoitechat.props deepend-tildeclub 2026-02-14 22:20:34 -07:00
  • 3bbce082de Merge branch 'master' into gtk3-prep deepend-tildeclub 2026-02-14 22:14:01 -07:00
  • de7807bc6a Fix XML formatting in installer.vcxproj deepend-tildeclub 2026-02-14 22:12:58 -07:00
  • 45b9de5ff6 Update installer.vcxproj with new XML structure deepend-tildeclub 2026-02-14 22:12:36 -07:00
  • 63808bebde Fix XML formatting in installer.vcxproj deepend-tildeclub 2026-02-14 22:11:23 -07:00
  • 4927413bcb Change plugin and language descriptions to custom deepend-tildeclub 2026-02-14 21:55:15 -07:00
  • c3c814b28d Modify installer project file for pre-build event deepend-tildeclub 2026-02-14 21:37:13 -07:00
  • e0d22f7f6a Update GTK3 download URL in windows-build.yml deepend-tildeclub 2026-02-14 21:32:01 -07:00
  • 2a24686f29 Update Windows build workflow for GTK dependencies deepend-tildeclub 2026-02-14 21:28:41 -07:00
  • be97bc30e3 Update perl.vcxproj to new XML format deepend-tildeclub 2026-02-14 21:18:46 -07:00
  • c23d1d493f Fix XML formatting issues in python3.vcxproj deepend-tildeclub 2026-02-14 21:17:28 -07:00
  • 74934de4b8 Refactor lua.vcxproj to remove LuaEnabled condition deepend-tildeclub 2026-02-14 21:04:24 -07:00
  • 6efe62e277 Add error checks for Lua dependencies in props file deepend-tildeclub 2026-02-14 20:56:46 -07:00
  • ae2757c515 Add Lua runtime and share directory conditions deepend-tildeclub 2026-02-14 20:55:48 -07:00
  • c55b46e67f Remove hcpython3.dll check from Windows build workflow deepend-tildeclub 2026-02-14 20:48:26 -07:00
  • 15eae4f606 Refactor Python directory setup in Windows build deepend-tildeclub 2026-02-14 20:43:02 -07:00
  • a1b339eecf Update Windows build workflow to exclude hcperl.dll deepend-tildeclub 2026-02-14 20:17:57 -07:00
  • ba892240cb Fixed the Windows installer pre-build PowerShell invocation by replacing the bare powershell command with a configurable $(PowerShellPath) call in installer.vcxproj, and added stable flags (-NoProfile -ExecutionPolicy Bypass) to reduce environment-specific failures. This addresses the MSB3073/9009 command-not-found class of error you reported. Added a PowerShellPath resolution chain in zoitechat.props so builds can use: deepend 2026-02-14 17:56:27 -07:00
  • 173d10f336 revert: back to 874ea99 deepend 2026-02-14 17:40:42 -07:00
  • 14b08d1001 Update .gitattributes for binary file types deepend-tildeclub 2026-02-14 17:27:31 -07:00
  • b52a2ca4cf Update YourGendefPath to point to gtk-build deepend-tildeclub 2026-02-14 17:21:38 -07:00
  • b512c215a4 chore: enforce line endings via gitattributes deepend 2026-02-14 17:05:04 -07:00
  • 3e2268b391 chore: normalize line endings deepend 2026-02-14 17:02:11 -07:00
  • 874ea99492 win32/copy/copy.vcxproj Switched hardcoded DLL names to wildcard patterns (ex: atk-1.0-0.dll → *atk-1.0-0.dll, iconv.dll → *iconv*.dll, etc.) so it correctly picks up lib* prefixed builds. Made Enchant provider copying resilient by copying lib\enchant\*.dll instead of a single hardcoded libenchant_myspell.dll. Added optional copy support for LuaJIT DLLs (luajit*.dll) alongside lua51.dll. deepend 2026-02-14 15:57:41 -07:00
  • 20b0aab470 Modify pre-build event for locale directory handling deepend-tildeclub 2026-02-14 14:23:53 -07:00
  • 4c3e9ffad4 Add Lua dependency installation and validation steps deepend-tildeclub 2026-02-14 14:05:17 -07:00
  • a8db164ef7 Change plugin and language types to normal custom deepend-tildeclub 2026-02-14 13:25:05 -07:00
  • f5feb7a0de Update Windows build workflow for GTK3 Gvsbuild deepend-tildeclub 2026-02-14 13:14:24 -07:00
  • fdd3664a6e Update zoitechat.props with new XML structure deepend-tildeclub 2026-02-14 12:51:52 -07:00
  • 9fdc5cdf28 Update Lua plugin build message for clarity deepend-tildeclub 2026-02-14 12:50:35 -07:00
  • e9cf931714 Fix XML formatting in zoitechat.props deepend-tildeclub 2026-02-14 12:16:41 -07:00
  • 9b2cf3de43 Update copy.vcxproj with new XML structure deepend-tildeclub 2026-02-14 12:10:10 -07:00
  • 7f9920554e Update typelib source path from girepository-2.0 to 1.0 deepend-tildeclub 2026-02-14 11:55:20 -07:00
  • 0e3322d4a8 Update download link for GTK3 Gvsbuild archive deepend-tildeclub 2026-02-14 11:49:41 -07:00
  • 3a5fc95725 Update GTK download link and extraction path deepend-tildeclub 2026-02-14 09:42:03 -07:00
  • b7496a4732 Implement error handling for GTK extraction deepend-tildeclub 2026-02-14 02:58:17 -07:00
  • 6fd191f32d Rename girepository-2.0.dll to girepository-2.0-0.dll deepend-tildeclub 2026-02-14 02:31:35 -07:00
  • eba86758f2 Update copy.vcxproj with new XML structure deepend-tildeclub 2026-02-14 02:27:44 -07:00
  • 7fa5e6db3c Update copy.vcxproj with new XML structure deepend-tildeclub 2026-02-14 02:21:57 -07:00
  • f678491eb3 Fix XML formatting in copy.vcxproj deepend-tildeclub 2026-02-14 02:21:03 -07:00
  • b1f3bf85c4 Update copy.vcxproj with new XML structure deepend-tildeclub 2026-02-14 02:20:26 -07:00
  • 0117092f83 Update girepository DLL and typelib references deepend-tildeclub 2026-02-14 02:15:37 -07:00
  • 8ea9bffba2 Refactor zoitechat.props for dependency paths and validation deepend-tildeclub 2026-02-14 02:08:48 -07:00
  • 12d805fad4 Add Inno Setup compiler path detection in workflow deepend-tildeclub 2026-02-14 02:08:12 -07:00
  • 2742b62ef1 Update zoitechat.props for dependency paths deepend-tildeclub 2026-02-14 01:58:53 -07:00
  • 0872d3b445 Fix XML formatting in installer.vcxproj deepend-tildeclub 2026-02-14 01:55:01 -07:00
  • e654bfd127 Update zoitechat.props with new configuration deepend-tildeclub 2026-02-14 01:54:11 -07:00