Граф коммитов

166 Коммитов

Автор SHA1 Сообщение Дата
Sergio Pedri ba85e32275 Remove file-scoped namespaces to fix CI issues
Also fix a non matching filename
2022-05-25 23:28:08 +02:00
Sergio Pedri ac3587556a Remove .rd.xml file (as it's no longer needed) 2022-05-25 23:28:08 +02:00
Sergio Pedri c298d6ebb1 Remove leftover attributes 2022-05-25 23:28:08 +02:00
Sergio Pedri 736fc281d5 Remove reflection use in XmlWriterHelper 2022-05-25 23:28:08 +02:00
Sergio Pedri e929ee953e Add interface for root child elements 2022-05-25 23:28:08 +02:00
Sergio Pedri f40a419a54 Add interface for [NotificationXmlContent] 2022-05-25 23:28:07 +02:00
Sergio Pedri 1302d392f8 Rename IElement_AdditionalProperties to IHaveAdditionalProperties
Fix
2022-05-25 23:28:07 +02:00
Sergio Pedri 63fa2e6552 Add interface for [NotificationXmlAttribute] 2022-05-25 23:28:07 +02:00
Sergio Pedri 35dacb4dcb Rename INotificationXmlElement to IHaveXmlName 2022-05-25 23:28:07 +02:00
Sergio Pedri ebeedf3308 Remove [NotificationXmlElement], switch to interface 2022-05-25 23:28:06 +02:00
Nirmal Guru 20c61f9393
Convert Design projects to Sdk-style
- Update Solution to Use CPS for the Design projects.
- Move 'MetadataRegistration.cs' file into Common folder.
- Remove 'AssemblyInfo.cs' file as it's generated by .NET SDK.
2021-09-01 06:43:35 +05:30
Nirmal Guru a2c2c92273
Rename Package Icon file only when packing
Every "official" .NET packages use 'Icon' as its file name.
Since, the icon file itself is public and older packages refer them by URL,
we only change the file name during packaging which would be in the package.
2021-07-20 21:45:22 +05:30
Nirmal Guru 3ad9062623
Refactor Core project files
Organize Package tags
Update Package descriptions
Remove redundant MSBuild logic
Consolidate common MSBuild logic
2021-07-20 21:45:09 +05:30
Alexandre Zollinger Chohfi 2a60354dab Org rename: windows-toolkit -> CommunityToolkit 2021-07-19 10:39:06 -07:00
Alexandre Zollinger Chohfi 9484bbcdbd Small fix for supporting VS2022. 2021-06-28 12:17:55 -07:00
Nirmal Guru a52ad35d80
Use Type aliasing instead of macros
The .NET Formatter breaks in these scenarios.
Improves maintainability of code in the long run.
2021-06-04 21:00:28 +05:30
Nirmal Guru 53a76353ce
Use correct casing for certain terminologies
Change Nuget -> NuGet
2021-06-04 21:00:23 +05:30
Nirmal Guru 7586eeb013
Reorder code-blocks for better readability
To make diff understandable through blame and across similar project files,
I have re-organized some lines in these project files. This also improves
readability. Previously, the focus is per-project file but now—to maintain
project logic across repos and several similar logic across project files,
new way of authoring project files is required.

This refactor is the start of it.
2021-06-04 21:00:22 +05:30
Nirmal Guru 8d205a1096
Fix-up comments across project files
Format comments to be legible.
 - Place comment start and end tags on a new line for multi-line comments.
 - Have space between start and end tags in a single line comment.

Place comments where appropriate.
 - If an entire block is common to the comment then place it above the block.
 - Only place a comment near or after the block, if it refers exclusively.

Sources are not formatted!
2021-06-04 21:00:21 +05:30
Nirmal Guru 7e379351e2
Fix-up white-spaces across project files
Add/Remove leading and trailing white-space (only in comments, code blocks, xml strings)
2021-06-04 21:00:20 +05:30
Nirmal Guru 06362b2134
Fix-up new-lines across project files
Add/Remove new-lines (only in project files, xml files and some source files)
2021-06-04 21:00:19 +05:30
Nirmal Guru 92dd6a64e9 Remove redundant xml meta-tag
XML files defaults to 'UTF-8' encoding.
Thus, the meta-tag is no longer needed!
2021-05-17 12:43:06 -07:00
Nirmal Guru 41c9964cf9 Use Unicode charset without the BOM
Update and follow EditorConfig settings.
BOM: Byte Order Mark (Used to identify UTF-8 encoding).
We don't need BOM specified as the latest editors can work without it.
2021-05-17 12:43:06 -07:00
Nirmal Guru ae9e58e25e Clean-up trailing white-spaces
Remove final new-lines
Remove trailing white-spaces
2021-05-17 12:43:06 -07:00
Michael Hawker MSFT (XAML Llama) aedbb5f063
Update Microsoft.Toolkit.Uwp.Notifications.nuspec 2021-05-03 10:59:33 -07:00
Martin Vrábel 6b28b945ef
Fixes #3955 - Fixed NRE when setting text on Wide tile only via TileContentBuilder
+ added appropriate unit test to cover this problem for all tile sizes
2021-04-24 12:45:53 +02:00
Andrew Leader 184def3ccf Forgot to call cleanup 2021-03-26 14:09:20 -07:00
Andrew Leader 22af2ccfe8 Merge branch 'andrewleader/notif-settings-fix' into andrewleader/notif-settingsfix-with-cleanup 2021-03-26 13:41:12 -07:00
Andrew Leader f092ea5b88 Fixes for app data folder consistently using aumid instead of appid 2021-03-26 13:40:55 -07:00
Andrew Leader 288e76b282 Simple fix 2021-03-26 13:36:18 -07:00
Andrew Leader 2ea5894417 Added cleanup 2021-03-26 13:35:38 -07:00
Andrew Leader ff0b927577 Another slight variation 2021-03-26 13:17:48 -07:00
Andrew Leader 2bad369b8e Slightly change the logic, explicitAppId didn't work 2021-03-26 12:59:46 -07:00
Andrew Leader f689c9c8ac Fix for down-level 2021-03-26 11:50:12 -07:00
Michael Hawker MSFT (XAML Llama) 0b99272c98
Merge branch 'master' into dev/7.0.1 2021-03-23 09:34:57 -07:00
Andrew Leader f3907e245d Handle Assembly being null 2021-03-18 14:53:35 -07:00
Andrew Leader f8135ceac4 Include scheduled toast in the fix 2021-03-12 13:34:54 -08:00
Andrew Leader 93e0f34903 Fix group being overwritten in unpackaged apps 2021-03-12 13:06:45 -08:00
Michael Hawker MSFT (XAML Llama) 4940495caa
Update Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.nuspec 2021-02-23 13:39:30 -08:00
michael-hawker b3a29a095d Switch to License Expression for Simplicity
Keep embedded license file though as well.
2021-02-23 12:43:21 -08:00
michael-hawker 83984d528a Add new license/icon properties to our NuGet config
Based on @kyaa-dost's initial investigation

Keeping old and new formats as not all clients support the new formats in all scenarios yet.
2021-02-23 11:35:22 -08:00
Andrew Leader 5704eae3d8 Support ms-appx audio 2021-02-12 13:35:13 -08:00
Andrew Leader 80f7871dbe Fix ms-winsoundevent 2021-02-12 12:59:45 -08:00
Kyaa Dost 8b9742062d
Merge branch 'master' into aleader/notif-api-consistency 2021-02-09 08:38:53 -08:00
Andrew Leader 48c779b2bf Fixed exception 2021-01-29 17:24:18 -08:00
Andrew Leader b4d4dfadfd Support lower min versions of UWP too
Since those use the winmd version, need to include there too
2021-01-28 08:25:56 -08:00
Andrew Leader 6c30ec6b3f Works! 2021-01-27 20:15:30 -08:00
Andrew Leader 22c925093b Tried fixing but didn't work 2021-01-27 20:05:22 -08:00
Andrew Leader a82319f3af Snooze/dismiss support in button builders 2021-01-26 18:56:49 -08:00
Andrew Leader e0966b1f5a
.NET 5 support for Notifications package (#3622)
* Works with .NET 5

* Keep UWP min version at 10240

* Undo accidentally committed change

* Aleader/notifications net 5 and native (#3644)

* Making package works but throws at runtime

* I think it all works!

* Remove comment and update description

* Support for UWP 10240

Just using winmd version

* Interop working on all but UWP 15063 and lower

* Fix warnings

* Support activating when process is elevated

* Fix warnings

* Nuspec updates

Co-authored-by: Alexandre Zollinger Chohfi <alzollin@microsoft.com>
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2021-01-26 12:44:10 -08:00