Stephane Delcroix [Wed, 18 Sep 2019 14:42:51 +0000 (16:42 +0200)]
Merge branch '4.3.0'
Stephane Delcroix [Wed, 18 Sep 2019 14:41:18 +0000 (16:41 +0200)]
[X] avoid throwing in VisualDiagnostics (#7571)
this fixes a regression introduced in #7474
- fixes #7570
Rui Marinho [Tue, 17 Sep 2019 22:59:28 +0000 (23:59 +0100)]
Merge branch '4.3.0'
Pavel Yakovlev [Tue, 17 Sep 2019 22:50:33 +0000 (01:50 +0300)]
removed MatchParent value from Property Editor (#7551)
Pavel Yakovlev [Tue, 17 Sep 2019 22:35:37 +0000 (01:35 +0300)]
[C] added intellisense for Keyboard property (#7553) fixes azdo 835646
Rui Marinho [Tue, 17 Sep 2019 22:30:30 +0000 (23:30 +0100)]
Merge branch '4.2.0' into 4.3.0
Morten Nielsen [Tue, 17 Sep 2019 22:26:56 +0000 (15:26 -0700)]
Adds UWP support to Shell (#6015)
* Some basics to get started
* more renderers
* Fix titlebar color
* More shell stuff working
* Hacked some more UI in
* Fix null ref issue
* Move renderer registration outside common code (for now)
* Re-write of the renderers to better use a cleaner UWP approach
* Moved functionality around, bug fixesetc
* Added null check
* Added null-check on appearance and use default colors as fallback
* Handle change in flyout behavior to correctly turn the flyout on/off
* Handle the TabBarIsVisible property
* code formatting
* Ensure FlyoutHeader isn't show if the app starts up with a minimal pane
* Throw if used on versions lower than Windows 10 1809
* Added null-check for when ShellContent isn't set
* Support tabs in FlyoutItems with Display AsMultipleItems by using the generated FlyoutGroupings instead
* Improve pane behavior and styling
* Undo Android change used during testing
* Fix platform support check
* Use FileImageSourcePathConverter on NavigationViewItem instead of a custom control (so I deleted ShellNavigationViewItemRenderer which is no longer needed).
Ensure `FileImageSourcePathConverter` won't throw if it didn't get a FileImageSource.
Move the flyout data templates into a resource so they can be overridden and compiled.
* Delete renamed file
* Use a resource instead of parsing a string template
* Handle search box property changes
* Update page title on property change
* Update bottombar when shellitems change
* Guard against API usage not present
* Platform check comments
* Fix problem running in release mode (use Bindable to generate XamlMetadata
* Trigger rebind of menu items source when collection changes
* Added support for Toolbar
* Fix searchbox behavior (still lacks expand/collapse feature)
* Add overload for defining the navigation transition
* Use different navigation transitions based on navigatin direction
* Hides header with show / hide nav command
* collapses header area on hide nav
* Move to use WinUI
* Fix runtime issues after merge.
* - rebase fixes
* - rebase fixes
* - fix spaces/tabs
* - flags, hide apis, delete assembly info
* - set flag on UWP CG
* - expose renderer creations and make them all public
* - formatting fixes
* - address PR comments
* - fix header so it's full width and swappable
Shane Neuville [Tue, 17 Sep 2019 22:12:16 +0000 (16:12 -0600)]
Additional proguard classes (#7527) fixes #5742
Andrei [Tue, 17 Sep 2019 21:40:21 +0000 (00:40 +0300)]
[macOS] PushModalAsync a 2nd time causes a crash (#7250) fixes #6866
* fixes https://github.com/xamarin/Xamarin.Forms/issues/6866
* fixed index boundaries to include 0 index
Stuart Lang [Tue, 17 Sep 2019 20:37:14 +0000 (21:37 +0100)]
[UWP] Check for null Platform in OnDestroy fixes #7331 (#7363)
Javier Suárez Ruiz [Tue, 17 Sep 2019 20:33:55 +0000 (22:33 +0200)]
Implement CarouselView on UWP (#7503)
* Implemented CarouselView on UWP
* Implemented CurrentItem on Carousel UWP
* Fixed ArgumentOutOfRangeException with the Carousel position
* Removed code to update the CurrentItem on UWP (review it to improve)
Rui Marinho [Tue, 17 Sep 2019 20:31:01 +0000 (21:31 +0100)]
Merge branch '4.2.0' into 4.3.0
Shane Neuville [Tue, 17 Sep 2019 15:46:55 +0000 (09:46 -0600)]
Check to see if the BeginRefresh request is no longer needed (#7514) fixes #7313
* fix refresh to not fire twice
* - add automated ui test
adrianknight89 [Tue, 17 Sep 2019 12:42:36 +0000 (07:42 -0500)]
[Android] Refactor the code for setting reverse layout in ItemsViewRenderer (#7468)
* refactor
* fix
* remove the return keyword
Shane Neuville [Tue, 17 Sep 2019 09:32:57 +0000 (03:32 -0600)]
[Android/iOS] Update CollectionView when user changes out the header/footer (#7499)
* update cv when user changes out the header/footer
* - fix android to convert back from pixels on scroll
- fix iOS offset on scroll args to account for header size and content inset
* - fix for new api
* - fix redundant BP
Shane Neuville [Tue, 17 Sep 2019 08:56:36 +0000 (02:56 -0600)]
Add null check when using tablet on MDP (#7513) fixes #7496
E.Z. Hart [Tue, 17 Sep 2019 08:41:00 +0000 (02:41 -0600)]
Remove extra brace; fixes #7545 (#7546)
adrianknight89 [Tue, 17 Sep 2019 08:38:48 +0000 (03:38 -0500)]
[iOS] Remove class variable from CarouselViewLayout whose value is always true (#7484)
* remove unused variable
* comment change
Shane Neuville [Tue, 17 Sep 2019 01:26:30 +0000 (19:26 -0600)]
update unit test to nunit3 apis (#7543)
Rui Marinho [Tue, 17 Sep 2019 00:10:13 +0000 (01:10 +0100)]
Merge branch '4.2.0' into 4.3.0
Shane Neuville [Mon, 16 Sep 2019 22:10:15 +0000 (16:10 -0600)]
await tasks on ViewUnitTests and update MSBuild Locator (#7542)
Konrad Müller [Mon, 16 Sep 2019 21:06:49 +0000 (23:06 +0200)]
[macOS] Only use default font size for Time/DatePicker to avoid clipping issues (#7183)
* Only use default font size
* Always use default font size
* Remove duplicated code
* Remove extra spacing
Shane Neuville [Mon, 16 Sep 2019 15:48:52 +0000 (09:48 -0600)]
Tweak unit test so it's more reliable and fix binlog path (#7530)
* tweak unit test and fix bl path
* - change test to use ThrowsAsync
* - fix for nunit 2
E.Z. Hart [Mon, 16 Sep 2019 14:23:55 +0000 (08:23 -0600)]
Fix horizontal layout issues introduced in 7456; fixes #7519 fixes #7524 (#7522)
E.Z. Hart [Mon, 16 Sep 2019 13:02:58 +0000 (07:02 -0600)]
Implement EmptyView on UWP (#7438)
Javier Suárez Ruiz [Mon, 16 Sep 2019 12:13:07 +0000 (14:13 +0200)]
Added Carousel SnapBehavior Core sample (#7444)
Stephane Delcroix [Mon, 16 Sep 2019 06:59:38 +0000 (08:59 +0200)]
Merge branch '4.3.0'
ShaneN [Sun, 15 Sep 2019 00:52:56 +0000 (18:52 -0600)]
merge 4.2.0 into 4.3.0
Shane Neuville [Sun, 15 Sep 2019 00:40:55 +0000 (18:40 -0600)]
Check if Control is ready before interacting with Native control (#7523)
* Check if control is ready before setting Text
* - make 7.0 compatible
ShaneN [Fri, 13 Sep 2019 17:00:37 +0000 (11:00 -0600)]
Merge branch '4.3.0'
E.Z. Hart [Fri, 13 Sep 2019 09:55:27 +0000 (03:55 -0600)]
Remove extra properties from CarouselView API (#7456)
* Remove Header/Footer properties from CarouselView
* Limit CarouselView to LinearItemsLayout
* Rework inheritance for UWP
* Split files by class
* Fix up Tizen renderer
Samantha Houts [Thu, 12 Sep 2019 22:56:32 +0000 (15:56 -0700)]
Merge branch '4.3.0'
Samantha Houts [Thu, 12 Sep 2019 22:55:09 +0000 (15:55 -0700)]
Merge branch '4.2.0' into 4.3.0
Samantha Houts [Thu, 12 Sep 2019 22:52:45 +0000 (15:52 -0700)]
Merge branch '4.1.0' into 4.2.0
Jonathan Peppers [Thu, 12 Sep 2019 22:36:35 +0000 (17:36 -0500)]
[xamlc] new <XFXamlCValidateOnly> MSBuild property for Debug builds (#7407)
XamlC is currently enabled for most Xamarin.Forms projects in `Debug`
and `Release` configurations. It enables faster startup/runtime
performance, XAML-syntax checking at build time--both quiet useful!
However, there is a build-time cost to using XamlC: each assembly is
loaded via Mono.Cecil, IL generated, and saved back to disk as an
additional step after Rosyln has compiled the assembly.
The proposal would be to add a new experimental MSBuild property, that
can be enabled for `Debug` mode such as:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<!-- ... -->
<XFXamlCValidateOnly>True</XFXamlCValidateOnly>
</PropertyGroup>
This would do the following:
* `OptimizeIL` is skipped.
* Assemblies are analyzed, but no changes written to disk.
* No symbols are loaded via Mono.Cecil, we don't need them if we
aren't writing back to disk!
This will improve build performance, and we don't lose the build-time
error checking for XAML.
Down the road, we could consider moving the MSBuild property to be the
default for `Debug` builds or change the Xamarin templates. I think it
would be wise to require developers to opt-in to try this out.
~~ Results ~~
I tested this change by building the ControlGallery after changing one
line of XAML:
msbuild Xamarin.Forms.ControlGallery.Android\Xamarin.Forms.ControlGallery.Android.csproj /clp:performancesummary /p:XFXamlCValidateOnly=True
Before:
1979 ms XamlCTask 1 calls
After:
923 ms XamlCTask 1 calls
I *only* tested `Debug` builds.
Right, so it's faster. But let's keep the entire developer loop in
mind, how much slower is startup?
Before:
09-05 14:37:32.274 1169 1192 I ActivityManager: Displayed AndroidControlGallery.AndroidControlGallery/md546303760447087909496d02dc7b17ae8.Activity1: +3s890ms
09-05 14:38:30.178 1169 1192 I ActivityManager: Displayed AndroidControlGallery.AndroidControlGallery/md546303760447087909496d02dc7b17ae8.Activity1: +3s848ms
09-05 14:38:40.300 1169 1192 I ActivityManager: Displayed AndroidControlGallery.AndroidControlGallery/md546303760447087909496d02dc7b17ae8.Activity1: +3s848ms
After:
09-05 14:40:38.512 1169 1192 I ActivityManager: Displayed AndroidControlGallery.AndroidControlGallery/md546303760447087909496d02dc7b17ae8.Activity1: +3s894ms
09-05 14:40:55.497 1169 1192 I ActivityManager: Displayed AndroidControlGallery.AndroidControlGallery/md546303760447087909496d02dc7b17ae8.Activity1: +3s856ms
09-05 14:41:03.754 1169 1192 I ActivityManager: Displayed AndroidControlGallery.AndroidControlGallery/md546303760447087909496d02dc7b17ae8.Activity1: +3s897ms
After three runs, it seems this app suffers 25-50ms slowdown to
startup, and gains 1 second of build time improvement. A good net-win!
Other apps that have significantly more XAML will have different
results. I suspect the build time improvement will be even better, but
the hit to startup could be worse. With this setting opt-in, we can
experiment and find out.
Mahmoud Ali [Thu, 12 Sep 2019 22:36:02 +0000 (19:36 -0300)]
Warn on Styles validation instead of throwing exception (#7495)
* Warn on Styles validation instead of throwing exception
* Correct tests
fixes #6907
Shane Neuville [Thu, 12 Sep 2019 21:27:04 +0000 (15:27 -0600)]
add check to see if ShellContent is Visible one (#7460)
Shane Neuville [Thu, 12 Sep 2019 20:06:39 +0000 (14:06 -0600)]
fix NRE on _itemsSource when using IEnumerable (#7480)
Samantha Houts [Thu, 12 Sep 2019 20:02:49 +0000 (13:02 -0700)]
[iOS] If ListView is disposed before callback happens, return early (#7428)
* Add test case
* Update Issue7371.cs
* Update Issue7371.cs
* [iOS] If ListView is disposed before callback happens, return early
fixes #7371
Stephane Delcroix [Thu, 12 Sep 2019 00:35:40 +0000 (02:35 +0200)]
visualDiagnostics (#7474)
Javier Suárez Ruiz [Wed, 11 Sep 2019 23:40:26 +0000 (01:40 +0200)]
Hide some CarouselView methods from IntelliSense (#7475)
* Hide SetCurrentItem and SetIsDragging CarouselView methods from Intellisense
* Added required using to use EditorBrowsable
E.Z. Hart [Wed, 11 Sep 2019 23:31:29 +0000 (17:31 -0600)]
Leave BindingContext intact when recycling TemplatedItemViewHolder (#7426) fixes #6889
Fixes #6889
Shane Neuville [Wed, 11 Sep 2019 17:29:17 +0000 (11:29 -0600)]
Fix direction of walking when calculating effective FlyoutBehavior (#7459)
* fix direction of walking
* Update Xamarin.Forms.Core/Shell/Shell.cs
Shane Neuville [Wed, 11 Sep 2019 16:28:21 +0000 (10:28 -0600)]
move await to Begin Invoke and check for disposed (#7192)
Joe Manke [Wed, 11 Sep 2019 08:41:06 +0000 (03:41 -0500)]
[Core] Move TextProperty, ITextElement, and IPlaceholderElement to InputView (#4477)
* Implement IPlaceholderElement and ITextElement on InputView
* Move Text property and TextChanged event to InputView
* Default binding mode of TwoWay on InputView.TextProperty
Shane Neuville [Wed, 11 Sep 2019 07:14:27 +0000 (01:14 -0600)]
Wrong type checked after casting to type being searched for (#7461)
* wrong type checked when searching for parent
* Update Xamarin.Forms.Platform.Android/ViewExtensions.cs
Co-Authored-By: Stephane Delcroix <stephane@delcroix.org>
* - add api level check for ui tests
- fixes #7329
Shane Neuville [Wed, 11 Sep 2019 07:10:59 +0000 (01:10 -0600)]
Dispose of HttpResponseMessage after stream is used (#7431)
- fixes #7248
ShaneN [Tue, 10 Sep 2019 21:32:39 +0000 (15:32 -0600)]
Merge 4.2.0 into 4.3.0
Shane Neuville [Tue, 10 Sep 2019 21:25:17 +0000 (15:25 -0600)]
Update support libraries from 28.0.0.1 to 28.0.0.3 (#7389)
* update support to 28.0.0.3
* - bump sandbox support versions
* - update nuspecs
Shane Neuville [Tue, 10 Sep 2019 15:05:55 +0000 (09:05 -0600)]
[Tests]Update to Xamarin.UITest 3.0 and NUnit 3.0 (#6332) (#7031)
* [Tests]Update to Xamarin.UITest 3.0 and NUnit 3.0 (#6332)
* - increment test nugets
* - adapter folder
* - uitest version
* add wait for 34632
Seungkeun Lee [Tue, 10 Sep 2019 15:04:16 +0000 (00:04 +0900)]
[Tizen] Update InitializationOptions (#7441)
Seungkeun Lee [Tue, 10 Sep 2019 15:04:01 +0000 (00:04 +0900)]
[Tizen] Tizen renderer performance optimization (#320) (#7440)
* Apply lazy loading for MD5 checksum (#316)
* Add API to set assemblies for custom renderer (#317)
* [Performance] Add prelaunching API (#315)
* Add prelaunch
* Apply lazy loading for MD5 checksum
* Apply preload systeminfo
* Revert "Apply lazy loading for MD5 checksum"
This reverts commit
dfb9ff8c3bf6c55fb6ebcc583f974b7398d88f73.
* Refactoring preloading
* Revert "Add API to set assemblies for custom renderer (#317)" (#319)
This reverts commit
7d9f86a4456e7b9089411fc6e7eb6b905dd931d8.
* Fix naming
* Fix build error
Samantha Houts [Mon, 9 Sep 2019 21:41:33 +0000 (14:41 -0700)]
Update contributing guide; tweak pull request template (#7317)
* Update contributing guide; tweak pull request template
* Update .github/CONTRIBUTING.md
Co-Authored-By: Stephane Delcroix <stephane@delcroix.org>
E.Z. Hart [Mon, 9 Sep 2019 15:46:07 +0000 (09:46 -0600)]
[iOS] More intelligent cell resizing (#7285)
* More intelligent cell resizing; fix infinite layout loop and crash;
Reuse template views instead of re-creating them every time;
Fixes #7128
* Fix attribute ambiguity
* Drop trailing 'and'
E.Z. Hart [Mon, 9 Sep 2019 11:00:04 +0000 (05:00 -0600)]
Implement Move, Replace, and Reset for UWP CollectionView collection changes (#7384)
Stephane Delcroix [Mon, 9 Sep 2019 07:51:56 +0000 (09:51 +0200)]
Merge branch '4.3.0'
Stephane Delcroix [Mon, 9 Sep 2019 07:50:17 +0000 (09:50 +0200)]
Merge branch '4.2.0' into 4.3.0
Rui Marinho [Sat, 7 Sep 2019 22:08:26 +0000 (23:08 +0100)]
Merge branch '4.3.0'
Rui Marinho [Sat, 7 Sep 2019 22:07:50 +0000 (23:07 +0100)]
[UItests] Fix CarouselView tests (#7379)
* Update testcloud agent
* [UITests] Fix uitests for CarouselView
* [UITests] Fix the rest of uitests for the position
* [UITests] Use the drag api to swipe the Carousel
* Update CarouselViewUITests.cs
* [Uitests] Enable CarouselViewVertical
* [UITests] Try a new fix for UITests
Shane Neuville [Sat, 7 Sep 2019 07:11:41 +0000 (01:11 -0600)]
[UWP] RefreshView (#7319)
* UWP Swipe Refresh implementation
* - target platform warnings for UWP
* - move dictionary registration to code
* - remove SkipMicrosoftUIXamlCheckTargetPlatformVersion
Shane Neuville [Sat, 7 Sep 2019 07:09:47 +0000 (01:09 -0600)]
Queue Page.Display actions until platform is ready (#7316)
* Queue Page.Display actions until platform is ready
* - fix click
* - set IsPlatformEnabled enabled for Display tests
ShaneN [Fri, 6 Sep 2019 16:18:51 +0000 (10:18 -0600)]
Merge branch '4.3.0'
Jonathan Peppers [Fri, 6 Sep 2019 14:07:34 +0000 (09:07 -0500)]
[build] cleanup MSBuild settings for faster builds (#7381)
Context: https://devblogs.microsoft.com/xamarin/optimize-xamarin-android-builds/
The goal here is to improve the developer loop on Android when working
on Xamarin.Forms using a few settings for `Debug` builds:
* Enable Fast Deployment
* `AndroidLinkMode=None`
* `DebugType=portable`
* `ProduceReferenceAssembly=True` in netstandard projects
After these changes changes:
Before:
Time Elapsed 00:00:37.15
After:
Time Elapsed 00:00:15.79
This was just running:
msbuild Xamarin.Forms.ControlGallery.Android\Xamarin.Forms.ControlGallery.Android.csproj
I was using VS 2019 16.2 on Windows, changing a XAML file.
So one thing to note is that `AndroidLinkMode=Full` was used the
UITests running on CI are using `Debug` builds. I used a `Condition`
to check the `$(CI)` variable, so UITests will be unaffected.
Other cleanup:
* Explicitly set both `AndroidUseSharedRuntime` and
`EmbedAssembliesIntoApk`
* `AndroidSupportedAbis` only needs to be specified for `Release`
builds. `Debug` builds will detect the attached device/emulator and
use the appropriate ABI.
* `JavaMaximumHeapSize` can be removed, it defaults to `1G`.
* Removed other weird/old/empty MSBuild properties.
Rely on `Directory.Build.props`:
* `DebugType` is already defined, so we can remove these.
* `ProduceReferenceAssembly` can be set if
`UsingMicrosoftNETSdk=True`, I could not check `TargetFramework` at
this stage, evaluation, since it was blank. This sets the value for
all netstandard/SDK-style projects.
~~ [ControlGallery] assembly-level [Preserve] ~~
Context: https://github.com/xamarin/Xamarin.Forms/blob/
d7a9c85774502b98460fc740068e264f332bfd82/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla25234.cs#L13
There was also some concern where needing `[Preserve]` attributes
would only be found when the CI is running. You don't want to wait 3+
hours to know if you made a small mistake.
This adds `[assembly:Preserve]` to the ControlGallery project, so this
should be less likely to occur in the future.
Rui Marinho [Thu, 5 Sep 2019 23:33:50 +0000 (00:33 +0100)]
[Build] Bump msbuild locator move to VS2019 (#7415)
* Bump msbuild locator
* Update test adapter
* Update build-windows.yml
* Update azure-pipelines.yml
* Update build-windows.yml
kingces95 [Thu, 5 Sep 2019 21:31:27 +0000 (11:31 -1000)]
anticipate .cctors (#7294)
Samantha Houts [Thu, 5 Sep 2019 17:28:55 +0000 (10:28 -0700)]
Merge branch '4.3.0'
Samantha Houts [Thu, 5 Sep 2019 17:27:20 +0000 (10:27 -0700)]
Merge branch '4.2.0' into 4.3.0
Stephane Delcroix [Thu, 5 Sep 2019 12:18:03 +0000 (14:18 +0200)]
[X] do not throw here
Shane Neuville [Thu, 5 Sep 2019 00:28:24 +0000 (18:28 -0600)]
Fix RTL behavior for MasterDetailsPage when running on iOS 13 iPads (#7271)
* Fix RTL on iOS 13 tablets with MDP
* - add backgrounding extension for iOS
fixes #7224
fixes #7266
Javier Suárez Ruiz [Wed, 4 Sep 2019 22:52:21 +0000 (00:52 +0200)]
Fixed issue updating the PeekAreaInsets property value (#7382)
Stephane Delcroix [Wed, 4 Sep 2019 17:03:31 +0000 (19:03 +0200)]
Add SECURITY.md (#7373)
shane [Wed, 4 Sep 2019 14:20:36 +0000 (08:20 -0600)]
Merge branch '4.3.0'
Javier Suárez Ruiz [Wed, 4 Sep 2019 13:48:51 +0000 (15:48 +0200)]
[Android, iOS] Fix CarouselView Issues (#7366)
* Fixed CarouselViewGalleries sample on Android
* Protect NRE setting the CurrentItem
* Fixed issue changing the ItemsSource
* Fixed issues with NumberOfSideItems and PeekAreaInsects properties on Android
* Fixed formatting
* Fix ItemSpacing issue on Android
* Fixed vertical peek insets iOS
* Center item after change ItemSpacing
Improve IsSwipeEnabled logic on Android (disable swipe but not touch)
* Update max slider value when item count is updated
* Update CarouselCodeGallery.cs
* NoOfSideItems in test page
Shane Neuville [Tue, 3 Sep 2019 23:52:42 +0000 (17:52 -0600)]
Fix iOS footer and header to layout left and right for horizontal layout (#7308) fixes #7246
* fix iOS footer and header to layout left and right for horizontal layout
* - however much
Stephane Delcroix [Tue, 3 Sep 2019 20:45:22 +0000 (22:45 +0200)]
[X] Reuse baseclass namescope if it exists (#7356)
* [X] chain debug ctors
* unit test for 7097
* [X] Reuse baseclass namescope if it exists
If a xaml control derives from another xaml control, thy both should share the same
NameScope. This add a check if the xaml root already has a NameScope (set by the base)
and reuses it.
This fixes 2 regressions introduced by #7040 and some other unreported edge cases.
- fixes #7097
- fixes #7286
* avoid repeting linq queries
E.Z. Hart [Tue, 3 Sep 2019 17:03:16 +0000 (11:03 -0600)]
Verify sections exist before calling NumberOfItemsInSection; fixes #7338 (#7354)
fixes #7338
Kevin Petit [Tue, 3 Sep 2019 16:25:46 +0000 (18:25 +0200)]
[Android] Correctly dispose TabbedPageRenderer (#4974)
* Correctly dispose TabbedPageRenderer.
The fragments created are now removed and the listeners are now correctly cleaned during dispose.
* Added issue UI test.
* Fix carousel fragment manager and pager disposing.
* Fix test 2338 implementation.
* Apply review.
* Set to null fragmentManager on dispose.
* Use GetFragmentManager extension method.
Co-Authored-By: Shane Neuville <shane94@hotmail.com>
* Revert some changes.
* Apply review comment.
ksemenenko [Tue, 3 Sep 2019 09:01:58 +0000 (12:01 +0300)]
css: letter-spacing (#7343)
* css: letter-spacing
* order
bentmar [Mon, 2 Sep 2019 20:26:57 +0000 (22:26 +0200)]
[Android] fix animations not animating (#7298)
* [Android] fix animations not animating
fixes #7255
fixes #7291
fixes #7278
I found that if the Animation duration scale setting has never been changed in the developer settings, the scale we get will allways be 0. So instead of defaulting to 0 we default to 1. This means if i havent touched the setting it will behave as it did pre 4.2.
Also if somehow the context is null, we should default to enabling animations since this is far more "normal" than disabling animations.
* Update Xamarin.Forms.Platform.Android/AndroidTicker.cs
Co-Authored-By: Javier Suárez Ruiz <javiersuarezruiz@hotmail.com>
* Fix code
* Use tabs, return false if fail, enable warning
Shane Neuville [Mon, 2 Sep 2019 16:30:06 +0000 (10:30 -0600)]
[Android] Check if Shell Flyout header is null before trying to use it (#7333)
* Check if flyout header is null
* - remove mono args from csproj
Rui Marinho [Mon, 2 Sep 2019 16:04:57 +0000 (17:04 +0100)]
[iOS] Fix Scrolled, don't use UITableView delegate (#7328)
Stephane Delcroix [Mon, 2 Sep 2019 10:29:25 +0000 (12:29 +0200)]
Merge branch '4.3.0'
Stephane Delcroix [Mon, 2 Sep 2019 10:27:44 +0000 (12:27 +0200)]
try fo fix CI builds
Stephane Delcroix [Mon, 2 Sep 2019 08:49:59 +0000 (10:49 +0200)]
[X] handle CDATA explicit properties (#7342)
- fixes https://github.com/xamarin/Xamarin.Forms/pull/4527#issuecomment-
525979139
Stephane Delcroix [Mon, 2 Sep 2019 08:27:50 +0000 (10:27 +0200)]
Merge branch '4.3.0'
Stephane Delcroix [Mon, 2 Sep 2019 08:22:59 +0000 (10:22 +0200)]
Merge branch '4.2.0' into 4.3.0
Stephane Delcroix [Mon, 2 Sep 2019 08:22:06 +0000 (10:22 +0200)]
fix merge issue
Stephane Delcroix [Mon, 2 Sep 2019 06:57:53 +0000 (08:57 +0200)]
Merge branch '4.3.0'
Stephane Delcroix [Mon, 2 Sep 2019 06:56:41 +0000 (08:56 +0200)]
Merge branch '4.2.0' into 4.3.0
Stephane Delcroix [Mon, 2 Sep 2019 06:39:59 +0000 (08:39 +0200)]
Merge branch '4.1.0' into 4.2.0
Stephane Delcroix [Mon, 2 Sep 2019 06:38:00 +0000 (08:38 +0200)]
Merge branch '4.0.0' into 4.1.0
Stephane Delcroix [Sun, 1 Sep 2019 21:01:44 +0000 (23:01 +0200)]
[X] Detect empty property value in markups (#7190)
- fixes #7187
Samantha Houts [Fri, 30 Aug 2019 00:30:51 +0000 (17:30 -0700)]
Update GitInfo.txt
kingces95 [Thu, 29 Aug 2019 23:39:49 +0000 (13:39 -1000)]
Fix NRE for gh 4267 (#7306)
Rui Marinho [Thu, 29 Aug 2019 23:26:23 +0000 (00:26 +0100)]
[Feature] CarouselView (#5044)
* [Spec] Draft carousel
* [Core,Spec] Add IndicatorsView
* [iOS] IndicatorsViewRenderer and CarouselVieRenderer draft
* [Controls] Fix controls gallery linker
* [Core] Remove extra file
* Fix Remove IITemsSource
* [iOS] Implement Scroll and selected item
* [iOS,Android,Core] Refactor to use CurrentItem on CarouselView
* [iOS,Core] Add NumberOfVisbileItems
* [iOS,Core] Add IsScrolling and IsDragging
* [iOS,Core] Add Visual state for carousel items
* [iOS,Core] Add padding to CarouselView
* [iOS,Controls] Fix sample, disable selection on CarouselViewController
* [Core] Add Delta to ScrolledDirectionEventArgs
* Update SelectableItemsViewRenderer.cs
* [Controls] Refactor Carousel examples
* [Controls] Fix csproj
* [iOS] Fix bug with insets with carouselview padding
* [Controls] Fix vm for CarouselXamlGallery
* [Controls] Collection Carousel type demo
* [Core] Add other CarouselView Layouts
* Fix Carousel rebase (#6518)
* Fix rebase Android
* Fix rebase iOS
* Update ItemSizingStrategy
* [Core] Add ItemSizingStrategy None
* [iOS] Allow to override ReuseId and RegisterCells from ItemsViewController
* Remove IndicatorsView
* Remove ICarouselViewController
* Implemented IsDragging on Android
* Implemented Scrolled for Android
* Removed Spacing methods
Spacing is now available on a lower level and we don't need to worry about it
* Fix rebase
* [UnitTests] Add basic CarouselView unit tests
* [iOS] Update CarouselViewLayout
* [iOS,Core] Remove Padding and add PeekAreaInsets
* [iOS] Fix peek area insets update on CarouselView
* [iOS,Core] Remove extra scroll code update
* [iOS] Fix bug ScrollAnimationEnded missing
* [Core] Mark BPK as private
* [Core] Rename NumberOfSideItems
* Update ItemsViewRenderer.cs
* [Android] Remove scroll direction update
* First small UI tests
* [iOS] Carousel Apply suggestions from code review
Co-Authored-By: Samantha Houts <samhouts@users.noreply.github.com>
* More UI tests and plumbing
* Fix build errors
* [Android] Fix CarouselView sizing on Android
* Implemented IsSwipeEnabled iOS
* Implemented bounce iOS
* Merged with scroll changes ItemsView
* Implemented IsBounceEnabled Android
* [Android] Update position
* Update App.cs
* Added CarouselView Core Gallery sample
* Update ItemsViewController.cs
* Fixed Core Gallery problems with Linker
* Added more CarouselView properties to the Core Gallery sample
* Added new CarouselView sample adding and removing items, etc.
* [Android]Add spacing inset for fist and last item
* [Android] ScrollTo and center item on carousel
* Spelling and not breaking build
* [Android]Use SnapHelper to get centered view
* Make Position work (again) for iOS
* Rebase from master (fixed conflicts)
Fixed Android bug related with the first item inset calcs.
fixes #4996
Shane Neuville [Thu, 29 Aug 2019 21:09:34 +0000 (15:09 -0600)]
[Android/iOS] RefreshView (#7214)
* Swipe To Refresh
* pull in pull to refresh
* api changes
* Added RefreshView CoreGallery and Gallery Samples (using ScrollView, ListView, CollectionView, etc.)
* Code refactoring in RefreshViewRenderer (iOS)
* Updated RefreshView Android Renderer
* Fixed RefreshView Android samples in Core Gallery
* Added initial RefreshView UWP implementation
* Added another UWP RefreshView renderer using WinUI NuGet controls (RefreshContainer)
* - additional linker settings
* - uwp fixes
* - disable SkipMicrosoftUIXamlCheckTargetPlatformVersion check
* Update .nuspec/Xamarin.Forms.targets
* Limited RefreshView in Android to support only content using scroll.
Small changes in RefreshView iOS renderer.
Updated Core Gallery RefreshView samples.
* Fixed Visualizer colors in UWP RefreshView
* Added UWP RefreshPullDirection Platform Specific
* Small changes in code syntax in iOS renderer.
* Removed some unnecessary curly braces .
* Register effect provider in iOS RefreshView
* Changes in RefreshView UWP Dispose
* Added conditional code to manage the refresh control differently if it is iOS 10 or higher.
* Fixed error in Android Core Gallery (Linker)
Code refactoring and small changes (PR Feedback)
* Changes disposing the Android renderer
* - fix SkipMicrosoftUIXamlCheckTargetPlatformVersion so it can be turned off
* Removed UWP RefreshView renderer and Platform Specific
* - remove winui from nuspec
* - remove skip checks from targets
* - remove XamlControlsResources
* - remove skip check on UAP platform
* Revert changes in Android Core Gallery manifiest
* Revert unnecessary space in UAP Platform csproj
* Removed unnecessary new line in UWP Resources
* Simplified RefreshView iOS Renderer.
fixes #5882
Samantha Houts [Thu, 29 Aug 2019 18:39:40 +0000 (11:39 -0700)]
[iOS] Fix accessibility regressions with hidden views, WebViews, and layouts (#7213)
* [iOS] Allows views that don't implement ITabStop to be accessible
Also added ITabStop to the WebView renderers
fixes #6894
* [iOS] Don't exclude layouts from a11y tree
fixes #7053
* Add test for 7053
* Add test for 6894
* [iOS] Clear accessibility elements when visibility changes
fixes #6929
* Add test for 6929
* Update Issue6894.cs
Shane Neuville [Thu, 29 Aug 2019 17:42:59 +0000 (11:42 -0600)]
Add priority parameter to HandlerAttribute to thwart priority by assembly order (#7113) fixes #6939
* add priority parameter to handler to thwart priority by assembly order
* - internalize priority
* - fix ui tests
* - remove from uwp
* - registrar fix
Samantha Houts [Thu, 29 Aug 2019 17:06:03 +0000 (10:06 -0700)]
Update issue templates
Joe Manke [Thu, 29 Aug 2019 16:47:57 +0000 (11:47 -0500)]
[Maps] Add polylines and polygons (#6136)
* Add Polyline to Map
* Android Polyline rendering
* iOS polyline renderer
* UWP polyline renderer
* Unregister OnPolylineCollectionChanged in Dispose of UWP renderer
* Add MapElement base class
* Update Android MapRenderer with MapElement
* Update UWP MapRenderer with MapElement
* Update iOS MapRenderer with MapElement
* Add polygons
* Tweak functionality of gallery page
* Rename some things in Android renderer
* Made LoadPolyline and LoadPolygon virtual on UWP
* Fix iOS/Mac MapRenderer compile errors
fixes #1673
fixes #5773