platform/upstream/efl.git
8 years agoElm win: Forward pointer events from evas to window
Jean-Philippe Andre [Mon, 30 May 2016 10:51:31 +0000 (19:51 +0900)]
Elm win: Forward pointer events from evas to window

This will allow applications to listen to those events
on the whole window. Necessary since they won't have access
to Evas with EO APIs.

8 years agoEvas events: Add EO APIs for lock & modifiers
Jean-Philippe Andre [Mon, 30 May 2016 06:34:31 +0000 (15:34 +0900)]
Evas events: Add EO APIs for lock & modifiers

This moves Efl.Pointer.Event back to Evas. Originally I wanted
to share this class with Ecore but eventually I didn't need to
do so, since only ecore_evas (which depends on evas) really needs
access to these.

The internal data struct is not moved out of efl (yet?)

8 years agoEvas events: Replace calls to event feed with internal func
Jean-Philippe Andre [Mon, 30 May 2016 05:26:48 +0000 (14:26 +0900)]
Evas events: Replace calls to event feed with internal func

8 years agoEvas events: Pass Efl_Pointer_Event for proxy source events
Jean-Philippe Andre [Fri, 27 May 2016 11:06:06 +0000 (20:06 +0900)]
Evas events: Pass Efl_Pointer_Event for proxy source events

8 years agoEvas events: Forward more pointer events
Jean-Philippe Andre [Fri, 27 May 2016 07:21:13 +0000 (16:21 +0900)]
Evas events: Forward more pointer events

This continues the work started in the previous commit:
forward full event info (Efl_Pointer_Event) from evas to
the upper layers.

This also includes more support for IN and OUT.

8 years agoevas: send eo pointer events on mouse move
Jean-Philippe Andre [Thu, 12 May 2016 07:48:54 +0000 (16:48 +0900)]
evas: send eo pointer events on mouse move

This is still VERY experimental and not fully done yet.
All other pointer events need to be sent as well.

The legacy event system is used as a transportation mechanism,
as it is too hard to change the logic. This only adds an extra
eo event in case of move. Obviously for performance we might
want to listen to callback_add,del but that's an optimization
for later.

The whole point of sending those pointer events is to carry more
information than can be sent over legacy evas events, and unify
the events in a common format.

8 years agoEfl.Pointer.Event: Add dup() method to copy an event
Jean-Philippe Andre [Thu, 12 May 2016 06:07:49 +0000 (15:07 +0900)]
Efl.Pointer.Event: Add dup() method to copy an event

8 years agoecore_x: Pass in/out through ecore_input_evas
Jean-Philippe Andre [Wed, 11 May 2016 12:43:57 +0000 (21:43 +0900)]
ecore_x: Pass in/out through ecore_input_evas

This whole input system is a massive mess. It looks like spaghetti.
Long live the giant flying monster.

This commit changes how some events are propagated in X.

Before:
 ecore_x -> evas_event -> evas

After:
 ecore_x -> ecore_input_evas -> ecore_evas -> evas_event -> evas

There are still inconsistencies between events and between X and WL,
but ecore_evas should be used for all events since it rotates the
inputs.

8 years agoevas_events: Propagate more eo pointer events
Jean-Philippe Andre [Wed, 11 May 2016 11:26:07 +0000 (20:26 +0900)]
evas_events: Propagate more eo pointer events

This covers mouse in,out,cancel. Axis (joystick) is still
todo.

8 years agoefl: Simplify pointer event names + add missing
Jean-Philippe Andre [Wed, 11 May 2016 11:13:19 +0000 (20:13 +0900)]
efl: Simplify pointer event names + add missing

No more difference between touch & mouse.
Add axis, cancel, in and out.

8 years agoecore_evas: Pass mouse down,up,move with eo
Jean-Philippe Andre [Wed, 11 May 2016 08:28:26 +0000 (17:28 +0900)]
ecore_evas: Pass mouse down,up,move with eo

This way, ecore sends eo events to evas, which can then
be listened to by other clients (FIXME: the events will
need to be propagated from evas to the elm window).

Current support:
- mouse/multi down
- mouse/multi up
- mouse/multi move
- mouse wheel

8 years agoevas: Move event feed and input to legacy
Jean-Philippe Andre [Wed, 11 May 2016 07:21:49 +0000 (16:21 +0900)]
evas: Move event feed and input to legacy

8 years agoecore_evas: Feed evas events with eo (down, up)
Jean-Philippe Andre [Wed, 11 May 2016 05:54:11 +0000 (14:54 +0900)]
ecore_evas: Feed evas events with eo (down, up)

8 years agoecore_input: Pass all events through direct cb first
Jean-Philippe Andre [Wed, 11 May 2016 04:55:54 +0000 (13:55 +0900)]
ecore_input: Pass all events through direct cb first

Since the direct input event callback returns true if the
event has been processed, we can easily support legacy and
progressively implement full support for eo input events.

8 years agoecore_evas: Register direct input cb from modules
Jean-Philippe Andre [Wed, 11 May 2016 04:29:23 +0000 (13:29 +0900)]
ecore_evas: Register direct input cb from modules

If the ecore_evas modules were using
ecore_event_window_register() then they can also redirect
everything though the direct callback instead.

8 years agoecore_evas: Add private direct callback for ecore
Jean-Philippe Andre [Wed, 11 May 2016 04:01:54 +0000 (13:01 +0900)]
ecore_evas: Add private direct callback for ecore

All ecore_input_evas events should be passed through ecore_evas
in order to avoid any information loss between ecore and evas.

This is a private API.

8 years agoEvas: Extend pointer events and add legacy conversion routines
Jean-Philippe Andre [Tue, 10 May 2016 12:26:07 +0000 (21:26 +0900)]
Evas: Extend pointer events and add legacy conversion routines

To be honest, this commit is a bit of a mess since it's a
rebased version of some temporary work patches.

8 years agoEvas: Fix compilation warnings (enum implicit cast)
Jean-Philippe Andre [Fri, 29 Apr 2016 05:24:14 +0000 (14:24 +0900)]
Evas: Fix compilation warnings (enum implicit cast)

Moving enums to Efl renames them but keeps the value the same.

8 years agoEvas.Canvas: Move some event_feed to legacy
Jean-Philippe Andre [Thu, 28 Apr 2016 09:43:18 +0000 (18:43 +0900)]
Evas.Canvas: Move some event_feed to legacy

Paving the way to Efl.Pointer.Event...

8 years agoEfl: Add storage class Efl.Pointer.Event
Jean-Philippe Andre [Thu, 28 Apr 2016 08:31:46 +0000 (17:31 +0900)]
Efl: Add storage class Efl.Pointer.Event

This object is the data carried over in an event data pointer.

The private data should be accessible by Ecore and Evas, but
not externally. This means we should be able to easily extend
the feature set, adding more and more information, without
breaking API / ABI.

Also, this should allow applications to create fake input
events easily without exposing our internal structures, or
functions with more and more parameters (such as feed multi).

This is only a storage class, shouldn't contain any logic.
In the future, some logic may be added for gestures support
for instance, or input smoothing / resampling (eg. if input
frequency is 90Hz and screen refresh rate is 60Hz).

The aim is to replace:
- Evas_Event_Mouse_Xxx
- Evas_Event_Multi_Xxx
- Ecore_Event_Mouse_Xxx

We might want to also support Axis, Gestures, etc... with the
same model or even same storage class.

8 years agoEvas: EO-ify Evas_Device and partly move to Efl
Jean-Philippe Andre [Thu, 28 Apr 2016 08:08:14 +0000 (17:08 +0900)]
Evas: EO-ify Evas_Device and partly move to Efl

So, this is not a very clean solution, but this mostly
makes Evas_Device an Eo object of class Efl.Input.Device.
Since evas_device relies on some Evas knowledge (evas
callbacks, canvas private data), it can't be fully moved
to lib/efl/.

Making the input device an interface rather than a class
was also not a great solution, as the goal is to share
the data structure around EFL internals (Ecore and Evas).

8 years agoefl test suite - test args event and args values
Carsten Haitzler (Rasterman) [Tue, 31 May 2016 08:16:14 +0000 (17:16 +0900)]
efl test suite - test args event and args values

8 years agoelementary: Add a preview for icon theme
Andy Williams [Mon, 30 May 2016 22:45:56 +0000 (23:45 +0100)]
elementary: Add a preview for icon theme

Not yet solved how to load an elm theme preview...

8 years agoeina: Add non-allocated version to benchmark
Felipe Magno de Almeida [Mon, 30 May 2016 20:01:40 +0000 (17:01 -0300)]
eina: Add non-allocated version to benchmark

8 years agoeina: Add mempool usage in benchmark
Felipe Magno de Almeida [Mon, 30 May 2016 19:22:27 +0000 (16:22 -0300)]
eina: Add mempool usage in benchmark

8 years agoeio: Fix eio_test_job_xattr test
Felipe Magno de Almeida [Mon, 30 May 2016 18:54:01 +0000 (15:54 -0300)]
eio: Fix eio_test_job_xattr test

Test wasn't enabled when modifications to function prototypes to
eio_job_file_xattr_list and eio_job_file_xattr properties were
made, so it got pushed inadvertidly without the necessary
changes to user code.

8 years agoelm_image: add a new eo property 'align' and implement related functions
Jaeun Choi [Fri, 27 May 2016 11:58:25 +0000 (20:58 +0900)]
elm_image: add a new eo property 'align' and implement related functions

previously, elm_image refered to align values
set by evas_object_size_hint_align_set function
to position the internal image inside an image object.
size hint value is for positioning the image object inside its container object,
so the previous code is inappropriate.
this commit adds 'align' property for positioning the internal image.

8 years agoelm init - add args event with ne efl loop args
Carsten Haitzler (Rasterman) [Mon, 30 May 2016 10:55:43 +0000 (19:55 +0900)]
elm init - add args event with ne efl loop args

8 years agoefl loop - add an args event and ability to produce it
Carsten Haitzler (Rasterman) [Mon, 30 May 2016 10:47:21 +0000 (19:47 +0900)]
efl loop - add an args event and ability to produce it

this is an args event. right now we don't use it, but this should be
done by some of the setup/init of an app and then produce an args
event. the idea would be that this can be used by single-instance apps
like web browsers, terminology to treat launch as an event.

8 years agoAdded feature to bring focused item to viewport on click
godly.talias [Mon, 30 May 2016 05:39:36 +0000 (14:39 +0900)]
Added feature to bring focused item to viewport on click

Summary:
Currently when an item in gengrid is focused and if it is scrolled
off the viewport halfly and if it user clicks on it, it won't be
scrolled into viewport. Only non-focused items will be scrolled into
viewport when clicked.

Test Plan:
elementary_test -> Gengrid focus -> Click an item ->
           Scroll it little bit out of viewport -> Click again

Reviewers: prince.dubey, shilpasingh, cedric, raster, SanghyeonLee

Subscribers: seoz, rajeshps, govi, jpeg

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

8 years agoeet_image.c : Fix build warning
JunsuChoi [Mon, 30 May 2016 04:38:18 +0000 (13:38 +0900)]
eet_image.c : Fix build warning

Summary: initialized two variable for uninitialized build warning

Test Plan: N/A

Reviewers: woohyun, raster

Reviewed By: raster

Subscribers: cedric, jpeg

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

8 years agoelc_naviframe: Hide preserved content after its item is popped.
Jaehyun Cho [Mon, 30 May 2016 04:53:40 +0000 (13:53 +0900)]
elc_naviframe: Hide preserved content after its item is popped.

Previously, preserved content was shown unexpectedly after its naviframe
item was popped because the preserved content was not removed but was
unset from its naviframe item.

Since popped naviframe item becomes hidden on the screen, the preserved
content of the popped naviframe item should become hidden by default as
well.

8 years agoelm: Fix efl_part inheritance
Jean-Philippe Andre [Mon, 30 May 2016 03:28:18 +0000 (12:28 +0900)]
elm: Fix efl_part inheritance

So, I was storing a single "sd" pointer (class private data)
but using it in two different places, ie. as if it were two
different classes. Crashes happened, complaints were heard.

See T3714.

8 years agoElementary: fix the indentation
Jaehwan Kim [Mon, 30 May 2016 02:36:49 +0000 (11:36 +0900)]
Elementary: fix the indentation

8 years agoelm_hover: Fix crash with efl_part
Jean-Philippe Andre [Mon, 30 May 2016 02:14:43 +0000 (11:14 +0900)]
elm_hover: Fix crash with efl_part

This fixes T3714

Efl.Part uses a basic inheritance for layout objects, but somehow
this completely falls apart when the child class overrides all
the functions. Weird. I'll check that more.

8 years agowidget: set the parent-child relation again, when the widget is unset
Jaehwan Kim [Mon, 30 May 2016 00:47:39 +0000 (09:47 +0900)]
widget: set the parent-child relation again, when the widget is unset

Summary:
When the widget is unset from any container, a parent of the widget
doesn't exist. So we should set its parent to the top object.
But if we just set sd->parent, the parent can not find the widget as a
child. So the container widgets set the parent-child relation when
sub object is unset.
This commit is related to 0822ad2195d335d65208856e6e590ac47691d920.

@fix

Test Plan:
Check this issue.
https://phab.enlightenment.org/D3855
The unset widget don't added any widget as child.
So when it set scale, the widget can not reload the thmeme.

Reviewers: raster, cedric, Hermet, reutskiy.v.v

Reviewed By: Hermet, reutskiy.v.v

Subscribers: cedric, jpeg

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

Conflicts:
src/lib/elementary/elm_mapbuf.c

8 years agoFDO icons: better icon for "preferences-other"
Dave Andreoli [Sun, 29 May 2016 14:55:13 +0000 (16:55 +0200)]
FDO icons: better icon for "preferences-other"

This is the icon apps should use for their settings

8 years agoeina_btlog: handle objective-c class methods
Jean Guyomarc'h [Sat, 28 May 2016 20:45:01 +0000 (22:45 +0200)]
eina_btlog: handle objective-c class methods

Class methods signatures start with a '+'.

8 years agoector: fix redefinition of type and bizarre typedef
Jean Guyomarc'h [Sat, 28 May 2016 20:15:22 +0000 (22:15 +0200)]
ector: fix redefinition of type and bizarre typedef

Maybe there is a trick here I am not aware of, but
redefining a type as itself seems a mistake to me.
This raised a warning anyway. Now it's gone.

8 years agoector: fix redefinition of types
Jean Guyomarc'h [Sat, 28 May 2016 20:15:00 +0000 (22:15 +0200)]
ector: fix redefinition of types

8 years agoevas: fix warning: redefinition of types
Jean Guyomarc'h [Sat, 28 May 2016 20:13:19 +0000 (22:13 +0200)]
evas: fix warning: redefinition of types

Fixes warnings raised by cland such as:
warning: redefinition of typedef 'Efl_VG' is a C11 feature
[-Wtypedef-redefinition]

8 years agoeina: fix warning when clockid is not defined
Jean Guyomarc'h [Sat, 28 May 2016 19:49:33 +0000 (21:49 +0200)]
eina: fix warning when clockid is not defined

Unused parameter was unused...

8 years agoeina_btlog: add Mac OS X support for backtrace
Jean Guyomarc'h [Sat, 28 May 2016 16:26:10 +0000 (18:26 +0200)]
eina_btlog: add Mac OS X support for backtrace

This was actually difficult...
Mac OS X can use addr2line (sometimes called gaddr2line in
function of the package managers). However, addr2line does
NOT handle specific cases.

It was therefore necessary to use Mac OS X' own tool: atos,
which gracefully handles all backtraces, including the one
containing objective-c messages or fat archives.

eina_btlog now tests different utilities one by one, and
determines whether it is supported or not.

Fixes T3711

8 years agoautotools: remove random echo
Jean Guyomarc'h [Sat, 28 May 2016 13:02:28 +0000 (15:02 +0200)]
autotools: remove random echo

It seems it was a debug echo that was never removed.

8 years agoautotools: fix use of EFL_WITH_BIN
Jean Guyomarc'h [Sat, 28 May 2016 12:29:45 +0000 (14:29 +0200)]
autotools: fix use of EFL_WITH_BIN

EFL_WIN_BIN takes only two arguments.

8 years agoeina: make eina backtrace portable
Jean Guyomarc'h [Sat, 28 May 2016 11:50:13 +0000 (13:50 +0200)]
eina: make eina backtrace portable

Backtrace relied on non-portable code.
Platform-specific code is now enclosed
within macros defined at configuration-time.

8 years agoautotools: check for sched_getcpu()
Jean Guyomarc'h [Sat, 28 May 2016 11:35:54 +0000 (13:35 +0200)]
autotools: check for sched_getcpu()

sched_getcpu() is glibc-only, so not portable. Mac OS X
does not have it, and has no obvious replacement function.

This commit will allow future code to test for the existence
of this function, to provide fallbacks instead of making
compilation fail.

8 years agoautotools: improve libunwind detection
Jean Guyomarc'h [Sat, 28 May 2016 11:07:22 +0000 (13:07 +0200)]
autotools: improve libunwind detection

Libuwind may not be shipped with a pkg-config file.
It can be distributed on the system, but the autotools
would fail to detect it because it relied only on pkg-config.

We now first check with pkg-config, and then try to compile and
link a program using libuwind to see if it is supported anyway.

This is a first step towards a working eina_log_backtrace on
Mac OS X.

8 years agoautotools: improve libunwind detection
Jean Guyomarc'h [Sat, 28 May 2016 11:07:22 +0000 (13:07 +0200)]
autotools: improve libunwind detection

Libuwind may not be shipped with a pkg-config file.
It can be distributed on the system, but the autotools
would fail to detect it because it relied only on pkg-config.

We now first check with pkg-config, and then try to compile and
link a program using libuwind to see if it is supported anyway.

This is a first step towards a working eina_log_backtrace on
Mac OS X.

8 years agoeio: fix build break.
Hermet Park [Sat, 28 May 2016 10:08:03 +0000 (19:08 +0900)]
eio: fix build break.

there were missing eo headers.
fix and make it work again.

8 years agoautotools: fix configuration of Ecore_Cocoa
Jean Guyomarc'h [Sat, 28 May 2016 08:52:09 +0000 (10:52 +0200)]
autotools: fix configuration of Ecore_Cocoa

On Mac OS X, we are using OBJC, not GNU-OBJC.
This test seems unnecessary as well, as a longuage tests
and a linking test are performed later.

Fixes T3710.

8 years agoElm Image: The introduction of elm_image_scale_type broke elm. Make TYPE_FILL the...
Stephen Houston [Sat, 28 May 2016 02:38:06 +0000 (21:38 -0500)]
Elm Image: The introduction of elm_image_scale_type broke elm. Make TYPE_FILL the default.

The default scale type should not be none as this breaks elm icon and elm image as it doesn't follow the default view of elm image before elm image scale was added.  The default behavior is fill so this commit makes fill the default.

8 years agoElm Win legacy: Fix wrong function names
Dave Andreoli [Fri, 27 May 2016 19:57:04 +0000 (21:57 +0200)]
Elm Win legacy: Fix wrong function names

This fixes errors from 2 commits:
ec464939d9b8e4daabb55fab07e369a7e00cc941
589eae9a8bff9aa160df61656a7faab8bd2b9169

Ji-Youn Park: SPANK!

8 years agoMerge branch 'devs/devilhorns/ecore_drm2'
Chris Michael [Fri, 27 May 2016 15:58:51 +0000 (11:58 -0400)]
Merge branch 'devs/devilhorns/ecore_drm2'

This new Ecore_Drm2 library is going to replace the existing Ecore_Drm.
This will refactor a lot of the code, bring improvements over the existing API,
and provide additional support for missing features such as
atomic modeset, nuclear pageflip, and hardware planes support.

@feature

8 years agoecore-drm2: Add API functions to support cacheing of context & keymap
Chris Michael [Fri, 27 May 2016 13:55:11 +0000 (09:55 -0400)]
ecore-drm2: Add API functions to support cacheing of context & keymap

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-evas-drm: Fix issue of mouse pointer not centering on startup
Chris Michael [Thu, 26 May 2016 14:46:40 +0000 (10:46 -0400)]
ecore-evas-drm: Fix issue of mouse pointer not centering on startup

This patch fixes an issue where starting Enlightenment would not
center the mouse pointer. Basically the issue is that we cannot warp
the mouse pointer until After the ee->prop.window has been set else
E will not process the mouse_move event

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to calibrate input devices
Chris Michael [Thu, 26 May 2016 14:43:35 +0000 (10:43 -0400)]
ecore-drm2: Add API function to calibrate input devices

This adds a new API function that Ecore_Evas can call to calibrate
input devices given size of the output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: update to latest elput
Mike Blumenkrantz [Tue, 24 May 2016 20:18:46 +0000 (16:18 -0400)]
ecore-drm2: update to latest elput

8 years agoecore-drm2: perform logind connection after finding device path in ecore_drm2_device_find
Mike Blumenkrantz [Mon, 23 May 2016 16:53:49 +0000 (12:53 -0400)]
ecore-drm2: perform logind connection after finding device path in ecore_drm2_device_find

8 years agoecore-drm2: Add API function to set left-handed mouse mode
Chris Michael [Tue, 24 May 2016 13:32:21 +0000 (09:32 -0400)]
ecore-drm2: Add API function to set left-handed mouse mode

This commit adds an API function used to set a mouse to be left-handed

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas-drm: Fix occasoinaly freezes
Derek Foreman [Fri, 20 May 2016 16:56:38 +0000 (11:56 -0500)]
evas-drm: Fix occasoinaly freezes

We need to continue to tick even if we can't find a buffer - otherwise
we'll stop updating forever.

We also need to reset buffer busy bits to 0 if we run out of buffers or
we'll never try to assign one.  (The page flip handler would eventually
clear the busy bit for the current buffer, but a few lines ago we just
set that to NULL so it will never happen...)

8 years agoevas-drm: Don't re-use the current buffer immediately
Derek Foreman [Fri, 20 May 2016 16:46:46 +0000 (11:46 -0500)]
evas-drm: Don't re-use the current buffer immediately

If we don't block the current buffer from being assigned to the new
current buffer we'll end up rendering into the same buffer over and over
and never actually double buffer.

8 years agoecore-drm2: Check return of elput_manager_open
Chris Michael [Sat, 14 May 2016 08:13:38 +0000 (04:13 -0400)]
ecore-drm2: Check return of elput_manager_open

We should check to make sure that opening the device has succeeded
before trying to continue

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Initialize elput input when device gets opened
Chris Michael [Wed, 11 May 2016 13:45:38 +0000 (09:45 -0400)]
ecore-drm2: Initialize elput input when device gets opened

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Fix potential invalid access to output current_mode
Chris Michael [Wed, 11 May 2016 13:43:53 +0000 (09:43 -0400)]
ecore-drm2: Fix potential invalid access to output current_mode

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to get screen size range
Chris Michael [Wed, 11 May 2016 13:42:42 +0000 (09:42 -0400)]
ecore-drm2: Add API function to get screen size range

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to return available crtcs
Chris Michael [Wed, 11 May 2016 13:41:21 +0000 (09:41 -0400)]
ecore-drm2: Add API function to return available crtcs

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to get possible crtc of a given output
Chris Michael [Wed, 11 May 2016 13:39:46 +0000 (09:39 -0400)]
ecore-drm2: Add API function to get possible crtc of a given output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API to return current fb used on a given output
Chris Michael [Wed, 11 May 2016 13:37:50 +0000 (09:37 -0400)]
ecore-drm2: Add API to return current fb used on a given output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API to return current resolution of a given output
Chris Michael [Wed, 11 May 2016 13:36:34 +0000 (09:36 -0400)]
ecore-drm2: Add API to return current resolution of a given output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to return connector type of an output
Chris Michael [Wed, 11 May 2016 13:34:32 +0000 (09:34 -0400)]
ecore-drm2: Add API function to return connector type of an output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to get cloned & connected properties of an output
Chris Michael [Wed, 11 May 2016 13:33:15 +0000 (09:33 -0400)]
ecore-drm2: Add API function to get cloned & connected properties of an output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API functions to get name & model of an output
Chris Michael [Wed, 11 May 2016 13:31:38 +0000 (09:31 -0400)]
ecore-drm2: Add API functions to get name & model of an output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to set the mode of an output
Chris Michael [Wed, 11 May 2016 13:29:48 +0000 (09:29 -0400)]
ecore-drm2: Add API function to set the mode of an output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to return information about a given output mode
Chris Michael [Wed, 11 May 2016 13:28:20 +0000 (09:28 -0400)]
ecore-drm2: Add API function to return information about a given output mode

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to return list of output modes for a given output
Chris Michael [Wed, 11 May 2016 13:26:52 +0000 (09:26 -0400)]
ecore-drm2: Add API function to return list of output modes for a given output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API function to return physical size of a given output
Chris Michael [Wed, 11 May 2016 13:25:36 +0000 (09:25 -0400)]
ecore-drm2: Add API function to return physical size of a given output

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API functions to get/set if an output is enabled
Chris Michael [Wed, 11 May 2016 13:24:12 +0000 (09:24 -0400)]
ecore-drm2: Add API functions to get/set if an output is enabled

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API functions to get/set if an output is primary
Chris Michael [Wed, 11 May 2016 13:21:17 +0000 (09:21 -0400)]
ecore-drm2: Add API functions to get/set if an output is primary

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelementary: Port elementary to use Ecore_Drm2
Chris Michael [Wed, 18 May 2016 18:33:37 +0000 (14:33 -0400)]
elementary: Port elementary to use Ecore_Drm2

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-evas: Port ecore_evas drm engine to use Ecore_Drm2 library
Chris Michael [Tue, 3 May 2016 16:03:00 +0000 (12:03 -0400)]
ecore-evas: Port ecore_evas drm engine to use Ecore_Drm2 library

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas-engines: Port evas drm engines to use Ecore_Drm2 library
Chris Michael [Tue, 3 May 2016 16:02:20 +0000 (12:02 -0400)]
evas-engines: Port evas drm engines to use Ecore_Drm2 library

This patch ports the evas drm and gl_drm engines to use the new
Ecore_Drm2 library

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API functions needed to port Ecore_Evas drm
Chris Michael [Wed, 11 May 2016 13:07:48 +0000 (09:07 -0400)]
ecore-drm2: Add API functions needed to port Ecore_Evas drm

This patch adds 2 new API functions which are required by Ecore_Evas
in order for it to function with drm. These API functions allow for
restricting pointer movement, and for setting the window id which will
be used when sending input events

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add drm2 event for session activation
Chris Michael [Mon, 9 May 2016 16:47:02 +0000 (12:47 -0400)]
ecore-drm2: Add drm2 event for session activation

This patch adds a new Ecore_Drm2_Event_Activate that can be raised to
inform Enlightenment that a session has been activated or suspended so
that rendering can be paused/resumed

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API functions to get and set pointer position
Chris Michael [Wed, 4 May 2016 15:03:15 +0000 (11:03 -0400)]
ecore-drm2: Add API functions to get and set pointer position

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API functions to work with framebuffer objects
Chris Michael [Mon, 2 May 2016 15:45:39 +0000 (11:45 -0400)]
ecore-drm2: Add API functions to work with framebuffer objects

This patch adds support for creating, deleting, and manipulating
framebuffer objects via exposed API.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API functions to work with outputs
Chris Michael [Mon, 2 May 2016 15:26:44 +0000 (11:26 -0400)]
ecore-drm2: Add API functions to work with outputs

This patch adds support for creating, destroying, and otherwise
working with outputs via exposed API functions.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add API functions to work with a drm device
Chris Michael [Mon, 2 May 2016 14:40:47 +0000 (10:40 -0400)]
ecore-drm2: Add API functions to work with a drm device

This commit adds new API functions to find, open, and close a drm
device, along with API functions to retrieve clock_id and cursor size.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Add start of Ecore_Drm2 library
Chris Michael [Mon, 2 May 2016 14:21:00 +0000 (10:21 -0400)]
ecore-drm2: Add start of Ecore_Drm2 library

This new library is going to replace the existing Ecore_Drm. This will
refactor a lot of the code, bring improvements over the existing API,
and provide additional support for missing features.

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoefl - ecore c+ ecore-imf - fix odd case input when faking a real event
Carsten Haitzler (Rasterman) [Fri, 27 May 2016 14:55:24 +0000 (23:55 +0900)]
efl - ecore c+ ecore-imf - fix odd case input when faking a real event

so ibus module for ecore-imf likes to send an x event back to
ourselves faking a key... this works unless we are looking at
modifiers that make make for odd combos with keysyms turned into
keycodes. so actualyl use the correct original keycode plus state
unless we are having to explicitly send a keysym from ibus core.

this fixes T3703

@fix

8 years agoelput: Add API function to support caching of existing keymap
Chris Michael [Fri, 27 May 2016 13:17:46 +0000 (09:17 -0400)]
elput: Add API function to support caching of existing keymap

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Add API function to support caching of an xkb_context
Chris Michael [Fri, 27 May 2016 13:12:53 +0000 (09:12 -0400)]
elput: Add API function to support caching of an xkb_context

@feature

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelm_win: clean elm apis related with rotation.
Ji-Youn Park [Fri, 27 May 2016 08:13:08 +0000 (16:43 +0830)]
elm_win: clean elm apis related with rotation.

elm_win only support two kind of apis.
1. elm_win_screen_rotation_get
this api is used to detect screen rotation before app doing something before rotation event.
for example, app can query rotation before deciding there layout.
2. elm_win_available_rotation_set/get
like video app, can set only landscape mode if they need.

8 years agoelm_win: remove elm_win_wm_manual_rotation_done feature from eo.
Ji-Youn Park [Fri, 27 May 2016 05:55:50 +0000 (14:25 +0830)]
elm_win: remove elm_win_wm_manual_rotation_done feature from eo.

this kind of manual rotation_done api don't need to public api now.
under the window deal with rotation job automatically.

8 years agoelm_win: Code simplification
Jean-Philippe Andre [Wed, 27 Apr 2016 06:21:49 +0000 (15:21 +0900)]
elm_win: Code simplification

Simplify ELM_WIN_DATA_GET_OR_RETURN

8 years agoSepartor: use orientation APIs
Yeshwanth Reddivari [Fri, 27 May 2016 04:41:12 +0000 (10:11 +0530)]
Separtor: use orientation APIs

Summary: Use orientation APIs instead of horizontal get/set apis.

Test Plan: elementary_test -to separator

Reviewers: jpeg, cedric, Hermet, raster, singh.amitesh

Reviewed By: singh.amitesh

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

8 years agoeolian-cxx: Added tests for wrapper conversion in C++ API
Felipe Magno de Almeida [Thu, 26 May 2016 19:47:20 +0000 (16:47 -0300)]
eolian-cxx: Added tests for wrapper conversion in C++ API

8 years agoeolian-cxx: Fixed lookup of class types
Felipe Magno de Almeida [Thu, 26 May 2016 19:47:04 +0000 (16:47 -0300)]
eolian-cxx: Fixed lookup of class types

8 years agoeolian-cxx: Removed useless commented code
Felipe Magno de Almeida [Thu, 26 May 2016 19:46:40 +0000 (16:46 -0300)]
eolian-cxx: Removed useless commented code

8 years agoeina-cxx: Added crange_array template typedef
Felipe Magno de Almeida [Thu, 26 May 2016 19:46:23 +0000 (16:46 -0300)]
eina-cxx: Added crange_array template typedef