Commit Graph

41095 Commits

Author SHA1 Message Date
Joni 8aec42166d Fix wording in PrincipalExtensions.cs summary (#17859)
Add missing "if" in the summary.
2019-12-13 23:41:43 -08:00
Doug Bunting 3fd24a59cb
Regenerate blazor.webassembly.js again 2019-12-13 18:23:55 -08:00
dotnet-bot 0780fb8e44 Merge in 'release/3.1' changes 2019-12-14 01:57:19 +00:00
Doug Bunting 81bccd1e4a
Merge branch 'release/3.0' => 'release/3.1' #16621
- hurray 🎆 🍾
- thanks @wtgodbe 
/fyi @Pilchie @mmitche
2019-12-13 17:55:58 -08:00
dotnet-bot 95be2bded3 Merge in 'release/3.1' changes 2019-12-14 00:23:13 +00:00
William Godbe f89c8d15a2
Use correct, non-stabilized version to find runtime archive (#17863) (#17869) 2019-12-13 16:21:45 -08:00
William Godbe 2de83d6145
Switch to label.N form for pre-release label (#17860) 2019-12-13 16:21:25 -08:00
wtgodbe 6ce4719886 Fixup nuspecs for TargetingPackPackage/SharedFrameworkPackage 2019-12-13 16:19:53 -08:00
wtgodbe e142091d27 Add StructLayout to LifeCycleProperty 2019-12-13 14:46:00 -08:00
William Godbe fcb22728ee Add dummy target for GetTargetPath to Components.Web.JS.npmproj (#17796) 2019-12-13 14:04:42 -08:00
wtgodbe 138e801e34 Remove _dummy/_dummyPrimitive from LifeCycleProperty 2019-12-13 13:35:43 -08:00
Kahbazi 19d2f6124f Minor clean-up in Static Files (#17828) 2019-12-13 13:29:36 -08:00
wtgodbe a3358d71cd Try ugly fix for LifecycleProperty 2019-12-13 13:26:24 -08:00
wtgodbe 7052bc48d4 Try ugly fix for LifecycleProperty 2019-12-13 13:19:27 -08:00
Doug Bunting f2f23589a6
Use fields in a `readonly` `struct` 2019-12-13 12:56:23 -08:00
Doug Bunting a11d4b32ad
Add another CS1705 workaround in test project depending on some .NET Standard projects 2019-12-13 12:13:56 -08:00
Doug Bunting 3a67489398
Add missing `_dummy` and `_dummyPrimitive` fields
- probably need to double-check for similar gaps in 'release/3.0' branch
2019-12-13 12:13:15 -08:00
Doug Bunting 7256b353b3
Update `internal` types and members in *.Manual.cs files
- match changes that are in 'release/3.1' but not 'release/3.0'
  - e.g. `StaticComponentRenderer`'s namespace change and newly-added members
- redo GenAPI exclusions
  - remove some unecessary workarounds getting in the way of keeping up w/ API changes
  - add more GenAPI exclusions, enabling `--all` without hitting dotnet/arcade#4488
2019-12-13 12:10:44 -08:00
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
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
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
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
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