Commit Graph
59 Commits
Author SHA1 Message Date
deepend 251272c708 Applying: Fix Windows 7 crash after connecting when Python plugin init fails 2026-07-07 19:04:51 -06:00
deepend f068a0e0fa Fix Windows Python plugin DLL selection 2026-07-07 15:34:11 -06:00
deepend 26afc125c7 Add optional keyring + encrypted password fallback 2026-06-02 15:57:28 -06:00
deepend 2d42d4e181 build(ci): bump Win deps incl Perl 5.42/Python 3.14.3; refresh libs; drop old Inno dl plugin 2026-03-16 01:25:01 -06:00
deepend 50346683a1 feat: GTK3-only theming overhaul—new theme service (discover/import/inherits), layered CSS+settings.ini apply w/ safe rollback + caching; widget/xtext palette mapping + all-colors editor; lots of win32/CI libarchive plumbing + installer assets; 2026-03-04 23:28:01 -07:00
deepend 149863fdca remove more gtk2 2026-02-22 16:08:00 -07:00
deepend-tildeclub a41e8a0f5d Disable debug libraries in project properties 2026-02-16 01:27:53 -07:00
deepend c20a6424e5 Added explicit MSVC runtime-check settings in the shared Windows build props so optimized builds don’t inherit /RTC1 and conflict with /Ox: BasicRuntimeChecks=Default and SmallerTypeCheck=false in the ClCompile block of win32/zoitechat.props. 2026-02-16 01:22:47 -07:00
deepend-tildeclub f5a4d8f84b Enable Whole Program Optimization in project properties 2026-02-16 01:18:40 -07:00
deepend-tildeclub 5a5daf153e Fix optimization settings in zoitechat.props 2026-02-15 22:33:01 -07:00
deepend-tildeclub 4ba03065bc Enable debug libraries and disable optimizations 2026-02-15 22:24:35 -07:00
deepend-tildeclub 12470fd954 Update zoitechat.props for x64 platform support 2026-02-14 23:47:41 -07:00
deepend-tildeclub 4a40af7eda Update Inno Setup paths to version 6 2026-02-14 23:34:51 -07:00
deepend-tildeclub 4c3b8cbec7 Remove Inno Setup 6 ISCC.exe path conditions
Removed conditions for Inno Setup 6 ISCC.exe paths.
2026-02-14 23:04:50 -07:00
deepend-tildeclub 727d08519a Update IsccPath conditions for Inno Setup versions 2026-02-14 23:00:02 -07:00
deepend-tildeclub 5c4b04615d Update OwnFlags and add Lua and Python conditions 2026-02-14 22:27:30 -07:00
deepend-tildeclub 14e15fa79d Add conditional library references for GTK3 and others 2026-02-14 22:22:34 -07:00
deepend-tildeclub fc3e36e255 Refactor dependency paths in zoitechat.props 2026-02-14 22:20:34 -07:00
deepend-tildeclub 6efe62e277 Add error checks for Lua dependencies in props file 2026-02-14 20:56:46 -07:00
deepend-tildeclub ae2757c515 Add Lua runtime and share directory conditions 2026-02-14 20:55:48 -07:00
deepend 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:

    POWERSHELL_EXE override,

    %WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe when present,

    fallback powershell.exe from PATH.
2026-02-14 17:56:27 -07:00
deepend 173d10f336 revert: back to 874ea99 2026-02-14 17:40:42 -07:00
deepend-tildeclub b52a2ca4cf Update YourGendefPath to point to gtk-build 2026-02-14 17:21:38 -07:00
deepend 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.

win32/installer/zoitechat.iss.tt
  Updated DLL Source: entries to match real-world names from dependency bundles using wildcards (*glib-2*.dll, *gtk-3*.dll, etc.).
  Added optional LuaJIT inclusion (skip if missing) and wildcarded girepository.

win32/zoitechat.props
  Added env overrides so CI (and humans) can actually control paths:
  ZOITECHAT_DEPS_PATH
  ZOITECHAT_PYTHON3_PATH
  already supported ISCC_EXE and now it actually matters.
  Fixed glib-genmarshal handling to prefer glib-genmarshal.exe if present (and only use Python script path if needed).
  Added library-name auto-detection for MSVC import libs (gtk-3.lib vs gtk-3.0.lib vs libgtk-3.lib, etc.) so linking doesn’t die just because the bundle names differ.
  Ensured InstallerEnabled gets re-evaluated after IsccPath is resolved (GTK3 had the order wrong, so installer builds could be silently disabled).

.github/workflows/windows-build.yml
  Made artifact collection and plugin validation tolerate win32 vs Win32 output directory naming, instead of assuming humans are consistent (they aren’t).
2026-02-14 15:57:41 -07:00
deepend-tildeclub fdd3664a6e Update zoitechat.props with new XML structure 2026-02-14 12:51:52 -07:00
deepend-tildeclub e9cf931714 Fix XML formatting in zoitechat.props 2026-02-14 12:16:41 -07:00
deepend-tildeclub 8ea9bffba2 Refactor zoitechat.props for dependency paths and validation
Updated the XML structure and paths in zoitechat.props to ensure correct dependency resolution and build environment validation.
2026-02-14 02:08:48 -07:00
deepend-tildeclub 2742b62ef1 Update zoitechat.props for dependency paths 2026-02-14 01:58:53 -07:00
deepend-tildeclub e654bfd127 Update zoitechat.props with new configuration 2026-02-14 01:54:11 -07:00
deepend-tildeclub 6f493ed47e Update zoitechat.props with new property definitions 2026-02-14 01:47:51 -07:00
deepend-tildeclub 32358a876b Update zoitechat.props for dependency paths 2026-02-14 00:49:32 -07:00
deepend-tildeclub a05c596e48 Update print statement from 'Hello' to 'Goodbye' 2026-02-13 22:08:09 -07:00
deepend b2d8336dd0 changes to innosetup version / path. changed to precompiled gtk3 binaries. 2026-02-13 21:49:58 -07:00
deepend 2dd2d18ade removed extra character 2026-02-13 20:47:03 -07:00
deepend 3d9a92787b Fixed IsccPath values in win32/zoitechat.props by removing embedded quotes from the default Program Files paths, so the path is stored raw and can be quoted exactly once at invocation time. This addresses the “cannot find iscc.exe” behavior caused by double/nested quoting. 2026-02-13 20:44:39 -07:00
deepend 9acec081a4 Fixed installer detection to evaluate IsccPath safely when the path contains spaces by changing the existence check to Exists('$(IsccPath)').
Fixed ISCC path normalization by trimming surrounding quotes from ZOITECHAT_ISCC_PATH and storing discovered default paths unquoted (so they can be checked reliably with Exists(...)).
Fixed installer invocation by quoting $(IsccPath) at execution time in the pre-build command, which supports paths like C:\Program Files (x86)\Inno Setup 6\ISCC.exe
2026-02-13 20:40:48 -07:00
deepend 6d101c4e10 Updated Windows build props so IsccPath can be set explicitly with ZOITECHAT_ISCC_PATH, then auto-detected across common install locations (ProgramFiles, ProgramFiles(x86), ProgramW6432) before falling back to the default path. This reduces false “iscc.exe not found” skips when Inno Setup is installed in a non-default location. 2026-02-13 20:26:36 -07:00
deepend-tildeclub 09e9e7314b Update dependency paths and Inno Setup version 2026-02-13 20:19:47 -07:00
deepend a86dc5ae85 Added build capability switches in the shared Windows props file so optional components are only enabled when their prerequisites exist:
Python3Enabled (python executable + import lib + cffi)
   PerlEnabled (perl executable + perl runtime DLL + gendef.exe)
   InstallerEnabled (Inno Setup iscc.exe).
Updated the Python plugin project to compile only when Python3Enabled is true, and otherwise emit a clear skip message instead of failing prebuild/import steps.
Updated the Perl plugin project similarly to gate build steps on PerlEnabled and print a skip message when prerequisites are missing.
Updated the installer project so it only uses C++ targets when InstallerEnabled is true, with a fallback skip message when Inno Setup is unavailable.
2026-02-13 20:14:39 -07:00
deepend c86701ee3c fix extra character on line 47 2026-02-13 19:59:25 -07:00
deepend 01ec120536 Updated Windows build property resolution so GlibGenMarshal runs through Python when only $(DepsRoot)\bin\glib-genmarshal (no .exe) exists. This prevents MSBuild from trying to execute a script as a native executable on Windows.
Kept existing behavior intact for glib-genmarshal.exe and glib-genmarshal.py paths; only the script-without-extension case changed.
2026-02-13 19:56:49 -07:00
deepend 5c7697a765 Reworked win32/zoitechat.props to follow the original GTK2-style dependency layout for GTK3 by setting DepsRoot back to $(YourDepsPath)\$(PlatformName)\release (removing the GtkPlatform indirection and direct-root auto-detection added previously). 2026-02-13 19:41:13 -07:00
deepend ca7340530d Updated Win32 path macro handling in win32/zoitechat.props so local Your*Path values can now be sourced from environment variables (ZOITECHAT_DEPS_PATH, ZOITECHAT_GENDEF_PATH, ZOITECHAT_PERL_PATH, ZOITECHAT_PYTHON3_PATH, ZOITECHAT_WINSPARKLE_PATH) before falling back to the existing c:\gtk-build\... defaults. This makes CI/dev-shell overrides much easier without manually editing the props file each time.
Added a new MSBuild target (ValidateWindowsBuildEnvironment) that runs before build prep and fails fast with explicit errors when GTK/GLib/OpenSSL headers or Python are missing, instead of allowing a long cascade of downstream compile/link/copy failures.
2026-02-13 19:28:34 -07:00
deepend 3dd54d5fea Added additional Windows GTK glib-genmarshal discovery fallbacks for Python-based script locations to handle missing executables in common layouts.
Broadened ATK import library detection to include libatk-1.0-0.lib for Win32 builds.
2026-02-07 08:45:47 -07:00
deepend 45ef2da0ac Added Windows dependency detection to enable/disable the Lua plugin build based on available headers and skip builds when missing.
Updated the Windows build to prefer glib-genmarshal executables with a Python fallback for marshal generation.
Made GTK link dependencies more robust by selecting available ATK library names before assembling GTK libs.
2026-02-06 00:24:24 -07:00
deepend ae303db62b Added a fallback for gdk-3.lib detection in the Windows dependency library list to cover builds where the import library is named without the .0/-0 suffix. 2026-02-04 22:28:04 -07:00
deepend-tildeclub 07322293f3 Update zoitechat.props with new configuration 2026-02-04 18:16:59 -07:00
deepend-tildeclub 0fd51e5c8a Modify zoitechat.props for Gtk3 support and dependencies
Updated project properties to include Gtk3 definitions and improved dependency handling.
2026-02-04 12:46:32 -07:00
deepend-tildeclub 1ac688ec19 Update zoitechat.props with new dependencies and settings 2026-02-04 11:41:47 -07:00
deepend-tildeclub 1567062636 Update zoitechat.props with new project settings 2026-02-04 10:53:20 -07:00