platform/core/uifw/dali-toolkit.git
3 years agoMerge "Text - Initialize the mUpdateCursorHookPosition member in the constructor...
Paul Wisbey [Fri, 28 Oct 2016 13:54:15 +0000 (06:54 -0700)]
Merge "Text - Initialize the mUpdateCursorHookPosition member in the constructor." into devel/master

3 years agoUpdate SWIG interface files to create binding for TextVisual and KeyInputFocusManager 93/94393/2
Richard Huang [Fri, 28 Oct 2016 13:38:07 +0000 (14:38 +0100)]
Update SWIG interface files to create binding for TextVisual and KeyInputFocusManager

Change-Id: I674c1d3eb1a0e8e01204308cbfd5fd8f5165afab

3 years agoMerge "Fix PageFactory to take in Texture rather than Image" into devel/master
Adeel Kazmi [Fri, 28 Oct 2016 13:21:11 +0000 (06:21 -0700)]
Merge "Fix PageFactory to take in Texture rather than Image" into devel/master

3 years agoDALi Version 1.2.12 67/94367/1 dali_1.2.12
Xiangyin Ma [Fri, 28 Oct 2016 12:18:19 +0000 (13:18 +0100)]
DALi Version 1.2.12

Change-Id: Ic01a03ae4e5b393d1b4f2a86b7e90f62149269fd

3 years agoText - Initialize the mUpdateCursorHookPosition member in the constructor. 30/94230/1
Victor Cebollada [Thu, 27 Oct 2016 15:18:28 +0000 (16:18 +0100)]
Text - Initialize the mUpdateCursorHookPosition member in the constructor.

Change-Id: I9ebaa2d3d6760913753771bf51aef9528b850a73
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoMerge "Added devel-api mirroring of public enumeration." into devel/master
Adeel Kazmi [Thu, 27 Oct 2016 15:02:02 +0000 (08:02 -0700)]
Merge "Added devel-api mirroring of public enumeration." into devel/master

3 years agoAdded Doxygen Comments and updated sample application 95/94195/1
shiva.jm [Thu, 27 Oct 2016 11:16:43 +0000 (16:46 +0530)]
Added Doxygen Comments and updated sample application

Change-Id: I35f6834d28dd83a430f78ea3775a9eae4e24d029
Signed-off-by: shiva.jm <shiva.jm@samsung.com>
3 years agoAdded devel-api mirroring of public enumeration. 14/94014/4
David Steele [Wed, 26 Oct 2016 18:00:21 +0000 (19:00 +0100)]
Added devel-api mirroring of public enumeration.

Used namespace alias to reduce implementation cruft.
Fixed one issue of namespace clashing within control-impl.

Change-Id: Ia02b3dd5717e0a7934f3d0887273c78bd08a7b80
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoFix PageFactory to take in Texture rather than Image 11/94011/3
Kimmo Hoikka [Wed, 26 Oct 2016 16:54:39 +0000 (17:54 +0100)]
Fix PageFactory to take in Texture rather than Image

Change-Id: Ie052ab83ec8be585c2e6caad1e2b4345a1321be3

3 years agoAdd High Level classes for Color, Size, Position 19/93719/4
shiva.jm [Wed, 26 Oct 2016 10:10:53 +0000 (15:40 +0530)]
Add High Level classes for Color, Size, Position

Change-Id: I9713750c2a405f7f1b3fa3fa586fb9130229fc93
Signed-off-by: shiva.jm <shiva.jm@samsung.com>
3 years agofixup! Adding the MISSING Animation constructor to accept duration in milli seconds 56/93856/5
Ravi Nanjundappa [Wed, 26 Oct 2016 06:51:22 +0000 (12:21 +0530)]
fixup! Adding the MISSING Animation constructor to accept duration in milli seconds

Inserted the code for Animation constructor which accept integer value for duration in milli seconds.
Example, _animation = new Animation(10000); will create Animation object with duration of 1000 ms (1s).
We can still use _animation = new Animation(1.0f); to create the same.
We can also use _animation.DurationMillSecs = 10000; // 10 ms

Also the Animation parameter pascal case change is handled in the animation class enums
Added looping property and Stop(Animation.EndAction action) also,

Change-Id: Idc52e3fc4c8a183bd9e72ccb2a6e0735dc161709
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoMerge "DALi C# binding - Adding Animation constructor to accept duration in milli...
dongsug song [Wed, 26 Oct 2016 00:37:30 +0000 (17:37 -0700)]
Merge "DALi C# binding - Adding Animation constructor to accept duration in milli seconds" into devel/master

3 years agoMerge "Changed README to README.md" into devel/master
Adeel Kazmi [Tue, 25 Oct 2016 14:32:44 +0000 (07:32 -0700)]
Merge "Changed README to README.md" into devel/master

3 years agoDALi C# binding - Adding Animation constructor to accept duration in milli seconds 21/93421/3
Ravi Nanjundappa [Tue, 25 Oct 2016 14:26:32 +0000 (19:56 +0530)]
DALi C# binding - Adding Animation constructor to accept duration in milli seconds

Inserted the code for Animation constructor which accept integer value for duration in milli seconds.
Now, _animation = new Animation(10000); will create Animation object with duration of 1000 ms (1s).
We can still use _animation = new Animation(1.0f); to create the same.
We can also use _animation.DurationMillSecs = 10000; // 10 ms

Change-Id: Ie194280a9043f395d967f12b8835c66ae22c627f
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoMerge "DALi C# binding - Follow Pascal case convention for enum members" into devel...
dongsug song [Tue, 25 Oct 2016 13:44:09 +0000 (06:44 -0700)]
Merge "DALi C# binding - Follow Pascal case convention for enum members" into devel/master

3 years agoMerge "DALi C# binding - change name of method, void SetVisible(bool visible) =...
dongsug song [Tue, 25 Oct 2016 13:43:28 +0000 (06:43 -0700)]
Merge "DALi C# binding - change name of method, void SetVisible(bool visible)  => Show()/Hide()" into devel/master

3 years agoMerge "Move Event Handlers to View class" into devel/master
dongsug song [Tue, 25 Oct 2016 13:38:21 +0000 (06:38 -0700)]
Merge "Move Event Handlers to View class" into devel/master

3 years agoMerge "DALi C# binding - adding property for Animation LoopCount and others." into...
dongsug song [Tue, 25 Oct 2016 13:35:27 +0000 (06:35 -0700)]
Merge "DALi C# binding - adding property for Animation LoopCount and others." into devel/master

3 years agoDALi C# binding - adding property for Animation LoopCount and others. 26/93526/4
Ravi Nanjundappa [Mon, 24 Oct 2016 16:11:54 +0000 (21:41 +0530)]
DALi C# binding - adding property for Animation LoopCount and others.

Implemented setters and getters for the property LoopCount in Animation Class
and the X,Y,W and H properties in RectInteger Class. Combined the opacity and
CurrentOpacity properties in Actor class. The properties Size(from Stage class)
and Visibility(from Actor class) are already present.

The Patch also contain the Changed order of the types in the generic parameters to
match the declaration in AnimateBy and AnimateTo APIs.

Change-Id: I8286f4ae19c40b3911e0d12f6874f7c2b184c26c
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoChanged README to README.md 02/93702/3
Paul Wisbey [Tue, 25 Oct 2016 10:06:58 +0000 (11:06 +0100)]
Changed README to README.md

Change-Id: Ie868dcd64b497d17d7725459c1badf5450981acd

3 years agoDALi C# binding - Follow Pascal case convention for enum members 36/93636/4
Ravi Nanjundappa [Tue, 25 Oct 2016 06:32:52 +0000 (12:02 +0530)]
DALi C# binding - Follow Pascal case convention for enum members

Created a new namespace called Dali.Constants and wrapped the
AlphaFunction.BuiltinFunction enum. Added a new constructor to cope
with this change.
hello-world.cs is also modified accordingly.

Change-Id: I86f9b079920c65f531d4175366af8578b61ccb5c
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoDALi C# binding - change name of method, void SetVisible(bool visible) => Show(... 28/93428/2
Ravi Nanjundappa [Tue, 25 Oct 2016 06:59:44 +0000 (12:29 +0530)]
DALi C# binding - change name of method, void SetVisible(bool visible)  => Show()/Hide()

Inserted the code Show()/Hide() into Actor class.
Now, instead of SetVisible(true) we can use Show() and for SetVisible(false) we can use Hide().

Change-Id: Ib261160e89d274cfc54ca81963c151322e4d88cb
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoMerge "Update the refined dali c# application to support more argument options" into...
dongsug song [Tue, 25 Oct 2016 03:50:51 +0000 (20:50 -0700)]
Merge "Update the refined dali c# application to support more argument options" into devel/master

3 years agoMerge "Added bezier curve control points to TransitionData" into devel/master
Adeel Kazmi [Mon, 24 Oct 2016 16:19:37 +0000 (09:19 -0700)]
Merge "Added bezier curve control points to TransitionData" into devel/master

3 years agoRename Eden to Focus 44/93444/3
Umar [Mon, 24 Oct 2016 09:38:59 +0000 (10:38 +0100)]
Rename Eden to Focus

Change-Id: I393ef82c0850461bee08b81f06a547ade4222b85

3 years agoMerge "Added support for C# operators on DALi handle objects" into devel/master
Adeel Kazmi [Mon, 24 Oct 2016 10:24:21 +0000 (03:24 -0700)]
Merge "Added support for C# operators on DALi handle objects" into devel/master

3 years agoMerge "DALi C# binding - Change Animte APIs to use values instead of DALi properties...
dongsug song [Mon, 24 Oct 2016 10:07:42 +0000 (03:07 -0700)]
Merge "DALi C# binding - Change Animte APIs to use values instead of DALi properties" into devel/master

3 years agoMove Event Handlers to View class 43/93143/3
puru [Mon, 24 Oct 2016 07:49:49 +0000 (13:19 +0530)]
Move Event Handlers to View class

This patch moves event handlers from actor class to view class.
Events are added to test the functionality of View EventHandlers.

Change-Id: Ifee2bd2e7266eec3a6eef9fc9ec88289c3f3562e
Signed-off-by: puru <puru.dharma@samsung.com>
3 years agoMerge "Fix for a single line text's vertical alignment." into devel/master
Paul Wisbey [Fri, 21 Oct 2016 16:24:21 +0000 (09:24 -0700)]
Merge "Fix for a single line text's vertical alignment." into devel/master

3 years agoAdded bezier curve control points to TransitionData 30/93330/1
David Steele [Fri, 21 Oct 2016 14:18:24 +0000 (15:18 +0100)]
Added bezier curve control points to TransitionData

Allows stylesheets to specify alpha functions for transitions
using bezier control points in addition to the builtin easing functions.

Change-Id: I2f407b8692384ea89ba3bea112cce8ea391f2545
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoAdded support for C# operators on DALi handle objects 70/92970/20
Nick Holland [Wed, 19 Oct 2016 13:34:43 +0000 (14:34 +0100)]
Added support for C# operators on DALi handle objects

Now have the ability to do operations such as

if ( actor )  // test if the C# actor object is valid and the actor isn't just any empty handle

if ( !actor )

if ( actor && anotherActor )

if ( actor || anotherActor )

Change-Id: I31dd56e89f1d4c7d056f56b52717cef469a76afb

3 years agoFix for a single line text's vertical alignment. 26/93326/2
Victor Cebollada [Fri, 21 Oct 2016 14:57:11 +0000 (15:57 +0100)]
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>
3 years agoMerge "TextVisual - Fix a memory leak issue." into devel/master
Paul Wisbey [Fri, 21 Oct 2016 15:22:33 +0000 (08:22 -0700)]
Merge "TextVisual - Fix a memory leak issue." into devel/master

3 years agoMerge "DALi Version 1.2.11" into devel/master
Adeel Kazmi [Fri, 21 Oct 2016 14:14:30 +0000 (07:14 -0700)]
Merge "DALi Version 1.2.11" into devel/master

3 years agoDALi Version 1.2.11 14/93314/1 dali_1.2.11
Nick Holland [Fri, 21 Oct 2016 14:08:55 +0000 (15:08 +0100)]
DALi Version 1.2.11

Change-Id: I7b48c29461526ba5f65e8396bd162f3811338f5b

3 years agoTextVisual - Fix a memory leak issue. 94/93294/2
Victor Cebollada [Fri, 21 Oct 2016 12:49:47 +0000 (13:49 +0100)]
TextVisual - Fix a memory leak issue.

Change-Id: I06def29578a38fabdffc226fb774056bbc52fe1b
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoRemove incorrect empty Actor handle parameter from Visuals DoInitialize 78/93178/7
Kimmo Hoikka [Thu, 20 Oct 2016 18:07:57 +0000 (19:07 +0100)]
Remove incorrect empty Actor handle parameter from Visuals DoInitialize

Change-Id: Ie3634c6d2f0ac8275b34825520cfed9b5af7726c

3 years agoDALi C# binding - Change Animte APIs to use values instead of DALi properties 89/92589/7
Ravi Nanjundappa [Mon, 17 Oct 2016 12:53:54 +0000 (18:23 +0530)]
DALi C# binding - Change Animte APIs to use values instead of DALi properties

- Injected the code using swig typemap to change the animate apis to make use of values instead of DALi properties.
- Modified hello-world.cs file to reflect these changes.

Earlier Usage :
_animation.AnimateTo(new Property(_text, Actor.Property.ORIENTATION), new Property.Value(new Quaternion( new Radian( new Degree( 180.0f ) ) ...)

New Usage :
_animation.AnimateTo(_text, Animation.ORIENTATION, new Quaternion( new Radian( new Degree( 180.0f ) ) ...)

Change-Id: Icf11007231f34708071b17e8ebca9d512cbc25c2
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoMerge "Reducesd image visual memory consumption by removing unnecessary fragment...
David Steele [Fri, 21 Oct 2016 10:54:54 +0000 (03:54 -0700)]
Merge "Reducesd image visual memory consumption by removing unnecessary fragment shader string and TextureSet member" into devel/master

3 years agoMerge "Added code for stylable transitions" into devel/master
Adeel Kazmi [Fri, 21 Oct 2016 10:34:10 +0000 (03:34 -0700)]
Merge "Added code for stylable transitions" into devel/master

3 years agoReducesd image visual memory consumption by removing unnecessary fragment shader... 75/93175/3
Kimmo Hoikka [Thu, 20 Oct 2016 16:01:11 +0000 (17:01 +0100)]
Reducesd image visual memory consumption by removing unnecessary fragment shader string and TextureSet member

Change-Id: I54fe025677758306400f26b2f24874f8c938d920

3 years agoAdded code for stylable transitions 96/90596/11
David Steele [Fri, 30 Sep 2016 18:44:06 +0000 (19:44 +0100)]
Added code for stylable transitions

This change enables animatable properties of placement actors/renderers
to be animated using a property map defined by a style sheet.

New classes:
VisualProperty - a version of Property that doesn't use C++ references
TransitionData - a pimpled struct that carries enough information to generate
Animators that can be defined by Animation::AnimateTo().

Additions:
Added a name to visual base to enable the animator to target a named
visual.

Added GetVisualProperty() internal method which checks the named visual
(or it's placement actor) for the given property, and returns the appropriate
VisualProperty that can animate it.

Change-Id: I0c91eae845b0ba5be5d7829babee75717f2b3b49
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoMerge "C# First Screen demo" into devel/master
Kimmo Hoikka [Thu, 20 Oct 2016 15:22:29 +0000 (08:22 -0700)]
Merge "C# First Screen demo" into devel/master

3 years agoMerge "Added New methods to cater for second step initialization" into devel/master
Kimmo Hoikka [Thu, 20 Oct 2016 15:14:53 +0000 (08:14 -0700)]
Merge "Added New methods to cater for second step initialization" into devel/master

3 years agoMerge "Remove Atlas usage from ImageVisual" into devel/master
Adeel Kazmi [Thu, 20 Oct 2016 15:14:21 +0000 (08:14 -0700)]
Merge "Remove Atlas usage from ImageVisual" into devel/master

3 years agoC# First Screen demo 65/86265/26
Umar [Wed, 31 Aug 2016 09:10:42 +0000 (10:10 +0100)]
C# First Screen demo

Change-Id: I5b75e7af9b5754c530c6fd54a58939fe1b58f430

3 years agoRemove Atlas usage from ImageVisual 75/92975/4
Kimmo Hoikka [Wed, 19 Oct 2016 16:09:52 +0000 (17:09 +0100)]
Remove Atlas usage from ImageVisual

- Remove Atlas usage
- Refactor the code to reuse CreateRenderer and CreateTextureSet

Change-Id: Ifd06e56192ffcae1749b3d2d6b4f566a9f58d73a

3 years agoAdded New methods to cater for second step initialization 80/92980/4
Adeel Kazmi [Wed, 19 Oct 2016 16:21:06 +0000 (17:21 +0100)]
Added New methods to cater for second step initialization

Change-Id: Ib487d11e1fdb114eaa3fdf0b3ab438da523c46f6

3 years agoMerge "TextVisual implementation." into devel/master
Paul Wisbey [Thu, 20 Oct 2016 09:06:39 +0000 (02:06 -0700)]
Merge "TextVisual implementation." into devel/master

3 years agoMerge "Convert the Underline and Shadow deprecated APIs to the new ones." into devel...
Paul Wisbey [Thu, 20 Oct 2016 09:06:30 +0000 (02:06 -0700)]
Merge "Convert the Underline and Shadow deprecated APIs to the new ones." into devel/master

3 years agoMerge "TextController refactor." into devel/master
Paul Wisbey [Thu, 20 Oct 2016 09:06:04 +0000 (02:06 -0700)]
Merge "TextController refactor." into devel/master

3 years agoChange SvgVisual to use Texture instead of Atlas 08/92908/4
Kimmo Hoikka [Wed, 19 Oct 2016 09:48:47 +0000 (10:48 +0100)]
Change SvgVisual to use Texture instead of Atlas

Change-Id: Iaf47938f22e4cc11722b8aacdc144fb59338ea2d

3 years ago(Visuals) Remove dead code & redundant Get prefix to check if on stage or from the... 24/92624/3
Adeel Kazmi [Mon, 17 Oct 2016 15:26:26 +0000 (16:26 +0100)]
(Visuals) Remove dead code & redundant Get prefix to check if on stage or from the cache

- SetImage always called on initialisation now so checking if we have a renderer is not needed

Change-Id: I5f767a3a4065af7992eda6329c2a1436583a4114

3 years agoTextVisual implementation. 15/92615/3
Victor Cebollada [Mon, 17 Oct 2016 14:14:51 +0000 (15:14 +0100)]
TextVisual implementation.

Change-Id: I13a0efb3c32b5969cbf6008f82d42d9064f915df
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoConvert the Underline and Shadow deprecated APIs to the new ones. 12/92612/1
Victor Cebollada [Mon, 17 Oct 2016 13:51:57 +0000 (14:51 +0100)]
Convert the Underline and Shadow deprecated APIs to the new ones.

This needs to be done to pass the UTC in the TextVisual patch currently in developement.

Change-Id: I517fba6b78115d9bf77ea0998c54e500475102a6
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agoTextController refactor. 93/90593/6
Victor Cebollada [Fri, 30 Sep 2016 15:52:39 +0000 (16:52 +0100)]
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>
3 years agoMerge "RegisterVisuals has option not to auto stage visual" into devel/master
Adeel Kazmi [Fri, 14 Oct 2016 16:21:06 +0000 (09:21 -0700)]
Merge "RegisterVisuals has option not to auto stage visual" into devel/master

3 years agoRegisterVisuals has option not to auto stage visual 71/92171/10
Agnelo Vaz [Thu, 13 Oct 2016 10:30:32 +0000 (11:30 +0100)]
RegisterVisuals has option not to auto stage visual

Currenly RegisterVisual stages it too. This may not always be desirable hence offering second API.
Adding EnableVisual API

Change-Id: Id4f54bf3f19ac8a650f0db21d3fc62efda60092f

3 years agoDALi Version 1.2.10 30/92330/1 dali_1.2.10
Richard Huang [Fri, 14 Oct 2016 13:16:59 +0000 (14:16 +0100)]
DALi Version 1.2.10

Change-Id: I811626a78fd1cc3427c2d3ec4f49d25e9005eaac

3 years agoImageVisual postpones adding renderer to actor until image is loaded 62/88562/16
Xiangyin Ma [Mon, 19 Sep 2016 17:09:31 +0000 (18:09 +0100)]
ImageVisual postpones adding renderer to actor until image is loaded

Change-Id: Id219a0f0ca7bc67f11f8dcda9126d97f3bb07d51

3 years agoC# property script modified to support View control remame 17/92017/4
Nick Holland [Wed, 12 Oct 2016 14:50:15 +0000 (15:50 +0100)]
C# property script modified to support View control remame

Now how a look up table to support renaming
of C++ classes in to C#.
E.g. Control -> View

Change-Id: I6cc071792909e3e1cd12e13f15268faf0deb859b

3 years agoUpdate the refined dali c# application to support more argument options 25/92125/1
xb.teng [Thu, 13 Oct 2016 09:40:07 +0000 (17:40 +0800)]
Update the refined dali c# application to support more argument options

Change-Id: I031bb3ce4c12aecb2a8e0a26f1c080b9e37bce7d

3 years agoMerge "Add SetProperty and GetProperty to Visuals." into devel/master
Adeel Kazmi [Thu, 13 Oct 2016 09:35:10 +0000 (02:35 -0700)]
Merge "Add SetProperty and GetProperty to Visuals." into devel/master

3 years agoMerge "This patch is for refining dali application to support tizen c# application...
dongsug song [Thu, 13 Oct 2016 05:26:00 +0000 (22:26 -0700)]
Merge "This patch is for refining dali application to support tizen c# application." into devel/master

3 years agoMerge "fixup! DALi C# binding - Generic Delegates support for EventHandlers" into...
dongsug song [Thu, 13 Oct 2016 04:53:03 +0000 (21:53 -0700)]
Merge "fixup! DALi C# binding - Generic Delegates support for EventHandlers" into devel/master

3 years agoMerge "DALi C# Tizen GBS build: - currently GBS full auto building is impossible...
dongsug.song [Thu, 13 Oct 2016 00:33:26 +0000 (17:33 -0700)]
Merge "DALi C# Tizen GBS build: - currently GBS full auto building is impossible :   1) the version of SWIG rpm in Tizen REPO server needs to be upgraded   2) Ruby script for extracting DALi constructors and properties needs dali-core source codes      but in GBS virtual BUILDROOT, GBS builder can not find or reference dali-core source codes   3) mono rpm is not existing in Tizen REPO server, so you need to copy mono rpms into local GBS ROOT RPMS folder - add C#(.cs) files and auto-generated C++ wrapper files - libNDalic.so(Native wrapper) and NDali.dll(C# library) will be installed in 'usr/lib' folder - These newly added .cs and .cpp files are continuously and frequently updated" into devel/master

3 years agoNew Navigation View Control 81/90381/10
Agnelo Vaz [Thu, 29 Sep 2016 14:57:07 +0000 (15:57 +0100)]
New Navigation View Control

A View which allows the pushing and popping of views as a stack.
Pushing new content will pop off existing content, showing the new.
Popping the new content will will pop off the current content and show previous.

Change-Id: Icef8f7f90510c1919ed7cc49babe8128c477cac7

3 years agoDALi C# Tizen GBS build: 13/92013/1
dongsug.song [Wed, 12 Oct 2016 14:05:21 +0000 (23:05 +0900)]
DALi C# Tizen GBS build:
- currently GBS full auto building is impossible :
  1) the version of SWIG rpm in Tizen REPO server needs to be upgraded
  2) Ruby script for extracting DALi constructors and properties needs dali-core source codes
     but in GBS virtual BUILDROOT, GBS builder can not find or reference dali-core source codes
  3) mono rpm is not existing in Tizen REPO server, so you need to copy mono rpms into local GBS ROOT RPMS folder
- add C#(.cs) files and auto-generated C++ wrapper files
- libNDalic.so(Native wrapper) and NDali.dll(C# library) will be installed in 'usr/lib' folder
- These newly added .cs and .cpp files are continuously and frequently updated

Signed-off-by: dongsug.song <dongsug.song@samsung.com>
Change-Id: Ide1401031cf8eb8d040d2e0cd13506294a35b592

3 years agoThis patch is for building gbs NDalic rpm with swig only 76/91976/2
xb.teng [Wed, 12 Oct 2016 10:57:46 +0000 (18:57 +0800)]
This patch is for building gbs NDalic rpm with swig only

Change-Id: I7ab9ed4cd7f06afcd4287aca12343ac1a79d07f7
Signed-off-by: xb.teng <xb.teng@samsung.com>
3 years agoAdd SetProperty and GetProperty to Visuals. 20/91820/4
Victor Cebollada [Tue, 11 Oct 2016 09:51:00 +0000 (10:51 +0100)]
Add SetProperty and GetProperty to Visuals.

Change-Id: I532253e148c2957b258ee6c2fd99650cde683f7a
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
3 years agofixup! DALi C# binding - Generic Delegates support for EventHandlers 08/91908/2
Ravi Nanjundappa [Wed, 12 Oct 2016 08:29:27 +0000 (13:59 +0530)]
fixup! DALi C# binding - Generic Delegates support for EventHandlers

Updated the Generic Delegate implimentation because we really dont
need to Pass the return type as a parameter to the function.

Earlier Declaration:
public delegate R DaliEventHandlerWithReturnType<T,U,R>(T source, U e, R ret);

New Declaration:
public delegate R DaliEventHandlerWithReturnType<T,U,R>(T source, U e);

Change-Id: I0c9c2e19e7731662795950c17e3359cd86eb6a90
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoMerge "Changed control defaults to listen to style change" into devel/master
Adeel Kazmi [Tue, 11 Oct 2016 18:53:09 +0000 (11:53 -0700)]
Merge "Changed control defaults to listen to style change" into devel/master

3 years agoMerge "Ensured disabled batching reverts to ImageVisual" into devel/master
Adeel Kazmi [Tue, 11 Oct 2016 18:16:45 +0000 (11:16 -0700)]
Merge "Ensured disabled batching reverts to ImageVisual" into devel/master

3 years agoChanged control defaults to listen to style change 90/88390/6
David Steele [Fri, 16 Sep 2016 17:18:03 +0000 (18:18 +0100)]
Changed control defaults to listen to style change

Not all controls listen to style change events, thus they can't be
re-styled through the style system.

Changed the default behaviour of all controls to listen to style
change events.

Added a new enum CONTROL_BEHAVIOUR_DEFAULT (value = 0) to show this.

Change-Id: Ice26d98ba53a9950d941b74d2ed7816130bec040
Signed-off-by: David Steele <david.steele@samsung.com>
3 years agoFix the UtcDaliAsyncImageLoaderCancelAll 33/91833/1
Xiangyin Ma [Tue, 11 Oct 2016 16:05:11 +0000 (17:05 +0100)]
Fix the UtcDaliAsyncImageLoaderCancelAll

Change-Id: I55aa520db10e30230bb715aab2b112693452955d

3 years agoEnsured disabled batching reverts to ImageVisual 08/89208/2
David Steele [Thu, 22 Sep 2016 14:23:24 +0000 (15:23 +0100)]
Ensured disabled batching reverts to ImageVisual

Change-Id: Ic1fd2f4c44092c2393cc340d15d3298dcfe8850c

3 years agoMerge "Install default-feedback-theme.json files in styles folder" into devel/master
Adeel Kazmi [Tue, 11 Oct 2016 14:54:43 +0000 (07:54 -0700)]
Merge "Install default-feedback-theme.json files in styles folder" into devel/master

3 years agoInstall default-feedback-theme.json files in styles folder 55/91155/3
minho.sun [Thu, 6 Oct 2016 05:50:12 +0000 (14:50 +0900)]
Install default-feedback-theme.json files in styles folder

"feedback-style.cpp" can't find default-feedback-theme.json file because json file is not installed to
${PREFIX}/share/dali/toolkit/styles folder.

To fix this, make default-feedback-theme.json be installed to ${PREFIX}/dali/toolkit/styles folder

Change-Id: I1a4944c46187c3710c1b635366bdb119eb45c372
Signed-off-by: minho.sun <minho.sun@samsung.com>
3 years agoThis patch is for refining dali application to support tizen c# application. 66/91566/4
xb.teng [Mon, 10 Oct 2016 08:16:25 +0000 (16:16 +0800)]
This patch is for refining dali application to support tizen c# application.

Change-Id: Iaced0cfddde8b9f9c45371b8f63cc9bd3cef1fb3
Signed-off-by: xb.teng <xb.teng@samsung.com>
3 years agoAsync image loading 49/88149/12
Xiangyin Ma [Wed, 24 Aug 2016 16:05:29 +0000 (17:05 +0100)]
Async image loading

Change-Id: If5bb546217017a055e70f4a0b55f4d1f6cfa9b85

3 years agoMerge "Added support for app stylesheets and window mode" into devel/master
Adeel Kazmi [Mon, 10 Oct 2016 15:05:27 +0000 (08:05 -0700)]
Merge "Added support for app stylesheets and window mode" into devel/master

3 years agoMerge "DALi C# binding - Generic Delegates support for EventHandlers" into devel...
dongsug song [Mon, 10 Oct 2016 11:43:23 +0000 (04:43 -0700)]
Merge "DALi C# binding - Generic Delegates support for EventHandlers" into devel/master

3 years agoAdded support for app stylesheets and window mode 85/91085/5
Nick Holland [Wed, 5 Oct 2016 14:16:20 +0000 (15:16 +0100)]
Added support for app stylesheets and window mode

To use:

NewApplication();  // defaults to no stylesheet and OPAQUE window

NewApplication("mystylesheet"); // defaults to OPQAUE

NewApplication("mystylesheet", Application.WINDOW_MODE.TRANSPARENT);

NewApplication( Application.WINDOW_MODE.TRANSPARENT); // no style sheet

Change-Id: Ief4755e0892560eb4cba45ebf89a1d8ce103fa34

3 years agoMerge "Add missed parameter documentation" into devel/master
Adeel Kazmi [Mon, 10 Oct 2016 10:59:33 +0000 (03:59 -0700)]
Merge "Add missed parameter documentation" into devel/master

3 years agoDALi C# binding - Generic Delegates support for EventHandlers 57/91257/3
Ravi Nanjundappa [Mon, 10 Oct 2016 08:57:50 +0000 (14:27 +0530)]
DALi C# binding - Generic Delegates support for EventHandlers

Implemented the Generic delegates to support EventHandlers for
all public classes.

Added a new cs file (manual/csharp/DaliEventHandler.cs) having declaration for
generic delegates.

Earlier usage of EventHandlers :
1) _application.Initialized += new Dali.AUIApplicationInitEventHandler(Initialize);
2) stage.Touched += new Dali.Stage.TouchEventHandler(OnStageTouched);
3) _scrollView.OnRelayoutEvent += new Dali.Actor.OnRelayoutEventHandler(OnScrollViewRelayout);

New usage of Generic EventHandlers:
ex:
1) _application.Initialized += Initialize;
2) stage.Touched += OnStageTouched;
3) _scrollView.OnRelayoutEvent += OnScrollViewRelayout;

Change-Id: I6ce2af12c825a9a7ef830049863dafb1f63e6a17
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoMerge "DALi Version 1.2.9" into devel/master
Adeel Kazmi [Fri, 7 Oct 2016 15:38:39 +0000 (08:38 -0700)]
Merge "DALi Version 1.2.9" into devel/master

3 years agoDALi Version 1.2.9 57/91457/1 dali_1.2.9
Ferran Sole [Fri, 7 Oct 2016 15:33:14 +0000 (16:33 +0100)]
DALi Version 1.2.9

Change-Id: I4086d80e24fa82a11620f22c4cace1e2583d4550

3 years agoMerge "Text - Ellipsis improvement." into devel/master
Paul Wisbey [Fri, 7 Oct 2016 09:32:57 +0000 (02:32 -0700)]
Merge "Text - Ellipsis improvement." into devel/master

3 years agoDALi C# binding - Fix build issues w.r.t Control to View renaming 43/91343/1
Ravi Nanjundappa [Fri, 7 Oct 2016 06:00:26 +0000 (11:30 +0530)]
DALi C# binding - Fix build issues w.r.t Control to View renaming

Changes include build issue fixed w.r.t renaming
Control class to View class renaming.

Change-Id: Ibd679422f95e50fca9891cbe165ece20c0b2dc3c
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoDALi C# binding - Change methods into Properties 23/90723/5
Ravi Nanjundappa [Thu, 6 Oct 2016 06:39:43 +0000 (12:09 +0530)]
DALi C# binding - Change methods into Properties

Inserted the property related code changes through swig .i files.
Modified the examples accordingly.

Change-Id: I659c3e8e3bef5a455b60405459b2744d77cc4fa4
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoDALi C# binding - Rename Control class to View 54/88154/7
Ravi Nanjundappa [Wed, 14 Sep 2016 05:00:39 +0000 (10:30 +0530)]
DALi C# binding - Rename Control class to View

Renamed Control class to View class as per dali-halo
common interface definition.
DALi# Sample application is also changed to make use of
View in place of Control class.

Change-Id: If3195e1741878ce7d326b4ea3b8ef83b6fd13694
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years ago(Popup) Ensure popup gets key input focus when it is displayed 42/91242/2
Adeel Kazmi [Thu, 6 Oct 2016 10:59:25 +0000 (11:59 +0100)]
(Popup) Ensure popup gets key input focus when it is displayed

Change-Id: Iae70d7e1fe640186dc0faa127d5683b9b7c655d4

3 years agoDALi C# binding - EventHandler support for Button 24/90524/2
Ravi Nanjundappa [Fri, 30 Sep 2016 10:29:07 +0000 (15:59 +0530)]
DALi C# binding - EventHandler support for Button

Fix the issue of EventHandler code generation for Button class.

Change-Id: Idd9c4f177c705261320b96972aa229fa915b17cf
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
3 years agoCopied stage-hand dali-adaptor build instructions from quick-start guide to programmi... 85/89885/5
Tom Robinson [Tue, 27 Sep 2016 09:42:11 +0000 (10:42 +0100)]
Copied stage-hand dali-adaptor build instructions from quick-start guide to programming guide

Change-Id: Ic651d3bb8b3b83d31efc85efc37aae1271a6a113

3 years agoMerge "C# Improve property injector script" into devel/master
Adeel Kazmi [Wed, 5 Oct 2016 09:38:03 +0000 (02:38 -0700)]
Merge "C# Improve property injector script" into devel/master

3 years agoMerge "Manual binding for KeyboardFocusManager" into devel/master
Kimmo Hoikka [Wed, 5 Oct 2016 09:07:26 +0000 (02:07 -0700)]
Merge "Manual binding for KeyboardFocusManager" into devel/master

3 years agoManual binding for KeyboardFocusManager 69/90669/4
Richard Huang [Mon, 3 Oct 2016 14:18:17 +0000 (15:18 +0100)]
Manual binding for KeyboardFocusManager

Change-Id: I52061d64c2c900d06693da828b1a91133b08b36a

3 years agoText - Ellipsis improvement. 77/90877/2
Victor Cebollada [Tue, 4 Oct 2016 13:11:06 +0000 (14:11 +0100)]
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>
3 years agoC# Improve property injector script 32/90832/1
Nick Holland [Tue, 4 Oct 2016 10:31:02 +0000 (11:31 +0100)]
C# Improve property injector script

Syntax for including files with grep didn't always work

Change-Id: I3630c6e903719b06afb69fec9d368f9bf0968bf9

3 years agoRemove current ScrollBar indicator when setting new customed indicator 73/90773/1
minho.sun [Tue, 4 Oct 2016 07:51:20 +0000 (16:51 +0900)]
Remove current ScrollBar indicator when setting new customed indicator

 Remove current ScrollBar indicator when setting new customed indicator
using SetScrollIndicator();

Change-Id: Id833be317eb312489bceeadfd1a2bceaf3dde629
Signed-off-by: minho.sun <minho.sun@samsung.com>