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

280 Коммитов

Автор SHA1 Сообщение Дата
Lbugnion 1718448db9 Refactoring tests, adding BindingToListTest for Android. 2017-10-08 16:45:36 +02:00
Lbugnion 9d6d5ea145 Fixing issue with CreateCell delegate in ObservableTableViewSource (BL0002.001) 2017-10-08 16:44:36 +02:00
Lbugnion 8ca9ab36f5 Adding .NET Standard version, Removing old unsupported frameworks, Adding VS2017 2017-10-08 16:43:08 +02:00
Lbugnion 822eb34e32 Adding UWP project (instead of old Win8.1) 2017-10-08 16:38:32 +02:00
Lbugnion 7d400cfc4c Fixed VerifyPropertyName to find properties in the base types in UWP. 2017-10-08 16:32:59 +02:00
Lbugnion f46a9fb15c Adding KeepTargetAlive for weak references. See http://galasoft.ch/s/mvvmweakaction 2017-10-08 16:31:54 +02:00
Lbugnion b1a6b1df29 Refactoring design mode detection. 2017-10-08 16:26:43 +02:00
Laurent Bugnion 2c435dfc32 Added tag V5.3 Nuget for changeset bc9a1c630cea 2016-04-23 23:43:52 +02:00
Laurent Bugnion 81a5ff267b Updated nuspec and added AndroidSupport.nuspec. 2016-04-23 23:43:39 +02:00
Laurent Bugnion b224fb07ed Fixed Issue 7706: Error in Install.ps1 2016-04-23 23:42:25 +02:00
Laurent Bugnion cbbc65843d Added tag V5.3 source code for changeset 366d8f43f0de 2016-04-23 23:39:10 +02:00
Laurent Bugnion a5ab76622c Versioning to V5.3 2016-04-23 23:38:52 +02:00
Laurent Bugnion dd58160d52 Renaming field for consistency with ObservableRecyclerAdapter. 2016-04-23 23:37:49 +02:00
Laurent Bugnion 52e973214c Added support for RecyclerView with ObservableRecyclerAdapter, CachingViewHolder
and supporting extension methods. Note that this is a separate assembly
because of the required Support.V7 reference. It will also be a separate
Nuget package.
2016-04-23 23:36:32 +02:00
Laurent Bugnion 97993a304d Deleted Silverlight 4, Windows Phone 7.1 and Windows 8 from solution. 2016-04-23 23:12:25 +02:00
Laurent Bugnion 7f3e72a593 Added BindingThreadingTest 2016-04-20 23:48:54 +02:00
Laurent Bugnion c4eb36471e Added some documentation and cleaning up. 2016-04-20 23:47:19 +02:00
Laurent Bugnion e289bfaa29 Added UITextField and UISwitch as UI elements that are recognized by
the SetCommand and by the Binding class for their default event.
2016-04-20 23:43:52 +02:00
Laurent Bugnion 8e3ec926fe Removed some unnecessary calls to CanExecute 2016-04-20 23:40:48 +02:00
Laurent Bugnion 48064a528d Modified SetCommand to allow avoiding explicit type parameter when using an
Android CheckBox and the default CheckedChange event.
2016-04-20 23:38:18 +02:00
Laurent Bugnion 0f60739e36 Added XML doc specifying that closures will cause issues with WeakActions
(Messenger, RelayCommand, Binding).
2016-04-20 23:15:28 +02:00
Laurent Bugnion 201c3e0384 Added branding to the Sample and Test applications.
Updated NavigationIosStoryboard sample to reflect the new GetAndRemoveParameter method
and the Configure-less navigation to a storyboard.
2016-02-12 19:25:59 +01:00
Laurent Bugnion baaee9b080 Update NavigationService (iOS) to navigate to a storyboard even if Configure was not called. 2016-02-12 19:09:13 +01:00
Laurent Bugnion 9756cef936 Added unit test for two way binding with conversion. 2016-02-12 10:29:18 +01:00
Laurent Bugnion b7495083f3 Added ObservableTableAndCollectionViewSource sample 2016-02-11 17:21:28 +01:00
Laurent Bugnion e1358e670f Added ObservableTableViewSource and ObservableCollectionViewSource with corresponding
extension methods and unit tests.
2016-02-11 17:20:20 +01:00
Laurent Bugnion 7a2877bf34 Exposing a new way in iOS to get a navigation parameter from a controller. You can
now call NavigationService.GetAndRemoveParameter(UIViewController) which returns
the parameters that had been passed to the NavigateTo method of the NavigationService.
The ControllerBase class is now deprecated, as it was too limiting to create controllers
that had to derive from it.
2016-02-11 17:07:08 +01:00
Laurent Bugnion 4d174aea9d Fixing an issue in the Binding when using a binding with a source
but without a target (for Command binding).
Adding unit tests for Binding Value and ValueChanged.
2016-02-11 16:59:36 +01:00
Laurent Bugnion 5f183bad19 Some code cleanup 2016-02-11 10:08:53 +01:00
Laurent Bugnion f690ec2cf0 Some cleanup, copyright info, etc. No features. 2016-02-03 19:19:36 +01:00
Laurent Bugnion 21c7c0c312 Exposing the NavigationController in iOS NavigationService for convenience. 2016-02-03 19:06:27 +01:00
Laurent Bugnion 985fa189fa Added custom reuseId to GetController<T> (iOS) 2016-02-03 19:05:29 +01:00
Laurent Bugnion 1a9880b8c6 Issue 7698: Android NavigationService GetAndRemoveParameter doesn't remove the parameter 2016-02-01 23:26:29 +01:00
Laurent Bugnion ec3986d412 New unit test 2016-02-01 23:26:07 +01:00
Laurent Bugnion 211c05a45d Fixing issue where a cast exception in the Converter could cause the app to crash.
Added unit tests for the Binding converters.
2016-01-31 14:35:45 +01:00
Laurent Bugnion 67f716044a Fixing recursive setting of source and target value when converters are used in both directions. 2016-01-30 18:01:57 +01:00
Laurent Bugnion 8c303b19ab Adding unit tests for Binding in Android and iOS 2016-01-29 18:31:56 +01:00
Laurent Bugnion af6d43a785 Fixed: Issue 7688: Bindings not working in iOS 2016-01-29 18:31:35 +01:00
Laurent Bugnion 767400f4db Fixed a reference in test project 2016-01-29 18:30:10 +01:00
Laurent Bugnion 5327f601fc Added improvement to Binding system: supporting local variables, public and provate properties,
public and private fields as top source and top target of binding.
Added multiple unit tests for source and target, deep path, etc.
2016-01-27 23:21:39 +01:00
Laurent Bugnion a4232403cc Bug fix with implicit event on Bindings 2016-01-23 18:40:52 +01:00
Laurent Bugnion 4b51532a31 Added TargetNullValue for Binding (used when the Source property is null).
Added FallbackValue for Binding (used when there is an error in the binding resolution)

Added a SetCommand overload without an eventName parameter: Works for Button.Click (Android),
CheckBox.CheckedChange (Android), UIButton.TouchUpInside (iOS), UIBarButtonItem.Clicked (iOS).

Added a SetCommand overload with a value for CommandParameter. SetCommand now
supports binding for CommandParameter (in case the value changes) and a non changing value.
--> public static void SetCommand<T>(
    this object element,
    RelayCommand<T> command,
    T commandParameter)

Modified SetCommand (non generic) to support ICommand instead of RelayCommand.

Replaced UpdateSourceTrigger with ObserveSourceEvent, and UpdateTargetTrigger with
ObserveTargetEvent. The old names were too confusing. UpdateSourceTrigger and UpdateTargetTrigger
are still there but marked Obsolete.

Cleanup up and refactored the Binding class in partial classes for neatness.

Added a bunch of unit tests for iOS and Android (not all features are unit tested yet but it's a good start).

Renamed solution Galasoft.MvvmLight (VS2013) in Galasoft.MvvmLight (VS2015).
2016-01-23 17:43:53 +01:00
Laurent Bugnion d3a603de38 Issue 7701: RaisePC public ?
NOTE: This can be a breaking change if you were overriding RaisePropertyChanged
in your code before.

Issue 7564: The RaisePropertyChanged Overloads Contain Duplicate Code.
This is solved now in ViewModelBase and ObservableObject. All calls are routed
through ObservableObject.RaisePropertyChanged(string). If you override this method only in your VMs,
it will always be called if you call any of the Set methods, RaisePropertyChanged(string)
or RaisePropertyChanged(Expression).
2016-01-17 21:18:56 +01:00
Laurent Bugnion 7d8ac1ec1e Fixing: Android: Binding UpdateSourceTrigger with LostFocus crashes the app
Fixing: Binding UpdateSource/TargetTrigger set manually does not overwrite default value of event
Adding missing System.Runtime and System.Threading.Tasks references to Android
V5.2.1
2015-10-18 22:16:16 +02:00
Laurent Bugnion 0132cfe17c Small update to Flowers sample 2015-08-31 17:35:31 +02:00
Laurent Bugnion 81cf21a3a4 Added navigation sample for Android 2015-08-31 17:35:06 +02:00
Laurent Bugnion ff853cf61d Updated Windows 10 universal project template and VSIX 2015-08-31 17:34:20 +02:00
Laurent Bugnion 83998a7d3e Updated iOS project template (VS15) 2015-08-31 17:15:39 +02:00
Laurent Bugnion bada7909da Updated Nuget install.ps1 2015-08-31 17:14:35 +02:00
Laurent Bugnion f93977bd04 Light cleanup 2015-08-28 11:46:51 +02:00