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

18 Коммитов

Автор SHA1 Сообщение Дата
Samantha Houts 723f2de439 Merge branch '4.0.0' 2019-03-27 17:14:57 -07:00
E.Z. Hart f1297f93d5 Re-enable "Treat warnings as errors" (#5602)
* Enable "treat warnings as errors"

* Remove unnecessary for loop

* Remove properties which already exist in base class

* Make property hiding explicit and obsolete hiding property

* Move Treat Warnings as Errors setting to props file

* Fix weird quotation changes in Xamarin.Forms.Build.Tasks.csproj

* Scrub empty WarningsAsErrors tags

* Remove unused variable

* Fix TearDown method hiding in UI tests

* Fix Id member hiding in test for Bugzilla32871

* Fix RootPage member hiding in Bugzilla51503

* Fix RooPage member hiding in Issue1483

* Disable warnings for deprecated OpenGL calls

* Fix member hiding in test view models

* Fix RootPage member hiding in Issue1931

* Fix Id member hiding in Bugzilla42620

* Fix AutomationId member hiding in Bugzilla57114

* Fix Layout member hiding in Bugzilla40911

* Remove unused variables from Bugzilla31114

* Remove unused variable

* Fix various unused variable warnings

* Disable warning to leave example code for reference

* Fix unused variable from macOS test

* Remove unused members

* Fix unused variable warnings

* Fixed unused property warnings

* Fix warnings for unused code

* Disable 'await' warning

* Remove unused variable

* Adding pragma directives for await warnings

* Remove member hiding

* Turn off global "Treat warnings as errors" in other platforms

* Use MarkerId instead of obsolete Id member

* Fix await warnings in WPF GeocoderBackend

* Add missing await

* Disable warning for unused event
2019-03-27 18:38:38 +00:00
Stephane Delcroix be0dc9391b Merge branch '4.0.0' 2019-03-21 14:38:37 +01:00
Gabor Nemeth 9c10acdd68 [macOS] enhance menu (#4718)
fixes #2618
2019-03-20 10:31:00 -07:00
Samantha Houts 83ccf3ad36 Merge branch '3.6.0' into 4.0.0 2019-03-19 11:58:17 -07:00
Rui Marinho d2f0794a37
[MacOS] Fix rendering small text (#5443) fixes #2204
* [MacOS] Draft push test fix macOS test

* Refactor

* [Controls] Add repo test case #2204

* [Controls] Remove demo page

* [iOS,macOS] Refactor FontExtensions

* [iOS] Change visibility of shared method

* [Controls] Cleanup test #2204
2019-03-19 09:48:11 +00:00
Matthew Leibowitz 920e2dd416 Updated all the OpenTK references to use NuGet (#4836)
* Updated all the OpenTK references to use NuGet
 - Using the same NuGet version of OpenTK across the board
 - Added a gallery factory to allow for platform-specific pages
 - Added the OpenGL galleries to Android, iOS, GTK# and WPF

* Fix the build for iOS and macOS

* Fix the modified defines for the control gallery
2019-02-12 12:59:18 +00:00
Andrei 334e23d7c6 [Mac] NavigationPageRenderer amendments RE: Issue4388 (#4607) #4388 #4389
* crash fixes https://github.com/xamarin/Xamarin.Forms/issues/4388

* Subview Z-index fix

* [MacOS] Dispose cleanup

* Added WantsLayer prop to Insert method

* Added disposing check to ViewRenderer
2019-02-12 12:33:17 +00:00
Rui Marinho 1dd1a264c4
Merge branch '3.4.0' into 3.5.0 2018-12-18 14:18:26 +00:00
Rui Marinho e15f8be987
[IOS] Add launch storyboard (#4724)
* [IOS} Add launch storyboard

* [Mac] Fix csproj

* [Controls] Update MinimumOSVersion iOS

* [Controls] Remove missing file reference

* Update Xamarin.Forms.ControlGallery.MacOS.csproj
2018-12-17 10:43:17 +00:00
Stephane Delcroix 78385f9fc1 [Shell] The glorious Shell (#4522)
* [Shell] The glorious Shell

* set the flag for the test

* remove the FastRenderer flag

* [Android] If we were disposed earlier Element can be null and Control was disposed

* [Controls] Seems part of #2520 was solved so we don't need this

* [iOS] Fix NRE on the ScrollviewTracker

* add missing constructor for RenderWith

* [Core] propagate visual/flow through shell

* use interlock increment

* hide IDataTemplateController

* [Android] Fix TableViewModelRenderer dispose

* [Core] propagate visual/flow direction through shell hierarchy

* [Android-Gallery] removed some left in settings changes that effect UI Tests

* [iOS,Droid,Core] Code formatting

* [iOS,Core] Last minute style refactoring
2018-11-29 20:22:51 -08:00
Matthew Leibowitz 5959c40c94 Move last projects over to PackageReference (#4492)
* Move the first few projects over to PackageReference

* Move the first few projects over to PackageReference

* Moved the remainder of the projects to PackageReference

* Copy the nunit test adapters for the test apps

* Update the unit tests version of json.net

* Don't use relative paths

* Make sure to also copy sub folders

* Remove the trailing slash

* Keep the directory structure
2018-11-22 14:25:56 +00:00
Samantha Houts 348b443861 [iOS] Restore NativeViewWrapper registration (#2772)
* Add RegistrarValidationService to test presence of renderers

* [iOS] Restore NativeViewWrapper registration

fixes #2757

* [Android] Prevent NRE in ListViewAdapter
2018-05-22 11:24:47 -07:00
Rui Marinho 6abf096922 [MacOS] Workaround for 15.6 mac targets issue 2018-03-19 15:22:02 +00:00
Samantha Houts c18e85ee43 [Internal] Basic performance testing and monitoring (#1329)
* [Core] Extract Performance class to Performance Provider

* [iOS] Add instrumentation

* [Android] Update instrumentation

* [Controls] Add perf gallery

* Update docs

* Get build number from txt file

* Remove unnecessary .bat
2018-01-31 18:09:15 +00: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
Rui Marinho 9f24a41c2d [Core,MacOS]Desktop support (#1126)
* [Controls] Improve sample for MacOS control gallery, add a storyboard for the menu

* [Core] Add QuitApp to platform services

* [Core] Add ClickedGestureREcognizer

* [MacOS] Implement ClickGestureRecognizer

* [Core] Add MainMenu

* [MacOS] Implement Main top menu

* [Controls] Add desktop support test page

* [MacOS] Update menu items if they change

* [MacOS] Refactor to make it build for iOS

* [Core] Add Menu attached property to Element

* [MacOS] Implement MacOS context menu

* [Core] Fix type of ADP

* [Core] Add Accelerators to MenuItem

* [ControlGallery] Add example for Accelerator MenuItems

* [Core,iOS] Update ClickedEventArgs to ButtonMask enum  

* [Docs] Update docs

* [Core]Fix build error

* [WP8] Implement QuitApp

* [WP8] Log warning instead of throw

* [Tests]  Add unit tests for menu and menuitem

* [Docs]Update docs

* Update build submodule

* [Core,MacOS,Docs] Use Attached Property for MainMenu

* [Core] Update ButtonsMask, reduce calls to GetValue getting parameter

* [All] Use Accelerator class

* [Core] Add tests for accelerator

* [All] Move QuitApp to QuitApplication

* [Core, Tests] Add more tests for Accelerator

* [Core]Parse win modifier also

* [UnitTests] Fix TestCaseSource

* [MacOS,Core] Fix typo on Modifiers

* [MacOS] Fix typo

* [WinRT] Fix build

* [Docs] Update docs
2017-10-02 18:19:26 +01:00
Rui Marinho 004197380a Add MacOS gallery and UITest (#721)
* [MacOS] Cleanup

* [Controls] Add Header support to ListView

* [MacOS] NSView reuse on NSTableView

* [MacOS] Some fix on layour order

* [MacOS] Add CarouselPageRenderer

* [MacOS] Implement EventTracker on PageRenderer

* [MacOS] Cleanup CarouselPageRenderer

* [MacOS] Add MasterDetailPage renderer

* [MacOS] MDP renderer don't allow drag of splitter

* [MacOS] Add TabbedPage renderer

* [MacOS] Initial sketch of NavigationPageRenderer

* [MacOS] Send disappearing of CurrentPage on Dispose on NavigationPageRenderer

* [MacOS] Add Gallery page for Mac

* [MacOS] Add MacOSExpressionSearch

* [MacOS] Fix ColorExtension

* [MacOS] Fix MDP renderer layout

* [MacOS] Implement native selection on ListViewRenderer

* [MacOS] Deselect a item on NSTableView

* [MacOS] Remove previous SplitViewItems

* [MacOS] Fix navigationpage height

* [MacOS] Add toolbar for NavigationPageRenderer

* [MacOS] Don't remove selection for now (crashing)

* [MacOS] Refactor page and back button title on NavigationPageRenderer

* [MacOS] Fix bug when native navigate back

* [MacOS] Hide layer when transition

* [MacOS] ListviewRenderer fix BbackgroundColor

* [MacOS] Fix background on ScrollViewRenderer

* [MacOS] Fix header measure on ListViewRenderer

* [MacOS] Add Mac twitter demo

* [Controls] Spaces for easy reading

* [MacOS] More xaml cleanup

* [Core] Add Mac as aTargetPlatform

* [MacOS] Add alerts and actionsheets

* [MacOS] Add GestureRecognizers

* [MacOS] Fix Layout issues when adding children, enable transformations

* [MacOS] Fix title on tab item, move to tabbed navigation based on segmented control

* [MacOS] Hide toolbar when not needed, this allows to work with tabbed page, cleanup

* [MacOS] Add NativeBindings and NativeViewWrapper

* [MacOS] Fix AssemblyInfo

* [MacOS] FIX NRE on SetBackgroundColor BoxView

* [MacOS] Fix NavigationPageRenderer

* [MacOS] Fix build

* [MacOS] Also update page when it resizes

* [MacOS] Add LayoutRenderer for handle items position when the bounds change.

* [MacOS] Refactor/Cleanup

* [MacOS] Add toolbar items support to NavigationPage

* [MacOS] Resize images for TabViewITems

* [MacOS] Fix TabbedPage resize issues , allow users to override some features when creating TVI

* [MacOS] Fix hide/show Navigation toolbar

* [MacOS] Redo CarouselPageRenderer with NSPageController

* [MacOS] Add support for Modal pages

* [MacOS] Refactor navigation from platform

* [Nuget] Add nuget for MacOS

* [Nuget]Fix nuspec

* [Nuget] Add variables for CI

* [Controls] Remove MainMenu from MacOS

* [MacOS] Add TableView renderer (no headers yet)

* [MacOS] Refactoring, marking extensions as internal

* [MacOS] Add group headers for TableViewRenderer

* [MacOS] Workaround for updates on listview collection

* [MacOS] Handle updates of rows in the ListViewRenderer properly

* [MacOS] Fix navigation animation

* Fix navigation header issues with modal pages

* [MacOS] Fix MDP issues with resizing

* [MacOS] Fix general dispose

* [MacOS] Add a ViewControllerWrapper for NSSplitView

* [MacOS] MDP renderer fix animation

* [MacOS] Fix ListView selection bug

* [MacOS] Fix rendering MDP Layout inside wrappers

* [MacOS] Re write the MainToolbar handler

* [MacOS] Don't use Sierra new extensions so we can run in stable channel

* [MacOS] Another way to hide the toolbar (smarter i think)

* [MacOS] Fix MDP bug and remove debug color

* [Controls] Add HanselForms sample

* [MacOS] Fix NRE WebviewRenderer

* [MacOS] Fix uneven rows on ListView renderer

* [MacOS] Fix NRE on load (can+t find the reason this happens)

* [MacOS] Fix uneven rows

* [MacOS] Fix header sizing on ListViewRenderer

* [Controls] More stuff on HanselForms

* [MacOS] Remove warning from ListViewRenderer

* [MacOS] Fix PageRenderer bug double init

* [MacOS] Don't calculate height if RowHeight is provided

* [Controls] More Hanselforms stuff

* [MacOS] Once again a new implementation for the NavigationBar, this time using a custom view to support BackgroundColor

* [MacOS] Fix build

* [MacOS] Refactoring AwesomeBar related controls

* Fix build

* [MacOS] NavigationBar update background and t test colors

* [MacOS] Fix when we remove navigation so it works when the NavigationRenderer wasn't removed from the parent controller like in a TabbedPage

* [MacOS] Add support for ListView  grouping

* [MacOS] Fix image extension method.

* [MacOS] Add base Maps project

* [MacOS] Export MapRenderer

* [MacOS] Add pin click and geocoderbacked for Maps

* [MacOS] Add extra binding project for API not in stable.

* [MacOS] Add MacOS Maps lib

* [MacOS]Fix build on alpha

* [MacOS] Remove MacOS Maps extra binding

* [UITest] Basic macOS setup

* [UITest] Add MacOSApp wrapper implementation

* [MacOS] Set AutomationID

* [UITests] Add ActionSheetUITests to MacOS UITest

* [MacOS] Fix bug on Picker

* [UITests] Link basic uitest basefixture and related files

* [MacOS] Fix pickers reuse

* [UItests] Fix MacOS app path

* [UITest] Ignore UItest for appearing on macOS for now

* [UITest] Update macOS for 2.0.3

* [UITest] Refactor EnterText MacOS app

* [UITest]Fix ViewQuery on MacOS

* [UITest]Fix IsEnabled UItest on macOS

* [UITest] Implement Enter, mark some tests inconclusive fix others

* [MacOS] Implement Entry Completed event

* [UITests] Fix UITest for IsVisible, ignore ToolbarItem test for now

* [UITests] Fix ISVisible again add extra category

* [Controls] Cleanup macOS gallery

* [MacOS] Fix Assembly info

* [Docs] Fix docs

* Fix build

* [Nuget] Fix nuspec

* [Controls] Link files on MacOS

* [Core] Update Forms stack before firing a event saying page was removed, possible breaking change

* [MacOS] Implement RemovePage on NavigationPAgeRenderer

* [UItest] Ignore some , implement back on MacOS UITest app

* [MacOS] Add default back button name (needs to be translated)

* [MacOS] Fix dispose

* [UITest] Make 29257 work on MacOS

* [MacOS] Rename stuff

* [MacOS] More renaming and cleanup

* [MacOS] Share implementations for iOS

* [MacOS] Reuse more IOS extensions

* [MacOS] Reuse FontExtensions

* [MacOS] Share NativeViewWrapper related stuff

* [MAcOS] Share event args and ExportRenderer

* [MacOS] Share platform effect

* [MacOS] Fix build

* [Docs]Fixing docs

* [MacOS] Fix ViewCell reuse

* [Core] Support ListView CachingStrategy on MacOS

* [MacOS] Fix issues with TextCell and ImageCell (we can’t set null to a NSControl value)

* [MacOS] Fix MDP child sizing bug
[UITest] Query marked by id and text

* [MacOS] Comment test related with context actions

* [MacOS] Implement missing stuff on ticker

* [MacOS] Make sure VisualElemenTracker calls the ticker update

* [UITests]Ignore context actions and not possible to test

* [MacOS] Fix Grouping bug on Listview

* [MacOS] Fix selection on Listview when using grouping

* [MacOS] Update navbar when page is popped

* [MacOS] Cleanup NavigationBar

* [Controls] More info on exceptions

* [MacOS] Fix bug animation pop modal

* [MacOS] Bring back BackgroundColor of NavigationBar

* [MacOS] Fix UITest animation delay

* [MacOS] Treat warnings as errors

* [MacOS] Center title on toolbar

* [Core] Add Platform configuration specific for MacOS

* [MacOS] Implement TabbedPage platform specific to handle TabItems on NavigationPage bar

* [MacOS] Fix warning

* [MacOS] Fix bug on SearchBar color

* [MacOS]Fix build

* [MacOS] remove extra dll from maps

* [Docs] Update docs

* [MacOS]Cleanup and refactoring

* Revert "[MacOS] remove extra dll from maps"

This reverts commit 73b948937001fea3f28449a963d0b94943e07aa0.

* [MacOS] Fix wrong refactoring

* [MacOS] dix formatting

* [MacOS] Fix build

* [MacOS] Fix bug on TabbedPageRenderer no title

* [MacOS,UITest] Update packages

* [MacOS ,UITest] Add delay when tapping something, and focus with double click

* [MacOS,UITest] Ignore UITest, not possible to test with current version

* [MacOS,UITest] Ignore test that uses Frame, UITest doesn’t return it

* [MacOS] Fix bug when no title on toolbar items

* [MacOS] Remove FormsNSView

* [MacOS] Cleanup on dispose on MDP renderer

* [MacOS] Different way to test leak of MDP, need to look at this again after

* [MacOS] Update current page when source changes

* [MacOS] More cleanup

* [MacOS,UITest] Implement ClearText

* [MacOS,UITest] ClearText doesn’t work for now on MacOS uitest

* [MacOS] Make sure we show the previous page when popping a Modal

* [MacOS] Fix issue with sizing the Header and visibility, remove for now header renderer reuse

* [MacOS] Clean CustomNSTableView

* [MacOS] Share LabelRenderer with iOS

* [MacOS,UITest] Don’t try to scroll for the element

* [MacOS] Share ResourcesProvider with iOS

* [MAcoS] Share VisualElementPackager with iOS

* [MacOS] Share ViewRenderer with iOS

* [MacOS] Merge with VisualElementTracker from iOS

* [MacOS] Merge with EventTracker from iOS

* [MacOS] Merge with VisualElementRenderer of iOS

* [MacOS] Make sure we always have a layer

* [MacOS] Fix Tracker merge with iOS version

* [MacOS] Fix bug with tabbed page on modal without navigation

* [Core] Rever change on core

* [Controls] Add missing image

* [MacOS] Clear renderers before setting them MDP

* [MacOS] Update tabbedPage ContainerArea

* [Controls] Add Custom renderers tests

* [MacOS] Fix ListViewRenderer

* [MacOS,UITest] Refactoring, implement index

* [MacOS] Make sure we don’t pass null to TextField string value

* [MacOS] Support for multiple clicks in same selected item on NSTableView

* [MacOS, UITest] Fix bug on Back because of refactoring

* [MacOS,UITest] Ignore UITest because we’d-not have ScrollDownTo yet

* [MacOS] Support Focus on EntryRenderer

* [MacOS,UITest] Ignore more a couple of tests that we can’t test on UITest Desktop

* [MacOS,UITest] MacOSApp looks for StaticText fields too

* [MacOS, UITest] Fix EnterText for marked Entry

* [MacOS] Fix index bug on TablevIewDataSource

* [MacOS] Fix SelectedItem TableViewDataSource

* [Nuget] Add Mac to Maps nuspec

* [Nuget]Fix path

* [Controls] Add basic FormsGallery sample

* [macOS] Fixed Tab NSImage crash in TabbedPageRenderer (#705)

* [macOS] Fixed Tab NSImage crash in TabbedPageRenderer

* Coding Style

* Coding Style

* [MacOS] Fix previous merge with master

* [MacOS] Possible simple fix for click on views overlapping

* [UItest] Ignore this part of the test we can’t click on NSViews yet

* [MacOS] Rename to IsOnViewCell

* fix docs

* [MacOS] Cleanup, Address feedback from Samantha’s review

* [MacOS] Add ContextActions

* [Controls] Remove FormsGalery for now

* [Docs] Update docs

* [MacOS] Implement ContextActions

* [MacOS,UITests] Enable and support UITests of ContextActions
2017-01-27 12:52:38 +00:00