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

561 Коммитов

Автор SHA1 Сообщение Дата
Kenny Kerr 9e4fdedbe4
Adds synchronous option to avoid I/O issues in batch builds (#961) 2021-06-18 11:30:58 -07:00
Raymond Chen 7ddfc798e3
Improve diagnostics when implements<> is used incorectly (#959) 2021-06-14 09:16:35 -07:00
Raymond Chen 06ae44406d
Add deduction guides for agile_ref and weak_ref (#955) 2021-06-14 09:15:55 -07:00
Johan Laanstra f204e39d29
Add #pragma once in addition to header guard (#948) 2021-05-20 13:38:08 -07:00
Johan Laanstra 0d94a2e275
Project templates should not set DisableSpecificWarnings to empty. (#949)
* Project templates should not set DisableSpecificWarning to empty.

Setting this to empty prevents the use of Directory.Build.props to disable specific warnings solution-wide.

* Update WindowsRuntimeComponent.vcxproj

* Update CoreApp.vcxproj

* Update BlankApp.vcxproj
2021-05-20 10:07:56 -07:00
Johan Laanstra d6bbe13dee
Make the v142 toolset the default. (#946)
* Update ConsoleApplication.vcxproj

* Update WindowsApplication.vcxproj

* Update BlankApp.vcxproj

* Update CoreApp.vcxproj

* Update StaticLibrary.vcxproj

* Update WindowsRuntimeComponent.vcxproj

* Update BlankApp.vcxproj

* Update CoreApp.vcxproj

* Update StaticLibrary.vcxproj
2021-05-19 20:43:42 -07:00
Ryan Shepherd 1c4b5f558d
Ingest updated Microsoft.Windows.WinMD to fix bug around "-exclude" (#937)
* Ingest updated Microsoft.Windows.WinMD to fix bug around "-exclude" option.

* Clean up weirdness from VS updating the NuGet
2021-05-05 17:23:46 -07:00
Scott Jones 2e05b07d31
Add switch to disable merge validation to support certain test scenarios (#936)
* Add switch to disable merge validation to support certain test scenarios

* made condition explicitly check 'true'
2021-05-04 13:09:38 -07:00
Ryan Shepherd d9fe8d8b24
Use separate vsixmanifest files for Component and Standalone deployments (#909)
* Use separate vsixmanifest files for Component and Standalone deployments

* Remove prerequisite from Component VSIX

* Keep empty <Prerequisites> element

* Component VSIX now depends on Inbox CppWinRT "component"

Co-authored-by: Kenny Kerr <kekerr@microsoft.com>
2021-05-03 11:23:27 -07:00
Chris Guzak 969ea267c1
Update .targets file to support local servers (#860) (#934) 2021-05-03 07:55:33 -07:00
Raymond Chen 18670d249d
Runtime class name for bare IInspectable should not be "Object" (#930) 2021-04-27 09:54:33 -07:00
Kenny Kerr 342edc5290
Inline internal error codes (#922) 2021-04-08 11:55:59 -07:00
Kenny Kerr 5a2a796c09
Use correct default output folder (#920) 2021-04-08 10:39:21 -07:00
Julien Brianceau 08db5ed380
Fix few typos in comments (#917) 2021-04-07 08:16:17 -07:00
Raymond Chen 3d80b918d9
Natvis support for hresult_error and array_view (#914) 2021-04-03 18:11:14 -07:00
Raymond Chen b52df71e57
Factories no longer default to no_weak_ref (#913) 2021-04-03 08:45:17 -07:00
Charles Milette 464e59198c
Implement support for noexcept overridable methods (#910) 2021-04-01 05:57:58 -07:00
Johan Laanstra 07f5b9aa7e
Give CppWinRTEnableDefaultCopyLocalFalse a default value (#902) 2021-03-31 06:29:42 -07:00
Johan Laanstra 7c89d29345
Clean more specific output files. (#838) 2021-03-31 06:29:14 -07:00
Raymond Chen 5e1b063525
IReference operators need to go into the level-1 header (#906) 2021-03-29 12:43:32 -07:00
Charles Milette 8684e14771
C++20 ranges support (#900) 2021-03-29 10:47:25 -07:00
Kenny Kerr 122b732393
Windows test (#905) 2021-03-26 13:59:04 -07:00
Kenny Kerr 1935608ceb
Support nested Windows namespace (#904) 2021-03-26 11:56:02 -07:00
Raymond Chen 2073422028
Add support for boxing and unboxing most kinds of arrays (#903) 2021-03-26 10:35:11 -07:00
Raymond Chen 37f0c4ed87
Restore Win7 functionality (more correctly this time) (#898) 2021-03-23 06:02:13 -07:00
Raymond Chen ede68ed9e7
Allow capturing from a raw pointer (#896) 2021-03-23 06:01:15 -07:00
Raymond Chen 1502e293d6
Restore Win7 compat by using old versions of threadpool functions (#895) 2021-03-22 06:04:24 -07:00
Raymond Chen d61cb159be
Use compiler-specific WINRT_IMPL_NOINLINE macro for noinline functions (#893) 2021-03-18 06:42:39 -07:00
Arthur Biancarelli c70d9382d6
Fix support for x86 builds with Clang (#889) 2021-03-12 08:28:26 -08:00
Alexander Sklar 0cd75f40d3
use app manifest (#882) 2021-03-12 05:56:53 -08:00
Ryan Shepherd 2baf519ac4
Filter non WinRT types out of the cache (#888)
* Populate winmd cache with only WinRT types

* Update to latest WinMD library and filter incremental visualizer loads
2021-03-12 01:15:08 -08:00
Alexander Sklar 243f941338
Don't fail file open/writes silently (#880) 2021-03-10 14:36:10 -08:00
Alexander Sklar 7ec62b7640
Reduce size of compiled base.h due to get_runtime_activation_factory (#876) 2021-03-09 18:34:59 -08:00
Raymond Chen e37bf8aeda
Allow IAsync...WithProgress to report intermediate results (#870) 2021-03-08 05:56:21 -08:00
Kenny Kerr fc9b4d780f
abort (#868) 2021-03-04 10:10:42 -08:00
Kenny Kerr c350ff38d5
Clang workarounds (#867) 2021-03-04 09:23:31 -08:00
Ryan Shepherd 29c7a25b12
Add ProjectCapability for VS telemetry (#863) 2021-03-03 10:06:18 -08:00
Ryan Shepherd 2e3d3a9454
Visualizer should try to find winmd for interface and property types, and should fail more gracefully when not found. (#864) 2021-02-27 14:15:14 -08:00
Ryan Shepherd 39c062ecc9
Pick up newest viersion of WinMD library to allow for updating winmd … (#862) 2021-02-25 21:05:48 -08:00
Raymond Chen 386cd603f1
Allow empty apartment_contexts (#861) 2021-02-25 16:29:28 -08:00
Raymond Chen dead82ff3c
to_message() function extracts exception text from catch(...) (#857) 2021-02-16 07:15:30 -08:00
Raymond Chen 0835afb0e9
Always bounce through the threadpool when switching from STA (#856) 2021-02-11 13:09:23 -08:00
Raymond Chen fbf05433d0
Make return address extraction work on more compilers (#845) 2021-01-27 08:36:51 -08:00
David Machaj e439dcc8cf
Add a hook to throw_hresult for integration with WIL (#843) 2021-01-22 16:23:37 -08:00
Tushar Maheshwari 9ed46e2fe8
Define guid constructor to parse string_view (#833) 2021-01-05 10:53:19 -08:00
Kenny Kerr f0284a626c
Update README.md 2021-01-02 08:51:52 -08:00
Johan Laanstra 0242fab553
Return the full path to the generated WinMD. (#824) 2020-12-17 11:10:46 -08:00
Raymond Chen 7b109f4ab7
Prevent inadvertent assignment to temporary object (#825) 2020-12-16 17:48:15 -08:00
Johan Laanstra ac252b2181
Revert "Revert nuget to 2.0.200609.3" (#796)
* Revert "Nuget 2.0.200609.3 (#793)"

This reverts commit cfda4361db.

* Remove the use of TargetPlatformWinMDLocation as the C++ build targets put a problematic path in it.

* MSBuild only resolves refs for TargetPlatformIdentifier=UAP. C++/WinRT does it for non-UAP projects.

* Use Copy Local in the property name instead of Private.
2020-12-15 15:03:41 -08:00
Scott Jones 329b104182
Standalone and Component Visualizers/VSIXes (#823)
* Revert "Remove visualizer from vsix (#792)"

This reverts commit d4635e3bb5.

* Reenabled standalone visualizer and forked component visualizer for VS installer integration

* build component and standalone visualizers
2020-12-14 21:02:28 -08:00