platform/upstream/efl.git
8 years agoEvas.Image: Move stride.get away from Evas.Image
Jean-Philippe Andre [Mon, 21 Mar 2016 06:38:19 +0000 (15:38 +0900)]
Evas.Image: Move stride.get away from Evas.Image

stride does not apply to all image objects, eg. proxies or 3d scenes.
it will be implemented by the classes that support stride and pixel
data access

8 years agoEmile: Move colorspaces to Efl.Gfx
Jean-Philippe Andre [Fri, 18 Mar 2016 09:02:19 +0000 (18:02 +0900)]
Emile: Move colorspaces to Efl.Gfx

A small hack to the toolchain allows us to generate enums with eolian
for use by Eet and Emile (internal or otherwise non-eo libraries).

Thanks to how BUILT_SOURCES works, the eo.h files required by Emile
will be generated before they are used.

This adds a partial dependency on eo for eet and emile:
 - package dependency
 - include dependency

There is no library link dependency.

8 years agoEvas.Image: Move data_set/get to legacy file
Jean-Philippe Andre [Fri, 18 Mar 2016 05:50:54 +0000 (14:50 +0900)]
Evas.Image: Move data_set/get to legacy file

Those functions will be replaced by map/unmap

8 years agoEvas 3d: Hide warning with clang
Jean-Philippe Andre [Fri, 25 Mar 2016 08:51:17 +0000 (17:51 +0900)]
Evas 3d: Hide warning with clang

An otherwise good looking macro triggers a warning with clang,
because of self comparison of constants (always true or always
false). Let's just silence the warning in this specific spot
with a pragma.

8 years agoedje_cc: support hexadecimal color code
Jee-Yong Um [Mon, 28 Mar 2016 06:36:41 +0000 (15:36 +0900)]
edje_cc: support hexadecimal color code

Summary:
Support hexadecimal color code in EDC.

Four types of color code are acceptable.
All values below mean 'Red'. (255 0 0 255)
   color: "#F00";
   color: "#F00F";
   color: "#FF0000";
   color: "#FF0000FF";

Color code tables are usually provided with hexadecimal numbers.
Supporting hexadecimal color code will allow developers to skip
manual conversion hex to decimal.

Test Plan: Test case will provided with seperated commit.

Reviewers: cedric, jpeg, raster

Reviewed By: raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D3831

8 years agoefl elm build: fix pc file requirements to be correctly named
Carsten Haitzler (Rasterman) [Sat, 26 Mar 2016 02:19:45 +0000 (11:19 +0900)]
efl elm build: fix pc file requirements to be correctly named

this fixes ecore_drm, ecore_fb and ecore_wl2 requirements to be right
have a - instead of an _.

8 years agoFix installation of elementary objects
Daniel Zaoui [Mon, 28 Mar 2016 05:31:23 +0000 (08:31 +0300)]
Fix installation of elementary objects

The path was wrong.

8 years agoelementary: fix installation of cmake config files
Yakov Goldberg [Sun, 27 Mar 2016 12:01:21 +0000 (15:01 +0300)]
elementary: fix installation of cmake config files

8 years agoTest/Clock: fit Exactness requirements
Daniel Zaoui [Sun, 27 Mar 2016 10:25:09 +0000 (13:25 +0300)]
Test/Clock: fit Exactness requirements

The clock is directly set in edit mode, so the clock can't progress and
confuse Exactness scenario.

8 years agoClock: adapt test to fit Exactness requirements
Daniel Zaoui [Sun, 27 Mar 2016 08:40:44 +0000 (11:40 +0300)]
Clock: adapt test to fit Exactness requirements

Exactness doesn't support mouse clicks pausing/resuming the clock.
Taken shots are not stable and display a different time.

8 years agoevas sw render: cutout rects may be used in multiple threads
Carsten Haitzler (Rasterman) [Sat, 26 Mar 2016 01:49:20 +0000 (10:49 +0900)]
evas sw render: cutout rects may be used in multiple threads

several draw funcs keep a static Cutout_Rect *rects = NULL; variable
to cache cutout rects to avoid re-allocating them a lot etc. this is
fast and handy but we may use these from multiple threads. thats bad
.... mmmkay. so this fixes it the dirty way - makes them thread local.
:)

this fixes T3348 - the crash mentioned by @zmike

@fix

8 years agoelementary: fix generation of pkgconfig
Cedric Bail [Fri, 25 Mar 2016 21:34:31 +0000 (14:34 -0700)]
elementary: fix generation of pkgconfig

T3361

8 years agobuild: make sure elementary.pc file gets actually installed
Stefan Schmidt [Fri, 25 Mar 2016 17:32:07 +0000 (18:32 +0100)]
build: make sure elementary.pc file gets actually installed

It was missing from the Makefile and thus not installed. Thanks Scimmia for
bringing this up.

ref T3361

8 years agoelm - fix elementary test pkgdatadir to be right so icons work etc.
Carsten Haitzler (Rasterman) [Fri, 25 Mar 2016 06:36:45 +0000 (15:36 +0900)]
elm - fix elementary test pkgdatadir to be right so icons work etc.

8 years agoelm: fix window resize self-trigger
Carsten Haitzler (Rasterman) [Fri, 25 Mar 2016 06:11:38 +0000 (15:11 +0900)]
elm: fix window resize self-trigger

so there was/is a case where when an elm window is resized from
outside, it will happen to use the last known size (maybe old) and end
up requesting a resize to that size again itself. it basically
triggers its own resize request as a result of resize events. this
fixes that and stops the loop

@fix

8 years agoelm theme: do some slickening up of shadows
Carsten Haitzler (Rasterman) [Fri, 25 Mar 2016 02:04:35 +0000 (11:04 +0900)]
elm theme: do some slickening up of shadows

so i had a separate flat theme i was working on but i just can't keep
up with changes so i'm just putting in some of the nicest bits here
slowly like nicer shadows.

@feat

8 years agopc: add elementary.pc to gitignore
Carsten Haitzler (Rasterman) [Fri, 25 Mar 2016 02:01:48 +0000 (11:01 +0900)]
pc: add elementary.pc to gitignore

8 years agoefl: fix build when drm and fb are enabled .. and more
Carsten Haitzler (Rasterman) [Fri, 25 Mar 2016 01:53:38 +0000 (10:53 +0900)]
efl: fix build when drm and fb are enabled .. and more

after elm merge build broke with things like this enabled. this fixes
that.

i'd like to bring up one issue here. ecore_drm is not a good
abstractionlayer. it requires libdrm and other headers from system and
it should have abstracted things so the system libdrm is hidden/not
needed for build (or even perhaps at runtime and this could be rolled
into ecore_drm). this is how ecore_x is... and ecore_fb etc.

8 years agoelementary: add forgotten cmake and pkgconfig files.
Cedric BAIL [Thu, 24 Mar 2016 22:31:24 +0000 (15:31 -0700)]
elementary: add forgotten cmake and pkgconfig files.

8 years agoelementary: fix directory discovery to properly locate your theme.
Cedric BAIL [Thu, 24 Mar 2016 21:54:35 +0000 (14:54 -0700)]
elementary: fix directory discovery to properly locate your theme.

8 years agoembryo: don't mess with env vars in tzdate if no tz is passed
Mike Blumenkrantz [Thu, 24 Mar 2016 21:37:27 +0000 (17:37 -0400)]
embryo: don't mess with env vars in tzdate if no tz is passed

8 years agoelementary: when building with backends, we apparently need to link with them to.
Cedric BAIL [Thu, 24 Mar 2016 21:27:05 +0000 (14:27 -0700)]
elementary: when building with backends, we apparently need to link with them to.

This make elementary break the modularity of the underlying layer. I haven't looked
at what is going on here, but basically if you have a wayland, a drm, whatever backend
turned on. You need elementary to be link against that ecore_* directly. This means
we are lacking in abstraction in Ecore_Evas and are dlopening to much library at
startup. This needs to be improved in the future.

I am guessing this is related to maybe DnD and C&P.

8 years agoBUILD: USE WL2 FOR ELM BUILD
Mike Blumenkrantz [Thu, 24 Mar 2016 21:18:19 +0000 (17:18 -0400)]
BUILD: USE WL2 FOR ELM BUILD

8 years agobuild elm: do not use libtool library flags for elm binaries
Stefan Schmidt [Thu, 24 Mar 2016 20:35:27 +0000 (21:35 +0100)]
build elm: do not use libtool library flags for elm binaries

These binaries do not need the libtool library flags. This could actually lead
to problems. We already got a warning for one:

libtool: warning: '-version-info' is ignored for programs

8 years agoelm_map: remove unused variables
Stefan Schmidt [Thu, 24 Mar 2016 20:31:24 +0000 (21:31 +0100)]
elm_map: remove unused variables

8 years agoelm_win: monitor wl CONFIGURE events and unset resizing flag accordingly
Mike Blumenkrantz [Wed, 23 Mar 2016 20:58:23 +0000 (16:58 -0400)]
elm_win: monitor wl CONFIGURE events and unset resizing flag accordingly

resolves inability to resize again after resizing

@fix

8 years agoelm_win: force resize during show if job is pending
Mike Blumenkrantz [Wed, 23 Mar 2016 21:41:29 +0000 (17:41 -0400)]
elm_win: force resize during show if job is pending

this resolves the issue of all elm windows being created at 1x1 and
immediately resizing to another size after being shown, causing all
kinds of failures in various environments

@fix

8 years agoMerge Elementary into the EFL
Tom Hacohen [Thu, 24 Mar 2016 18:50:47 +0000 (18:50 +0000)]
Merge Elementary into the EFL

Some things may still be broken, but Cedric will progressively fix
things as they pop. Default configuration works as expected.

8 years agoelementary: remove useless Makefile.am and force file in the correct place.
Cedric Bail [Thu, 24 Mar 2016 06:52:21 +0000 (23:52 -0700)]
elementary: remove useless Makefile.am and force file in the correct place.

8 years agoelementary: and now compile all left over data.
Cedric Bail [Thu, 24 Mar 2016 06:48:52 +0000 (23:48 -0700)]
elementary: and now compile all left over data.

8 years agoelementary: add tests back in.
Cedric Bail [Thu, 24 Mar 2016 06:07:41 +0000 (23:07 -0700)]
elementary: add tests back in.

8 years agoelementary: disable some ATSPI test that I can't figure out why they fail.
Cedric Bail [Thu, 24 Mar 2016 06:06:12 +0000 (23:06 -0700)]
elementary: disable some ATSPI test that I can't figure out why they fail.

8 years agoelementary: build themes.
Cedric Bail [Thu, 24 Mar 2016 05:57:24 +0000 (22:57 -0700)]
elementary: build themes.

8 years agoelementary: search ELM_DATA_DIR environment for themes.
Cedric Bail [Thu, 24 Mar 2016 05:48:45 +0000 (22:48 -0700)]
elementary: search ELM_DATA_DIR environment for themes.

8 years agoelementary: enable compilation of binary.
Cedric Bail [Thu, 24 Mar 2016 03:55:38 +0000 (20:55 -0700)]
elementary: enable compilation of binary.

8 years agoelementary: initial compilation of the library only.
Cedric BAIL [Thu, 24 Mar 2016 00:13:57 +0000 (17:13 -0700)]
elementary: initial compilation of the library only.

8 years agoecore_evas: change ECORE_EVAS_RENDER_SYNC to NOSYNC and non-default
Derek Foreman [Thu, 24 Mar 2016 16:15:57 +0000 (12:15 -0400)]
ecore_evas: change ECORE_EVAS_RENDER_SYNC to NOSYNC and non-default

Summary:
commit f9e655046868cb83cbc9ac2dcd139e3540e89285 Changed the RENDER_SYNC
the default behaviour (previously it was something you had to
change source code to set that way)

This leads to massive amounts of tearing with the drm and gl_drm backends,
as they no longer wait for vblank before rendering.

I've changed the env var to ECORE_EVAS_RENDER_NOSYNC and made it
non-default as it used to be.  People can set the env var to disable
frame limiting instead of having to set an env var to enable it.

Frame limiting really should be the default behaviour.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3829

8 years agoecore_wayland: Add a new API to get keymap - ecore_wl_input_keymap_get()
JengHyun Kang [Thu, 24 Mar 2016 12:53:15 +0000 (08:53 -0400)]
ecore_wayland: Add a new API to get keymap  - ecore_wl_input_keymap_get()

Summary:
Each Ecore_Wl_Input structure has there own keymap.
         This keymap is struct xkb_keymap used in libxkbcommon lib and
         the client can get this keymap from server in wayland system.
         So if the client want to get keymap and use some libxkbcommon APIs,
         use this API to get keymap.

Test Plan: Use this api after initialize wayland system.

Reviewers: raster, zmike, ManMower, devilhorns

Reviewed By: devilhorns

Subscribers: input.hacker, ohduna, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3819

8 years agoecore_imf/wayland: fix IME flickering issue when input_panel_hide and show is called...
Jihoon Kim [Thu, 24 Mar 2016 11:31:48 +0000 (20:31 +0900)]
ecore_imf/wayland: fix IME flickering issue when input_panel_hide and show is called sequentially

Change-Id: Ieafa9cd921cc8d68c64af6b72404ef52e7bbf724

8 years agoEvas textblock: fix null-derefernce in _style_match_tag()
Jiwon Kim [Thu, 24 Mar 2016 08:14:50 +0000 (10:14 +0200)]
Evas textblock: fix null-derefernce in _style_match_tag()

Summary:
add null check in _style_match_tag()
if evas_object_textblock_text_markup_set() is called with markup text before setting style,
segmentation fault is occurred in _style_match_tag()
@fix

Test Plan:
Insert this situation to test suite
 -> test id : evas_textblock_simple

Test for without this patch:
 1. apply patch just "src/tests/evas/evas_test_textblock.c" partially.
 2. $make check

Test for with this patch:
 1. apply this patch completely (2 files)
 2. $make check

Reviewers: id213sin, herdsman

Subscribers: Blackmole, cedric, jpeg

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D3818

8 years agoEvas 3d: Fix typo in previous commit
Jean-Philippe Andre [Thu, 24 Mar 2016 02:08:57 +0000 (11:08 +0900)]
Evas 3d: Fix typo in previous commit

I didn't reject so I can push this now.

8 years agoevas.canvas3d: Remove repeated code in e3d_drawable_new function
Oleksandr Shcherbina [Thu, 24 Mar 2016 02:07:53 +0000 (11:07 +0900)]
evas.canvas3d: Remove repeated code in e3d_drawable_new function

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3824

8 years agoEdje: Fix eo error with call to invalid image method
Jean-Philippe Andre [Thu, 24 Mar 2016 01:34:52 +0000 (10:34 +0900)]
Edje: Fix eo error with call to invalid image method

Only Efl.Canvas.Proxy implements efl_canvas_proxy_source_clip_set.
Legacy image objects should use legacy APIs.

Thanks @zmike for the report and sorry I never saw the ERR myself :(

Fixes T3342

8 years agoeolian: temporary disable strict mode as elementary can not be built with it.
Cedric BAIL [Thu, 24 Mar 2016 00:12:58 +0000 (17:12 -0700)]
eolian: temporary disable strict mode as elementary can not be built with it.

8 years agoelementary: merge configure logic.
Cedric BAIL [Wed, 23 Mar 2016 23:00:47 +0000 (16:00 -0700)]
elementary: merge configure logic.

8 years agoelementary: removing webkit2 module as it should now be built outside of tree.
Cedric BAIL [Wed, 23 Mar 2016 21:05:36 +0000 (14:05 -0700)]
elementary: removing webkit2 module as it should now be built outside of tree.

A later new repository will show up with it.

8 years agoelementary: integrate translation inside Efl translation.
Cedric BAIL [Wed, 23 Mar 2016 20:15:16 +0000 (13:15 -0700)]
elementary: integrate translation inside Efl translation.

Please spend time looking at those as I had to do few stuff
manually and I may have borked some of them.

Side note question, why do we have ko.po and ko_KR.po ?

8 years agoelementary: reposition the translation to the new file location.
Cedric BAIL [Wed, 23 Mar 2016 20:03:34 +0000 (13:03 -0700)]
elementary: reposition the translation to the new file location.

8 years agoelementary: move all legacy files to their expected new location.
Cedric BAIL [Wed, 23 Mar 2016 19:56:14 +0000 (12:56 -0700)]
elementary: move all legacy files to their expected new location.

8 years agotests: add dependency on simple.eo.hh for new eina_cxx iterator test
Stefan Schmidt [Wed, 23 Mar 2016 15:43:23 +0000 (16:43 +0100)]
tests: add dependency on simple.eo.hh for new eina_cxx iterator test

With commit fd0cf8b76459da70e2ef0116b19a322913cc92bb we got a new test for
eina_cxx iterator. Like some other tests it needs to have the eimple.eo.hh
header already generated. Make sure we note this dependency in the build as
it fails without.

8 years agoEcore: Move all of the duplicate type definitions to ecore_types.eot.
Tom Hacohen [Wed, 23 Mar 2016 15:05:20 +0000 (15:05 +0000)]
Ecore: Move all of the duplicate type definitions to ecore_types.eot.

8 years agoEctor: add ector_types.eot for ector type definitions.
Tom Hacohen [Wed, 23 Mar 2016 14:59:40 +0000 (14:59 +0000)]
Ector: add ector_types.eot for ector type definitions.

This fixes the GLShort duplicate declaration.

8 years agoexamples: adjust include path for headers no longer public headers
Stefan Schmidt [Wed, 23 Mar 2016 13:59:21 +0000 (14:59 +0100)]
examples: adjust include path for headers no longer public headers

Since commit a4f0f08399de85b382603bc57e7a480872e85915 these header files are
no longer installed. Make sure the example have the correct path to actually
find teh files. If we no longer consider them public we might want to think
about removing the examples for them.

This commit fixes the examples build only.

8 years agoexamples: mark unused argument to avoid warning
Stefan Schmidt [Wed, 23 Mar 2016 13:58:31 +0000 (14:58 +0100)]
examples: mark unused argument to avoid warning

8 years agoevas_object_textgrid: try bolditalic if original is book
Boris Faure [Wed, 23 Mar 2016 14:32:50 +0000 (15:32 +0100)]
evas_object_textgrid: try bolditalic if original is book

8 years agoevas_object_textgrid: also try bold font when original is of weight Book
Boris Faure [Wed, 23 Mar 2016 14:26:56 +0000 (15:26 +0100)]
evas_object_textgrid: also try bold font when original is of weight Book

and add debug

8 years agoEvas font: fix width calc in last_up_to_pos
Daniel Hirt [Wed, 23 Mar 2016 09:53:53 +0000 (11:53 +0200)]
Evas font: fix width calc in last_up_to_pos

Width calculations should consider the x_bear. This has been leading to
inconsistent results between wrapping calculation during layout and the
final formatted size.

Also, we should stop our walk only when exceeding 'x', so changed "<="
to "<".

@fix

8 years agoMerge elementary into the EFL.
Tom Hacohen [Wed, 23 Mar 2016 10:59:41 +0000 (10:59 +0000)]
Merge elementary into the EFL.

This merges elementary into the efl repository while maintaining all of
Elementary's history.

8 years agoDocs: change 'emittion' to 'emission'
Shuhrat Dehkanov [Wed, 23 Mar 2016 10:22:44 +0000 (11:22 +0100)]
Docs: change 'emittion' to 'emission'

Reviewers: cedric, stefan_schmidt

Subscribers: minkyu, cedric, seoz, jpeg

Differential Revision: https://phab.enlightenment.org/D3823

8 years agoElm_Image: remove Elm.Image.scale property. use the Elm.Widget.scale.
Ji-Youn Park [Wed, 23 Mar 2016 09:23:47 +0000 (17:53 +0830)]
Elm_Image: remove Elm.Image.scale property. use the Elm.Widget.scale.

elm image don't need to manage scale value itself.
Just modify eo part. legacy c part(ex: remove scale data in elm image)is still remains.

8 years agopopup: visual related signals should be processed immediately
WooHyun Jung [Wed, 23 Mar 2016 02:42:14 +0000 (11:42 +0900)]
popup: visual related signals should be processed immediately

8 years agoimage: remove duplicate _elm_image_internal_sizing_eval call
Minkyu Kang [Tue, 22 Mar 2016 22:59:05 +0000 (15:59 -0700)]
image: remove duplicate _elm_image_internal_sizing_eval call

Summary:
When set the file to image widget, _elm_image_internal_sizing_eval is called many times.
This patch will remove duplicate call.
In _elm_image_sizing_eval function, elm_obj_image_scale_set will be called always,
calling _elm_image_internal_sizing_eval is unnecessary.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: Hermet, cedric

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D3730

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agomap: separate name, route source logic
SungTaek Hong [Tue, 22 Mar 2016 22:58:18 +0000 (15:58 -0700)]
map: separate name, route source logic

Summary:
 - So far, elm_map only provides Open Street Map
   and lacks ability to expand to other map providers
   since it's xml parse only fits into that of OSM.
 - This patch is to make route and name source same to
   tile source, which supports other map tile providers.

Reviewers: woohyun, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3303

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agotheme: fix non-fixed parts.
Umesh Tanwar [Tue, 22 Mar 2016 22:03:37 +0000 (15:03 -0700)]
theme: fix non-fixed parts.

Summary:
The error shown while testing elementary_test.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Test Plan:
run elementary_test ->type "genlist" in search
->move to "genlist focus" button using navigation keys.

Reviewers: cedric, singh.amitesh, Hermet

Differential Revision: https://phab.enlightenment.org/D3815

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelm_image: fix build warning
Ji-Youn Park [Tue, 22 Mar 2016 14:22:52 +0000 (22:52 +0830)]
elm_image: fix build warning

8 years agoelm_image: remove elm_image_memfile_set api from eo API.
Ji-Youn Park [Tue, 22 Mar 2016 14:14:04 +0000 (22:44 +0830)]
elm_image: remove elm_image_memfile_set api from eo API.

memfile_set feature will be deprecated.
instead of memfile_set, use Efl.file.mmap.
and merge elm_image_obj_mmap_set and elm_image_efl_file_mmap_set

8 years agoEfl_file: add more information into the documentation
Ji-Youn Park [Tue, 22 Mar 2016 12:33:55 +0000 (21:03 +0830)]
Efl_file: add more information into the documentation

8 years agoelm_entry: revert drag_target_set API in elm_entry.
Ji-Youn Park [Tue, 22 Mar 2016 11:17:48 +0000 (19:47 +0830)]
elm_entry: revert drag_target_set API in elm_entry.

elm_entry, editable value is used not only drag_target but also other editable feature

8 years agoPanes: adapt test to for more API coverage
Daniel Zaoui [Tue, 22 Mar 2016 11:09:27 +0000 (13:09 +0200)]
Panes: adapt test to for more API coverage

8 years agoLabel: adapt slide test to fit Exactness requirements
Daniel Zaoui [Tue, 22 Mar 2016 09:17:33 +0000 (11:17 +0200)]
Label: adapt slide test to fit Exactness requirements

8 years agolabel: whenever text is changed, sliding related things should be checked
WooHyun Jung [Tue, 22 Mar 2016 05:45:49 +0000 (14:45 +0900)]
label: whenever text is changed, sliding related things should be checked

@fix

8 years agoEvas: Add missing cspaces to data_get/put (sw engine)
Jean-Philippe Andre [Tue, 22 Mar 2016 04:37:46 +0000 (13:37 +0900)]
Evas: Add missing cspaces to data_get/put (sw engine)

Also, remove abort() in default case. Leftover abort()
can actually make applications crash.

8 years agoevas: NEON scaling up fixed
Jean-Philippe Andre [Tue, 22 Mar 2016 04:49:00 +0000 (13:49 +0900)]
evas: NEON scaling up fixed

Summary:
Previous implementation loaded data from memory first and then checked the borders.
Here I check the borders first as it is for C implementation.
This prevents read of non-accessible memory.

Reviewers: cedric, jypark, Hermet, jiin.moon, jpeg

Reviewed By: jpeg

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D3809

8 years agoecore_evas: change RENDER_SYNC from define to env
Ji-Youn Park [Tue, 22 Mar 2016 03:51:29 +0000 (12:21 +0830)]
ecore_evas: change RENDER_SYNC from define to env

outside needs to turn on/off RENDER_SYNC feature.
env val: ECORE_EVAS_RENDER_SYNC.

8 years agoRevert "edje: seems like preloading is fixed and we can now run edje_cc in //"
Cedric Bail [Tue, 22 Mar 2016 02:46:30 +0000 (19:46 -0700)]
Revert "edje: seems like preloading is fixed and we can now run edje_cc in //"

This reverts commit e6a27e13b54a024ca849b9fd798398d51f2e27f8.

While preloading itself is fixed, we forgot a little detail there is limit to
the amount of files we can open on any system. This is high enough on Linux that
we never see the issue, but on MacOS X, we can't even build elementary theme.

Reverting this for now and until we have a proper fix for this.

8 years agoRevert "elm_widget: update child object focus_order."
WooHyun Jung [Tue, 22 Mar 2016 01:13:28 +0000 (10:13 +0900)]
Revert "elm_widget: update child object focus_order."

This reverts commit b78720016a9023cb57ec2a05c8cfbdf6eeae600f.

We need to find another way to fix the problem.
This will break focus revert logic.

8 years agoevas: make no longer supported object, legacy only.
Cedric BAIL [Mon, 21 Mar 2016 23:31:26 +0000 (16:31 -0700)]
evas: make no longer supported object, legacy only.

So I forgot to clean my hard drive from previously generated files,
and obviously everything still worked. This lead to having to roll back
evas_smart_clipped.eo as a public eo object until we merge elementary.

Still I would like someone to take a look at elm_pan.eo and figure out
how to not rely on smart clipped there.

8 years agoevas: actually we still do need those header for the legacy API
Cedric BAIL [Mon, 21 Mar 2016 23:03:36 +0000 (16:03 -0700)]
evas: actually we still do need those header for the legacy API

8 years agoevas: disable installation of no longer supported Eo object for EFL 2.0.
Cedric BAIL [Mon, 21 Mar 2016 22:01:36 +0000 (15:01 -0700)]
evas: disable installation of no longer supported Eo object for EFL 2.0.

8 years agoeina_cxx: fix Coverity warning regarding uninitialized iterator member
Vitor Sousa [Mon, 21 Mar 2016 20:27:46 +0000 (17:27 -0300)]
eina_cxx: fix Coverity warning regarding uninitialized iterator member

8 years agoevas-wayland-shm: Fix rotation for wayland shm engine
Chris Michael [Mon, 21 Mar 2016 13:29:32 +0000 (09:29 -0400)]
evas-wayland-shm: Fix rotation for wayland shm engine

Prior to this fix, window rotation was not operating correctly and the
surface contents would get rendered at the wrong size and position.
This patch fixes the engine so that rotation operates properly now.

NB: Tested with the Window States(2) test in elementary

Thanks to shiin for reporting :)

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoGenlist: fix test ending
Daniel Zaoui [Mon, 21 Mar 2016 12:33:19 +0000 (14:33 +0200)]
Genlist: fix test ending

The multi select data was freed as it was an api_data structure,
resulting in a crash when trying to free an internal api_data pointer.

@fix

8 years agoecore_imf/wayland: use default preedit style
Jihoon Kim [Mon, 21 Mar 2016 07:36:42 +0000 (16:36 +0900)]
ecore_imf/wayland: use default preedit style

Change-Id: Iffb2d450923bbde191c4928253f133b13608a8e8

8 years agomenu: fix the 'fixed' errors output
Vyacheslav Reutskiy [Mon, 21 Mar 2016 08:48:59 +0000 (10:48 +0200)]
menu: fix the 'fixed' errors output

Add missed attribute fixed to menu and hover styles

8 years agoGenlist: fix wrong use of Eo item
Daniel Zaoui [Mon, 21 Mar 2016 07:01:15 +0000 (09:01 +0200)]
Genlist: fix wrong use of Eo item

The Eo item was given as parameter of a function expecting its item data.

@fix

8 years agoDatetime: update test for Exactness
Daniel Zaoui [Sun, 20 Mar 2016 11:11:53 +0000 (13:11 +0200)]
Datetime: update test for Exactness

A fix date is now set so Exactness can work on datetime widget.

8 years agoTests/Photocam: add default image
Daniel Zaoui [Sun, 20 Mar 2016 08:48:12 +0000 (10:48 +0200)]
Tests/Photocam: add default image

This helps to generate a Exactness scenario that doesn't depend on file
locations.

8 years agoeina_file: move doc block about eina_file_path_join from inline to file.h
Boris Faure [Sat, 19 Mar 2016 14:55:21 +0000 (15:55 +0100)]
eina_file: move doc block about eina_file_path_join from inline to file.h

8 years agoEvas.Draggable_Interface: move editable_set/get to lecacy API
Ji-Youn Park [Sat, 19 Mar 2016 01:30:19 +0000 (10:00 +0830)]
Evas.Draggable_Interface: move editable_set/get to lecacy API

Elm_XXX_editable_set/get is related with drag and drop.

Elm_entry, Elm_image, Elm_photo, Elm_thumb has editable API.
If user call elm_entry_editable_set(obj, EINA_TRUE),
elm entry's content(text) can be changed into dragging text.
elm_image(photo,thumb also) is same. its content(image) also
can be changed into dragging image.

so changed for these widget to use drag_target property in evas_draggable_interface

8 years agoEvas.Draggable_Interface: add drag_target property
Ji-Youn Park [Fri, 18 Mar 2016 09:04:59 +0000 (17:34 +0830)]
Evas.Draggable_Interface: add drag_target property

object can set this property true if object can be target of dragging content.

8 years agoefl js: Add clean up callbacks to deallocate memory used in v8::External
Vitor Sousa [Wed, 16 Mar 2016 22:46:22 +0000 (19:46 -0300)]
efl js: Add clean up callbacks to deallocate memory used in v8::External

Add several garbage collector callbacks for cleaning allocated C and C++
data used inside v8:External objects.

Fix eo_unref of already freed object in eo_js_construct_from_eo.hh.

Ensure all structs are allocated with malloc.

Add test for garbage collection.
Had to created .sh script because shebang clause do not support multiple
arguments.

8 years agoefl js: Finish Eina_Iterator binding
Vitor Sousa [Wed, 16 Mar 2016 19:08:45 +0000 (16:08 -0300)]
efl js: Finish Eina_Iterator binding

8 years agoefl js: Fix naming of manual binding functions.
Lauro Moura [Tue, 15 Mar 2016 21:00:20 +0000 (18:00 -0300)]
efl js: Fix naming of manual binding functions.

Also removed references to the discarded manual binding "ecore_js_file".

8 years agoeina_cxx: Add missing methods to Eina C++ wrappers
Vitor Sousa [Wed, 9 Dec 2015 17:32:04 +0000 (15:32 -0200)]
eina_cxx: Add missing methods to Eina C++ wrappers

Also fix release_native_handle type error on mutable ranges.

8 years agoeina_cxx: Add specialized eina::iterator for Eo* wrappers
Vitor Sousa [Tue, 1 Dec 2015 19:25:11 +0000 (17:25 -0200)]
eina_cxx: Add specialized eina::iterator for Eo* wrappers

Add specialization of eina::iterator for Eo* C++ wrappers.

Specialize ibegin/iend methods in eina::list and eina::array of
Eo* wrappers to use the new eina::iterator.

Add unit test.

8 years agoefl js: Update Javascript binding to compile with new Eolian API
Vitor Sousa [Mon, 14 Mar 2016 16:14:37 +0000 (13:14 -0300)]
efl js: Update Javascript binding to compile with new Eolian API

Reword test method names to check naming convention.

8 years agoelm_widget: update child object focus_order.
Umesh Tanwar [Fri, 18 Mar 2016 18:56:59 +0000 (11:56 -0700)]
elm_widget: update child object focus_order.

Summary:
_parent_focus() when called recursively updates the
sd->focus_order for parent obeject only. The sibling's sd->focus_order
not get updated.
So updated the focus_order for siblings.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Test Plan:
{F30149}
correct case:
1. Press Enter key on click button. A popoup will come.
2. Pressing enter key on popup button the popup hides and focus goes back to click button.

issue case:
1. Press Enter key on click button. A popoup will come.
2. press Alt+tab twice.
3. Pressing enter key on popup button the popup hides and focus does not go back to click button.

Reviewers: raster, cedric

Subscribers: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D3807

8 years agoevas.canvas3d: fix wrong output in evas-3d-pick example
Oleksandr Shcherbina [Fri, 18 Mar 2016 18:55:04 +0000 (11:55 -0700)]
evas.canvas3d: fix wrong output in evas-3d-pick example

Summary:
Since that
https://git.enlightenment.org/core/efl.git/commit/?id=c850cc0d80b754be851576083eba27a72b58b9f2
we don't use scene object for recalculation pick coordinates.
@fix

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3806

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agomodules: remove error message from dlsym() when a module is loaded
Youngbok Shin [Fri, 18 Mar 2016 18:54:00 +0000 (11:54 -0700)]
modules: remove error message from dlsym() when a module is loaded

Summary:
dlsym() could print error message when it tried to load
a nonexistent symbol. Whenever eina_module_load is called,
it checks __eina_module_init symbol. Even if there is no
symbol for init, module loading could be done well.
But, it will print an error message. So, we need to use
EINA_MODULE_INIT, EINA_MODULE_SHUTDOWN in every modules
for removing error messages.

Test Plan: N/A

Reviewers: woohyun, raster, Hermet, seoz, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D3805

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
8 years agoedje_cc: make script_override default value as EINA_FALSE
Jee-Yong Um [Fri, 18 Mar 2016 18:52:52 +0000 (11:52 -0700)]
edje_cc: make script_override default value as EINA_FALSE

Summary:
script_override variable is initialized as EINA_FALSE
when group is created, but assign EINA_TRUE can mislead
some developers to think script_override default value
is EINA_TRUE.

Reviewers: Jaehyun_Cho

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3803

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>