aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonrunconfiguration.h
Commit message (Collapse)AuthorAgeFilesLines
* Python: Use setup functions for run related itemshjk2024-02-011-12/+3
| | | | | Change-Id: Iefbeda433b0f7eaaf3c429dbc853e0c8578ceb3a Reviewed-by: David Schulz <[email protected]>
* ProjectExplorer: Remove OutputFormatterFactory hierarchyhjk2024-02-011-5/+1
| | | | | | | | | | | It never gained traction, was only used in thee places, and the class(-hierarchy) is not really needed and only complicates the code when the formatter creation is handled in free functions. Also adapt the users. Change-Id: Ieef7199f5a36f244b2f38cffef71a5fe0606065c Reviewed-by: Christian Kandeler <[email protected]>
* Python: Remove now unused interpreter aspectDavid Schulz2024-02-011-11/+0
| | | | | Change-Id: I107ca665cf2fa2b707dba46917ce45f240d15654 Reviewed-by: hjk <[email protected]>
* Python: use kits page in python wizardsDavid Schulz2023-11-281-3/+0
| | | | | Change-Id: I1f7aaf145443481546abb868c8c167186600b848 Reviewed-by: Christian Stenger <[email protected]>
* Python: Fix debugger startArtem Sokolovskii2023-08-291-2/+0
| | | | | Change-Id: I9a26c591d174f5f079c4a673a6bf1aedd5cd709c Reviewed-by: David Schulz <[email protected]>
* Python: Use aspects more directly in PythonRunConfigurationhjk2023-07-111-1/+1
| | | | | Change-Id: Id85348473236bc01ddcc65ec5302c0537c98c526 Reviewed-by: Christian Stenger <[email protected]>
* Python: Centralize interpreter specific function in the aspecthjk2023-07-071-3/+9
| | | | | | | | | | ... and expose that instead of the PythonRunConfiguration. This makes the PythonRunConfiguration more the container of aspects, similar to where the other runconfigs move. Change-Id: Ibc76b706f2d4d334640ea8f3b91343f9e7c0f566 Reviewed-by: David Schulz <[email protected]>
* Python: Use a separate PythonInterpreterAspecthjk2023-07-041-4/+0
| | | | | | | ... and move interpreter related code there. Change-Id: I108a4bdfa7c3f2078da164ce13e897a18ebdadde Reviewed-by: David Schulz <[email protected]>
* Python: Hide some internals from PythonRunConfiguration APIhjk2023-06-271-1/+2
| | | | | | Change-Id: Ibed21265bf7099b06ea61751fb487b78e8071f34 Reviewed-by: <[email protected]> Reviewed-by: David Schulz <[email protected]>
* Remove unneeded includes of QFutureWatcher/InterfaceJarek Kobus2023-02-011-2/+0
| | | | | | | | Change-Id: I1069b1dbd9fe1754afef0009d4f18cedeeecec1e Reviewed-by: Marcus Tillmanns <[email protected]> Reviewed-by: hjk <[email protected]> Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: <[email protected]>
* Python: collect pip package info in another threadDavid Schulz2023-01-271-5/+4
| | | | | Change-Id: I70a9066fddf812ce9bde5467913bb2bad98e2d0e Reviewed-by: Christian Stenger <[email protected]>
* Remove GPL-3.0+ from license identifiersKai Köhne2023-01-061-1/+1
| | | | | | | | | | | | | | | Since we also license under GPL-3.0 WITH Qt-GPL-exception-1.0, this applies only to a hypothetical newer version of GPL, that doesn't exist yet. If such a version emerges, we can still decide to relicense... While at it, replace (deprecated) GPL-3.0 with more explicit GPL-3.0-only Change was done by running find . -type f -exec perl -pi -e "s/LicenseRef-Qt-Commercial OR GPL-3.0\+ OR GPL-3.0 WITH Qt-GPL-exception-1.0/LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0/g" {} \; Change-Id: I5097e6ce8d10233993ee30d7e25120e2659eb10b Reviewed-by: Eike Ziller <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-08-261-24/+2
| | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <[email protected]>
* Python: Convert to Tr::trhjk2022-07-211-4/+2
| | | | | | Change-Id: I0241053b0d51dbb1a60c43351cbff543fd52573d Reviewed-by: Eike Ziller <[email protected]> Reviewed-by: <[email protected]>
* Python: check for pyside tools after installationDavid Schulz2022-06-201-0/+1
| | | | | Change-Id: Icf9ae0ec08a78efc51216daa3304e76f8e812d5f Reviewed-by: Christian Stenger <[email protected]>
* Python: add pyside uic extra compilerDavid Schulz2022-06-021-0/+18
| | | | | | | | | | | To be able to autocomplete code from .ui forms we need to feed the python language server the compiled form. The uic extra compiler generates a temporary ui_name.py file for uncompiled or unsaved ui files. These files are inside a folder that gets appended to the python path environment variable for the python language server. Change-Id: I9f48d2012162f33986639315189c41e0a7e0dad2 Reviewed-by: Christian Stenger <[email protected]>
* Promote previously python-specific InterpreterAspecthjk2022-04-271-25/+0
| | | | | | | | ... and drop PythonRunConfiguration, which is a plain RunConfiguration now. Change-Id: I540cb738180fc1424f730d6d1998886915ce527b Reviewed-by: <[email protected]> Reviewed-by: David Schulz <[email protected]>
* Python: work with Interpreter in PythonRunConfigurationDavid Schulz2022-03-281-2/+6
| | | | | | | | This saves some unneeded file path conversion and lookups in the python settings. Change-Id: I8647858320183dc1da027363b4ab265f6c75e1ae Reviewed-by: Christian Stenger <[email protected]>
* Python: add PySide installation check on document openDavid Schulz2022-03-281-1/+1
| | | | | | | | | | Checks if the document imports PySide and whether the selected python interpreter can find a PySide installation. If not show a global info bar that can install PySide via pip like the python lsp server. Task-number: PYSIDE-1742 Change-Id: I02c0d5f6eb268f3d8826d4fb9d9ec3c7c48b8638 Reviewed-by: Christian Stenger <[email protected]>
* Core/Utils: Migrate further to Utils::Idhjk2020-07-061-1/+1
| | | | | | | The coreplugin/id.h header is kept for downstream for now. Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66 Reviewed-by: Christian Kandeler <[email protected]>
* ProjectExplorer: Replace RunConfiguration::doAdditionalSetuphjk2019-12-171-1/+0
| | | | | | | | | ... by an explicit update() call. This is what effectively done in most cases, and should be harmless and reasonably cheap in most other cases. Change-Id: I323112ec7cdbccf19050ac54466d8e1d97a0516e Reviewed-by: Christian Kandeler <[email protected]>
* Python: use new runconfiguration aspect update mechanismhjk2019-11-271-2/+0
| | | | | Change-Id: I60807350460e75172bf4744beeb1474755ff4187 Reviewed-by: Christian Kandeler <[email protected]>
* Python: Switch pyls on interpreter changeDavid Schulz2019-10-181-0/+1
| | | | | Change-Id: I458b635986a55003a1e7254e27e2df9667704273 Reviewed-by: Christian Stenger <[email protected]>
* Python: Check for Python language server after document was openedDavid Schulz2019-09-261-1/+1
| | | | | | | | | Show an info bar entry with a one click solution to setup a language server if the python which is most likely to be used for this file has an installed language server. Change-Id: Ia52bb043b543699527740951f68cc6be546833df Reviewed-by: Christian Stenger <[email protected]>
* Python: extract PythonRunConfiguration and PythonProjectDavid Schulz2019-09-171-0/+70
Change-Id: I4ff0f43fdb8beb9a7f2f7816197de0c796da8d89 Reviewed-by: Christian Stenger <[email protected]>