27 Commits

Author SHA1 Message Date
Anthony Leonardo Gracio
11672bc929 Update copyright year for GS sources
(no-issue-check)
2026-01-05 12:41:13 +00:00
Nicolas Setton
74f2e06ba1 Fix launch of GNAT Studio from Python virtualenvs.
Right now, when launched from a virtualenv, GNAT Studio
cannot function - it cannot find gi and other Python libs.

This is because Python attempts to finds packages relative to
the "python" executable by default. Instead, make it find
the location of Python libraries relative to "gnatstudio".

Fixes #163.
2023-11-30 09:53:21 +00:00
boulanger
b75b66fe4e Fix local run of testsuite on Windows
add_dll_directory will print the new directory in stdout which
will make the GS testsuite fails.
2023-02-09 12:12:16 +01:00
Anthony Leonardo Gracio
41c30ab309 Update copyright year (no-tn-check)
Change-Id: Ie2cf22f9729f30d2228572a7296c23889be4c563
2023-01-03 11:39:28 +01:00
Vadim Godunko
7e48a999ba V124-002 Rename GPS_ environment variables to GNATSTUDIO_.
Change-Id: I823ad31339e0a111cc76b81d8ff5765674c6983f
2022-01-24 13:48:59 +03:00
Vadim Godunko
cf1fe73a82 V124-002 Replace GNAT.OS_Lib by VSS.Environment.
Change-Id: I2e5ad0c81bda2109c8032a004dc3bb89c8959980
2022-01-24 13:37:11 +03:00
Vadim Godunko
4326d10823 V124-002 Allow to specify few paths to lookup DLLs.
Change-Id: I320c6a2866f2d02d8f12b610d302e297debcac81
2022-01-24 12:05:54 +03:00
Nicolas Setton
2b886cac44 UC20-014 Expect Python to be under share/gnatstudio/python
... and expect this to be a full Python installation, meaning
there is no longer the need for the hack on "Program_Name".

Depends-On: Ie1db8e10bc57c4fd0cccde5b5da30cac45209ade
Change-Id: Iaf89c8b7c51bad0c2d57199b144a13a346bb9cce
2022-01-17 15:56:18 +00:00
Adrien Boulanger
3ac9853c7e UC15-039: add_dll_directory is windows only
Change-Id: Id862ef6aff7c6c6aab8dc7d159b74e69f3b41a8e
2022-01-10 15:09:38 +00:00
boulanger
81c22c0885 UC15-039: load dll in GPS_GTKDLL if set
This is needed for the GS spawn via ancr because gtk dll needed by
python4gnatstudio are not located in the same directory.

Change-Id: I04725fd35562cc8ec64a2a25cf1d6e686c93de35
2022-01-10 15:09:38 +00:00
Anthony Leonardo Gracio
af4c8f2d41 Update copyright year
(no-tn-check)
(no-precommit-check)

Change-Id: Id71d3f84cd6ab219a37821da1460038f4eea525c
2022-01-03 15:09:31 +01:00
Nicolas Setton
28d7eb1336 UC14-048 Pass 'gnatstudio' as Python "Program_Name"
... unless we're in development mode and using "GPS_PYTHONHOME".

Add a block of explanatory comment.

Change-Id: I7ed3856f20bb795a3e812454af2913dadae5ca16
2021-12-20 13:00:28 +00:00
Nicolas Setton
1a42b2d60f U330-020 Enforce utf8 Python source encoding
Python source files should be encoded in utf-8 by default, but on Windows
our Python interpreter uses cp1252 instead. Adjust this by overriding the
function that returns the encoding.

Change-Id: Ie52f0e933d299ba858fc7a1c5137b15a9a543375
2021-03-30 07:00:35 -04:00
Vadim Godunko
c39299441a Remove commented out line.
(no-tn-check)

Change-Id: I554432a5687fb5cb3645d25712b9309e44baaca9
2021-02-22 13:28:54 +03:00
Anthony Leonardo Gracio
63c2e9d9c9 Update copyright year
(no-tn-check)
(no-precommit-check)

Change-Id: I50abdaba131d76d914f1df9a53f013ec8f48ca68
2021-01-11 17:22:37 +01:00
Andry Ogorodnik
fd3caf3477 S903-025 GS acronym has been added into Python API.
no-precommit-check

Change-Id: I785d68130051e8d12f4a6b627cb1ad5b48f903e5
2020-11-04 11:05:12 +01:00
Adrien Boulanger
4f4904c818 Update Copyright 2019 => 2020.
(no-tn-check)

Change-Id: I7b854142151c6fc934c80c14dbe085e8bc7f6bb7
2020-01-07 10:45:26 +01:00
Nicolas Setton
d39a93eff9 S904-002 replace GPS by GNAT Studio in file headers
Change-Id: Icee628af75e0f1bd471a627c987b8024d999eb4b
2019-09-09 12:39:04 +02:00
Anthony Leonardo Gracio
22cf269538 Update copyright year
(no-tn-check)

Change-Id: I27c5f49b41225d056dbc326411dd77b9516a766b
2019-01-03 16:37:00 +01:00
Vadim Godunko
5238335796 R117-025 Update copyright year in headers.
Change-Id: Id2d390da2faf2bc23a6abc32a909740a67bc10de
2018-01-17 19:49:29 +03:00
Emmanuel Briot
70e70fc34e Update copyright notices
Q102-020

Change-Id: I109a4f46a86edf29fbc097f739aa61ed95130ab2
2017-01-03 11:03:03 +01:00
Emmanuel Briot
d38ec04cc0 Update copyright year
Change-Id: I27dc643fbd3773b3a73d0399d83edae0af633c2e
2016-01-04 10:49:40 +01:00
Emmanuel Briot
fa7748c367 Update copyright notices to 2015
Change-Id: Ida4e6137317bd53ef0a556edffaafe4022c74e2a
2015-01-05 15:45:56 +01:00
Emmanuel Briot
ec8702349c Update copyright notices to 2014
N103-019

git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@221487 936e1b1b-40f2-da11-902a-00137254ae57
2014-01-06 10:29:22 +00:00
Maxim Reznik
b657ae2c6b Rename Core_Kernel to Core_Kernel_Record. For LB21_009
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@203160 936e1b1b-40f2-da11-902a-00137254ae57
2013-02-26 15:02:12 +00:00