KDevelop Python Support merge requestshttps://invent.kde.org/kdevelop/kdev-python/-/merge_requests2024-03-18T20:35:27Zhttps://invent.kde.org/kdevelop/kdev-python/-/merge_requests/24Draft: Port to KF62024-03-18T20:35:27ZMorten VoldenDraft: Port to KF6This work is based on Aleix's kf6 KDevelop branch
I don't know if anyone more qualified than me has been working on the same. But I thought I'd put it out here in case someone finds it useful.
So far what has been done is.
* Port cmak...This work is based on Aleix's kf6 KDevelop branch
I don't know if anyone more qualified than me has been working on the same. But I thought I'd put it out here in case someone finds it useful.
So far what has been done is.
* Port cmake code to BUILD_WITH_QT6
- Use KF_MAJOR_VERSION, QT_MIN_VERSION, KF_MIN_VERSION variables
* Port foreach to range-based for
* QLatin1Char and QStringLiteral changes in a lot of places
* Port QRegExp -> QRegularExpression
* use Q_SLOTS instead of slots
Almost all UT's are currently passing (except a few that I'll take a look at in the near future)Morten VoldenMorten Voldenhttps://invent.kde.org/kdevelop/kdev-python/-/merge_requests/22Release/23.08 - build on musl libc + adding manually generated PySide6 files2024-01-16T15:04:47ZBjörn StrömbergRelease/23.08 - build on musl libc + adding manually generated PySide6 files- quick fix to make it build on Alpine Linux (musl libc) due to missing sys/types.h header in asttransformer.cpp https://mail.kde.org/pipermail/kdevelop-devel/2024-January/063783.html with Sven Brauch
- adding of PySide6 generated suppo...- quick fix to make it build on Alpine Linux (musl libc) due to missing sys/types.h header in asttransformer.cpp https://mail.kde.org/pipermail/kdevelop-devel/2024-January/063783.html with Sven Brauch
- adding of PySide6 generated support files (manually generated every one on Alpine Linux with PySide6 v6.6.0) and moved local files into correct folder of sourcetree
- quick fix to get the musl patch and pyside6 support into 23.08 so it will get pushed out with next patch release if there will be any more..
- limited manual testing and PySide6 support seems to work from how i understand that the functions should work.https://invent.kde.org/kdevelop/kdev-python/-/merge_requests/12Show preview for autopep8 formatting style2022-06-25T07:06:17ZIgor KushnirShow preview for autopep8 formatting styleThe default value of `SourceFormatterStyle::m_usePreview` is `false`.
So, despite the overriding Python sample, the preview was not displayed.The default value of `SourceFormatterStyle::m_usePreview` is `false`.
So, despite the overriding Python sample, the preview was not displayed.https://invent.kde.org/kdevelop/kdev-python/-/merge_requests/11Lock the DUChain when retrieving the declaration for a StructureType2022-03-21T10:18:16ZJonathan VernerLock the DUChain when retrieving the declaration for a StructureTypeThe call to `KDevelop::IdentifiedType::declaration` requires the DUChain
to be at least read locked, since it calls `KDevelop::DUChain::chainForIndex`,
which is documented to require a read lock on the DUChain
The commit also removes a ...The call to `KDevelop::IdentifiedType::declaration` requires the DUChain
to be at least read locked, since it calls `KDevelop::DUChain::chainForIndex`,
which is documented to require a read lock on the DUChain
The commit also removes a (slightly) related misdocumentation of
`Helper::resolveAliasDeclaration`, which claimed to need a read
lock while doing the locking itself.
BUG: 444055