Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-17[Core] Initial variant supportEric Maupin
This adds support for creating new variants and having them show up in the property list. Still todo: - AsyncWork guard more of PropertiesVM + add tests - Error display for failing to create a variant
2018-10-17[Core/Win] CreateVariantEric Maupin
2018-10-17[Tests] Add Variation propertyEric Maupin
2018-10-17[Tests] Don't return neutral variationsEric Maupin
2018-10-17[Core] PropertyVariationSetEric Maupin
2018-10-17TyposEric Maupin
2018-10-11[Tests] Added Test to make sure 2nd search doesn't affect 1st results.Dominique Louis
2018-10-09[Tests] Fixes for failing tests.Dominique Louis
2018-10-09[Tests] Do not crash out the VSM test runnerAlan McGovern
2018-10-09[Tests] Ensure async void exceptions propagate correctlyAlan McGovern
This should ensure that exceptions thrown inside async void methods do get rethrown as part of the Teardown of a given test. This removes the eventhandlers on AppDomain.UnhandledException and also removes the second SyncContext implementation which did not capture/propagate the exceptions.
2018-10-09[Mac] Initial implemention of Thickness Editor.Dominique Louis
2018-10-04[Tests] We generally don't check correctness of property changedEric Maupin
As long as it signals when something potentially changed, that's good enough. Any consuming code should still operate correctly if it signals a change when there wasn't one, it's just a perf it. We can revisit if the perf hit ever becomes noticeable.
2018-10-04[Tests] Ensure IsInputEnabled is coveredEric Maupin
2018-09-28[Core/Win] Add input modesEric Maupin
2018-09-28[Tests] Better converter from nullable to normal #Eric Maupin
2018-09-21Add `CommonColor.ToArgbHex`, throw in some additional tests for good measure.Bertrand Le Roy
2018-09-18[Core] If unconstrained, respect ValueDescriptorEric Maupin
The placement of this is important. Since the value type is likely an enum, it's not going to have an out of bounds default() value. So, despite only setting the ValueDescriptor, Value will still look like a valid value, so ValueDescriptor takes presedence.
2018-09-17[Tests] Add unconstrained enum to test propertiesEric Maupin
2018-09-05Merge pull request #379 from xamarin/ermau-autocompleteEric Maupin
Basic autocomplete support
2018-09-05[Core] Add custom expression autocomplete supportEric Maupin
2018-09-05[Core] Add ICompleteValuesEric Maupin
This is the most basic version of this to support the status quo for Android. The hard part is really the UI, so this will get us a significant part of the way towards a more robust version.
2018-08-31[Core] Handle no-editors in CollectionPropertyViewModelEric Maupin
Fixes #294
2018-08-23[Win] Fix canceled Add Type resultEric Maupin
Also fixes Add not having a restriction. Fixes #367
2018-08-17[Tests] Fix resource setting in mock editorEric Maupin
2018-08-17[Tests] Eliminate warning skipEric Maupin
2018-08-17[Test] Fix resource based testsEric Maupin
2018-08-08[Mac] Initial CommonRatio implementation.Dominique Louis
2018-07-31Remove ChangingResourceProviderUpdatesResrouces test as it no longer appliesLarry Ewing
2018-07-31Reenable resource testsLarry Ewing
2018-07-31Remove ResourceProvider from PropertyViewModelLarry Ewing
2018-07-20[Core] Do not notify in groupsEric Maupin
Weirdly enough, WPF doesn't support the group notices that it introduced. Fixes #340
2018-07-19[Tests] Move brush properties downEric Maupin
2018-07-19Merge pull request #345 from xamarin/ermau-bindingsEric Maupin
Bindings editor
2018-07-19Merge pull request #337 from xamarin/ermau-object-vmEric Maupin
Add source descriptor and rebase object VM
2018-07-19[Core/Win] BindingsEric Maupin
2018-07-19[Core] Add ValueConverterEric Maupin
2018-07-19[Tests] Fix AsyncSynchronizationContextEric Maupin
We don't actually need the complicated version of this that seemed flawed. We just need to provide a context and execute the calls. We may need to make this more like the original later, but we're generally not executing things off-thread within our VMs.
2018-07-19[Core] Swap known/property mappingEric Maupin
2018-07-19[Core] IEditorProvider.GetChildrenAsync (object)Eric Maupin
2018-07-19[Core] IPropertyInfo.RealTypeEric Maupin
2018-07-19[Core] GetPropertiesForTypeAsyncEric Maupin
2018-07-19[Tests] Move more Panel test to base PropertiesEric Maupin
2018-07-19[Core] Fix null editorsEric Maupin
This re-fixes null editors from the last commit, but also fixes nulls past the first one.
2018-07-19[Core] TypeName -> TargetTypeEric Maupin
This moves away from a straight name on the IObjectEditor to a ITypeInfo describing the type. As this is currently expect to be non-null, it was added to the tests (as well as some missing .Target assignments). Caught up in this change were some tests being moved down a rank from PanelViewModelTests to PropertiesViewModelTests.
2018-07-19[Core] Add known property/type APIsEric Maupin
2018-07-19[Core/Win] Create resource core/windowEric Maupin
2018-07-19[Docs] Add extra documentation around value/source descriptorsEric Maupin
2018-07-19[Core] Move ObjectPropertyViewModel base to PVM<object>Eric Maupin
We don't really need this to be separate, it only helped to diverge capabilities that arrived in the base value view model but not in the object one. While it might be a little weird to have Value available for something that is meant to be edited at a sub-property level, it wouldn't be the first VM that has a separate "real" value property and we actually do need a PVM<object> that we can set the value on for bindings. This also moves the assignable types request to be fired only when actually requested.
2018-07-19[Core] Split SourceDescriptor out from ValueDescriptorEric Maupin
ValueDescriptor ended up being used for overlapping purposes: binding/resources for the source but then for some values like objects and predfined values it had extra information not contained in the Value. SourceDescriptor was added to hold things like bindings or resources that describe where the value came from, while ValueDescriptor will continue to hold extra details about the value. There were two possible approaches to this, to add the object property as-is in this commit, or to add bespoke properties for a Resource and Binding. Ultimately both approaches have fairly similar level pros and cons. What it ended up coming down to for me is that these properties are mutually exclusive. While we can guard against this in a few ways (target the same backing property, throw an exception), both of these cases require extra code to be mindful of in some usage where it does not with a single property, or worse it is silently unexpected behavior. While it is cleaner to not have to cast, the risk of introducing extra code complexity for the sake of structure tips the scales.
2018-07-18Alphabetize propertiesLarry Ewing