platform/upstream/efl.git
9 years agoecore-drm: Fix issue of edid parsing not ignoring string
Chris Michael [Tue, 12 May 2015 15:51:01 +0000 (11:51 -0400)]
ecore-drm: Fix issue of edid parsing not ignoring string

Summary: When we are parsing the edid string, if the string is random
junk, then we need to ignore it. Prior to this commit, we were not
setting the returned text properly.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: remove unused variables
Daniel Kolesa [Tue, 12 May 2015 16:07:26 +0000 (17:07 +0100)]
eolian: remove unused variables

9 years agoeolian: new API eolian_type_enum_field_c_name_get
Daniel Kolesa [Tue, 12 May 2015 16:04:54 +0000 (17:04 +0100)]
eolian: new API eolian_type_enum_field_c_name_get

This API allows you to retrieve the C name of an arbitrary enum field,
respecting the legacy prefix and properly uppercasing the name.

9 years agoeolian: butts
Daniel Kolesa [Tue, 12 May 2015 15:15:29 +0000 (16:15 +0100)]
eolian: butts

9 years agoeolian_cxx: Fix @beta on generated bindings for C++
Vitor Sousa [Tue, 12 May 2015 14:45:16 +0000 (11:45 -0300)]
eolian_cxx: Fix @beta on generated bindings for C++

9 years agoeolian: fix wrong enum tests
Daniel Kolesa [Tue, 12 May 2015 13:37:16 +0000 (14:37 +0100)]
eolian: fix wrong enum tests

9 years agoeolian: update eolian_type_base_type_get for REGULAR types
Daniel Kolesa [Tue, 12 May 2015 13:27:02 +0000 (14:27 +0100)]
eolian: update eolian_type_base_type_get for REGULAR types

9 years agoecore-wayland: Input grab_count is unsigned int, no need for comparison < 0
Chris Michael [Tue, 12 May 2015 13:14:26 +0000 (09:14 -0400)]
ecore-wayland: Input grab_count is unsigned int, no need for comparison < 0

Summary: As input->grab_count is an unsigned int there is no need for
the < 0 comparison as that will always return false

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Add a grab_count variable for synchronization wl_input_grab/ungrab...
jhyuni.kang [Tue, 12 May 2015 12:57:03 +0000 (08:57 -0400)]
ecore-wayland: Add a grab_count variable for synchronization wl_input_grab/ungrab with pointer and touch event

Summary:
The touch screen device generates touch events.
         But in some special enviroments, a first finger will be matched to a pointer event(not touch event).
         And other fingers (second, third, ...) will be matched touch events.
         In that case ecore_wl_input_ungrab() is called abnormally.
         A first finger pressed, _ecore_wl_input_cb_pointer_button() call ecore_wl_input_grab().
         A second finger pressed, _ecore_wl_input_cb_touch_down() is called but not grab.
         But when a second finger is released, _ecore_wl_input_cb_touch_up() call ecore_wl_input_ungrab()
         So ungrab function generate two mouse up events and a first finger is released.
         In other case, first finger pressed -> second finger pressed -> first finger release.
         That case when a first finger released a second finger release event is generated.
         So after that application doesn't get a release event about a second finger
         when a second finger is really released.

         I think in a multitouch case, ungrab function will be called when a all finger are released.
         So I add a grab_count variable for count currently touched fingers.
         And only called a ungrab funtion all fingers are released.

Test Plan:
In a touch screen supported multitouch, press two or more fingers and release.
           And watch events generation.

Reviewers: raster, devilhorns

Subscribers: cedric

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

9 years agoecore-drm: Add API function to test if an output can go on a given crtc
Chris Michael [Mon, 11 May 2015 16:37:24 +0000 (12:37 -0400)]
ecore-drm: Add API function to test if an output can go on a given crtc

Summary: This adds a new API function to test if a given
Ecore_Drm_Output can be used on a given crtc. This is needed for DRM
RandR support

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEina log: Fix previous commit (ERR & CRI -> bt)
Jean-Philippe Andre [Tue, 12 May 2015 10:34:55 +0000 (19:34 +0900)]
Eina log: Fix previous commit (ERR & CRI -> bt)

This was a < comparison, not <=
I don't totally agree on taking the bts for each error... just try
to cat a binary file in terminology and have fun.

9 years agoEina log: Enable backtrace only for CRI and ERR by default
Jean-Philippe Andre [Tue, 12 May 2015 10:00:57 +0000 (19:00 +0900)]
Eina log: Enable backtrace only for CRI and ERR by default

Using EINA_LOG_LEVEL=4 for standard debugging has now become
absolutely horrible (and slow!). Backtraces may make sense in
case of ERR and CRI messages, but are just pollution for other
levels.

WRN could be argued over but the old env variable is still there
so just use it if you want backtraces:

$ export EINA_LOG_BACKTRACE=2

9 years agoEvas GL common: Skip shaders generation if there is no change
Jean-Philippe Andre [Tue, 12 May 2015 02:30:57 +0000 (11:30 +0900)]
Evas GL common: Skip shaders generation if there is no change

Based on a quick git diff we check that the glsl code has not changed.
This should fix out-of-tree builds and avoid all source modification
unless required.

When compiling from a tarball there should be no git tree (err 129),
or if there's one the files should not be checked in (ie. no diff).
If you changed the glsl files in a tarball... too bad for you.

If this is still not enough to fix the build, then go ahead and disable
the script from Makefile_Evas.am

I would like to note that the auto-generation during make is extremely
useful when working on the shaders, which is why I'd rather keep it enabled.

@fix

9 years agodata: Silent another mkdir when usign automake silent rules
Stefan Schmidt [Mon, 11 May 2015 16:36:48 +0000 (18:36 +0200)]
data: Silent another mkdir when usign automake silent rules

Visible when running as verbose.

9 years agoeolian: fix up remaining doc comments in the tree
Daniel Kolesa [Mon, 11 May 2015 14:37:19 +0000 (15:37 +0100)]
eolian: fix up remaining doc comments in the tree

9 years agoeolian: fix doc comments across the tree
Daniel Kolesa [Mon, 11 May 2015 14:16:17 +0000 (15:16 +0100)]
eolian: fix doc comments across the tree

9 years agoecore_wl: get dpi after all pending events are handled
Boram Park [Mon, 11 May 2015 13:27:13 +0000 (09:27 -0400)]
ecore_wl: get dpi after all pending events are handled

Summary: ecore_wl_dpi_get will return the correct value after wl_output's events are handled

Reviewers: zmike, devilhorns, bryceharrington

Subscribers: cedric

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

9 years agorg_etc: Correct ifdef to keep function available for debug build
Stefan Schmidt [Mon, 11 May 2015 12:44:57 +0000 (14:44 +0200)]
rg_etc: Correct ifdef to keep function available for debug build

In the nightly builds we have debug enabled and this spotted the case where
rg_etc1_solution_coordinates_block_colors_get is actually still used:

lib/eet/.libs/libeet.so: undefined reference to `rg_etc1_solution_coordinates_block_colors_get'

Showed only after we switched back from release to dev mode.

@fix

9 years agoefreet: fix signed warning
Sebastian Dransfeld [Mon, 11 May 2015 11:31:21 +0000 (13:31 +0200)]
efreet: fix signed warning

Update to 6a0d23. Casting to int isn't a real solution, since we could
have values which overflows.

Since we want the absolute value, just make sure we subtract the larger
value from the smaller.

9 years agoedje: rename variable
Sebastian Dransfeld [Mon, 11 May 2015 10:21:54 +0000 (12:21 +0200)]
edje: rename variable

Give variable a name which better describes its purpose.

9 years agoevas: fix bug in evas gl texture.
Ji-Youn Park [Mon, 11 May 2015 11:07:12 +0000 (20:07 +0900)]
evas: fix bug in evas gl texture.
Summary: bytecount always 1,2,4. so changed for simple code.

9 years agobuild: Fix benchmark and exmaples dep on all target as well.
Stefan Schmidt [Mon, 11 May 2015 10:45:44 +0000 (12:45 +0200)]
build: Fix benchmark and exmaples dep on all target as well.

Same as the check-build target I fixed in my previous commit these two need
the all dependency to compile everything needed before being run.

9 years agobuild: Add correct dependency for check-build target.
Stefan Schmidt [Mon, 11 May 2015 10:34:54 +0000 (12:34 +0200)]
build: Add correct dependency for check-build target.

We need to build everythign else before. Without this dep running check-build
as first target from a fresh build will fail due to wrong dependency handling
(like no eolian run over the eo files, etc)

Inspired by D2489 from Kabeer Khan.

9 years agoevas: fix bug in evas gl texture.
Ji-Youn Park [Mon, 11 May 2015 10:08:12 +0000 (19:08 +0900)]
evas: fix bug in evas gl texture.

Summary: If the pixel size of image is not 32 bit like EVAS_COLORSPACE_AGRY88,
         GL_UNPACK_ALIGNMENT have to be changed.

9 years agoeina debug monitor - dont shadow vars
Carsten Haitzler (Rasterman) [Mon, 11 May 2015 05:03:44 +0000 (14:03 +0900)]
eina debug monitor - dont shadow vars

9 years agoeina debug monitor - add types.h include
Carsten Haitzler (Rasterman) [Mon, 11 May 2015 05:01:32 +0000 (14:01 +0900)]
eina debug monitor - add types.h include

9 years agoefl debug - make event log header .. nicer with a block header and size
Carsten Haitzler (Rasterman) [Mon, 11 May 2015 03:28:18 +0000 (12:28 +0900)]
efl debug - make event log header .. nicer with a block header and size

9 years agoevas: fixing examples after change on Evas_3D.
Cedric BAIL [Sun, 10 May 2015 21:23:26 +0000 (23:23 +0200)]
evas: fixing examples after change on Evas_3D.

9 years agoevas: fix bug in the example of evas-3d-cube-rotate.
se.osadchy [Sun, 10 May 2015 21:08:42 +0000 (23:08 +0200)]
evas: fix bug in the example of evas-3d-cube-rotate.

Summary: Refactoring of code and fix work of signals for normal rotation of cube.

Reviewers: cedric, raster, Hermet

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeio: fix grammar and spelling mistakes in Eio.h.
Yomi [Sun, 10 May 2015 21:02:07 +0000 (23:02 +0200)]
eio: fix grammar and spelling mistakes in Eio.h.

Summary: Fix grammar and spelling mistakes in Eio.h

Reviewers: cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_cocoa,ethumb: fix compiling after EAPI policy changes
Jean Guyomarc'h [Sun, 10 May 2015 20:58:11 +0000 (22:58 +0200)]
ecore_cocoa,ethumb: fix compiling after EAPI policy changes

Summary:
I went through a lot of undefined symbols while compiling ecore_evas_cocoa
module and ethumb-related binaries. E.g.:

  Undefined symbols for architecture x86_64:
    "_ECORE_COCOA_EVENT_EXPOSE", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ECORE_COCOA_EVENT_GOT_FOCUS", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ECORE_COCOA_EVENT_LOST_FOCUS", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ECORE_COCOA_EVENT_RESIZE", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ECORE_COCOA_EVENT_WINDOW_DESTROY", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ecore_cocoa_init", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ecore_cocoa_screen_size_get", referenced from:
        __ecore_evas_screen_geometry_get in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
    "_ecore_cocoa_shutdown", referenced from:
        _ecore_evas_cocoa_new_internal in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o
        __ecore_evas_cocoa_free in modules_ecore_evas_engines_cocoa_module_la-ecore_evas_cocoa.o

  Undefined symbols for architecture x86_64:
    "_ethumb_calculate_aspect_from_ratio", referenced from:
        __resize_movie in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_calculate_fill_from_ratio", referenced from:
        __resize_movie in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_ecore_evas_get", referenced from:
        __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_evas_get", referenced from:
        __thumb_generate in modules_ethumb_emotion_module_la-emotion.o
        __finish_thumb_generation in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_finished_callback_call", referenced from:
        __thumb_generate in modules_ethumb_emotion_module_la-emotion.o
        __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
        __finish_thumb_generation in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_image_save", referenced from:
        __frame_decode_cb in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_plugin_image_resize", referenced from:
        __resize_movie in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_plugin_register", referenced from:
        __module_init in modules_ethumb_emotion_module_la-emotion.o
    "_ethumb_plugin_unregister", referenced from:
        __module_shutdown in modules_ethumb_emotion_module_la-emotion.o

EAPI was not well re-defined in both cases. It has been handled in
ecore_cocoa_private.h and ethumb_private.h. These files must be included
after a main library header (because EAPI is undef there).

Reviewers: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: pass disable atlas flag between Evas_3D_Texture and Evas_GL_Image
Oleksandr Shcherbina [Sun, 10 May 2015 20:55:56 +0000 (22:55 +0200)]
evas: pass disable atlas flag between Evas_3D_Texture and Evas_GL_Image

Summary:
Bind flag atlas_enable.
Build adjusting matrix only in case getting texture unit with atlas.

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefl debugd - fix evlog writing - dont duplicate empty blocks
Carsten Haitzler (Rasterman) [Sun, 10 May 2015 13:42:35 +0000 (22:42 +0900)]
efl debugd - fix evlog writing - dont duplicate empty blocks

9 years agoeina evlog - make log dumps simple binary from debugd with header
Carsten Haitzler (Rasterman) [Sun, 10 May 2015 13:36:39 +0000 (22:36 +0900)]
eina evlog - make log dumps simple binary from debugd with header

9 years agoeina evlog - remove stolen count - unecessary
Carsten Haitzler (Rasterman) [Sun, 10 May 2015 13:27:37 +0000 (22:27 +0900)]
eina evlog - remove stolen count - unecessary

9 years agoeina - begin event log infra we can get from the new debug monitor
Carsten Haitzler (Rasterman) [Sun, 10 May 2015 10:05:54 +0000 (19:05 +0900)]
eina - begin event log infra we can get from the new debug monitor

we can down dump event logs. some ecore mainloop bits are logging at
the moment.

9 years agoevas/engine: Fix the ector drawing for gl backend
Subhransu Mohanty [Sat, 9 May 2015 09:46:42 +0000 (18:46 +0900)]
evas/engine: Fix the ector drawing for gl backend

9 years agoevas/canvas : Call correct engine function for setting clip color
Subhransu Mohanty [Sat, 9 May 2015 09:44:31 +0000 (18:44 +0900)]
evas/canvas : Call correct engine function for setting clip color

9 years agoEcore tests: REMOVE wayland tests.
Tom Hacohen [Fri, 8 May 2015 15:17:05 +0000 (16:17 +0100)]
Ecore tests: REMOVE wayland tests.

These tests aren't really testing anything, and are just broken and annoying.
They only test init and shutdown, and they require a running wayland compositor.

They fail for anyone that has wayland enabled but not running in a wayland session.

They should be brought back once they actual test something, or once we allow skipping
tests that can't be run due to environment issues.

9 years agoEcore tests: Properly split (some) unit tests to units
Tom Hacohen [Fri, 8 May 2015 14:23:25 +0000 (15:23 +0100)]
Ecore tests: Properly split (some) unit tests to units

Units were not properly split. We also had to resort to hacks we are not
allowed to do before, which are now fixed.
We don't allow shutting down and powering up again. Once something is off,
it's off.

9 years agoEo: Mark composite APIs as beta.
Tom Hacohen [Fri, 8 May 2015 13:21:23 +0000 (14:21 +0100)]
Eo: Mark composite APIs as beta.

Until now we used @protected, but now we can finally properly use @beta.

9 years agoEcore audio test: Remove unneeded test.
Tom Hacohen [Fri, 8 May 2015 13:04:00 +0000 (14:04 +0100)]
Ecore audio test: Remove unneeded test.

We don't need to test eo works in the ecore audio suite.
If you mark it as virtual, it's virtual.

9 years agoeolian: generation for beta events
Daniel Kolesa [Fri, 8 May 2015 13:45:10 +0000 (14:45 +0100)]
eolian: generation for beta events

9 years agoeolian: API and tests for beta events
Daniel Kolesa [Fri, 8 May 2015 13:37:02 +0000 (14:37 +0100)]
eolian: API and tests for beta events

9 years agoeolian: fix generation tests
Daniel Kolesa [Fri, 8 May 2015 13:28:42 +0000 (14:28 +0100)]
eolian: fix generation tests

9 years agoeolian: oops... forgot to add a param
Daniel Kolesa [Fri, 8 May 2015 13:23:23 +0000 (14:23 +0100)]
eolian: oops... forgot to add a param

9 years agoeolian: parsing for beta events
Daniel Kolesa [Fri, 8 May 2015 13:22:32 +0000 (14:22 +0100)]
eolian: parsing for beta events

9 years agoeolian: beta funcs generation
Daniel Kolesa [Fri, 8 May 2015 13:17:20 +0000 (14:17 +0100)]
eolian: beta funcs generation

9 years agobuild: Pass on makeflags and use proper @$(MAKE)
Stefan Schmidt [Fri, 8 May 2015 13:08:44 +0000 (15:08 +0200)]
build: Pass on makeflags and use proper @$(MAKE)

Going with the build in automake stuff allows us to run this target also in
parallel. Before we got the warning that the jobserver was missing and it
would only run as -j1. Thanks to Tom for spotting and Flameeyes for the blog
post:
https://blog.flameeyes.eu/2010/10/tell-tale-signs-that-your-makefile-is-broken#gsc.tab=0

9 years agoeolian: is_beta API plus tests
Daniel Kolesa [Fri, 8 May 2015 13:12:27 +0000 (14:12 +0100)]
eolian: is_beta API plus tests

9 years agoeolian: parse the @beta qualifier
Daniel Kolesa [Fri, 8 May 2015 13:00:07 +0000 (14:00 +0100)]
eolian: parse the @beta qualifier

9 years agoEfl debug: Rename shadowing variable.
Tom Hacohen [Fri, 8 May 2015 12:55:39 +0000 (13:55 +0100)]
Efl debug: Rename shadowing variable.

9 years agolibunibreak: Follow README rename in EXTRA_DIST for distcheck.
Stefan Schmidt [Fri, 8 May 2015 12:29:13 +0000 (14:29 +0200)]
libunibreak: Follow README rename in EXTRA_DIST for distcheck.

The latest libunibreak updated changed the README name to README.md. Follow
this for the EXTRA_DIST files.

9 years agoautotools: enable make check-build which builds only test suites
kabeer khan [Fri, 8 May 2015 12:19:48 +0000 (14:19 +0200)]
autotools: enable make check-build which builds only test suites

Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: tasn, cedric, stefan_schmidt

Subscribers: cedric

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

9 years agoevas vector: remove white trailings
ChunEon Park [Fri, 8 May 2015 11:51:52 +0000 (20:51 +0900)]
evas vector: remove white trailings

9 years agoevas/canvas: Null check for base class data pointer.
Subhransu Mohanty [Fri, 8 May 2015 11:32:40 +0000 (20:32 +0900)]
evas/canvas: Null check for base class data pointer.

9 years agoevas vector: cancel the transformation when null is passed.
ChunEon Park [Thu, 7 May 2015 11:02:01 +0000 (20:02 +0900)]
evas vector: cancel the transformation when null is passed.

9 years agoefl debug - clean up debugd and debug cli tool code proto handling
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 10:48:26 +0000 (19:48 +0900)]
efl debug - clean up debugd and debug cli tool code proto handling

this clenas up protocol handling to share common code and have more
compact and easier to maintain code on both sides here.

9 years agoeina debug - add more comments to debugd connection
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 08:23:38 +0000 (17:23 +0900)]
eina debug - add more comments to debugd connection

9 years agoeina debug - add comments
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 08:18:38 +0000 (17:18 +0900)]
eina debug - add comments

9 years agoefl debug - start on common file for efl_debug tools for protocol
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 08:14:24 +0000 (17:14 +0900)]
efl debug - start on common file for efl_debug tools for protocol

this should reduce duplication between debugd and debug tools

9 years agoeina_ddebug: Fix build for the case without all requirements for eina_debug
Stefan Schmidt [Fri, 8 May 2015 07:55:12 +0000 (09:55 +0200)]
eina_ddebug: Fix build for the case without all requirements for eina_debug

In eina_debug.h we only include the eina headsers when all defines are true
for backtrace, dlopen, unwind, etc. We still use Eina_Bool here when these
cases are not met. I just hit this case and failed the build.

9 years agoeina debug - clean up protocol handling inside eina
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 07:58:18 +0000 (16:58 +0900)]
eina debug - clean up protocol handling inside eina

9 years agoeina - start a much improved eina dbug infra and have eina_log use it
Carsten Haitzler (Rasterman) [Tue, 5 May 2015 02:35:16 +0000 (11:35 +0900)]
eina - start a much improved eina dbug infra and have eina_log use it

this makes eina_log give bt's for all error logs. this is very useful
in finding just where a problem happens. the problem int he past is
that these have not been too useful due to backtrace_symbols() being
"useless". thus use the eina_btlog tool i added too.

also started infra for a debug monitor that can use the backtrace
infra to collect runtime stats ANY TIME for a process (don't need to
run under a debugger).

@feat

9 years agoecore - ecore_pipe_wait timeout broken as it never adjusts while waiting
Carsten Haitzler (Rasterman) [Tue, 5 May 2015 10:28:14 +0000 (19:28 +0900)]
ecore - ecore_pipe_wait timeout broken as it never adjusts while waiting

if select gets interrupted it just waits again from the start because
it uses loop time not "now" time. this is wrong and makes timeout
waits possibly hang if enough things interrupt select without reading
data. this fixes that.

@fix

9 years agoefl - emotion modules - unbreak due to EAPI changes
Carsten Haitzler (Rasterman) [Fri, 8 May 2015 05:12:29 +0000 (14:12 +0900)]
efl - emotion modules - unbreak due to EAPI changes

emotion relied on Emotion.h's EAPI defs... now they have been removed
fix!

9 years agoMerge branch 'devs/devilhorns/ecore_drm'
Chris Michael [Thu, 7 May 2015 19:40:38 +0000 (15:40 -0400)]
Merge branch 'devs/devilhorns/ecore_drm'

Summary: Merge new 1.15 API functions for ecore_drm which will be used
in the E RandR config dialog.

NB: This is basically a set of API functions that are needed for
working with the new e_randr2 codebase in E. This makes the dialog
'usable' in E, however there is no API yet for "applying" those
settings changes. That will come shortly.

@feature

9 years agoRevert "autotools: enable make check per individual modules."
Stefan Schmidt [Thu, 7 May 2015 18:50:56 +0000 (20:50 +0200)]
Revert "autotools: enable make check per individual modules."

This reverts commit 35119e7bfdc7c13c2041293f3d0b2ebe1fb7c313.

Reverted to bring make check back in a working state. Also the way we
want to handle a more modular testing needs discussion.

9 years agoecore-drm: Add new API function to mark an output as primary
Chris Michael [Thu, 7 May 2015 15:37:54 +0000 (11:37 -0400)]
ecore-drm: Add new API function to mark an output as primary

Summary: This adds a new API function which we can use to mark a given
Ecore_Drm_Output as being the primary output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to find an output given a name
Chris Michael [Thu, 7 May 2015 15:31:46 +0000 (11:31 -0400)]
ecore-drm: Add API function to find an output given a name

Summary: This adds a new API function to find an Ecore_Drm_Output
which matches a given name.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Thu, 7 May 2015 13:24:15 +0000 (09:24 -0400)]
ecore-drm: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to get an output's crtc size
Chris Michael [Wed, 6 May 2015 17:19:08 +0000 (13:19 -0400)]
ecore-drm: Add API function to get an output's crtc size

Summary: This adds a new API function to return an output's crtc size.
This is mainly used for drm RandR config in E

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return primary output
Chris Michael [Wed, 6 May 2015 16:22:15 +0000 (12:22 -0400)]
ecore-drm: Add API function to return primary output

Summary: This adds a new API function to return the output which is
marked as the primary output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add support for a Primary Output
Chris Michael [Wed, 6 May 2015 16:15:56 +0000 (12:15 -0400)]
ecore-drm: Add support for a Primary Output

Summary: As 'primary' output support is not implemented in hardware,
we need to support this feature via software. For now, the first
output returned via libdrm will be marked as 'primary' until user
changes it via config

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Set drm client capabilities to support universal planes
Chris Michael [Wed, 6 May 2015 15:31:57 +0000 (11:31 -0400)]
ecore-drm: Set drm client capabilities to support universal planes

Summary: If we do not set client capabilities to support universal
planes, then libdrm does not expose the primary or cursor planes so
this adds a quick call to set DRM_CLIENT_CAP_UNIVERSAL_PLANES

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Cleanup plane debug output
Chris Michael [Wed, 6 May 2015 15:31:25 +0000 (11:31 -0400)]
ecore-drm: Cleanup plane debug output

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Set output connected property in the creation function
Chris Michael [Wed, 6 May 2015 13:41:03 +0000 (09:41 -0400)]
ecore-drm: Set output connected property in the creation function

Summary: Makes more sense to set the output's connected property
inside the function which creates outputs.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add some debug code to spit out planes and plane properties
Chris Michael [Wed, 6 May 2015 13:33:17 +0000 (09:33 -0400)]
ecore-drm: Add some debug code to spit out planes and plane properties

Summary: This adds a debug function to spit out planes and their
properties while debugging rotation support

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return output modes
Chris Michael [Tue, 5 May 2015 13:12:25 +0000 (09:12 -0400)]
ecore-drm: Add API function to return output modes

Summary: This adds a new API function to return a list of modes
supported on a given output

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return the edid of a given output
Chris Michael [Mon, 4 May 2015 19:03:47 +0000 (15:03 -0400)]
ecore-drm: Add API function to return the edid of a given output

Summary: This adds a new API function to return the EDID string of a
given output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return if a given output has a backlight
Chris Michael [Mon, 4 May 2015 18:41:18 +0000 (14:41 -0400)]
ecore-drm: Add API function to return if a given output has a backlight

Summary: This adds a new API function to call so we can check if a
given Ecore_Drm_Output has a backlight

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return the connector type of a given output
Chris Michael [Mon, 4 May 2015 18:26:47 +0000 (14:26 -0400)]
ecore-drm: Add API function to return the connector type of a given output

Summary: This adds a new API function to return the connector type of
an Ecore_Drm_Output

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add connector type to output structure
Chris Michael [Mon, 4 May 2015 18:22:10 +0000 (14:22 -0400)]
ecore-drm: Add connector type to output structure

Summary: This adds a connector type field to the Output structure.
This will be used in the Enlightenment Drm rendering code for RandR
config

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return output connected state
Chris Michael [Mon, 4 May 2015 18:13:21 +0000 (14:13 -0400)]
ecore-drm: Add API function to return output connected state

Summary: This adds a new API function to check if a given output is connected or not.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return the name of an output
Chris Michael [Mon, 4 May 2015 18:06:31 +0000 (14:06 -0400)]
ecore-drm: Add API function to return the name of an output

Summary: This adds a new API function to turn the name of a given Ecore_Drm_Output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add API function to return screen size range
Chris Michael [Mon, 4 May 2015 17:25:15 +0000 (13:25 -0400)]
ecore-drm: Add API function to return screen size range

Summary: This adds new API function to return the min & max width &
height of valid screen range for an Ecore_Drm_Device

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeolian: remove old property syntax support
Daniel Kolesa [Thu, 7 May 2015 16:35:33 +0000 (17:35 +0100)]
eolian: remove old property syntax support

9 years agoeolian: change all EFL .eo files to use new syntax for properties
Daniel Kolesa [Thu, 7 May 2015 15:36:45 +0000 (16:36 +0100)]
eolian: change all EFL .eo files to use new syntax for properties

9 years agoeolian: allow the new property syntax
Daniel Kolesa [Thu, 7 May 2015 13:57:46 +0000 (14:57 +0100)]
eolian: allow the new property syntax

9 years agoCheck a key repeat using xkb ruled keycode
jhyuni.kang [Thu, 7 May 2015 13:24:54 +0000 (09:24 -0400)]
Check a key repeat using xkb ruled keycode

Summary:
ecore_wayland get a key information using libxkbcommon's functions.
         Also generate key repeat check xkb keymap's information using xkb_keymap_key_repeats().
         But xkb rules reflect X broken keycodes, so offset by 8.
         In ecore_wayland backend, other xkb funtions using offset keycode
         but only use default keycode to check key repeat.
         So I fix it to use xkb ruled keycode.

Test Plan: Long press a key and watch repeated key events generate well

Reviewers: devilhorns, raster

Subscribers: cedric

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

9 years agoelua: use a minimal app to avoid loading eolian at runtime
Daniel Kolesa [Thu, 7 May 2015 10:56:59 +0000 (11:56 +0100)]
elua: use a minimal app to avoid loading eolian at runtime

Otherwise it would fail on systems with no Eolian installed.

@fix

9 years agoeolian: reserve @beta and @property
Daniel Kolesa [Thu, 7 May 2015 10:35:14 +0000 (11:35 +0100)]
eolian: reserve @beta and @property

9 years agoStatic deps unibreak: update to what will soon be version 3.
Tom Hacohen [Thu, 7 May 2015 09:53:11 +0000 (10:53 +0100)]
Static deps unibreak: update to what will soon be version 3.

Version 3 is not yet released, but this is on track to become it.
This is based on commit: a815e11f7ebf35b59278f783227a829ee4692760.

@feature.

9 years agoRevert "Static deps: Move unibreak to be an external dep."
Tom Hacohen [Thu, 7 May 2015 09:40:57 +0000 (10:40 +0100)]
Revert "Static deps: Move unibreak to be an external dep."

Apparently the Debian package, while up to date, for some reason does
not ship the .pc file (according to q66).
According to Stefan, Fedora doesn't even have libunibreak, but only the
previous naming and old version.

Will have to wait a few years more. :(

This reverts commit a2a9f33802a3923c1469789f66d5fdab1eaea943.

9 years agolz4: Update our internal copy to release r128
Stefan Schmidt [Thu, 7 May 2015 08:52:54 +0000 (10:52 +0200)]
lz4: Update our internal copy to release r128

Looking through the git log it is unclear which release we used before as nobody
stated it there. :/ We updated after the security issues last year so my best
guess is that we have something like r119.

To see what changed I now included the NEWS file and also the LICENSE file from
upstream. Upstream in now hosted here: https://github.com/Cyan4973/lz4 and
http://www.lz4.info

I recommend STRONGLY that you check if your distro ships liblz4 as an up to
date library package and use the --enable-liblz4 configure option to use the
system version. I consider making the system version default for upcoming
releases and only carry the internal one as fallback for systems that do not
provide it.

Fix T2374

9 years agoeet: Remove direct usage of lz4 as we use emile for this now.
Stefan Schmidt [Thu, 7 May 2015 08:28:58 +0000 (10:28 +0200)]
eet: Remove direct usage of lz4 as we use emile for this now.

Left over from the point where it got migrated to emile.

9 years agobuild: Do not show mkdir calls in silent mode
Stefan Schmidt [Thu, 7 May 2015 07:51:58 +0000 (09:51 +0200)]
build: Do not show mkdir calls in silent mode

Keep this noise out of the build ouput. Still visible in verbose mode.

9 years agodocs: Fix access to main elocation page from front page
Stefan Schmidt [Thu, 7 May 2015 07:38:12 +0000 (09:38 +0200)]
docs: Fix access to main elocation page from front page

9 years agoStatic deps: Move unibreak to be an external dep.
Tom Hacohen [Thu, 7 May 2015 09:02:40 +0000 (10:02 +0100)]
Static deps: Move unibreak to be an external dep.

We need any version of libunibreak. The first one has been released in mid 2012.
Even slow distros like ubuntu already have an LTS out with a good enough
version, so I consider this enough to remove the maintenance cost.
This has been discussed on IRC.

@feature

9 years agoevil: fix dladdr() implementation, add 2 unit tests for evil.
Vincent Torri [Wed, 29 Apr 2015 08:50:11 +0000 (10:50 +0200)]
evil: fix dladdr() implementation, add 2 unit tests for evil.

@fix

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