* Add RegexGeneratorAttribute
Adds the new RegexGenerator attribute that's a signal to the regex
generator to generate code for the specified regex.
* Implement RegexGenerator
Add a source generator for generating C# code for Regex. This is
primarily a port of RegexCompiler.cs, generating C# code instead of
MSIL.
* Add generator test project
Adds tests dedicated to the mechanics of the source generator, e.g. that
appropriate diagnostics are issued for improper use of RegexGenerator.
* Integrate source generator into many regex tests
Start integrating the source generator into the regex test suite, so
that many existing tests also validate the generated code.
* Address PR feedback
* Improve cachability of source generator
Changing the generator to not collect all regexes together means we don't need to reprocess/regenerate all regexes every time any one of them is changed.
* Use closest matching ctor from GetRegexAsync
To better test the appropriate ctor usage.
* Improve a few of the polyfills
* Address PR feedback
* Fully qualify types and remove unnecessary $s
Also fixed one place where the IL we were generating wasn't as good as the reflection emit code.
* Suppress a couple more warnings
* Fix stray !
* Fix TODO about unrolling multi comparisons
Also clean up generated code in a few places to make it more readable / concise.
* Update resources per PR feedback
* Add more tests, clean up parser code, and allow instance/interface methods
* Fix test suppression on mobile
* automatically update the assembly version
* address feedback
* move IsAspNetCoreApp to packaging.targets
* make assemblyintef pack private, update header and instructions on building the package in servicing
* fixes the allconfig leg
* update the docs
* Update docs/project/library-servicing.md
Co-authored-by: Viktor Hofer <[email protected]>
Co-authored-by: Viktor Hofer <[email protected]>
* Clean-up pkgproj leftovers in libs and apply fixes
Remove any pkgproj infrastructure that was only used by src/libraries
(which is the majority). Delete the packageindex *YAY*.
Update the documentation that covered the packageindex and the pkgprojs.
Avoid any incremental builds during packaging by removing
libraries-packages.proj and use src.proj for packaging instead. Make use
of the `GeneratePackageOnBuild` property to build package during the
allconfigurations without requiring a different entry target.
Fix the addition of the DocumentationFile during packaging when
`GeneratePackageOnBuid` is used by hooking onto the
`DocumentationProjectOutputGroup` that NuGet uses and replacing the
generated documentation file with the one that comes via the
intellisense package.
Also introduce a property to choose the generated documentation file
over the one from the intellisense package:
<UseIntellisenseDocumentationFile>false</UseIntellisenseDocumentationFile>
Removing a few leftover PackageDescription properties from the projects'
Directory.Build.props file.
Cleaning up properties in Directory.Build.props & Directory.Build.targets
files.
* Actually run packaging during the allconfigurations build
* Update docs
* make runtime specific pkgs non packable
* io.ports native pkg fixes
* Remove old fwlink from Obsolete messages and make message improvements
* Thorough review and update of Obsolete messages
* Cleanup
* Make messages about unsupported APIs more consistent
* Update RequiresUnreferencedCodeAttribute messages to be consistent between ref and src
* Cleanup
* Cleanup
* Use 'not supported' instead of 'no longer supported'
* Omit unnecessary error:false from Obsolete attributes. Fix message typo.
* Remove old comment
* PR feedback
* Mark RNGCryptoServiceProvider as Obsolete
* Use the static methods on RandomNumberGenerator instead of Create()
* Use RandomNumberGenerator.GetBytes() instead of RandomNumberGenerator.Create().GetBytes()
* Revert "Use RandomNumberGenerator.GetBytes() instead of RandomNumberGenerator.Create().GetBytes()"
This reverts commit 447f8485a08f831f34d00597a30800ac36f034ef.
* Update src/libraries/System.IO.Pipes/tests/NamedPipeTests/NamedPipeTest.CurrentUserOnly.Windows.cs
Co-authored-by: Jeremy Barton <[email protected]>
* Replace usage of NET50_OBSOLETIONS with NET5_0_OR_GREATER
* Correct GitHub handle
* Use a diagnostic id for the RuntimeEnvironment obsoletions from #50666
* Use fully-qualified attribute name in ref source updates from #49411
* Use a diagnostic id for the JsonSerializerOptions.IgnoreNullValues obsoletion from #41141
* Improve documentation for obsoletion/analyzer diagnostics
* Clarity for SYSLIB0### and SYSLIB1### sequences
* Add info about the SYSLIB documentation pages
* Add pointer to the docs within Obsoletions.cs
* Add basic GetContextInfo regression tests.
* Implement new GetContextInfo API overloads
Implements #47880, adding new, more performant overloads for GetContextInfo.
- Add helper for only creating a region if it isn't infinite
- Start an internal extensions class for easier mapping of System.Drawing concepts to System.Numerics types
- Simplify GraphicsContext
* Update WindowsGraphics to use new overloads.
* Skip tests when GDI+ isn't available.
* Add `[SupportedOSPlatform("windows")]`
* Use new Obsolete attribute pattern.
* Use Obsoletions.cs and conditionalize in ref.
* Address feedback
* Conditionalize the obsoletion in the src
* Update suppression in tests
* Apply obsoletions downlevel using an internal ObsoleteAttribute
Co-authored-by: Jeff Handley <[email protected]>
Co-authored-by: Santiago Fernandez Madero <[email protected]>
* Add obsolete attribute to DisablePrivateReflectionAttribute
* Attribute added to ref file
* fix ref file and attribute
* Add new diagnostic ID
* Fix obsolete attribute
* Fix obsolete attribute in ref file
* Add new obsoletion ID to documentation
* Removed all references of DisablePrivateReflection in src/coreclr
* Fixed error message of obsoletion
* Fixed documentation
* Removed reference of DisablePrivateReflection
* Add NoWarn for new obsoletion ID
* Add pragma to tests
* Fix error message of new obsoletion
* Fix new obsoletion description in documentation
Did a second search of master in the repo since all the M2M changes went
in and found some remaining places that weren't included in the
previous change.
* Adding non ectensions library to transport package and moving transport package to all config leg
* update servicing policy doc
* change name from Microsoft.Extensions.Internal.Transport -> Microsoft.AspNetCore.Internal.Transport
* make isAspnetCore property explicit
* csproj to proj change
* remove non used extensions assemblies from transport package
* Update Directory.Build.props
- Reduce the boilerplate logic when modifying the jit ee interface
- 3 new files in superpmi are now autogenerated as well as 2 files in the jit directory are now autogenerated
- Reduce to only having one copy of the jit-ee interface guid
Fixing stale version badges in docs
From the issue description:
Improper cache-control in generated badges caused browsers caching svg
badges for a year. It is, therefore, recommend to modify related
README.md content by simple find & replace from: _version_badge.svg
to _version_badge.svg?no-cache
This will trigger github to compute and use different/new Camo proxy URL.
Fix#3822
* Update README table generator.
* Link README to new table location.
* Add 6.0 coreclr runtime links for table generation.
* Add generated table to the dogfooding page.
* Update some stale references to sleet feeds, older versions of the runtime, and deprecated packages.
* Add subset for table generation and reorder table to frontload OS groups.
Co-authored-by: Jan Kotas <[email protected]>
* Move the script runtesttilstable.sh under src/tests
* Update most references to build-test / runtest in the runtime repo
With this change I can't find any remaining orphaned references to
the old script names except for a few superpmi-related scripts
I need to follow up on separately as I'm not too familiar with
their functionality.
Thanks
Tomas