Commit Graph

431 Commits

Author SHA1 Message Date
Steve Sanderson 7ad88a9406 Fix ArrayBuilder capacity expansion bug 2018-02-16 10:10:13 +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 acc5b9461b Add ability to add component frame using runtime type object instead of generic param 2018-02-16 10:10:07 +00:00
Steve Sanderson 535b601d55 Multitargeted generate AngleSharp twice, so minimise the chance of either seeing the other in an incomplete state during build 2018-02-15 17:26:07 +00:00
Steve Sanderson b529f2b913 Avoid confusion with client apps not rebuilding after changing Blazor library code 2018-02-15 16:45:30 +00:00
Steve Sanderson af0085f550 Add *.cshtml for UpToDateCheckInput for VS 2018-02-15 16:14:48 +00:00
Steve Sanderson dcbd7a27eb Workaround file locked issue during build 2018-02-15 15:59:00 +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 e046dfca6d Build net461 Razor extensions target on Windows only 2018-02-15 10:20:51 +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 848f24536a Support "Region" frames in diffing 2018-02-14 23:41:24 +00:00
Steve Sanderson a9822216f1 Add the concept of a "Region" render tree frame 2018-02-14 23:41:24 +00:00
Ryan Nowak 043e623d5b Split Razor extensibility into its own assembly
This functionality will need to cross-compile to desktop framework
(net461) so that we can use it in VS. VS doesn't yet have netstandard2.0
support.
2018-02-14 14:08:14 -08:00
Steve Sanderson 86500ce761 Fix MonoSanityTest instability 2018-02-14 18:23:08 +00:00
Steve Sanderson b7bbacf4ed Skip MonoSanityTest due to instability since Chrome update 2018-02-14 16:27:24 +00:00
Steve Sanderson 5f41779b3e Fix use of Chrome Headless on Travis macOS builds 2018-02-14 16:27:24 +00:00
Steve Sanderson 94261ded25 Fix RazorCompilerTest on Mac/Linux 2018-02-14 13:08:39 +00:00
Steve Sanderson 83b90d1980 Update AppVeyor/Travis configs to run on .NET Core, enable selenium
tests, etc.
2018-02-14 13:08:39 +00:00
Ryan Nowak bc7226ba27 Fix AppVeyor and travis 2018-02-14 13:08:39 +00:00
Ryan Nowak 51f10e1921 Add (empty) VSIX and language services projects 2018-02-13 15:36:44 -08:00
Steve Sanderson b834f3b35b Use Razor component in HostedInAspNet.Client 2018-02-13 19:58:39 +00:00
Steve Sanderson af98672b17 Remove redundant WeakValueDictionary 2018-02-13 19:52:44 +00:00
Steve Sanderson 0eb0555303 Eliminate IComponent.BuildRenderTree to guarantee that components are only rendered by themselves 2018-02-13 19:47:37 +00:00
Steve Sanderson e061b98f9d In RazorCompilerTest, don't use BuildRenderTree directly (because it will soon be removed) 2018-02-13 17:18:06 +00:00
Steve Sanderson 70a3ee3d98 Remove externally-callable Renderer.RenderInNewBatch() now that rendering is triggered by components themselves 2018-02-13 17:06:00 +00:00
Steve Sanderson 804ab2d89f Add IHandleEvent concept so components can define their own lifecycle around events 2018-02-13 16:42:21 +00:00
Steve Sanderson a889cd3152 Beginning lifecycle methods on BlazorComponent 2018-02-13 15:55:37 +00:00
Steve Sanderson d98a6153f7 In RazorCompiler, have BuildRenderTree overrides call base implementation 2018-02-13 15:53:59 +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
Steve Sanderson 37217db73a Implement ParameterCollection 2018-02-13 13:14:55 +00:00
Steve Sanderson 695ddc0fd6 Add Init/RenderHandle concepts so components can rerender themselves arbitrarily (e.g., after internal state change) 2018-02-13 11:49:33 +00:00
Steve Sanderson 7bb4bbbe5c In IndexHtmlFileProvider, preserve original source formatting 2018-02-12 23:05:47 +00:00
Eugene Bekker b38718d77f Require <script type="blazor-boot"> to define script injection location 2018-02-12 21:49:27 +00:00
Dmitry Dizhevskiy d6d7a5b1c5 replaced backslashes with common slashes 2018-02-10 20:15:51 +00:00
Steve Sanderson e37e22aa27 Further renderer refactoring 2018-02-10 10:55:44 +00:00
Daniel Roth d8ae9fd478 Update link to live Blazor app 2018-02-09 10:57:25 -08:00
Steve Sanderson 5a9c41af0e Make AngleSharp not strong-named. Change assembly name to Microsoft.AspNetCore.Blazor.AngleSharp to ensure no conflicts with other usages. 2018-02-09 17:37:21 +00:00
Steve Sanderson 15ddcd03b0 Major refactor of responsibilities in rendering code. Not quite done
with this yet either.
2018-02-09 14:50:07 +00:00
Steve Sanderson 91314ee8c8 Rename RenderTreeDiffComputer -> RenderTreeDiffBuilder 2018-02-08 15:50:14 +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
Henk Mollema 1e37943c31 Fix broken Markdown link 2018-02-07 09:28:40 -08:00
user1336 65eda078ae Fix broken markdown link 2018-02-07 09:18:40 -08:00
Mark Gaze 89796cae2c Fixed BlazorBuildToolsExe path to remove backslash in path, (missed in PR #43) 2018-02-07 16:30:26 +00:00
Mark Gaze 5a4bc2e6d6 Added quotes to paths in build that cause the build to fail when directory has a space in the path #44 2018-02-07 16:30:26 +00:00
Daniel Roth 4a9d75e2b5 Add third party notices file 2018-02-07 02:32:35 -08:00
Brian Allred 5da3c172b5 Make build target path platform agnostic 2018-02-07 10:27:33 +00:00
Lachlan B d9ad8eca81 update contributing.md
changed "your" to "you're"
2018-02-07 10:27:33 +00:00