Commit Graph

44152 Commits

Author SHA1 Message Date
Brennan fa93369beb Fix null reference exception for Streaming null object (#14004) (#14515) 2019-10-01 15:41:06 -07:00
Steve Sanderson 00ebfb4811 When using auth, use CascadingAuthenticationState explicitly. Fixes #14566 2019-10-01 14:50:48 -07:00
Steve Sanderson ebe81c2978 Fix test that was illegally holding ParameterView references 2019-10-01 14:50:25 -07:00
Steve Sanderson 762cbde480 CR: Add some "in" plus clean up "using" 2019-10-01 14:50:25 -07:00
Steve Sanderson 1ac8ff104e Add specific unit test in ParameterViewTest 2019-10-01 14:50:25 -07:00
Steve Sanderson 9afb1ce6ae CR: Clarify comment 2019-10-01 14:50:25 -07:00
Steve Sanderson c2a45b4fd6 Typo 2019-10-01 14:50:25 -07:00
Steve Sanderson e6656a68ab Complete test cases 2019-10-01 14:50:25 -07:00
Steve Sanderson d59baa8a24 Wrap up lifetime concept as a type, and implement expiry 2019-10-01 14:50:25 -07:00
Steve Sanderson 612a6677b1 Have ParameterView track its owning RenderBatchBuilder 2019-10-01 14:50:25 -07:00
Steve Sanderson 2e7c8649b6 Fix comment 2019-10-01 14:50:25 -07:00
Steve Sanderson 206f793fb5 Add unit tests for illegal ParameterView access 2019-10-01 14:50:25 -07:00
Steve Sanderson 2fc604145a Update ref assembly 2019-10-01 14:49:59 -07:00
Steve Sanderson 428017a181 Regenerate blazor.server.js 2019-10-01 14:49:59 -07:00
Steve Sanderson aca8db6572 CR: Rename RenderTreeBuilderExtensions to WebRenderTreeBuilderExtensions 2019-10-01 14:49:59 -07:00
Steve Sanderson 0d30083aab E2E tests for navigation+preventDefault 2019-10-01 14:49:59 -07:00
Steve Sanderson 6f8b31bdb1 Move navigation preventDefault tests to their own page 2019-10-01 14:49:59 -07:00
Steve Sanderson 62f596c2bd Actual event bubbling E2E tests 2019-10-01 14:49:59 -07:00
Steve Sanderson eab8ba85b9 Make navigation+bubbling interactions work like native 2019-10-01 14:49:59 -07:00
Steve Sanderson 47d1ffce05 E2E scenario code for preventDefault+navigation 2019-10-01 14:49:59 -07:00
Steve Sanderson 05c284fe26 Add some E2E scenario code for bubbling 2019-10-01 14:49:59 -07:00
Steve Sanderson 2339282e26 Update JS binaries 2019-10-01 14:49:59 -07:00
Steve Sanderson 580184d7de Rename "stop bubbling" to "stop propagation" for consistency with JS 2019-10-01 14:49:59 -07:00
Steve Sanderson 896feb49e9 Make navigation interception participate in synthetic event bubbling 2019-10-01 14:49:59 -07:00
Steve Sanderson cdef672310 Fix newly-created bug with 'on' prefix mismatch 2019-10-01 14:49:59 -07:00
Steve Sanderson d2887ccc1c Update JS binaries 2019-10-01 14:49:59 -07:00
Steve Sanderson 86a8dcfe10 Implement actual "prevent default" 2019-10-01 14:49:59 -07:00
Steve Sanderson e7e2dedf5d Implement actual "stop bubbling" 2019-10-01 14:49:59 -07:00
Steve Sanderson 31ee4a8daf Simplify: once we start tracking event info for a given element, there's no real value in deleting that tracking info later 2019-10-01 14:49:59 -07:00
Steve Sanderson 3cd4726c76 Keep track of preventDefault/stopBubbling flags on JS side 2019-10-01 14:49:59 -07:00
Steve Sanderson 3249dce498 Refactor EventHandlerInfosForElement storage to avoid ad-hoc assumptions about storage formats 2019-10-01 14:49:59 -07:00
Steve Sanderson e6f183e39e Add RenderTreeBuilder extension methods for "prevent default" and "stop bubbling" 2019-10-01 14:49:59 -07:00
Ajay Bhargav Baaskaran ef8830ffec Update baselines to unbreak tests (dotnet/aspnetcore-tooling#1184)
\n\nCommit migrated from 0d1e0d6eba
2019-10-01 13:59:41 -07:00
N. Taylor Mullen 1e9c0f01af Add Blazor partial class support in Visual Studio. (dotnet/aspnetcore-tooling#1182)
- No longer mark declaration files as single file generators. Prior to this we relied on SingleFileGenerators to dynamically update the declaration files when .razor files changed. However, to make partial classes work we can no longer depend on declaration files being available because their existence causes us to have to mangle class names for opened documents; otherwise you get two files with same name and result in ambiguous definition errors.
- Stopped including declaration files as part of the users compilation. This was intended to make the design time experience operate more similar to how Blazor apps function at runtime (directly access each component instead of their declarations). We now rely on the background code generation effort built from the find all references work to supply users with strongly typed component names.
- Stop mangling class names for Visual Studio. Razor.VSCode has its own set of configurations which i'm not addressing as part of this changeset.
- Start generating components with the partial modifier to their class name to enable partial class support.
- Updated existing tests to expect partial modifier.

aspnet/AspNetCoredotnet/aspnetcore-tooling#5487\n\nCommit migrated from 73858cdd37
2019-10-01 13:59:33 -07:00
William Godbe db4087769e
Merge pull request #14535 from aspnet/Baseline30
Update package baseline
2019-10-01 12:14:46 -07:00
Doug Bunting 903b9d3333
Undo unintended change to alpha2 branding 2019-10-01 12:12:56 -07:00
Doug Bunting 72107a5d15
Merge branch 'release/3.1' into 'master' 2019-10-01 11:27:50 -07:00
wtgodbe fa21e53dd9 Revert to GA SDK 2019-10-01 11:01:22 -07:00
William Godbe 25c82efdd3 Merge pull request dotnet/extensions#2411 from dotnet-maestro-bot/merge/release/3.1-to-master
[automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from 88641b5021
2019-10-01 10:30:36 -07:00
Doug Bunting a81b67588a
Update branding to 3.1.0-preview2 (#14563) 2019-10-01 09:09:31 -07:00
Doug Bunting 3a07534d25
[release/3.1] Fix the badness and get this branch building (#14594) 2019-10-01 08:13:59 -07:00
Ajay Bhargav Baaskaran 0d5d6e7db6 Update baselines to unbreak tests (dotnet/aspnetcore-tooling#1184)
\n\nCommit migrated from 49542e0488
2019-09-30 22:13:12 -07:00
Doug Bunting 6a50b16a79
Update branding to 3.0.1 (#14404)
- includes workarounds that should be removed or improved ASAP
  e.g. f219a38288 and fd34e14f4a
2019-09-30 21:07:16 -07:00
N. Taylor Mullen 5acc0ae288 Add Blazor partial class support in Visual Studio. (dotnet/aspnetcore-tooling#1182)
- No longer mark declaration files as single file generators. Prior to this we relied on SingleFileGenerators to dynamically update the declaration files when .razor files changed. However, to make partial classes work we can no longer depend on declaration files being available because their existence causes us to have to mangle class names for opened documents; otherwise you get two files with same name and result in ambiguous definition errors.
- Stopped including declaration files as part of the users compilation. This was intended to make the design time experience operate more similar to how Blazor apps function at runtime (directly access each component instead of their declarations). We now rely on the background code generation effort built from the find all references work to supply users with strongly typed component names.
- Stop mangling class names for Visual Studio. Razor.VSCode has its own set of configurations which i'm not addressing as part of this changeset.
- Start generating components with the partial modifier to their class name to enable partial class support.
- Updated existing tests to expect partial modifier.

aspnet/AspNetCoredotnet/aspnetcore-tooling#5487\n\nCommit migrated from ecb3b1bdf0
2019-09-30 19:40:34 -07:00
Doug Bunting c31c5143be
Create missing directory and simplify workaround slightly 2019-09-30 19:16:36 -07:00
Doug Bunting fd34e14f4a
Create missing directory and simplify workaround slightly 2019-09-30 19:15:53 -07:00
Doug Bunting 219b528ac2
Create missing directory and simplify workaround slightly 2019-09-30 19:14:00 -07:00
Doug Bunting 477fa8ce4c
Find or install Tar on CI
- work around dotnet/core-eng#7970
- install Git in repo if Tar can't be found in usual locations
- use found or installed Tar in Microsoft.AspNetCore.App.Ref project
  - copy into repo from wherever it's found
- add lots of `Write-Host` debugging

nit: clean up / comment on VS Code warnings about build.ps1
2019-09-30 16:09:12 -07:00
Doug Bunting 111462e0c2
Use a response file for GenAPI commands
- work around dotnet/arcade#4021
2019-09-30 16:09:10 -07:00
Doug Bunting f219a38288
Find or install Tar on CI
- work around dotnet/core-eng#7970
- install Git in repo if Tar can't be found in usual locations
- use found or installed Tar in Microsoft.AspNetCore.App.Ref project
  - copy into repo from wherever it's found
- add lots of `Write-Host` debugging

nit: clean up / comment on VS Code warnings about build.ps1
2019-09-30 16:05:43 -07:00