Граф коммитов

188 Коммитов

Автор SHA1 Сообщение Дата
Eilon Lipton 27d48dc908 Remove all generics from main APIs
- They were almost entirely noise because the only place the generics mattered is on the [Native]ElementManager
- To make writing generic ElementManagers easier, a new generic ElementManager<T> was added
2019-09-26 14:26:43 -07:00
Eilon Lipton c7b0a3de15 Update App.cs 2019-09-26 14:01:49 -07:00
Eilon Lipton 2e1067fafe Collapsing IElementHandlerWithControl back into IElementHandler
It turns out all elements should have a target (maybe?)
2019-09-25 16:17:38 -07:00
Eilon Lipton a8a85d2aa0 Remove unused property 2019-09-25 14:37:49 -07:00
Eilon Lipton c516cb0bb3 More component/element renames 2019-09-25 13:48:24 -07:00
Eilon Lipton e149e2fa22 Split IElementHandler.NativeControl into new IElementHandlerWithControl interface 2019-09-25 13:46:38 -07:00
Eilon Lipton c67e9fe034 More renames to ElementHandler 2019-09-25 13:15:32 -07:00
Eilon Lipton a4c9682759 Massive rename for components/elements/controls
Hopefully this will make upcoming feature additions more logical. Hopefully.
2019-09-25 13:09:45 -07:00
Eilon Lipton 47cc1e632c Update variable names 2019-09-25 12:32:30 -07:00
Eilon Lipton f7873d1741 Add Todo item on Enter press 2019-09-24 16:38:55 -07:00
Eilon Lipton 562d4de49e Code cleanup, disable spurious warnings 2019-09-24 16:30:51 -07:00
Eilon Lipton 8886169c93 Fix build warnings; code cleanup 2019-09-24 16:23:40 -07:00
Eilon Lipton e208c8c05a Remove all unused XAML from Blaxamarin sample 2019-09-24 16:19:09 -07:00
Eilon Lipton 0381fc1728 Try to use MSBuild properly on Azure DevOps 2019-09-24 14:45:01 -07:00
Eilon Lipton 41843a80f9 Make everything build and pack using MSBuild 2019-09-24 14:33:34 -07:00
Eilon Lipton 490a71f8fe Remove code coverage steps 2019-09-24 11:51:00 -07:00
Eilon Lipton dc7fd448bb Make build Windows-only
- Can't build some assets on Mac/Linux currently
2019-09-24 11:44:55 -07:00
Eilon Lipton 53f2a90f14 Change dotnet restore path
Restore entire repo, not just 'src' folder
2019-09-24 11:26:41 -07:00
Eilon Lipton 97fd7b7e73 Add Library.Template tools 2019-09-24 11:20:43 -07:00
Eilon Lipton 2575d6069d Add Azure pipelines YML
- Build only 'src' folders
- Disable CS1591 doc warnings
2019-09-24 10:49:11 -07:00
Eilon Lipton 6e82d52e4f Move everything to 'src' and 'samples' folders 2019-09-23 16:48:56 -07:00
Eilon Lipton 6474992db8 Update to .NET Core 3 RTM 2019-09-23 11:37:30 -07:00
Eilon Lipton 65c9224a6a Clean up EmblazonAdapter
- Adjust access modifiers
- Clean up debug text
2019-09-20 16:18:49 -07:00
Eilon Lipton b7222f3c12 Remove unneeded IControlPropertyMapper
All native control handlers must implement INativeControlHandler, so might as well call INativeControlHandler.SetControlProperty() directly. (The Reflection code path was not used anymore at all.)
2019-09-20 16:07:21 -07:00
Eilon Lipton 0316d14bdf Add attribute helpers for Thickness and LayoutOptions 2019-09-20 15:19:29 -07:00
Eilon Lipton e2f90a9b91 Redo Element and ElementHandler hierarchy to match Xamarin.Forms 2019-09-20 14:33:04 -07:00
Eilon Lipton cb2195ee06 Remove all derived Xamarin.Forms controls
- For Blaxamarin, only default control types are used and IFormsControlHandler implementations delegate all work to an inner-created control.
- Started re-layering controls to match the real control hierarchy.
2019-09-18 13:52:40 -07:00
Eilon Lipton 3da5c09c40 Add support for TabbedPage and ContentPage
- And change Blaxamarin TodoApp to use a tabbed page to switch between Todo and Counter
2019-09-17 17:17:42 -07:00
Eilon Lipton dfc4532fe5 Simplify logic for Blaxamarin parent/child detection 2019-09-17 17:16:54 -07:00
Eilon Lipton 6f09e36f45 Use ScrollView for long Todo list 2019-09-17 15:24:32 -07:00
Eilon Lipton 1c4e039861 Create .editorconfig 2019-09-17 12:08:31 -07:00
Eilon Lipton 697d6f58e1 More code cleanup 2019-09-17 12:08:27 -07:00
Eilon Lipton daaae4077c Apply code cleanup 2019-09-17 12:05:31 -07:00
Eilon Lipton a0b640ac43 Suppress more code analysis warnings 2019-09-16 17:10:09 -07:00
Eilon Lipton 23d4dc4af8 Fix, disable, and ignore many code analysis warnings 2019-09-16 17:07:20 -07:00
Eilon Lipton e066fc9a71 Stop creating ContentPage when wrong content is being set on Application.MainPage
This was a hacky workaround and should instead just be an error.
2019-09-16 16:01:43 -07:00
Eilon Lipton 2c6cd47653 Change how root elements are created and how app content is parented
- Renderers no longer create the root control. All they do it *add* a given component to a given parent. The platform-specific code is in charge of creating the root component.
- This now avoids creating unnecessary wrappers (e.g. BlazorContentViewWrapper) that muddy the native control hierarchy
2019-09-16 16:01:15 -07:00
Eilon Lipton fe3413a55f Add Blaxamarin MasterDetailPage
- Also updated BlaxamarinTodoApp to use new MasterDetailPage and have Counter as an option
- Swipe from the left of the Blaxamarin app to show the "Master" page with choice of Todo or Counter
2019-09-16 15:54:33 -07:00
Eilon Lipton 3273c4639f Make BlinForms SplitterPanelBase internal
Might as well be internal, like its two derived types. It's used only programmatically by SplitContainer and never by the end-user.
2019-09-16 14:45:13 -07:00
Eilon Lipton 6248fb445b Update Blaxamarin to use C# 8 2019-09-16 14:44:41 -07:00
Steve Sanderson 4a55c28a7b Add named Panel1/Panel2 slots to SplitContainer 2019-09-16 08:53:27 -07:00
Eilon Lipton 7ede0f2c08 Remove unused commented code 2019-09-11 12:47:44 -07:00
Eilon Lipton 71e9233489 Add DI support to Blaxamarin
- Update Blaxamarin TodoApp to use injected AppState to store TodoItems list
2019-09-11 12:46:07 -07:00
Eilon Lipton 59bf6cca55 Add support for IBlinFormsStartup
- Register an instance of IBlinFormsStartup for user code to run at app start
- Updated BlinForms sample to use more DI services, have Dev/Prod configuration
2019-09-11 09:39:18 -07:00
Eilon Lipton 9f6430bd77 Use Generic Host to enable DI for BlinForms apps
- Wrap BlinForms startup logic in an IHostedService
- Update BlinForms TodoApp sample to use DI to store the counter state
2019-09-10 16:13:51 -07:00
Eilon Lipton 4dd96140e8
Update Readme.md 2019-09-09 17:03:01 -07:00
Eilon Lipton 34b440ee5a
Update Readme.md 2019-09-09 17:02:43 -07:00
Eilon Lipton 8ed686c08a Update Readme.md 2019-09-09 16:59:28 -07:00
Eilon Lipton 3a141b6120 Merge branch 'jon/comet' of https://github.com/xamarin/Emblazon into jon/comet 2019-09-09 16:43:20 -07:00
Eilon Lipton 21ece89f26 Fix rebase 2019-09-09 16:40:05 -07:00