1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 11:37:04 +09:00
Commit graph

205 commits

Author SHA1 Message Date
Carlos Sánchez López
824bdd214e
[release/9.0-staging] Switch to non-incremental servicing (#109316)
* Change pre-release version label to servicing. Bump patch version to 1.
* Switch to non-incremental servicing.
- Remove incremental servicing docs.
- Update APICompat baseline.
- Remove some mentions of package servicing process.
- Remove redundant source build setting of GeneratePackageOnBuild.
* Change the S.D.DS. ProjectReference to `src` instead of `ref` in M.E.L.C.
* Update the template message
* Update backport.yml message
* Update library-servicing.md

---------

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
2024-11-13 11:59:51 -06:00
github-actions[bot]
7e1c7c4f53
Mark the System.Formats.Nrbf assembly as [Experimental] with SYSLIB5005 (#107950)
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
2024-09-17 18:01:02 -07:00
Eirik Tsarpalis
c1ab6c5b25
[System.Text.Json] Improve error handling of ref structs, including collection types with ref struct elements. (#106083)
* STJ-SG: tolerate ref struct members with JsonIgnore.

* * Skip all ref like members and emit warnings.
* Add detection for collections with ref struct elements.

* Update src/libraries/System.Text.Json/gen/JsonSourceGenerator.Parser.cs

Co-authored-by: David Cantú <dacantu@microsoft.com>

* Update src/libraries/System.Text.Json/gen/JsonSourceGenerator.Parser.cs

Co-authored-by: David Cantú <dacantu@microsoft.com>

---------

Co-authored-by: David Cantú <dacantu@microsoft.com>
2024-08-12 09:16:39 +01:00
Jeremy Koritzinsky
1563fec7ea
Implement basic (recommended against) support for inheriting from COM interfaces defined in different assemblies (#105119) 2024-08-06 14:27:43 -07:00
Rich Lander
ed044bd35c
Add cross-linking between files (#105884) 2024-08-02 13:10:19 -07:00
Jeff Handley
50bc6a1ed6
Update Preview/Experimental Attributes in Intrinsics (#105579)
* Arm.Sve - Switch from RequiresPreviewFeatures to Experimental

* X86.AvxVnni no longer requires preview features

* X86.X86Base.DivRem no longer requires preview features

* GenericVectorTests no longer requires preview features (generic math)

* Arm.Sve - Switch from RequiresPreviewFeatures to Experimental (fix mono build)

* Arm.Sve - Switch from RequiresPreviewFeatures to Experimental (fix JIT tests)

* Update SYSLIB5001 suppressions to have consistent comments

* Apply [Experimental] to X86Base.DivRem
2024-07-30 16:20:06 -07:00
Jeremy Kuhne
63cb7ec3af
Add alternate system color experimental feature (#105525)
Allows overriding KnownColor system values with an alternate set, which in the initial iteration is "dark mode" colors. Enables "dark mode" features in Windows Forms.

This is from the approved part of https://github.com/dotnet/winforms/issues/7641 with further naming iteration done offline with API review.
2024-07-29 13:30:04 -07:00
Carl Walsh
9fcd60deea
Fix ECMA 355 Partition download links (#105454)
On https://github.com/dotnet/runtime/blob/main/docs/project/dotnet-standards.md the Partition with Notes download links using HTTP protocol fail to download in Chrome:

>Mixed Content: The site at 'https://github.com/' was loaded over a secure connection, but the file at 'https://download.microsoft.com/download/7/3/3/733AD403-90B2-4064-A81E-01035A7FE13C/MS%20Partition%20I.pdf' was redirected through an insecure connection. This file should be served over HTTPS. See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details.

(It might be reasonble for somebody else to followup fixing all domains on all pages with regex `\(http://([.a-z0-9-]+)` replacing with `(https://$1`, but I didn't test each blog site supports HTTPS.)
2024-07-25 11:15:34 -04:00
Tanner Gooding
5998f88eef
Mark the new tensor APIs as experimental for .NET 9 (#105268)
* Mark the new tensor APIs as experimental for .NET 9

* Apply SNTEXP0001 to other internal API

* Suppress SNTEXP0001 in System.Numerics.Tensors.Tests

* Use SYSLIB5001. Central registration of experimental API diagnostic ids.

* Add Experimentals.cs (missed in prior commit)

* Revert SLN changes. Add UrlFormat property to attributes where missing.

* Ensure the net8 tensors tests also don't warn for the experimental API usage

---------

Co-authored-by: Eric StJohn <ericstj@microsoft.com>
Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
2024-07-23 18:59:34 -07:00
Dan Moseley
b252fa50ad
remove corefx from md (#105275) 2024-07-22 14:55:00 -06:00
Kevin Jones
029007daba
Update SYSLIB0026 with new message 2024-07-10 10:35:18 -04:00
Kevin Jones
e805e47249
Add SYSLIB0056 to list of diagnostics
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2024-07-10 10:34:49 -04:00
Kevin Jones
02bd1da6e3
Obsolete X509Certificate{2} constructors and X509Certificate2Collection.Import 2024-07-05 13:37:34 -04:00
Jan Kotas
58b5a6c229
A few more net8 to net9 renames (#104342) 2024-07-03 10:27:01 -07:00
Jan Kotas
99e94ce55d
Replace net8 with net9 under docs (#104189)
Fixes #104088
2024-06-29 07:44:01 -04:00
Jeremy Koritzinsky
6d838df688
Move runtime-deps CentOS Stream 8 package to CentOS Stream 9. (#103708) 2024-06-19 13:51:38 -07:00
Alexander Köplinger
7107ff64f3
Update references to dotnet/installer repo (#103077)
The installer repo was merged into the sdk repo.
2024-06-06 00:11:49 +02:00
Ken Dale
59f2833b98
Update docs.microsoft.com usages to learn.microsoft.com (#102881)
* Update https://docs.microsoft.com to https://learn.microsoft.com

* Update http://docs.microsoft.com/ to https://learn.microsoft.com (removes trailing slash)

* Update docs.microsoft.com to https://learn.microsoft.com

* Update docs.microsoft.com to learn.microsoft.com

* Replace learn.microsoft.com/en-us/ with learn.microsoft.com/ to remove locale from urls
2024-05-31 11:27:45 -07:00
Jacob Bundgaard
9daa4b41eb
Add support for primary constructors in LoggerMessageGenerator (#101660)
* Add support for primary constructors in LoggerMessageGenerator

* Get the primary constructor parameters types from the constructor symbol instead of from the semantic model

* Prioritize fields over primary constructor parameters and ignore shadowed parameters when finding a logger

* Make checking for primary constructors non-conditional on Roslyn version and simplify project setup

* Reintroduce Roslyn 4.8 test project

* Add info-level diagnostic for logger primary constructor parameters that are shadowed by field

* Update list of diagnostics with new logging message generator diagnostic

* Only add non-logger field names to set of shadowed names

* Add comment explaining the use of the set of shadowed names with an example
2024-05-28 09:13:32 -07:00
Jeff Handley
37acea29ac
Obsolete invalid AdvSimd.ShiftRightLogicalRoundedNarrowingSaturate* overloads (#99985) 2024-04-18 10:41:23 -07:00
Jan Kotas
3f7ffddeda
Move last P/Invoke error from native Thread and delete C/C++ SafeHandle implementation (#100267)
* Delete native safehandle

* Delete PInvoke last error on thread

* Delete IsRealThreadPoolResetNeeded

* Delete TS_TaskReset

* Delete GetThreadContext

* Fix build break

* Delete unused resource strings

* Introduce FEATURE_IJW and use it in number of places
2024-03-27 06:14:44 -07:00
Collin Alpert
6ebc8bd86d
Make Thread.VolatileRead and Thread.VolatileWrite obsolete (#99382)
* Make Thread.VolatileRead and Thread.VolatileWrite obsolete

* Prevent Thread.VolatileRead and Thread.VolatileWrite from being editor browsable.

* Consolidate obsoletion message and add obsolete attributes to reference definition

* Add EditorBrowsableAttribute to reference definition
2024-03-08 15:55:45 -08:00
Kirill Osenkov
e7e3dee0a5
Mention NetFx40_LegacySecurityPolicy for PublicSign (#99184)
* Update public-signing.md

* Specify "may" because we've seen it work on some machines but not others.

It's not clear to use what the difference is other than a hunch that it fails on Windows Server but works fine on Windows Client OS.

* Add missing angle bracket
2024-03-08 02:28:44 -08:00
David Wrighton
e55d342173
Remove IBC and Ngen related structures and comments (#96867)
- Remove all IBC comments from the vm portion of the codebase
- Remove `m_GenericTypeDefToCanonMethodTableMap` and `m_MehtodDefToPropertyInfoMap` which were only filled in by NGen
- Remove a variety of flags enums which are never used
- Remove infra for testing Zap and IBC  scenarios
- Remove ZapDisable as @egorbo suggested
2024-01-12 15:59:21 -08:00
Alexander Köplinger
3e551673a1
Fix link in library-servicing.md (#95509) 2023-12-01 13:47:45 +01:00
Tarek Mahmoud Sayed
45978bd719
Fix the configuration source gen diagnostic message (#94881) 2023-11-16 14:40:20 -08:00
Carlos Sánchez López
0e81da2c27
Update library-servicing doc to mention 8.0 (#93993) 2023-10-25 23:19:04 -07:00
Robin Lindner
5b7ab0416f
Obsolete AuthenticationManager of System.Net.Requests (#93171)
* Mark AuthenticationManager as Obsolete

* Update SYSLIB0009 diagnostic
* Add ObsoleteAttribute at class-level for AuthenticationManager
* Use generated ref source

* Fix tests

* Update diagnostic doc

* More obsoletion
2023-10-10 15:07:15 -07:00
Tarek Mahmoud Sayed
26a809adb9
Fix Options Source Gen Trimming Issues (#93088) 2023-10-08 16:25:37 -07:00
Gleb Balykov
c7b6681716
Update area tizen owners (#93055) 2023-10-05 08:46:52 -04:00
Thomas Johnson
85f54f3ef6
Fixed broken ECMA links (#92547) 2023-09-24 11:37:59 -07:00
Jackson Schuster
f3e6b1bbe3
[ComInterfaceGenerator] Recommend [In] and [Out] attributes on array parameters (#91094)
Recommend that methods with array parameters use [In] or [Out] attributes if there are none already, and the parameter is not in, ref, or out.
2023-08-25 16:04:13 -07:00
Layomi Akinrinade
a5ff66c825
Use Roslyn interceptors feature in binder gen (#90340)
* Use Roslyn interceptors feature in binder gen

* Fix polymorphic issue and address feedback

* Fix source build issue

* Revert changes to options gen

* Fix
2023-08-19 09:16:49 -07:00
Tarek Mahmoud Sayed
9d747c9e7f
Limit language version on Logger and Options source gens (#90654) 2023-08-16 16:55:41 -07:00
Jackson Schuster
531ad9596f
Add Info warning for int return values (#89601)
Adds an 'info' level diagnostic if a GeneratedComInterface method returns int, enum, or a type name "HR" or "HResult" to tell the user that the generated code will put the managed return value as an 'out' parameter on the COM definition.

Co-authored-by: Jeremy Koritzinsky <jkoritzinsky@gmail.com>
2023-08-01 16:15:21 -07:00
Eirik Tsarpalis
84873e6c4e
Ensure System.Text.Json SG diagnostics don't use Location values from referenced assemblies. (#89518) 2023-07-27 13:13:27 +01:00
Eirik Tsarpalis
5bc100ed64
Emit a diagnostic when attributes deriving from JsonConverterAttribute are being used. (#89199)
* Emit a diagnostic when attributes deriving from JsonConverterAttribute are being used.

* Address feedback.
2023-07-21 17:23:44 +01:00
Tarek Mahmoud Sayed
24150b3a6d
Fix options source gen with non-accessible validation attributes (#88613) 2023-07-11 16:55:43 -07:00
Eirik Tsarpalis
24d7f5a58a
Extend JsonIncludeAttribute and JsonConstructorAttribute support to internal and private members (#88452)
* Relax JsonIncludeAttribute to also support private or internal members.

* Relax JsonConstructorAttribute to include internal or private constructors (where applicable).
2023-07-07 12:40:29 +01:00
Nikita Balabaev
779d53611e
Fix OptionsValidator source-gen to skip static and const members (#88254)
Co-authored-by: Nikita Balabaev <nbalabaev@microsoft.com>
2023-07-02 11:37:07 -07:00
Eirik Tsarpalis
dbf3a16dba
Document new STJ diagnostics and fix diagnostic id conflicts. (#87980) 2023-06-26 16:38:12 +01:00
Tarek Mahmoud Sayed
de6f07edd2
Options validation source generator (#87587) 2023-06-20 14:56:21 -07:00
Jackson Schuster
6ea11b5578
Add marshalling tests and warn if interface is not partial (#87146)
Adds tests that marshal different types to and from native, and adds a warning if the interface or any containing types are not marked partial.
2023-06-09 15:25:44 -07:00
Jeremy Koritzinsky
4d52032d95
Add analyzers and code-fixes to help adoption of source-generated COM (#87223)
* Add first pass of the "convert to generated COM interface" analyzer and add tests for the various other analyzers we are going to introduce.

* Get all analyzer-specific components of the "convert" tests passing.

* Implement all interface-attribute-level changes in the code fixer.

* Add bool marshalling insertion logic to the fixer.

* Add support for removing shadowing members from interfaces.

* Rename fixer

* ActiveIssue the new tests

* Implement basic AddGeneratedComClass analyzer/fixer

* Add ComHosting + GeneratedComInterface analyzer implementation.

* Implement the "runtime COM APIs with source-generated COM types" analyzer.

* Factor out a base class from the ConvertToLibraryImportFixer so we can share it with the ComInterfaceGenerator-family of fixers.

* Move more of the ConvertToLibraryImportFixer to use SyntaxGenerator APIs instead of dropping to C#-specific syntax APIs (improves consistency throughout our code fixes)

* Move support for specifying explicit boolean marshalling rules up to the base class.

* Move the code fixes in ComInterfaceGenerator over to using the ConvertToSourceGeneratedInteropFixer base type.

* Remove use of multicasted delegates and use a more traditional "array of delegates" model.

* Do some refactoring to move more into the new fixer base class.

* Remove custom CodeAction-derived types now that we have a record type to represent fixes from the subclasses.

* Make sure we make types and containing types partial

* Fix negative test.

* Add tests for transitive interface inheritance and add iids.

* Change bool parsing for internal parsing and add warning annotation text. Update diagnostics list md.
2023-06-08 20:36:25 -07:00
Sven Boemer
56c427bb4d
Don't enable ILLink analyzers for unsupported TFMs (#87071)
* Don't enable ILLink analyzers for unsupported TFMs

This adds a condition to EnableSingleFileAnalyzer to prevent it from requiring
the ILLink pack that is only supported on netcoreapp3.0 and above.

Adding a condition on the TFM requires moving the setting into a targets file.

Also consolidates more of the analyzer logic into this file.

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2023-06-08 10:10:58 -07:00
Layomi Akinrinade
ac5febd6b7
Update binder gen parser to issue diagnostics for invalid input types (#86856)
* Update binder gen parser to issue diagnostics for invalid input types

* Address feedback; tests for more invalid types; fix failing CI test
2023-06-01 09:33:36 -07:00
Kevin Jones
04a1fe3059
Implement AesGcm constructors accepting a tag size and obsolete the existing ones 2023-05-15 13:28:00 -04:00
Bonuspunkt
a15eaf7440
link to the latest version of Framework Design Guidelines (#86216)
also added Jeremy Barton because he was inconsistently mentioned
2023-05-15 09:58:01 -04:00
github-actions[bot]
5eef91d51a
[main] Servicing docs improvements (#85855)
* Servicing docs improvements

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>

* Apply suggestions from code review

* Update .github/workflows/check-service-labels.yml

* Update .github/workflows/check-service-labels.yml

---------

Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com>
2023-05-08 17:38:34 -06:00
Stephen Toub
6887fc439b
Obsolete some protected, unused members of Regex{Runner} (#84812) 2023-04-20 06:14:25 -04:00