terminal/src/cascadia/TerminalControl
Sergey f63159db59
Adds exception handling of uri creation in profile background image update (#11542)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? -->
## Summary of the Pull Request
Moves baskgroung image update releated code into separate function and adds uri path construction exeption handling.
<!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> 
## References

<!-- Please review the items on the PR checklist before submitting-->
## PR Checklist
* [x] Closes #11361
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

<!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here -->
## Detailed Description of the Pull Request / Additional comments

<!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well -->
## Validation Steps Performed
Tried to put garbage as a path. Terminal didn't crashed.
2021-10-25 11:17:18 +00:00
..
dll Implement PGO in pipelines for AMD64 architecture; supply training test scenarios (#10071) 2021-05-13 21:12:30 +00:00
Resources/en-US Introduce read-only panes (#8867) 2021-02-08 18:03:55 +00:00
ControlCore.cpp Remove last remaining winrt::hstring allocation during text output (#11487) 2021-10-18 09:55:38 -07:00
ControlCore.h Remove last remaining winrt::hstring allocation during text output (#11487) 2021-10-18 09:55:38 -07:00
ControlCore.idl Implement and action for manually clearing the Terminal (and conpty) buffer (#10906) 2021-09-02 14:59:42 +00:00
ControlInteractivity.cpp Fix mouse coordinates when viewport is scrolled for all events, not just pressed (#11290) 2021-09-22 19:41:01 +00:00
ControlInteractivity.h Fix mouse coordinates when viewport is scrolled for all events, not just pressed (#11290) 2021-09-22 19:41:01 +00:00
ControlInteractivity.idl Fix a pair of TermControl dragging bugs (#10650) 2021-07-28 22:27:09 +00:00
EventArgs.cpp Split TermControl into a Core, Interactivity, and Control layer (#9820) 2021-04-27 15:50:45 +00:00
EventArgs.h Split TermControl into a Core, Interactivity, and Control layer (#9820) 2021-04-27 15:50:45 +00:00
EventArgs.idl Split TermControl into a Core, Interactivity, and Control layer (#9820) 2021-04-27 15:50:45 +00:00
IControlAppearance.idl Enable Vintage Opacity (#11180) 2021-09-20 17:08:13 +00:00
IControlSettings.idl Enable Vintage Opacity (#11180) 2021-09-20 17:08:13 +00:00
ICoreState.idl Only access ControlInteractivity through the projection (#10051) 2021-07-19 11:59:30 -05:00
IDirectKeyListener.idl Move events out of TermControl.h ; Use TYPED_EVENT in more places (#9526) 2021-03-18 22:02:39 +00:00
IKeyBindings.idl Adding/fixing Alt+Space handling (#10799) 2021-08-10 19:53:07 +00:00
IMouseWheelListener.idl Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00
init.cpp Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00
InteractivityAutomationPeer.cpp Properly initialize XamlUiaTextRange with ProviderFromPeer (#11501) 2021-10-13 23:01:43 +00:00
InteractivityAutomationPeer.h Properly initialize XamlUiaTextRange with ProviderFromPeer (#11501) 2021-10-13 23:01:43 +00:00
InteractivityAutomationPeer.idl Properly initialize XamlUiaTextRange with ProviderFromPeer (#11501) 2021-10-13 23:01:43 +00:00
KeyChord.cpp Make ActionMap compatible with ScanCode-only KeyChords (#10945) 2021-08-20 00:21:33 +00:00
KeyChord.h Make ActionMap compatible with ScanCode-only KeyChords (#10945) 2021-08-20 00:21:33 +00:00
KeyChord.idl Make ActionMap compatible with ScanCode-only KeyChords (#10945) 2021-08-20 00:21:33 +00:00
packages.config Upgrade to C++/WinRT 2.0.210825.3 (#11188) 2021-09-10 21:33:13 +00:00
pch.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.h Only access ControlInteractivity through the projection (#10051) 2021-07-19 11:59:30 -05:00
SearchBoxControl.cpp Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00
SearchBoxControl.h Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00
SearchBoxControl.idl Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00
SearchBoxControl.xaml Search box visual tweaks (#11105) 2021-09-09 18:00:46 +00:00
TermControl.cpp Adds exception handling of uri creation in profile background image update (#11542) 2021-10-25 11:17:18 +00:00
TermControl.h Adds exception handling of uri creation in profile background image update (#11542) 2021-10-25 11:17:18 +00:00
TermControl.idl Implement and action for manually clearing the Terminal (and conpty) buffer (#10906) 2021-09-02 14:59:42 +00:00
TermControl.xaml Enable Vintage Opacity (#11180) 2021-09-20 17:08:13 +00:00
TermControlAutomationPeer.cpp Properly initialize XamlUiaTextRange with ProviderFromPeer (#11501) 2021-10-13 23:01:43 +00:00
TermControlAutomationPeer.h Properly initialize XamlUiaTextRange with ProviderFromPeer (#11501) 2021-10-13 23:01:43 +00:00
TermControlAutomationPeer.idl Only access ControlInteractivity through the projection (#10051) 2021-07-19 11:59:30 -05:00
TerminalControlLib.vcxproj Only access ControlInteractivity through the projection (#10051) 2021-07-19 11:59:30 -05:00
TSFInputControl.cpp (1.9 port) Fix a number of shutdown crashes in TermControl (#10117) 2021-05-18 17:36:40 -05:00
TSFInputControl.h Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00
TSFInputControl.idl Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00
TSFInputControl.xaml Auto-format our XAML files and enforce in CI (#9589) 2021-03-29 17:09:38 -05:00
XamlLights.cpp Add a setting to flash the pane when BEL is emitted (#9270) 2021-05-24 22:51:03 +00:00
XamlLights.h Add a setting to flash the pane when BEL is emitted (#9270) 2021-05-24 22:51:03 +00:00
XamlLights.idl Add a setting to flash the pane when BEL is emitted (#9270) 2021-05-24 22:51:03 +00:00
XamlUiaTextRange.cpp Properly initialize XamlUiaTextRange with ProviderFromPeer (#11501) 2021-10-13 23:01:43 +00:00
XamlUiaTextRange.h Rename Microsoft.Terminal.TerminalControl to .Control; Split into dll & lib (#9472) 2021-03-17 20:47:24 +00:00