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

670 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho a2ae417c21 Merge branch '3.2.0' into 3.3.0 2018-09-20 16:08:21 +01:00
Shane Neuville fefdb9295c [Core] Propagate BindingContext changes to TitleView (#3823)
* [Core] Propagate BindingContext changes to TitleView

* [Tests] Move UI test to Core Unit Test
2018-09-19 21:07:05 -07:00
Shane Neuville f9a35c49ed [UITests] replace awaits with more reliable WaitForElement (#3835) 2018-09-19 21:06:51 -07:00
Shane Neuville 853bc79611
[UWP] implement Replace without reloading ListView (#3792)
-fixes #3788
* [UWP] implement Replace without reloading ListView
* [UWP] extract bindingcontext of new item for replace
2018-09-19 12:46:38 -06:00
Rui Marinho ad6d72eb16 [UITests] Isolate test 3408 2018-09-19 12:31:51 +01:00
Mohamed CHOUCHANE f9ad2a6bbe WPF - Fix Local store not persistant when restarting App (#3752)
-fixes #3541
* WPF - Fix Local store not persistant when restarting App
* Add UITest
* [Controls] Add automated UI Test
2018-09-18 10:37:35 -06:00
Rui Marinho 06fe1f2d45 Merge branch '3.2.0' into 3.3.0 2018-09-13 19:28:49 +01:00
Rui Marinho d23b48434d
[iOS] Fix NRE on ContextCell (#3714) fixes #3275
* [Controls] Add repo for issue #3275

* [iOS] Fix NRE when no gestures exist on table

* [iOS] Null check outside loop

* [iOS]Make sure to dispose/unhook when we are removed from UITableView.

* Update submodule

* [iOS] Don't double dispose ContextActionCell
2018-09-13 19:25:17 +01:00
Pavel Yakovlev cceee9ded6 Add TabStop/TabIndex (#2795)
* [Core, UWP, Android] support TabStop/TabIndex

* removing linq

* add iOS / MacOS implementation

* add WPF implementation
fixes UWP implementation

* - addressing comments
- improve test
- optimizations
- added previous tab direction in same tab group

* addressing comments

* [Android] support tabstop for pickers

* - moving shared code to a static class
- removed reflection

* ITabStop -> changed to internal, renamed, added in to fastRenderers

* Update ITabStop to be public
2018-09-12 21:20:46 -07:00
Rui Marinho ad8ac34d59
Fix tests (#3771)
* [ControlGallery] Wait for element and add timing to tests

* [iOS] Fix NRE on RenderPool
2018-09-13 01:37:04 +01:00
Pavel Yakovlev 2cbfaea53a [UWP] Fixes CollectionChanged events in ListView (#3323)
* fixes #3273

* [UWP] Fixes CollectionChanged events in ListView

* a wrapped collection is used only if the SourceItem is not ObservableCollection

* improve uitest

* fixed NRE in empty ListView

* added a sortable custom renderer for UItest

* minor refactoring

* fixed reset of not wrapped collections

* addressing comments

* [UWP] remove WinRT hack

* [UWP] add missing using and cleanup additional resources
2018-09-11 16:05:06 -06:00
Rui Marinho ddd914b7a1
Merge branch '3.2.0' 2018-09-11 17:38:29 +01:00
Pavel Yakovlev 9f97968334 [Android, iOS] Fixes layout compression causes (#3698) fixes #3624
* [Android, iOS] Fixes layout compression causes

* [iOS] improve UpdateNewElement method

* Fix build error hopefully
2018-09-11 14:32:50 +01:00
Rui Marinho a67621b21b
[UITest] Update Xamarin.UITest nuget package (#3632)
* [UITests] Update Xamarin.UITest 2.2.5

* [UITests] Try fix Toolbaritems

* [UITest] Update to 2.2.5-1606

* [UITests] Small Fixes and workarounds to make uitest happy

* [UITests ] Add delay to 1733 for API28
2018-09-07 18:14:44 +01:00
Shane Neuville 3a0ccccc5c [UWP] uncomment tests that are now passing for 3188 (#3723) 2018-09-06 16:20:13 +01:00
Rui Marinho ec76761e3c [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518)
* [Controls] Add repo of issue #3408

* [iOS] Unsubscribe CellPropertyChanged when cell is disposed

* [Controls] Add issue to project

* [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers

* [Controls] Simplify Issue

* [iOS] Remove PropertyChanged that was not used

* [Controls] add check for null binding on template, add notes about issues

* [Controls] added reference to Android crash

* [iOS]Use existing PropertyChanged on ViewCelRenderer

* [iOS] Keep the existing override so we don't break users

* Update TextCellRenderer.cs

* update submodule
2018-09-05 15:04:02 -07:00
E.Z. Hart d6aba7938c [Android] Support multiple clipping settings in single layout (#3559)
* Repro

* Fix for API 18+
2018-09-05 11:15:29 -07:00
Rui Marinho 181b1ae57d
Merge branch '3.2.0' 2018-09-03 12:28:59 +01:00
Pavel Yakovlev 9ad4cb858f [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 2018-09-03 11:46:11 +01:00
Rui Marinho 6c94e6e0c8
[iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139
* [Controls] Add reproduction and test case for issue #3413

* [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3

* [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width

* [Controls] Fix spelling and add Manual Review to the test of #3413

* [iOS] Simplify code for UISearchBar width

* [iOS] Return always some width from measure the UISearchBar on IOS

* [Controls] Add reproduction case for issue #2139
2018-09-03 10:36:54 +01:00
Samantha Houts 7422cb8b17 Merge branch '3.2.0' 2018-08-31 14:19:27 -07:00
Samantha Houts a8260b0075 [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633
* Add repro for #3343 + unit tests

* [Core] Disallow negative values for CursorPosition/SelectionLength

* [All] CursorPosition/SelectionLength can bindin ctor & clear value

fixes #3343

* typo

* cleanup

* [iOS] Cursor snaps to end

* try/catch
2018-08-31 18:20:30 +01:00
Shane Neuville 8f03f5ec5c [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643)
* [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases

* [Core] remove ChildGestureRecognizers when spans get removed

* [iOS] removed incorrect return from null
2018-08-31 12:32:37 +01:00
Rui Marinho 4301017bf6
Merge branch '3.2.0' 2018-08-29 10:28:29 +01:00
Shane Neuville 0a34ef1b4d
[iOS] fixes #3525 - add epsilon for float compare (#3654)
* [iOS] fixes #3525 - add epsilon for float compare and make region immutable

* [ControlGallery] spread out spans to account for click slop

* [ControlGallery] - adjust span slightly for android test

* [Core] remove private
2018-08-28 22:21:22 -06:00
Samantha Houts 11965c284c [iOS] iPad ActionSheet should always have a Cancel method (#3636)
* Add repro for #3049

* [iOS] iPad ActionSheet should always have a Cancel method

fixes #3049
2018-08-28 11:19:14 -06:00
Rui Marinho a94074463e
Merge branch '3.2.0' 2018-08-28 13:08:55 +01:00
Shane Neuville 4222ad2542 [C] Set binding context on Span Gestures (#3639)
* [Core] Set binding context on Span Gestures
* [Core] Simplify loop setting child binding context

- fixes #3524
2018-08-24 09:50:47 +02:00
E.Z. Hart 26c1d327f1 Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) 2018-08-17 11:15:05 +01:00
E.Z. Hart 6943f73e91 Change identifier for search bar in tests to avoid confusing UITests (#3574) 2018-08-16 18:41:53 +01:00
Rui Marinho be2681b4aa
[MacOS] Fix NRE whrn checking for existing MainMenu, fixes #3353 (#3511) 2018-08-09 10:54:14 +01:00
Samantha Houts bed2a0d2fa Merge branch '3.2.0' 2018-08-08 10:12:08 -07:00
Shane Neuville bbeb047084 [UWP] fixes #3507 account for null content (#3508) fixes #3507 2018-08-08 10:16:13 +01:00
Samantha Houts 8a760480a2 [Android] Prevent white flash when switching MainPage to new MasterDetailPage (#3283) fixes #1373
* Test rapid MDP swaps

* [Android] Prevent white screen flash

* [Android] Prevent crashes on rapid page swaps

* Shorten test time

* Preserve old code just in case

* Remove flaky test from main run

Confirmed that it doesn't ever crash on UITest

* More info in 1601 test

* Update NavigateToTestPage to await test cases page

This lets the page render and then clean itself up when we switch to the test case, which allows the test case for 1601 to actually render with a compressed layout after my change to Platform.

* Remove call to FragmentManager.ExecutePendingTransactions in MasterDetailContainer

this code was only added to prevent the page flicker, and it caused more issues than it solved.

* SetPage will now delay removing views until the new views are in place
2018-08-07 22:45:28 +01:00
Mohamed CHOUCHANE baf4a30199 [WPF] Fix FontFamily Assignment in platform specific project (#3225) fixes #2187 2018-08-07 15:35:25 +01:00
Sławomir Kulików 24c6e3bb75 [macOS] Navigating back from a complex page is highly inefficient (#3406) fixes #3001
* fixes #3001 [macOS] Navigating back from a complex page is highly inefficient

* fixes UITEST compilation
2018-08-07 13:11:17 +01:00
Rui Marinho d081105d4c
Merge branch '3.2.0' 2018-08-07 13:05:24 +01:00
Shane Neuville 3c3029db08
[Android] check if bitmaps have been GC'd (#3459)
* [Android] fixes #2004 check if bitmaps have been GC'd

* - Remove duplicate calls for handling background drawable

* - set _backgroundTracker to null
2018-08-06 11:27:22 -06:00
Pavel Yakovlev 5b291d7c00 [WPF] Fixes the order in which visual elements are transformed (#3327) 2018-08-06 17:59:09 +01:00
John VanSickle a447b5b1af Fix Entry Completed invocation logic for macOS (#3201) fixes #1650
The Completed event should be invoked when the user presses the return key only. Using NSTextField DidEndEditing is not favorable because pressing the Tab key will cause this method as well
2018-08-06 17:54:54 +01:00
Rui Marinho fa1df7bdcd Merge branch '3.2.0' 2018-08-06 17:05:11 +01:00
Pavel Yakovlev 1fe23fff8e [UWP] Fixes of calculation of heights in the MasterDetailPage (#2924) Fixes #1648
* [UWP] Fixes of calculation of heights in the MasterDetailPage

* addressing comments
2018-08-06 15:24:03 +01:00
Samantha Houts a7b4a47396 [iOS] Implement `ForceUpdateSize` for `TableView` (#3300) fixes #2842
* Add repro for #2842

* [iOS] Implement ForceUpdateSize for TableView

fixes #2842

* Revert changes to TableViewModelRenderer
2018-08-06 15:23:22 +01:00
Samantha Houts 4f696a3b6d [Android] BoxView should fall back to BackgroundColor (#3392) fixes #3342
* Add repro for #3342

* [Android] BoxView should fall back to BackgroundColor

* Fix test name

* Remove flaky test
2018-08-06 15:22:40 +01:00
Pavel Yakovlev 810ebac870 [UWP] Fixed freezing UI when scrolling the listview (#3439)
* [UWP] Fixed freezing UI when scrolling the listview
* fixes #3367
* added a comment in the UI test
2018-08-03 16:16:16 -06:00
Samantha Houts 21b26ac860 [Android] Prevent duplicate events from SwipeGestureRecognizer (#3443) fixes #3415
* Add repro for #3415

* [Core] Remove HasFlags from SwipeGestureRecognizer

* [Android] Prevent duplicate swipe events

fixes #3415

* Clean up test
2018-08-03 15:40:47 +01:00
ShaneN 1049a65056 Merge branch '3.2.0' 2018-08-02 15:55:15 -06:00
kingces95 1ee8e7d577
[iOS] WebView renderer that replaces UIWebView with WkWebView (#3346)
* wkwebview

* Remove default UITest

* PR changes
2018-08-01 22:45:49 -10:00
John VanSickle c9ef84345d Fix mac os Editor transparent color handling (#3218) 2018-08-01 18:43:21 +01:00
Pavel Yakovlev 15fe14d88f [Core] Fixed setting CornerRadius of button to 5 (#3441)
* [Core] Fixed setting CornerRadius of button to 5

* correction of typos

- fixes #3390
2018-08-01 09:08:07 +02:00