Commit Graph

44788 Commits

Author SHA1 Message Date
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
Doug Bunting f6eab78cd9
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:03:21 -07:00
Doug Bunting aa84cd643c
Use a response file for GenAPI commands
- work around dotnet/arcade#4021
2019-09-30 15:05:41 -07:00
Doug Bunting 0019148893
Update branding to 3.1.0-preview2 2019-09-29 11:58:17 -07:00
Doug Bunting bb7ad877a4 Merge branch 'master' into merge/release/3.1-to-master\n\nCommit migrated from eea24dd2cd 2019-09-28 23:53:30 -07:00
Ajay Bhargav Baaskaran 3dcc779659 Prefer child content over a matching component (dotnet/aspnetcore-tooling#1180)
* Prefer child content over a matching component

* feedback
\n\nCommit migrated from 9c83a09944
2019-09-27 14:27:10 -07:00
Ajay Bhargav Baaskaran 39d8e322d1 Fix misc attribute content sometimes getting ignored (dotnet/aspnetcore-tooling#1176)
\n\nCommit migrated from 8108f50021
2019-09-27 14:22:21 -07:00
William Godbe 735b89a399 Merge pull request dotnet/extensions#2413 from dotnet-maestro-bot/merge/release/3.0-to-release/3.1
[automated] Merge branch 'release/3.0' => 'release/3.1'\n\nCommit migrated from e7d326ec14
2019-09-27 13:52:52 -07:00
wtgodbe fb73cc1d81 Merge branches
\n\nCommit migrated from 9356c2770b
2019-09-27 13:13:49 -07:00
William Godbe 0a35cd7453 Merge pull request dotnet/extensions#2399 from aspnet/Basline
Update package baseline\n\nCommit migrated from af6cec94db
2019-09-27 13:04:08 -07:00
William Godbe 7776687a80 Merge pull request dotnet/extensions#2391 from aspnet/Embedded30
[release/3.0] Switch to embedded package icon\n\nCommit migrated from 2103a95fb3
2019-09-27 13:03:18 -07:00
wtgodbe cad1988572 Newer SDK 2019-09-27 12:49:10 -07:00
Doug Bunting 24fc9c0008 Add tests of `MetadataSerializer`
- #4914 (2 of probably 3 or 4)

nit: Use more `var`
2019-09-27 12:10:08 -07:00
wtgodbe 14eb9e3325 Temporarily try usi a preview9 sdk 2019-09-27 11:10:52 -07:00
Mikael Mengistu 68dcbe3990 Update SignalR transport protocol spec (#13916) 2019-09-27 10:24:54 -07:00