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

2298 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho 0610191b3d Merge branch '3.2.0' 2018-08-15 20:19:45 +01:00
Rui Marinho 689a0bb9bc
[iOS] Fix sizing issue on MDP (#3515) fixes #3458
* [iOS] Fix sizing of MDP when rotating

* [Controls]Add a NavigationPage to MDP FlowDirectionGallery so we can have the toggle button
2018-08-15 20:06:16 +01:00
Stephane Delcroix 088d369739
[XamlC] Throws on duplicate x:Key (#3542)
Throws a XamlParseException on duplicate x:Key on RDs. This will find
duplicate in xaml, but duplicates can still happen if the RD is modified
in code. Those dupes are already detectd at runtime.

- helps, but doesn't fixes, #3512
2018-08-14 08:14:18 +00:00
Stephane Delcroix 884035ce8f Merge branch '3.2.0' 2018-08-13 11:19:01 +02:00
E.Z. Hart b01ba695e5
Update submodule 2018-08-10 10:30:23 -06:00
E.Z. Hart 4442d2b0c4
Update submodule 2018-08-10 09:35:43 -06:00
Rui Marinho e3b6e4755e Merge branch '3.2.0' 2018-08-10 12:09:55 +01:00
Rui Marinho 488a55329b
Update provisioning 2018-08-10 12:09:18 +01:00
Samantha Houts 22904ea560 [Android] Add ClearTop and NewTask flags when using Device.OpenUri (#3503) fixes #3477 2018-08-10 10:21:42 +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
Javier Suárez Ruiz 9ffa2f12c7 [GTK] Fixed problem disposing childs navigating back (#3116) Fixes #2987
* Fixed problem disposing childs navigating back

* Fixed text format
2018-08-08 10:04:22 +01:00
E.Z. Hart b25ca40edb [UWP] Remove old appbar code in Platform (#3409)
* Remove unused option for Platform to add toolbars to any page;

* Remove IPlatform interface

* Reinstate OnBackRequested method
2018-08-08 10:03:44 +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
Morten Nielsen 295bd60fb4 [Android] Improve error message when not calling base.OnCreate (#3470)
* Improve error message when forgetting to call base.OnCreate in subclass

* Fixed indent
2018-08-07 22:44:35 +01:00
Pavel Yakovlev 7743b0c945 [WPF] Fixes title at Page.DisplayActionSheet (#3269) fixes #3259 2018-08-07 16:59:47 +01:00
flyofsky c46e5dc90d Add Caret position for Tizen (#3255) Fixes #1667. 2018-08-07 16:58:41 +01:00
Pavel Yakovlev c7bb53cd82 [WPF] Fix ItemTapped event (#3270) fixes #3265 2018-08-07 16:13:10 +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
sung-su.kim 13ab34ae23 [Tizen] Fix minor bugs on CarouselPage and ActivityIndicator (#3473)
* Fixed CarouselPage behavior

* Fixed ActivityIndicator.IsRunning condition
2018-08-06 19:45:53 +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
Vitaly Knyazev 02f006dfe0 [iOS] Prevent crash when a leaked cell has MenuItem with bindings (#3288)
* Prevent crash when a leaked cell in ListView with Recycle mode has MenuItem with bindings and framework like Xamarin.Forms sets BindingContext to null after leaving the page

* Made SetupSelection static
2018-08-06 17:57:45 +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
Rui Marinho ec65b05e5d Merge branch '3.1.0' into 3.2.0 2018-08-06 16:59:19 +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
Rob Lyndon 273d7c4de9 [Android]Fixing a NullReferenceException that happens when a page is closedd (#3375) fixes #3373 2018-08-03 15:56:05 +01:00
Alan McGovern 03f8c9fdee [Android] Fix a potential null reference (#3476)
Addresses https://devdiv.visualstudio.com/DevDiv/_workitems/edit/657472
2018-08-03 15:49:54 +01:00
Javier Suárez Ruiz 48ef2390ab [WPF] Added option to register extra assemblies in WPF Forms initialization (#3428)
* Added option to register extra assemblies in WPF Forms initialization

* Fixed Build error
2018-08-03 15:47:39 +01: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
Pavel Yakovlev af55f1d2c0 [UWP] fixes image scale (#3178)
- fixes #3169
2018-08-02 23:37:58 -06:00
Stephane Delcroix a9a68c6e60 [C] fix TargetNullValue Bindings (#3468)
Due to a flux in the matrix, Bindings with a TargetNullValue assigned
were always returning that value. It had the advantage of being right
sometimes, but the inconvenient for being wrong, most of the times.

By properly aligning the bits of the register with the sun at beer time,
we can avoid that side effect, and actually returns a value when the
binding is succesful, and the TargetNullValue whem the Binding returns
null.

- fixes #3467
2018-08-02 16:56:19 -07:00
adrianknight89 5a6f34970a [Android] Add IsSmoothScrollEnabled platform specific to control tab change animation (#2965)
* add ability to control smooth scrolling

* added test case

* removed test case

* add test button

* EnableGesture should be controlled by another platform specific
2018-08-02 16:51:36 -07: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
Samantha Houts 7045d80843 Add assembly version to XF.Core (#3460)
* Add assembly version to XF.Core

fixes #3354

* you know what helps? using statements.
2018-08-02 08:11:35 +02: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
E.Z. Hart 3f9dca4758 [UWP] Remove Platform casts (#3442)
* Move back button handling directly to platform

* Make UWP platform statically accessible, cache instance on NavigationPageRenderer
2018-08-01 09:07:28 +02:00
Stephane Delcroix 6246b9020e
[C] abstract the Style property in an interface (#3438)
so it's ahsred between VisualElement and span, and retrieving the
property is easier.

- fixes #3314
2018-07-31 11:53:25 +02:00
Stephane Delcroix 2c65c03e99
[C, Xaml] add SizeTypeConverter (#3381)
Add a missing TypeConverter attribute to Size struct.

- fixes #3280
2018-07-31 10:26:34 +02:00
Stephane Delcroix a2b836110b
[CSS] allow mapping css prop to multiple BPs (#3437)
To allow mapping a single CSS property to multiple controls, we so far
relied on extracting the BindableProperties to static helper classes,
and implementing an interface for accessors, and eventually change
handlers.

That extraction works well, and is actually a good pattern, as long as:
 - the extracted BPs share the same PropertyName,
 - default value, and
 - return type, obiously

As the CSS `color` property has to map to both `TextColor` and `Color`
BPs, the property extraction wasn't possible.

This change adds the capability to map a single CSS property to
multiples BPS, when extraction isn't possible. Whenever the extraction
to an interface is possible, that behavior is strongly encouraged.
2018-07-31 09:18:54 +02:00
Pavel Yakovlev 2b5fad067d [UWP] Fixes setting SelectedItem inside ItemSelected event (#2984)
* [UWP] Fixes #1469 setting SelectedItem inside ItemSelected event

* test improvement
2018-07-30 21:42:33 -06:00