platform/upstream/xamarin-forms.git
7 years agoApply the style to ToolbarItem's button
Kangho Hur [Wed, 25 Jan 2017 00:54:14 +0000 (09:54 +0900)]
Apply the style to ToolbarItem's button

TASK=TNET-651

- Applying the button style to toolbar item's (internal) button in case of toolbar item has only text.

Change-Id: I6ea87ffbc4de28bc1bbd29d11f406bd0da1c6a5b

7 years agoAdd FontWeight for Label and Entry
Kangho Hur [Tue, 24 Jan 2017 05:09:11 +0000 (14:09 +0900)]
Add FontWeight for Label and Entry

- This change is for the referernce application (Clock) to follow UX guideline. (Internal only).
- We will improve design and implementation of this APIs in the next release, if requred.

Change-Id: Ifac91174a5859adecc9ec6bff1a1d568512ee70b

7 years agoFixd Label.HorizontalTextAlignment issue
chungryeol lim [Tue, 24 Jan 2017 02:30:22 +0000 (11:30 +0900)]
Fixd Label.HorizontalTextAlignment issue

Change-Id: Id77f1d65d8e6c346b31be011759de7f9fd1dfe3f
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
7 years agoFix Span's markup text tag
Kangho Hur [Tue, 24 Jan 2017 00:10:19 +0000 (09:10 +0900)]
Fix Span's markup text tag

Change-Id: Ib667d444c4bfe4726298c3befde00d9f093ff107

7 years agoRefactoring LabelRenderer
Seungkeun Lee [Mon, 23 Jan 2017 22:52:46 +0000 (07:52 +0900)]
Refactoring LabelRenderer

 - Optimize update of FormattedText

Change-Id: Iad0b8a4972bfef97f28502d724d443188411f760

7 years agoUpdate version to beta-006
Kangho Hur [Mon, 23 Jan 2017 08:58:36 +0000 (17:58 +0900)]
Update version to beta-006

Change-Id: I4832cb2dc64ac98d8d3bf63767f199679470cf3b

7 years agoFix Span's behavior about new line.
Kangho Hur [Mon, 23 Jan 2017 08:33:14 +0000 (17:33 +0900)]
Fix Span's behavior about new line.

TASK=TCAPI-2200

Change-Id: Ie261ccb4a7e6b51120e10c573e5e99e5c7a25f2b

7 years agoFixed Label.HorizontalTextAlignment issue
chungryeol lim [Mon, 23 Jan 2017 08:05:50 +0000 (17:05 +0900)]
Fixed Label.HorizontalTextAlignment issue

- HorizontalTextAlignment is not working for Label
- Task=TCAPI-2201

Change-Id: I6bb509a865a57c774f3de4d43fff8e90cc7c90ca
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
7 years agoFixed Label.FormattedText property issue
chungryeol lim [Mon, 23 Jan 2017 07:06:08 +0000 (16:06 +0900)]
Fixed Label.FormattedText property issue

- Text color is not set when it is FormattedText
- Task=TCAPI-2205

Change-Id: I16796fa52b73c87da7fcbc5c3517adb3e47c9684
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
7 years agoAdd default case under OnPlatform
jh5.cho [Fri, 20 Jan 2017 08:52:07 +0000 (17:52 +0900)]
Add default case under OnPlatform

  - Add default case to let Default action is called to Tizen platform

Change-Id: I15ffdb4622b1173353a4321d49b3b270256491c2

7 years agoConsider TV profile as TargetIdiom
Kangho Hur [Fri, 20 Jan 2017 05:05:56 +0000 (14:05 +0900)]
Consider TV profile as TargetIdiom

- Currently, We assumed TV as TargetIdiom.Desktop. This is because there is no TargetIdiom.TV in Xamarin.Forms mainstream.
- I'll do a PR to adding TargetIdiom.TV. Also, I'll fix it correctly when TargetIdio.TV is merged.

Change-Id: Idb7b1cd2510f9d4cecb70bd1e9d4dae1c2a61b05

7 years agoApply to default layout for the forms application
Kangho Hur [Thu, 19 Jan 2017 00:22:48 +0000 (09:22 +0900)]
Apply to default layout for the forms application

Change-Id: Ieb55d1b2f1a3deb29db9a7ccc8c3009d7553ed2e

7 years agoRemove packaging/custom-find-requires
WonYoung Choi [Thu, 19 Jan 2017 10:30:24 +0000 (19:30 +0900)]
Remove packaging/custom-find-requires

We never have to consider build for Mono runtime in this branch

Change-Id: I0c70fe84e0117dbf0084728b0524cb8736978f0d

7 years agoFix version to 2.3.3.175-beta-004
WonYoung Choi [Thu, 19 Jan 2017 10:29:13 +0000 (19:29 +0900)]
Fix version to 2.3.3.175-beta-004

Change-Id: I153e07e8f17fac1830dc0e7f1cc8a1128241256c

7 years agoFixed DisplayAlert message color issue
chungryeol lim [Thu, 19 Jan 2017 10:04:47 +0000 (19:04 +0900)]
Fixed DisplayAlert message color issue

 - Change the default color of message color to black

Change-Id: Id9b7f74c0ecdc222bb46a9ecc6e4464cb6601cc7
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
7 years agoFixed ListView.SelectedItem Issue
chungryeol lim [Thu, 19 Jan 2017 02:47:27 +0000 (11:47 +0900)]
Fixed ListView.SelectedItem Issue

  - Fixed using SelectedItem property in ItemSelected Callback

Change-Id: I4bdf0c285388c80412b35902077b2940c362e64c
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
7 years agoChange the type of ItemContextItem.Item for extension
SungHyun Min [Wed, 18 Jan 2017 06:23:05 +0000 (15:23 +0900)]
Change the type of ItemContextItem.Item for extension

 - GenListItem -> GenItem

Change-Id: I75d56103ba0a4049739d5981f273ee33e417b2bb
Signed-off-by: SungHyun Min <shyun.min@samsung.com>
7 years agoFix build warning CS4014
Kangho Hur [Wed, 18 Jan 2017 00:51:51 +0000 (09:51 +0900)]
Fix build warning CS4014

Change-Id: Idbbcb5b138504afcdc7e0406b6aaea0dd22228db

7 years agoFix rpm spec file to solve build-break in JazzM
WonYoung Choi [Wed, 18 Jan 2017 00:11:54 +0000 (09:11 +0900)]
Fix rpm spec file to solve build-break in JazzM

Change-Id: I80099afc01c6321f07c5d997ebff29cdc45c1db0

7 years agoUpdate Xamarin.Forms.Tizen.project.json
Kangho Hur [Tue, 17 Jan 2017 05:38:49 +0000 (14:38 +0900)]
Update Xamarin.Forms.Tizen.project.json

Change-Id: I029ff97ec9f3ca66f7bae865d55249bcd02bb763

7 years agoEnsure that source is not null before accessing it
Pawel Andruszkiewicz [Mon, 16 Jan 2017 13:07:48 +0000 (14:07 +0100)]
Ensure that source is not null before accessing it

Change-Id: Iccc85ecbf24612548b9827f0cdcb666cb59a6a6f
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agoPostpone property updates till image finishes loading
Pawel Andruszkiewicz [Mon, 16 Jan 2017 10:20:52 +0000 (11:20 +0100)]
Postpone property updates till image finishes loading

Change-Id: I14ec915050bd62415e065904a4365e12eb7f33c9
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agoSet ElmSharp.Color only when image loading has completed.
Juwon [Fri, 13 Jan 2017 07:47:58 +0000 (16:47 +0900)]
Set ElmSharp.Color only when image loading has completed.

Change-Id: I073a2abf60c1f2ecb5e2e6d4163d0bc51a47cd5d

7 years agoChange two methods to public for extension of CellRenderer
SungHyun Min [Fri, 13 Jan 2017 10:38:37 +0000 (19:38 +0900)]
Change two methods to public for extension of CellRenderer

 - SendCellPropertyChanged, SendUnrealizedCell

Change-Id: I48cdbed3151d301f5e889076cbe2276463647387

7 years agoFix build break, include map-related assemblies
Pawel Andruszkiewicz [Fri, 13 Jan 2017 07:39:04 +0000 (08:39 +0100)]
Fix build break, include map-related assemblies

Change-Id: I12138d3ea61bcd4af9f544bbdbcaad23e112c76c
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agoUpdate version to 2.3.3.175-b03
jh5.cho [Fri, 13 Jan 2017 01:49:57 +0000 (10:49 +0900)]
Update version to 2.3.3.175-b03

Change-Id: I08a95c8ef3801c947a0ee4fdd41882515aa315c0

7 years agoApply a blend color after image loading has completed
Juwon [Fri, 13 Jan 2017 04:44:22 +0000 (13:44 +0900)]
Apply a blend color after image loading has completed

Change-Id: I5bee6a6d2a827c0a85a5c8f1a3a137695aa8f5cf

7 years agoAdd Switch Style
Seunghyun Choi [Thu, 12 Jan 2017 11:12:18 +0000 (20:12 +0900)]
Add Switch Style

 - Add Switch Style(CheckBox, Favorite)
 - Approval of the RFC is required.
   (http://suprem.sec.samsung.net/confluence/display/SPTDTLC/%5BFormsTizen%5D+RFC+5+-+Switch)

Change-Id: If98be73fc84633b670328f723e0e4aa7ccebc82f
Signed-off-by: Seunghyun Choi <sh4682.choi@samsung.com>
7 years agoAdd MapRenderer to enable Xamarin.Forms.Maps on Tizen
chungryeol lim [Tue, 20 Dec 2016 11:16:18 +0000 (20:16 +0900)]
Add MapRenderer to enable Xamarin.Forms.Maps on Tizen

    - Implementation of MapRenderer under Xamarin.Forms.Maps.Tizen
    - Implementation of FormsMaps to initialize Tizen Map
    - Implementation of GeocoderBackend

TASK=TCAPI2044

Change-Id: I4b6f15b5190767ca0c92bb27c383af5f66ae5328

7 years agoProvides ResourcePath as a public API
sung-su.kim [Wed, 11 Jan 2017 07:11:58 +0000 (16:11 +0900)]
Provides ResourcePath as a public API

- Change ResourcePaths class access modifier to public from internal

Change-Id: I6b6b8f635075cbb0f4741c3c0f663c62678e94e3

7 years agoChange Span's access modifier to public
sung-su.kim [Wed, 11 Jan 2017 07:18:54 +0000 (16:18 +0900)]
Change Span's access modifier to public

- Span.GetDecoratedText() and Span.GetStyle() turned to public from internal.

Change-Id: I7411025faa76e751f5191f70467621600ce0f82d

7 years agoSet Device.OS to TargetPlatform.Tizen
Kangho Hur [Thu, 12 Jan 2017 02:00:47 +0000 (11:00 +0900)]
Set Device.OS to TargetPlatform.Tizen

Change-Id: Iba1e004067e90406b90389763615ad6dfacc4c73

7 years agoRemove NET45 code
WonYoung Choi [Thu, 12 Jan 2017 01:17:04 +0000 (10:17 +0900)]
Remove NET45 code

Change-Id: I90202d17b86d0e6e8449048367d422a790fff589

7 years agoAllow x86 build in OBS
WonYoung Choi [Thu, 12 Jan 2017 00:58:54 +0000 (09:58 +0900)]
Allow x86 build in OBS

Change-Id: Ic0eb5a1a72f22d24d1b5ca19567068812e543af2

7 years agoFixed Appearing event calling sequence issue
chungryeol lim [Wed, 11 Jan 2017 07:26:19 +0000 (16:26 +0900)]
Fixed Appearing event calling sequence issue

- Some properties like Width/Height have wrong values under Appearing event

Change-Id: Ib555405e9d79ae3475f87f2d1cb53bbf9e51cda8
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
7 years agoAdd Button Style
Seunghyun Choi [Wed, 21 Dec 2016 09:11:54 +0000 (18:11 +0900)]
Add Button Style

 - Add Button Style(Circle, Bottom)
 - Approval of the RFC is required.
   (http://suprem.sec.samsung.net/confluence/display/SPTDTLC/%5BFormsTizen%5D+RFC+2+-+Button+Style)

Change-Id: I545e0cc2417298f90468b651030937665f547105
Signed-off-by: Seunghyun Choi <sh4682.choi@samsung.com>
7 years agoFix ListView GroupCell bug
Seungkeun Lee [Tue, 10 Jan 2017 08:33:50 +0000 (17:33 +0900)]
Fix ListView GroupCell bug

 - When ViewCell was used for GroupHeaderTemplate
   ItemTemplate was used to make reusable view
 - Make disable Reusable feature for GroupHeader
 - Add a internal API to get low level Item object

Change-Id: I01d205a2070c813a170a6eb9aceab8f24bbdb092

7 years agoFix ListView broken issue when scrolling quickly
Seungkeun Lee [Tue, 10 Jan 2017 05:11:39 +0000 (14:11 +0900)]
Fix ListView broken issue when scrolling quickly

 - Deleted Renderer was used for new content

Change-Id: I9f6b65133352046c001e883de1776164329b182d

7 years agoFix Label wrap issue
Seungkeun Lee [Tue, 10 Jan 2017 03:59:13 +0000 (12:59 +0900)]
Fix Label wrap issue

 - In some case wrap was not properly working
 - The label width should be 1 pixel larger than formattedtext block size
 - It is EFL rule

Change-Id: Ie246dd73b678921c3a0c503022c58b3a2c8dc887

7 years agoChange TFM of Xamarin.Forms.Platform.Tizen to netstandard1.6
WonYoung Choi [Mon, 9 Jan 2017 08:08:21 +0000 (17:08 +0900)]
Change TFM of Xamarin.Forms.Platform.Tizen to netstandard1.6

Change-Id: Iae3c01eedcd8042f7aa0ef93bf0bef6ceb640349

7 years agoSupport BlendColor to Image as a TizenSpecific API
Kangho Hur [Fri, 6 Jan 2017 06:43:46 +0000 (15:43 +0900)]
Support BlendColor to Image as a TizenSpecific API

Change-Id: Ic3068b3c0834605be5d45cc5f1a96d6933a0856f

7 years agoRevert "Homogenous mode should be set to false if grouping is enabled"
Seungkeun Lee [Thu, 5 Jan 2017 06:57:54 +0000 (22:57 -0800)]
Revert "Homogenous mode should be set to false if grouping is enabled"

This reverts commit f11633b67dad5950ceb83935c17f1bfd2305dbeb.
It is normal operation, when HasUnevenRows was false, GroupHeader and Cell has same height

Change-Id: I9f25d5a863799b98622ae7ed43f4080e35f7dbea

7 years agoFix Label.LineBreakMode
Kangho Hur [Fri, 6 Jan 2017 02:01:27 +0000 (11:01 +0900)]
Fix Label.LineBreakMode

TASK=TCAPI-2182

- Head/Middle/TailTruncation are working fine.

Change-Id: I9f3b2381d22c3c50063a668fcc3569fdc7e2f751

7 years agoApply %dotnet rpm macros
WonYoung Choi [Fri, 6 Jan 2017 01:09:00 +0000 (10:09 +0900)]
Apply %dotnet rpm macros

Change-Id: Ib9cf095ef710a65e6f5e219e83d0adab830edf8f

7 years agoTizen Extension for ProgressBar
SungHyun Min [Mon, 12 Dec 2016 03:02:40 +0000 (12:02 +0900)]
Tizen Extension for ProgressBar

 - Add Set/GetPendingMode methods
 - Add Set/GetPulsingStatus methods

Change-Id: Id59b4b2a848035e3a6f414572c2e411c0fd98767
Signed-off-by: SungHyun Min <shyun.min@samsung.com>
7 years agoUpdate version to 2.3.3.175-b02
Kangho Hur [Thu, 5 Jan 2017 06:14:10 +0000 (15:14 +0900)]
Update version to 2.3.3.175-b02

Change-Id: I47c4305606b19d43505d1307e3afd21b99a72cd2

7 years ago[PickerRenderer] Remove unnecessary listener
Pawel Andruszkiewicz [Tue, 3 Jan 2017 13:58:12 +0000 (14:58 +0100)]
[PickerRenderer] Remove unnecessary listener

Change-Id: I4c146c9e7594c48f3310588035427a622ef2460f
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agoSupport Density Independent Pixel on FontSize
Seungkeun Lee [Wed, 4 Jan 2017 05:01:48 +0000 (14:01 +0900)]
Support Density Independent Pixel on FontSize

 - FontSize on Span was use DP unit

Change-Id: I1a0a50dbeae3ede0c61a67f60f7238631684537d

7 years agoImplement Reusable ViewCell
Seungkeun Lee [Wed, 21 Dec 2016 00:55:45 +0000 (09:55 +0900)]
Implement Reusable ViewCell

 - Reusable feature was applied when HasUneventRows is false and the ItemTemplate is not created from the DataTEmplateSelector
 - It means all items has same looks

Change-Id: Iadc1262ff4dcf001b1c767fb479851efa6632c44

7 years agoFixed NavigationPage.BarBackgroundColor Property
chungryeol lim [Mon, 19 Dec 2016 04:22:27 +0000 (13:22 +0900)]
Fixed NavigationPage.BarBackgroundColor Property

- Apply whole area "BarBackgroundColor"
- Property values for page push & pop

Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
Change-Id: I8082be5d57cbea2b3a5b9a1cc533429d080b50c6

7 years agoInitialize DeviceInfo with system information
Pawel Andruszkiewicz [Tue, 3 Jan 2017 08:46:09 +0000 (09:46 +0100)]
Initialize DeviceInfo with system information

Change-Id: Ia70b9ffec0f54b3d0440e448dfae41bc22c546c1
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agoChange platform class access modifier
chungryeol lim [Mon, 2 Jan 2017 08:02:13 +0000 (17:02 +0900)]
Change platform class access modifier

- Requires GetRenderer in custom renderer implementation.
- Other platforms (iOS, Android, UWP) are also open to the public.

Change-Id: I9beb45b63b91ee11b910fe486ec99e124c8ac793
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
7 years agoIgnore TableView.SectionTitle if title is not set
Kangho Hur [Thu, 29 Dec 2016 00:42:37 +0000 (09:42 +0900)]
Ignore TableView.SectionTitle if title is not set

Change-Id: If62b127517d7ca3be8cd979ec2ec7a875a91658e

7 years agoRemove ColorExtensions.ToNative() debug message
Kangho Hur [Thu, 29 Dec 2016 00:33:08 +0000 (09:33 +0900)]
Remove ColorExtensions.ToNative() debug message

Change-Id: I2d9b834a6bef518b7898bcc570cff67a929e0c60

7 years agoApply initial value of Cell.IsEnabled
Seungkeun Lee [Tue, 27 Dec 2016 00:50:52 +0000 (09:50 +0900)]
Apply initial value of Cell.IsEnabled

 - Cell.IsEnabled was false when listview was created, this value was not applied to listview

Change-Id: I1ddc23c440189c5bcca762194b9c91c80bc1c8a6

7 years agoimplement ExpressionSearch for RelativeLayout.FromExpression
chungryeol lim [Mon, 26 Dec 2016 09:50:44 +0000 (18:50 +0900)]
implement ExpressionSearch for RelativeLayout.FromExpression

Change-Id: Id2fdeea22736d08844d8552015dbb895ae2fa28a
Signed-off-by: chungryeol lim <cdark.lim@samsung.com>
7 years agoFix Scrolling to Specific Element in ScrollView
jh5.cho [Mon, 26 Dec 2016 08:06:19 +0000 (17:06 +0900)]
Fix Scrolling to Specific Element in ScrollView

    - Add the calculation code for getting coordination of given Element
      : ScrollToAsync() which has Element parameter did not work.
        It always scroll to (0,0) because there were no calculation code for Element.

TASK=TCAPI-2174

Change-Id: I6f3fbdbd060b1c74bc89c25e7e46d99cf10fbf51

7 years agoFix TabbedPageRenderer's toolbar height
Kangho Hur [Mon, 26 Dec 2016 00:17:33 +0000 (09:17 +0900)]
Fix TabbedPageRenderer's toolbar height

- Applying the ElmSharp.Toolbar bug patch . We don't need to calculate the ratio of toolbar height anymore.

Change-Id: Ib286297e3123e1cf344a01f06b8472341ca12598

7 years agoHomogenous mode should be set to false if grouping is enabled
Pawel Andruszkiewicz [Wed, 21 Dec 2016 07:28:05 +0000 (08:28 +0100)]
Homogenous mode should be set to false if grouping is enabled

Change-Id: I01327d4c0be6847445c4711d5c4cb6f60f3ba6a9
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agoUnregister ScrollRequestHandler when the renderer is being destroyed
JongHeon Choi [Tue, 20 Dec 2016 08:16:41 +0000 (17:16 +0900)]
Unregister ScrollRequestHandler when the renderer is being destroyed

Change-Id: Iae05a147f16932b27bb08ac3d3bdf016040af5c6

7 years agoChange Text HorizontalTextAlignment of TitleBar to Center
Seungkeun Lee [Wed, 21 Dec 2016 04:53:55 +0000 (13:53 +0900)]
Change Text HorizontalTextAlignment of TitleBar to Center

 - Left alignmented text was side effect of Span
 - In Tizen, it was originally center alignment

Change-Id: I6daebf987d614731bfa35ec1f0cc52398550c140

7 years agoRefactoring EntryCell SwitchCell renderer with Reusable feature
Seungkeun Lee [Mon, 19 Dec 2016 06:08:48 +0000 (15:08 +0900)]
Refactoring EntryCell SwitchCell renderer with Reusable feature

 - Use Xamarin.Forms element to make Cell contents
 - Replace OnCellPropertyChanged code with binding feature
 - Implement Reusable cell feature

 - It need updated ElmSharp, beta-002 on nuget.org will be not working
 - Reusable feature of ElmSharp was submited with submit/tizen/20161214.052838 tag

Change-Id: I6d26259cae0da59c1476f5c5698d803ee3c5519f

7 years agoRemove horizontalPadding for Label to measure its width correctly
Kangho Hur [Mon, 19 Dec 2016 05:10:29 +0000 (14:10 +0900)]
Remove horizontalPadding for Label to measure its width correctly

Change-Id: I6b09e9dbb1996eef4751b13973145df72602fb2e

7 years agoFix TextCell text color bug
Seungkeun Lee [Mon, 19 Dec 2016 00:18:31 +0000 (09:18 +0900)]
Fix TextCell text color bug

 - Remove predefined default color in CellRenderers
 - handle Color.Default in Span

Change-Id: I901f93c4b9d929b9d3e646ae29a5a3fb81237152

7 years agoAdd Tizen backend renderer
Kangho Hur [Fri, 16 Dec 2016 02:00:07 +0000 (11:00 +0900)]
Add Tizen backend renderer

- Xamarin.Forms.Platform.Tizen has been added
- Xamarin.Forms.Maps.Tizen has been added
- RPM build spec has been added

Change-Id: I0021e0f040d97345affc87512ee0f6ce437f4e6d

7 years ago[Core] Added RootPage to NavigationPage (#464)
adrianknight89 [Thu, 2 Feb 2017 15:35:23 +0000 (09:35 -0600)]
[Core] Added RootPage to NavigationPage (#464)

* d

* removed whitespace

* Using ArgumentNullException

* changes

7 years ago[Xaml[C]] cast to BindingBase before SetBinding() (#709)
Stephane Delcroix [Wed, 1 Feb 2017 16:03:53 +0000 (17:03 +0100)]
[Xaml[C]] cast to BindingBase before SetBinding() (#709)

7 years ago[All] Basic Accessibility Support (#713)
Samantha Houts [Tue, 31 Jan 2017 19:49:15 +0000 (11:49 -0800)]
[All] Basic Accessibility Support (#713)

* [Core] Add accessibility properties

* [Controls] Add accessibility gallery

* [iOS] Implement accessibility properties

* [Android] Implement accessibilty properties

* [Win] Implement accessibility properties

* [Win] Select ListView item on selected for a11y

* Update docs

* TODO: macOS accessibility

* [iOS] Fix failing UI Tests

7 years agoMake WinRT/UWP platform classes more maintainable (#652)
E.Z. Hart [Sat, 28 Jan 2017 00:14:21 +0000 (17:14 -0700)]
Make WinRT/UWP platform classes more maintainable (#652)

* Split Platform.cs into partial classes

* Split the NavigationPageRenderer into partial classes for easier maintenance

* Simplify GetCommandBarAsync, remove unneeded comments

* Correct broken GetCommandBarAsync method

* Fix OSX build

7 years ago[XamlC] skip static .cctor while looking for default .ctor (#718)
Stephane Delcroix [Fri, 27 Jan 2017 23:32:45 +0000 (00:32 +0100)]
[XamlC] skip static .cctor while looking for default .ctor (#718)

7 years agoMacOS (#650)
Rui Marinho [Thu, 26 Jan 2017 15:33:15 +0000 (15:33 +0000)]
MacOS (#650)

* [MacOS] Add SwitchRenderer

* [MacOS] Add TimePickerRenderer

* [MacOS] Cleanup TimePcikerRender

* [MacOS] Add WebViewRenderer

* [MacOS] Add Javascript evaluate to webview

* [MacOS] Fix build error on WebViewRenderer

* [MacOS] Add Base and TextCell renderers

* [MacOS] Start on ListViewRenderer

* [MacOS] Cleanup

* [MacOS] Vertical center text on default NSTextField

* [MacOS] Center NSTextField vertically

* [MacOS] Add ImageCellRenderer

* [MacOS] Add SwitchCellRenderer

* [MacOS] Add SwitchCellRenderer

* [iOS] Allow to set background color on other CellRenderers

* [MacOS] Fix selection mode on ListView

* [MacOS] Set background on Entry of entry cell

* [MacOS] Fix casting bug on CellRenderer

* [MacOS] Other fix on CellRenderer background

* [MacOS] Add ViewCellRenderer

* [MacOS] Fixes and cleanup on cells

* [MacOS] Add NSScrollView so NSTableView can scroll

* [MacOS] Add HeaderView to ListView

* [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] Remove gallery and uitest project

* [MacOS] dix formatting

* [MacOS] Remove extra stuff

* Merge branch 'master' into macOS-gallery

* [MacOS] Fix rebase

* [MacOS] Fix TargetPlatform

* fix docs

* [MacOS] Fix bug on TabbedPageRenderer no title

* [MacOS] Remove FormsNSView

* [MacOS] Cleanup on dispose on MDP renderer

* [MacOS] Update current page when source changes

* [MacOS] More cleanup

* [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] 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

* [MacOS] Clear renderers before setting them MDP

* [MacOS] Update tabbedPage ContainerArea

* [MacOS] Fix ListViewRenderer

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

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

* [MacOS] Support Focus on EntryRenderer

* [MacOS] Fix index bug on TablevIewDataSource

* [MacOS] Fix SelectedItem TableViewDataSource

* [Nuget] Add Mac to Maps nuspec

* [Nuget]Fix path

* [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

* [MacOS] Rename to IsOnViewCell

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

7 years ago[X] passing test for 43733
Stephane Delcroix [Thu, 26 Jan 2017 14:01:53 +0000 (15:01 +0100)]
[X] passing test for 43733

7 years ago[Xaml] passing test for bz42531
Stephane Delcroix [Wed, 25 Jan 2017 14:45:02 +0000 (15:45 +0100)]
[Xaml] passing test for bz42531

7 years ago[Xaml[C]] Do not instantiate DataTemplate Content at parsing time (#683)
Stephane Delcroix [Wed, 25 Jan 2017 13:47:27 +0000 (14:47 +0100)]
[Xaml[C]] Do not instantiate DataTemplate Content at parsing time (#683)

* [Xaml] rename VisitChildrenFirst

* [Xaml] rework SkipChildren in XamlNode

* [Xaml] fix 45179

* fix

7 years agoFix build
Rui Marinho [Wed, 22 Mar 2017 17:18:57 +0000 (17:18 +0000)]
Fix build

7 years agoFix build
Rui Marinho [Tue, 14 Mar 2017 19:20:25 +0000 (19:20 +0000)]
Fix build

7 years agoFix build
Rui Marinho [Fri, 10 Mar 2017 15:05:46 +0000 (15:05 +0000)]
Fix build

7 years agoFix build
Rui Marinho [Thu, 9 Mar 2017 19:19:44 +0000 (19:19 +0000)]
Fix build

7 years agoUpdate ListProxyTest.WeakToWeak so it works in Release mode (#866)
E.Z. Hart [Thu, 13 Apr 2017 14:40:05 +0000 (08:40 -0600)]
Update ListProxyTest.WeakToWeak so it works in Release mode (#866)

* Update ListProxyTest.WeakToWeak so it works in Release mode

* Disable CS0414 for test

7 years ago[Test]Ignore Weak reference test, failing only on release
Rui Marinho [Wed, 12 Apr 2017 18:04:55 +0000 (19:04 +0100)]
[Test]Ignore Weak reference test, failing only on release

7 years ago[UITest]Fix release build
Rui Marinho [Wed, 12 Apr 2017 16:10:18 +0000 (17:10 +0100)]
[UITest]Fix release build

7 years agoResource Manager fix for F# File Resources (Bugzilla 53515) (#825)
Rob Lyndon [Wed, 12 Apr 2017 10:57:13 +0000 (11:57 +0100)]
Resource Manager fix for F# File Resources (Bugzilla 53515) (#825)

* Resource Manager fix for F# File Resources (Bugzilla 53515)

* Changed spaces to tabs and changed the argument name in the ResourceManager.GetId() function.

* Improved the type checking in GetId().

7 years agoMap renderer extensibility (#844)
jcmanke [Tue, 11 Apr 2017 22:52:04 +0000 (17:52 -0500)]
Map renderer extensibility (#844)

* Added extensibility features to Maps

Android MapRenderer:
- Moved map initialization to protected virtual method OnMapReady, called by explicit implementation of IOnMapReady
-  Added protected virtual method CreateMarker for customization of pins

iOS MapRenderer:
- Added protected virtual method CreateAnnotation for customization of pins

Pin:
- Unsealed the Pin class
- Made Label a bindable property

* [Docs] Update docs

7 years agoMarking exposed plumbing internal only in the docs. (#863)
Mike Norman [Tue, 11 Apr 2017 22:51:14 +0000 (17:51 -0500)]
Marking exposed plumbing internal only in the docs. (#863)

* Marking exposed plumbing internal only in the docs.

* Update docs

7 years ago[C] Lookup in RD also lookup in merged RDs (#861)
Stephane Delcroix [Tue, 11 Apr 2017 18:09:06 +0000 (20:09 +0200)]
[C] Lookup in RD also lookup in merged RDs (#861)

7 years agoImplicit impl of controller ifaces (#807)
kingces95 [Tue, 11 Apr 2017 18:02:06 +0000 (14:02 -0400)]
Implicit impl of controller ifaces (#807)

* Simplify ICtrl callsites

* Rebase fix

7 years agoClean up NavigationBar code in Platform (#753)
Jimmy Garrido [Tue, 11 Apr 2017 09:48:41 +0000 (02:48 -0700)]
Clean up NavigationBar code in Platform (#753)

7 years agoSpell correction of FromattedString (#864)
Anders Rasmussen [Tue, 11 Apr 2017 09:03:07 +0000 (11:03 +0200)]
Spell correction of FromattedString (#864)

7 years agoDo not emit implict_op if from/to are same type (#862)
kingces95 [Mon, 10 Apr 2017 06:48:54 +0000 (02:48 -0400)]
Do not emit implict_op if from/to are same type (#862)

7 years ago[Xaml] Set the TargetProperty on ServiceProvider (#847)
Stephane Delcroix [Fri, 7 Apr 2017 07:48:17 +0000 (09:48 +0200)]
[Xaml] Set the TargetProperty on ServiceProvider (#847)

7 years ago[Internal] Normalize Obsolete attributes (#860)
Samantha Houts [Fri, 7 Apr 2017 07:47:33 +0000 (00:47 -0700)]
[Internal] Normalize Obsolete attributes (#860)

* [All] Normalize Obsolete attributes.

Make sure we include the version in which the member was deprecated and
consistent instructions for working around the deprecation, if
applicable.

* Update docs

7 years agoFix 52962; Cont refresh even when pullToRefresh is disabled (#810)
kingces95 [Thu, 6 Apr 2017 21:47:12 +0000 (17:47 -0400)]
Fix 52962; Cont refresh even when pullToRefresh is disabled (#810)

7 years agoMore Xaml generic support (#857)
Stephane Delcroix [Thu, 6 Apr 2017 21:37:59 +0000 (23:37 +0200)]
More Xaml generic support (#857)

* [XamlG] allow x:Name on nested generic types

* [Xaml*] fail on undeclared xmlns

* [XamlC] allow x:Arguments on generic ctors

7 years ago[Xaml[C]] supports 'using:' xmlns declarations (#851)
Stephane Delcroix [Thu, 6 Apr 2017 21:22:50 +0000 (23:22 +0200)]
[Xaml[C]] supports 'using:' xmlns declarations (#851)

7 years agoFix 54334 (#855)
Stephane Delcroix [Thu, 6 Apr 2017 21:13:49 +0000 (23:13 +0200)]
Fix 54334 (#855)

* [C] unset the FromStyle flag on manual setting

* [C] Do not reset overriden values to default

* complete the fix

7 years agoOnResume assumed that _application had been set (#859)
App Bureauet [Thu, 6 Apr 2017 21:11:05 +0000 (23:11 +0200)]
OnResume assumed that _application had been set (#859)

When OnResume is called it should not expect the _application to be set already.
I have an app where I use one activity for showing a splash screen and then it starts an intent to show the main activity containing the application.
This used to work before 2.3.4.224.

7 years agoFix NRE when RecycleElement is on and list is scrolled quickly (#856)
E.Z. Hart [Thu, 6 Apr 2017 18:55:51 +0000 (12:55 -0600)]
Fix NRE when RecycleElement is on and list is scrolled quickly (#856)

7 years ago[iOS] ActivityIndicator should not disappear when used in a ViewCell (#495)
adrianknight89 [Thu, 6 Apr 2017 18:25:47 +0000 (13:25 -0500)]
[iOS] ActivityIndicator should not disappear when used in a ViewCell (#495)

* preserve activity indicator state

* changed to using listviewrenderer

* remove whitespace

* moved message to constructor

* add sample code

* remove message sending

* changes

* remove curly braces

7 years agoAdded Section indexes when FastScrolled is enabled (#850)
James Clancey [Thu, 6 Apr 2017 17:54:00 +0000 (09:54 -0800)]
Added Section indexes when FastScrolled is enabled (#850)

* Added Section indexes when FastScrolled is enabled

* Moved the GroupListAdapater to its own file

* Renamed Setup to ValidateSectionData

7 years agoAndroid fastrenderers (#845)
Rui Marinho [Thu, 6 Apr 2017 13:19:52 +0000 (14:19 +0100)]
Android fastrenderers (#845)

* Obsolete IVisualElementRenderer.ViewGroup in favor of .View

* Fix NRE

* Changing TContainer in PlatformEffect to View

* Fix "View" type

* new VisualElementRenderer

* First attempt at a fast(er) button renderer

* Fast Label Renderer

* Let's try that again. Behold: Label Fast Renderer

* Move FrameRenderer into Fast Renderers

* Fix Disposable on VisualElementRenderer

* Simplify touch and click handlers

* Drop empty if clause

* [Android] Add initial Image fast renderer

* Split accessibility out to a separate helper class; fix tapgesture bug with label

* [Android] Small fixes to VisualElementRenderer

* Move accessiblity stuff to a separate class (which needs a good name)

* Prevent query from looking to parent for fast renderers

* [Android] ImageRenderer refactoring

* Fix elevation/z-index bugs with Button (e.g., 40173)

* Move SetLabeledBy to Accessibilitizer

* Un-break automation IDs for Labels

* Move gesture handling to its own class

* Split gesture and effect management into separate classes

* Remove unneeded packager from LabelRenderer

* LabelRenderer inherits from FormsTextView

* Batch updates to View

* Fix isOnParentRenderer check for non-Android platforms

* [Controls] Update Xamarin.Forms.ControlGallery.iOS.csproj

* [Android,IOS] Small fixes to rebase and use of Internals

* [Android] Ignroe warning for now

* Fast renderers now passing InputTransparent and IsEnabled tests

* Fast and legacy renderers now pass the Enabled and InputTransparent tests

* Change PlatformEffect back, default container to null

* Fix mangled using directives