platform/core/uifw/dali-toolkit.git
10 years ago(ScrollView) Updates to scroll view internals to improve responsiveness and smoothnes...
Julien Heanley [Fri, 21 Feb 2014 11:09:08 +0000 (11:09 +0000)]
(ScrollView) Updates to scroll view internals to improve responsiveness and smoothness of visual actions

[Problem] Overshoot indicator could occasionally remain on screen, overshoot would prevent panning in opposite direction until pan returned to point where overshoot started
[Solution] Replaced numerous constraints with property notifications.
           Implemented the new vector component animation to remove need for separate internal x/y components.
           First stage of constraint reduction on ScrollView, more to follow
           Pre clamp scroll value is now snapped back to clamped position using animation and no longer needs a constraint to follow old internal x/y components
           Made functionality of overshoot more solid by making it directly dependant on pre clamped scroll and post clamp scroll values now that animation is done elsewhere.
           Overshoot no longer instantly flicks back to 0 if user releases and restarts a gesture before values have finished animating back
           If a pan has locked to an axis it now remains locked if user releases and starts another pan before scrolling has completed, preventing issue where a vertical page scroll could be started in the middle of a horizontal page scroll, which brakes the appearance of all page scroll effects.

Change-Id: I73e8ca71f5ffd8eb3c8a1fbf91823881ac4bb2ce
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years agoFixed wrong scroll direction for mouse wheel event in ItemView and ScrollView
Richard Huang [Thu, 5 Jun 2014 14:52:41 +0000 (15:52 +0100)]
Fixed wrong scroll direction for mouse wheel event in ItemView and ScrollView

[problem] ScrollView and ItemView are moving in the wrong direction for mouse wheel event.
[solution] Fixed the scroll direction for mouse wheel event in ItemView and ScrollView.

10 years agoConversion to Apache 2.0 license
Taeyoon [Tue, 3 Jun 2014 10:02:53 +0000 (19:02 +0900)]
Conversion to Apache 2.0 license

Change-Id: Ieba1af3439cf87694a6893c684b78dc13de0ede9

10 years agoUpload package dali-toolkit_0.9.21
jonghyun.ho [Thu, 5 Jun 2014 01:35:45 +0000 (10:35 +0900)]
Upload package dali-toolkit_0.9.21

10 years agoScrollView: Avoid animating in wrong direction during fast flick
Paul Wisbey [Tue, 3 Jun 2014 10:42:21 +0000 (19:42 +0900)]
ScrollView: Avoid animating in wrong direction during fast flick

[problem]      When flicking pages quickly, it sometimes jumps backwards
[cause]        Incorrect (infinite) velocity calculation in ScrollView::OnTouchEvent()
[solution]     Don't interrupt snap-animation immediately during TouchPoint::Down i.e. allow
time for pan gesture to occur.

10 years ago(StyleManager) Add style monitor signal into StyleManager
Kingsley Stephens [Thu, 29 May 2014 14:27:41 +0000 (15:27 +0100)]
(StyleManager) Add style monitor signal into StyleManager

[problem]      The StyleManager was missing the StyleMonitor signal
[solution]     Connect StyleManager to StyleMonitor style change signal

               patch 2: combine ThemeChangeSignal and StyleChangeSignal into one

Change-Id: I8141b0b71091b42b6c0a2db047272ded6d21b273

10 years agoRevert "Revert "[SRUK] (StyleManager) Create a style manager""
Adeel Kazmi [Thu, 29 May 2014 13:13:50 +0000 (22:13 +0900)]
Revert "Revert "[SRUK] (StyleManager) Create a style manager""

Change-Id: I35a410e4a1b1979f2f1738b1457190f415fca43c

10 years agoTextInput Adding Highlight Class to be used by Decorator
Agnelo Vaz [Fri, 30 May 2014 13:15:25 +0000 (14:15 +0100)]
TextInput Adding Highlight Class to be used by Decorator

[problem]      Highlight class previously stubbed.
[cause]        Part of incremental refactor
[solution]     Implement Hightlight class, currently built but not used in existing TextInput. Will be used in future patch.

Change-Id: I6ab0e63fcfdd4f3ad667ce5a83fb708d751fd476

10 years agoAdd new API to ScrollBar to set background and indicator images.
Francisco Santos [Thu, 29 May 2014 05:47:29 +0000 (14:47 +0900)]
Add new API to ScrollBar to set background and indicator images.

[problem]      API forces application to provide a border even when using automatic 9 patch images.
[cause]        API was designed for old nine patch.
[solution]     Provide new API and deprecate old API.

Change-Id: Ie223643e8334f77e836ebcdd78cbf0b106a340c5
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
10 years agoUpload package dali-toolkit_0.9.20
jonghyun.ho [Mon, 2 Jun 2014 00:40:04 +0000 (09:40 +0900)]
Upload package dali-toolkit_0.9.20

10 years agoScrollView: Avoid unintentional contraints on X/Y properties
Paul Wisbey [Sat, 31 May 2014 03:09:21 +0000 (12:09 +0900)]
ScrollView: Avoid unintentional contraints on X/Y properties

[problem]     Snap animation is not working in homescreen ScrollView
[cause]       Whilst the X/Y properties are animated, they are unintentionally
constrained to match the position from previous pan
[solution]    More logic to ensure constraints are removed after pan finishes.

10 years ago(FocusManager) Updated Accessibility features (Part2)
Sinjae Lee [Sat, 24 May 2014 07:24:40 +0000 (16:24 +0900)]
(FocusManager) Updated Accessibility features (Part2)

10 years agoUpload package dali-toolkit_0.9.19
jonghyun.ho [Thu, 29 May 2014 01:47:02 +0000 (10:47 +0900)]
Upload package dali-toolkit_0.9.19

10 years agoFix boost includes
Francisco Santos [Wed, 28 May 2014 02:11:25 +0000 (11:11 +0900)]
Fix boost includes

Change-Id: Ib105bf32700dec8c5f70396c62970493303254df
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
10 years agoEasier page switching with Accessibility pan
Jonghyun Ho [Tue, 27 May 2014 01:43:03 +0000 (10:43 +0900)]
Easier page switching with Accessibility pan

Allow a gentle left-right pan to switch homescreen pages.

10 years agoRevert "[SRUK] (StyleManager) Create a style manager"
Adeel Kazmi [Wed, 28 May 2014 17:38:58 +0000 (02:38 +0900)]
Revert "[SRUK] (StyleManager) Create a style manager"

Font change no longer delivered.

This reverts commit 9df291f3bec83cbbe26ae2d9b988e688d27a8b84.

Change-Id: I44fc0574eb11bac748437f8c78b1502d80effca8

10 years ago(StyleManager) Remove StyleManager header include form CAPI
Kingsley Stephens [Wed, 28 May 2014 14:32:00 +0000 (15:32 +0100)]
(StyleManager) Remove StyleManager header include form CAPI

[problem]      Control-impl.h was including StyleManager.h
[solution]     Remove the header file

Change-Id: I63d70842ed505516776b8e287aecf741018c16ad

10 years agoFixed dependencies for building on other architectures
David Steele [Tue, 27 May 2014 17:38:47 +0000 (18:38 +0100)]
Fixed dependencies for building on other architectures

[problem]      Dali is exclusive to Arm architecture at the moment
[cause]        Broken dependencies on i586/x86_64 builds
[solution]     Fix the dependencies and remove exclusivity

Change-Id: I71ef589fb0591eaf3d5b40d1b1b2ae0515652417
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoRemoving unnecessary boost dependency.
David Steele [Tue, 27 May 2014 14:36:47 +0000 (15:36 +0100)]
Removing unnecessary boost dependency.

Change-Id: I446bb55b31f586972d918c8cefbce36cdbead922
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(StyleManager) Create a style manager
Kingsley Stephens [Thu, 3 Apr 2014 16:08:51 +0000 (17:08 +0100)]
(StyleManager) Create a style manager

Change-Id: Ibb82ca3f21a77899cb14e6296bc245befe8928f6

10 years agoMerge branch 'master' into tizen
Adeel Kazmi [Wed, 11 Jun 2014 07:46:30 +0000 (08:46 +0100)]
Merge branch 'master' into tizen

10 years agoRevert "License conversion from Flora to Apache 2.0" 49/22749/1
Adeel Kazmi [Wed, 11 Jun 2014 07:41:58 +0000 (00:41 -0700)]
Revert "License conversion from Flora to Apache 2.0"

This reverts commit a881757839b7abb008873a68c67e17b3ba39669b.

Change-Id: Ic5cbf8f706245f7439b91ea22a3b116a8b9a1535

10 years agoAdd comment to SetMarkupProcessingEnabled() dali-2014-wk22-release
Sunhyun Kim [Mon, 26 May 2014 07:22:37 +0000 (16:22 +0900)]
Add comment to SetMarkupProcessingEnabled()

Application developer can confuse using SetMarkupProcessingEnabled().
i add one example.

 1) TextView text = Toolkit::TextView::New( MarkupText[] );
 2) text.SetMarkupProcessingEnabled(true);

developer can think MarkupText already enable markupProcessing.
but SetMarkupProcessingEnabled is adapted after SetText().
so i added simply comment to SetMarkupProcessingEnabled().

10 years agoPartial fix for homescreen panning issue
Paul Wisbey [Fri, 23 May 2014 14:54:39 +0000 (15:54 +0100)]
Partial fix for homescreen panning issue

[problem]      When flicking left-right quickly, sometimes homescreen page does not move
[cause]        In some cases this is caused by ScrollView using a value before the update
thread has had time to react.
[solution]     Added guard logic in positionSnap calculation.

10 years agoUpload package dali-toolkit_0.9.18.
jonghyun.ho [Sat, 24 May 2014 02:36:57 +0000 (11:36 +0900)]
Upload package dali-toolkit_0.9.18.

10 years agoFix for flick gesture in Screen Reader mode
Paul Wisbey [Thu, 22 May 2014 17:45:52 +0000 (18:45 +0100)]
Fix for flick gesture in Screen Reader mode

[problem]      Flick gestures do not work with 2 fingers
[cause]        Incorrect velocity calculation
[solution]     Use correct 'previous position' in Gesture::Finished event

10 years agoTextView - Update programming guide. dali-2014-wk21-release
Victor Cebollada [Fri, 16 May 2014 16:33:58 +0000 (17:33 +0100)]
TextView - Update programming guide.

Change-Id: I3825f3aca4d0f1e2d52d119f2c5868e29ce14ad1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoTextInput Ensure EmitTextModified occurs with special keys like BACKSPACE
Agnelo Vaz [Wed, 21 May 2014 13:46:29 +0000 (14:46 +0100)]
TextInput Ensure EmitTextModified occurs with special keys like BACKSPACE

Change-Id: I9ee79797fd33724c48f0c4521485c1a833cc6c37

10 years agoRemove the old constraint from indicator of scrollbar.
Wang Qingli [Wed, 21 May 2014 07:27:38 +0000 (15:27 +0800)]
Remove the old constraint from indicator of scrollbar.

Change-Id: I1a65bd64e102c63dab1c11db926ab2aebdc276e0

10 years agoUpload package dali-toolkit-0.9.17.
jonghyun.ho [Wed, 21 May 2014 05:22:57 +0000 (14:22 +0900)]
Upload package dali-toolkit-0.9.17.

10 years agoTextInput Emit signal when text is modified.
Agnelo Vaz [Tue, 20 May 2014 20:37:10 +0000 (21:37 +0100)]
TextInput Emit signal when text is modified.

TextInput emits signal when text is modified, developer can query number of characters on
receiving this signal and behaviour accordingly.

Change-Id: Ie4794493ec3d724e522475bc53ae43a5dbea8697

10 years ago(FocusManager) Updated accessibility features
Sinjae Lee [Fri, 16 May 2014 06:02:32 +0000 (15:02 +0900)]
(FocusManager) Updated accessibility features

1. Shoot accessibility pan to hit-actor instead of currently focused actor (done)
2. Added sound resources (done)
   Play sound for focus, end of focus list
3. Added Get/SetEndcapFeedbackEnabled api to handle the feedback
   In case of evas-plugin usage, need to disable endcap feedback since EFL will do.
4. TODO: support tap & hold event on focused actor (NEXT PATCH)

10 years agoMoved ControlImpl to Internal namespace & renamed to Control
Adeel Kazmi [Wed, 14 May 2014 18:49:00 +0000 (19:49 +0100)]
Moved ControlImpl to Internal namespace & renamed to Control

[problem]      TypeRegistry does not have an entry for ControlImpl but that is what all
               ControlImpl objects are set to when using GetTypeName() etc.
[cause]        This means we cannot use control properly with the type-registry.
               Everywhere else, the namespaces are stripped from the typeid name so for
               Internal::ImageActor we just have ImageActor and this matches the entry
               for ImageActor in the type-registry.
               However, for Control, we only have an entry for Control, not ControlImpl so there
               is no match.
[solution]     By moving ControlImpl to Internal::Control we will have the match in the
               type-registry.
               Added typedef for ControlImpl so applications will only have to be recompiled.

Change-Id: I50d63b27f0fc6af0e8de1c59757e0a9324354c63
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Tests) Removed dependency on Ecore
Adeel Kazmi [Fri, 16 May 2014 16:19:17 +0000 (17:19 +0100)]
(Tests) Removed dependency on Ecore

Change-Id: Ibd6314a3d377506b1723ff3804763986a00c4577
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdded new API to set fixed height for the scroll bar
Richard Huang [Mon, 19 May 2014 16:41:00 +0000 (17:41 +0100)]
Added new API to set fixed height for the scroll bar

[problem] When fast scroll is enabled, the height of the scroll bar should be fixed.
[cause] The height of scroll bar is dynamically changed according to the length of
        scroll content. There is no API to set fixed height for the scroll bar.
[solution] Implemented new API to set fixed height for the scroll bar, so that the
           the height of the scroll bar will keep the same regardless of the length
           of scroll content.

10 years agoTextView - Initialize alpha value with text's color alpha.
Victor Cebollada [Wed, 14 May 2014 08:57:49 +0000 (09:57 +0100)]
TextView - Initialize alpha value with text's color alpha.

[problem] Text color always use alpha 1.f
[cause] The alpha value set in the text style was not send to the text actor.
[solution] Send the alpha value.

Change-Id: I313ace7de02ed8bb59981288bc969b19c6558c32
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoNew focus indicator should be added to the current focused actor immediately
Richard Huang [Thu, 15 May 2014 18:03:53 +0000 (19:03 +0100)]
New focus indicator should be added to the current focused actor immediately

[problem] When focus indicator is changed, it is not immediately reflected.
[cause] It doesn't remove the old indicator from the current focused actor
        and add the new one to.
[solution] Remove the original focus indicator and add the new indicator to
           the current focused actor.

10 years agoTextView - Split width exceed policy and EllipsizeEnd height exceed policy combinatio...
Victor Cebollada [Thu, 15 May 2014 10:49:45 +0000 (11:49 +0100)]
TextView - Split width exceed policy and EllipsizeEnd height exceed policy combination added.

Change-Id: I0ccbedc95504857f4bd17615e163d2b6db478c2f
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoTextInput Adding new Handles class and matching API in Decorator
Agnelo Vaz [Thu, 15 May 2014 10:45:17 +0000 (11:45 +0100)]
TextInput Adding new Handles class and matching API in Decorator

[problem]      Handles class previously stubbed
[cause]        Part of a TextInput Refactor
[solution]     Implement in Text-Input-Handles class and amend Decorator to work with it.
               Code is built but not currently used in TextInput until all part are merged.

Change-Id: I05e03c99b1178853e05073564436e2ca9c5b7b0d

10 years agoUpload pacakge dali-toolkit_0.9.16.
jonghyun.ho [Wed, 14 May 2014 08:06:56 +0000 (17:06 +0900)]
Upload pacakge dali-toolkit_0.9.16.

10 years agoFixed crash when KeyboardFocusManager clears the focus
Richard Huang [Wed, 14 May 2014 16:52:19 +0000 (17:52 +0100)]
Fixed crash when KeyboardFocusManager clears the focus

[problem] There is crash if focus indicator is empty but KeyboardFocusManager
          tries to clear the focus.
[cause] It doesn't check whether focus indicator exists before remove it from
        the current focused actor.
[solution] Check whether focus indicator exists before remove it.

10 years agoTextInput - Disable markup processor
Victor Cebollada [Wed, 14 May 2014 14:12:05 +0000 (15:12 +0100)]
TextInput - Disable markup processor

[problem] Strings like <html> are interpreted and not shown.
[cause] markup processor is enabled.
[solution] disable markup processor.

Change-Id: Ibe0e6ab5e9b5cbd600eb34120a1bbf10ab072899
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years ago(Button) Allow button size to return natural size
Kingsley Stephens [Thu, 8 May 2014 13:32:33 +0000 (14:32 +0100)]
(Button) Allow button size to return natural size

[Problem] Button needs to give itself a sensible size if no size is set on it
[Cause] Currently buttons with no size will take up the size of the stage
[Solution] Make buttons adjust natural size to wrap around any label they have

Change-Id: I17600d7376ae33b605d0b21dca3a8a7362ed7fb8

10 years agoTextView - Fix for emoji glyph's wrong sizes
Victor Cebollada [Wed, 14 May 2014 13:00:28 +0000 (14:00 +0100)]
TextView - Fix for emoji glyph's wrong sizes

Change-Id: I09b8c183f0b4231b44d79186a05bbf4fa14ef26c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years ago(Control) Added more event-side properties
Adeel Kazmi [Fri, 9 May 2014 18:07:47 +0000 (19:07 +0100)]
(Control) Added more event-side properties

Change-Id: Id513bccdba5f0c050cec7d2b73fdf104acb5cf05
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoLicense conversion from Flora to Apache 2.0 02/21502/3 submit/tizen/20140526.004929
Taeyoon [Thu, 22 May 2014 04:57:48 +0000 (13:57 +0900)]
License conversion from Flora to Apache 2.0

LICENSE file change.
Boilerplate notice changed to apply the Apache License to dali.
SPEC file change.
Fix build error by '*//'

Change-Id: Id92ec44b052e2c13556be6d90945226a33cfa83e

10 years agoRevert "Bitmap Toolkit Patch 1 of 1 - Replace uses of Bitmap class with ImageData" dali-2014-wk20-release
Andrew Cox [Tue, 13 May 2014 18:07:47 +0000 (19:07 +0100)]
Revert "Bitmap Toolkit Patch 1 of 1 - Replace uses of Bitmap class with ImageData"

Change-Id: I4b57875742ed4a016cb19427e101bc036024e580
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoAdd scroll-bar and scroll-component header files.
jonghyun.ho [Tue, 13 May 2014 12:38:36 +0000 (21:38 +0900)]
Add scroll-bar and scroll-component header files.

10 years agoTextInput Decorator class and stubbed decoration classes
Agnelo Vaz [Thu, 24 Apr 2014 20:27:25 +0000 (21:27 +0100)]
TextInput Decorator class and stubbed decoration classes

Problem:TextInput is a huge class with many responsibilities, it's hard to maintain and decorations can not be re-used.
Solution: Spilt into multiple classes. In this patch the Decorator initiates creation of decorations and positions them.
Stubbed Decoration classes provided for build purposes.

Change-Id: Ib880849dbc80cb1b6510a06401f5a6bfccfa55e8
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
10 years ago(Popup) Fix size conflict between popup title and content
Kingsley Stephens [Wed, 7 May 2014 16:34:31 +0000 (17:34 +0100)]
(Popup) Fix size conflict between popup title and content

[Issue#]  N/A

[Problem] The popup was not being laid out correctly when having content and no fixed size specified

[Cause] The natural size of a TextView does not take wrapping into account

[Solution] Limit max size of title to stage width and allow images in content to shrink but not grow

Change-Id: Idd16e52b14bd946ee41ae58f62acb621123bffee

10 years agoFix Json allowing permissive parsing.
Lee Morgan [Mon, 28 Apr 2014 13:56:10 +0000 (14:56 +0100)]
Fix Json allowing permissive parsing.

[Issue] N/A

[Problem] Allowing non standard JSON. (aside from comments)

[Cause] N/A

[Solution] N/A

Change-Id: I5fcf3c5d2bfcc51e3e15a251263f6a9cb9b9627b
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years ago(TextView) Update TextView properties to new property system
Xiangyin Ma [Fri, 9 May 2014 16:06:51 +0000 (17:06 +0100)]
(TextView) Update TextView properties to new property system

[Issue#]  N/A
[Problem] The property system has been updated
[Cause]   N/A
[Solution] Move over to using new property registration system

Change-Id: I8688e1fd5412d0dd0b781550fd7e1317217a7799

10 years ago(OvershootIndicator) Enable new shader bounce effect for overshoot
Julien Heanley [Fri, 9 May 2014 08:56:38 +0000 (09:56 +0100)]
(OvershootIndicator) Enable new shader bounce effect for overshoot

Change-Id: Ia1067b8c74296dc35d79d7fdd7084639c5727664
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years agoConfigurable anchor point and parent origin of the items in an ItemView control
Ferran Sole [Wed, 7 May 2014 12:31:42 +0000 (13:31 +0100)]
Configurable anchor point and parent origin of the items in an ItemView control

[Issue] N/A
[Problem] ItemView set parent origin and anchor point of new items to the center
[Cause] N/A
[Solution] Added functions to set a different anchor point and parent origin

10 years agoBouncingEffect for overscroll
Xiangyin Ma [Wed, 7 May 2014 13:05:41 +0000 (14:05 +0100)]
BouncingEffect for overscroll

[Issue] N/A
[Problem] new feature
[Cause] N/A
[Solution] the overscroll effect implemented with shader

test codes:
    ImageActor imageActor = ImageActor::New( BitmapImage::New( 1, 1 ) );
    imageActor.SetSize(720.f,58.f);
    Toolkit::BouncingEffect bouncingEffect = Toolkit::BouncingEffect::New( Vector4(0.f,1.f,1.f,0.5f) );
    imageActor.SetShaderEffect( bouncingEffect );
    imageActor.SetParentOrigin( ParentOrigin::CENTER );
    Stage::GetCurrent().Add( imageActor );

    Animation animation = Animation::New(1.f);
    animation.AnimateTo( Property( bouncingEffect, bouncingEffect.GetProgressRatePropertyName() ), 1.f,
                         AlphaFunctions::Bounce );
    animation.Play();

Signed-off-by: Xiangyin Ma <x1.ma@samsung.com>
10 years ago(ScrollView)Found issue with change made in previous patch for overshoot enabling
Julien Heanley [Fri, 9 May 2014 08:39:25 +0000 (09:39 +0100)]
(ScrollView)Found issue with change made in previous patch for overshoot enabling

[Problem] Will crash if overshoot enable is called twice without a disable in between
[Solution] Make sure application can call to enable as many times as it wants

Change-Id: Ie7bbfe8eea8475dee9294f8949a09a40fa8df483
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years agoBitmap Toolkit Patch 1 of 1 - Replace uses of Bitmap class with ImageData
Andrew Cox [Wed, 7 May 2014 12:49:43 +0000 (13:49 +0100)]
Bitmap Toolkit Patch 1 of 1 - Replace uses of Bitmap class with ImageData

[Issue#] N/A

[Problem]
TCT test framework has mock adaptor components that use the old Bitmap
class, so TCT tests can't pass.

[Cause]
Out of date use of old class.

[Solution]
Replace Bitmap usage with ImageData.

Change-Id: I46814d7d693bf7cba27a1a3426285ec0963b4e3c
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years ago(ScrollOvershoot) Removed OnStage checks now that issue has been fixed in PropertyNot...
Julien Heanley [Wed, 9 Apr 2014 13:54:08 +0000 (14:54 +0100)]
(ScrollOvershoot) Removed OnStage checks now that issue has been fixed in PropertyNotification

Change-Id: Ic334fb2c4d889604670a45b6a9d57dcbdc88f1ba

10 years ago(ItemView) Implemented SetOvershootEnabled which is used by Scrollable::Enable/Disabl...
Julien Heanley [Tue, 22 Apr 2014 14:35:22 +0000 (15:35 +0100)]
(ItemView) Implemented SetOvershootEnabled which is used by Scrollable::Enable/DisableScrollComponent

Change-Id: I2c5fa803add707508884b022ae06956fc35c441a

10 years agoUpload package dali-toolkit_0.9.15.
jonghyun.ho [Wed, 7 May 2014 05:15:07 +0000 (14:15 +0900)]
Upload package dali-toolkit_0.9.15.

10 years ago(Slider) Update slider properties to new property system
Kingsley Stephens [Fri, 2 May 2014 12:48:31 +0000 (13:48 +0100)]
(Slider) Update slider properties to new property system

[Issue#]  N/A

[Problem] The property system has been updated

[Cause] New properties

[Solution] Move over to using new property registration sytem

Change-Id: Id067026c88edc97a26573fa5fe205c7106906756

10 years agoFixed build issues and rpmlint errors 11/20911/1
David Steele [Tue, 13 May 2014 19:24:53 +0000 (20:24 +0100)]
Fixed build issues and rpmlint errors

Change-Id: I0118da3693d8ed1c5f87b62d0da405c4f6ac69f2
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoSplit dali-toolkit into Base & Optional
Paul Wisbey [Wed, 30 Apr 2014 15:51:03 +0000 (16:51 +0100)]
Split dali-toolkit into Base & Optional

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoAdd 'ExclusiveArch: armv7l' limit build to arm architecture
Javon Prince [Fri, 2 May 2014 12:28:53 +0000 (13:28 +0100)]
Add 'ExclusiveArch: armv7l' limit build to arm architecture

Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoBuild Optimization for size ( -Os )
Richard Underhill [Wed, 30 Apr 2014 16:56:12 +0000 (17:56 +0100)]
Build Optimization for size ( -Os )

Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
10 years agoAdd support for Animation::EndAction::BakeFinal to builder
Javon Prince [Thu, 1 May 2014 09:36:37 +0000 (10:36 +0100)]
Add support for Animation::EndAction::BakeFinal to builder

Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years ago(Control) Added ability to specify a background color/image.
Adeel Kazmi [Tue, 29 Apr 2014 16:23:33 +0000 (17:23 +0100)]
(Control) Added ability to specify a background color/image.

Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoScripting: added setting shader property 15/20315/1
Lee Morgan [Wed, 30 Apr 2014 14:07:38 +0000 (15:07 +0100)]
Scripting: added setting shader property

[Issue#] (N/A)

[Problem] Animation checks effect if property set fails on an object.

[Cause] N/A

[Solution] Make Builder ApplyStyle() do the same.

Change-Id: I152f57fb09cb3e2c8a6e60a9ca014f9bc09cd025
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoUpload package dali-toolkit_0.9.14. 14/20314/1
jonghyun.ho [Tue, 29 Apr 2014 00:02:33 +0000 (09:02 +0900)]
Upload package dali-toolkit_0.9.14.

Related packages : dali_0.9.14, dali-adaptor_0.9.14, dali-toolkit_0.9.14

Change-Id: I464273da1141d23e8179182ddb51b0d9102aaaaa
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoScripting: Json format changes; style sets, includes 13/20313/1
Lee Morgan [Thu, 24 Apr 2014 16:41:08 +0000 (17:41 +0100)]
Scripting: Json format changes; style sets, includes

Styles section split into templates & styles.
Includes section added.

[Issue#] (N/A)

[Problem]

[Cause]

[Solution]

Change-Id: I5bbfc3d05862bda3420b0c2ff5e7f39639325bc4
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoFix for slider 12/20312/1
Lee Morgan [Tue, 29 Apr 2014 11:11:44 +0000 (12:11 +0100)]
Fix for slider

[Issue#] (N/A)

[Problem] Crash when changing properies from script

[Cause]

[Solution]

Change-Id: Ic94b7906fa3321a80efb8a8ef43f4a11e7276a71
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoScripting: Create animation on tree of actors starting at a specific root actor. 11/20311/1
Javon Prince [Mon, 28 Apr 2014 08:51:14 +0000 (09:51 +0100)]
Scripting: Create animation on tree of actors starting at a specific root actor.

This allows the mapping of JSON defined animations to arbitrary instances
of JSON defined actor tree templates

Change-Id: I34130e06c37ca394feef0d5dad7f029f8a46359b
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoImprove fast scrolling performance in ItemView 10/20310/1
Richard Huang [Thu, 24 Apr 2014 10:14:06 +0000 (11:14 +0100)]
Improve fast scrolling performance in ItemView

Change-Id: I4105319807124bc6c3a5218612eecae4f3685d10
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoScripting: Fix cut&paste typo 09/20309/1
Javon Prince [Fri, 25 Apr 2014 14:35:57 +0000 (15:35 +0100)]
Scripting: Fix cut&paste typo

Change-Id: I940c6d4a6164e8b4c82277a1e4c5e49fccca0b87
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoScripting: Update constant replacement in JSON files 08/20308/1
Javon Prince [Fri, 25 Apr 2014 14:01:54 +0000 (15:01 +0100)]
Scripting: Update constant replacement in JSON files

Get entire map of key/value constants
Get a single constant (by key)
Add/Set a single constant( key,value )

[Issue#] (N/A)

[Problem]

[Cause]

[Solution]

Change-Id: I0a1912b43fc364f82f664c69b4348b834026d1da
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoScripting: Allow JSON colors (and alpha) to be specified as 07/20307/1
Javon Prince [Thu, 24 Apr 2014 15:25:52 +0000 (16:25 +0100)]
Scripting: Allow JSON colors (and alpha) to be specified as

  "color":{
    "r":255,
    "g":0,
    "b":127,
    "a":50
  }

OR

  "color":[1, 0, 0.5, 0.2]

OR
  "color":"#FF007F",
  "color-alpha":0.2

Change-Id: If5bad5e9a51875b470d6e3638c6f7d49618d06b7
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoOptimizing markup processing 06/20306/1
Javon Prince [Thu, 24 Apr 2014 15:22:41 +0000 (16:22 +0100)]
Optimizing markup processing

Only reprocess markup-text in the TextView when the 'markup-enabled' property is changed to true

Change-Id: I9011af832a27fa4c6b5d3b9dfe59c9890f91725c
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoAdd 'markup-enabled' property to TextView 05/20305/1
Javon Prince [Thu, 24 Apr 2014 10:47:06 +0000 (11:47 +0100)]
Add 'markup-enabled' property to TextView

[Issue#] (N/A)

[Problem] Unable to enable markup-processing in JSON file

[Cause] SetMarkupProcessingEnabled() is a function not a property

[Solution] Wrap SetMarkupProcessingEnabled() with a new property

Change-Id: Idf1b00df0dba166ad13a3f831c2ea8d7e91c0009
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(SuperBlurView) Ensure the image can be set as a property 04/20304/1
Adeel Kazmi [Wed, 23 Apr 2014 19:08:32 +0000 (20:08 +0100)]
(SuperBlurView) Ensure the image can be set as a property

[Problem]  Cannot set the image on super-blur-view from scripting.
[Cause]    Image is not a property.
[Solution] Make image a property.

Change-Id: Ifc9b5996fd98f365b1ff36322021b6013ea445e4
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoUpload package dali-toolkit_0.9.13. 03/20303/1
jonghyun.ho [Thu, 24 Apr 2014 05:52:19 +0000 (14:52 +0900)]
Upload package dali-toolkit_0.9.13.

Related packages : dali_0.9.13, dali-adaptor_0.9.13, dali-toolkit_0.9.13

Change-Id: I70855f9bceb3d770da04b8d8588573e2ac1333d7
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoCancelled signal is triggered to reset status when gesture is detached. 02/20302/1
jonghyun.ho [Wed, 23 Apr 2014 07:48:36 +0000 (16:48 +0900)]
Cancelled signal is triggered to reset status when gesture is detached.

[Issue#]   N/A
[Problem]  In next case, application can't get ScrollCompleted signal.
           1. Panning scroll view is started.
           2. Call SetScrollSensitive(false)
               to stop movement of scroll view and pick the object inside.
           3. Scroll view doesn't trigger Scrollcompleted signal
               until SetScrollSensitive(true) is called.
[Cause]    Scroll view is still thinking it's still being animated
            even though it's stopped and its sensitive is false.
[Solution] Cancelled signal is triggered to reset status when gesture is detached.

Change-Id: I7a03bd335072593bdad528be498f5f1acbfb9c1f
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoFixed scroll bar disabling issue in gallery app 01/20301/1
Richard Huang [Wed, 23 Apr 2014 11:09:02 +0000 (12:09 +0100)]
Fixed scroll bar disabling issue in gallery app

[Issue]
[Problem] Scroll bar in ScrollView is shown when it shouldn't. It cannot be disabled
          even when Scrollable::DisableScrollComponent is called.
[Cause] The images for scroll indicator are not removed when scroll bar is disabled.
[Solution] Remove the scroll indicator images when the scroll bar is disconnected
           from scroll view.

Change-Id: I01ff966ad1484b23db5000dd48184fdb2ebe653e
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(ScrollView) Stop detecting pinch gestures. 68/19968/1
Adeel Kazmi [Tue, 22 Apr 2014 16:10:39 +0000 (17:10 +0100)]
(ScrollView) Stop detecting pinch gestures.

[Problem]  Scroll view detects pinch gestures even though it does not do anything with them.
[Cause]    N/A
[Solution] Stop pinch detection in scroll-view.

Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Change-Id: I7c0b1070408baa5002acc32e992ce32122af43a5

10 years agoUpload package dali-toolkit_0.9.12. 67/19967/1
jonghyun.ho [Thu, 17 Apr 2014 02:03:21 +0000 (11:03 +0900)]
Upload package dali-toolkit_0.9.12.

Related packages : dali_0.9.12, dali-adaptor_0.9.12, dali-toolkit_0.9.12

Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Change-Id: I69796d88e6fefcbbce5a493ff1f372dc129065e3

10 years agoFix for application crashing 66/19966/1
Richard Underhill [Thu, 17 Apr 2014 10:22:11 +0000 (11:22 +0100)]
Fix for application crashing

[Problem] Markup was needed to correctly parse each character for
text splitting operations

[Cause] Code assumes a text style per character. Clean solution will
require more work

[Solution] MarkupProcessing is enabled by default on TextInput.
TextView created by TextInput markup is inherited.
Scan for markup is no longer called and is forced by
MarkupProcessingEnabled flag.

Change-Id: I7e4a82271aa8a7eacdfe7aa6e56a12703d467f8b
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
10 years agoUpdated item-view documentation. dali-2014-wk16-release
Adeel Kazmi [Wed, 16 Apr 2014 16:01:50 +0000 (17:01 +0100)]
Updated item-view documentation.

10 years agoInclude scroll-connector header.
jonghyun.ho [Thu, 20 Mar 2014 09:25:56 +0000 (18:25 +0900)]
Include scroll-connector header.

[Issue#]   N/A
[Problem]  Cause build break.
[Cause]    Missed header file.
[Solution] Include scroll-connector header.

10 years agoFix builder animation
Lee Morgan [Tue, 15 Apr 2014 13:51:00 +0000 (14:51 +0100)]
Fix builder animation

[Issue#]   N/A
[Problem]  Crash with no animation duration from json
[Cause]    Bug in change to support animations where properties have no time-period
[Solution] N/A.

Change-Id: Icf685250e7bf529a0c0ff1751a2f24e7f7aca4fd
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoAdding new test harness
David Steele [Fri, 11 Apr 2014 10:25:39 +0000 (11:25 +0100)]
Adding new test harness

[Issue#]       N/A
[Problem]      N/A
[Cause]        N/A
[Solution]     N/A
[Verification] Build Repo

Getting about 90% pass rate on target and desktop.

Change-Id: I2b174d7cd6c603ce9083471ae4cb972728b6e02f
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoBuilder templated constant expansion
Lee Morgan [Fri, 4 Apr 2014 14:01:53 +0000 (15:01 +0100)]
Builder templated constant expansion

[Issue#]   N/A
[Problem]  Template/constant Expansion needed (Image paths etc).
[Cause]    N/A.
[Solution] Added Replacement expansion helper class.

Change-Id: Ib02024c4e7042180df55dec639daacad2c61b2fd
Signed-off-by: Lee Morgan <Lee.morgan@partner.samsung.com>
10 years agoUpload package dali-toolkit_0.9.11.
jonghyun.ho [Fri, 11 Apr 2014 01:00:42 +0000 (10:00 +0900)]
Upload package dali-toolkit_0.9.11.

Related packages : dali_0.9.11, dali-adaptor_0.9.11, dali-toolkit_0.9.11

10 years agoUpdate the spec configuration.
daemyung jang [Thu, 10 Apr 2014 04:32:10 +0000 (13:32 +0900)]
Update the spec configuration.

[Issue#] N/A
[Problem] Not build.
[Cause] When the system make the user binary,
        the debug states are skipped.
[Solution] Update spec configuration.

10 years agoShortcut check for markup in a string, before attempting to parse and split the strin... 50/19450/1
Richard Underhill [Mon, 7 Apr 2014 14:37:15 +0000 (15:37 +0100)]
Shortcut check for markup in a string, before attempting to parse and split the string into individual text styles.

[Issue#] N/A

[Problem]

[Cause]

[Solution] Avoids stylestack if no markup
Markup processing on text view and text input must now be specifically
enabled via the SetMarkupProcessingEnabled( true )

Change-Id: Ide2f77c644c3bec42f71d3f3963f1f9c2584a353
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
10 years ago(ScrollConnector) Added capi header information 49/19449/1
Julien Heanley [Wed, 9 Apr 2014 13:48:04 +0000 (14:48 +0100)]
(ScrollConnector) Added capi header information

[Issue#]   N/A
[Problem]
[Cause]
[Solution]

Change-Id: I40651645ed23139fca252de1d4d622fde155a5cf
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years agoRemove the dependency between ScrollBar & ItemView 48/19448/1
Paul Wisbey [Wed, 9 Apr 2014 15:46:49 +0000 (16:46 +0100)]
Remove the dependency between ScrollBar & ItemView

[Issue#] N/A
[Problem]  ItemView only works with one type of scroll bar i.e. Toolkit::ScrollBar
[Cause]    Direct dependency from ItemView to ScrollBar
[Solution] Use the ScrollComponent interface instead. The idea is that custom
scroll components can be implemented and connected without changing ItemView

Change-Id: Ie059b6453f38b7a2baccd7ced135b1a49fc6ab88
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoFix for TextView's broken TET cases. 47/19447/1
Victor Cebollada [Wed, 9 Apr 2014 12:34:41 +0000 (13:34 +0100)]
Fix for TextView's broken TET cases.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: Ieff42ef89ce20291ded86595bdaf7dce73e7fa8c
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoTextView - Support for emoticons. 46/19446/1
Victor Cebollada [Fri, 21 Mar 2014 16:02:16 +0000 (16:02 +0000)]
TextView - Support for emoticons.

[Issue#] N/A
[Problem] N/A
[Cause] N/A
[Solution] N/A

Change-Id: I339ad79f8c8bb045ade3a7ce1eba982d130cebbc
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoImplemented scroll bar control 45/19445/1
Richard Huang [Thu, 27 Mar 2014 15:41:23 +0000 (15:41 +0000)]
Implemented scroll bar control

[Issue] N/A

[Problem] Need a scroll bar control that can be added to other actors to
          indicate the current scroll position of the actor's scrollable
          content.

[Cause] N/A

[Solution] Implemented a scroll bar control.

Change-Id: I4e4b174f6cdf41caffe93dc362ca9ca6eb484c94
Signed-off-by: Richard Huang <r.huang@samsung.com>
10 years agoAllow overshoot indicators to be implemented outside of ItemView 44/19444/1
Paul Wisbey [Mon, 7 Apr 2014 15:56:43 +0000 (16:56 +0100)]
Allow overshoot indicators to be implemented outside of ItemView

[Issue#]   N/A
[Problem]  Hard to customize overshoot indicators.
[Cause]    Requires changes to ItemView internals etc.
[Solution] Move the overshoot property out into ScrollConnector.
(and then implement overshoot indicators outside of ItemView)

Change-Id: I99632fd485f1f5744e4d38b5056e1dfb0ded3b67
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoPut scroll-connector.h in the capi folder 43/19443/1
Paul Wisbey [Mon, 7 Apr 2014 14:43:49 +0000 (15:43 +0100)]
Put scroll-connector.h in the capi folder

[Issue#]   N/A
[Problem]  dali-toolkit/capi for is out of sync with CAPI repository
[Cause]    scroll-connector.h was moved into CAPI
[Solution] Put scroll-connector.h in the correct folder

Change-Id: Ia503e4c0aff447d5df35e30eb5ab93615869ecbc
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>