Each FileLocation was leaking a File: they were keeping a pointer
to File without using any proxy to release them.
Break the dependency and only create the File from the FileLocation
when needed.
Add a test.
Change-Id: I1df713a7c0e6cc54f7c4912b803247b3189dcd92
- Fix "is not" warnings
- ReadPlist has been removed
- Fix crash related to wrong __repr__ definition
- Add defensive GIL lock in the hooks
- Following the parso/jedi bumped, update the python completion
to use the new API.
(no-precommit-check)
Change-Id: I2e027361b17d0f0101763901ba3064b204a56799
Monitor the new environment variable GNATSTUDIO_PYTHON_COV.
This variable must be set to the name of the directory being
tested.
Add --pycov switch in the testsuite CLI.
Create a pycov_data repository containing:
- preferences in the form of .coveragerc
- pycov_startup.xml: when put in $GNATSTUDIO_HOME\startup.xml
enabled all the plugins.
- all the generated file in the form of .coverage.${test_name}
When all the file are generated, run:
$ coverage combine # ignore this if there is only one .coverage*
$ coverage report
$ coverage html # optional
Change-Id: I4b45243924d939ede5b885ff86541a6d70571b0c
Some customers place their plugins in this directory, so we add
gps_utils -> gs_utils alias immediately after gs_utils has been
loaded.
Change-Id: Icd4a88baf55c41d197e330e1627c2586a86fb5dc
In the python naming space, create a gps_utils module
which is the copy of gs_utils. This will prevent
breaking client plugins.
Update 2 tests. These tests were pushed during the renaming
Add a test.
Change-Id: Ie9a3aaf78ae8fe16440fb770ddec54a26d4c715d
And add a mechanism to copy the old .gps directory to .gnatstudio
the first time. Rename keys6.xml to keys.xml when importing the old
.gpr directory.
Change-Id: I1e1ea2c123ae772a547561737e2309d4c081f239
The cleanup function was incomplete leading to constraint error
when running multiple gnathub sessions.
Change-Id: I76f23d6c6ef1c030eeac77fd8a1bec1276807f19