Steve Sanderson
c50f089269
Update BasicTestApp
2018-03-14 11:23:41 +00:00
Steve Sanderson
649159e31d
Use real BCL System.Net.Http.HttpClient. Implements #159
2018-02-28 17:37:42 +00:00
Steve Sanderson
4bd3cd98d6
Simplify apps by moving some commonly used types into Microsoft.AspNetCore.Blazor namespace
2018-02-28 11:29:14 +00:00
Steve Sanderson
3e5381c17e
Rename .DevHost project to .Cli, and make it work as a DotNetCliTool
2018-02-27 12:17:35 +00:00
Steve Sanderson
6995b974e9
Support @bind for textboxes and checkboxes
2018-02-26 14:39:56 +00:00
Steve Sanderson
c0bf73234c
Tweak (to force rebuild, since Travis just tried to build a branch that was already deleted)
2018-02-23 22:42:10 +00:00
Steve Sanderson
8590f6e7a5
Remainder of initial HttpClient features plus E2E tests
2018-02-23 22:31:26 +00:00
Steve Sanderson
0bb32ad628
Move BrowserRouter -> Router in Microsoft.AspNetCore.Blazor now it has no browser-specific aspects
2018-02-23 10:49:03 +00:00
Steve Sanderson
fc9cb1af65
Add E2E tests for BrowserRouter, plus implement querystring/hash support
2018-02-21 10:22:03 +00:00
Steve Sanderson
8bc7c92683
Support hosting at non-root URL. Prove it by updating BasicTestApp to serve from non-root location.
2018-02-21 10:22:03 +00:00
Steve Sanderson
f649de2976
Support _ViewImports.cshtml files hierarchically
2018-02-18 23:57:20 +00:00
Steve Sanderson
0595251ac2
E2E test showing rendering of RenderFragment
2018-02-16 10:10:14 +00:00
Steve Sanderson
ad2c63ca37
Make OpenRegion/CloseRegion not public because they are only to support AddContent(seq, fragment)
2018-02-16 10:10:12 +00:00
Steve Sanderson
41aae0b7e6
Add ability to append RenderFragment into a RenderTreeBuilder
2018-02-16 10:10:11 +00:00
Steve Sanderson
29a6175ac1
Define RenderFragment concept
2018-02-16 10:10:10 +00:00
Steve Sanderson
1ac5ee25c1
Rename RenderTreeBuilder's AddText to AddContent, since it will be used for other types too
2018-02-16 10:10:08 +00:00
Steve Sanderson
2ebfddc237
Switch client apps to netstandard2.0 to fix type load errors
...
Do a "git clean -xdf" on your local copy if you get runtime errors after
updating to this.
2018-02-15 10:20:31 +00:00
Steve Sanderson
2da17602ed
Support "Region" frames in JS-side code
...
They only appear in a prepended subtree, because the .NET-side diffing
code resolves them out if they are top-level to any given edit
2018-02-14 23:41:25 +00:00
Steve Sanderson
a889cd3152
Beginning lifecycle methods on BlazorComponent
2018-02-13 15:55:37 +00:00
Steve Sanderson
861154764c
Introduce IComponent.SetParameters, moving parameter-setting and rerendering logic into component base class
2018-02-13 15:00:53 +00:00
Eugene Bekker
b38718d77f
Require <script type="blazor-boot"> to define script injection location
2018-02-12 21:49:27 +00:00
Steve Sanderson
e37e22aa27
Further renderer refactoring
2018-02-10 10:55:44 +00:00
Steve Sanderson
b8ed7bc2c5
Track event handlers via explicit IDs rather than by index into frames
...
array
2018-02-08 15:31:45 +00:00
Steve Sanderson
83fa72bc7e
Have RenderTreeDiff build its own array of referenced frames rather than pointing to the latest render tree
...
This is in preparation for supporting multiple diffs for the same
component in a single batch (which means we can't rely on there being at
most only new render tree per component)
2018-02-07 10:27:32 +00:00
Steve Sanderson
76dafa819f
Mechanism for components running logic when parents change their properties
2018-01-31 16:19:01 +00:00
Steve Sanderson
7799c36d50
Add E2E test to show adding and removing child components dynamically
2018-01-29 12:56:42 +00:00
Steve Sanderson
772e3a1a44
Clean up E2E tests now elements are retained via diffing
2018-01-29 12:56:41 +00:00
Steve Sanderson
4f496f649a
Add E2E test showing we can pass properties to child components and auto re-render them on change
2018-01-29 12:56:40 +00:00
Steve Sanderson
0aa164073d
Rename Microsoft.Blazor.* -> Microsoft.AspNetCore.Blazor.* everywhere
2018-01-24 15:48:38 -08:00
Steve Sanderson
23c2816bcd
Change ParentChildComponent test to use Razor. Add E2E tests showing events on child components work.
2018-01-24 11:04:30 -08:00
Steve Sanderson
2107a1927f
In RazorCompiler, support temporary <c:MyComponent /> syntax
2018-01-24 10:43:23 -08:00
Steve Sanderson
a0b354e0eb
Add concept of 'sequence' to RenderTreeNode. This is in preparation for diffing.
2018-01-21 11:51:26 +00:00
Steve Sanderson
d1f96153d3
Implement basics of @onclick()-type shorthand syntax
2018-01-16 18:01:06 +00:00
Steve Sanderson
946e25462e
In RazorCompiler, support @using statements
2018-01-16 17:17:22 +00:00
Steve Sanderson
7cd5228b7f
In RazorCompiler, support attributes whose values are C# code blocks (treated as event handlers)
2018-01-16 16:58:47 +00:00
Steve Sanderson
5949045319
In RazorCompiler, support expressions with non-string or null values
2018-01-16 16:30:29 +00:00
Steve Sanderson
8c2a32b87c
Remove a .csproj.user file that shouldn't be tracked in source control
2018-01-16 16:16:48 +00:00
Steve Sanderson
7bbb2b6660
In RazorCompiler, support attribute values of type UIEventHandler
2018-01-16 16:15:46 +00:00
Steve Sanderson
5aa6ccaff7
Convert TextOnlyComponent to Razor format
2018-01-16 12:36:10 +00:00
Steve Sanderson
80b371c647
In RazorCompiler, support string-valued attributes
2018-01-16 12:23:12 +00:00
Steve Sanderson
6585667ce6
Refactor most of the rendering logic into Microsoft.Blazor, keeping only browser-specific parts in Microsoft.Blazor.Browser
2018-01-09 13:33:49 +00:00
Steve Sanderson
674024ed61
Rename UITree -> RenderTree, UIEventInfo -> UIEventArgs
2018-01-09 09:55:14 +00:00
Steve Sanderson
5793bf700a
Add ability to render child components
2018-01-08 14:21:48 +00:00
Steve Sanderson
04c582647a
Add support for passing parameters to UI event handlers (e.g., which key was pressed)
2018-01-08 11:31:10 +00:00
Steve Sanderson
23f7120b75
Basic parameterless events support (e.g., button click)
2018-01-05 22:16:29 +00:00
Steve Sanderson
f7cb54121b
Add DOM rendering capability for attributes
2018-01-05 17:50:03 +00:00
Steve Sanderson
f0a78d13bf
Begin tracking association between components and DOM elements so that components can be refresh their own display
2018-01-05 14:31:06 +00:00
Steve Sanderson
dfd6c4a1c2
Begin E2E testing for BasicTestApp and component rendering in browser
2018-01-04 17:35:58 +00:00
Steve Sanderson
ce04fde7bd
Begin adding BasicTestApp for more E2E tests
2018-01-04 15:37:32 +00:00