Commit Graph

41775 Commits

Author SHA1 Message Date
Rick Anderson 49fd4ced63 Update ApiConventionNameMatchBehavior.cs (#17829) 2019-12-13 11:09:17 -08:00
Doug Bunting 02e51bdc26
Merge branch 'master' into merge/blazor-wasm-to-master 2019-12-13 08:25:48 -08:00
Doug Bunting af43fd8feb Merge pull request dotnet/extensions#2783 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from 39e463f4d4
2019-12-13 08:23:37 -08:00
Javier Calvarro Nelson e4c0ec3ca6
[Blazor] Update branding for the next release (#17852) 2019-12-13 14:36:52 +01:00
Steve Sanderson 4310fa72f7
Fix selecting empty values in dropdown. Fixes #17735 (#17838) 2019-12-13 10:22:51 +00:00
Kahbazi a7bf77b877 Skip culture check when unnecessary 2019-12-13 09:48:58 +03:30
dotnet-bot 9a7838bd35 Merge in 'release/3.1' changes
\n\nCommit migrated from 9b8667e738
2019-12-12 21:44:54 +00:00
William Godbe bb08ec9c04 Set IsShipping=false for all TestingUtils projects (dotnet/extensions#2782)
\n\nCommit migrated from 0743e1c118
2019-12-12 13:43:49 -08:00
Doug Bunting f688577987
Update generated JavaScript files 2019-12-12 12:01:24 -08:00
Doug Bunting 409ead0b18
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1 2019-12-12 11:22:30 -08:00
Ryan Brandenburg 00b23b633d Remove references to non-existent -v option 2019-12-12 10:34:40 -08:00
Doug Bunting 49d1b9329f
Merge branch 'master' into merge/blazor-wasm-to-master 2019-12-12 10:05:10 -08:00
Kahbazi fde783911b Remove extra cast for IPEndPoint (#17812) 2019-12-12 08:33:43 -08:00
Sébastien Ros 47616d4c3d Merge pull request dotnet/extensions#2771 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from 692eb2ba0d
2019-12-12 07:50:17 -08:00
Steve Sanderson 3a93704737
Support async main (#17673) 2019-12-12 15:05:12 +00:00
Kahbazi db81768f8e Replace Task.FromResult(0) with Task.CompletedTask (#17810) 2019-12-12 01:42:29 -08:00
Kahbazi 9a3aacb56a Replace string.Equals with HttpMethods.IsX (#17805) 2019-12-11 21:40:27 -08:00
Doug Bunting 7ba757265f
Merge branch 'release/3.1' into merge/release/3.0-to-release/3.1
- upgrade Arcade SDK to '1.0.0-beta.19607.3'
- regenerate eng/ProjectReferences.props and ref/ projects
2019-12-11 20:03:03 -08:00
Artak e0a03bda1a
Specify Blazor WebAssembly template language (#17784)
* Blazor WebAssembly template updates

* Match spacing around <html> tags
2019-12-11 14:45:52 -08:00
Andrew Stanton-Nurse 189a917445
Add issue policies doc (#17523) 2019-12-11 14:44:51 -08:00
nufiko 93030a8819 Change csv content type to text/csv (#16696)
* Change csv content type to text/csv

According to RFC4180: https://tools.ietf.org/html/rfc4180 MIME type for .csv file should be "text/csv"

* Add comment
2019-12-11 14:36:44 -08:00
Andrew Stanton-Nurse eb113093cd
Clarify docs on HttpRequest.PathBase (#17639) 2019-12-11 13:50:03 -08:00
Piotr Błażejewicz (Peter Blazejewicz) a2f38254d4 Change z-index value for reconnect modal. Fixes #12867 (#17512)
This changes the z-index of the Blazor reconnect modal to be aligned
with the z-index used by Bootstrap for modals overlays. If users rely on
Bootstrap for overlays within application this would prevent obstruction
of the Blazor's reconnect information with other overlays in the
application.

Addresses #12867
2019-12-11 13:15:04 -08:00
Sébastien Ros 3f0065fc06 Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from 3e632f0a06 2019-12-11 11:48:50 -08:00
Eddy Nakamura 5ff9ed68d1 updating inline <code> to <c> (#17611)
* updating inline "code" tag to "c" tag

* Apply suggestions from code review

Co-Authored-By: Andrew Stanton-Nurse <andrew@stanton-nurse.com>

* reverting tag

* reverting tag

* reverting entire file
2019-12-11 11:47:38 -08:00
Chris Ross 11ecc62ea9
Handle IIS OnCompleted callbacks later #17268 (#17756) 2019-12-11 11:26:06 -08:00
Doug Bunting cf6b5028c3
Improve generation and use of ref/ projects (#17311)
* Remove useless src/PackageArchive files
- not used outside 2.x branches

* Improve use of ref/ assemblies
- compile against ref/ assemblies but do not change package metadata
  - update the metadata of implementation projects to include the ref/ assembly path
  - update `@(ReferenceAssembly)` metadata for Extensions packages, not `@(PackageReference)`
  - can be disabled using `$(CompileUsingReferenceAssemblies)` e.g. when generating ref/ projects
- include ref/ projects in source build by default
  - remove `$(ExcludeFromSourceBuild)` overrides from ref/ project files
- use latest package references and use project references even when _not_ building the targeting packs
- restore previous `@(Reference)` -> `@(PackageReference)` logic
  - add build-only Microsoft.Internal.Extensions.Refs package reference in most cases
- remove IndirectReferences.props and `@(_ExtensionInternalRefAssemblies)`; no longer needed

* Improve ref/ project generation
- use ../src/**/AssemblyInfo.cs files instead of including attributes in *.Manual.cs files
  - for same reason, copy `@(InternalsVisibleto)` items from src/ to ref/ projects
- use eng/targets/CSharp.ReferenceAssembly.props instead of ref/Directory.Build.props files
- use TFM-specific *.Manual.cs files in ref/ project files instead of ref/Directory.Build.props files

optimizations and usability improvements:
- add `$(BuildMainlyReferenceProviders)` property to focus on reference providers when generating ref/ projects
- disable `$(UseReferenceAssemblyInImplementation)` to avoid using ref/ projects while generating them

nits:
- clean up whitespace and remove blank lines in ref/ project files

* Perform smaller cleanup
- remove `$(IsTargetingPackPatching)`; use only `$(IsTargetingPackBuilding)`
- remove `$(DisableServicingFeatures)`; enable the servicing features we need
  - suppress baseline references even in servicing builds
- restore `$(AdditionalGenApiCmdOptions)`; useful when updating *.Manual.cs files

nits:
- simplify conditions using `$(HasReferenceAssembly)`
- correct spelling in comments
- shorten long lines

* Use a response file for GenAPI commands
- work around dotnet/arcade#4021 and help with additional ref assemblies
- mimic 111462e0c2 and integrate w/ other changes here

* Undo some manual ref/ project changes
- now done automatically or centrally
- remove manual `[TypeForwardedTo]` and `[InternalsVisibleTo]` attributes
  - fully qualify a type now that `using` is gone
- remove dupe `@(Compile)` items for *.Manual.cs files; included in the ref/ project files
- remove redundant `$(AllowUnsafeBlocks)` and `$(NoWarn)` settings

nits:
- rename a *.Manual.cs file that's not TFM-specific
- remove `private` members

* Correct use of `@(ProjectReference)` items for reference providers
- use `@(Reference)` instead

* Remove recently-added `@(Compile)` and `@(Reference)` items
- were added due to missing `[InternalsVisibleTo]` attributes in ref/ assemblies or as early workarounds
  - plus, now transitive references **Just Work™️**
- expose `ClosedGenericMatcher` in the usual (*.Manual.cs) way
- also undo Microsoft.Extensions.ApiDescription.Server workaround

* Remove `private` members from ref/ *.Manual.cs files
- not useful and bloat the ref/ assemblies

* Cleanup warnings
- avoid "CSC warning CS2008: No source files specified." building site extensions
- correct warnings (as errors) about `RenderToStringResult` being obsolete
  - add Microsoft.AspNetCore.SpaServices.Tests to Middleware solution

* Remove `@(RuntimeHostConfigurationOption)` workarounds
- deps files are unaffected by new ref/ assembly handling and test projects aren't special-cased
- also execute a test previously skipped due to deps file problems

* Regenerate ref/ projects
- pick up the latest generation changes

(unclear why Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp3.0.cs changed but works)

* Fill in missing `internal` types 1 of n
- rename Microsoft.AspNetCore.Components.netstandard2.0.Manual.cs; need `RenderTreeFrame` type everywhere
- add types needed in unit and perf tests to *.Manual.cs files

* Clean up recent commits
- remove recently-added `private` members
- restore `_dummyPrimitive` fields in Microsoft.AspNetCore.Server.HttpSys.Manual.cs

* Add *.Manual.cs files for more projects

* !fixup! fields in *.Manual.cs `struct`s
- GenAPI sometimes generates `_dummy` and `_dummyPrimitive` fields _instead of_ visible members
- what GenAPI generates sometimes have the right length but actual fields don't hurt
  - that is, using the real fields corrects both the visible API and `struct`s' sizes

nits:
- consolidate `namespace`s in Microsoft.AspNetCore.Mvc.Core.Manual.cs

* Remove special case for generating ref/ projects on non-Windows
- referenced issue was closed with no action but workaround still not required
- no tabs in generated content

* Only create ref/ projects for assemblies in the shared framework
- restrict when `$(HasReferenceAssembly)` is `true` by default
- add warnings when `$(IsAspNetCoreApp)` or `$(HasReferenceAssembly)` have unexpected values

* Remove "extra" ref/ projects
- associated implementation projects no longer have `$(HasReferenceAssembly)` set to `true`

* Add a few GenAPI exclusions
- see dotnet/arcade#4488
- generation for these members leads to NREs

* Add more `internal` types and members
- Identity/Core
- Identity/Extensions.Core
- Mvc/Mvc.ViewFeatures

* Add direct dependencies to work around CS1705 errors
- add direct references to some test and sample projects to make intent clear i.e. address CS1705 root cause
  - these projects must use implementation assemblies for those direct references
  - requirement also applies to anything depending on them e.g. functional tests
  - for simplicity, use `$(CompileUsingReferenceAssemblies)` instead of targeted `@(Reference)` metadata
- leads to ~40 projects that do not themselves add ref/ metadata
  - this is _not_ transitive i.e. it applies only to projects that override `$(CompileUsingReferenceAssemblies)`

* nits: Remove a few more `private` members in *.Manual.cs files

* !fixup! correct namespaces of a few types in *.Manual.cs files

* Try another way to fix Microsoft.AspNetCore.Blazor.Build.Tests

* Try another way to fix missing targets in Web.JS.npmproj
2019-12-11 07:36:59 -08:00
Brennan efd765e970
Update wording (#17757) 2019-12-10 21:18:41 -08:00
Pranav K 3fba107522
Fix typo in error message (#17741) 2019-12-10 11:30:13 -08:00
Chris Ross b719a799ae
Update h2 sync scripts (#17720) 2019-12-10 11:17:16 -08:00
Pranav K 0792e9a4f5
Merge pull request #17620 from aspnet/prkrishn/merge-remaining-blazor-wasm
Merge blazor-wasm branch
2019-12-10 10:27:41 -08:00
Artak efc9d1228b
Account for UTC time to run the Dev-builds CI at midnight PT (#17718) 2019-12-10 08:11:26 -08:00
Artak 240d095614
Updated npm dependencies (#17680)
* Updated npm dependencies
2019-12-10 08:09:50 -08:00
dotnet-bot d0cca8c2b5 Merge in 'release/3.1' changes 2019-12-10 15:35:56 +00:00
John Luo 9a4ab80f7e
Merge pull request #17672 from dotnet-maestro-bot/merge/release/2.1-to-release/3.0
[automated] Merge branch 'release/2.1' => 'release/3.0'
2019-12-09 19:01:47 -08:00
John Luo 3cfac251c7 Merge branch 'release/2.1' into release/3.0 2019-12-09 14:38:04 -08:00
Pranav K 41eb14d8a8
Skip blazor-standlone template 2019-12-09 13:00:56 -08:00
Matt Mitchell 6cdd41aecd
Update to 3.1.100 rtm sdk (#17626) 2019-12-09 12:23:40 -08:00
dotnet-maestro[bot] 24806e548a
Update dependencies from https://github.com/dotnet/arcade build 20191207.3 (#17704)
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19607.3
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19607.3
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19607.3
2019-12-09 18:33:37 +00:00
Pranav K 37ec02b4d3
Remove published: false 2019-12-09 09:06:14 -08:00
Chris Ross aca5f04922
Expose Http.Sys's Http/2 Reset error code API #17276 #16988 (#17645) 2019-12-09 06:17:38 -08:00
John Luo c0e98ecdfd
Merge pull request #17637 from dotnet-maestro-bot/merge/release/3.1-to-blazor-wasm
[automated] Merge branch 'release/3.1' => 'blazor-wasm'
2019-12-08 21:58:59 -08:00
John Luo bb4f3a513d
Merge branch 'blazor-wasm' into merge/release/3.1-to-blazor-wasm 2019-12-08 13:31:02 -08:00
Pranav K d4164a1a14
Try undoing /nr:false 2019-12-08 07:28:54 -08:00
Pranav K d9f129b95d
Skip tests 2019-12-07 14:33:31 -08:00
William Godbe cafb50c68b
[release/3.0] Use Microsoft.NETCore.App.Internal for runtime version (#17628) 2019-12-06 14:56:44 -08:00
dotnet-bot 1a577b9842 Merge in 'release/3.1' changes 2019-12-06 22:03:07 +00:00
William Godbe bc75981efe
[release/3.1] Use Microsoft.NETCore.App.Internal for runtime version (#17627) 2019-12-06 14:01:09 -08:00
dotnet-bot 0fbb7802e7 Merge in 'release/3.1' changes 2019-12-06 01:09:11 +00:00
dotnet-maestro[bot] c3fa87ed04
Update dependencies from https://github.com/aspnet/Blazor build 20191205.1 (#17642)
- Microsoft.AspNetCore.Blazor.Mono - 3.1.0-preview4.19605.1
2019-12-06 01:06:40 +00:00