terminal/src/cascadia/WindowsTerminalUniversal
Carlos Zamora 2608e94822
Introduce TerminalSettingsModel project (#7667)
Introduces a new TerminalSettingsModel (TSM) project. This project is
responsible for (de)serializing and exposing Windows Terminal's settings
as WinRT objects.

## References
#885: TSM epic
#1564: Settings UI is dependent on this for data binding and settings access
#6904: TSM Spec

In the process of ripping out TSM from TerminalApp, a few other changes
were made to make this possible:
1. AppLogic's `ApplicationDisplayName` and `ApplicationVersion` was
   moved to `CascadiaSettings`
   - These are defined as static functions. They also no longer check if
     `AppLogic::Current()` is nullptr.
2. `enum LaunchMode` was moved from TerminalApp to TSM
3. `AzureConnectionType` and `TelnetConnectionType` were moved from the
   profile generators to their respective TerminalConnections
4. CascadiaSettings' `SettingsPath` and `DefaultSettingsPath` are
   exposed as `hstring` instead of `std::filesystem::path`
5. `Command::ExpandCommands()` was exposed via the IDL
   - This required some of the warnings to be saved to an `IVector`
     instead of `std::vector`, among some other small changes.
6. The localization resources had to be split into two halves.
   - Resource file linked in init.cpp. Verified at runtime thanks to the
     StaticResourceLoader.
7. Added constructors to some `ActionArgs`
8. Utils.h/cpp were moved to `cascadia/inc`. `JsonKey()` was moved to
   `JsonUtils`. Both TermApp and TSM need access to Utils.h/cpp.

A large amount of work includes moving to the new namespace
(`TerminalApp` --> `Microsoft::Terminal::Settings::Model`).

Fixing the tests had its own complications. Testing required us to split
up TSM into a DLL and LIB, similar to TermApp. Discussion on creating a
non-local test variant can be found in #7743.

Closes #885
2020-10-06 09:56:59 -07:00
..
Resources Prepare for automated localization (#5119) 2020-03-25 21:06:59 +00:00
internal-background.png Add internal branding corner to Universal terminal... (#4017) 2019-12-18 16:51:06 -08:00
main.cpp Fix intellisense errors by moving TerminalApp projects around (#6897) 2020-08-20 22:44:37 +00:00
Package-Dev.appxmanifest Create Telnet connection type and default loopback profile for… (#3858) 2019-12-09 11:07:08 -08:00
Package.appxmanifest Introduce a Universal package for Windows Terminal (#3236) 2019-11-25 16:30:45 -08:00
packages.config deps: upgrade CppWinRT to 2.0.200316.3, gsl to v2.1.0 (#4536) 2020-03-23 17:15:24 +00:00
pch.cpp Introduce a Universal package for Windows Terminal (#3236) 2019-11-25 16:30:45 -08:00
pch.h Introduce chromium safe math (#4144) 2020-01-16 18:51:06 +00:00
PropertySheet.props Introduce a Universal package for Windows Terminal (#3236) 2019-11-25 16:30:45 -08:00
WindowsTerminalUniversal.vcxproj Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
WindowsTerminalUniversal.vcxproj.filters Move all wildcards into targets or expand them (#6406) 2020-06-08 14:01:47 -07:00