platform/core/uifw/dali-core.git
7 years ago Rename library name for cxx11 abi sandbox/denis13/dualABI_cxx_unified
Denis Khalikov [Fri, 26 May 2017 08:55:13 +0000 (11:55 +0300)]
  Rename library name for cxx11 abi

  libnamex_cxx11.so -> libname-cxx11.so

Change-Id: I0e59004688f738f138b32e410afe5a11a6d9dbcc

7 years ago Change linkname. 57/131157/1
Denis Khalikov [Wed, 24 May 2017 11:54:31 +0000 (14:54 +0300)]
 Change linkname.

 libname.so -> libname_cxx11.so.*.*.* libnaame-cxx03.so -> libname.so.*.*.*

Change-Id: I647a20c115d5dc0c00a863a4b20ecfd383972448

7 years agoSupport dual ABI 51/130251/1
Denis Khalikov [Thu, 23 Mar 2017 10:05:21 +0000 (13:05 +0300)]
Support dual ABI

Change-Id: I9f0f491d6485fe3c8c535d732f824a030825b1e5

7 years ago[Tizen] Initialize 'mDepthTreeDirty' member in stage-impl.cpp 76/128376/1
Seoyeon Kim [Tue, 9 May 2017 13:51:40 +0000 (22:51 +0900)]
[Tizen] Initialize 'mDepthTreeDirty' member in stage-impl.cpp

Change-Id: I44fa68e50c273e2b0be4f0f6a7136a5e6bcf88ce
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years ago[Tizen] Use old ABI temporarily 41/128141/1 accepted/tizen/unified/20170510.013041 submit/tizen/20170508.091210
Heeyong Song [Mon, 8 May 2017 02:02:38 +0000 (11:02 +0900)]
[Tizen] Use old ABI temporarily

Change-Id: I6b09e1d0b48ffbffb38d0a1e9586ffda308523b1

7 years agoMerge branch 'devel/master' into tizen 40/128140/1
Heeyong Song [Mon, 8 May 2017 02:01:20 +0000 (11:01 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I70b7f70c7b5f78d2ed9aee79d68345f1d2842eaa

7 years agoRevert "[Tizen] Use old ABI temporarily" 39/128139/1
Heeyong Song [Mon, 8 May 2017 02:00:34 +0000 (11:00 +0900)]
Revert "[Tizen] Use old ABI temporarily"

This reverts commit bb68defedc764666dc8c0fc91205bc994b9200f4.

Change-Id: Ic8cc92d178304fc97ea017abd0e6602e1c2ea27e

7 years agoDALi Version 1.2.38 89/128089/1 dali_1.2.38
Agnelo Vaz [Fri, 5 May 2017 09:51:55 +0000 (10:51 +0100)]
DALi Version 1.2.38

Change-Id: I13320d43a6018759925692ebf46f1f45f3a5252e

7 years agoRemove obsolete template and harmonize UpdateManager code 87/127987/8
Kimmo Hoikka [Wed, 3 May 2017 13:04:41 +0000 (14:04 +0100)]
Remove obsolete template and harmonize UpdateManager code

- typedef containers in same naming convention
- use helpers to iterate containers
- remove obsolete object owner container and related unnecessary templated code
- put method definitions in declaration order
- data members in size order

Change-Id: I650f7b6714390504294d8d31111890fea8bc9059

7 years agoMerge "Remove dead code for render needing an update (no such case at the moment...
David Steele [Wed, 3 May 2017 11:09:43 +0000 (11:09 +0000)]
Merge "Remove dead code for render needing an update (no such case at the moment)" into devel/master

7 years agoMerge "(Actor) Fix mismatch between GetTargetSize method and Size property" into...
David Steele [Tue, 2 May 2017 18:24:53 +0000 (18:24 +0000)]
Merge "(Actor) Fix mismatch between GetTargetSize method and Size property" into devel/master

7 years agoAdded new mechanism to order actor depths 74/126474/7
David Steele [Mon, 10 Apr 2017 18:38:01 +0000 (19:38 +0100)]
Added new mechanism to order actor depths

At the end of each frame, if the actor tree was changed, or the
sibling order of any actor was modified, then the actor tree is
traversed to determine the new depth orders.

Currently, the depth order is written back to each actor's mSortedDepth,
and the nodes are updated with a single message containing the nodes
in depth order. (Could be used in a future patch to reduce renderer sorting)

Created a memory pool for managing the lifetime of the depth nodes that
exists for the lifetime of the application.

Change-Id: Iaed004eb8dc790fcc0f6f1b4822037054193b552

7 years ago[Tizen] Use old ABI temporarily 80/127780/1 accepted/tizen/unified/20170502.165636 submit/tizen/20170502.061218
Seoyeon Kim [Tue, 2 May 2017 01:19:30 +0000 (10:19 +0900)]
[Tizen] Use old ABI temporarily

This reverts commit 57c28cf5b593f0298403fda1a16fa21299a0f018.

Change-Id: If651c3ba8b869741ff1e2b61745c9dd3d5234a91

7 years agoMerge branch 'devel/master' into tizen 79/127779/1
Seoyeon Kim [Tue, 2 May 2017 01:18:35 +0000 (10:18 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Idf8019b23a2d2f00c2f954dbf8f24d59e8a44371

7 years agoRevert "[Tizen] SVACE issue resolved" 78/127778/1
Seoyeon Kim [Tue, 2 May 2017 01:14:06 +0000 (10:14 +0900)]
Revert "[Tizen] SVACE issue resolved"

This reverts commit d97ff372378ed0817dffb64180ad50476302f7d4.

Change-Id: Ib01211f868b77aeffbbb66032ed2a7a81284cc2f

7 years agoRevert "[Tizen] Use old ABI temporarily" 77/127777/1
Seoyeon Kim [Tue, 2 May 2017 01:13:15 +0000 (10:13 +0900)]
Revert "[Tizen] Use old ABI temporarily"

This reverts commit 2f391023bbad716c36981bc12a5b294a14d7ed94.

Change-Id: Ibab92efcff04949f49e5ee3f7b8037aa542795f3

7 years ago(Actor) Fix mismatch between GetTargetSize method and Size property 56/127756/1
Adeel Kazmi [Fri, 28 Apr 2017 16:28:16 +0000 (17:28 +0100)]
(Actor) Fix mismatch between GetTargetSize method and Size property

Change-Id: I797cab204a260164af314e92d6d40277c643d483

7 years agoRemove dead code for render needing an update (no such case at the moment) 51/127751/1
Kimmo Hoikka [Fri, 28 Apr 2017 13:48:43 +0000 (14:48 +0100)]
Remove dead code for render needing an update (no such case at the moment)

Change-Id: I68816d3e629fbb87edb1f6c66ebfd205140947e6

7 years agoDALi Version 1.2.37 12/127712/1 dali_1.2.37
Adeel Kazmi [Fri, 28 Apr 2017 10:32:21 +0000 (11:32 +0100)]
DALi Version 1.2.37

Change-Id: I38702c7138df65247b61195c358ce83701ce4e6f

7 years agoMerge "Synchronous Set/Get behaviour for default properties" into devel/master
Adeel Kazmi [Thu, 27 Apr 2017 12:34:08 +0000 (12:34 +0000)]
Merge "Synchronous Set/Get behaviour for default properties" into devel/master

7 years agoSynchronous Set/Get behaviour for default properties 72/126472/5
Adeel Kazmi [Fri, 21 Apr 2017 16:59:58 +0000 (17:59 +0100)]
Synchronous Set/Get behaviour for default properties

Change-Id: I70cf839cc6d41eb9f18de6be92b1c33ce30cb41b

7 years agoCleanup: Remove handling for default shader as it has been long gone from dali-core 51/127251/3
Kimmo Hoikka [Wed, 26 Apr 2017 17:51:43 +0000 (18:51 +0100)]
Cleanup: Remove handling for default shader as it has been long gone from dali-core

Change-Id: I8fe8fe593b562e45f8c9a2730a81fdafdd224977

7 years agoMerge "Add LICENSE.BSD-3-Clause file" into devel/master
Heeyong Song [Thu, 27 Apr 2017 06:40:27 +0000 (06:40 +0000)]
Merge "Add LICENSE.BSD-3-Clause file" into devel/master

7 years agoMerge "SVACE issue resolved" into devel/master
Heeyong Song [Wed, 26 Apr 2017 01:56:03 +0000 (01:56 +0000)]
Merge "SVACE issue resolved" into devel/master

7 years agoAdd LICENSE.BSD-3-Clause file 83/126983/1
Seoyeon Kim [Tue, 25 Apr 2017 12:15:59 +0000 (21:15 +0900)]
Add LICENSE.BSD-3-Clause file

- BSD 2.0 is the wrong expression of BSD-3-Clause. Fixed it.

Change-Id: I7467c2e57ec016a3af757e59479cd7058a72668f
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years ago[Tizen] Use old ABI temporarily 53/126753/1 accepted/tizen/unified/20170426.061800 submit/tizen/20170425.094140 submit/tizen/20170425.110915
taeyoon0.lee [Tue, 25 Apr 2017 04:52:16 +0000 (13:52 +0900)]
[Tizen] Use old ABI temporarily

This reverts commit 9caca78b73bca277e3038415d5f00a78cfb65454.

Change-Id: I90ee75a9f28e748ab6276489c8a8e0d9a63bfa00

7 years ago[Tizen] SVACE issue resolved 20/126520/2
taeyoon0.lee [Mon, 24 Apr 2017 04:04:11 +0000 (13:04 +0900)]
[Tizen] SVACE issue resolved

This reverts commit fab4c5daf568befb9223a9faa038fd743e1a5695.

Change-Id: I5393593eb14c1bfcdba9847f9d90129b45797471

7 years agoMerge branch 'devel/masteri (1.2.36+)' into tizen 52/126752/1
taeyoon0.lee [Tue, 25 Apr 2017 04:48:04 +0000 (13:48 +0900)]
Merge branch 'devel/masteri (1.2.36+)' into tizen

Change-Id: I1bf7a699452ea0f549f53c3580bc875d8f17775c

7 years agoRevert "[Tizen] SVACE issue resolved" 17/126517/2
taeyoon0.lee [Mon, 24 Apr 2017 03:59:40 +0000 (12:59 +0900)]
Revert "[Tizen] SVACE issue resolved"

This reverts commit 87e30fc39a493ef0347a593f320e62d08983e678.

Change-Id: I837a4940bddd374ed7d76fe51a488897f40537c7

7 years agoRevert "[Tizen] Adding deviceClass to KeyEvent Integ" 16/126516/2
taeyoon0.lee [Mon, 24 Apr 2017 03:58:41 +0000 (12:58 +0900)]
Revert "[Tizen] Adding deviceClass to KeyEvent Integ"

This reverts commit 098bbb63dc30930773b46e14fae77bb89414a57b.

Change-Id: I6193557aad378f8c163bc013868351be1ef0e774

7 years agoRevert "[Tizen] Use old ABI temporarily" 51/126751/1
taeyoon0.lee [Tue, 25 Apr 2017 04:45:43 +0000 (13:45 +0900)]
Revert "[Tizen] Use old ABI temporarily"

This reverts commit d0e101df5be02c4612b1ad30e93c152ad73a6a5c.

Change-Id: I0869d215c3340055373f1fce6b520b539d903091

7 years ago[Tizen] Use old ABI temporarily 04/126504/1 submit/tizen/20170424.093438
Heeyong Song [Mon, 24 Apr 2017 02:16:54 +0000 (11:16 +0900)]
[Tizen] Use old ABI temporarily

Change-Id: Ie1e9dc22124a7c9eb1b60bed12621cca32fd82c3

7 years agoAdded Visibility Change Signal & added macro to print meaningful line numbers in... 59/126459/4
Adeel Kazmi [Fri, 21 Apr 2017 11:44:33 +0000 (12:44 +0100)]
Added Visibility Change Signal & added macro to print meaningful line numbers in test checking functions

Change-Id: I4120f711f78446153cb9552018f4fc1d6e3ddfd3

7 years agoMerge "Adding deviceClass to KeyEvent Integ" into devel/master
Adeel Kazmi [Fri, 21 Apr 2017 13:42:46 +0000 (06:42 -0700)]
Merge "Adding deviceClass to KeyEvent Integ" into devel/master

7 years agoMerge "Synchronous Set/Get Behaviour for custom & animatable properties" into devel...
David Steele [Fri, 21 Apr 2017 12:33:52 +0000 (05:33 -0700)]
Merge "Synchronous Set/Get Behaviour for custom & animatable properties" into devel/master

7 years agoDALi Version 1.2.36 44/126444/1 dali_1.2.36
adam.b [Fri, 21 Apr 2017 11:28:24 +0000 (12:28 +0100)]
DALi Version 1.2.36

Change-Id: Ic9e0e7bfec6cfc850864664480a4a07af5a9d7a9

7 years agoSVACE issue resolved 21/124221/3
Jinho, Lee [Tue, 11 Apr 2017 00:31:49 +0000 (09:31 +0900)]
SVACE issue resolved

Change-Id: I085825149a1e9611824798571322d23ae0e4e890

7 years agoAdding deviceClass to KeyEvent Integ 48/125448/4
Heeyong Song [Mon, 17 Apr 2017 07:36:28 +0000 (16:36 +0900)]
Adding deviceClass to KeyEvent Integ

Change-Id: I8cf899bf17d93d0462571b01d69697bf58a6ff22

7 years agoSynchronous Set/Get Behaviour for custom & animatable properties 66/124466/8
Adeel Kazmi [Tue, 11 Apr 2017 10:12:04 +0000 (11:12 +0100)]
Synchronous Set/Get Behaviour for custom & animatable properties

TODO: Default properties
      Updating the property value when animating

Change-Id: I3bd09cc4c6f89edffcf4f95d8461b9a54e76d840

7 years ago[Tizen] Adding deviceClass to KeyEvent Integ 64/125464/1 accepted/tizen/unified/20170418.072515 submit/tizen/20170417.100748
Heeyong Song [Mon, 17 Apr 2017 07:36:28 +0000 (16:36 +0900)]
[Tizen] Adding deviceClass to KeyEvent Integ

Change-Id: I47ada0bfae0a8788d70886003084e4b416490e58

7 years ago[Tizen] SVACE issue resolved 94/125394/1
Jinho, Lee [Tue, 11 Apr 2017 00:31:49 +0000 (09:31 +0900)]
[Tizen] SVACE issue resolved

Change-Id: I085825149a1e9611824798571322d23ae0e4e890

7 years agoMerge branch 'devel/master' into tizen 93/125393/1
Jinho, Lee [Mon, 17 Apr 2017 02:06:46 +0000 (11:06 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I6355e3366a8ed022467d37d94821e23e2918f848

7 years agoEnsured consistency of scene graph and render items 68/125068/2
David Steele [Thu, 13 Apr 2017 13:21:22 +0000 (14:21 +0100)]
Ensured consistency of scene graph and render items

There was a timing issue where UpdateManager's updateScene could be
false, but the messageQueue flushed messages to the process queue just
prior to ProcessSMessages being called which updated the scene graph.

Have ensured that ProcessMessages returns true if there were updates
to the scene graph, and changed UpdateManager to process the scene
appropriately.

Change-Id: I773f5eae2820ad1d93a78d0f3c784a7592ea320a
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoKey event copy and assignment ops added 76/125076/5
Agnelo Vaz [Thu, 13 Apr 2017 13:35:38 +0000 (14:35 +0100)]
Key event copy and assignment ops added

Change-Id: Ia2057b4fe23e60e2fb44c293fc1680cbe6434c97

7 years agoDALi Version 1.2.35 92/124992/1 dali_1.2.35
Umar [Thu, 13 Apr 2017 09:04:14 +0000 (10:04 +0100)]
DALi Version 1.2.35

Change-Id: I28215672d98cf5a84ea8bb979f5b9a9adaa2c6f7

7 years agoAdding deviceName to KeyEvent Integ 52/124552/4
Agnelo Vaz [Tue, 11 Apr 2017 16:05:43 +0000 (17:05 +0100)]
Adding deviceName to KeyEvent Integ

Change-Id: If40b705d8e5ba0e42808365afecdf5fb2ead43ae

7 years agoMerge "Adding Dali::KeyEvent convertor" into devel/master
Adeel Kazmi [Tue, 11 Apr 2017 10:17:40 +0000 (03:17 -0700)]
Merge "Adding Dali::KeyEvent convertor" into devel/master

7 years agoMerge "Fix disconnection issue of signal" into devel/master
Heeyong Song [Tue, 11 Apr 2017 08:49:43 +0000 (01:49 -0700)]
Merge "Fix disconnection issue of signal" into devel/master

7 years agoAdding Dali::KeyEvent convertor 08/124208/2
Agnelo Vaz [Mon, 10 Apr 2017 14:14:25 +0000 (15:14 +0100)]
Adding Dali::KeyEvent convertor

Change-Id: I369dfdffa8171611b5796a0576eb5633268d2300

7 years agoMerge branch 'devel/master' into tizen 12/124012/1 accepted/tizen/unified/20170410.160046 submit/tizen/20170410.071852
minho.sun [Mon, 10 Apr 2017 02:22:52 +0000 (11:22 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Ia3d847c7ae55fa1dd6f6c88928b609d8affc7293

7 years agoFix disconnection issue of signal 10/123910/2
Heeyong Song [Fri, 7 Apr 2017 10:53:52 +0000 (19:53 +0900)]
Fix disconnection issue of signal

The item is not removed from mSignalConnections until the sinal is emitted.
Changed to remove the item if the function is not called from Emit().

Change-Id: I0288b68dac3f601790aa16e77ab78b22e437ae44

7 years agoAvoid Svace DEREF_OF_NULL warning in constraint-impl.h 27/117827/3
Paul Wisbey [Tue, 7 Mar 2017 13:39:34 +0000 (13:39 +0000)]
Avoid Svace DEREF_OF_NULL warning in constraint-impl.h

(reduces the number of False positives)

Change-Id: I3d1895288865f2e19c44ec279131e7303ce7d915

7 years agoMerge "DALi Version 1.2.34" into devel/master
Adeel Kazmi [Fri, 7 Apr 2017 10:58:04 +0000 (03:58 -0700)]
Merge "DALi Version 1.2.34" into devel/master

7 years agoDALi Version 1.2.34 90/123890/1 dali_1.2.34
Nick Holland [Fri, 7 Apr 2017 10:10:18 +0000 (11:10 +0100)]
DALi Version 1.2.34

Change-Id: Iaf895fa2d2bcd0aebc805707e7e8f9c5103c92b4

7 years agoAdded stage-devel to support KeyEvent propagation 82/122982/8
minho.sun [Tue, 4 Apr 2017 06:25:59 +0000 (15:25 +0900)]
Added stage-devel to support KeyEvent propagation

To support KeyEvent propagation, made stage-devel.

In stage-devel, there is one new signal.

 Signal< bool( const Dali::KeyEvent& ) > KeyEventGeneratedSignal
 : Emitted when KeyEvent is generated

And also, now when Propagation result is false, then emit
Stage::KeyEventSignal for app & KeyboardFocus.

Change-Id: Ibd95ba2e082f4d3ee43ddf51b5ec6c09010164fb
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoEnsure SCREEN_POSITION value takes POSITION_USES_ANCHOR_POINT property into account 49/122849/1
Adeel Kazmi [Mon, 3 Apr 2017 16:13:41 +0000 (17:13 +0100)]
Ensure SCREEN_POSITION value takes POSITION_USES_ANCHOR_POINT property into account

Change-Id: I685f336c8ff28e6af4f88d3f5ac7ded804207c23

7 years agochange dead link to new link 11/122711/1
minho.sun [Mon, 3 Apr 2017 07:49:27 +0000 (16:49 +0900)]
change dead link to new link

Change dead Native API reference link to new link

Change-Id: I3247a29ffeba6cbb128bca7c88400672b077f711
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoDALi Version 1.2.33 35/122435/1 dali_1.2.33
Richard Huang [Fri, 31 Mar 2017 09:57:21 +0000 (10:57 +0100)]
DALi Version 1.2.33

Change-Id: I5629a48c2021e06435d05c5dd8ac4a64c27b71bf

7 years agoMerge branch 'devel/master' into tizen 65/122265/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.185650 accepted/tizen/ivi/20170403.022353 accepted/tizen/mobile/20170403.022032 accepted/tizen/tv/20170403.022215 accepted/tizen/unified/20170403.022434 accepted/tizen/wearable/20170403.022308 submit/tizen/20170331.124519
dongsug.song [Fri, 31 Mar 2017 03:48:16 +0000 (12:48 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: Icba998e55057ac890bac5d47811ecc5db6fc083e
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
7 years agoAdd doxygen comment in WeightObject namespace 74/121474/2
Seoyeon Kim [Tue, 28 Mar 2017 05:55:55 +0000 (14:55 +0900)]
Add doxygen comment in WeightObject namespace

- Add a comment to show WeightObject namespace in the doxygen file.

Change-Id: I5cc51499f76791376924145fafe6a75f6ef23328
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoMerge "Valgrind detected TextureSet leak and invalid access" into devel/master
Paul Wisbey [Wed, 29 Mar 2017 09:15:14 +0000 (02:15 -0700)]
Merge "Valgrind detected TextureSet leak and invalid access" into devel/master

7 years agoMerge changes Ibcc99fc9,I8d1202b2 into devel/master
Adeel Kazmi [Tue, 28 Mar 2017 11:01:30 +0000 (04:01 -0700)]
Merge changes Ibcc99fc9,I8d1202b2 into devel/master

* changes:
  Remove manual memory management from Core implementation.
  Fix potencial bug with owner pointer.

7 years agoValgrind detected TextureSet leak and invalid access 50/117850/4
Nick Holland [Tue, 28 Mar 2017 10:41:04 +0000 (11:41 +0100)]
Valgrind detected TextureSet leak and invalid access

Memory leak:

If a public API TextureSet gets deleted, it sends a
message to update-manager (RemoveTextureSet).
The scene graph side TextureSet gets removed from
update manager, but it never gets deleted.

Invalid memory access:

Currently when a scene graph TextureSet gets deleted
the renderers using that TextureSet are not notified.

So when a Render gets deleted it would call
TextureSet->RemoveObserver( this );

on an already deleted TextureSet.

DALi however doesn't crash at this point,
because the TextureSet is stored in a memory
 pool so the object is still reachable.

Change-Id: Icf0f5a3e55d3ba7537f40db08accad04ae4440f7

7 years agoRemove manual memory management from Core implementation. 40/114040/6
Francisco Santos [Mon, 27 Mar 2017 17:28:21 +0000 (18:28 +0100)]
Remove manual memory management from Core implementation.

Change-Id: Ibcc99fc9235a8c0f35a14440372d519e2fab7b04

7 years agoMerge "Fix to avoid DEREF_AFTER_NULL Svace issue in any.h" into devel/master
Adeel Kazmi [Mon, 27 Mar 2017 14:07:49 +0000 (07:07 -0700)]
Merge "Fix to avoid DEREF_AFTER_NULL Svace issue in any.h" into devel/master

7 years agoFix potencial bug with owner pointer. 11/121311/1
Francisco Santos [Mon, 27 Mar 2017 13:31:18 +0000 (14:31 +0100)]
Fix potencial bug with owner pointer.

Change-Id: I8d1202b29bb71ce779502e4ce19c01a89207b696

7 years agoMerge branch 'devel/master' into tizen 40/120940/1 accepted/tizen/common/20170327.143307 accepted/tizen/ivi/20170328.060422 accepted/tizen/mobile/20170328.060055 accepted/tizen/tv/20170328.060221 accepted/tizen/unified/20170328.060511 accepted/tizen/wearable/20170328.060330 submit/tizen/20170327.130356
Seoyeon Kim [Mon, 27 Mar 2017 01:38:36 +0000 (10:38 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I1f8e678f96f49ddde05e85cdbad1a357ef8ef100

7 years agoMerge "packaging/dali.spec use license macro" into devel/master
Adeel Kazmi [Fri, 24 Mar 2017 18:34:38 +0000 (11:34 -0700)]
Merge "packaging/dali.spec use license macro" into devel/master

7 years ago(Renderer) Fix memory leak when using blend-color 68/120668/6
Adeel Kazmi [Thu, 23 Mar 2017 14:47:38 +0000 (14:47 +0000)]
(Renderer) Fix memory leak when using blend-color

Change-Id: Iaf7a0ae464fa0c354e1111f9313972349a2b9b45

7 years agoDALi Version 1.2.32 69/120869/1 dali_1.2.32
Victor Cebollada [Fri, 24 Mar 2017 11:50:18 +0000 (11:50 +0000)]
DALi Version 1.2.32

Change-Id: I578f410ee51348c1650dbd4b9f92008951f5865b

7 years agopackaging/dali.spec use license macro 61/120761/1
Jinho, Lee [Fri, 24 Mar 2017 04:39:58 +0000 (13:39 +0900)]
packaging/dali.spec use license macro

Change-Id: I2c4666e6c0b4662190f41f4945b5496dacc54b3b

7 years agoEnable parallel build again 96/120196/1 accepted/tizen/common/20170324.123128 accepted/tizen/ivi/20170324.112138 accepted/tizen/mobile/20170324.111726 accepted/tizen/tv/20170324.111942 accepted/tizen/unified/20170324.112234 accepted/tizen/wearable/20170324.112044 submit/tizen/20170324.082849
Heeyong Song [Wed, 22 Mar 2017 05:23:34 +0000 (14:23 +0900)]
Enable parallel build again

Change-Id: Iec8809fb72c5b4c6bf9ca10f528a5e471189a9a4

7 years agoFix to avoid DEREF_AFTER_NULL Svace issue in any.h 25/117825/3
Paul Wisbey [Tue, 7 Mar 2017 13:22:34 +0000 (13:22 +0000)]
Fix to avoid DEREF_AFTER_NULL Svace issue in any.h

Change-Id: I4e87718579bc208fccf498bc3204b109303abb84

7 years agoMerge "Target Values of animation only set on ::Play()" into devel/master
David Steele [Tue, 21 Mar 2017 16:22:57 +0000 (09:22 -0700)]
Merge "Target Values of animation only set on ::Play()" into devel/master

7 years agoEnsure width & height properties can be set individually 20/119920/2
Adeel Kazmi [Mon, 20 Mar 2017 13:38:30 +0000 (13:38 +0000)]
Ensure width & height properties can be set individually

Change-Id: Ie8d7ee230a87f2152c8ad6320839c46bc70a2a5f

7 years agoTarget Values of animation only set on ::Play() 86/119386/5
Agnelo Vaz [Wed, 15 Mar 2017 10:38:35 +0000 (10:38 +0000)]
Target Values of animation only set on ::Play()

Change-Id: I834e151b4f06a08def523cf9d915fcafa79fd806

7 years agoMerge branch 'devel/master (1.2.31)' into tizen 78/119678/1 accepted/tizen/common/20170320.173913 accepted/tizen/ivi/20170320.223046 accepted/tizen/mobile/20170320.222701 accepted/tizen/tv/20170320.222917 accepted/tizen/unified/20170320.223126 accepted/tizen/wearable/20170320.223003 submit/tizen/20170320.091401
Heeyong Song [Mon, 20 Mar 2017 01:51:52 +0000 (10:51 +0900)]
Merge branch 'devel/master (1.2.31)' into tizen

Change-Id: I88bc17e9fcf8bcc520ef0d3196323ba00373746f

7 years agoDALi Version 1.2.31 24/119624/1 dali_1.2.31
Francisco Santos [Fri, 17 Mar 2017 16:14:52 +0000 (16:14 +0000)]
DALi Version 1.2.31

Change-Id: I409fc5db91f42d484d34ceee94e314b263b10b23

7 years agoAdded Getters for Animator Connectors base class 29/119129/4
Agnelo Vaz [Wed, 15 Mar 2017 14:47:51 +0000 (14:47 +0000)]
Added Getters for Animator Connectors base class

Change-Id: I90c6afe299dd565261fe733c4fbe3c53df1988d2

7 years agoMerge branch 'devel/master (1.2.30)' into tizen 84/118584/1 accepted/tizen/common/20170313.162729 accepted/tizen/ivi/20170314.074858 accepted/tizen/mobile/20170314.074519 accepted/tizen/tv/20170314.074720 accepted/tizen/unified/20170314.074946 accepted/tizen/wearable/20170314.074811 submit/tizen/20170313.134641
taeyoon0.lee [Mon, 13 Mar 2017 07:59:15 +0000 (16:59 +0900)]
Merge branch 'devel/master (1.2.30)' into tizen

Change-Id: I19c3213108f8344b7cebff09f9d5a7da8c43373e

7 years agoDALi Version 1.2.30 61/118461/1 dali_1.2.30
David Steele [Fri, 10 Mar 2017 15:00:28 +0000 (15:00 +0000)]
DALi Version 1.2.30

Change-Id: If1de12dcfcde05eabb9cd9647dbdbca115c7ef7b

7 years agoAdded a property to allow an actor to ignore the anchor-point for its position 11/117811/10
Adeel Kazmi [Tue, 7 Mar 2017 12:21:08 +0000 (12:21 +0000)]
Added a property to allow an actor to ignore the anchor-point for its position

In that scenario, TOP_LEFT is assumed.

Change-Id: Id57829b9488b0f3d3546354d51900941ca92affa

7 years agoMerge "Fix memory leaks detected by Valgrind" into devel/master
Kimmo Hoikka [Wed, 8 Mar 2017 16:02:24 +0000 (08:02 -0800)]
Merge "Fix memory leaks detected by Valgrind" into devel/master

7 years agoAdded Get Screen Position functionality to Actor 99/117599/7
Agnelo Vaz [Mon, 6 Mar 2017 19:18:05 +0000 (19:18 +0000)]
Added Get Screen Position functionality to Actor

Screen coordinates TOP_LEFT is 0,0
This property will return the position of the Actor relative to the TOP_LEFT
The returned position is the position of the actor's Anchor point.
Actor Scaling is supported.
Actor Rotation is not supported.

Change-Id: I8519f2b82ab9f9ac8eec197e783a66dcf5ba949c

7 years agoFix memory leaks detected by Valgrind 15/117015/3
Nick Holland [Tue, 7 Mar 2017 16:03:00 +0000 (16:03 +0000)]
Fix memory leaks detected by Valgrind

Fixes the following memory leaks reported by Valgrind
that can occur when messages with raw pointers are sent
from event -> update (and update -> render)
and dali shutdowns before update or render has had chance
to process those messages

- AddSampler ( sampler is lost )
- AddPropertyBuffer ( property buffer is lost )
- SetPropertyBufferFormat( property buffer format is lost )
- AddGeometry ( geometry data  is lost )
- AddTexture ( texture data is lost )

event -> update
- AddCameraMessage ( Camera is lost )
- AddObjectMessage ( Object is lost )
- AddPropertyNotificationMessage ( PropertyNotification is lost )
- AddGestureMessage ( PanGesture is lost )
- AddSamplerMessage( sampler is lost )
- AddPropertyBuffer( property buffer is lost )
- SetPropertyBufferFormat( property buffer format is lost )
- SetPropertyBufferData( property data is lost )
- AddGeometry( geometry is lost)

Also removes PropertyBuffer data and format from being duplicated
on the event side.

Change-Id: Iac6d446bd2b5372cea7ec101e2e289ef3f284b4c

7 years agoMerge "Added checks to Sibling Order Raise/Lower API" into devel/master
Adeel Kazmi [Mon, 6 Mar 2017 14:31:57 +0000 (06:31 -0800)]
Merge "Added checks to Sibling Order Raise/Lower API" into devel/master

7 years agoMerge "Valgrind fix for uninitialized values in Render::Sampler" into devel/master
Adeel Kazmi [Mon, 6 Mar 2017 13:37:12 +0000 (05:37 -0800)]
Merge "Valgrind fix for uninitialized values in Render::Sampler" into devel/master

7 years agoAdded checks to Sibling Order Raise/Lower API 12/117312/4
Agnelo Vaz [Fri, 3 Mar 2017 16:51:12 +0000 (16:51 +0000)]
Added checks to Sibling Order Raise/Lower API

Added checks to ensure target actor and actor raising or lowering belong to the same parent

Also checks that both actors are parented.

Change-Id: I346ead160a72cad12192cf4f6b771cf82bb43930

7 years agoDALi Version 1.2.29 90/117290/1 dali_1.2.29
Agnelo Vaz [Fri, 3 Mar 2017 14:05:22 +0000 (14:05 +0000)]
DALi Version 1.2.29

Change-Id: I4589137dbd69c6c6cbbdece518324b146a58b45a

7 years agoValgrind fix for uninitialized values in Render::Sampler 71/117271/2
Nick Holland [Fri, 3 Mar 2017 12:23:06 +0000 (12:23 +0000)]
Valgrind fix for uninitialized values in Render::Sampler

Valgrind reported conditional jump depends on uninit values in:
  if( mSampler.mBitField != oldSampler.mBitField ) // Texture::ApplySampler

Problem was down to Sampler having a anonymous union:

  union
  {
    unsigned int mBitfield;

    struct
    {
      FilterMode  mMinificationFilter   : 4;    ///< The minify filter
      FilterMode  mMagnificationFilter  : 4;    ///< The magnify filter
      WrapMode    mSWrapMode            : 4;    ///< The horizontal wrap mode
      WrapMode    mTWrapMode            : 4;    ///< The vertical wrap mode
      WrapMode    mRWrapMode            : 4;    ///< The vertical wrap mode
    };
  };

Fundamentally the size of the bit field struct
can be larger than the size of the unsigned int mBitfield, so using mBitfield to compare Samplers
isn't reliable.

The issue valgrind picked up on is, only 20 bits of the
mBitfield are being set in the sampler constructor
  Sampler()
  :mMinificationFilter(FilterMode::DEFAULT),
   mMagnificationFilter(FilterMode::DEFAULT),
   mSWrapMode(WrapMode::DEFAULT),
   mTWrapMode(WrapMode::DEFAULT),
   mRWrapMode(WrapMode::DEFAULT)
  {}

Solution is to remove the union

Change-Id: Id66afc05d21377a1363448ef10654cd1ab4bb365

7 years agoMerge "Fix Message Buffer leak and added DEBUG_ASSERT for leaking nodes" into devel...
Paul Wisbey [Thu, 2 Mar 2017 15:24:07 +0000 (07:24 -0800)]
Merge "Fix Message Buffer leak and added DEBUG_ASSERT for leaking nodes" into devel/master

7 years agoMerge "(Actor) Fix documentation in sibling order methods" into devel/master
Adeel Kazmi [Thu, 2 Mar 2017 15:17:46 +0000 (07:17 -0800)]
Merge "(Actor) Fix documentation in sibling order methods" into devel/master

7 years ago(Actor) Fix documentation in sibling order methods 75/117075/2
Adeel Kazmi [Thu, 2 Mar 2017 13:46:52 +0000 (13:46 +0000)]
(Actor) Fix documentation in sibling order methods

Change-Id: Ib3ffe6e8c8f5e1f249f0a6f5e5439e174f883a4f

7 years agoCheck memory being free'd from a memory pool, belongs to it. 61/115861/3
Nick Holland [Tue, 21 Feb 2017 15:59:47 +0000 (15:59 +0000)]
Check memory being free'd from a memory pool, belongs to it.

Memory leak detected by Valgrind due to Scene Graph Layers
being deleted from a memory pool, even though they were heap
allocated.

Assert currently fires on shutting down dali-demo, and when
using text-editor.example

Leak fixed in
https://review.tizen.org/gerrit/#/c/115115/

Change-Id: I1254b56a3f3be17d662fb0622ebe407874df71cc

7 years agoFix Message Buffer leak and added DEBUG_ASSERT for leaking nodes 87/116687/9
Nick Holland [Mon, 27 Feb 2017 15:11:26 +0000 (15:11 +0000)]
Fix Message Buffer leak and added DEBUG_ASSERT for leaking nodes

Current message queue is not cleared when update is destroyed
This is 1 cause of Node leak.
Second cause of Node leak is InstallRootMessage passes a layer
as a raw pointer. If update doesn't run ( doesn't run in the test
cases), then we leak the layer (node).

Also added DEBUG_ASSERT to check for leaking scene graph Nodes

Change-Id: Ibfbb73ee840cbeaf33104da6769945cf9b3aafbc

7 years agoFix memory leak, scene graph layers are never deleted from memory 15/115115/11
Nick Holland [Thu, 16 Feb 2017 09:21:52 +0000 (09:21 +0000)]
Fix memory leak, scene graph layers are never deleted from memory

Reported by Valgrind.
We have a memory pool for Nodes which works fine
for creating /deleting nodes.

Scene Graph Layers inherit from Nodes, but don't use
the memory pool.

However when either a Node or a Layer is deleted, the overloaded
Node operator delete( void* ptr ) is called, which tries to free
the Node from the memory pool.
Unfortunately for Layer it was never in the memory pool so no
memory is free'd.

Fix includes:
node destructor is protected
layer destructor is private
node delete operator removed

Change-Id: Icfe83f35b4f29d5b774cde392ff976ad299481c5

7 years agoMerge branch 'devel/master' into tizen 16/116516/1 accepted/tizen/common/20170306.164838 accepted/tizen/ivi/20170306.103411 accepted/tizen/mobile/20170306.103008 accepted/tizen/tv/20170306.103225 accepted/tizen/unified/20170309.034124 accepted/tizen/wearable/20170306.103316 submit/tizen/20170227.051047 submit/tizen/20170228.014422 submit/tizen/20170306.033709 submit/tizen_unified/20170308.100410
suhyung Eom [Mon, 27 Feb 2017 01:45:26 +0000 (10:45 +0900)]
Merge branch 'devel/master' into tizen

Change-Id: I144178875966058c0066bb7d84d84d38b350c59e

7 years agoRevert "[Tizen] Prepare for Tizen 4.0 Build" 15/116515/1
suhyung Eom [Mon, 27 Feb 2017 01:40:11 +0000 (10:40 +0900)]
Revert "[Tizen] Prepare for Tizen 4.0 Build"

This reverts commit 9bfeb6931423b3712d01c06beda2569c54f986b8.
Change-Id: I0b41dd87eaeeaa6dcba24ec858d38a918edd57cf

7 years agoAdding Raise Lower API to Actor 22/114722/18
Agnelo Vaz [Tue, 14 Feb 2017 19:44:12 +0000 (19:44 +0000)]
Adding Raise Lower API to Actor

Devel API to allow the raising and lowering of the Actor's sibbling level.

Change-Id: I86c03d43d962441fd295dbf024092d42e78d9c0e

7 years agoMerge "Removed redundant resource loading & rendering code" into devel/master
Adeel Kazmi [Fri, 24 Feb 2017 14:25:24 +0000 (06:25 -0800)]
Merge "Removed redundant resource loading & rendering code" into devel/master