[qt/qt/qtlanguageserver]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qtlanguageserver Pushed by mirror-service into branch 'dev'. Changed from 8ef06009e4f33ac45ef6f1a6e4f16656a213c2f3 to ae0479a71035c17ed814fc65839f0e42dd3478e9 Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit 369dc9baf6e7994ca8844ebdcb3b4dc911dac288 by Sami Shalayel on 31/07/2026 at 14:55.. QTypedJson: cleanup variant parsing Clean up handleVariant() by replacing the magic numbers with a bool `matched`, roll back m_p after each unsuccessful parse attempt, and reset the parseStatus temporarily to Normal to detect parse failures in the variant. Task-number: QTBUG-148485 Change-Id: I6645e4dd4b8d47737b390e864a9b81db2e500a1d Reviewed-by: Olivier De Cannière <[email protected]> https://invent.kde.org/qt/qt/qtlanguageserver/-/commit/369dc9baf6e7994ca8844ebdcb3b4dc911dac288 Git commit ae0479a71035c17ed814fc65839f0e42dd3478e9 by Sami Shalayel on 31/07/2026 at 14:55.. QTypedJson: simplify variant parsing complexity Make handleVariant() show all tried out variants when it can't parse JSON into a std::variant, instead of re-appending all previously seen errors (including unrelated errors) to the error message. This decreases the amount of generated warnings from quadratic to a linear amount. Test written via Copilot. Fixes: QTBUG-148485 Change-Id: I20fcb9283d23e2a72d1fa3d5c13c3ffa70b1b1fa Reviewed-by: Olivier De Cannière <[email protected]> https://invent.kde.org/qt/qt/qtlanguageserver/-/commit/ae0479a71035c17ed814fc65839f0e42dd3478e9