platform/core/uifw/dali-core.git
7 years agoEnable GLES3.0 by default. 10/134110/2
Victor Cebollada [Wed, 14 Jun 2017 15:50:09 +0000 (16:50 +0100)]
Enable GLES3.0 by default.

Change-Id: I358d172244716840e16a57bdd980dc2be349bd69
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
7 years agoFloating point formats added to pixel data. 59/133859/9
Victor Cebollada [Tue, 13 Jun 2017 14:41:39 +0000 (15:41 +0100)]
Floating point formats added to pixel data.

Change-Id: I94038c400620fef5a63fcd74bc2f053c2f9d8254
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
7 years agoMerge "Simplified actor depth traversal algorithms" into devel/master
David Steele [Mon, 12 Jun 2017 15:31:03 +0000 (15:31 +0000)]
Merge "Simplified actor depth traversal algorithms" into devel/master

7 years agoSimplified actor depth traversal algorithms 13/132813/6
David Steele [Wed, 7 Jun 2017 19:37:51 +0000 (20:37 +0100)]
Simplified actor depth traversal algorithms

Instead of having a complex sibling order and hierarchy depth combination,
changed to use actor order in mChildren; Sibling operations now move
the actor pointers in this array.

Automatically regenerates a depth index for every actor in the tree
when any part of the tree changes. (i.e. actor add/remove, raise/lower etc)
at the end of an event processing cycle, and resends a list of nodes
to UpdateManager in a single message.

Change-Id: I1f716132f0e3a13fc21fbebf188287dc893956ee
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoMerge "Adding Progress notification to Animation" into devel/master
Adeel Kazmi [Fri, 9 Jun 2017 17:36:55 +0000 (17:36 +0000)]
Merge "Adding Progress notification to Animation" into devel/master

7 years agoAdding Progress notification to Animation 12/132812/14
Agnelo Vaz [Wed, 7 Jun 2017 18:06:17 +0000 (19:06 +0100)]
Adding Progress notification to Animation

Change-Id: Iff153ceebfc89938e43a6ce50a0e0fe962e6ef81

7 years agoFix for texture Upload() 08/133308/1
Victor Cebollada [Fri, 9 Jun 2017 13:15:02 +0000 (14:15 +0100)]
Fix for texture Upload()

* When a full texture is loaded in a GLES3.x context
  and the pixel data format is RGB and the internal format
  is RGBA, it needs to be converted to RGBA.

Change-Id: Idcd3635d2d1bd378b9ffe96266c4fb8ced5e4087
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
7 years agoMerge "Mipmap level parameter" into devel/master
Paul Wisbey [Fri, 9 Jun 2017 15:05:32 +0000 (15:05 +0000)]
Merge "Mipmap level parameter" into devel/master

7 years agoMerge "Implemented basic CPU image masking" into devel/master
Adeel Kazmi [Fri, 9 Jun 2017 12:54:14 +0000 (12:54 +0000)]
Merge "Implemented basic CPU image masking" into devel/master

7 years agoMipmap level parameter 98/132798/5
greynaga [Wed, 7 Jun 2017 14:24:31 +0000 (15:24 +0100)]
Mipmap level parameter

Implementation of GL_TEXTURE_MAX_LEVEL for GLES3x,
to upload mipmaps without full level.

Change-Id: I8dbd3a30b47da02ec598cf8df1bc6444d361e232

7 years agoDALi Version 1.2.43 84/133284/1 dali_1.2.43
Richard Huang [Fri, 9 Jun 2017 12:23:00 +0000 (13:23 +0100)]
DALi Version 1.2.43

Change-Id: I90bfdcbca3332d6f748769b4d49bfd8145c57e5a

7 years agoImplemented basic CPU image masking 35/132535/7
David Steele [Tue, 6 Jun 2017 09:18:36 +0000 (10:18 +0100)]
Implemented basic CPU image masking

Given a PixelData containing an image and a PixelData to use as a mask,
this will apply the alpha channel of the mask to the image; either
multiplying into the image's alpha channel, or if it doesn't have one,
converting the image to RGBA888 and applying the mask's alpha channel.

If the mask is a different size than the image, then this will sample a
single pixel from a smaller mask, or use bilinear filtering to sample
from a larger mask.

Change-Id: I48b5d332627a4fb85899883868d278bcbc2b9c8e

7 years agoRemove current and future memory leaks with messages by forcing the use of OwnerPoint... 10/132810/2
Kimmo Hoikka [Wed, 7 Jun 2017 17:35:26 +0000 (18:35 +0100)]
Remove current and future memory leaks with messages by forcing the use of OwnerPointer instead of raw pointers

OwnerPointer no longer does the Release hack behind the scene so if you want to transfer ownership
it needs to be OwnerPointer all the way

Change-Id: I3cbf6341142fd25ef3f2a0ebc875c2ef9797e8ad

7 years agoDALi Version 1.2.42 57/132357/1 dali_1.2.42
Nick Holland [Fri, 2 Jun 2017 11:55:31 +0000 (12:55 +0100)]
DALi Version 1.2.42

Change-Id: I3dd139533e160084d6a077de3d2138e167d57de3

7 years agoAdd a helper for read-only properties 06/132006/2
Adeel Kazmi [Wed, 31 May 2017 14:17:26 +0000 (15:17 +0100)]
Add a helper for read-only properties

Change-Id: I927f26296470cd27d4bd5f9168ac15c5dace0335

7 years agoRemove dead logic handling renderer ready and completion 21/131321/3
Kimmo Hoikka [Fri, 26 May 2017 09:37:20 +0000 (10:37 +0100)]
Remove dead logic handling renderer ready and completion

- its not possible to have a renderer without scene graph geometry and shader
- renderers are now ready and complete as soon as they are ready, i.e. have valid geometry and shader

Change-Id: I197c7af70a4c204260558a57b54bd69a2830f410

7 years agoMerge "Removal of unnecessary set and map wrappers" into devel/master
David Steele [Fri, 26 May 2017 17:30:39 +0000 (17:30 +0000)]
Merge "Removal of unnecessary set and map wrappers" into devel/master

7 years agoMerge "(Animation) Ensure PlayFrom updates the cached event-side properties" into...
David Steele [Fri, 26 May 2017 16:25:00 +0000 (16:25 +0000)]
Merge "(Animation) Ensure PlayFrom updates the cached event-side properties" into devel/master

7 years agoMerge "(Animation) Ensure AnimateBetween updates the cached event-side properties...
David Steele [Fri, 26 May 2017 16:24:46 +0000 (16:24 +0000)]
Merge "(Animation) Ensure AnimateBetween updates the cached event-side properties" into devel/master

7 years agoMerge "(Animation) Ensure AnimateBy updates the cached event-side properties" into...
David Steele [Fri, 26 May 2017 16:24:37 +0000 (16:24 +0000)]
Merge "(Animation) Ensure AnimateBy updates the cached event-side properties" into devel/master

7 years agoRemoval of unnecessary set and map wrappers 54/131354/2
Kimmo Hoikka [Fri, 26 May 2017 12:57:14 +0000 (13:57 +0100)]
Removal of unnecessary set and map wrappers

Change-Id: Ib11f9a3dcf8d71ddcba3ffee6d0d6180a89f500d

7 years agoDALi Version 1.2.41 44/131344/1 dali_1.2.41
greynaga [Fri, 26 May 2017 12:30:37 +0000 (13:30 +0100)]
DALi Version 1.2.41

Change-Id: I9df1c5bc3943a712901cee763fde9ca6609ebbda

7 years ago(Animation) Ensure PlayFrom updates the cached event-side properties 99/131099/2
Adeel Kazmi [Thu, 25 May 2017 10:42:06 +0000 (11:42 +0100)]
(Animation) Ensure PlayFrom updates the cached event-side properties

Change-Id: Id5dd3a1e78fabc7c426b81e3909738bbc1887040

7 years ago(Animation) Ensure AnimateBetween updates the cached event-side properties 72/130272/5
Adeel Kazmi [Sat, 20 May 2017 03:08:52 +0000 (04:08 +0100)]
(Animation) Ensure AnimateBetween updates the cached event-side properties

Change-Id: I8d83611eebf8e9bdca7dd9390a207924706eeb97

7 years ago(Animation) Ensure AnimateBy updates the cached event-side properties 23/130223/8
Adeel Kazmi [Fri, 19 May 2017 10:30:29 +0000 (11:30 +0100)]
(Animation) Ensure AnimateBy updates the cached event-side properties

Change-Id: If7c50137a729f6072f39c8768a127326ca56d389

7 years agoMerge "Deprecate all Image classes" into devel/master
David Steele [Thu, 25 May 2017 17:37:13 +0000 (17:37 +0000)]
Merge "Deprecate all Image classes" into devel/master

7 years agoCleanup ResourceLoading and PlatformAbstraction 82/129982/3
Kimmo Hoikka [Thu, 18 May 2017 17:04:28 +0000 (18:04 +0100)]
Cleanup ResourceLoading and PlatformAbstraction

- Removed ResourceType base class
- Clarified PlatformAbstraction methods

Change-Id: I0811af69e8781136cde0d6f62fe49bc820d577c8

7 years agoDeprecate all Image classes 13/131113/4
Adeel Kazmi [Thu, 25 May 2017 10:58:30 +0000 (11:58 +0100)]
Deprecate all Image classes

Change-Id: I399ca4be69c53e991825bbcafc1d3150fc2db235

7 years agoMerge "Update doxygen commnets" into devel/master
Adeel Kazmi [Wed, 24 May 2017 10:29:27 +0000 (10:29 +0000)]
Merge "Update doxygen commnets" into devel/master

7 years agoUpdate doxygen commnets 99/130799/1
Seoyeon Kim [Wed, 24 May 2017 04:44:35 +0000 (13:44 +0900)]
Update doxygen commnets

- Return type of member Dali::Property::Add is not documented.
- Parameter of member Dali::Property::GetKeyAt is not documented.
- Parameter of member Dali::Property::GetKeyValue is not documented.

Change-Id: I99bd91058517b3dfeb0678188d039b972f126df3
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoMove DevelHandle::GetCurrentProperty to public 52/130352/3
minho.sun [Mon, 22 May 2017 06:05:42 +0000 (15:05 +0900)]
Move DevelHandle::GetCurrentProperty to public

Move DevelHandle::GetCurrentProperty to public.

Change-Id: Ib9c262ce1bc26467a68acef64a3ffaac9d9c79e6
Signed-off-by: minho.sun <minho.sun@samsung.com>
7 years agoAvoid Svace MEMORY_LEAK warning in callback.cpp 38/130338/1
Seoyeon Kim [Mon, 22 May 2017 05:04:55 +0000 (14:04 +0900)]
Avoid Svace MEMORY_LEAK warning in callback.cpp

Change-Id: I7be6559a82035993e8607b282b6ecc47ec365264
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoDALi Version 1.2.40 25/130225/1 dali_1.2.40
Francisco Santos [Fri, 19 May 2017 12:43:14 +0000 (13:43 +0100)]
DALi Version 1.2.40

Change-Id: I707fcf7f3e9584a854a3ef9d5a4906f21dedd8a5

7 years ago(Animation) Ensure TimePeriod is taken into account when setting properties on the... 89/129889/3
Adeel Kazmi [Thu, 18 May 2017 08:56:19 +0000 (09:56 +0100)]
(Animation) Ensure TimePeriod is taken into account when setting properties on the event-thread as well

Also added some more test cases to test the AnimateTo event side properties

Change-Id: Ibeeb8f01316034715eb9121dfec61c18e18eeb5d

7 years agoEnable -Wold-style-cast to ensure more consideration is given to types and their... 07/129707/5
Kimmo Hoikka [Wed, 17 May 2017 16:57:34 +0000 (17:57 +0100)]
Enable -Wold-style-cast to ensure more consideration is given to types and their conversions

Change-Id: I8b8e92f09434e52ad62353d54a2846fae96fb3c3

7 years agoMerge "Enable -Woverloaded-virtual to enforce correct C++ behaviour when overriding...
Adeel Kazmi [Thu, 18 May 2017 10:26:39 +0000 (10:26 +0000)]
Merge "Enable -Woverloaded-virtual to enforce correct C++ behaviour when overriding virtuals" into devel/master

7 years agoMerge "Enable -Wnon-virtual-dtor to avoid incorrect C++ code sneaking in" into devel...
Adeel Kazmi [Thu, 18 May 2017 10:25:28 +0000 (10:25 +0000)]
Merge "Enable -Wnon-virtual-dtor to avoid incorrect C++ code sneaking in" into devel/master

7 years agoMerge changes I84e1ce43,I76b93d51 into devel/master
David Steele [Wed, 17 May 2017 16:03:10 +0000 (16:03 +0000)]
Merge changes I84e1ce43,I76b93d51 into devel/master

* changes:
  (Animation) Reorder animation variables according to size & remove unused
  Ensure cached values of properties animated using AnimateTo are updated

7 years agoEnable -Woverloaded-virtual to enforce correct C++ behaviour when overriding virtuals 05/129705/1
Kimmo Hoikka [Wed, 17 May 2017 16:00:36 +0000 (17:00 +0100)]
Enable -Woverloaded-virtual to enforce correct C++ behaviour when overriding virtuals

Change-Id: I36aae7341320f43957639473d7f6d933ff815172

7 years agoEnable -Wnon-virtual-dtor to avoid incorrect C++ code sneaking in 88/129688/3
Kimmo Hoikka [Wed, 17 May 2017 14:03:50 +0000 (15:03 +0100)]
Enable -Wnon-virtual-dtor to avoid incorrect C++ code sneaking in

Change-Id: Ic70f3e0c688ca3f6ea191842ae0f7f4271330b19

7 years agoFix support for NativeImage 90/129690/3
Nick Holland [Wed, 10 May 2017 14:32:17 +0000 (15:32 +0100)]
Fix support for NativeImage

- Fixed program to recognise uniforms with type: GL_SAMPLER_EXTERNAL_OES
- Fixed Framebuffer renderer to use GL_TEXTURE_EXTERNAL_OES

Change-Id: I337ab3f461aa43fd10b311895b2f186b2462e617

7 years ago(Animation) Reorder animation variables according to size & remove unused 68/129668/2
Adeel Kazmi [Wed, 17 May 2017 11:22:09 +0000 (12:22 +0100)]
(Animation) Reorder animation variables according to size & remove unused

Change-Id: I84e1ce4388ec0b31d4077a51fe0f8769dc0464bf

7 years agoEnsure cached values of properties animated using AnimateTo are updated 80/128380/9
Adeel Kazmi [Tue, 9 May 2017 15:13:40 +0000 (16:13 +0100)]
Ensure cached values of properties animated using AnimateTo are updated

Change-Id: I76b93d51c807c6be75ed419e01b0fa5fdb575c08

7 years agoMerge "Remove duplicated Erase iteration code by introducing EraseObject method in...
David Steele [Mon, 15 May 2017 17:02:31 +0000 (17:02 +0000)]
Merge "Remove duplicated Erase iteration code by introducing EraseObject method in OwnerContainer" into devel/master

7 years agoMerge "Initialize 'mDepthTreeDirty' member in stage-impl.cpp" into devel/master
Adeel Kazmi [Fri, 12 May 2017 18:21:35 +0000 (18:21 +0000)]
Merge "Initialize 'mDepthTreeDirty' member in stage-impl.cpp" into devel/master

7 years agoMerge "Ensure animations take TimePeriod into account when running animators" into...
David Steele [Fri, 12 May 2017 17:34:15 +0000 (17:34 +0000)]
Merge "Ensure animations take TimePeriod into account when running animators" into devel/master

7 years agoFix the USE_ASSIGNED_SIZE resize policy to not overwrite the actor's original policy 21/127921/5
Richard Huang [Fri, 28 Apr 2017 16:41:58 +0000 (17:41 +0100)]
Fix the USE_ASSIGNED_SIZE resize policy to not overwrite the actor's original policy

OnRelayout is called during the relayout process, and if the actor has calculated
the size of child actors it will add them to the relayout container with their
desired size and set the ResizePolicy::USE_ASSIGNED_SIZE resize policy on them.
However, by doing this, it overwrites the original resize policy of the actor,
so the size calculation of the actor could be incorrect during any further
relayout process.

This patch fixes the above issue by setting an internal flag instead of overwriting
the original resize policy in order to notify the size negotiation algorithm to
assign the size of child actors as calculated during OnRelayout.

Change-Id: Ib1b2e4cfc2a39cfd653e64291e86508351d15606

7 years agoEnsure animations take TimePeriod into account when running animators 02/128802/3
Adeel Kazmi [Thu, 11 May 2017 11:07:19 +0000 (12:07 +0100)]
Ensure animations take TimePeriod into account when running animators

Issue is that when animating the same property using animators, the final value would be whatever animator came last
rather than the taking the end time of the animator into account.

Now, we order the animators according to the end time.

Change-Id: Ic51513dda942caaf9a9c7b339b5bd41431f5116c

7 years agoMerge "Build dali with C++11" into devel/master
Adeel Kazmi [Fri, 12 May 2017 12:48:48 +0000 (12:48 +0000)]
Merge "Build dali with C++11" into devel/master

7 years agoDALi Version 1.2.39 42/129042/1 dali_1.2.39
David Steele [Fri, 12 May 2017 12:42:05 +0000 (13:42 +0100)]
DALi Version 1.2.39

Change-Id: I23da6f7cae22f0dfe7c0f278bf5e650703368b26

7 years agoRemove duplicated Erase iteration code by introducing EraseObject method in OwnerCont... 76/128076/7
Kimmo Hoikka [Thu, 4 May 2017 16:49:06 +0000 (17:49 +0100)]
Remove duplicated Erase iteration code by introducing EraseObject method in OwnerContainer

Change-Id: I3317c7e1347ee0f07b6648202bf3a640498134a0

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

Change-Id: I44fa68e50c273e2b0be4f0f6a7136a5e6bcf88ce
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
7 years agoRemove Gesture container as there is only ever one pan gesture scene object 63/128363/1
Kimmo Hoikka [Tue, 9 May 2017 12:20:18 +0000 (13:20 +0100)]
Remove Gesture container as there is only ever one pan gesture scene object

- scene pan gesture is created in core construction and never dies so no need to send an add/remove message or have a container to iterate; just ownerpointer is enough

Change-Id: Idd7b8be54cade3206778382410287d8e3a290b7f

7 years agoUpdated Renderer lifecycle test case to test all objects. 16/128116/2
David Steele [Fri, 5 May 2017 14:13:19 +0000 (15:13 +0100)]
Updated Renderer lifecycle test case to test all objects.

Renderer Add/Remove positive test case doesn't actually test the
renderer lifecycle. Added extra scoping and calls to Application.Render
to test the lifecyle of scenegraph and render objects as well.

Change-Id: Ib3f423f527de85d60069482fc635a2b95a6e0637
Signed-off-by: David Steele <david.steele@samsung.com>
7 years agoBuild dali with C++11 01/128101/1
Francisco Santos [Fri, 5 May 2017 10:05:33 +0000 (11:05 +0100)]
Build dali with C++11

Change-Id: I8059c47f591edf89c94c53ffeb38bd5a91564c6c

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(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 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 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 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 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 "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