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

1616 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho c7cceea469 [iOS] We need to reload the datasource to show unevenrows 2018-03-19 19:32:54 +00:00
Rui Marinho 771710e67f [Controls] Add reproduction of bugzilla 56298 2018-03-19 19:31:25 +00:00
Rui Marinho 6abf096922 [MacOS] Workaround for 15.6 mac targets issue 2018-03-19 15:22:02 +00:00
Stephane Delcroix 61ebcbf906 Merge branch '15-5' into 3.0.0 2018-03-19 09:20:40 +01:00
Shane Neuville d2a6af2704
Merge pull request #2114 from xamarin/ShadowDxButtonDrawable
[Android] Button PaddingLeft now accounts for ShadowDx
2018-03-16 19:34:52 -06:00
Rui Marinho c12ba7edba
Merge pull request #2092 from xamarin/fix-bugzilla-31171 fixes #1429
[Core] Fixed leaking reference to popped Page in PopAsync()
2018-03-16 22:42:38 +00:00
ShaneN e1f06be326 The Dx for the shadow isn't being accounted for with the PaddingLeft of the background drawable 2018-03-16 15:43:33 -06:00
Rui Marinho 14aa258915
[iOS] Encode url for UIWebView so it doesn't fail with non-ascii characters (#2111)
* [Controls] Add reproduction for issue #1583

* [iOS] Encode url so it doesn't fail with non-ascii characters fixes #1583

* Update Issue1583_1.cs
2018-03-15 22:32:14 +00:00
Jason Smith 3a3728f499
Try/Catch assembly loading so previewer doesn't have a fit (#2106)
* Try/Catch assembly loading so previewer doesn't have a fit

* add warnings for failed dll loads
2018-03-15 15:08:08 -07:00
Rui Marinho f58fb81d4d
[iOS] Use UINavigationBar.Appearance.LargeTitleTextAttributes if specified (#2095)
* [Controls] Set UINavigationBar LargeTitleText appearance

* [iOS] Don't copy title attributes if user specified appearance for LargeTitles
fixes #1804

* [Controls] Only use LargeTitles if on iOS11
2018-03-15 20:02:54 +00:00
Rui Marinho 12a65434ba
[iOS] Set UITabBarItem colours when they are added (#2109)
* [Controls] Add reproduction for #1323

* [iOS] Update UITabBar and text color after children pages changed #fixes 1323
2018-03-15 20:02:33 +00:00
Rui Marinho 64b7a56b3a
[Nuget] Update nuspec's with msft info (#2108) 2018-03-15 13:54:43 +00:00
Jason Smith 95e800309c [Android] Fix issue where compressed layouts couldn't be removed from the visual hierarchy (#2066) Fixes #1601
* Fix issue where compressed layouts couldn't be removed from the visual hierarchy on Android

* Dispose child packagers

* Hopefully fix 1601 UITest

* Remove invalid check
2018-03-15 10:20:39 +00:00
Rui Marinho 659870c3fc
[UWP] MDP should respect HasNavigationBar for current page (#2101) fixes #1437
* [UWP] MDP renderer should respect HasNavigationPage

* Update MasterDetailControl.cs
2018-03-15 10:18:45 +00:00
Jason Smith f9208144b2
Mark FormsEditText ctors public (#2103) 2018-03-14 11:48:24 -07:00
E.Z. Hart 789ca0c142 Fix VS errors when loading clean solution; prevent VS rewriting Android project files (#2083)
* Disable AndroidUseLatestPlatformSdk in VS so VS stops auto-updating Android projects;
Remove XF.targets imports from projects which don't need it;
Make XF.targets imports conditional on existence of XFBT DLL in VS to avoid errors

* More consistent check for VS

* Apply nicer VS check logic to Xamarin.Forms.Xaml.UnitTests.csproj

* Fix missing "'"

* Re-add XF.targets imports to PagesGallery native projects
2018-03-14 11:01:44 +00:00
Stephane Delcroix 89964f1321
[XamlC] report missing ctor param (#2078)
for parameterized ctors, like Style.

 - fixes #2064
2018-03-13 22:09:57 +01:00
Stephane Delcroix bb07b71874
[XamlC] report undeclared xmlns on custom markups (#2076)
- fixes #2063
2018-03-13 21:35:43 +01:00
Stephane Delcroix 1885911008 [Xaml] better error reporting on x:Reference (#2089)
- fixes #2007
2018-03-13 20:04:55 +00:00
kicsiede a2fee1d21e
Update NavigationUnitTest.cs 2018-03-13 19:48:30 +00:00
kicsiede 29ad85ff19
BUGFIX: leaking reference to popped Page in PopAsync()
fixed by using a private wait handle the same way as when there is a pending task
2018-03-13 19:47:44 +00:00
Rui Marinho e357641b7b
[Build] Update submodule to 15.5.7 (#2079) 2018-03-12 19:30:45 +00:00
E.Z. Hart 6a2499fe13
Revert "Disable AndroidUseLatestPlatformSdk so VS stops auto-updating Android projects;"
This reverts commit 3279709d95.
2018-03-12 09:56:53 -06:00
Stephane Delcroix d512229767 Merge branch '15-5' into 3.0.0 2018-03-12 09:13:54 +01:00
E.Z. Hart 3279709d95
Disable AndroidUseLatestPlatformSdk so VS stops auto-updating Android projects;
Remove XF.targets imports from projects which don't need it;
Make XF.targets imports conditional on existence of XFBT DLL to avoid errors
2018-03-11 18:49:34 -06:00
Stephane Delcroix 87e04c9f36 [C] Update Bindings with "BindingContext" in path (#2053)
* [C] Update Bindings with "BindingContext" in path

If the BindingContext is set using SetInheritedBindingContext, INPC
isn't fired, and bindings containing the "BindingContext" string in
the path ends up not being notified of the Change.

In addition to listening to PropertyChanged, this also hooks into
BindingContextChanged, and update the bindings accordingly.

 - fixes #2019

* back to last year
2018-03-09 10:36:15 -08:00
Stephane Delcroix 1741d7782c [C] do not return IsSet for BP with defaultVC (#2055)
BindableProperties with a defaultValueCreator are never in the default
(as defined by the defaultValue parameter) state. IsSet now reflects
that.

To allow styling properties with defaultVC, this adds a new flag in
BindableContextAttributes.
2018-03-08 15:53:29 -08:00
Stephane Delcroix 8403ef065b
[XamlC] Find the real VisualState parent (#2036)
`VisualStateGroupList` can be implicit, and it looks like tht wasn't
tested. This adds a test, and a fix.

 - fixes #2034
2018-03-08 16:20:25 +01:00
Rui Marinho a70e40d96d
[Build] Update submodule 2018-03-08 11:41:06 +00:00
Rui Marinho 5ea83c3a12
Merge branch '15-5' into 3.0.0 2018-03-08 11:18:40 +00:00
Rui Marinho 19cb5dc08f
[iOS] Clear prototype cell on UnevenRows (#1569)
* [Controls]Add repo for github 1567

* [iOS] Make sure to clear the prototype cell because renderers were disposed.

* [Controls] Add IssueTestNumber

* [UITest] Add Preserve to fix android test

* [iOS] Better fix for invalidate prototype cell
2018-03-08 11:16:58 +00:00
Jason Smith c17838a599 Reinstate StyleClass but keep @class as requested (#2044) 2018-03-08 10:11:45 +01:00
Alan McGovern 6fc5bd8771 Rename the icons in the win folder to match the xml (#2043) 2018-03-07 10:54:35 -08:00
Jason Smith 27fff867f3
Add IVT for kzu's needs with comments for future automation (#2030) 2018-03-06 13:16:16 -08:00
Jason Smith e53e384543
Add missing docs file after merge 2018-03-06 11:31:47 -08:00
Stephane Delcroix e1170a9e8d [CSS] use `class` instead of `StyleClass` (#2023)
- fixes #2022
2018-03-06 09:45:11 -08:00
Stephane Delcroix 3db717e863 [C] make Application ctor public (#2020)
- fixes #2018
2018-03-06 12:02:19 +00:00
Stephane Delcroix 081eb37f8b
[Flex] correctly measure images (#2010)
use Aspect.Fill to measure images. also make sure we do not crash if the
Bounds are smaller than the request. Like any other control, we will
draw outside of our bounds, and rely on ClipToBounds for a nice shave.
2018-03-06 10:50:07 +01:00
Daniel Cazzulino c3eec10c86 Add Application.PageAppearing/Dissapearing events (#1970)
In scenarios where you want to keep track of pages as they are
appearing on screen, it's useful to be able to subscribe to a
global event from the `Application` to track those pages for
later processing (i.e. showing a timeline for the app, reloading
XAML for some of those pages, maybe replaying the timeline, etc.)

The new events are automatically raised from the Page base class
right after sending the page-level Appearing/Disappearing events.
2018-03-05 14:06:41 -08:00
Jason Smith 247a475498
Merge branch '15-5' into 3.0.0 2018-03-05 13:41:43 -08:00
E.Z. Hart 1f631f477e [Android] Verify NavigationPage is attached to hierarchy before pushing pages (#1999)
* Verify navigation page is in the hierarchy before pushing pages; fixes #1355

* Allow OnElementChanged to push pages if renderer is already attached to window

* Verify attached to root during OnElementChanged

* Remove extra using

* Fix style issues

* Add file VS forgot to save
2018-03-05 13:21:39 -08:00
Samantha Houts 1ce84e00db [Android] Buttons can be round; remove Padding & Shadow by default (#1935)
* Add repro for 1909

* [Android] Get PaddingLeft from native button

* [Core] Add PS for removing the native padding from Android buttons

* [Android] Implement UseNativePadding

* Adjust test to show the new UseNativePadding results

* Update docs

fixes #1909

* Update docs again

* Add button styles for testing

* [Core] Add UseDefaultShadow and UseDefaultPadding platform specifics

* Use new PS in tests

* [Android] Button uses new Platform Specifics

* Update docs

* Fix test case
2018-03-05 12:50:16 -08:00
Stephane Delcroix afb387b22f
[Xaml] add DesignMode flag (#1976)
- fixes #1731
2018-03-05 12:44:37 +01:00
Stephane Delcroix 89ffc1f32f
[flex] better margin support with Wrap (#1997) 2018-03-02 09:13:51 +01:00
Jason Smith d693f7a318 remove -16 from xml names for toolbox (#2001) 2018-03-02 09:12:48 +01:00
Shane Neuville c4d00c89f9 attempt to load images from drawables before using bitmap (#1973) fixes #1908 2018-03-01 12:07:13 +00:00
Stephane Delcroix 056f66e2dd [XamlC] better error reporting on missing Add()er (#1982)
- fixes #1978
2018-02-27 18:39:48 +00:00
Jason Smith d32e6eefba
Merge branch '15-5' into 3.0.0 2018-02-27 10:32:57 -08:00
Stephane Delcroix 463714be71 [XamlC] no longer use any reflection-base ImportReference (#1899)
* [XamlC] no longer use any reflection-base ImportReference

reflection-base ImportReference -- we were using MethodBase and Type --
are importing the types present in the reflection context, at the time
of compilation. As the compilation happens on netstandard2.0, and our
assembly can now be netstandard1.0 again, those imported types are
failing to be resolved.

this changes always import references based on the assembly, or the
assembly references.

it might, or might not, give us another speed bump.

* [XamlC] accomodate all kinds of netstandard versions

* reuse caching code
2018-02-26 11:07:18 +00:00
Rui Marinho cef72e08fe
[UITest] Just run 58875 on iOS 2018-02-23 17:07:58 +00:00