platform/core/uifw/dali-toolkit.git
7 years agoReduced size of control depth index ranges 22/113222/3
David Steele [Mon, 6 Feb 2017 20:22:11 +0000 (20:22 +0000)]
Reduced size of control depth index ranges

The control depth index ranges, used for setting the depth index of
visuals, needs to stay within the sibling order range, which is
defined as 1000. The existing values for background (used by button)
overlapped with sibling order and caused incorrect ordering in the svg
demo.

Of note is the Layer::TREE_DEPTH_MULTIPLIER is different from the
DevelLayer::TREE_DEPTH_MULTIPLIER value, and should be removed.

Change-Id: I176f277286840f5b57840661f285dc9261795769
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoDALi Version 1.2.25 14/113014/1 dali_1.2.25
Umar [Fri, 3 Feb 2017 15:37:42 +0000 (15:37 +0000)]
DALi Version 1.2.25

Change-Id: I6671b49c5596878bf87a6a6735daa54f3f1aa140

7 years agoMerge "Add style name to indicator of ScrollBar" into devel/master
Adeel Kazmi [Thu, 2 Feb 2017 19:23:38 +0000 (11:23 -0800)]
Merge "Add style name to indicator of ScrollBar" into devel/master

7 years agoMerge "Updated programming guide to explain how to create a visual" into devel/master
Adeel Kazmi [Thu, 2 Feb 2017 19:08:51 +0000 (11:08 -0800)]
Merge "Updated programming guide to explain how to create a visual" into devel/master

7 years agoAdd Toggle button example for dashboard demo. 56/112056/4
xb.teng [Wed, 25 Jan 2017 14:30:43 +0000 (22:30 +0800)]
Add Toggle button example for dashboard demo.

Change-Id: Ia6193084e2019e53814207811788d46ebaf5eb1b
Signed-off-by: xb.teng <xb.teng@samsung.com>
7 years agoToggle button c# binding. 54/112054/2
xb.teng [Wed, 25 Jan 2017 13:55:51 +0000 (21:55 +0800)]
Toggle button c# binding.

Change-Id: Iae916a83ca2522def658f309063c1f8531919041
Signed-off-by: xb.teng <xb.teng@samsung.com>
7 years agoUpdated programming guide to explain how to create a visual 85/112785/1
David Steele [Thu, 2 Feb 2017 16:39:36 +0000 (16:39 +0000)]
Updated programming guide to explain how to create a visual

Added information about how to create and register a visual.
Styling info is somewhat lacking, though.

Change-Id: I399be3a7dfde1d2c2b0cc4aad0fb706a084148c5
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoAdd style name to indicator of ScrollBar 27/112127/4
minho.sun [Thu, 26 Jan 2017 06:37:14 +0000 (15:37 +0900)]
Add style name to indicator of ScrollBar

Add style name to indicator of scrollbar.
Now developer can set their indicator style via stylesheet

Change-Id: Ifc6007147472ae7cc13161cc25c3c53eec5c11b0
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoMerge "Removed unused method GetTexture form test-actor-utils.h" into devel/master
Kimmo Hoikka [Mon, 30 Jan 2017 18:51:22 +0000 (10:51 -0800)]
Merge "Removed unused method GetTexture form test-actor-utils.h" into devel/master

7 years agoMerge "Fix the keyboard focus issue for nested table view" into devel/master
Adeel Kazmi [Mon, 30 Jan 2017 15:33:17 +0000 (07:33 -0800)]
Merge "Fix the keyboard focus issue for nested table view" into devel/master

7 years agoMerge "Enable json tree dump to work with empty arrays" into devel/master
David Steele [Fri, 27 Jan 2017 18:01:50 +0000 (10:01 -0800)]
Merge "Enable json tree dump to work with empty arrays" into devel/master

7 years agoEnable json tree dump to work with empty arrays 14/112214/1
Agnelo Vaz [Fri, 27 Jan 2017 17:54:10 +0000 (17:54 +0000)]
Enable json tree dump to work with empty arrays

If the json contains an empty array it would crash as there was no check before dereferencing a pointer.

Below constant section should be added to json to get debug output

  "constants":
  {

    "CONFIG_SCRIPT_LOG_LEVEL":"Verbose",
    "DUMP_TREE":1
  },

Change-Id: I9584fa0c4202ea7907a9235cdfb81264ab3596c6

7 years agoMerge "DALi Version 1.2.24" into devel/master
Adeel Kazmi [Fri, 27 Jan 2017 17:53:34 +0000 (09:53 -0800)]
Merge "DALi Version 1.2.24" into devel/master

7 years agoDALi Version 1.2.24 04/112204/1 dali_1.2.24
Nick Holland [Fri, 27 Jan 2017 15:14:37 +0000 (15:14 +0000)]
DALi Version 1.2.24

Change-Id: Ia0cfbdaa4ee648d94193c269d9a0adbc8071bb0f

7 years agoFix the keyboard focus issue for nested table view 01/112201/1
Richard Huang [Fri, 27 Jan 2017 15:13:27 +0000 (15:13 +0000)]
Fix the keyboard focus issue for nested table view

Change-Id: Ia45179b275e5f92f0e58ed5bd8fc3506a014b5fa

7 years agoAdd native dali toggle button, base on latest button using visual. 97/101797/31
xb.teng [Fri, 2 Dec 2016 07:07:55 +0000 (15:07 +0800)]
Add native dali toggle button, base on latest button using visual.

Change-Id: Ib4b7974fdf7f2d81d704b926a840126440aa345a
Signed-off-by: xb.teng <xb.teng@samsung.com>
7 years agoManual binding to add getter/setter APIs for Hover 57/112157/4
Umar [Thu, 26 Jan 2017 14:54:19 +0000 (14:54 +0000)]
Manual binding to add getter/setter APIs for Hover

Change-Id: I0bd5c96cae5f10078b580bcac1095899e1606f51

7 years agoRemoved unused method GetTexture form test-actor-utils.h 67/112167/1
Ferran Sole [Thu, 26 Jan 2017 16:54:02 +0000 (16:54 +0000)]
Removed unused method GetTexture form test-actor-utils.h

Change-Id: Ie25c441c32cd632834c3d9ef2c412d0f16cbae71

7 years agoRemoved unneeded includes of Dali::Atlas 06/111906/2
Ferran Sole [Tue, 24 Jan 2017 17:34:25 +0000 (17:34 +0000)]
Removed unneeded includes of Dali::Atlas

Change-Id: Ibf4ef1bdfabcf1c39a8350d997c80f1895485bec

7 years agoMerge "Add C# tooltip example to the control dashboard" into devel/master
Adeel Kazmi [Wed, 25 Jan 2017 11:53:34 +0000 (03:53 -0800)]
Merge "Add C# tooltip example to the control dashboard" into devel/master

7 years agoAdd C# tooltip example to the control dashboard 04/111904/3
Richard Huang [Tue, 24 Jan 2017 17:01:36 +0000 (17:01 +0000)]
Add C# tooltip example to the control dashboard

Change-Id: I1c96eb3b3ab73a257179d42901cce8b258283b54

7 years agoMerge "Doxygen Comment Generation" into devel/master
Adeel Kazmi [Tue, 24 Jan 2017 16:48:26 +0000 (08:48 -0800)]
Merge "Doxygen Comment Generation" into devel/master

7 years agoMerge "Add C# binding for ItemView." into devel/master
Adeel Kazmi [Tue, 24 Jan 2017 16:33:25 +0000 (08:33 -0800)]
Merge "Add C# binding for ItemView." into devel/master

7 years agoManual binding for Visual and Tooltip properties in devel-api 97/111897/1
Richard Huang [Tue, 24 Jan 2017 14:22:20 +0000 (14:22 +0000)]
Manual binding for Visual and Tooltip properties in devel-api

Change-Id: Ieb15d58401d5c11cf474880af62ce6e663ad64ad

7 years agoMerge "(GCC 6.2) Remove unused functions from automated-tests" into devel/master
Kimmo Hoikka [Tue, 24 Jan 2017 10:24:57 +0000 (02:24 -0800)]
Merge "(GCC 6.2) Remove unused functions from automated-tests" into devel/master

7 years ago(GCC 6.2) Remove unused functions from automated-tests 03/111503/2
Adeel Kazmi [Fri, 20 Jan 2017 18:09:45 +0000 (18:09 +0000)]
(GCC 6.2) Remove unused functions from automated-tests

Change-Id: Ic822c180d18758f74f77d6987815f3ccfc8f8dcc

7 years agoText - Use the uColor uniform to render the emojis. 61/111661/1
Victor Cebollada [Mon, 23 Jan 2017 08:54:50 +0000 (08:54 +0000)]
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>
7 years agoDoxygen Comment Generation 99/92499/12
puru [Mon, 9 Jan 2017 14:39:37 +0000 (20:09 +0530)]
Doxygen Comment Generation

This patch includes scripts which automatically generates .i files,
to include for doxygen comment generation.

Change-Id: Iae1014f78e4a3ec4da9c282f190ec32e4257c2ea
Signed-off-by: puru <puru.dharma@samsung.com>
7 years agoMerge "Fix for ItemView OVERSHOOT_SIZE" into devel/master
Adeel Kazmi [Fri, 20 Jan 2017 13:57:53 +0000 (05:57 -0800)]
Merge "Fix for ItemView OVERSHOOT_SIZE" into devel/master

7 years agoDALi Version 1.2.23 87/111487/1 dali_1.2.23
Richard Huang [Fri, 20 Jan 2017 13:35:44 +0000 (13:35 +0000)]
DALi Version 1.2.23

Change-Id: I796b221c5a0f66b643f2ab095dc673bd6c798aeb

7 years agoFix for ItemView OVERSHOOT_SIZE 32/111132/5
Ferran Sole [Thu, 19 Jan 2017 11:58:46 +0000 (11:58 +0000)]
Fix for ItemView OVERSHOOT_SIZE

Setting overshoot size after overshoot was enabled was not working

Change-Id: Ibb7cc6268f85aa68aa5476b8a99222abab6f6525

7 years agoMerge "Fixed test cases after changes in ResourceImage" into devel/master
Paul Wisbey [Fri, 20 Jan 2017 09:19:25 +0000 (01:19 -0800)]
Merge "Fixed test cases after changes in ResourceImage" into devel/master

7 years agoMerge "Remove deprecated SetSelected call" into devel/master
Adeel Kazmi [Thu, 19 Jan 2017 16:35:08 +0000 (08:35 -0800)]
Merge "Remove deprecated SetSelected call" into devel/master

7 years agoMerge "Added TextVisual function to convert string keys to index keys in Property...
David Steele [Thu, 19 Jan 2017 12:59:07 +0000 (04:59 -0800)]
Merge "Added TextVisual function to convert string keys to index keys in Property Map" into devel/master

7 years agoRemove deprecated SetSelected call 89/111089/1
Agnelo Vaz [Thu, 19 Jan 2017 10:52:02 +0000 (10:52 +0000)]
Remove deprecated SetSelected call

Change-Id: I85755f56734e21fab3e68e89c448e0af5fdfc728

7 years agoAdd C# binding for ItemView. 68/111068/1
Feng Jin [Thu, 19 Jan 2017 09:30:32 +0000 (17:30 +0800)]
Add C# binding for ItemView.

Change-Id: Ieac38f99dbeb6656fc1a57cf39751dc1f2c6d7b3
Signed-off-by: Feng Jin <feng16.jin@samsung.com>
7 years agoAdd assert to ensure initialized variables. 32/110932/1
Francisco Santos [Wed, 18 Jan 2017 18:55:25 +0000 (18:55 +0000)]
Add assert to ensure initialized variables.

Change-Id: I46b75f9d7b6dd18aefebce845acbb7a46d258ffc

7 years agoAdded TextVisual function to convert string keys to index keys in Property Map 42/110742/6
Agnelo Vaz [Wed, 18 Jan 2017 14:17:59 +0000 (14:17 +0000)]
Added TextVisual function to convert string keys to index keys in Property Map

Fixes issue in which a PropertyMap made up of string keys would not merged into a PropertyMap made of Index keys. Instead it will have entries for both. The Visual Factory will only use Indexes to create the TextVisual hence the Properties set with strings are ignored.

Change-Id: I0bf2495d96ce86616a70d9de544dfe9768db40d7

7 years agoRemove usage of deprecated Button::SetLabelText 96/110896/2
Adeel Kazmi [Wed, 18 Jan 2017 12:07:48 +0000 (12:07 +0000)]
Remove usage of deprecated Button::SetLabelText

Change-Id: Ib82cf26ecd384f987e6567353fc7984e8781c19f

7 years agoFixed test cases after changes in ResourceImage 01/110701/2
Ferran Sole [Tue, 17 Jan 2017 12:38:59 +0000 (12:38 +0000)]
Fixed test cases after changes in ResourceImage

Change-Id: I73a428bda2db70f9b0827fed5b56a9b3d9f9e289

7 years agoMerge "Fix bug that the properties of layouts are set after the call of ItemView...
Adeel Kazmi [Tue, 17 Jan 2017 10:49:50 +0000 (02:49 -0800)]
Merge "Fix bug that the properties of layouts are set after the call of ItemView::ActivateLayout() function." into devel/master

7 years agoMerge "Wrap mode support for AnimatedImageVisual" into devel/master
Adeel Kazmi [Mon, 16 Jan 2017 17:07:00 +0000 (09:07 -0800)]
Merge "Wrap mode support for AnimatedImageVisual" into devel/master

7 years agoWrap mode support for AnimatedImageVisual 84/105484/6
Xiangyin Ma [Fri, 16 Dec 2016 16:15:21 +0000 (16:15 +0000)]
Wrap mode support for AnimatedImageVisual

Change-Id: If7fdddf3d833a13888a810a218cc5da2d89fd771

7 years agoMerge "TextVisual shows text after being Disabled and Enabled" into devel/master
Adeel Kazmi [Mon, 16 Jan 2017 15:27:46 +0000 (07:27 -0800)]
Merge "TextVisual shows text after being Disabled and Enabled" into devel/master

7 years agoMerge "Pass page up/down directions to layout controls for keyboard focus handling...
Minho Sun [Mon, 16 Jan 2017 10:36:47 +0000 (02:36 -0800)]
Merge "Pass page up/down directions to layout controls for keyboard focus handling" into devel/master

7 years agochange SINCE version of MoveFocusBackward 57/110357/1
minho.sun [Mon, 16 Jan 2017 05:18:13 +0000 (14:18 +0900)]
change SINCE version of MoveFocusBackward

MoveFocusBackward api merged at 1.2.19 but SINCE version was 1.2.17
To fix this, change SINCE version of MoveFocusBackward to 1.2.19

Change-Id: I38716eab6005101d1f5db9e43d14cc129b640ecc
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoFix bug that the properties of layouts are set after the call of ItemView::ActivateLa... 36/110336/1
Feng Jin [Sun, 15 Jan 2017 23:07:40 +0000 (07:07 +0800)]
Fix bug that the properties of layouts are set after the call of ItemView::ActivateLayout() function.

Change-Id: I91e424b86c0e13125e5cd3b2b9fb0138f798b77d
Signed-off-by: Feng Jin <feng16.jin@samsung.com>
7 years agoTextVisual shows text after being Disabled and Enabled 86/110286/4
Agnelo Vaz [Fri, 13 Jan 2017 13:40:43 +0000 (13:40 +0000)]
TextVisual shows text after being Disabled and Enabled

Disabling TextVisual then enabling it ( Set on and off stage ) did not show the Visual.

Textures were not set to renderer as considered not required

Change-Id: Iedf5f91afce6e6a1fa3f4c784682bbcab3787d9c

7 years agoMerge "DALi Version 1.2.22" into devel/master
David Steele [Fri, 13 Jan 2017 14:37:15 +0000 (06:37 -0800)]
Merge "DALi Version 1.2.22" into devel/master

7 years agoDALi Version 1.2.22 93/110293/1 dali_1.2.22
David Steele [Fri, 13 Jan 2017 14:35:42 +0000 (14:35 +0000)]
DALi Version 1.2.22

Change-Id: I667830873668aea838c685db21c5233e3a45f394

7 years agoMerge "Added C# binding for properties in devel-api" into devel/master
Kimmo Hoikka [Fri, 13 Jan 2017 13:51:10 +0000 (05:51 -0800)]
Merge "Added C# binding for properties in devel-api" into devel/master

7 years agoMerge "Updated visual property animator to handle shader properties" into devel/master
Kimmo Hoikka [Fri, 13 Jan 2017 13:45:39 +0000 (05:45 -0800)]
Merge "Updated visual property animator to handle shader properties" into devel/master

7 years agoMerge "Updated visuals to add animatable mixColor property" into devel/master
Kimmo Hoikka [Fri, 13 Jan 2017 13:40:48 +0000 (05:40 -0800)]
Merge "Updated visuals to add animatable mixColor property" into devel/master

7 years agoMerge "Match the arguments type in 'max' function" into devel/master
Kimmo Hoikka [Fri, 13 Jan 2017 11:53:48 +0000 (03:53 -0800)]
Merge "Match the arguments type in 'max' function" into devel/master

7 years agoPass page up/down directions to layout controls for keyboard focus handling 58/110058/2
Richard Huang [Thu, 12 Jan 2017 16:04:42 +0000 (16:04 +0000)]
Pass page up/down directions to layout controls for keyboard focus handling

Change-Id: Ic109497772f3145608d30e83375aa494c8730f1f

7 years agoAdded C# binding for properties in devel-api 95/109795/5
Richard Huang [Wed, 11 Jan 2017 16:20:24 +0000 (16:20 +0000)]
Added C# binding for properties in devel-api

Change-Id: I954c9db04e69625a4acfe0c2babb31be3b884e07

7 years agoUpdated visual property animator to handle shader properties 88/109288/7
David Steele [Mon, 9 Jan 2017 19:17:59 +0000 (19:17 +0000)]
Updated visual property animator to handle shader properties

If the AnimateProperty() method cannot find the requested property
in the renderer, it now checks the shader. If it finds a registered
uniform, then it registers the same uniform on the renderer, and
sets up the appropriate transition.

Change-Id: I0f5ae27deec005f406d18ca9de28ed9cf57f96a3
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoUpdated visuals to add animatable mixColor property 58/105158/20
David Steele [Thu, 15 Dec 2016 20:30:19 +0000 (20:30 +0000)]
Updated visuals to add animatable mixColor property

Modified all visuals to add a mix color property, except
color visual, which already has one, and primitive visual,
which has such a property, but have moved it to register on
the renderer rather than the shader.

Color and Primitive visual will handle either MIX_COLOR key, using
their own key in preference to the base key.

The target mix color and property index is now held in the
Visual::Base impl class. The uniform registration is also done
in the base clas.

Added handling to control to enable setting or animating the
mix color through the style sheet.

Added a note to Internal::Control::CreateTransition() to warn that
no animation will be created if the control is not staged or the
visual is not enabled

Ensured the blend mode is set to the right value for the target
mix color when the transition finishes.

Change-Id: I3191da06098582f57f101a8a0139faa3b1fb3c80
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoMerge "Button needs a simple mechanism to set text label" into devel/master
Adeel Kazmi [Thu, 12 Jan 2017 18:58:03 +0000 (10:58 -0800)]
Merge "Button needs a simple mechanism to set text label" into devel/master

7 years agoButton needs a simple mechanism to set text label 96/109796/4
Agnelo Vaz [Wed, 11 Jan 2017 15:02:55 +0000 (15:02 +0000)]
Button needs a simple mechanism to set text label

Label property can now take just a string instead of a property map to create text visual

Change-Id: I027136406b852fc2de0c99c6a00b614c63bbe432

7 years agoC# Control factory / Registry 38/101938/19
Nick Holland [Wed, 7 Dec 2016 15:41:53 +0000 (15:41 +0000)]
C# Control factory / Registry

Allows controls to register themselves
with DALi type registry along with their
properties.

Once registered this allows DALi to load a
JSON file which can create C# controls and fill
in properties for that control.

See json-loader
and data-picker-using-json

Change-Id: I7f57722a5a7e30b7c85a732dc2077da7cf5809c7

7 years agoMatch the arguments type in 'max' function 59/109559/1
Seoyeon Kim [Tue, 10 Jan 2017 10:22:29 +0000 (19:22 +0900)]
Match the arguments type in 'max' function

- Fix the matching:
  'max(double, float)' -> 'max(double, double)'

Change-Id: I07a8737d2d1a3934b7588aa8d925dd2389455ef4
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoUpdate doxygen comments 66/109466/1
Seoyeon Kim [Tue, 10 Jan 2017 05:19:34 +0000 (14:19 +0900)]
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>
7 years agoReduce buttons font size in 720 style sheet 82/109282/1
Agnelo Vaz [Mon, 9 Jan 2017 12:02:15 +0000 (12:02 +0000)]
Reduce buttons font size in 720 style sheet

Change-Id: I9dd38495cbcb843e6e30907f8df5c8cdb05415a6

7 years agoMerge "Fix the warning log in Control causing the wrong position" into devel/master
Adeel Kazmi [Mon, 9 Jan 2017 10:05:45 +0000 (02:05 -0800)]
Merge "Fix the warning log in Control causing the wrong position" into devel/master

7 years agoMerge "Added nested TableView KeyboardFocus support" into devel/master
Adeel Kazmi [Fri, 6 Jan 2017 16:27:11 +0000 (08:27 -0800)]
Merge "Added nested TableView KeyboardFocus support" into devel/master

7 years agoMerge "DALi Version 1.2.21" into devel/master
Adeel Kazmi [Fri, 6 Jan 2017 14:18:34 +0000 (06:18 -0800)]
Merge "DALi Version 1.2.21" into devel/master

7 years agoMerge "Automatic Control Clipping" into devel/master
Kimmo Hoikka [Fri, 6 Jan 2017 14:17:10 +0000 (06:17 -0800)]
Merge "Automatic Control Clipping" into devel/master

7 years agoMerge "Make Up calls to control consistent so they are called at the end by derived...
Kimmo Hoikka [Fri, 6 Jan 2017 14:16:46 +0000 (06:16 -0800)]
Merge "Make Up calls to control consistent so they are called at the end by derived classes" into devel/master

7 years agoDALi Version 1.2.21 44/109044/1 dali_1.2.21
Agnelo Vaz [Fri, 6 Jan 2017 14:01:14 +0000 (14:01 +0000)]
DALi Version 1.2.21

Change-Id: I52476e042889e12a65680f6af5b8a008ab7f8670

7 years agoAdded nested TableView KeyboardFocus support 43/106743/6
Umar [Thu, 22 Dec 2016 18:31:42 +0000 (18:31 +0000)]
Added nested TableView KeyboardFocus support

Change-Id: I108501a26b13a85efb2b71e7878b1580f0f06ea7

7 years agoAutomatic Control Clipping 95/108795/5
Adeel Kazmi [Fri, 30 Dec 2016 13:38:08 +0000 (13:38 +0000)]
Automatic Control Clipping

If the application sets to clip the children of a control, then this patch automatically
creates a background visual which is used for clipping the children rather than the
application writer having to do so.

It only adds the background visual if no renderers or visuals have been added.

Change-Id: I6e3c0c3c5459fc2cbc828daf3d01c7b0faf0a069

7 years agoMake Up calls to control consistent so they are called at the end by derived classes 97/107897/9
Adeel Kazmi [Fri, 30 Dec 2016 13:38:08 +0000 (13:38 +0000)]
Make Up calls to control consistent so they are called at the end by derived classes

- This makes the most sense in the majority of use cases and by defining this, it's an easy rule for
  control developers to follow.

Change-Id: Icb1701fbefcca70d8f81436b6d70a318e3e6fc76

7 years agoC#, Fixed ruby property script to remove trailing spaces 89/108689/2
Nick Holland [Thu, 5 Jan 2017 11:09:14 +0000 (11:09 +0000)]
C#, Fixed ruby property script to remove trailing spaces

Change-Id: I953453200d127fc98858007049fb7dd835196655

7 years agoWireframe visual provides correct natural size in debug rendering 03/108503/4
Xiangyin Ma [Wed, 4 Jan 2017 15:30:03 +0000 (15:30 +0000)]
Wireframe visual provides correct natural size in debug rendering

Change-Id: I34a5ebd57b467004a1c1b06c64f7a08f44a3a96f

7 years ago(ProgressBar) Ensure full progress image is shown when 100% 74/107774/3
Adeel Kazmi [Thu, 29 Dec 2016 17:03:27 +0000 (17:03 +0000)]
(ProgressBar) Ensure full progress image is shown when 100%

Before this patch, the track visual was always longer than the progress visual which meant
that 100% progress could never be shown.

Change-Id: I11fb81daf3b32096d0307904bff5a887311e0647

7 years agoMerge "Dali C#: Common Interface Define related changes" into devel/master
dongsug.song [Mon, 2 Jan 2017 01:06:40 +0000 (17:06 -0800)]
Merge "Dali C#: Common Interface Define related changes" into devel/master

7 years agoDali C#: Common Interface Define related changes 53/107353/4
dongsug.song [Tue, 27 Dec 2016 14:09:32 +0000 (23:09 +0900)]
Dali C#: Common Interface Define related changes

- AnimateBetween() API re-define, KeyFrames class Add() API re-define.
- Size3D (high level class) newly added.
- Vector2/3/4 class's variables => Pascal case naming changed.
- FocusManger: some naming which contained "Keyborad" changed.
- ImageView: sample code newly added, "PixelArea" property and AnimateBetween() are tested.
  image view reloading tested.
- Stage: single-tone pattern Instance property newly added. GetDefaultLayer(), AddLayer(),
  and RemoveLayer() are newly added. GetRootLayer(), Add() and Remove() will be moved to 'internal' folder.
  TouchEvent, WheelEvent, KeyEvent naming changed.
- Layer: Behavior property changed to use 'LayerBehavior enum' (not use string),
  MoveAbove() and MoveBelow() will be moved to 'internal' folder.
- Application: naming changed from AUIApplication to NUIApplication.
- SWIG build break: tooltip removed by property-wrapper.rb.
- miss spelling fixed (property).
- Animation enum value naming changed. add "name-changed.i". EndAction.Stop is changed to EndActions.StopFinal =>
  This is because, if I use 'EndAction' then the newly added 'EndAction property' has overlapped with enum itself.
  and if I use 'Stop' then the Stop() method's name is overlapped so SWIG doesn't generate Stop() method.

Change-Id: I519eb592e8d002fefa72b5bf78f830beae3f8d20
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
7 years agoDALi Version 1.2.20 dali_1.2.20
Adeel Kazmi [Fri, 30 Dec 2016 10:45:38 +0000 (10:45 +0000)]
DALi Version 1.2.20

Change-Id: Icdb1c0dd8f150aa5bd9eb5d08ace47e606982c95

7 years agoFix the warning log in Control causing the wrong position 20/107820/1
Seoyeon Kim [Fri, 30 Dec 2016 04:38:42 +0000 (13:38 +0900)]
Fix the warning log in Control causing the wrong position

Change-Id: I8eee4d59970c3c1243e6155961089d7a085e75c1
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoSuperBlurView bug fix: alpha uniform gets wrong value from constraint 40/106740/2
Xiangyin Ma [Thu, 22 Dec 2016 15:50:47 +0000 (15:50 +0000)]
SuperBlurView bug fix: alpha uniform gets wrong value from constraint

Change-Id: I4a0168b9c942e5a9d8b5d9b751ac29b4364f62ce

7 years agoStop using deprecated API from Popup and fix typo in Control 87/107587/1
Adeel Kazmi [Wed, 28 Dec 2016 14:11:44 +0000 (14:11 +0000)]
Stop using deprecated API from Popup and fix typo in Control

Change-Id: I8ff603aa1af813fa5e0bf614ebae815ddca7af6e

7 years agoAdd Popup and Toast example into dashboard. 87/106287/8
Feng [Wed, 21 Dec 2016 08:17:43 +0000 (16:17 +0800)]
Add Popup and Toast example into dashboard.

Change-Id: Ide3e53bbec252fb39e0908792b847d4201794de2
Signed-off-by: Feng <feng16.jin@samsung.com>
7 years agoMerge "Add push-button sample for dashboard" into devel/master
Minho Sun [Mon, 26 Dec 2016 05:28:13 +0000 (21:28 -0800)]
Merge "Add push-button sample for dashboard" into devel/master

7 years agoAdded po files for more languages 73/106973/1
suhyung Eom [Mon, 26 Dec 2016 04:39:07 +0000 (13:39 +0900)]
Added po files for more languages

Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I916f1e7eb58cc8b0a6fff1e96dfc56fd102cd6ae

7 years agoFixed various SVACE errors 93/106893/2
Adeel Kazmi [Fri, 23 Dec 2016 11:24:09 +0000 (11:24 +0000)]
Fixed various SVACE errors

Change-Id: Icaf45c9905770ad344c591f6a0f7ae9ed032e225

7 years agoMerge "Added Tooltip functionality to Control" into devel/master
Adeel Kazmi [Fri, 23 Dec 2016 11:15:35 +0000 (03:15 -0800)]
Merge "Added Tooltip functionality to Control" into devel/master

7 years agoMerge "Dali C#: Common Interface Define related changes" into devel/master
dongsug.song [Fri, 23 Dec 2016 01:44:45 +0000 (17:44 -0800)]
Merge "Dali C#: Common Interface Define related changes" into devel/master

7 years agoAdded Tooltip functionality to Control 43/103143/10
Adeel Kazmi [Wed, 7 Dec 2016 10:45:58 +0000 (10:45 +0000)]
Added Tooltip functionality to Control

Change-Id: I49fbb96bd31d3cf3cb06f959a8e4e380ba4b7120

7 years agoDali C#: Common Interface Define related changes 12/105712/9
dongsug.song [Mon, 19 Dec 2016 07:41:22 +0000 (16:41 +0900)]
Dali C#: Common Interface Define related changes

- OnStage() : changed/added into property of 'IsStageOn{get;}', changed into internal.
- View class inherit : changed to inherit from Actor (previously, CustomActor).
- BackgroundImage, Background are moved to /internal/view.cs
  because these return Dali.Property class which needs to be hidden in Common-Interface.
- KeyboardFocusManager naming changed : FocusManager, only class name is changed. need to change signal's names also.
- KeyInputFocusManager : Instance property added.
- Stage : BackgroundColor, Size property return types are changed from Dali.Color, Dali.Size to Vector4, Vector2.
- Animation FinishedSignal : Event Handler has been changed to get only one argument. Event chaining enabled.
- Animation EndAction : naming is changed as 'Cancel' and 'Stop', Stop(action) argument changed. EndAction property added.
- Duration : set as Milli-second unit as default. (DurationMilliSecs: removed)
- AnimateTo : Animation API interface changed.
- Add user custom alphafunction : enable user defined simple custom alphafunction,
  add sample app "user-alphafunction.cs" how to define custom alphafunction and delegate
- hello-world.cs, user-alphafunction.cs have been changed.
- Dali build server error : break in dali-demo build, some rpm package get failed. remove dali csharp spec file.
- EventHandler pattern changed : .NET provided EventHandler used. Stage Wheel event is not working.
  (but EventProcessingFinished works when actual mouse wheel controled.) Stage's event property naming changed.

Change-Id: I0b5e1af8817c94f757ff7bf9e87bc850c4cbd50b
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
7 years agoAdd support for ItemView layout customisation through properties. 48/100248/23
fengjin16 [Fri, 25 Nov 2016 11:22:22 +0000 (19:22 +0800)]
Add support for ItemView layout customisation through properties.

Change "SetLayoutProperties()" to non-virtual method.

Change-Id: I635ec472ee459518466d6d0f67df94166d7c4d80
Signed-off-by: fengjin16 <feng16.jin@samsung.com>
7 years agoRemove incorrect Deprecated warning from Internal::Control 94/106094/1
Adeel Kazmi [Tue, 20 Dec 2016 10:46:50 +0000 (10:46 +0000)]
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

7 years agoAdd push-button sample for dashboard 66/105966/2
xb.teng [Tue, 20 Dec 2016 06:26:08 +0000 (14:26 +0800)]
Add push-button sample for dashboard

Change-Id: I2635705861bc0f77a4212d9cd13d53d3de3f5c3b
Signed-off-by: xb.teng <xb.teng@samsung.com>
7 years agoMove virtual destructor same position as 2.4 63/105863/1
suhyung Eom [Tue, 20 Dec 2016 01:11:35 +0000 (10:11 +0900)]
Move virtual destructor same position as 2.4

Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I4c08e6b57d13ddbbe7caf43d8c084b762f829317

7 years agoMove virtual destructor position to its original 93/105693/1
suhyung Eom [Fri, 16 Dec 2016 05:42:45 +0000 (14:42 +0900)]
Move virtual destructor position to its original

Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I0a42615395e88cc08c68b7447224b823e90ca66a

7 years agoAdd Page-UP/DOWN direction for KeyboardFocusManager 18/96518/4
suhyung Eom [Wed, 9 Nov 2016 04:48:18 +0000 (13:48 +0900)]
Add Page-UP/DOWN direction for KeyboardFocusManager

Add Page-Up/DOWN direction for KeyboardFocusManager.
This makes KeyboardFocusManager can move keyboard-focus towards the previous/next page direction.

Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: Ifdaeedd256b45c72774baa64b88a87e8806f09ab

7 years agoFix C# build break due to C++ property macro modification 81/105481/1
Nick Holland [Fri, 16 Dec 2016 17:32:17 +0000 (17:32 +0000)]
Fix C# build break due to C++ property macro modification

C# property generator script now strips out
any comments inserted after the property macro.

E.g. the following macro was breaking the script due to the // deprecated comment

DALI_PROPERTY_REGISTRATION( Toolkit, Button, "unselectedStateImage",               MAP,     UNSELECTED_STATE_IMAGE                ) // Deprecated property

Change-Id: Ifbbd45c71a44768c50d9bd2735d5aa0c5f4ddb7d

7 years agoMerge "Text - Fix for placement actor." into devel/master
Paul Wisbey [Fri, 16 Dec 2016 15:10:30 +0000 (07:10 -0800)]
Merge "Text - Fix for placement actor." into devel/master

7 years agoMerge "Fix SVACE error in KeyboardFocusManager" into devel/master
David Steele [Fri, 16 Dec 2016 15:08:44 +0000 (07:08 -0800)]
Merge "Fix SVACE error in KeyboardFocusManager" into devel/master

7 years agoText - Fix for placement actor. 52/104852/3
Victor Cebollada [Wed, 14 Dec 2016 07:10:22 +0000 (07:10 +0000)]
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>