Steve Sanderson
2150820efe
Implement Blazor.navigateTo for triggering navigation from JS code, and use it in E2E tests
2018-03-16 16:55:46 +00:00
Steve Sanderson
d0731c337d
Add IUriHelper.NavigateTo
2018-03-16 11:19:09 +00:00
Steve Sanderson
a02ac60c8c
Fix selection on <select> box. Fixes #157
2018-03-16 10:27:26 +00:00
Javier Calvarro Nelson
700c2203c6
[ Fixes #66 ] Adds linking support to the build
...
* Switch the tasks used to generate the blazor output to be MSBuild based.
* Package the optimized mono runtime and the BCL inside a nuget package.
* Add opt-in support for linking the application on build.
* Make the whole build process incremental.
2018-03-14 11:23:43 +00:00
Steve Sanderson
649159e31d
Use real BCL System.Net.Http.HttpClient. Implements #159
2018-02-28 17:37:42 +00:00
Steve Sanderson
dd831b4552
In "fetch", don't pass a "body" value if there isn't one
2018-02-28 17:37:42 +00:00
Steve Sanderson
e3b995b933
Recompile Mono, updating MonoPlatform.ts to work with the newer version
2018-02-28 17:37:42 +00:00
Steve Sanderson
6995b974e9
Support @bind for textboxes and checkboxes
2018-02-26 14:39:56 +00:00
Steve Sanderson
8590f6e7a5
Remainder of initial HttpClient features plus E2E tests
2018-02-23 22:31:26 +00:00
Steve Sanderson
ea3a18af25
Add basic support for onchange
2018-02-23 14:02:55 +00:00
Steve Sanderson
891f2a14d0
Basic implementation of temporary HttpClient. Currently only supports GET requests and doesn't return HTTP headers.
2018-02-23 12:29:53 +00:00
Steve Sanderson
82bcf9172a
Convert the static UriHelper into a service, IUriHelper, and inject where needed
2018-02-23 10:35:28 +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
7370d748c6
Initial, minimal BrowserRouter implementation. No config besides subclassing yet.
2018-02-21 10:22:03 +00:00
Steve Sanderson
608da4c78b
Specifying entrypoint: Add tests and other stylistic tweaks
2018-02-19 14:22:03 +00:00
Eugene Bekker
1653e56b98
Adding ability to qualify the entry point of the main assembly
2018-02-19 14:11:25 +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
Eugene Bekker
b38718d77f
Require <script type="blazor-boot"> to define script injection location
2018-02-12 21:49:27 +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
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
33932f41fc
Replace "DescendantsEndIndex" concept with "SubtreeLength"
...
In other words, use relative addressing so that frame data is
independent of its position in the array
2018-02-07 10:27:32 +00:00
Steve Sanderson
aae72c8136
In RenderTreeFrame, use explicit [FieldOffset] to shrink the struct from 40 bytes to 28 bytes (in 32-bit mode) or 32 bytes (in 64-bit mode)
2018-02-04 23:23:34 +00:00
Steve Sanderson
f1332919bc
Rename RenderTreeNode -> RenderTreeFrame (and correspondingly, "node" ->
...
"frame" everywhere)
2018-02-04 22:21:29 +00:00
Steve Sanderson
50a5baa872
Dispose components on removal
2018-01-30 10:00:30 +00:00
Steve Sanderson
8839a6c558
In TypeScript, regard System_Array type as generic, even though the type param refers to the entry pointer type, not the element type
2018-01-29 22:07:16 +00:00
Steve Sanderson
855d93ce67
Improve TS annotations when calling readObjectField/readStructField
2018-01-29 21:47:55 +00:00
Steve Sanderson
c81d537ea3
Pass entire RenderBatch to JS side in one call
2018-01-29 21:43:49 +00:00
Steve Sanderson
080e6395cb
Move to batched rendering
2018-01-29 20:16:42 +00:00
Steve Sanderson
97d575f599
Refactor BrowserRenderer.ts to avoid tracking unnecessary child index stack
2018-01-29 12:56:41 +00:00
Steve Sanderson
1b4fa4781a
Give attribute nodes a single object-valued value so they can be used for component properties too.
2018-01-26 09:40:48 -08:00
Steve Sanderson
0aa164073d
Rename Microsoft.Blazor.* -> Microsoft.AspNetCore.Blazor.* everywhere
2018-01-24 15:48:38 -08:00