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

16 Коммитов

Автор SHA1 Сообщение Дата
Samantha Houts a3fce93a0a [Android] NavigationPage should not push a page that has already been pushed (#3129) fixes #2393
* Add repro for #2393

* [Android] Don't push a page that has already been pushed

fixes #2393

* [Android] Consolidate redundant check

combine my check with the one added in #3021 for great success
2018-06-28 12:34:55 +01:00
Rui Marinho b74d545fc1
[All] Move to netstandard2.0 **Breaking change** (#1306)
* Move to netstandard 2.0

* Fix docs

* Small fixes
2017-11-29 17:37:06 +00:00
Samantha Houts 2b5f91c628 [Android] Remove NavigationPage fragments after everything else is disposed (#1180)
* Add repro for 45702

* [Android] Remove fragments after everything else is disposed
2017-11-09 09:06:33 -07:00
Rui Marinho 4d49e5786a [iOS] Fixes for iOS11 (#1238)
* [iOS] Add SafeArea support

* [iOS] Only apply SafeArea on iOS11 or newer

* [iOS] Handle SafeAreaInsets on ViewCell and GroupCell

* [iOS] Set page padding from safe area

* [Controls] Use SafeArea PS

* [iOS] Add platform specific for LargeTiles

* [iOS] Add LargeTitleDisplayMode platform specific for ios11

* [iOS] Fix page size when large title collapses

* [iOS] Add platform specific to expose SafeAreaInsets from iOS11

* [Controls] Large titles iOS specific gallery page

* [iOS] Remove comment code on PS example

* [Controls] Add gallery sample for Safe Area PS

* [iOS] Inside a TabbedPage safe area bottom is handle by UITabViewController

* [Core,iOS]If we are not using safearea set the padding to the default

* [iOS] Revert SafeAreas on navpage

* [iOS] Fix safe area inset for ViewCell

* [iOS] Handle ViewCell margin correctly on iOS11

* [Core,iOS] Rename to UsingSafeArea, use BPKey instead for SafeAreaInsets

* [Core,iOS] Rename to UsingLargeTitles

* [iOS,Core] Rename to PrefersLargeTitles
2017-11-02 11:04:55 -07:00
Rui Marinho 5518d3fbaf Fix bugzilla55542 (#898)
* [Controls] Add repo for bugzilla 55542

* [Core] Fix caching null renderer for ViewCell view
2017-05-04 15:27:30 +01:00
kingces95 e6d5186c8a Remove InternalsVisibleTo from Core to XF.Platforms.* (#782)
* Remove InternalsVisibleTo from Core to XF.Platforms.*

* Changes per Jason's code review

* Move LockableObservableListWrapper to internals namespace

* Changes per Stephane's code review

* update docs

* Touch code to get CI to run tests

* Rebase; Update documentation
2017-03-07 14:56:24 -05:00
E.Z. Hart 122f0e3e60 Run multiple UI tests without restarting ControlGallery (#539)
* Allow UI tests to bypass "manual" navigation to isses pages

* Add missing Preserve attribute

* Make Issue198 test work with direct navigation

* Remove empty UI tests

* Fix error handling for iOS

* Use navigation which works for subsequent TestNavigationPages on iOS

* Fix race condition in 39530 test
Remove master page nesting when doing direct nav for UI tests

* Set up and run a single instance of Control Gallery for UI tests

* Force NavigateToIssue to wait for main page appearing to deal with iOS timing

* Move remaining UI tests into Issues namespace

* Change the connection check URL so it'll work on iOS

* Make Appearing Gallery tests work without restarting app

* Prevent ContextActions tests from stepping on each other

* Make context menu test more robust

* Move ButtonExtensions back to Controls namespace

* Have test 774 dismiss the action sheet before ending

* Update UITest package to 2.0.0 stable

* Make 2948 restore orientation when it's done

* Null check on PageController before calling SendDisappearing

* Adding a wait for the root page in the core tests

* Add consecutive tests reset to prevent memory slog on older iOS devices
2016-11-16 13:07:30 -08:00
Samantha Houts ba6caad23e [A] Prevent blank page from appearing when MainPage is switched (#421)
* repro

* [A]Add horrible hack to prevent background flashing when swapping MainPage

* cleanup repro

* Revert "[A]Add horrible hack to prevent background flashing when swapping MainPage"

This reverts commit d0fdc3856d0eaa5ec781f790d524ad7624a26560.

* [A] E.Z.'s less magical but just as effective solution
2016-10-06 10:17:51 -07:00
Samantha Houts 5e553f6195 Platform Specifics (#301)
* Playing around with how the platform specifics interfaces etc. might work

* Sample implementation of iOS navigation translucency

* Very slightly reduced code

* Better vendor stuff

* Drop single-implemenation interfaces

* Generics on NavigationPage

* On-demand vendor stuff

* Remove functionally duplicate classes and make ControlGallery work again

* Namespace all the things. XAML test.

* Can use Effect to attach platform specific

* Attach Effect on PropertyChanging for XAML support!

* Rename IConfigPlatform interfaces for readability

* Some renaming to match the documents

* Split class files

* Clear out test-only code

* Re-namespace

* Added On method to rendered Elements

* Allow for removal of platform suffix, convenience methods on specific platforms

* Creating a gallery page for specifics

* Add rudimentary Platform Specifics gallery; make CollapseStyle work on UWP;
Add CollapsedPaneWidth specific property

* Toolbar now working with both collapse styles

* MDP now displaying Content title; toolbar routing around title

* Add a gallery for the iOS NavigationPage stuff

* Add Navigation Page as detail page to verify it works with new Toolbar options

* Make titlebar/toolbar background colors consistent

* ToolbarPlacement now working on NavigationPage

* Toolbar Placement working for tabbed and nav pages

* Fix bug where phone doesn't get default toolbar placement on start

* [Core] Add PS WindowSoftInputModeAdjust

[Core] Make Application extendable

* Toolbar placement now working on Nav, Tabbed, and Master pages on desktop/phone

Remove unnecessary style indirection

Fix build errors

* [A] Add PlatformConfigurationExtensions

* SetSoftInputMode test page

* [A] SetSoftInputMode

Known issue: Status bar color does not work in AdjustResize mode

* [Core] Add PS Blur

* [iOS] Configure renderer for blur

* Add test page

* Move to blur VisualElement for broader support

* Move test pages to gallery

* Update docs

* Use lazy initializer for PlatformConfigurationRegistry
2016-08-30 10:46:14 -07:00
E.Z. Hart 5acafedb8e [Android] Isolate fragment management for children of MasterDetailPage (#136)
* Isolate fragment management for children of MasterDetailPage in AppCompat
If a MasterDetailPage hosts NavigationPages or TabbedPages in either the
Master or Detail sections, wrap those pages in their own Fragment (and
ChildFragmentManager) to isolate their Fragment management operations and
avoid recursive entry into the executePendingTransactions method
Also fix a disposal bug in the custom MDP renderer in Control Gallery

* Remove MDP Split setting that breaks test on iPad
2016-05-10 10:15:47 -07:00
Jason Smith 5907152c50 Evolve feature branch (#117)
* Initial import of evolve features

* [Android] Add Xamarin.Forms.Platform.Android.AppLinks project

* [iOS] Fix issues with c# 6 features on iOS AppLinks

* Added naive stanza to update-docs-windows.bat to produce Pages docs. Not tested. (#69)

* Update packages

* Add AppLinks android nuspec and fix linker issues

* Fix build

* Fix nusepc

* Fix nuspec

* Update android support nugets to 23.2.1

* Update Xamarin.UITest

* Add CardView

* [iOS] Fix app link for CoreSpotlight

* [Android] Update AppLinks android support libs

* Add Newtonsoft.Json dependency to nuspec

* Fix NRE when setting ControlTemplate to null

* Move to ModernHttpClient for download

* Try fix build

* Preserve android app links

* Fix margin issue

* General coding and simple fixes
2016-04-24 12:25:26 -04:00
E.Z. Hart d8ed9630bd Automatically marshal all AnimationExtensions calls onto UI thread (#48) 2016-04-08 19:26:03 +01:00
E.Z. Hart 17e2a4b94d Add options for specifying layout of button text/image content
Also make the layout and layout defaults consistent across platforms
2016-03-30 16:22:35 -06:00
E.Z. Hart 81cb1d3647 Make ControlGallery App.cs conform to code style 2016-03-29 14:08:26 -06:00
E.Z. Hart 1dcf5fef35 Move initialization of configuration files (if needed) to a pre-build task
Remove unneeded init scripts
2016-03-24 10:48:21 -06:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00