[qt/qt-labs/vs-debugtools]: 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-labs/vs-debugtools Pushed by mirror-service into branch 'dev'. Changed from 32a956fd71fa26b9ec204987debba451158900b9 to 12bd02c316f4959def6bf21d204f24430cfe2221 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 12bd02c316f4959def6bf21d204f24430cfe2221 by Lucie Gerard (on behalf of Lucie Gérard) on 18/08/2026 at 08:17.. natvis: define QDateTime base intrinsics once per build flavor The parallel *_s intrinsic chain added for static builds doubled the QDateTime calendar chain. vsdbg has a global capacity for nested intrinsic expansion; the second copy pushed it over and unrelated intrinsic-heavy rules (QUrl, QHostAddress) silently fell back to raw display on VS Code (cppvsdbg). Visual Studio's own evaluator was unaffected. Replace the chain doubling: drop the priv() indirection and give status(), msecs() and offset() two Optional definitions each under the same name - a DLL-qualified member access (validates only in dynamic builds, where QDateTimePrivate lives in the Qt PDB) and an unqualified one (validates only in static builds, where the exe PDB has the complete type; in dynamic builds the exe carries only a forward declaration). Exactly one definition of each pair validates per build, the same never-both-valid arrangement as QObject's d_object pair. Both definitions must be member accesses: a bare pointer cast would validate in every build and Visual Studio drops a rule whose same-name definitions are simultaneously valid. The calendar chain now exists once, on top of the dual base. The static mirror views (RecZoneS/RecZoneAbsS), the *_s item set and its doy_s() probe are no longer needed and are removed. Verified: Visual Studio static and dynamic (cl) show full date+time, expand components and timezone; QUrl and QHostAddress recover on the vscodeext natvis test suite (clang-cl, dynamic Qt 6.9.3, with and without Qt PDBs); macOS (LLDB) with Qt 6.10 is unaffected. Change-Id: I932a0fbbd3cc32399b7508212d2342a2e2dbb04a Reviewed-by: Nicolas Arnaud-Cormos <[email protected]> https://invent.kde.org/qt/qt-labs/vs-debugtools/-/commit/12bd02c316f4959def6bf21d204f24430cfe2221