Commit Graph

4356 Commits

Author SHA1 Message Date
deepend-tildeclub
7fa5e6db3c Update copy.vcxproj with new XML structure 2026-02-14 02:21:57 -07:00
deepend-tildeclub
f678491eb3 Fix XML formatting in copy.vcxproj 2026-02-14 02:21:03 -07:00
deepend-tildeclub
b1f3bf85c4 Update copy.vcxproj with new XML structure 2026-02-14 02:20:26 -07:00
deepend-tildeclub
0117092f83 Update girepository DLL and typelib references 2026-02-14 02:15:37 -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
12d805fad4 Add Inno Setup compiler path detection in workflow 2026-02-14 02:08:12 -07:00
deepend-tildeclub
2742b62ef1 Update zoitechat.props for dependency paths 2026-02-14 01:58:53 -07:00
deepend-tildeclub
0872d3b445 Fix XML formatting in installer.vcxproj 2026-02-14 01:55:01 -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
2028a21d14 Update Visual Studio path in Windows build workflow 2026-02-14 01:41:21 -07:00
deepend-tildeclub
08d0b25619 Update Windows build runner to use 2022 version 2026-02-14 01:36:46 -07:00
deepend-tildeclub
eba4edf7a7 Merge branch 'master' into gtk3-prep 2026-02-14 01:35:34 -07:00
deepend-tildeclub
f8e1536336 Change toolset to v142 and update dependencies
Updated project file to use v142 toolset and modified dependencies.
2026-02-14 01:32:39 -07:00
deepend-tildeclub
8b90555511 Change PlatformToolset from v143 to v142 2026-02-14 01:32:00 -07:00
deepend-tildeclub
f32b8534a4 Change PlatformToolset from v143 to v142 2026-02-14 01:31:14 -07:00
deepend-tildeclub
26453a8ad4 Update print statement from 'Hello' to 'Goodbye' 2026-02-14 01:30:39 -07:00
deepend-tildeclub
98f1e8af57 Update print statement from 'Hello' to 'Goodbye' 2026-02-14 01:29:09 -07:00
deepend-tildeclub
ce597da1a3 Upgrade PlatformToolset from v142 to v143 2026-02-14 01:28:39 -07:00
deepend-tildeclub
dba80a5a9e Upgrade PlatformToolset from v142 to v143 2026-02-14 01:28:08 -07:00
deepend-tildeclub
3c94112aeb Upgrade project to use v143 toolset
Updated project file to use v143 toolset and adjusted configurations.
2026-02-14 01:27:37 -07:00
deepend-tildeclub
855b892b1e Update fmt.Println message from 'Hello' to 'Goodbye' 2026-02-14 01:25:25 -07:00
deepend-tildeclub
22b74dc70b Upgrade PlatformToolset from v142 to v143 2026-02-14 01:24:53 -07:00
deepend-tildeclub
014ba9e868 Upgrade PlatformToolset from v142 to v143 2026-02-14 01:24:25 -07:00
deepend-tildeclub
11f3beae8b Upgrade project to use v143 toolset
Updated project file to use v143 toolset and modified dependencies.
2026-02-14 01:23:43 -07:00
deepend-tildeclub
ac1065bfa6 Change Windows build runner from 2022 to 2019 2026-02-14 01:17:43 -07:00
deepend-tildeclub
84501d087c Simplify Visual Studio setup in Windows build workflow 2026-02-14 01:14:30 -07:00
deepend-tildeclub
60f2b53866 Enhance Visual Studio setup in Windows build workflow 2026-02-14 01:10:05 -07:00
deepend-tildeclub
c9e8d24e06 Change build environment to Windows 2022
Updated the Windows build workflow to use Visual Studio 2022.
2026-02-14 01:01:25 -07:00
deepend-tildeclub
2436c3bad1 Update installer.vcxproj XML structure 2026-02-14 00:53:47 -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
b2d8336dd0 changes to innosetup version / path. changed to precompiled gtk3 binaries. 2026-02-13 21:49:58 -07:00
cfdc275a88 Updated the Windows GitHub Actions workflow to stop cloning/installing gvsbuild and running gvsbuild build for GTK dependencies, and instead download/extract the precompiled GTK archive you specified (gtk-x64-2026.7z).
Preserved the existing Win32 alias junction logic, but now gate it on both the win32 matrix target and the presence of C:\gtk-build\gtk\x86 from the extracted archive.
2026-02-13 21:40:35 -07:00
2dd2d18ade removed extra character 2026-02-13 20:47:03 -07:00
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
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
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
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
bb70bcb4e3 Updated the Windows installer pre-build script to create $(ZoiteChatBin) if it doesn’t exist before generating zoitechat.iss, which addresses the “The system cannot find the path specified” failure path during installer project builds. 2026-02-13 20:04:12 -07:00
c86701ee3c fix extra character on line 47 2026-02-13 19:59:25 -07:00
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
f734f230fd fix path for girepository dll 2026-02-13 19:47:45 -07:00
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
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
9aceea0134 Fixed the preferences layout packing so the main content region can expand vertically and use the full window height in GTK3 builds by packing the notebook with expand/fill enabled (TRUE, TRUE).
Fixed the top-level preferences window layout so the central horizontal content area expands within the main vertical container, instead of staying at natural height.
2026-02-13 18:45:13 -07:00
deepend-tildeclub
7df778fc71 Merge pull request #45 from ZoiteChat/c17
C17
2026-02-12 22:24:04 -07:00
e855b9f160 Added Ctrl+Alt+S (<Primary><Alt>s) to the default keyboard shortcut list in fkeys.c and mapped it to Insert in Buffer with D1:\036 (strikethrough control code), so strikethrough is available by default via that shortcut. 2026-02-12 15:19:22 -07:00
54428e9e40 Added a shared escape decoder for keybinding Data fields so key actions can interpret \n, \r, \t, \\, and hex-byte escapes like \x1e (raw byte insertion), with graceful fallback for invalid/unknown escapes. This is what enables entering strikethrough control byte 0x1E via keybindings (e.g., Data 1: \x1e).
Updated Run Command to use the shared decoder instead of its previous newline-only parser, so it now supports the same escape set consistently.
Updated Insert in Buffer to decode escapes before insertion, so \xNN inserts raw bytes rather than literal text.
Updated key action help text to document the supported escape syntax for both Run Command and Insert in Buffer.
2026-02-12 14:34:38 -07:00