Seoyeon Kim [Tue, 1 Aug 2017 08:08:13 +0000 (17:08 +0900)]
[3.0] Fix SVACE issue
- There is a SVACE issue that 'The result of integral division converted into
floating point at atlas-mesh-factory.cpp:86'.
- However, we have purposely made the value as we do not want the remainder in that
expression to affect the value of fBlockY.
Change-Id: If4a12a7ba6d439e3d8c412a6879214d32e464561
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Mon, 10 Jul 2017 08:39:59 +0000 (17:39 +0900)]
[3.0] DALi Version 1.1.48
Change-Id: I238fbcd77d7709a497e88843625016361a0dbf65
Heeyong Song [Mon, 10 Jul 2017 08:33:24 +0000 (17:33 +0900)]
Revert "[3.0] Resource ready signal for Controls (for ImageLoading)"
This reverts commit
52d2f22df80f4285b5679c976168dcf4e27a8c3d.
Change-Id: I267afc6b51ed7c0f6b1d300ac5e8360b092453fc
Victor Cebollada [Fri, 30 Jun 2017 15:13:27 +0000 (16:13 +0100)]
[3.0] Fix for obj-loader
* Fixes an invalid read reported by valgrind.
* Fix an posible overflow
Change-Id: I57ccebb986d209b8d4deba4819b4b3cac8aced24
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Nick Holland [Wed, 31 May 2017 08:21:24 +0000 (09:21 +0100)]
[3.0] Resource ready signal for Controls (for ImageLoading)
Change does the following:
Add Observer to Visual::Base for resource ready
Add signal to Control (Base)
Implement Observer in Control::Impl when Visual is Registered
Add RegisterVisual + allow the control to store a list of visuals
Call the Observer from Image/Svg/etc Visual when they add the Renderer to Actor (this is usually when the visual is placed or stage or when async load completes).
Currently the signal will only fire when the control is on stage and all resources are loaded (async and sync).
Public API change note: This patch changes the declaration of Control::Impl from private to public, however this does not effect any exported symbols, so should keep binary compatibility. Also the class is not accessible externally as it's definition is not exposed.
Example to test change:
https://review.tizen.org/gerrit/#/c/132789
Change-Id: I60ebccb4ea257165a1fa1dd33ac23233f8762638
Richard Huang [Thu, 18 May 2017 12:59:21 +0000 (13:59 +0100)]
Add default stylesheet for wearable
Change-Id: I502498227199cdb676b57c37ac297f10fb5b4b6f
Heeyong Song [Wed, 31 May 2017 08:45:10 +0000 (17:45 +0900)]
[3.0] DALi Version 1.1.47
Change-Id: I8a51d134116851942251d8d094bb990f45f58914
Heeyong Song [Wed, 26 Apr 2017 10:18:47 +0000 (19:18 +0900)]
[3.0] Fix SVACE issue - change sscanf(%d) to strtol
Change-Id: I3e6f4ba14415471deaf0211562a33348f217fd0c
Heeyong Song [Wed, 26 Apr 2017 07:51:10 +0000 (16:51 +0900)]
[3.0] Fix SVACE issue - prevent buffer overflow
Change-Id: Id9e8c7958801aa5f74c6632297435b6eee8f4a94
taeyoon0.lee [Wed, 12 Apr 2017 13:22:50 +0000 (22:22 +0900)]
[3.0] Fixed issue of LOOPING, MUTED, and VOLUME properties
- OnInitialize() initializes VideoPlayer using NativeImage as default
Change-Id: I7f75886de2d9f522d44cd0d8504959ac85bd091c
Heeyong Song [Mon, 17 Apr 2017 09:30:53 +0000 (02:30 -0700)]
Merge "[3.0] Fix SVACE issue - prevent buffer overflow" into tizen_3.0
Heeyong Song [Fri, 14 Apr 2017 01:55:13 +0000 (10:55 +0900)]
[3.0] Fix SVACE issue - prevent buffer overflow
Change-Id: I925be58421ffa73a34580a1c09fc94a58fc3e668
minho.sun [Thu, 6 Apr 2017 15:20:08 +0000 (00:20 +0900)]
[3.0] Add Page-UP/DOWN direction for KeyboardFocusManager
Change-Id: Ia2bad014cfd94e5202ae5a256c10c49884ef6d54
Signed-off-by: minho.sun <minho.sun@samsung.com>
minho.sun [Thu, 6 Apr 2017 13:38:10 +0000 (22:38 +0900)]
[3.0] (button) Downgrade warning level of setting Label Text APIs to only show with a debug build
Change-Id: I9c7b02d952ba8b9513b212f2bcd47ecd6d69d279
Signed-off-by: minho.sun <minho.sun@samsung.com>
minho.sun [Thu, 6 Apr 2017 13:00:33 +0000 (22:00 +0900)]
[3.0] added APPLICATION_RESOURCE_PATH_KEY constant to StyleManager
Added APPLICATION_RESOURCE_PATH_KEY constant to StyleManager.
Without this constant, developer should use absolute path for
stylesheet.
Change-Id: I1576b5db827d279ff2bf0d2144c9b06c4d1c5c2b
Signed-off-by: minho.sun <minho.sun@samsung.com>
minho.sun [Thu, 6 Apr 2017 12:43:15 +0000 (21:43 +0900)]
Revert "Encapsulated visual URL in new VisualUrl class."
This reverts commit
df8ef77e426a89443795efe8e6203646755b3631.
Change-Id: Icb780b2c4fd1527702be20ff0dbde3e97df189bf
Victor Cebollada [Mon, 3 Apr 2017 16:00:02 +0000 (17:00 +0100)]
Fix to allow Actor::COLOR property to change text color
Disclaimer - Actor::COLOR will also affect the background color (if any SetBackground API is used)
Change-Id: I4e7ed501759e6c2f2a5876e95a6bc676bbf81880
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
minho.sun [Mon, 3 Apr 2017 07:30:08 +0000 (16:30 +0900)]
[3.0] change dead link to new link
Change dead Native API reference link to new link
Change-Id: I24423acb4c4fed91c86bfcd60f5ff61fc6dd1043
Signed-off-by: minho.sun <minho.sun@samsung.com>
David Steele [Wed, 15 Mar 2017 13:25:58 +0000 (13:25 +0000)]
Encapsulated visual URL in new VisualUrl class.
The VisualUrl object encapsulates the URL string and also resolves the data type
and whether the url is local or remote on creation.
Change-Id: I88cfc98563799d2646bde1911a5e8e90496ffd45
Signed-off-by: David Steele <david.steele@samsung.com>
Conflicts:
automated-tests/src/dali-toolkit-internal/CMakeLists.txt
automated-tests/src/dali-toolkit/utc-Dali-PushButton.cpp
dali-toolkit/internal/file.list
dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp
dali-toolkit/internal/visuals/animated-image/animated-image-visual.h
dali-toolkit/internal/visuals/image/image-visual.cpp
dali-toolkit/internal/visuals/image/image-visual.h
dali-toolkit/internal/visuals/npatch/npatch-visual.cpp
dali-toolkit/internal/visuals/npatch/npatch-visual.h
dali-toolkit/internal/visuals/svg/svg-visual.cpp
dali-toolkit/internal/visuals/svg/svg-visual.h
dali-toolkit/internal/visuals/visual-factory-impl.cpp
Jinho, Lee [Mon, 27 Mar 2017 11:11:54 +0000 (20:11 +0900)]
packaging/dali-toolkit.spec use license macro
Change-Id: I1b85d78c05cdd2cd794d670e6f3f23978d8190d7
Richard Huang [Thu, 23 Mar 2017 19:08:43 +0000 (19:08 +0000)]
Fix scroll bar issue for TBT testing
1. Fixed the scroll bar visibility isue
2. Increased scroll indicator size and duration to hide indicator to make it easier to grab
3. Fixed orientation of scroll bar to match its direction
Change-Id: I98d7d79ed7f83eec5733e8566ea10708e0f9768b
Seoyeon Kim [Mon, 13 Mar 2017 08:29:13 +0000 (17:29 +0900)]
[3.0] Add extra SINCE_1_2_32 tag for Tizen 3.0
Change-Id: I59c8da43b6ffa3802c809b309fc04bb59937bb38
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
taeyoon0.lee [Mon, 20 Mar 2017 07:55:23 +0000 (16:55 +0900)]
[3.0] DALi Version 1.1.46
Change-Id: I39e43736b8e36dc678679d34144de1220d092f2c
Paul Wisbey [Wed, 15 Mar 2017 18:44:32 +0000 (18:44 +0000)]
Provide alternative implementation of IsOverScrollThreshold()
bool CHomeScreenViewManager::IsOverScrollThreshold()
{
bool retVal( false );
if( m_ScrollView )
{
retVal = m_ScrollView.GetProperty<bool>( Toolkit::ScrollView::Property::WHEEL_SCROLL_DISTANCE_STEP + 2 );
}
return retVal;
}
Change-Id: I1db8f523ec60b4ec47df4a1d34330bd56e14c252
Victor Cebollada [Wed, 15 Mar 2017 09:31:54 +0000 (09:31 +0000)]
[3.0] Re-fix for text controller.
Fixes the issue with the white space introduced by the previous patch.
Change-Id: Ia5f0b4a1638afa8ababff1a35f677f31f7fdbd42
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Wed, 15 Mar 2017 07:50:37 +0000 (07:50 +0000)]
[3.0] Fix for text-controller.
* The text disappears if the predictive text is disabled
and a long press is done over a word.
The problem is that in this use case a key event with
no key code arrives, the text-controller calls the
InsertText() method which clears the selected text.
The fix is do nothing when this keycode arrives.
Change-Id: I23e96691fe45858165ee8fbb8695924a96a9941a
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
su hyung Eom [Tue, 14 Mar 2017 04:43:27 +0000 (21:43 -0700)]
Merge "[3.0] Fix for Text::Controller." into tizen_3.0
Victor Cebollada [Fri, 10 Mar 2017 11:32:14 +0000 (11:32 +0000)]
[3.0] Fix for Text::Controller::KeyEvent()
* When text is selected and any of the volume keys
are pressed, the text is cleared.
The patch fixes the issue by doing nothing when
these key events arrive.
Change-Id: I9e265579b55ffdb3605a37f8c10fb1dbb6e2e626
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Mon, 13 Mar 2017 09:08:57 +0000 (09:08 +0000)]
[3.0] Fix for Text::Controller.
* The text is scrolled to a wrong position after pasting
text on top of the selected one.
It happens if the pasted text has the same or more
number of characters than the selected one but the width
is shorter.
Change-Id: I1bd5a323ec47ef6a9494ea341a4e33dee4d8f763
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
suhyung Eom [Mon, 13 Mar 2017 04:15:39 +0000 (21:15 -0700)]
Merge "[3.0] Fixed to show selection pop up after pasting from clipboard" into tizen_3.0
suhyung Eom [Mon, 13 Mar 2017 03:51:18 +0000 (12:51 +0900)]
[3.0] Fixed to show selection pop up after pasting from clipboard
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: If122c3ed7e90ba79c905b8511d6be3ea6c1d593a
Victor Cebollada [Fri, 10 Mar 2017 09:47:16 +0000 (09:47 +0000)]
[3.0] Fix for the overshoot size of the Text's selection popup.
* Increase the overshoot's size to match the platform one.
Change-Id: I06063e9ecbfdb0e39f5d9ba91adb90123559732c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Paul Wisbey [Thu, 9 Mar 2017 19:39:58 +0000 (19:39 +0000)]
[3.0] Avoid showing unnecessary scroll-indicator
Change-Id: I434f5ea4e7cc49cbc51e28266db61b06ab2f598a
Seoyeon Kim [Thu, 9 Mar 2017 01:52:14 +0000 (10:52 +0900)]
[3.0] (ImageView) Restore DEPRECATED tags of ImageView
Change-Id: I2491b01905fa5b7e0025a7a4c148b4be6cf0f1d4
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Victor Cebollada [Wed, 8 Mar 2017 11:24:19 +0000 (11:24 +0000)]
[3.0] Fix for Text::Controller::RepositionSelectionHandles()
* Fixes an invalid memory read reported by valgrind.
Change-Id: I8625fdbd3203130b73327964d9b5ae063677938f
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Tue, 28 Feb 2017 12:24:10 +0000 (12:24 +0000)]
[3.0] Update double tap and long press behaviour.
It updates the double tap and long press event on a text area with no text.
i.e. On a position clearly after the last character of the text.
* Double Tap : The cursor is placed at the beginning or at the end of the text.
* Long Press : The cursor is placed at the beginning or at the end of the text and shows the text's selection popup.
Change-Id: Iaf9ea817a515781d20c87f60991e1996d5440a62
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Paul Wisbey [Fri, 3 Mar 2017 17:39:48 +0000 (17:39 +0000)]
[3.0] Fix for TextSelectionToolbar overshootEffectColor styling
Change-Id: I9ee4b4182964cccdf0b1540e1495fc5d325227f8
Victor Cebollada [Fri, 3 Mar 2017 14:41:16 +0000 (14:41 +0000)]
[3.0] Fix for single line text updates.
Change-Id: Idfe7b241c75fb3ec18ac73458bf4db1114ea5d64
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Paul Wisbey [Tue, 28 Feb 2017 19:24:19 +0000 (19:24 +0000)]
[3.0] Initially show scroll indicator for a brief period
Change-Id: Ib19586c964d7f62aa78b89c791f7ff0067c729d0
suhyung Eom [Thu, 2 Mar 2017 01:21:43 +0000 (10:21 +0900)]
[3.0] Ensure text controls do a relayout when the font or the style changes
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I60f2bd789a525a11489988c7352d0c7df31e0658
Victor Cebollada [Mon, 27 Feb 2017 17:02:47 +0000 (17:02 +0000)]
[3.0] Fix for the highlight box.
* The highlight box is not created when the text edited
is in the pre-edit state and the user does a long press
on top of the pre-edited word.
The issue is fixed reseting the update-cursor flag to
false.
Change-Id: I8100504bfeb6894ddfc99a9768e6492e076fd648
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
suhyung Eom [Mon, 27 Feb 2017 10:49:31 +0000 (02:49 -0800)]
Merge "[3.0] Fixed to show textSelectionPop up normally on second long press" into tizen_3.0
suhyung Eom [Mon, 27 Feb 2017 10:37:45 +0000 (19:37 +0900)]
[3.0] Fixed to show textSelectionPop up normally on second long press
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: Ib13cb8bb21fc73ccc200e28354691137b3753d19
Victor Cebollada [Thu, 23 Feb 2017 17:51:39 +0000 (17:51 +0000)]
[3.0] Text - Fix for emojis resampling.
* Clears the texture when a new atlas is created.
* Query the emoji bitmaps with the desired size.
* Uses the shadow's color for emoji's shadows.
Change-Id: I262f04a59cae6c1d9b2f5b15410843f4a3020219
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Fri, 17 Feb 2017 16:07:56 +0000 (16:07 +0000)]
[3.0] Use IsGlyphColor().
* It uses the IsGlyphColor() method instead
creating a new bitmap and check if it's a
color one.
Change-Id: Icc3496757359a75ce3b8d9384a8120074a182ed5
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Paul Wisbey [Wed, 22 Feb 2017 17:19:34 +0000 (17:19 +0000)]
Added BACKGROUND_BORDER property to TextSelectionPopup
(Version which does not depend on ImageVisual mixColor)
Change-Id: I14a7929f75c5502fbb740d1768fd032486bc052b
Paul Wisbey [Tue, 21 Feb 2017 13:28:02 +0000 (13:28 +0000)]
Reduced text-selection indicator height for WVGA resolution
Change-Id: Ief8d6f445f0bc182c0fbae1b2c08db791eafff03
Paul Wisbey [Mon, 20 Feb 2017 15:54:48 +0000 (15:54 +0000)]
[3.0] Provided color-conversion helpers
Change-Id: I95e2b4c338e32c012d05f8a63237a419283222c5
taeyoon0.lee [Mon, 20 Feb 2017 12:30:38 +0000 (21:30 +0900)]
[3.0] Modified custom shader part for native image
- Fixed issue, custom shader isn't applied after changed to visual
Change-Id: Idd5c2eba75db78fa7974e780c80b72d5b3f7ac5b
minho.sun [Mon, 20 Feb 2017 05:03:30 +0000 (21:03 -0800)]
Merge "[3.0] Clear input focus when Return/Escape key Up" into tizen_3.0
minho.sun [Mon, 20 Feb 2017 02:20:43 +0000 (11:20 +0900)]
[3.0] Clear input focus when Return/Escape key Up
Make TextField and TextEditor cleare it's input focus when getting Return/Escape KeyUp event.
Change-Id: Idc9318ab2a7a25aeaf92e750377c97edfd27e929
Signed-off-by: minho.sun <minho.sun@samsung.com>
Seoyeon Kim [Tue, 7 Feb 2017 05:54:43 +0000 (14:54 +0900)]
[3.0] Update doxygen comments
- For document public release, Native API reference is checked by Lionbridge.
Change-Id: I78cad260974f386ceeeb1fbc8774815be2213457
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Adeel Kazmi [Fri, 17 Feb 2017 17:23:28 +0000 (17:23 +0000)]
[3.0] (ImageView) Downgrade warning level of Image param APIs to only show with a debug build
Change-Id: Ib0467d0b310cd695bd950de1993384dd73744ec6
Nick Holland [Thu, 16 Feb 2017 12:37:56 +0000 (12:37 +0000)]
[3.0] Allow text-selection scroll indicator to have a different style
Change-Id: I5e9899fe28580b83ecb3fc13309df4812ffc0390
Paul Wisbey [Thu, 16 Feb 2017 09:52:58 +0000 (01:52 -0800)]
Revert "[3.0] Moved regular scrollbar image url into stylesheet"
This reverts commit
06ce512a5bbfcac3ee3bf00ee578f2518f92deae.
Change-Id: Id1981ed71d7fec5d57194572e2196dda79a33ef2
Nick Holland [Wed, 15 Feb 2017 19:08:02 +0000 (19:08 +0000)]
[3.0] Moved regular scrollbar image url into stylesheet
Change-Id: Ie4d333671d7e45bce6ee259c9bd29435e285d748
Victor Cebollada [Mon, 13 Feb 2017 09:27:19 +0000 (09:27 +0000)]
[3.0] Fix for cursor size and position.
* If the cursor is bigger than the height of the text control it's
set as not visible.
* The patch updates the size and position of the cursor to make
a portion of it visible.
Change-Id: I5cb258325d8692d8248e32efe42367c5c9d19e1f
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Paul Wisbey [Sun, 12 Feb 2017 19:50:34 +0000 (19:50 +0000)]
[3.0] Fixed the ItemView already scrolled to end logic
Change-Id: I7d4e9df6c4c801077a46e6957b6d159977646de2
Seoyeon Kim [Fri, 10 Feb 2017 05:39:53 +0000 (21:39 -0800)]
Merge "[3.0] Fixed Svace Issue" into tizen_3.0
Seoyeon Kim [Thu, 9 Feb 2017 07:34:33 +0000 (16:34 +0900)]
[3.0] Fixed Svace Issue
- Initialized one of class member
Change-Id: I2294ab995ad67af2405776370aeab5157bd35e7c
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Heeyong Song [Thu, 9 Feb 2017 08:27:41 +0000 (17:27 +0900)]
[3.0] Fix SVACE issue - memory leak
- Delete the elements of mResourceRequests
Change-Id: Ic4ba5a09e6c3dbfc8ebfc85a0344790f6a16a661
adam.b [Thu, 9 Feb 2017 15:18:33 +0000 (15:18 +0000)]
[3.0] Fixed 9-patch rendering issue when applying a scale.
Integrating scale with size was causing a glitch
during scaling a 9-patch image (when scale < 1)
Change-Id: I1cee72cab42e9d828f312c3747a22e48347d5f50
Victor Cebollada [Thu, 9 Feb 2017 14:33:57 +0000 (14:33 +0000)]
[3.0] Fix cursor display issue.
* On resume after the power key is pressed the text controller is
still in edit mode.
When the power key is pressed, the text controller is set to the
INACTIVE state.
* @todo: Different applications may want a different behaviour on resume.
Change-Id: I770b991bc0c141b5a2db260cf7ef7a693ead4b02
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Tue, 7 Feb 2017 17:07:14 +0000 (17:07 +0000)]
[3.0] Added scroll-bar to text selection toolbar
Change-Id: I93f87fcb2471c85ef251a3b396130677b0a7e070
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Wed, 8 Feb 2017 14:33:24 +0000 (14:33 +0000)]
[3.0] Text - Fix for text controller.
* Fixes the issue when two or more pre-edit events
arrive from the imf manager.
The text controller was not able to remove the
previous text.
Change-Id: I85ba391f6d3c7f5609fbd0ba1b49cb3440059269
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Paul Wisbey [Mon, 6 Feb 2017 13:39:51 +0000 (13:39 +0000)]
[3.0] Use TextField point-size 8.5
Change-Id: I0557e507d46a7640fb08a16eac8b90d0296e85f2
Heeyong Song [Fri, 3 Feb 2017 03:42:38 +0000 (19:42 -0800)]
Merge "[3.0] change adding focus indicator logic" into tizen_3.0
minho.sun [Thu, 2 Feb 2017 06:21:44 +0000 (15:21 +0900)]
[3.0] change adding focus indicator logic
Make sure KeyboardFocusManager add focus indicator according to
mIsFocusIndicatorEnabled.
Change-Id: I036dbf4acf75214108d21dedce73cf604279669e
Signed-off-by: minho.sun <minho.sun@samsung.com>
Adeel Kazmi [Tue, 20 Dec 2016 10:46:50 +0000 (10:46 +0000)]
[3.0] Remove incorrect Deprecated warning from Internal::Control
This is called from OnChildAdd so a control doing the right thing will always see this warning.
Classes overriding this method will not show the wanring which is actually the incorrect thing.
Best to just remove it as it's polluting the log.
Change-Id: I8509f14b75fd4e8e632f19f9487056454b4fba0c
Victor Cebollada [Mon, 23 Jan 2017 08:54:50 +0000 (08:54 +0000)]
[3.0] Text - Use the uColor uniform to render the emojis.
* Allows to mix the emoji color with a given color.
i.e. a different alpha.
Change-Id: If8b3a4eecf2dc65785afd3aafbe03c485ac0d444
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Ferran Sole [Fri, 20 Jan 2017 10:52:22 +0000 (10:52 +0000)]
Fix for ItemView OVERSHOOT_SIZE
Setting overshoot size after overshoot was enabled was not working
Change-Id: I000958217e14ba4aaab408076af969bc34d671ef
Victor Cebollada [Wed, 11 Jan 2017 16:17:08 +0000 (16:17 +0000)]
[3.0] Text's selection popup mirroring.
* Reverses the order of the text's selection popup toolbar
when the platform's language is right to left.
* Scrolls to the first reversed button (that's the end
of the toolbar).
Change-Id: I58c5bbc5402810e0bd94510cc3f12143b572e395
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Seoyeon Kim [Tue, 10 Jan 2017 05:19:34 +0000 (14:19 +0900)]
[3.0] Update doxygen comments
- Fix the graph description in ItemView::RemoveItem()
- Add some descriptions in more detail, checked by LB
Change-Id: I98fb22b4b02830da42651c16e7dfe2bc207a5137
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
suhyung Eom [Fri, 6 Jan 2017 06:25:56 +0000 (15:25 +0900)]
[3.0] Add dali-adaptor as shared library
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: Ib78fc4f1ec04e690770d17c2c9a601457d96b000
suhyung Eom [Fri, 30 Dec 2016 06:27:35 +0000 (22:27 -0800)]
Merge "[3.0] Fixed crash issue by referencing unallocated memory" into tizen_3.0
suhyung Eom [Fri, 30 Dec 2016 05:39:10 +0000 (14:39 +0900)]
[3.0] Fixed crash issue by referencing unallocated memory
Crash was occurred when referencing unallocated memory
Wrong memory of DefaultFont->FindFont was used with condition
(script = TextAbstraction::UNKNOWN and defaultFonts != NULL)
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: Ifacceb7b6766156c7d3b11d2c2408f57dad2e6ee
Seoyeon Kim [Fri, 30 Dec 2016 04:38:42 +0000 (13:38 +0900)]
[3.0] Fix the warning log causing the wrong position
Change-Id: I8eee4d59970c3c1243e6155961089d7a085e75c1
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Taeyoon Lee [Fri, 30 Dec 2016 04:35:28 +0000 (20:35 -0800)]
Merge "Fix a bug in control background setting" into tizen_3.0
Seoyeon Kim [Thu, 29 Dec 2016 02:46:27 +0000 (18:46 -0800)]
Merge "[3.0] Add Visual descriptions to generate doxygen page" into tizen_3.0
suhyung Eom [Wed, 28 Dec 2016 04:18:49 +0000 (13:18 +0900)]
[3.0] Fixed bug that text is hidden by selection area
If layer behavior is 3D, selection highlight actor hide text actor in textField
Fixed by changing selection highlight actor's Z position in case of
Layer_3D is used
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I396227c0c110043a69976076d6b8f00379c358b7
suhyung Eom [Mon, 26 Dec 2016 04:39:07 +0000 (13:39 +0900)]
[3.0] Added po files for more languages
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I916f1e7eb58cc8b0a6fff1e96dfc56fd102cd6ae
Seoyeon Kim [Thu, 22 Dec 2016 07:21:23 +0000 (16:21 +0900)]
[3.0] Add Visual descriptions to generate doxygen page
Change-Id: I6d90458289e4d01064c08ba9eac3a0a91cc78252
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
Xiangyin Ma [Wed, 21 Dec 2016 14:47:07 +0000 (14:47 +0000)]
Fix a bug in control background setting
Change-Id: I25eef3eff01496eb28ac12be79443e783fb09168
suhyung Eom [Tue, 20 Dec 2016 01:11:35 +0000 (10:11 +0900)]
[3.0] Move virtual destructor same position as 2.4
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I2ecac312d03ec325d6c0e73185a3063c6b31cb11
suhyung Eom [Fri, 16 Dec 2016 05:42:45 +0000 (14:42 +0900)]
[3.0] Move virtual destructor position to its original
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I060d3b1c67119975dd1e6bbfb95efafe967e4a1d
Paul Wisbey [Fri, 16 Dec 2016 15:36:09 +0000 (07:36 -0800)]
Merge "[3.0] Text - Fix for placement actor." into tizen_3.0
Victor Cebollada [Wed, 14 Dec 2016 07:10:22 +0000 (07:10 +0000)]
[3.0] Text - Fix for placement actor.
* Aligns the placement actor within the text control according with the alignment properties.
Change-Id: I62782283d13195081b56d395eecb854eb30f1df9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Seoyeon Kim [Fri, 16 Dec 2016 06:36:53 +0000 (15:36 +0900)]
[3.0] Add visuals group tag for doxygen
Change-Id: Iafd4f3a25113b890e0f01adab4d52d6b584efd97
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dongsug.song [Tue, 13 Dec 2016 04:29:18 +0000 (20:29 -0800)]
Merge "[3.0] Remove dali csharp codes" into tizen_3.0
suhyung Eom [Thu, 1 Dec 2016 09:22:39 +0000 (18:22 +0900)]
Apply deprecate macro and LOG
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I4e70aac876a49a6bc67c17ee7e179f5ef6d23f13
Victor Cebollada [Thu, 8 Dec 2016 14:52:47 +0000 (14:52 +0000)]
[3.0] Text - TextClipper replaced by an Actor with the CLIPPING_MODE enabled.
* Fixes issues with the inherited alpha channel.
Change-Id: I6a3f125d6de10d4d3d8673a6b340f05ae0edd3f6
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
adam.b [Thu, 8 Dec 2016 14:58:04 +0000 (14:58 +0000)]
Added devel property PREMULTIPLIED_ALPHA ( "premultipliedAlpha" ).
Control::SetBackground() applies premultipliedAlpha on existing
visual if no new visual instantiated.
The property enables/disables premultiplied alpha on the Visual.
Example:
control.SetProperty( Toolkit::Control::Property::BACKGROUND,
Property::Map().
Add( "premultipliedAlpha", true ));
Change-Id: Ie28aaceb9e7b9ca4f7a1e4ef0cf424a4a7fe5f00
Victor Cebollada [Wed, 7 Dec 2016 10:42:36 +0000 (10:42 +0000)]
[3.0] Text - Fix for text's cursor position.
* The control's size stored in the view-model is not updated
when the text is void.
If the text's alignment is not BEGIN, the cursor position
is calculated badly.
Change-Id: I65f6c520268608ad1605fc2d0b70be96377bb9dd
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Thu, 17 Nov 2016 11:49:55 +0000 (11:49 +0000)]
[3.0] Text - Fix for input style when there is a long press event.
* The input style was not updated.
Change-Id: I5758ee06739e2c1d28b62cb6d492c6f9bddf0b78
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Thu, 27 Oct 2016 15:18:28 +0000 (16:18 +0100)]
[3.0] Text - Initialize the mUpdateCursorHookPosition member in the constructor.
Change-Id: I9ebaa2d3d6760913753771bf51aef9528b850a73
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Fri, 21 Oct 2016 14:57:11 +0000 (15:57 +0100)]
[3.0] Fix for a single line text's vertical alignment.
* Use case:
- A TextField with the vertical alignment set to CENTER.
- Add some text. It's correctly aligned.
- Remove some text with the back space. It aligns the text to the TOP
Change-Id: I5c8c6f2bd81d8f78ba5ec2835c1e55531cb99a77
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Fri, 30 Sep 2016 15:52:39 +0000 (16:52 +0100)]
[3.0] TextController refactor.
* A different control interface has been created for the editable text controls.
The text label doesn't need to implement the methods AddDecoration(),
TextChanged(), MaxLengthReached() and InputStyleChanged().
Change-Id: I803729d7d502b03923bae5744af887d8cfe84b57
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Victor Cebollada [Tue, 4 Oct 2016 13:11:06 +0000 (14:11 +0100)]
[3.0] Text - Ellipsis improvement.
* Elide all the characters if the control's height is not big enough.
* Fix the vertical alignment.
Change-Id: Ib7f8cc710b554952da357321e88058bbb3c7b0ab
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
suhyung Eom [Wed, 7 Dec 2016 02:28:33 +0000 (11:28 +0900)]
[3.0] Fixed svace defect
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I8de5d3deecbb0ad9ab4362eb84b4b07fc01e81e4
dongsug.song [Fri, 2 Dec 2016 10:09:51 +0000 (19:09 +0900)]
[3.0] Remove dali csharp codes
Change-Id: Ibfc4b287e5e5aba9ab0465a79be9c9f241010f80
Signed-off-by: dongsug.song <dongsug.song@samsung.com>