aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Core/Messages.cs
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright comments to 2025Ali Demiralp2025-03-181-4/+2
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Use a cancellation token to end various loops in long running tasksKarsten Heimrich2024-09-181-4/+3
| | | | | Change-Id: Ib74f9d939f862738c61526d4336f421ca7fc796c Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Make use of the new settings classKarsten Heimrich2024-03-271-1/+3
| | | | | | | | | | | This patch addresses an initialization issue that occurs when the user waits on the splash screen until Visual Studio is fully initialized. In this scenario, none of the options on the QtOptionsPage are set to their corresponding values from the registry, which may result in incorrect behavior in some cases. Change-Id: I9403289f429244ee4f2f6656f703cdb1f60e486a Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Add option for activating the console pane on new messagesAli Can Demiralp2024-03-211-1/+1
| | | | | | Fixes: QTVSADDINBUG-1184 Change-Id: I2d5958ea8c229b6f3571a77c2cbad06833766a41 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Change source license to LicenseRef-Qt-Commercial or GPL-3.0-onlyAli Can Demiralp2024-02-281-1/+1
| | | | | | | | ... WITH Qt-GPL-exception. Fixes: QTVSADDINBUG-1179 Change-Id: I74fe451eec352af13436548cfd9a28f832fc0757 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Update license year from 2023 to 2024Ali Can Demiralp2024-01-091-1/+1
| | | | | Change-Id: I38700243f7ef55239b247945324e4e0a978b097f Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Optimize access to output windowMiguel Costa2023-05-101-14/+26
| | | | | | | | | | | Optimizes output from Message.cs by joining all queued messages into a single print command to the output window pane. Also, fixed potential null-ref in Messages.cs, due to a race condition between the message flush loop and the package initialization. Change-Id: I16e1f070a6bd1bcd632a4d852b547a23a0e24d21 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Remove redundant codeKarsten Heimrich2023-04-201-10/+10
| | | | | Change-Id: I94cc72280815ed31809747b93032dd8768fd75ca Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Remove redundant type specificationKarsten Heimrich2023-04-201-3/+3
| | | | | Change-Id: I2fd01ab44923e301f4a9ae87445e8aaa9485cc83 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Rewrite if statement using '?:', '??' or '??=' exressionKarsten Heimrich2023-02-241-2/+1
| | | | | Change-Id: I7ba1c633156c14fa87bac4ef02ed72031f7dd9de Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Replace license headerMiguel Costa2023-02-231-27/+4
| | | | | Change-Id: I6e7667d0f6f1245b5b225e74120d289bf595423d Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Remove remaining resource strings and releated classesKarsten Heimrich2023-02-231-19/+16
| | | | | Change-Id: I1f045d126060182694e7afed6b069b48ae6ab88d Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Introduce logging extension method for exceptionsKarsten Heimrich2022-08-121-14/+17
| | | | | | | | * Remove DisplayCriticalErrorMessage() since the implementation is identical to DisplayErrorMessage() Change-Id: Id4f4d394477ceefb31e31772164072b2498225a8 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Apply uniform guidelines to 'using' directivesMiguel Costa2022-02-221-5/+6
| | | | | Change-Id: If92cf095e20c4bc8b9bc9fe04a40233a2c602973 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Refactor OutputWindowPane handlingKarsten Heimrich2022-02-171-86/+36
| | | | | | | | | | | Refactor access to the OutputWindowPane into a separate class and enable async get/write of the output window pane. Remove some of the previously introduced function calls to ThreadHelper.ThrowIfNotOnUIThread(); as they are not necessary in the VSIX loading code path. Change-Id: I2c7f5f84ec556526fe78612d981f28210c545f45 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Inline variable declarationKarsten Heimrich2022-02-101-2/+1
| | | | | Change-Id: I19a55a53173da4e6e5aeea5f40790b1dea6346ec Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Sort modifierKarsten Heimrich2022-02-091-6/+6
| | | | | Change-Id: I546409ef6d88571e7fe9299bef858e431085fea2 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Mark members readonlyKarsten Heimrich2022-02-091-1/+1
| | | | | Change-Id: I63f4a890400a37319eec064ec0fbd7bf6d6fb4e4 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Fix warning: Add ThreadHelper.ThrowIfNotOnUIThread();Karsten Heimrich2022-02-091-2/+27
| | | | | Change-Id: I8e7cc3a16eb5b303823ea5b1c85e04f5ce85947b Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Final run to format the code as specified int the .editorconfig fileKarsten Heimrich2021-12-021-1/+2
| | | | | | | Mostly space changes related to casting. No functional change noticed. Change-Id: I4b3b936bc93c1b396e26dcd2370eff6f505f58d9 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Fix PackageReference version mismatchMiguel Costa2021-11-161-1/+0
| | | | | | | | Fixed an issue where some NuGet packages had a version incompatible with that of other packages, leading to run-time errors. Change-Id: I65790d601fa7092248c61f84fe0b1a2a8447e287 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* refactoring: Reorganize project filesMiguel Costa2021-11-161-0/+241
- Moved project files from the 'src' folder into the root 'vstools'. - Renamed some projects: * QtVsTools -> QtVsTools.Package * qtwizard -> QtVsTools.Wizards * Project template projects -> QtTemplate.Project.* * Item template projects -> QtTemplate.Item.* - Moved QtVsTools.Package source files to a sub-folder named 'Package'. NOTE: this change breaks the build; it should only be applied together with subsequent refactoring changes. Change-Id: Ib7b70c350d8e9f068a023b0250d6b490b17d1687 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>