platform/upstream/xamarin-forms.git
7 years agoFix Hiding Master Page on MasterDetailPage
jh5.cho [Thu, 9 Feb 2017 07:11:33 +0000 (16:11 +0900)]
Fix Hiding Master Page on MasterDetailPage

    - Fix to hide Master page which is caused by the focus issue
    - Remove private variable '_isPresented' to remove unnecessary steps

TASK=TCAAPI-2192

Change-Id: I0a5edc4622643a11c6afa33f58b86fc773a15915

7 years agoRefactoring Label Renderer
Seungkeun Lee [Mon, 6 Feb 2017 04:41:42 +0000 (13:41 +0900)]
Refactoring Label Renderer

 - Optimize FormattedText handling
 - Define a new Value of TextAlignment, LineBreakMode for default value
 - Old-version of Span used a wrong specific value of Alignement and LineBreakMode

Change-Id: I78baded712ce18f279774b09608c2a2d19931a69

7 years agoRemove unnecessary resize of Window
Seungkeun Lee [Thu, 2 Feb 2017 06:43:11 +0000 (15:43 +0900)]
Remove unnecessary resize of Window

 - In Initialize step, resize window to ScreenSize, but it is not necessary
 - And it cause improper resize callback, it caused performance degradation

Change-Id: I04f684da0d45ef3b7f40b8646303422197063acf

7 years ago[Page] Change alert dialog message text wrap type
Piotr Czaja [Tue, 3 Jan 2017 13:32:08 +0000 (14:32 +0100)]
[Page] Change alert dialog message text wrap type

Note:
Alert dialog message text was not wrapped, so long strings did not
fit on the screen.

Change-Id: I820a262888969ae97e45e0b4a57d683b44a8322d
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
7 years agoAdd support for NativeViews specified in XAML
Pawel Andruszkiewicz [Thu, 26 Jan 2017 12:14:55 +0000 (13:14 +0100)]
Add support for NativeViews specified in XAML

See: https://developer.xamarin.com/guides/xamarin-forms/user-interface/native-views/

Change-Id: I0a4315cccdaa208585f417db4f91240555a64a47
Signed-off-by: Pawel Andruszkiewicz <p.andruszkie@samsung.com>
7 years agoRebase Forms to upstream lastest (2.3.4-pre2)
Kangho Hur [Fri, 3 Feb 2017 06:21:16 +0000 (15:21 +0900)]
Rebase Forms to upstream lastest (2.3.4-pre2)

- Synced with 3c7b291. (https://github.com/xamarin/Xamarin.Forms/commit/3c7b2918b3065a81ecb4040fde09d93aae09f62d)
- [Core] Device.Tizen has been added newly.
- Package version has updated to 2.3.4-r190-001

Change-Id: I948fd73212744aa8c1941dc6a6d8e46eb29523af

7 years ago[MasterDetailPage] Change behavior after back button pressed
Piotr Czaja [Thu, 2 Feb 2017 06:48:06 +0000 (07:48 +0100)]
[MasterDetailPage] Change behavior after back button pressed

Note:
Behavior of MasterDetailPage control after back button pressed has been
reversed to correspond to its behavior on Android platform.

Change-Id: I42cadd645e536b511302acb22bd36ecc1709430c
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
7 years agoFix ampersand handling in Span class
Adam Szczerbiak [Wed, 1 Feb 2017 05:49:24 +0000 (06:49 +0100)]
Fix ampersand handling in Span class

Ampersand character ('&') has not been handled correctly, causing the
text handled by Span class to display solely the initial part, up to the
first '&' character.
This bug has been spotted in Xamarin.Samples.TipCalc application, where
the displayed label's caption stated "Food ", but pre-programmed string
was "Food & Drink".
This commit makes the Span class handle the '&' character correctly,
which fixes that bug.

Change-Id: I0e17d39fbfae6a5ef5eea585a5229c4a5b0cca7e
Signed-off-by: Adam Szczerbiak <a.szczerbiak@samsung.com>
7 years ago[TabbedPage] Add sending OnAppearing and OnDisappearing notifications
Piotr Czaja [Tue, 31 Jan 2017 10:05:15 +0000 (11:05 +0100)]
[TabbedPage] Add sending OnAppearing and OnDisappearing notifications

Change-Id: Id8094a1a06a96934ee0c41015fd8da2c1421e4bd
Signed-off-by: Piotr Czaja <p.czaja@samsung.com>
7 years agoFix wrong Group Header handling
Seungkeun Lee [Wed, 25 Jan 2017 01:03:23 +0000 (10:03 +0900)]
Fix wrong Group Header handling

 - Set up all properties of ItemContext before add GenList

Change-Id: I88740b2a6e0b65c4bf3467b3c363804491078708

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[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 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[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 ago[UWP] Fixes for usage of XF with .net native toolchain (#1024)
Rui Marinho [Wed, 28 Jun 2017 20:25:23 +0000 (21:25 +0100)]
[UWP] Fixes for usage of XF with .net native toolchain (#1024)

* [UWP]Add required info for .net native when using AccessibilityView on UWP

* [UWP] Add reference to xaml assembly

* [UWP] Change rd.xml to be a embeded resource

* [UWP] Move code to the right place

* [UW]Only specify namespace we need

7 years ago[UWP] Make sure to update HitTestVisible when IsEnable changes (#1015)
Rui Marinho [Mon, 26 Jun 2017 18:13:37 +0000 (19:13 +0100)]
[UWP] Make sure to update HitTestVisible when IsEnable changes (#1015)

7 years ago[Android] Dispose check before setting properties on Button (#1013)
Samantha Houts [Mon, 26 Jun 2017 18:11:53 +0000 (11:11 -0700)]
[Android] Dispose check before setting properties on Button (#1013)

7 years agoAdd missing member variable to FormsApplicationActivity
E.Z. Hart [Mon, 26 Jun 2017 17:17:25 +0000 (11:17 -0600)]
Add missing member variable to FormsApplicationActivity

7 years agoFix NRE when background color of button set in FormsApplicationActivity (#1010)
E.Z. Hart [Sat, 24 Jun 2017 00:29:38 +0000 (18:29 -0600)]
Fix NRE when background color of button set in FormsApplicationActivity (#1010)

7 years agoFix border on android buttons (#941)
Rui Marinho [Thu, 1 Jun 2017 10:27:12 +0000 (11:27 +0100)]
Fix border on android buttons  (#941)

* [Android] Add a button background tracker to handle background and border properties and be shared between button renderers

* [Android]Fix border radius dependency

* [Android] Make sure we always create or updated the background button tracker

7 years ago[iOS] ListView with UnevenRows and Cell Heights will no longer be slow to load (...
Samantha Houts [Fri, 23 Jun 2017 10:37:00 +0000 (03:37 -0700)]
[iOS] ListView with UnevenRows and Cell Heights will no longer be slow to load (#994)

* Add repro for 56896

* [iOS] Cached defined row heights for estimation

* [iOS] Null check source

7 years agoSet the Id field for Android Views created by Forms #1004
E.Z. Hart [Thu, 22 Jun 2017 22:33:03 +0000 (16:33 -0600)]
Set the Id field for Android Views created by Forms #1004

7 years agoFix build
Rui Marinho [Thu, 22 Jun 2017 19:12:59 +0000 (20:12 +0100)]
Fix build

7 years agoFix possible crash on API 21+ at launch when using Holo theme and FormsApplicationAct...
Jimmy Garrido [Thu, 22 Jun 2017 18:49:39 +0000 (11:49 -0700)]
Fix possible crash on API 21+ at launch when using Holo theme and FormsApplicationActivity (#961)

* Fix possible crash on API 21+ at launch

* Do not use an explicit cast

* Do not use C# 7 pattern matching

7 years ago[Android] Remove the ". " on empty labels (Accessibility) on Fastrenderers (#915)
Samantha Houts [Thu, 22 Jun 2017 18:19:26 +0000 (11:19 -0700)]
[Android] Remove the ". " on empty labels (Accessibility) on Fastrenderers (#915)

* [Android] Concatenate Name/HelpText better

Also remove some parameters that were added to workaround an issue that
no longer exists.

* Add repro

* Listen to Stephane

he's usually right

* oops, didn't save

7 years agoRemove debug outputs (#1008)
Paul DiPietro [Thu, 22 Jun 2017 17:52:38 +0000 (12:52 -0500)]
Remove debug outputs (#1008)

7 years agoAdd check for instance of UITableView (#885)
Matthias [Thu, 27 Apr 2017 14:42:12 +0000 (16:42 +0200)]
Add check for instance of UITableView (#885)

7 years ago[XamlC] fix release builds of Xaml Unit Tests
Stephane Delcroix [Wed, 17 May 2017 11:20:22 +0000 (13:20 +0200)]
[XamlC] fix release builds of Xaml Unit Tests

7 years agoDispose check on ButtonRenderer (#975)
bentmar [Mon, 12 Jun 2017 09:22:32 +0000 (11:22 +0200)]
Dispose check on ButtonRenderer (#975)

Check if buttonrenderer is disposed when making changes

7 years ago[previewer] make sure we do not crash even if the previewer doesn't s… (#946)
Stephane Delcroix [Thu, 1 Jun 2017 07:12:00 +0000 (09:12 +0200)]
[previewer] make sure we do not crash even if the previewer doesn't s… (#946)

* [previewer] make sure we do not crash even if the previewer doesn't sets the flag

* make the tests pass