Commit Graph

22 Commits

Author SHA1 Message Date
Steve Sanderson b049c7f574 Fix diffing for consecutive text nodes 2018-01-23 09:43:14 -08:00
Steve Sanderson df321b9b8d Make RenderTreeEdit specify which sibling node it acts on, so we can eliminate the Continue concept and no longer track indices on JS side 2018-01-22 20:17:32 -08:00
Steve Sanderson 5435582c0e Update rendering APIs to supply the diff as well as the final state 2018-01-22 08:54:03 -08:00
Steve Sanderson bea15241f2 Various renames of diff-related types, plus XML docs for newly-public types. 2018-01-22 08:31:07 -08:00
Steve Sanderson 7c30d51be9 In tree diffs, omit trailing Continue entries and skip over unmodified subtrees 2018-01-22 01:55:10 +00:00
Steve Sanderson b021e19598 In diffing, support elements with descendants 2018-01-21 21:30:01 +00:00
Steve Sanderson 0a5e27fdcf Support diffing attributes. This required tracking 'sequence' values on attributes too. 2018-01-21 20:57:11 +00:00
Steve Sanderson 7a1abbaca3 In tree diffing, better handle scenario where both old and new sequences loop back but to different locations 2018-01-21 19:37:34 +00:00
Steve Sanderson 6b37494e7c Begin on RenderTree diffing. Doesn't yet recurse into elements to handle attributes/children. 2018-01-21 18:53:09 +00: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 5949045319 In RazorCompiler, support expressions with non-string or null values 2018-01-16 16:30:29 +00:00
Steve Sanderson 3a7b6b2178 In Razor compiler, support attributes with interpolated expressions 2018-01-16 15:24:34 +00:00
Steve Sanderson 7e40427ffe Razor compilation: Support text literals and C# code 2018-01-15 23:11:48 +00:00
Steve Sanderson 34d3eb5b72 Unit tests for Renderer 2018-01-09 17:21:50 +00:00
Steve Sanderson 07e31c6318 Unit tests relating to Renderer GC behavior 2018-01-09 15:08:27 +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 0db6f5cc5d Add concept of "attributes" to UITree. So far the values are only allowed to be strings, but this will have to change later. 2018-01-05 17:28:26 +00:00
Steve Sanderson 5e25ab16a2 Add unit tests for UITreeBuilder 2018-01-04 15:25:14 +00:00