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
Nicolas Roche
2111c0678a
Remove binding to gpr2_prj_tree_target
...
Part of T526-029
Change-Id: I549d49081ea204cf8ea541989af91dd307ffd39c
2020-08-05 08:10:47 +02:00
Philippe Gil
ffcdaa732d
Add GPR2_Project_Tree_Context C export
...
The function implements
* GPR2.Project.Tree.Context
Part of T526-029
Change-Id: Ic5c3e87c32a5a735740a1caad79a62bb66d6b750
2020-08-04 11:31:08 +02:00
Philippe Gil
b9742fead8
Add GPR2_Project_Tree properties C export
...
The function implements
* GPR2.Project.Tree.Target
* GPR2.Project.Tree.Archive_Suffix
* GPR2.Project.Tree.Subdirs
* GPR2.Project.Tree.Src_Subdirs
* GPR2.Project.Tree.Build_Path
Part of T526-029
Change-Id: I20b4ac58c411bb0cad7c0447ae69500cb31fab3a
2020-08-04 11:30:59 +02:00
Philippe Gil
ce578456f7
fix python errors introduced by log message support
...
part of T526-029
Change-Id: I663fcef38dc5a5e7460c4b3f5901b0bdc228403e
2020-08-04 09:56:48 +02:00
Philippe Gil
0f3c4fc54e
Add GPR2_Project_Tree_Log_Messages C export
...
The function implements
* GPR2.Project.Tree.Log_Messages
* GPR2.Log.Iterate
* GPR2.Message.Object accessors
Part of T526-029
Change-Id: Ia2ad58d933c2cf2ae74f451e4aa2e9c4c21a6f2f
2020-07-23 16:42:43 +02:00
Nicolas Roche
7542ec55a0
Add framework for the GPR2 Python 3.x binding
...
Part of T713-036
Change-Id: I143ef019d1b2a5f059d4fda64dd47900bb770530
2020-07-17 06:12:20 -07:00