terminal/src/cascadia
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
..
CascadiaPackage Revert "Update to a newer MUX prerelease; remove workaround for compact sizing (#7447)" 2020-09-08 09:25:30 -07:00
inc Update ColorScheme with Json Serializer and color table API (#7609) 2020-09-17 11:27:46 -07:00
LocalTests_SettingsModel Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
LocalTests_TerminalApp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
PublicTerminalCore Update clang-format to 10.0 (#7389) 2020-08-25 17:15:43 +00:00
ShellExtension Make the Shell Extension methods STDMETHODIMP (#6238) 2020-05-28 14:09:52 -07:00
TerminalApp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
TerminalAzBridge Fix parallel builds by specifying the application type for WAP (#7783) 2020-09-30 13:25:50 -07:00
TerminalConnection Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
TerminalControl Add support for the BEL control in Windows Terminal (#7679) 2020-09-30 18:00:06 -07:00
TerminalCore Add support for the BEL control in Windows Terminal (#7679) 2020-09-30 18:00:06 -07:00
TerminalSettingsModel Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
UnitTests_TerminalCore Fix failing HyperlinkIdConsistency unit test (#7655) 2020-09-17 16:52:42 +00:00
ut_app Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
WindowsTerminal Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
WindowsTerminalUniversal Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
WinRTUtils Add support for the Command Palette (#6635) 2020-06-26 20:38:02 +00:00
WpfTerminalControl Expose selection background and alpha through the WPF control (#7339) 2020-08-18 16:11:41 -07:00
WpfTerminalTestNetCore/WpfTerminalTestNetCore Fix 3 different bugs in the WPF control (#6464) 2020-06-11 18:05:43 +00:00
wt Build and ship an actual binary named wt that just launches WT (#6860) 2020-07-10 22:41:37 +00:00
CascadiaResources.build.items Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00