18 Commits

Author SHA1 Message Date
Seth Hillbrand
e1436d3597 Fix inheritance for git_common
Avoids repo type pointer issues when casting from void

(cherry picked from commit 676dd4ceec4dc3d3e0c921c93147561f03915683)
2025-03-16 18:04:47 -07:00
Seth Hillbrand
c6abc5fdd0 Add ability for git to negotiate with agents
Updates the git connection dialog to reflect default agentic behavior,
followed by default keys and only then reverting to a custom selection
if the user desires

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20204

(cherry picked from commit 2c52f98da46cf5898cdd2b6700ff6d89d606d9e2)
2025-03-16 18:03:16 -07:00
Seth Hillbrand
6104651613 Adjust git handling
- Utilize scoped deletion for individual git_*_free() calls
- Protect against multiple usage when updating icons
- Reduce frequency of git update calls

(cherry picked from commit 26c331a83704bcc1f221e67fe6757a07dc9e920b)
2025-03-16 18:03:16 -07:00
Wayne Stambaugh
cb7ea2f117 Fix git clone project dialog layout issues.
Use enable/disable instead of show/hide to prevent large areas of blank
space in the dialog.

Set the minimum dialog size after the initial launch to prevent controls
from being cut off when resizing dialog to less than the initial size.

Fix static and dialog title bar string capitalization.

Add colons (:) to the end of description static text controls as is done
elsewhere in KiCad.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20045

(cherry picked from commit f538908f62fbf6467193898345d34739b62ef992)
2025-02-27 09:20:13 -05:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Seth Hillbrand
5156229da7 Fixup previous edit 2024-05-06 10:36:07 -07:00
Seth Hillbrand
8a306eecb6 Cleanup libgit init calls 2024-05-06 10:18:38 -07:00
Alex Shvartzkop
b3df08c7b1 Initialize git_remote_callbacks structure.
(cherry picked from commit 35192f5bd476a770238b62971741337a98f61ff7)
2024-02-26 21:36:08 +00:00
Alex Shvartzkop
755bfe3492 Initialize git_repository_init_options structure.
(cherry picked from commit d84a5e6f038dfdfc73c9ff7bbfa420e6f318ee86)
2024-02-26 21:25:30 +00:00
Jeff Young
4a561b04bc Code cleanup and compiler warnings.
(cherry picked from commit 51848a0b43736d6e6abb31148344f0d8d3fb99a4)
2024-02-23 16:53:35 +01:00
Jan Wichmann
b65fa46c3c Move git clone to standard create project
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16523
2024-01-19 23:52:37 +00:00
Ian McInerney
44ee299941 Fix layout issues in git clone dialog 2024-01-05 12:22:37 +00:00
Alex Shvartzkop
b0cc9d50b2 Fix a bug with fields focus in Clone Project from Git Repository.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16217
2023-11-29 22:20:47 +03:00
Seth Hillbrand
1c847889e7 Use deprecated GIT defines
Older Ubuntus/Debians use libgit2 that does not support the new defines.
Newer libgit2 provides a name define translation
2023-10-27 14:59:15 -07:00
jean-pierre charras
f87065bf0b Fix compil issues on msys2 , gcc13 2023-10-21 08:40:08 +02:00
Alex Shvartzkop
8c7fe9b071 Use fn_str for ifstream in Git dialog. 2023-10-20 18:14:20 +03:00
Seth Hillbrand
81214e1f0f Remove unneeded headers 2023-10-20 15:17:10 +02:00
Seth Hillbrand
d99641be40 ADDED: Git integration support
Adds support for project-based git integration, branch support, commit,
revert and updates

Fixes https://gitlab.com/kicad/code/kicad/issues/10441
2023-10-20 12:51:47 +00:00