platform/core/uifw/dali-adaptor.git
10 years agoAdd #include <cstdlib> to find NULL definition 46/24146/1
jonghyun.ho [Mon, 7 Jul 2014 06:39:08 +0000 (15:39 +0900)]
Add #include <cstdlib> to find NULL definition

[cause]       'NULL' was not declared in this scope
              Common issues with GCC-4.6
              GCC-4.6 is again more strict, introduces new warnings,
               and lets packages fail to build, which did succeed to build with earlier GCC versions.
              Reference : https://wiki.ubuntu.com/GCC4.6
[solution]    Add #include <cstdlib> to find NULL definition

Change-Id: I2c2258339e3387cba54692fb7a6f7e0500de46e7
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoDecrease CPU loads for resource thread 45/24145/1
jonghyun.ho [Fri, 4 Jul 2014 13:05:48 +0000 (22:05 +0900)]
Decrease CPU loads for resource thread

[problem]     Gallery is stuck sometimes if it has so many images.
[cause]       Heavy works in resource thread.
[solution]    Decrease CPU loads for resource thread using environment variable.
              Have DALI_RESOURCE_THREAD_IDLE_PRIORITY set, and idle priority for the resources
              will be used.

Change-Id: Iab8b3a5687046831329740429b2ae586dc9ec5cb
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdded metrics gathering for GL calls 44/24144/1
David Steele [Tue, 1 Jul 2014 16:56:08 +0000 (17:56 +0100)]
Added metrics gathering for GL calls

[solution]     Added a gl proxy implementation class that overrides the methods
that we're interested in gathering metrics on, and only use this proxy implementation
if the DALI_GRAPHICS_STATUS_TIME environment variable is set.
Added calls from RenderThread to use the new PreRender and PostRender methods in the
GL abstraction -this enables the proxy implementation to count per-frame data.

Change-Id: I25e09664f6b2f3fd9a6b33f99622d547362e2849
Signed-off-by: David Steele <david.steele@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFix TET cases for adaptor 43/24143/1
Victor Cebollada [Thu, 3 Jul 2014 10:48:45 +0000 (11:48 +0100)]
Fix TET cases for adaptor

Change-Id: Iecf5348cd98dddfb0f594ef524b6be9881b7276e
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdaptor - Handle font style correctly in the font controller. 42/24142/1
Victor Cebollada [Fri, 27 Jun 2014 08:01:03 +0000 (09:01 +0100)]
Adaptor - Handle font style correctly in the font controller.

[problem]      The font controller always retrieves a 'Regular' font style if no font name is given,
               even if a different font style is set (ex: Light) and a valid font for this style exists.
[cause]        If no font name is given, the font controller resets the style to default (which is Regular) as well.
               In general the font controller doesn't handle the font style completely.
[solution]     Fix the handle on font styles inside the font controller.

Change-Id: I879ae3c12d88b32f51ce9c00d667a4948933f2a1
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoFix build break 41/24141/1
Nick Holland [Wed, 2 Jul 2014 08:41:14 +0000 (09:41 +0100)]
Fix build break

Change-Id: I5cd4a4f770c53af630eb0d4d167ce63b207a54df
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoPan Gesture Cleanup - included new integration-api/input-options.h in adaptor-impl.cpp 40/24140/1
Julien Heanley [Wed, 2 Jul 2014 07:44:05 +0000 (08:44 +0100)]
Pan Gesture Cleanup - included new integration-api/input-options.h in adaptor-impl.cpp

Change-Id: I8da059f09f66a5fa71b946ad6c0a592fc7670251
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(PanGesture) Phase in the initial pan-threshold if it's a slow pan 39/24139/1
Adeel Kazmi [Tue, 1 Jul 2014 07:57:39 +0000 (16:57 +0900)]
(PanGesture) Phase in the initial pan-threshold if it's a slow pan

[problem]     When we are doing a slow pan, there is a jump at the start which does not look good
[cause]       To minimise the distance between finger and object, the WHOLE threshold is applied
              when the gesture starts.
[solution]    If it's a slow pan, phase in the pan-threshold.

Change-Id: Ifee6547f66761881d04c3a847b4b3cdb5e3bc4e1
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoPan Gesture Smoothing - Added APIs to change smoothing mode and amount 38/24138/1
Julien Heanley [Thu, 26 Jun 2014 09:04:17 +0000 (10:04 +0100)]
Pan Gesture Smoothing - Added APIs to change smoothing mode and amount

  DALI_PAN_SMOOTHING_MODE - Currently only 0 for off and 1 for a simple smoothing technique
  DALI_PAN_SMOOTHING_AMOUNT - From 0.0f for no smoothing to 1.0f for full smoothing

[problem]      Predicted panning is a little jittery at times
[cause]        Any slight error in touch data could skew the calculations a little
[solution]     Added smoothing phase

Change-Id: Ifc573419a63904fdadbc169fbeefd9dcae27dc0b
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoInitialize SyncMode variable to fix valgrind warning. 37/24137/1
jonghyun.ho [Wed, 2 Jul 2014 04:15:32 +0000 (13:15 +0900)]
Initialize SyncMode variable to fix valgrind warning.

Change-Id: I2019e680161b3ed82668a071cadec6c9e800fef0
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Accessibility) Added action scroll signal 36/24136/1
Sinjae Lee [Wed, 25 Jun 2014 09:29:16 +0000 (18:29 +0900)]
(Accessibility) Added action scroll signal

[problem] Homescreen d-box want to do scroll by 2 fingers drag
[cause] Not implemented
[solution] Added new signal to provide scroll event to accessibility observers

Change-Id: Id1cf797affe58d9d4365f2251d8592cd3e67b190
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(PanGesture) Two motions before pan & ability to set the min distance/events via... 35/24135/1
Adeel Kazmi [Thu, 26 Jun 2014 14:23:05 +0000 (23:23 +0900)]
(PanGesture) Two motions before pan & ability to set the min distance/events via environment variable

[problem]     Need more than one motion event to determine the direction.
[cause]       N/A
[solution]    Wait at least one more pan.
              Add configurability via environment variables:
              Minimum distance before pan: DALI_PAN_MINIMUM_DISTANCE
              Minimum motion events before pan (include down): DALI_PAN_MINIMUM_EVENTS

Change-Id: I3dbe34dc56d6c84518aec3807911054280998ca5
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoRemove valgrind warning of VSyncMonitor 34/24134/1
jonghyun.ho [Tue, 24 Jun 2014 08:15:52 +0000 (17:15 +0900)]
Remove valgrind warning of VSyncMonitor

Change-Id: I4f7e695eeb7c1f28323801056054e76128b2514d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoDisable Late-cancels of in-flight resource loads using boost::thread interrupt() 33/24133/1
Andrew Cox [Tue, 24 Jun 2014 10:24:06 +0000 (11:24 +0100)]
Disable Late-cancels of in-flight resource loads using boost::thread interrupt()

Change-Id: I992d18a8f33582bf9c6f769e9244edc86a2d3153
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoIncrease the pan gesutre threshold. 32/24132/1
daemyung jang [Mon, 23 Jun 2014 08:04:33 +0000 (17:04 +0900)]
Increase the pan gesutre threshold.

[problem] The scroll view is too sensitive.
[cause] The pan threshold is little.
[solution] Increase the pan gesture threshold.

Change-Id: Ia84df6092a1763d0d677ce1a3adc9c0ac10ed51d
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(Indicator) Skip updating when indicator is not showing 31/24131/1
Sinjae Lee [Sat, 21 Jun 2014 12:21:29 +0000 (21:21 +0900)]
(Indicator) Skip updating when indicator is not showing

[problem] Dali render once by indicator updating even indicator is not showing
[cause] Calls RequestUpdateOnce() for every indicator update signal
[solution] Check mIsShowing before updating

Change-Id: Ie03395aba8baf1764189f5d5f8df4ff2624ea199
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoOptimization to reduce Handle size by 50% 30/24130/1
Paul Wisbey [Thu, 19 Jun 2014 19:01:10 +0000 (20:01 +0100)]
Optimization to reduce Handle size by 50%

[problem]      Memory usage is too high, event-thread operations are too heavy.
[cause]        Too much Dali::Handle data copied around.
[solution]     Remove all virtual methods from handles, to avoid needing a C++ vptr

Change-Id: I8322c4ee56341b88c752da3931a7187c46eb9419
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(ChangeableColor) ColorController interface and its dummy implementation 29/24129/1
Xiangyin Ma [Fri, 6 Jun 2014 18:57:15 +0000 (19:57 +0100)]
(ChangeableColor) ColorController interface and its dummy implementation

[problem]      Changeable UI support
[cause]        N/A
[solution]     Support color lookup with code
               when receive themeChange signal, Toolkit::StyleManager will lookup and appy the new color

Change-Id: Ief4a063e6366724a039eeb1487ff25d9ddeef2b0
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoAdded fclose to ResourceThreadImage::LoadResourceSynchronously 28/24128/1
Richard Underhill [Tue, 17 Jun 2014 10:38:48 +0000 (11:38 +0100)]
Added fclose to ResourceThreadImage::LoadResourceSynchronously

Certain files not being closed correctly

Change-Id: I350d45c85d97461843e3e8c33845ae2c6950cb96
Signed-off-by: Richard Underhill<r.underhill@partner.samsung.com>
10 years agoReplace fabs with fabsf in image resource thread and minor cleanup 27/24127/1
Andrew Cox [Tue, 10 Jun 2014 13:18:06 +0000 (14:18 +0100)]
Replace fabs with fabsf in image resource thread and minor cleanup

Change-Id: Ided0913dfced233e224d04a6d3de8e6ea9001a78
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoUpdate Spec file to not be exclusive to ARM 69/22769/5
Adeel Kazmi [Wed, 11 Jun 2014 10:39:01 +0000 (11:39 +0100)]
Update Spec file to not be exclusive to ARM

Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
Change-Id: Ic1e0825ea8130c3637aa2c8254618e2f125044fb

10 years agoFix Prevent Issue - Caused by comparing unsigned int to >= 0, will never be less...
Julien Heanley [Tue, 10 Jun 2014 09:11:01 +0000 (10:11 +0100)]
Fix Prevent Issue - Caused by comparing unsigned int to >= 0, will never be less than 0

Change-Id: Id07f2a09cfa9cf6307f1af8a60cfd28603b098d4
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years agoApply cropping to simulate ScaleToFill required by Gallery
Andrew Cox [Mon, 9 Jun 2014 11:17:51 +0000 (12:17 +0100)]
Apply cropping to simulate ScaleToFill required by Gallery

Change-Id: Iefa2e3cb589f6762c05eb33bc42f83d3369bf64f
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoAllow gestures to be registered before Adaptor::Start()
Paul Wisbey [Mon, 9 Jun 2014 07:26:24 +0000 (16:26 +0900)]
Allow gestures to be registered before Adaptor::Start()

Window::ShowIndicator was called before Adaptor::Start. This caused the first PanGesture to be
created before GestureManager::Start, which meant that no PanGestures could be registered.

Allow PanGestures to be registered, before Adaptor::Start()

10 years agoUpdated test scripts to allow executing smaller numbers of tests
David Steele [Mon, 9 Jun 2014 16:03:54 +0000 (17:03 +0100)]
Updated test scripts to allow executing smaller numbers of tests

[problem]      Executing test cases takes too long
[cause]        Granularity is too high
[solution]     Add option to run tests from a specific test case file

Change-Id: I91250f51edf30cb1a10292877dd758f451ccc448
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoSynchronize first update after wake-up with VSync
Paul Wisbey [Tue, 3 Jun 2014 08:00:59 +0000 (17:00 +0900)]
Synchronize first update after wake-up with VSync

[problem]      Triple buffering in DDK is causing touch gesture lag
[cause]        Multiple renders in the same VSync period
[solution]     Synchronize the first update with VSync; this avoids
rendering twice in the same VSync period, provided that update & render
take less than 16ms (which is usually the case)

10 years agoImage Load Cancelation - Coarse cancelation of in-flight jpeg loads
Andrew Cox [Thu, 5 Jun 2014 20:23:47 +0000 (21:23 +0100)]
Image Load Cancelation - Coarse cancelation of in-flight jpeg loads

[problem] An itemview with many large image items can load lots that
never need to be displayed in a fast-scroll situation, leading to
increased latency to load required images and wasted power doing
unecessary work.
While we already issue cancelations for queued images, if an image load
request has been dequeued to a resource thread, it will proceed
through file IO, decoding, and postprocessing.

[solution]
Add a generic cancelation mechanism for the current load on any resource
thread using boost::thread's interrupt().

Made the image resource thread exception safe on its load and decode
paths so this boost interrupt() can be used in their scopes.

Injected interruption points into the jpeg turbo loader. Key ones:
  * Between allocation of a memory buffer and file IO, and
    running the jpeg codec.
  * Between the codec and the pixel shuffling for orientation compensation.

Change-Id: I4a8c10f8f9cd1e11f04285ac3f72515a47cf604e
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoPan Gestures - Changed pan gesture prediction units to millis
Julien Heanley [Thu, 5 Jun 2014 09:31:56 +0000 (10:31 +0100)]
Pan Gestures - Changed pan gesture prediction units to millis

Change-Id: I213e92bbc09a34253bda0ec0c23740d234d5bb32
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years ago(Indicator) Using pan gesture to find flick down gesture to show hidden indicator
Sinjae Lee [Thu, 5 Jun 2014 10:36:50 +0000 (19:36 +0900)]
(Indicator) Using pan gesture to find flick down gesture to show hidden indicator

[problem] Hard to show hidden indicator
[cause] To avoid conflict scenario between indicator and behind button actor,
        had shrinked the event actor size
[solution] Using pan gesture instead of touch event to find flick down

10 years agoFixed build and coverage scripts for automated testing
David Steele [Thu, 5 Jun 2014 12:22:25 +0000 (13:22 +0100)]
Fixed build and coverage scripts for automated testing

[problem]      Coverage script incorrectly using build/slp
[cause]        Copied from dali core repository.
[solution]     Changed it to use build/tizen

Change-Id: Iac986671ee76555f906f952c21fa668a6b4751e0
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoConversion to Apache 2.0 license
Taeyoon [Tue, 3 Jun 2014 10:01:51 +0000 (19:01 +0900)]
Conversion to Apache 2.0 license

Change-Id: I22352f7663903944c445d3498fffcfb2c65f5549

10 years agoStop including std::vector directly inside dali
Adeel Kazmi [Thu, 29 May 2014 17:58:21 +0000 (18:58 +0100)]
Stop including std::vector directly inside dali

Change-Id: Ia5ec0f6e7dbca29c95cae871857c772fc6697ac6

10 years ago(Accessibility) Just handles the action over for only move event type
Sinjae Lee [Thu, 5 Jun 2014 05:15:02 +0000 (14:15 +0900)]
(Accessibility) Just handles the action over for only move event type

10 years agoReduce the panning threshold.
daemyung jang [Tue, 3 Jun 2014 05:10:28 +0000 (14:10 +0900)]
Reduce the panning threshold.

[problem] The reaction time is late.
[cause] The threshold is big.
[solution] Reduce the panning threshold.

10 years agoPan Gesture Prediction - Added DALI_PAN_GESTURE_PREDICTION_AMOUNT environment variable
Julien Heanley [Fri, 30 May 2014 09:34:27 +0000 (10:34 +0100)]
Pan Gesture Prediction - Added DALI_PAN_GESTURE_PREDICTION_AMOUNT environment variable

Increase how far pan gestures try to predict position 1.0f is 1 frame further ahead. Can use decimals like 0.6 or 1.3.

Change-Id: Ib4cb8dbbd3367374e8c26f586be8b3e387e71e79
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years ago(Accessibility) Updated accessibility features (Part2)
Sinjae Lee [Sat, 24 May 2014 07:21:45 +0000 (16:21 +0900)]
(Accessibility) Updated accessibility features (Part2)

Implemented the AccessibilityActionTouch interface for ELM_ACCESS_ACTION_MOUSE event
Added allowEndFeedback parameter to some action handers that move focus

10 years ago(Indicator) Added SetIndicatorStyle()
Sinjae Lee [Thu, 29 May 2014 15:49:01 +0000 (00:49 +0900)]
(Indicator) Added SetIndicatorStyle()

10 years agoFix for incorrect error code checking in JPEG header loading
Andrew Cox [Thu, 29 May 2014 17:06:11 +0000 (18:06 +0100)]
Fix for incorrect error code checking in JPEG header loading

Synchronous loads to cheeck image sizes on event threads were printing false warnings.

Change-Id: I97eaa37af6a971c161ae27f4a718cdc158725c63
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years ago(Indicator) Fixed to support dali application's indicator mode
Sinjae Lee [Wed, 28 May 2014 10:45:43 +0000 (19:45 +0900)]
(Indicator) Fixed to support dali application's indicator mode

[problem] Dali::Application app can not handle the indicator visibility as well
[cause] Indicator image is loaded after app initializing
[solution] When indicator image is loaded, set visible forcely again

10 years ago(EnvironmentVariables)Added getter functions that take value by reference and return...
Julien Heanley [Wed, 23 Apr 2014 07:55:19 +0000 (08:55 +0100)]
(EnvironmentVariables)Added getter functions that take value by reference and return whether it was even set

[Issue#]   N/A
[Problem]  Had to set default value for prediction mode in tizen specific adaptor
[Cause]
[Solution] Only set pan prediction mode if variable has been set

Change-Id: I802ac63bbcaa76281d3e9da7aca4f477cbb2af1c

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

Change-Id: Iaedada26c519ae89c8bb0b47d7d1ce2ea7a316c5
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoMerge branch 'master' into tizen
Adeel Kazmi [Tue, 10 Jun 2014 15:34:19 +0000 (16:34 +0100)]
Merge branch 'master' into tizen

10 years ago(Build) Fixed target build error for tizen TV profile dali-2014-wk22-release
Richard Huang [Tue, 27 May 2014 14:59:34 +0000 (15:59 +0100)]
(Build) Fixed target build error for tizen TV profile

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

10 years ago(Indicator) Fixed regression that indicator can not get focus in screen reader mode
Sinjae Lee [Fri, 23 May 2014 10:40:05 +0000 (19:40 +0900)]
(Indicator) Fixed regression that indicator can not get focus in screen reader mode

10 years ago(Indicator) Enhanced the accuracy to get out the hidden indicator
Sinjae Lee [Fri, 23 May 2014 06:51:11 +0000 (15:51 +0900)]
(Indicator) Enhanced the accuracy to get out the hidden indicator

10 years agoUpdated object profiler to include overall memory impact
David Steele [Mon, 12 May 2014 14:57:13 +0000 (15:57 +0100)]
Updated object profiler to include overall memory impact

[Problem]      Want more info
[Cause]        N/A

[Solution] For each object, there is a total memory impact. E.g. for
ImageActor, there are many other classes that are also instantiated,
e.g. ImageAttachment, Node, SceneGraph::ImageAttachment,
SceneGraph::ImageRenderer, etc.  This change uses the impact constants from
PlatformAbstraction to display total impact.

Also count the number of image actors using Quads.

Change-Id: Id6720f173f165b1a61f9212089c12e6cbe18145f
[Verification] Build Repo
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(Indicator) Update once when indicator is updated dali-2014-wk21-release
Sinjae Lee [Thu, 22 May 2014 02:35:47 +0000 (11:35 +0900)]
(Indicator) Update once when indicator is updated

[problem] Indicator animation is not updated as well
[cause] In pixmap type indicator, no update request for OP_UPDATE
[solution] Update once per OP_UPDATE request

10 years agoSynchronised mobile spec file
Adeel Kazmi [Wed, 21 May 2014 15:22:48 +0000 (16:22 +0100)]
Synchronised mobile spec file

Change-Id: Ic59e79774617fd5aea1de517f4e18845f09829aa

10 years ago(Tests) Add utilX to tests config
Adeel Kazmi [Wed, 21 May 2014 15:06:07 +0000 (16:06 +0100)]
(Tests) Add utilX to tests config

[problem]      Tests not compiling
[cause]        Including a header file for which a path is not specified
[solution]     Add the utilX pkg-config option

Change-Id: Ibbc101d5ad62f8d44c7c0d0f78d9f5fa1afce500

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

10 years ago(Accessibility) Updated accessibility event for read over action
Sinjae Lee [Fri, 16 May 2014 12:44:34 +0000 (21:44 +0900)]
(Accessibility) Updated accessibility event for read over action

10 years ago(Indicator) Implemented AUTO visible mode for indicator
Sinjae Lee [Fri, 9 May 2014 13:57:43 +0000 (22:57 +0900)]
(Indicator) Implemented AUTO visible mode for indicator

Implemented AUTO visible mode for indicator
For full screen application in portrait, or almost application in landscape mode,
indicator should be hidden in default and it can be shown by user's touch

The conditions for showing in AUTO mode
- indicator want to notify something to user
- user swipe down on top of the screen

The conditions for hiding in AUTO mode
- After n seconds
- When user touch anywhere except for indicator area

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

10 years agoLicense conversion from Flora to Apache 2.0 98/21498/2 submit/tizen/20140526.004901
Taeyoon [Thu, 22 May 2014 04:47:31 +0000 (13:47 +0900)]
License conversion from Flora to Apache 2.0

LICENSE file change.
Boilerplate notice changed to apply the Apache License to dali.
SPEC file change.

Change-Id: If6c4fa7a1cd0becf069dca1ee955a76eddcf01da

10 years agoRevert "[SRUK] Bitmap adaptor patch 1 of 1 - Replace all uses of the Bitmap class... dali-2014-wk20-release
Andrew Cox [Tue, 13 May 2014 17:17:36 +0000 (18:17 +0100)]
Revert "[SRUK] Bitmap adaptor patch 1 of 1 - Replace all uses of the Bitmap class with new simpler type ImageData in core / adaptor communication"

This reverts commit 9a99538f3f37b8ba25d9f96f4d7242382a0d19c5.

!! Note !!  This code is good but we want to delay this series of
Adaptor changes until late May for client stability reasons.

Change-Id: Ic72a1f3ff9fba01ef7d58aa91171fa21696f526f
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoLower debug level of indicator logs
jonghyun.ho [Tue, 13 May 2014 07:14:49 +0000 (16:14 +0900)]
Lower debug level of indicator logs

10 years agoFixed rpmlint errors and removed -DDALI_EVAS_PLUGIN 10/20910/2
David Steele [Tue, 13 May 2014 19:23:23 +0000 (20:23 +0100)]
Fixed rpmlint errors and removed -DDALI_EVAS_PLUGIN

Change-Id: Ib9f461dacc4a27a33eb9d42a5480bc3f165eb744
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoUse common dali-adaptor.spec
Paul Wisbey [Fri, 9 May 2014 15:36:10 +0000 (16:36 +0100)]
Use common dali-adaptor.spec

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoUpdate build system for multiple tizen profiles
Javon Prince [Thu, 8 May 2014 10:20:12 +0000 (11:20 +0100)]
Update build system for multiple tizen profiles

Profiles (select with --enable-profile=MOBILE)

COMMON=Tizen 3.0 common
MOBILE=MCD mobile
TV=VD Tizen TV

Change-Id: I8928628a7a4cb14bc3318445af62171b7014bff0
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoSet stereo view mode to Ecore_X_Atom
Javon Prince [Fri, 11 Apr 2014 12:58:00 +0000 (13:58 +0100)]
Set stereo view mode to Ecore_X_Atom

Write view mode to Ecore_X_Atom "_E_COMP_3D_APP_WIN" if it exists.

Change-Id: Id30bff408da3d73646f6ac27e9a4871106105936
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoEGL: Ignore EGL_ALPHA_SIZE = 8 in eglChooseConfig on desktop environment
Javon Prince [Wed, 30 Apr 2014 11:06:42 +0000 (12:06 +0100)]
EGL: Ignore EGL_ALPHA_SIZE = 8 in eglChooseConfig on desktop environment

Change-Id: I62e4fb28ac285796f25492036b18ad843b29e8b9
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years ago(PinchDetector) Added ability to set minimum distance before pinch detected
Julien Heanley [Thu, 8 May 2014 15:38:43 +0000 (16:38 +0100)]
(PinchDetector) Added ability to set minimum distance before pinch detected

[Issue#]   N/A
[Problem]  Could not change pinch sensitivity
[Cause]    No API for it
[Solution] Added API for it...

Change-Id: I01ddfd99d8f3a6ee37b98a2b755835f79b0b6c51
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
10 years agoBitmap adaptor patch 1 of 1 - Replace all uses of the Bitmap class with new simpler... 79/18179/3
Andrew Cox [Mon, 17 Mar 2014 16:54:14 +0000 (16:54 +0000)]
Bitmap adaptor patch 1 of 1 - Replace all uses of the Bitmap class with new simpler type ImageData in core / adaptor communication

[Issue#] N/A

[Problem]
Bitmap is too complex for the job of shipping pixels across the Core /
Adaptor boundary.

[Cause]
Legacy implementation.

[Solution]
Replace uses of Bitmap with uses of the new class ImageData.

[Notes]

This is mutually dependent with a core patch:
  http://slp-info.sec.samsung.net/gerrit/#/c/450629/

Toolkit TCT tests are fixed by this patch:
   http://slp-info.sec.samsung.net/gerrit/#/c/477139/

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

10 years agoAdded registered object profiler
David Steele [Thu, 1 May 2014 17:14:31 +0000 (18:14 +0100)]
Added registered object profiler

Added an object profiler that tracks the number of instances of
registered types.  It outputs to dlog every N seconds, where N comes
from the value of the PROFILE_DALI_OBJECTS environment variable. If
the variable is unset, then no profiling will occur.

Note, the profiler relies on Dali::Stage being instantiated in order
to access the ObjectRegistry. This means it doesn't count the objects
that Stage creates (the first camera and the root layer).

Change-Id: I2af264cc4889e508dfab06a7f1dedf63844c0cc2
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoUpload package dali-adaptor_0.9.15.
jonghyun.ho [Wed, 7 May 2014 05:13:53 +0000 (14:13 +0900)]
Upload package dali-adaptor_0.9.15.

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

10 years agoClarified destruction sequence and cleanup unnecessary code
Kimmo Hoikka [Tue, 6 May 2014 09:34:41 +0000 (10:34 +0100)]
Clarified destruction sequence and cleanup unnecessary code

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

10 years agoAdd 'ExclusiveArch: armv7l' limit build to arm architecture
Javon Prince [Fri, 2 May 2014 12:28:29 +0000 (13:28 +0100)]
Add 'ExclusiveArch: armv7l' limit build to arm architecture

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

[Issue#] N/A

[Problem]

[Cause]

[Solution]

Change-Id: I9985e1b146331058704540bb4d5044d8724af8c6
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
10 years agoUpload package dali-adaptor_0.9.14. 00/20300/1
jonghyun.ho [Mon, 28 Apr 2014 23:50:10 +0000 (08:50 +0900)]
Upload package dali-adaptor_0.9.14.

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

Change-Id: I428bc4c3478b6e27968a08035e0132b7f4ce66d3
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(Indicator) Use pixmap instead of shared memory for indicator content 99/20299/1
Sinjae Lee [Wed, 16 Apr 2014 10:59:05 +0000 (19:59 +0900)]
(Indicator) Use pixmap instead of shared memory for indicator content

[Issue#]  N/A
[Problem] Dali needs to support pixmap indicator
[Cause]   Ecore is enabling DRI2 backend as default
[Solution] Create pixmap in adaptor

Change-Id: I5e717acd5ef24ea9cbe501117be5e98bccf44da8
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(prevnet) Fix prevent issues 98/20298/1
Kingsley Stephens [Tue, 22 Apr 2014 15:12:24 +0000 (16:12 +0100)]
(prevnet) Fix prevent issues

[Issue#]  N/A

[Problem] Prevent identified an issue

[Cause]   N/A

[Solution] Fix the issue to satisfy prevent

Change-Id: If7f195abad3254e7be50fa34a36d2875898a546f
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoUpload package dali-adaptor_0.9.13. 97/20297/1
jonghyun.ho [Thu, 24 Apr 2014 05:49:45 +0000 (14:49 +0900)]
Upload package dali-adaptor_0.9.13.

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

Change-Id: I0e29e57236d8e3f8c9e3b852c49519650bba143c
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(Indicator) Supported indicator animation to show/hide 65/19965/1
Sinjae Lee [Tue, 22 Apr 2014 10:42:26 +0000 (19:42 +0900)]
(Indicator) Supported indicator animation to show/hide

[Problem] Need to show animation of indicator according to new UX
[Cause] Non-implementation
[Solution] Implemented sliding animation for indicator actor

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

10 years agoUpload package dali-adaptor_0.9.12. 64/19964/1
jonghyun.ho [Thu, 17 Apr 2014 01:59:07 +0000 (10:59 +0900)]
Upload package dali-adaptor_0.9.12.

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

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

10 years ago(Indicator) Ensure indicator is updated if it is shown after being hidden. 63/19963/1
Adeel Kazmi [Thu, 17 Apr 2014 15:33:13 +0000 (16:33 +0100)]
(Indicator) Ensure indicator is updated if it is shown after being hidden.

[Problem]  We get an indicator update when the indicator visibility is set to false so we ignore
           it. When it is then set back to true, we have the old data showing.
[Cause]    We do not update the data when we show the indicator again.
[Solution] Update the data when we show the indicator again.

Change-Id: Idea3dac96a305643a047466f334aacac5203b138
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years ago(PanGesture)Added environment variable to change pan gesture prediction mode 62/19962/1
Julien Heanley [Thu, 10 Apr 2014 12:51:34 +0000 (13:51 +0100)]
(PanGesture)Added environment variable to change pan gesture prediction mode

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

Change-Id: I8bc69e6efe6564cb3b4dd00b84a1c5b9892f1d14
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoTurboJpeg loader - Avoid exceeding the maximum texture size 61/19961/1
Paul Wisbey [Thu, 17 Apr 2014 13:21:22 +0000 (14:21 +0100)]
TurboJpeg loader - Avoid exceeding the maximum texture size

[Problem]  Panoramic image does not display in gallery
[Cause]    Exceeded max texture size
[Solution] Downscale to 1/8th of original size

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

10 years agoAllow applications to select a transparent top-level window. 60/19960/1
Javon Prince [Thu, 17 Apr 2014 09:25:00 +0000 (10:25 +0100)]
Allow applications to select a transparent top-level window.

[Issue#] (N/A)

[Problem] Dali::Application would only create opaque top-level windows

[Cause] Hidden APIs

[Solution] Extend Application class to select the type of window required

Usage:

int main(int argc, char **argv)
{
  Application myApplication( Application::New( &argc, &argv, "My Application", Application::TRANSPARENT ) );
  ...
}

Change-Id: I15c646c6ee2a2ca09ae2404ed3336cde01368642
Signed-off-by: Javon Prince <javon.prince@samsung.com>
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoFixes to klocwork warnings dali-2014-wk16-release
Francisco Santos [Mon, 14 Apr 2014 13:32:03 +0000 (14:32 +0100)]
Fixes to klocwork warnings

Change-Id: I64da217beec8f9bad5f76f9466cae6d8103ad089
Signed-off-by: Francisco Santos <f1.santos@samsung.com>
10 years agoAdded trigger event facility to adaptor
Nick Holland [Mon, 14 Apr 2014 09:01:15 +0000 (10:01 +0100)]
Added trigger event facility to adaptor

[Issue] No ability to create trigger events from the adaptor base files

[Problem] No support

[Cause] No code

[Solution] Add support.

Change-Id: I4439fddb5a56c09f1d403e55102bf0a625439e59

10 years agoAdded new test harness
David Steele [Thu, 10 Apr 2014 17:23:59 +0000 (18:23 +0100)]
Added new test harness

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

Change-Id: I6dfd162b140fc89a6ef19fca0c4b85eca802bdba
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years agoUpload package dali-adaptor_0.9.11.
jonghyun.ho [Fri, 11 Apr 2014 00:59:40 +0000 (09:59 +0900)]
Upload package dali-adaptor_0.9.11.

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

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

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

10 years agoChange dependency from haptic to deviced.
jonghyun.ho [Thu, 20 Mar 2014 12:03:25 +0000 (21:03 +0900)]
Change dependency from haptic to deviced.

[Issue#]   N/A
[Problem]  haptic is deprecated library.
[Cause]    Need to change dependency.
[Solution] Change dependency from haptic to deviced.

10 years agoAdd extended errorhandling in jpegturbo loader to fix a crash. 56/19456/1
xinyan.mei [Wed, 9 Apr 2014 06:51:56 +0000 (15:51 +0900)]
Add extended errorhandling in jpegturbo loader to fix a crash.

[Issue#] N/A
[Problem] crash at jpeg_read_header
[Cause] error handle for jpeg decompress
[Solution]
Added extended error handle to destroy jpeg_decompress_struct
and use setjmp/longjmp to jump out of the JPEG decoder.

Change-Id: If9455c43d234c8b82e73161fcd0177c98f2102e5
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoChanges to support stereoscopic 3D 55/19455/1
Javon Prince [Wed, 19 Mar 2014 16:13:26 +0000 (16:13 +0000)]
Changes to support stereoscopic 3D

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

Change-Id: I23d627756284ee19a2778528616919c72be923c2
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoEmoticons - Read file names from directory. Retrieves bitmaps from the font face. 54/19454/1
Victor Cebollada [Tue, 1 Apr 2014 08:38:16 +0000 (09:38 +0100)]
Emoticons - Read file names from directory. Retrieves bitmaps from the font face.

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

Change-Id: If4c2b99b3132c6c85087cf161dfa3cba5236bc0a
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
10 years agoRemoved duplicate includes 53/19453/1
Javon Prince [Thu, 3 Apr 2014 08:05:19 +0000 (09:05 +0100)]
Removed duplicate includes

evas-plugin and native buffer plugin headers included outside
their #if conditional blocks

[Issue#] (N/A)

[Problem]

[Cause]

[Solution]

Change-Id: I88fe3d2bcc44febea08ccb869265e754f0830041
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoAdded support for loading image files synchronously 52/19452/1
David Steele [Thu, 3 Apr 2014 17:42:01 +0000 (18:42 +0100)]
Added support for loading image files synchronously

[Issue#]       N/A
[Problem]      Need to load and parse 9 patch images synchronously.
[Cause]        N/A
[Solution]     Added new integration API to load directly.

[Verification] Build Repo

Change-Id: I17c7457ea49591f9b2e681f2bd612a2a75088c1e
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(PanGesture) Logging enabled via environment variable 51/19451/1
Paul Wisbey [Fri, 4 Apr 2014 15:12:23 +0000 (16:12 +0100)]
(PanGesture) Logging enabled via environment variable

[Issue#]   N/A
[Problem]  Touch smootness etc. is hard to profile
[Cause]    No logging features available
[Solution] Added new environment variable, usage:

  DALI_LOG_PAN_GESTURE=1 your-app.exe

Change-Id: I2cc8be26899a795c7dec93d71a062dacf498aae3
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
10 years agoBoost::any replacement in Dali Adaptor 57/18257/3
Richard Underhill [Wed, 19 Mar 2014 12:46:48 +0000 (12:46 +0000)]
Boost::any replacement in Dali Adaptor

[Issue#] N/A

[Problem]

[Cause]

[Solution]

Change-Id: Icb1fad43cea08bed1af43168adecc23167c1d508
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
Signed-off-by: Andrew Cox <andrew.cox@partner.samsung.com>
10 years agoMove pixmap synchronization from RenderThread to PixmapRenderSurface. 34/17934/8
Javon Prince [Wed, 12 Mar 2014 13:47:49 +0000 (13:47 +0000)]
Move pixmap synchronization from RenderThread to PixmapRenderSurface.

Change-Id: I36637b0e289cc74d61d11da050861da99413935a
Signed-off-by: Javon Prince <javon.prince@samsung.com>
10 years agoEnsure XEvent queue for the render display is flushed 00/18100/4
Adeel Kazmi [Mon, 17 Mar 2014 11:16:46 +0000 (11:16 +0000)]
Ensure XEvent queue for the render display is flushed

[Problem]  The main display event queue (used by the render-thread) has events which keep building up
[Cause]    We do not handle these events.
[Solution] Check events when we render and flush the queue if there are any events.

Change-Id: I53ebdfdb8ac5acbf0dff0698becf082af3d4196a
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoMerge "Updated CAPI documentation style."
Paul Wisbey [Mon, 17 Mar 2014 17:46:40 +0000 (10:46 -0700)]
Merge "Updated CAPI documentation style."

10 years agoMisc cleanup 64/18064/1
Andrew Cox [Fri, 14 Mar 2014 17:18:31 +0000 (17:18 +0000)]
Misc cleanup

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

10 years agoUpdated CAPI documentation style. 57/18057/2
David Steele [Fri, 14 Mar 2014 11:19:58 +0000 (11:19 +0000)]
Updated CAPI documentation style.

Change-Id: I63a89ad3d2dab64ed1004ddd8b7a37f62f581af3
Signed-off-by: David Steele <david.steele@partner.samsung.com>
10 years ago(CommandLineOptions) Ensure DALi takes out any handled options. 74/17774/8
Adeel Kazmi [Mon, 10 Mar 2014 15:07:55 +0000 (15:07 +0000)]
(CommandLineOptions) Ensure DALi takes out any handled options.

[Problem]  DALi leaves options that it has handled in the command line arguments.
[Cause]    N/A
[Solution] Take the options that are handled by DALi out.

Change-Id: I8766b67bf9a578da9dc6fc6678fc13bdf25a975c
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
10 years agoRemoved legacy resource tracking / logging 61/17761/1
Richard Underhill [Mon, 10 Mar 2014 10:48:26 +0000 (10:48 +0000)]
Removed legacy resource tracking / logging

[Issue#] N/A

[Problem]

[Cause]

[Solution]

Change-Id: If08b6c30617f7fc62dce1ba76436eaa54b5c79ee
Signed-off-by: Richard Underhill <r.underhill@partner.samsung.com>
10 years ago(VirtualKeyboard) Adding Guard around ImfManager::Get() so if fails functions are... 04/17704/1
Agnelo Vaz [Thu, 6 Mar 2014 16:26:04 +0000 (16:26 +0000)]
(VirtualKeyboard) Adding Guard around ImfManager::Get() so if fails functions are not called.

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

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