31 Commits

Author SHA1 Message Date
Vadim Godunko
645a4fd08c Update view tests. 2025-10-16 14:38:53 +00:00
Vadim Godunko
5c8b8d884d Pass Name and Path_Name of the Project_View to Python 2025-10-16 14:38:53 +00:00
Vadim Godunko
ad51057809 Update project tree tests. 2025-10-16 14:38:53 +00:00
Vadim Godunko
29dc2e7dc3 Pass load status to Python 2025-10-16 14:38:53 +00:00
Vadim Godunko
566aef10b5 Support of target option. 2025-10-16 14:38:53 +00:00
Vadim Godunko
5ed4297164 Update test and comment out unsupported part of the test 2025-10-16 14:38:53 +00:00
Vadim Godunko
dcec5906ac Rename identifier member 2025-10-16 14:38:53 +00:00
Vadim Godunko
41ab546b32 Update test and XFAIL test of unsupported feature 2025-10-16 14:38:53 +00:00
Vadim Godunko
c4d0484182 Add methods to support context manager protocol by ProjectTree 2025-10-16 14:38:53 +00:00
Vadim Godunko
d13b8be1d2 Update C/Python API 2025-07-28 05:46:19 +00:00
Jerome Lambourg
ba54406d43 Bump copyright notice to 2024
Also remove copyright from tests

no-issue-check
2024-01-10 11:11:21 +01:00
Jerome Lambourg
b7a1d9ad4b Bump copyright year.
Fix eng/gpr/gpr#14
2023-01-02 11:51:43 +01:00
Fabien Chouteau
2884d40a4f Add copyright headers on python binding sources
TN: V822-021
Change-Id: Ic4c652769d2c1c881041b6f95546246084a79016
2022-08-23 19:22:12 +00:00
Jerome Lambourg
2519976e9d Add View_Builder API to create projects programmatically
This allows generation of simple root projects with some attributes
customized from the default project.

This change removes the old handling of implicit projects and use the
new API to generate the default project.

GPR2.Path_Name.Implicit_Project is thus removed and the special hacks there
are not needed anymore.

TN: V602-035
Change-Id: I8b92fdfe995b7c3e182ef42cb8df44df6b9f4950
2022-06-03 16:08:45 +02:00
Jerome Lambourg
55ab40f6e2 Adjust bindings tests.
TN: T713-036
Change-Id: I0e04c86f495eb188499ac130c42c9683001f82bd
2022-06-03 14:31:11 +02:00
Nicolas Roche
ce94db53ab Update black version
no-tn-check

Change-Id: I3d90fd44613532c235892e13110a5df60c471a9c
2022-06-01 09:43:17 +00:00
Nicolas Roche
ef84bacc53 Ensure libgpr2 shared library is included in the Python package
Part of T713-036

Change-Id: Ifc56879365451f0d377a82ae10147e3330c572d8
2022-03-28 11:41:52 +02:00
Nicolas Roche
4d880f50fc Python bindings: ensure we are looking for a dll on Windows
Part of T713-036

Change-Id: I7ab6e13b83ada458cec9cbe0368eca9d3e728c3c
2022-03-28 11:40:24 +02:00
Nicolas Roche
ce750e1b42 Add GPR2 Python and C binding
T713-036

Change-Id: I3407ea72e65c7e400fce60cbda5118c658324d48
2022-03-02 10:42:48 +00:00
Nicolas Roche
c6d8f075c9 Update python binding View class.
Reflect changes in the C binding.

Part of T526-029

Change-Id: I90476ff6077f6ee840958c48ea7050cdbb764209
2020-08-21 07:54:30 -07:00
Nicolas Roche
b09e43d74f Add support for project_dir parameter in ProjectTree.__init__
Part of T526-029

Change-Id: I8bc1ea23b49069252a9ae43cf55e98bd1095cf4a
2020-08-21 07:26:19 -07:00
Nicolas Roche
d92d775ead Update Python binding
Part of T526-029

Change-Id: I96f53f032b6fcb46f14136709ad82744cddf6790
2020-08-21 07:15:15 -07:00
Nicolas Roche
c11ae71224 Review handling of messages in C binding
Part of T526-029

Change-Id: I2d2d96cc2519871f74253534b788efeb54e9bd64
2020-08-06 16:27:03 +02:00
Nicolas Roche
214ac7799c Fix various issues with gpr2.tree module
Part of T526-029

Change-Id: I0e741b1329e69c513dc615b3f8fb0fc49d419d89
2020-08-06 02:49:34 -07:00
Philippe Gil
2c1b7d3ad9 bind tree's language properties
* GPR2.Project.Tree.Runtime
* GPR2.Project.Tree.Object_Suffix
* GPR2.Project.Tree.Dependency_Suffix

Part of T526-029

Change-Id: I02ada56e847727f9ed11235068285ec2cd467da8
2020-08-06 10:41:05 +02:00