317 Commits

Author SHA1 Message Date
Hugo Locurcio
b26312f1c1 Bump to version 3.2.1 v3.2.1 2025-09-17 16:51:12 +02:00
Rémi Verschelde
d427b556e2 Merge pull request #305 from akien-mga/libssh2-cmake-4.0
CI: Fix build on macOS 15 runner with CMake 4.0 and Xcode 16.4
2025-09-17 12:57:31 +02:00
Rémi Verschelde
77fdf78793 CI: Fix build on macOS 15 runner with CMake 4.0 and Xcode 16.4
- Enforce min CMake version targeted for libssh2
- Downgrade Xcode to 16.2 as that's the last version before upgrading to LLVM 19
  which seems to break building libgit2's bundled zlib
2025-09-17 12:42:53 +02:00
Rémi Verschelde
1a851f221b Merge pull request #292 from Calinou/add-issue-templates
Add issue templates
2025-09-17 11:08:48 +02:00
Nikita
182f2f7146 Update OpenSSL to 3.1.2 (#298) 2025-07-25 17:30:51 +02:00
Hugo Locurcio
27c1152cb0 Add issue templates
These issue templates are inspired by the ones from godot-vscode-plugin.
2025-06-03 19:01:26 +02:00
Rémi Verschelde
b51e8ee42a Merge pull request #290 from Faless/fix/disable_zlib_detection
ssh2: Disable zlib detection
v3.2.0
2025-05-31 00:58:30 +02:00
Fabio Alessandrelli
94db3a7c36 ssh2: Disable zlib detection
This seems to only be used with the OpenSSL backend (which we plan to
drop).

libgit2 already use builtin ZLIB, I'm not even sure we if it would be
used in libssh2 (we only use libssh2 to provide git ssh access, and git
already compress objects.
2025-05-31 00:43:58 +02:00
Rémi Verschelde
179e3ddb00 Merge pull request #289 from akien-mga/misc-fixes
Misc fixes and cleanup
2025-05-28 23:03:10 +02:00
Rémi Verschelde
2a4c781e86 Misc fixes and cleanup
- Remove the `demo` project which isn't really useful.
  * Instead the `addons` subfolder is made top-level and that's where stuff gets written.
- Update the README following recent PRs (#191, #199) as OpenSSL is now compiled from source for all platforms.
  * Also remove obsolete `build_openssl_universal_macos.sh` script.
- Remove the bogus `plugin.cfg` which isn't necessary, and was confusing users who tried to enable it.
  * Fixes #267.
- Bump min SCons version to 3.1.2 and Python to 3.6.
- Bump `compatibility_minimum` to `4.2.0` following #196.
- Remove some code in `godot-git-plugin/SCsub` that seems redundant with `godot-cpp` config.
- Remove unnecessary `.exp` and `.lib` files in Windows artifact, rename its folder to `windows`.
- Remove `export-ignore`s in `.gitattributes`, they're incomplete and not actually doing anything usable.
- Fix artifacts URL handling in `release.sh`, make it executable.
- CI: Update clang-format check to version 18.
2025-05-28 22:52:21 +02:00
Rémi Verschelde
fd85a8ef39 Merge pull request #288 from akien-mga/ci-cleanup
CI: Don't install openssl for macOS + misc cleanup
2025-05-27 17:29:49 +02:00
Rémi Verschelde
f322436f66 CI: Don't install openssl for macOS + misc cleanup 2025-05-27 17:18:41 +02:00
Rémi Verschelde
78d6464745 Merge pull request #286 from Faless/build/force_msvc_lto
Force LTO on windows MSVC as libgit2 requires it
2025-05-27 15:38:05 +02:00
Rémi Verschelde
91bb644dd4 Merge pull request #287 from Faless/build/fix_macos_deployment_target
Force macOS deployment target for OpenSSL when specified
2025-05-27 14:17:09 +02:00
Rémi Verschelde
1e346f89fa Merge pull request #285 from Faless/build/fix_libgit_tool
Properly specify the `STATIC_CRT` libgit2 flag
2025-05-27 14:01:19 +02:00
Fabio Alessandrelli
9a43d562c0 Force macOS deployment target for OpenSSL when specified 2025-05-27 12:24:54 +02:00
Fabio Alessandrelli
f6f2db53a9 Force LTO on windows MSVC
This silences the linker complaining that libgit uses LTO but we are not
linking with it.
2025-05-27 12:20:59 +02:00
Fabio Alessandrelli
c7c7822191 Properly specify the STATIC_CRT libgit2 flag
libgit2 CMake configuration uses a custom flag `STATIC_CRT` and not the
new CMake policy CMP0091.

When forcing the CMake policy (as we do in our cmake tool), we need to
also set the custom `STATIC_CRT` to avoid compiler warning about the /MD
and /MT flag being overridden.
2025-05-27 11:53:22 +02:00
Rémi Verschelde
392b3d6697 Merge pull request #283 from akien-mga/ci-windows-fail-on-error
CI: Ensure Windows job fails on error
2025-05-27 10:38:58 +02:00
Rémi Verschelde
51dcc3c455 CI: Ensure Windows job fails on error
Default `pwsh` is apparently not properly configured to fail fast,
but `powershell` is, whatever is the difference.

Minor tweaks to CI setup.
2025-05-27 10:27:17 +02:00
Rémi Verschelde
4fdf03d471 Merge pull request #284 from Faless/fix/win_build
Fix Windows MSVC build
2025-05-27 09:36:25 +02:00
Fabio Alessandrelli
1442ac5f0b Fix Windows MSVC build
Update the CMake tool so it respects the use_static_cpp godot-cpp option
compiling with the proper CRT.

Fix inclusion of secur32 in git2 tool.
2025-05-27 01:24:04 +02:00
Rémi Verschelde
3ab9d035e7 Merge pull request #199 from Faless/build/openssl_and_cmake
Use OpenSSL on windows too, build libgit2, ssh2 with cmake.
2025-05-26 18:02:46 +02:00
Fabio Alessandrelli
0d0c30784d Use OpenSSL on windows too, build libgit2, ssh2 with cmake.
And update the libraries.
2025-05-26 17:17:29 +02:00
Rémi Verschelde
ef24a3673d Merge pull request #191 from Faless/build/openssl
[SCons] Build OpenSSL from source.
2025-05-26 17:02:24 +02:00
Fabio Alessandrelli
955ec02503 [SCons] Build OpenSSL from source by default
Remove prebuilt static libraries for macOS.

Can optionally still use external (static) libraries by supplying the
`openssl_external_*` parameters to scons.
2025-05-26 16:57:27 +02:00
Rémi Verschelde
b8d79c3fc9 Merge pull request #246 from dsnopek/godot-cpp-41-branch
Update godot-cpp to `godot-4.2-stable`
2025-05-26 16:14:24 +02:00
David Snopek
900e95db82 Update godot-cpp to the latest on the 4.2 branch 2025-05-26 09:02:51 -05:00
Rémi Verschelde
9544fb84ec Merge pull request #272 from dsnopek/update-ci-versions
Update various out-dated versions in CI
2025-05-25 15:41:03 +02:00
David Snopek
edcfc47af0 Update various out-dated versions in CI
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-05-25 15:29:15 +02:00
Joel Croteau
e86106b8c2 Stop progress_cb from generating spurious warnings (#243)
`progress_cb` is used to give progress updates on pushes and pulls. There is
no reason for it to pollute the logs by logging its updates as warnings.
Changed these to plain print statements.
2024-07-07 05:15:37 +02:00
Hugo Locurcio
f6002fab42 Bump to version 3.1.1 (#231) v3.1.1 2024-04-08 18:29:04 +02:00
markeel
d6582fa939 Use UTF-8 conversion when dealing with Git repository data (#229)
This fixes issues with non-ASCII characters not displaying correctly
throughout the editor.
2024-04-08 17:46:50 +02:00
Hugo Locurcio
259ae989f4 Merge pull request #195 from Faless/ci/cache
[CI] Add scons cache.
2024-02-02 17:11:02 +01:00
Twarit Waikar
2f160a2b79 Merge pull request #189 from fries1234/fix-comparison-bug
fix a comparision bug with renamed git statuses
v3.1.0
2023-10-03 20:09:42 +05:30
Hugo Locurcio
55b09bf0f7 Merge pull request #198 from jokoho48/gd4_1 2023-09-22 21:47:26 +02:00
Jonas Hoffmann
ae2f2d3826 Add Godot 4.1 Support
- Update godot-cpp
- Fix Entry Point that changed within Godot 4.1
- Add compatibility_minimum to gdextension required for 4.1 support
- Bump version in plugin.cfg
- Upgrade demo project to 4.1
2023-07-12 22:12:15 +02:00
Fabio Alessandrelli
3ab28b1d33 [CI] Add scons cache. 2023-06-24 18:39:14 +02:00
Twarit Waikar
3fc541feb8 Merge pull request #173 from markeel/master
Address issue #172, to use public key path if present in preference to using password.
2023-05-25 12:58:09 +05:30
markeel
04602dc5dc Merge pull request #1 from markeel/workflow-error
Update build.yml
2023-05-24 14:14:41 -07:00
markeel
bb5da70aa4 Update build.yml
Fix ubuntu version to match godot-cpp
2023-05-24 13:30:47 -07:00
Fries
4cb6ec0edd fix a comparision bug with renamed git statuses
there is a bug where if you have a entry->status with GIT_STATUS_INDEX_RENAMED but with another flag like GIT_STATUS_INDEX_MODIFIED, godot-git-plugin will crash as it cant find the proper map for 2 flags. so i changed it to do a logical and so it can execute the proper renamed logic.
2023-05-18 23:28:08 -07:00
mendrak
34850841fc Updated to remove extra line and pass clang format check 2023-03-26 20:44:58 -07:00
mendrak
74342b298e Address issue #172, to use public key path if present in preference
to using password.
2023-03-25 09:36:43 -07:00
Rémi Verschelde
3c50df7af0 Merge pull request #165 from godotengine/update-4.0-stable
Update extension API to Godot 4.0-stable
v3.0.0
2023-03-01 15:58:22 +01:00
Rémi Verschelde
65a643c8d8 Update extension API to Godot 4.0-stable 2023-03-01 15:36:13 +01:00
Twarit Waikar
6a4b23a2c0 Merge pull request #149 from ianling/ian/update-libssh2 2023-02-26 17:01:17 +05:30
Rémi Verschelde
63d72ffc21 Merge pull request #161 from godotengine/update-4.0-rc4
Update extension API to Godot 4.0-rc4
v3.0.0-beta2
2023-02-23 23:04:30 +01:00
Rémi Verschelde
6a6f7d1810 Update extension API to Godot 4.0-rc4
Remove `ci/` directory, everything is included in godot-cpp.
2023-02-23 18:57:58 +01:00
Ian Ling
f22b2e6bf5 Update libssh2 to HEAD of master 2023-01-04 17:04:45 -08:00