platform/core/uifw/dali-adaptor.git
8 years agoChange SetNativeImageSource() to SetSource() 11/60811/1
taeyoon [Wed, 2 Mar 2016 09:21:36 +0000 (18:21 +0900)]
Change SetNativeImageSource() to SetSource()

 - Change API name before ACR for the API.

Change-Id: I5aa6310ff1e3e91def89983f5cf1807085ae847d

8 years agoFix for Emscripten build returning positive result from build script 93/60693/1
Tom Robinson [Tue, 1 Mar 2016 14:57:09 +0000 (14:57 +0000)]
Fix for Emscripten build returning positive result from build script

Change-Id: I09c3dc75836bc2d41d9a71cfe925b959ceb8bfca

8 years agoMerge "Emscripten browser regression tests" into devel/master
Kimmo Hoikka [Tue, 1 Mar 2016 13:48:00 +0000 (05:48 -0800)]
Merge "Emscripten browser regression tests" into devel/master

8 years agoDALi Version 1.1.23 94/60494/1 dali_1.1.23
David Steele [Fri, 26 Feb 2016 13:45:13 +0000 (13:45 +0000)]
DALi Version 1.1.23

Change-Id: If4f3bd291016aa4891ea221466dd66565e640e1d

8 years agoEmscripten browser regression tests 52/60152/5
Lee Morgan [Mon, 8 Dec 2014 17:22:44 +0000 (17:22 +0000)]
Emscripten browser regression tests

Change-Id: I7ef718224d15ba0a1e6d0a9a0fe40b2bc5730196

8 years agoMerge "Emscripten minimal adaptor build" into devel/master
Kimmo Hoikka [Wed, 24 Feb 2016 14:06:28 +0000 (06:06 -0800)]
Merge "Emscripten minimal adaptor build" into devel/master

8 years agoEmscripten minimal adaptor build 87/44187/25
Lee Morgan [Mon, 8 Dec 2014 17:22:44 +0000 (17:22 +0000)]
Emscripten minimal adaptor build

A bare bones adaptor build that isn't compatible with toolkit.

Change-Id: Ice7a5953d34da55d4121e3b4bceb212dbfac36e1

8 years agoDALi Version 1.1.22 17/59917/1 dali_1.1.22
Agnelo Vaz [Fri, 19 Feb 2016 10:52:16 +0000 (10:52 +0000)]
DALi Version 1.1.22

Change-Id: Id0d2f5392b0f5c27ba7efd6d4b63a2a95dee75c5

8 years agoFix for LibGif API change 06/59806/5
Tom Robinson [Wed, 17 Feb 2016 15:56:42 +0000 (07:56 -0800)]
Fix for LibGif API change

Change-Id: I5c93de741bc4046b15f27b6a67c80f39f4f41f04

8 years agoRevert "[3.0] giflib upgrade" 08/59708/1
Adeel Kazmi [Wed, 17 Feb 2016 15:56:42 +0000 (07:56 -0800)]
Revert "[3.0] giflib upgrade"

This reverts commit 420c53a44c1e5699d3c8a4e103982827c18d7305.

Change-Id: If71ab565630a365251d2b4d2deb553116dd89e92

8 years ago[3.0] giflib upgrade 06/59506/2
minho.sun [Tue, 16 Feb 2016 06:50:49 +0000 (15:50 +0900)]
[3.0] giflib upgrade

giflib's apis are changed.

Some functions need additional parameter.

I add parameters.

Change-Id: If2a435db9d2e3cb60b7d483d4b576fdd7f4dbd11

8 years agoDALi Version 1.1.21 10/59310/1 dali_1.1.21
Adeel Kazmi [Fri, 12 Feb 2016 10:32:05 +0000 (10:32 +0000)]
DALi Version 1.1.21

Change-Id: I2aedf7ebace4df8d3936a5b79f375ee655b295ef

8 years agoMerge "Upgraded test harness." into devel/master
Adeel Kazmi [Tue, 9 Feb 2016 14:46:05 +0000 (06:46 -0800)]
Merge "Upgraded test harness." into devel/master

8 years agoUpgraded test harness. 13/59013/3
David Steele [Mon, 8 Feb 2016 11:27:09 +0000 (11:27 +0000)]
Upgraded test harness.

As per dali-core, the test harness has been updated as follows:

A new Serial mode has been added to the test harness that will run
test cases in serial without using Testkit Lite. This executes all
the dali test cases in ~35 seconds, and dumps the test case output
to stdout/stderr. It can be run using "execute.sh -S"

Have changed the Parallel mode to always re-run failing test cases,
causing it to display the failing checks.

All types of execution now write to summary.xml, and display a human
readable version of it before exiting.

execute.sh's exit status has been changed - 0 means no failures,
1 means there was a test case failure.

Ensured TestGLAbstraction initialization covers all member variables.

Change-Id: I01a701387896fee814a56197e1b0d9cf4980aa78
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoDistinguish tizen version via tizen_version_major 35/57935/6
minho.sun [Tue, 26 Jan 2016 05:36:02 +0000 (14:36 +0900)]
Distinguish tizen version via tizen_version_major

Add

[ 0%{?tizen_profile_name:1} ]

to if statement

for check tizen_profile_name existence.

%if "%{tizen_version_major}" == "2" && 0%{?tizen_profile_name:1}

-------------------------------------------------

We distinguish Tizen version depending on whether build.conf has "tizen_profile_name" now. (2.4 has "tizen_profile_name" but 3.0 doesn't)
When build for hawkP 3.0, it makes error because hawkP 3.0 build.conf use profile and tizen_profile_name both.
For this reason, we should distinguish other way.

I think, to distinguish version, using version variable is appropriate.

So, i change

%if 0%{?tizen_profile_name:1}

to

%if "%{tizen_version_major}" == "2"

Change-Id: If392982514a8137a9278fe48dcac7e44807a3dcc

8 years agoDALi Version 1.1.20 46/58946/1 dali_1.1.20
Xiangyin Ma [Fri, 5 Feb 2016 08:53:00 +0000 (08:53 +0000)]
DALi Version 1.1.20

Change-Id: I07c202aa299198955460fc351c77db41490ccd88

8 years agoFix for bidirectional support. 68/58668/3
Victor Cebollada [Mon, 25 Jan 2016 10:52:18 +0000 (10:52 +0000)]
Fix for bidirectional support.

-Use the character's direction to know whether to mirror it.

This patches fix a 'mirroring' issue when there is bidirectional text.
i.e if RTL text is added to the string "(Hello world)", the text controller
replaces (mirror) the parenthesis getting the string ")Hello world( RTL_text"

It needs https://review.tizen.org/gerrit/#/c/58772/

Change-Id: Id7ed384560cbdee9e14f3e1ae2d29f029488f4b9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
8 years agoAdd key grab/ungrab features for Tizen 19/57119/12
Yoonsang Lee [Mon, 27 Apr 2015 10:33:06 +0000 (19:33 +0900)]
Add key grab/ungrab features for Tizen

- Key grab feature is designed for following example scenarios:
  - TV : A user might want to change the volume or channel of the background TV contents while focusing on the foregrund app.
  - Mobile : When a user presses Home key, the homescreen appears regardless of current foreground app.
  - Mobile : Using volume up/down as zoom up/down in camera apps.

- key-grab.h is built and provides public API for the feature only for Tizen (located in adaptor/tizen)

- For X
  - Uses utilX APIs
- For Wayland,
  - Uses ecore APIs (ecore_wl_window_keygrab_set/unset), thus located

Change-Id: Ic969c45a3660be97648492fde4e3ee7e5045b274

8 years agoMerge "NativeImageSource with tbm_surface for tizen 3.0 wayland" into devel/master
taeyoon [Tue, 2 Feb 2016 01:30:13 +0000 (17:30 -0800)]
Merge "NativeImageSource with tbm_surface for tizen 3.0 wayland" into devel/master

8 years agoNativeImageSource with tbm_surface for tizen 3.0 wayland 75/52175/29
taeyoon [Thu, 19 Nov 2015 13:00:09 +0000 (22:00 +0900)]
NativeImageSource with tbm_surface for tizen 3.0 wayland

 - NativeImageSource uses XPixmap or Ecore Pixmap type in x windows system.
 - Tizen 3.0 wayland doesn't support the pixmap type.
 -> Replaces pixmap to tbm_surface.
 -> Adds implementation of NativeImageInterface::Extension for external OES sampler type and Prefix, which tbm_surface needs

Change-Id: I4a0477c09765aae5769f5c4960242a9272a057bd

8 years agoDALi Version 1.1.19 43/58343/1 dali_1.1.19
Tom Robinson [Fri, 29 Jan 2016 11:33:23 +0000 (11:33 +0000)]
DALi Version 1.1.19

Change-Id: Ibe49776a1da04cdbc0fff004870b51e63d55f452

8 years agoMerge "Allow up-scaling of Emojis" into devel/master
Adeel Kazmi [Wed, 27 Jan 2016 10:51:21 +0000 (02:51 -0800)]
Merge "Allow up-scaling of Emojis" into devel/master

8 years agoMerge "Implement Wayland IMFmanager" into devel/master
suhyung Eom [Wed, 27 Jan 2016 09:00:37 +0000 (01:00 -0800)]
Merge "Implement Wayland IMFmanager" into devel/master

8 years agoImplement Wayland IMFmanager 08/57408/2
suhyung Eom [Wed, 20 Jan 2016 01:39:53 +0000 (10:39 +0900)]
Implement Wayland IMFmanager

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

8 years agoAllow up-scaling of Emojis 86/57886/3
Paul Wisbey [Mon, 25 Jan 2016 17:10:33 +0000 (17:10 +0000)]
Allow up-scaling of Emojis

Change-Id: I0a77babdfa910ca32f7a9da576b301e12364f7d6

8 years agoApply the new doxygen tagging rule for @SINCE 45/57545/7
Yoonsang Lee [Fri, 22 Jan 2016 00:19:37 +0000 (09:19 +0900)]
Apply the new doxygen tagging rule for @SINCE

- Change @since 1.1.x to @SINCE_1_1.x to follow the new doxygen tagging rule.
- Add @SINCE_1_0.0 for all symbols not having @since tag.
- Sort the order of doxygen tags as guided by the Tizen guideline.
  ('platform','deprecated','brief','details','since_tizen','privlevel',
   'privilege', 'remarks','param','return','retval','exception','pre','post',
   'note','see')

Change-Id: I99ce2a063f1d28130bc7951de212c47b5af06509

8 years agoDALi Version 1.1.18 75/57775/1 dali_1.1.18
Richard Huang [Fri, 22 Jan 2016 13:28:47 +0000 (13:28 +0000)]
DALi Version 1.1.18

Change-Id: I786c689f9bd177b3e6cd8ebc608ba9acf1b74ca6

8 years agoMerge "Fix a comment about dali-adaptor-uv dependency" into devel/master
Adeel Kazmi [Thu, 21 Jan 2016 14:00:38 +0000 (06:00 -0800)]
Merge "Fix a comment about dali-adaptor-uv dependency" into devel/master

8 years agoFix a comment about dali-adaptor-uv dependency 34/57634/1
Yoonsang Lee [Thu, 21 Jan 2016 07:41:46 +0000 (16:41 +0900)]
Fix a comment about dali-adaptor-uv dependency

Change-Id: Ib57341e45fe103a80968a17719d68ec7b7ac457d

8 years agoReporting dali version on stderr instead of stdout 06/56806/2
David Steele [Tue, 12 Jan 2016 17:34:12 +0000 (17:34 +0000)]
Reporting dali version on stderr instead of stdout

Change-Id: If33e61b5a006a45c10bdbaa383be66f458484cf0

8 years agoRemoved singletons from the type registry 07/57507/2
David Steele [Wed, 20 Jan 2016 13:04:46 +0000 (13:04 +0000)]
Removed singletons from the type registry

The type registry creation order is dependent on library load order, so it's possible for dali toolkit singletons to be created before adaptor singletons.

Have changed all adaptor singletons to register with the singleton
service in the Get() method, and removed unnecessary type registry
entries for them. Thus, they will be created when first required,
rather than when the type registry tries to create them.

Change-Id: I36281d86f5c769a05feb6c074b55375ddea9359b
Signed-off-by: David Steele <david.steele@samsung.com>
8 years agoSeperate dali-adaptor & dali-adaptor-uv packages 35/55835/21
Yoonsang Lee [Mon, 28 Dec 2015 02:46:35 +0000 (11:46 +0900)]
Seperate dali-adaptor & dali-adaptor-uv packages

* Overview
- Now dali-adaptor has one spec file (dali-adaptor.spec) and two pc files
(dali-adaptor.pc, dali-adaptor-uv.pc), which means it generates one rpm file,
two packages (dali-adaptor, dali-adaptor-uv), and two so files (libdali-adaptor.so,
libdali-adaptor-uv.so)
- Change the package name of dali-adaptor (dali.pc) to clearer
ones (dali-adaptor.pc, dali-adaptor-uv.pc)
- If --with-libuv is not specified in build option, dali-adaptor-uv is
not generated (only dali-adaptor is generated)
- Tidy plugins build code up.

* Dependency
- Now dali-demo (and other dali appplication packages) uses dali-adaptor
- Now dali-addon uses dali-adaptor-uv

* Directory Structure:
<Before>
dali-adaptor/build/tizen/
  adaptor/
    dali-adaptor-integration.pc.in
    Makefile.am
  plugins/
    Makefile.am
  dali.pc.in
  configure.ac
  Makefile.am
      ||
     \\//
      \/
<After>
dali-adaptor/build/tizen/
  adaptor/
    dali-adaptor.pc.in
    dali-adaptor-integration.pc.in
    configure.ac
    Makefile.am
  adaptor-uv/
    dali-adaptor-uv.pc.in
    configure.ac
    Makefile.am
  plugins/
    configure.ac
    Makefile.am
  configure.ac
  Makefile.am

* Intention
- Aims to make minimum changes from existing configure.ac & Makefile.am
because seperating dali-adaptor-uv is not ideal solution. It's the
best resonable solution at the moment.
- That's why adaptor/configure.ac & Makefile.am and
adaptor-uv/configure.ac & Makefile.am are almost same to each other and
to original adaptor/Makefile.am and /configure.ac.
- Ideally, only one libdali-adaptor.so can handle all kind of backends,
but it requires intensive refactoring of dali-adaptor and a large amount
of man-month efforts.

* Detalis
- enable_efl is always yes for dali-adaptor. --enable-efl only affects
dali-adaptor-uv
- with_libuv is always no for dali-adaptor. --with-libuv only affects
dali-adaptor-uv
- If --with-libuv is not specified in build option, dali-adaptor-uv is
not generated (only dali-adaptor is generated)
- Move feedback & plugins related code in adaptor/configure.ac &
adaptor-uv/configure.ac to plugins/configure.ac
- In build point of view, plugin building part is functionally same
because it just moves location of each plugin build code snippets.
- dali-adaptor-uv for MOBILE profile uses ecore-wayland even if enable_efl==no
because adaptors/mobile/pixmap-render-surface-factory.cpp uses it.

Change-Id: Ib0cd7a0170a617b9d7499a36df20b8c06f9df140

8 years agoFix crash in wayland 23/57323/3
taeyoon [Wed, 30 Dec 2015 03:13:42 +0000 (12:13 +0900)]
Fix crash in wayland

Change-Id: I2cd7e2990bdb9a1a674ddc3ff3cafa41d12f213f

8 years agoAdd tpkp-curl dependency only in case of Tizen 3.0 82/57082/2
Yoonsang Lee [Fri, 15 Jan 2016 04:56:06 +0000 (13:56 +0900)]
Add tpkp-curl dependency only in case of Tizen 3.0

- tpkp-curl (certificate pinning for libcurl functions) is only available in Tizen 3.0

Change-Id: Ife49a300ac82ab6231d222b9e63949dc79aeabd0

8 years agoDALi Version 1.1.17 69/57169/1 dali_1.1.17
Nick Holland [Fri, 15 Jan 2016 14:40:29 +0000 (14:40 +0000)]
DALi Version 1.1.17

Change-Id: Iebc49850eb2da5147236576af296c4cb13eeb5ec

8 years agoMerge "Added ASTC Native file format loader" into devel/master
Adeel Kazmi [Thu, 14 Jan 2016 17:32:07 +0000 (09:32 -0800)]
Merge "Added ASTC Native file format loader" into devel/master

8 years agoFix keyboard events on DALi Node JS 28/57028/1
Nick Holland [Thu, 14 Jan 2016 12:16:03 +0000 (12:16 +0000)]
Fix keyboard events on DALi Node JS

Change-Id: I76f1ccba8b709c147ccd95cdae76d9bfaab6c236

8 years agoFix DALi JS failing to startup on Tizen 3 27/57027/1
Nick Holland [Thu, 14 Jan 2016 11:31:19 +0000 (11:31 +0000)]
Fix DALi JS failing to startup on Tizen 3

Re-add lib jpeg (removed recently)

symbol lookup error: /usr/lib/libdali-adaptor.so.0: undefined symbol: jpeg_std_error

Change-Id: Icbfe2eb498b71d5f2dbcab250e0d2f861e2c376d

8 years agoAdded ASTC Native file format loader 46/56646/7
Tom Robinson [Mon, 11 Jan 2016 16:49:57 +0000 (16:49 +0000)]
Added ASTC Native file format loader

ASTC can be wrapped in a KTX file, but also has its own native file format.
This patch provides support for the native ASTC file format (.astc).

Textures can be generated using tools (Eg. Mali texture compression tool).

Note: ASTC is "OpenGL friendly" in that the textures are pre-flipped vertically.
In DALi there is currently not a differenciation between different texture compression formats in that the data (once the header is extracted) is given to the hardware as-is.
For this reason textures must currently be pre-flipped vertically (before compression) when using the native .astc file format with DALI.

An example .astc file is included as part of the unit tests.

Change-Id: I574961bc184d68d3ec722be3c682ca2a2b7ed0ce

8 years agoFixed ICO loader for all bpp variants + optimisations 54/55054/9
Tom Robinson [Mon, 21 Dec 2015 12:07:14 +0000 (12:07 +0000)]
Fixed ICO loader for all bpp variants + optimisations

The Icon loader had the following issues:
* 32, 24, 8, 4 bbp variants all had rgb color swap.
* 32 & 24 variants showed corrupt pixels at top of image.
* Alpha could crash 32bpp images.
* Masks incorrect for palettized images.
* Stride width calculated incorrectly for some non-aligned widths.
* Redundant memcopies done.
* Could not handle 1bit masks for images with non multiples of 8 widths.

Change-Id: I03edc70e0af888ba26d5092ab97023f4c8d7b2ae

8 years agoSupport for ASTC compressed textures wrapped in KTX files 77/54477/11
Tom Robinson [Tue, 15 Dec 2015 11:29:44 +0000 (11:29 +0000)]
Support for ASTC compressed textures wrapped in KTX files

ASTC is supported by OpenGL ES 3.1 and above.
To build this patch with ASTC support, a GLES 31 context must be specified.

To build for desktop with configure, the gles version must be set to 31.
Here is an example configure line:
CXXFLAGS="-g -O0 -Wno-unused-local-typedefs" CXX="ccache g++" ./configure --prefix=$DESKTOP_PREFIX --enable-debug=yes --enable-profile=UBUNTU --enable-gles=31

With GBS, add the following to your gbs build line:
--define "%target_gles_version 31"

Change-Id: I376e55094e408c1b9081a3e86b81e7b3d64633bd

8 years agoDALi Version 1.1.16 95/56495/1 dali_1.1.16
Lee Morgan [Fri, 8 Jan 2016 14:32:35 +0000 (14:32 +0000)]
DALi Version 1.1.16

Change-Id: I9b18f3a7126580ee8e91c8b793cb11ca67917b28

8 years agoFix license issues from the protex server 70/56370/1
Seoyeon Kim [Thu, 7 Jan 2016 06:03:08 +0000 (15:03 +0900)]
Fix license issues from the protex server

- Change licence names in .spec to match SPDX identifiers

Change-Id: I510bc30a7c865666061d300528fc93cfd1dda265

8 years agoHandle NULL pointer for UTC on target 53/55153/3
taeyoon [Wed, 30 Dec 2015 08:20:29 +0000 (17:20 +0900)]
Handle NULL pointer for UTC on target

  Check imfManager pointer
  - Running UTCs, crash occurs because of access to NULL pointer, imfManager.

Change-Id: Ic9619618b4191401be895d831638ba038bf60ad1

8 years agoUpdated README for test cases 37/56337/2
David Steele [Wed, 6 Jan 2016 11:25:19 +0000 (11:25 +0000)]
Updated README for test cases

Change-Id: Ide5353c78fabe3bd16613927d82d4481858bd82b

8 years agoRemoved automated test case style folder 31/56231/1
David Steele [Tue, 5 Jan 2016 12:49:26 +0000 (12:49 +0000)]
Removed automated test case style folder

Change-Id: If959a77137ee3e95f619a5ace82b3ec29b22b6cb

8 years agoDisable tpkp-curl dependency temporarily 33/56133/1
Adeel Kazmi [Mon, 4 Jan 2016 17:54:46 +0000 (17:54 +0000)]
Disable tpkp-curl dependency temporarily

Change-Id: I95005cfeefb0624ae4fbe533f7191bb80b9a8974

8 years agoEnsure TPKP related stuff is only built if the package is available 30/56130/2
Adeel Kazmi [Mon, 4 Jan 2016 17:20:22 +0000 (17:20 +0000)]
Ensure TPKP related stuff is only built if the package is available

Change-Id: I90af1793b158e03b6f6c859a904242641c4f8a05

8 years agoMerge "Fix a build error in WEARABLE profile" into devel/master
Yoonsang Lee [Thu, 31 Dec 2015 04:04:19 +0000 (20:04 -0800)]
Merge "Fix a build error in WEARABLE profile" into devel/master

8 years agoMerge "Fix a build error in MOBILE profile from accessibility impl code" into devel...
Yoonsang Lee [Thu, 31 Dec 2015 04:04:07 +0000 (20:04 -0800)]
Merge "Fix a build error in MOBILE profile from accessibility impl code" into devel/master

8 years agoApply certificate pinning 06/55106/3
Yoonsang Lee [Tue, 22 Dec 2015 02:55:42 +0000 (11:55 +0900)]
Apply certificate pinning

- Tizen 3.0 platform requirement
- Needs to be applied to modules using libcurl
- See more: https://www.owasp.org/index.php/Certificate_and_Public_Key_Pinning

Change-Id: I43a5d6f73cc8bb1e420d5e68dfb54a4b0d49d45f

8 years agoFix a build error in WEARABLE profile 47/55747/1
Yoonsang Lee [Tue, 29 Dec 2015 06:20:40 +0000 (15:20 +0900)]
Fix a build error in WEARABLE profile

- Change the name of gles package

Change-Id: Ia880f4979b01053abe1ba2091cf8517ed963d469

8 years agoFix a build error in MOBILE profile from accessibility impl code 46/55746/1
Yoonsang Lee [Tue, 29 Dec 2015 05:34:36 +0000 (14:34 +0900)]
Fix a build error in MOBILE profile from accessibility impl code

- There is no reason to have a different version for X11 vs Wayland, as
Paul mentioned in his patch (https://review.tizen.org/gerrit/#/c/54601/).
- But it's not true CURRENTLY, as EFL on Wayland has not been
implemented of full accessibility features.
- So on Wayland, we need to cut out some of features working on X11
including sending message to the indicator.
- That's what has been done by previous version of accessibility impl
files - accessibility-adaptor-impl-x.cpp & accessibility-adaptor-impl-wl.cpp.
- Currently no need to have ..-x.cpp & -wl.cpp again, because accessibility
features anyway should be implemented, and then we will only need one
impl file.
- Instead in this patch, #ifndef WAYLAND is used to decide whether current build configure is
for wayland or not. I believe this is acceptable for those difference
between X11 & Wayland supporting that would not be long-lasting.

Change-Id: Ia587261dbc343f5199a9fba7427bc30021b22979

9 years agoTizen 3 Wayland adaptor for DALi 61/47361/31
Nick Holland [Wed, 23 Dec 2015 08:24:01 +0000 (08:24 +0000)]
Tizen 3 Wayland adaptor for DALi

Supports:
Wayland Shell,
XDG Shell ( Version 5),
Input: Keyboard /pointer / touch input

Requires --define "with_libuv 1"

Change-Id: I6bc01be2d369d242c06248660561949db47f5433

9 years agoDALi Version 1.1.15 24/55424/1 dali_1.1.15
Adeel Kazmi [Wed, 23 Dec 2015 17:21:37 +0000 (17:21 +0000)]
DALi Version 1.1.15

Change-Id: I8a96164fae77e5eb829a48753acacc043774e43e

9 years agoEnsure Update/Render thread does not go to sleep too early 72/55272/2
Adeel Kazmi [Tue, 22 Dec 2015 15:26:26 +0000 (15:26 +0000)]
Ensure Update/Render thread does not go to sleep too early

Change-Id: I05e1a69a2e2538b1fd308c500b5ac2c0f8e849e2

9 years agoRenamed ecore-wl-types to wl-types 77/55077/5
Nick Holland [Tue, 22 Dec 2015 10:03:51 +0000 (10:03 +0000)]
Renamed ecore-wl-types to wl-types

The wl-types header is not related to ecore
and will be shared between wayland / ecore-wayland adaptors.

Also conditionally excludes wayland client extensions
on Tizen common platform.

Change-Id: Iee31f398a3fdffeca1f05f5031b775e16fa58183

9 years agoMove ECore_Wayland specific code to ecore folder 45/54745/2
Paul Wisbey [Thu, 17 Dec 2015 15:21:06 +0000 (15:21 +0000)]
Move ECore_Wayland specific code to ecore folder

(The ecore-wl suffix is now used more consistently)

Change-Id: Ie7b7876961dc9649e800ef28addcbb0cdfb35321

9 years agoReduced the amount of AccessibilityAdaptor copy 'n' paste 01/54601/19
Paul Wisbey [Wed, 16 Dec 2015 11:00:14 +0000 (11:00 +0000)]
Reduced the amount of AccessibilityAdaptor copy 'n' paste

The 'mobile' version is different since it forwards events to the indicator.
There is currently no reason to have a different version for X11 vs Wayland.

Change-Id: I370b26763867beca7b8064a1b3e9b6a243f8a098

9 years agoMerge "PixmapSurface changes to double buffered pixmap." into devel/master
Adeel Kazmi [Wed, 16 Dec 2015 14:38:48 +0000 (06:38 -0800)]
Merge "PixmapSurface changes to double buffered pixmap." into devel/master

9 years agoPixmapSurface changes to double buffered pixmap. 45/51445/23
daemyung jang [Mon, 9 Nov 2015 07:29:17 +0000 (16:29 +0900)]
PixmapSurface changes to double buffered pixmap.

Change-Id: Ia8efa3ca09c9320ed2a1e9143a85e48418d56b77

9 years agoRemoved a redundant copy of clipboard-impl.h 04/54504/4
Paul Wisbey [Tue, 15 Dec 2015 16:11:28 +0000 (16:11 +0000)]
Removed a redundant copy of clipboard-impl.h

(Removing the ECore_X_Window dependency)

Change-Id: If820c448b891cbea29d585852d4e4a3f0782f7bf

9 years agoRemoved redundant copy of accessibility-adaptor-impl.h 01/54501/1
Paul Wisbey [Tue, 15 Dec 2015 15:29:07 +0000 (15:29 +0000)]
Removed redundant copy of accessibility-adaptor-impl.h

Change-Id: Ibdb386557c6412b79529fc4bca18510729110ef5

9 years agoMoved ECore specific indicator-impl out of common 76/54476/4
Nick Holland [Tue, 15 Dec 2015 11:29:02 +0000 (11:29 +0000)]
Moved ECore specific indicator-impl out of common

Change-Id: If65c380e6a62b92e7e8f51cd2048c88323f96b8d

9 years agoEGL impl merge 93/54293/2
Paul Wisbey [Mon, 14 Dec 2015 16:59:57 +0000 (16:59 +0000)]
EGL impl merge

Change-Id: Ifa72a8e71d8ae5b16386d18f045e7c8fdbeedab3

9 years agoMoved ECore specific virtual-keyboard out of 'common' 89/54289/3
Paul Wisbey [Mon, 14 Dec 2015 15:29:40 +0000 (15:29 +0000)]
Moved ECore specific virtual-keyboard out of 'common'

Change-Id: Ia0789f1c726ced719f845312ffdedeb6afe84d18

9 years agoMerge "Fix to support PNG image which is indexed color type and depth 1" into devel...
Adeel Kazmi [Fri, 11 Dec 2015 15:54:11 +0000 (07:54 -0800)]
Merge "Fix to support PNG image which is indexed color type and depth 1" into devel/master

9 years agoDALi Version 1.1.14 33/54133/1 dali_1.1.14
David Steele [Fri, 11 Dec 2015 14:41:47 +0000 (14:41 +0000)]
DALi Version 1.1.14

Change-Id: Ief003074c92fc08cca3cce9eec0a49c81d026bdd

9 years agoFix to support PNG image which is indexed color type and depth 1 07/54107/1
Jonghyun Ho [Fri, 11 Dec 2015 10:44:00 +0000 (10:44 +0000)]
Fix to support PNG image which is indexed color type and depth 1

Change-Id: I5fb2740631952e13979c05954798d97b37d2bd12
Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
9 years agoRound up/down to closest frame when passing in frame duration 44/53844/1
Adeel Kazmi [Wed, 9 Dec 2015 17:50:36 +0000 (17:50 +0000)]
Round up/down to closest frame when passing in frame duration

Change-Id: I697f7f6a5cfb6fbe90afde712c3356eafb8fe517

9 years agoImplement image fitting modes 58/52858/6
Tom Robinson [Thu, 26 Nov 2015 17:47:23 +0000 (17:47 +0000)]
Implement image fitting modes

Change-Id: Ia56e4d03b86f1db8d37569a7a0488d702f156f53

9 years agoDALi Version 1.1.13 87/53387/1 dali_1.1.13
Xiangyin Ma [Fri, 4 Dec 2015 11:02:48 +0000 (11:02 +0000)]
DALi Version 1.1.13

Change-Id: I95fb0ef0bf4e0f26e9f0973811da0925f72cef34

9 years agoMerge "(ThreadSync) Ensure elapsed time is passed into Core when required" into devel...
Kimmo Hoikka [Wed, 2 Dec 2015 13:56:59 +0000 (05:56 -0800)]
Merge "(ThreadSync) Ensure elapsed time is passed into Core when required" into devel/master

9 years ago(ThreadSync) Ensure elapsed time is passed into Core when required 98/52998/5
Adeel Kazmi [Mon, 30 Nov 2015 16:20:18 +0000 (16:20 +0000)]
(ThreadSync) Ensure elapsed time is passed into Core when required

Problem:  Elapsed time between frames was always constant regardless of time passed to ensure smooth animations.
          This was problematic when we start dropping frames meaning what Core thought was the animated time was
          NOT the elapsed time.
Solution: Calculate actual time between frames and pass in a multiple of the default frame time that's relative
          to the actual time.

Additionally, when we resume from paused, elapsed time is used for the animations, i.e. the could have finished
while we were paused. However, FinishedSignal emission will only happen upon resumption.

Elapsed time is NOT used while if we are waking up from a sleep state or doing an UpdateOnce.

Change-Id: I8b750c79e2f2213734b4925f10b71593124c2f4c

9 years agoFix klocwork problems in Ubuntu build 77/53177/2
Adeel Kazmi [Wed, 2 Dec 2015 10:11:17 +0000 (10:11 +0000)]
Fix klocwork problems in Ubuntu build

Change-Id: Ia79e500c973f2e3a98b22cc952fd5bf71d237689

9 years agoUpdated README & removed files no longer required 84/53084/2
Adeel Kazmi [Tue, 1 Dec 2015 15:32:20 +0000 (15:32 +0000)]
Updated README & removed files no longer required

Change-Id: Ida1a21bbff34ecbba604caf419e64e095254e730

9 years agoFix the type conversion error from unsigned int to int. 67/52967/1
daemyung jang [Mon, 30 Nov 2015 09:23:26 +0000 (18:23 +0900)]
Fix the type conversion error from unsigned int to int.

Change-Id: I20b8dfb895c28ff5ace14c006d5d6318afc49e33

9 years agoDALi Version 1.1.12 85/52885/1 dali_1.1.12
Adeel Kazmi [Fri, 27 Nov 2015 10:17:11 +0000 (10:17 +0000)]
DALi Version 1.1.12

Change-Id: Id3d7feb02ded912652a5c4075d6590fe0ab3674b

9 years agoAdded Combined Update/Render Thread Controller 18/50518/29
Adeel Kazmi [Thu, 29 Oct 2015 10:36:31 +0000 (10:36 +0000)]
Added Combined Update/Render Thread Controller

1. Two Threads:
  a. Main/Event Thread
  b. Update/Render Thread
2. There is NO VSync thread:
  a. We retrieve the time before Update.
  b. Then retrieve the time after Render.
  c. We calculate the difference between these two times and if:
    i.  The difference is less than the default frame time, we sleep.
    ii. If it’s more or the same, then we continue.
3. On the update/render thread, if we discover that we do not need to do any more updates, we use a trigger-event
   to inform the main/event thread. This is then processed as soon as the event thread is able to do so where it
   is easier to make a decision about whether we should stop the update/render thread or not (depending on any
   update requests etc.).
4. The main thread is still blocked while the surface is being replaced.

Change-Id: I54a1ce9ae18fbb4927b29ae8f259034baa9d675f

9 years agoMerge "(AutomatedTests) Ensure warnings are shown as errors" into devel/master
Kimmo Hoikka [Tue, 24 Nov 2015 16:02:57 +0000 (08:02 -0800)]
Merge "(AutomatedTests) Ensure warnings are shown as errors" into devel/master

9 years agoImproved internal file descriptor monitoring API 02/52202/6
Nick Holland [Thu, 19 Nov 2015 17:10:28 +0000 (17:10 +0000)]
Improved internal file descriptor monitoring API

Now supports file descriptor write and error events as well as
the existing read events.

Change-Id: I404f09634e66c4ef598f5951aacc39b706f731eb

9 years ago(AutomatedTests) Ensure warnings are shown as errors 27/52427/3
Adeel Kazmi [Mon, 23 Nov 2015 10:04:51 +0000 (10:04 +0000)]
(AutomatedTests) Ensure warnings are shown as errors

Change-Id: I7a5bc56e8fb61f2020d34c5aa0395a536f90175c

9 years agoDALi Version 1.1.11 79/52279/1 dali_1.1.11
Richard Huang [Fri, 20 Nov 2015 10:58:13 +0000 (10:58 +0000)]
DALi Version 1.1.11

Change-Id: Ie3a517e42f63cb383c2a14aa1783d6c745148cf8

9 years agoFixed build error when network performance monitor enabled 96/52196/1
Nick Holland [Thu, 19 Nov 2015 15:40:05 +0000 (15:40 +0000)]
Fixed build error when network performance monitor enabled

Caused by duplicate entry of source file in this patch

https://review.tizen.org/gerrit/#/c/51920/2/adaptors/base/file.list

Change-Id: Ia66a584ff8f4fe77f7c5e3861c74d804e04aef90

9 years agoAdded API for getting environment variable 63/51563/7
Xiangyin Ma [Wed, 28 Oct 2015 17:29:55 +0000 (17:29 +0000)]
Added API for getting environment variable

Change-Id: I8d3bbc2aab18dc0c47aaca938d25c31e0a635070

9 years agoAdd default value into window member data 02/52002/1
taeyoon [Wed, 18 Nov 2015 05:26:35 +0000 (14:26 +0900)]
Add default value into window member data

Change-Id: Ie699e334816ff680e98ef78145a20e2acbe33b10

9 years agoRe-enabled performance logging 20/51920/2
Ferran Sole [Tue, 17 Nov 2015 08:47:11 +0000 (08:47 +0000)]
Re-enabled performance logging

Change-Id: Iee5485db65b00d46573c9ae7980d896e63d64ed0

9 years agoFix build error from build option typo 04/51904/1
Yoonsang Lee [Tue, 17 Nov 2015 06:56:16 +0000 (15:56 +0900)]
Fix build error from build option typo

with_tizen_sdk_2_2_compatibility -> with_tizen_2_2_compatibility

Change-Id: I918833acb29c51ead329a4345f96249e78f24072

9 years agoCache the GetDefaultPlatformFontDescription results 25/51825/3
Paul Wisbey [Mon, 16 Nov 2015 10:55:59 +0000 (10:55 +0000)]
Cache the GetDefaultPlatformFontDescription results

Change-Id: Ic4500ec0b20aa8099190183ba7cbdf73b409a5a3

9 years agoMerge "Change PixmapImage class to NativeImageSource class" into devel/master
Kimmo Hoikka [Fri, 13 Nov 2015 18:08:45 +0000 (10:08 -0800)]
Merge "Change PixmapImage class to NativeImageSource class" into devel/master

9 years agoAdded environment variable DALI_REFRESH_RATE to control the render refresh rate 37/51537/8
Adeel Kazmi [Mon, 9 Nov 2015 15:33:59 +0000 (15:33 +0000)]
Added environment variable DALI_REFRESH_RATE to control the render refresh rate

Change-Id: I240eb3a21ad84cccc87e3157f2d4f025cea9ab86

9 years agoDALi Version 1.1.10 70/51770/1 dali_1.1.10
Adeel Kazmi [Fri, 13 Nov 2015 16:33:31 +0000 (16:33 +0000)]
DALi Version 1.1.10

Change-Id: I85c3b60630c745096346c3d93095154b589ca94f

9 years agoChange PixmapImage class to NativeImageSource class 30/51730/2
Heeyong Song [Fri, 13 Nov 2015 06:53:55 +0000 (15:53 +0900)]
Change PixmapImage class to NativeImageSource class

Change-Id: I5cb0a1564f724609f4f89aec340196b09511d299

9 years agoRemoved spec file for old targets and updated compatibility options for build 01/51701/2
Tom Robinson [Thu, 12 Nov 2015 10:45:27 +0000 (10:45 +0000)]
Removed spec file for old targets and updated compatibility options for build

Change-Id: I3615d7741aab420d8585c64dcbf5e6851d82a017

9 years agoFix various Klocwork errors 39/51639/1
Adeel Kazmi [Wed, 11 Nov 2015 15:34:15 +0000 (15:34 +0000)]
Fix various Klocwork errors

Change-Id: I99771e74bce1d575f4d3750df3fbc43d4a1649af

9 years agoAdded TimeService following removal of Time getters from PlatformAbstraction 33/51433/5
Adeel Kazmi [Mon, 9 Nov 2015 12:48:33 +0000 (12:48 +0000)]
Added TimeService following removal of Time getters from PlatformAbstraction

Change-Id: Iae8c84519dda65915b18c1574be41e2c191cab98

9 years agoUpdate BitmapLoader to use PixelData 38/50438/12
Xiangyin Ma [Wed, 28 Oct 2015 17:29:55 +0000 (17:29 +0000)]
Update BitmapLoader to use PixelData

Change-Id: I2785810d7eeb5c66c1c2de00429d5027826ef6f3

9 years agoMerge "Set alpha to wayland window by Application::New(..., OPAQUE or Transparent...
Adeel Kazmi [Mon, 9 Nov 2015 09:38:37 +0000 (01:38 -0800)]
Merge "Set alpha to wayland window by Application::New(..., OPAQUE or Transparent)" into devel/master

9 years agoMerge "Fix a bug of not working network logging" into devel/master
Yoonsang Lee [Mon, 9 Nov 2015 07:37:14 +0000 (23:37 -0800)]
Merge "Fix a bug of not working network logging" into devel/master

9 years agoMerge changes Id88b7bc9,I4610f81b into devel/master
Kimmo Hoikka [Fri, 6 Nov 2015 13:59:32 +0000 (05:59 -0800)]
Merge changes Id88b7bc9,I4610f81b into devel/master

* changes:
  Added SingleThreadController
  Changes after replacement of GetMicroSeconds with GetNanoseconds in PlatformAbstraction