platform/upstream/efl.git
7 years agofix issue with patch D4981
Andy Williams [Sun, 25 Jun 2017 09:41:11 +0000 (10:41 +0100)]
fix issue with patch D4981

7 years agoTest: check gl API nullity before invoking deletion functions
Daniel Zaoui [Sun, 25 Jun 2017 08:23:35 +0000 (11:23 +0300)]
Test: check gl API nullity before invoking deletion functions

It happens when OpenGL ES 3.x is not supported.

@fix

7 years agoevas event grabber: add function to block stacking updates while visible
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:58 +0000 (17:43 -0400)]
evas event grabber: add function to block stacking updates while visible

@feature

7 years agoelm_list/genlist/gengrid: don't unselect items when moving the mouse out of them
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:58 +0000 (17:43 -0400)]
elm_list/genlist/gengrid: don't unselect items when moving the mouse out of them

this seems wrong since it's using smart object geometry to determine
event-based positioning within an edje object. considering it from a user pov,
it definitely is wrong because why would you deselect items based on mouse
movement?

ref D2622
ref da81eff8979bef066317984d606dd66bdba49717

@fix

7 years agoeina_log: make a log level of 0 disable the log domain
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:58 +0000 (17:43 -0400)]
eina_log: make a log level of 0 disable the log domain

this has always been specified in the docs as the means by which a log domain
is disabled

@fix

7 years agoelm_win: access wl seats in a more portable way
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:58 +0000 (17:43 -0400)]
elm_win: access wl seats in a more portable way

seat names are not guaranteed to be the same in every compositor so
this should not be hardcoded

7 years agoevas: check object layer existence before deref to avoid crash
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:58 +0000 (17:43 -0400)]
evas: check object layer existence before deref to avoid crash

@fix

7 years agoecore-wl2: do not send exit event on disconnect if servers exist
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:58 +0000 (17:43 -0400)]
ecore-wl2: do not send exit event on disconnect if servers exist

this kills the compositor.

@fix

7 years agoelm_cursor: store and reapply non-elm cursors when setting an elm cursor
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:58 +0000 (17:43 -0400)]
elm_cursor: store and reapply non-elm cursors when setting an elm cursor

when using elm with non-elm objects, any custom cursors would previously be
destroyed by any elm_entry widget upon mouse-in

@fix

7 years agoelm_box: unpack objects from internal evas box before elm reparent
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:57 +0000 (17:43 -0400)]
elm_box: unpack objects from internal evas box before elm reparent

this ensures that smart_parent_get() will not return the evas box for
any widget which overrides parent apis

7 years agoevas_box: add safety check for adding box children to multiple boxes
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:57 +0000 (17:43 -0400)]
evas_box: add safety check for adding box children to multiple boxes

this is guaranteed to cause a crash or equally bad behavior, so ensure an
error is raised

@fix

7 years agogengrid: implement reusable content based on genlist implementation
Mike Blumenkrantz [Fri, 23 Jun 2017 21:43:57 +0000 (17:43 -0400)]
gengrid: implement reusable content based on genlist implementation

@feature

7 years agogl_drm: Implement hardware plane support
Derek Foreman [Thu, 22 Jun 2017 17:48:45 +0000 (12:48 -0500)]
gl_drm: Implement hardware plane support

Adds the ability for gl_drm to place native surfaces on hardware planes.

7 years agoevas_render: Use hardware planes
Derek Foreman [Thu, 22 Jun 2017 17:46:16 +0000 (12:46 -0500)]
evas_render: Use hardware planes

This is a very simple proof of concept for using hardware planes for
evas image objects.

Right now only dmabuf objects will be dropped into planes, and they're
considered in the order they're in in the scene graph with no attention
paid to which objects will have the most benefit from being on a plane
at all.  There's nothing to prevent your mouse cursor from consuming the
only hardware plane capable of UHD video. :)

This is mostly just to help test the low level functionality in the
engines and ecore_drm2 that enable hardware planes.  Smarter plane usage
is coming.

7 years agoevas_object_image: Add support for direct scanout
Derek Foreman [Thu, 22 Jun 2017 17:39:24 +0000 (12:39 -0500)]
evas_object_image: Add support for direct scanout

Add functions for assigning hardware planes to evas image objects.

The unfortunate asymmetry of the code is due to plane assignment being
only fully verifiable by doing a test commit through ecore_drm2, so it's
simpler to have the "test" function also do the "assignment", and call
the release on failure to clean up after a failed test.

7 years agoevas_object_image: Track whether an image object supports direct scanout
Derek Foreman [Wed, 21 Jun 2017 20:06:01 +0000 (15:06 -0500)]
evas_object_image: Track whether an image object supports direct scanout

If an evas object is a wayland dmabuf, uses native surface 5 or higher,
and has a scanout handler set, then it meets the basic requirements for
placing on a hardware plane.

7 years agosoftware_generic: Add plane assign/release function pointers
Derek Foreman [Wed, 21 Jun 2017 19:12:40 +0000 (14:12 -0500)]
software_generic: Add plane assign/release function pointers

Functions to assign a plane for a native surface, and release a plane
that's been assigned to a native surface.

These are empty for now as they'll need to be overridden in any backend
that can handle planes.

7 years agonative surface: Add scanout handlers
Derek Foreman [Wed, 21 Jun 2017 19:10:20 +0000 (14:10 -0500)]
native surface: Add scanout handlers

When a native surface ends up on a hardware plane, the caller needs to
know about it so it can prevent the resource from being destroyed while
on scanout (which may cause an implicit page flip and a stall), and
so it knows that the content may have changed usage domains.

This adds stubs for dealing with this - only for wl dmabuf right now, but
it may be useful for other surface types later.

7 years agoecore_drm2: Add scanout status callbacks
Derek Foreman [Fri, 16 Jun 2017 21:32:45 +0000 (16:32 -0500)]
ecore_drm2: Add scanout status callbacks

This generates callbacks when a fb becomes scanned out on a hardware plane
or when it no longer is.

7 years agoecore_drm2: Add callbacks for plane assign/release
Derek Foreman [Fri, 16 Jun 2017 21:30:39 +0000 (16:30 -0500)]
ecore_drm2: Add callbacks for plane assign/release

E will need these to gate wayland buffer releases.

7 years agoecore_drm2: Add Fb deleted event
Derek Foreman [Fri, 16 Jun 2017 21:19:29 +0000 (16:19 -0500)]
ecore_drm2: Add Fb deleted event

7 years agoecore_drm2: Track number of times an fb is on scanout
Derek Foreman [Fri, 16 Jun 2017 21:17:56 +0000 (16:17 -0500)]
ecore_drm2: Track number of times an fb is on scanout

The same fb can be placed in multiple hardware planes, we need to keep
track of the number of planes it's on at any time so we can send events
to a compositor in a later commit.

7 years agoecore_drm2: Track whether an Ecore_Drm2_Plane has ever been on scanout
Derek Foreman [Fri, 16 Jun 2017 21:15:57 +0000 (16:15 -0500)]
ecore_drm2: Track whether an Ecore_Drm2_Plane has ever been on scanout

7 years agoecore_drm2: Move fb from plane state struct to plane struct
Derek Foreman [Fri, 16 Jun 2017 21:07:15 +0000 (16:07 -0500)]
ecore_drm2: Move fb from plane state struct to plane struct

The plane state struct needs the fb id for drm updates, and the plane
state can be updated even if it's pointed to by a dead plane.

Dead planes need to keep their fb so we can properly handle the fb
lifetime.

7 years agoecore_drm2: Don't clear plane fb on release
Derek Foreman [Fri, 16 Jun 2017 21:04:18 +0000 (16:04 -0500)]
ecore_drm2: Don't clear plane fb on release

We'll need this later for post-page flip bookkeeping, and nothing will
notice that it's not cleared now anyway.

7 years agoecore_drm2: Remove obsolete per output fb callback api
Derek Foreman [Thu, 15 Jun 2017 18:04:31 +0000 (13:04 -0500)]
ecore_drm2: Remove obsolete per output fb callback api

It's all beta API so I can throw this away now that there are no in-tree
users anymore.

7 years agoecore_drm2: Stop using the old per output release callbacks
Derek Foreman [Thu, 15 Jun 2017 18:03:16 +0000 (13:03 -0500)]
ecore_drm2: Stop using the old per output release callbacks

7 years agogl_drm ee: Move to new per fb status callbacks
Derek Foreman [Thu, 15 Jun 2017 18:02:21 +0000 (13:02 -0500)]
gl_drm ee: Move to new per fb status callbacks

Switch over to the per fb status callbacks as the old per output api is
about to be removed.

7 years agoecore_drm2: Update buffer release mechanism to send new status information
Derek Foreman [Thu, 15 Jun 2017 18:00:56 +0000 (13:00 -0500)]
ecore_drm2: Update buffer release mechanism to send new status information

Begin moving internals over to the new per fb status updates.

7 years agoecore_drm2: Add ecore_drm2_fb_status_handler_set
Derek Foreman [Thu, 15 Jun 2017 17:55:03 +0000 (12:55 -0500)]
ecore_drm2: Add ecore_drm2_fb_status_handler_set

The old per output release handler is no longer complicated enough.  In
the near future we'll need to be able to tell an engine that its fb has
been placed on scanout via hardware plane, or removed from a hardware
plane.

It's simpler to provide that information as well as release information
through a single callback.

7 years agogl_drm ee: move release fb callback
Derek Foreman [Thu, 15 Jun 2017 17:16:01 +0000 (12:16 -0500)]
gl_drm ee: move release fb callback

No functional change, just code motion.

7 years agoEfl.Ui.Image.Zoomable: move legacy APIs at the bottom of the file.
Amitesh Singh [Fri, 23 Jun 2017 04:11:54 +0000 (13:11 +0900)]
Efl.Ui.Image.Zoomable: move legacy APIs at the bottom of the file.

7 years agoEfl.Ui.Image.Zoomable: rename data get macros
Amitesh Singh [Fri, 23 Jun 2017 00:15:21 +0000 (09:15 +0900)]
Efl.Ui.Image.Zoomable: rename data get macros

7 years agoEfl.Ui.Slider: implement slider internal part class
Amitesh Singh [Thu, 22 Jun 2017 05:00:58 +0000 (14:00 +0900)]
Efl.Ui.Slider: implement slider internal part class

7 years agoedje: Improve error report with efl_part misuse
Jean-Philippe Andre [Thu, 22 Jun 2017 00:05:41 +0000 (09:05 +0900)]
edje: Improve error report with efl_part misuse

This improves a rare error message when a function is called on an
efl_part() that does not implement it. Example: calling a swallow
function on a non-swallow part.

This isn't entirely fool-proof but should already help quite a bit.

This also changes how the efl_part proxies are stored: the variable
is not reset to NULL every time we use it, instead we check it in
the del intercept.

Note: _part_reuse_error() can not be enabled inside
_internal_proxy_get because there are valid use cases such as:

  func1(efl_part(obj, part), func2(efl_part(obj, part), ...), ...)

Here we use two efl_part() at the same time, on the same object,
but we haven't entered "func1" yet when we are reaching the second
call to efl_part(). This is completely valid and there is pretty
much no way to detect this.

I think I will improve this later with a core function on
Efl.Object like "debug_string".

Ref T5584

7 years agoeo: Improve invalid EO ID error message
Jean-Philippe Andre [Thu, 22 Jun 2017 03:06:31 +0000 (12:06 +0900)]
eo: Improve invalid EO ID error message

This focus on the domain and ID bits is very confusing. Let's
keep it at the end of the message, and also try to guess whether
the object may have been deleted or simply doesn't belong to the
current thread.

7 years agoevas: Lower log level for animator tick cbs
Jean-Philippe Andre [Thu, 22 Jun 2017 02:47:42 +0000 (11:47 +0900)]
evas: Lower log level for animator tick cbs

This doesn't deserve to be INF, it's really low-level debug
information.

7 years agoEfl.Ui.Slider: move legacy APIs at the bottom of the file.
Amitesh Singh [Thu, 22 Jun 2017 02:11:50 +0000 (11:11 +0900)]
Efl.Ui.Slider: move legacy APIs at the bottom of the file.

7 years agoeina: make sure the eina_debug_private.h header is included into dist
Stefan Schmidt [Wed, 21 Jun 2017 16:16:05 +0000 (18:16 +0200)]
eina: make sure the eina_debug_private.h header is included into dist

This has been missing in the dist tarball and failed distcheck.

7 years agoCanvas text: set 'changed' on the object when text is inserted
Daniel Hirt [Tue, 20 Jun 2017 12:34:14 +0000 (15:34 +0300)]
Canvas text: set 'changed' on the object when text is inserted

This fixes missed updates with the "Ui.Text" when text was inserted.

7 years agoUi text: defer region show to job
Daniel Hirt [Tue, 20 Jun 2017 12:33:09 +0000 (15:33 +0300)]
Ui text: defer region show to job

This moves the region-show logic to the proper update job where
cursors are also updated.

7 years agoUi text: fix cursor api call
Daniel Hirt [Tue, 20 Jun 2017 12:31:08 +0000 (15:31 +0300)]
Ui text: fix cursor api call

This widget doesn't have a text part.

7 years agoCanvas layout: fix part text cursor geometry port
Daniel Hirt [Wed, 21 Jun 2017 07:47:08 +0000 (10:47 +0300)]
Canvas layout: fix part text cursor geometry port

Forgot to consider the edje object's offset when porting the code
to efl_part (see 98dad1a52b0c75c18191b069c87ebb6f493e74ca).
This fixes a few bugs, one of which is region_show for the scrollable
mode.

7 years agoslider: Fix slider legacy API
Jean-Philippe Andre [Wed, 21 Jun 2017 06:33:16 +0000 (15:33 +0900)]
slider: Fix slider legacy API

See 4e79dd0f02811a013b461d4839f14a48ee9b1c2f

That patch was absurd. Do not change the use of a legacy stable
API when you change an EO API. If you need to do that then there
is very clearly a problem in the patch.

This reverts the test case to use the legacy API (which in turn
calls the EO API anyway so both are tested).

Fixes T5587

7 years agoecore-wl2: Fix issue(s) of setting wrong event device
Chris Michael [Tue, 20 Jun 2017 15:59:36 +0000 (11:59 -0400)]
ecore-wl2: Fix issue(s) of setting wrong event device

As we may have both a pointer and touch device on a given system, we
need to accurately set event->device when sending mouse move, wheel,
down, and up events. Previous code here would always try to find a
mouse device first which could potentially end up setting the wrong
event->device (if a touch device also existed).

This patch fixes the issue by comparing the window used for the event
to our focused windows (either mouse or touch) and setting the proper
event->device based on that.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoexamples/elm: Use POSIX threads on Windows
Vincent Torri [Tue, 20 Jun 2017 05:29:24 +0000 (14:29 +0900)]
examples/elm: Use POSIX threads on Windows

7 years agoexamples/net: Fix compilation on Windows
Vincent Torri [Tue, 20 Jun 2017 05:19:13 +0000 (14:19 +0900)]
examples/net: Fix compilation on Windows

7 years agoexamples/net: Fix compilation on Windows (no getline)
Vincent Torri [Tue, 20 Jun 2017 05:17:09 +0000 (14:17 +0900)]
examples/net: Fix compilation on Windows (no getline)

Thnaks @vtorri who authored this patch

7 years agoexamples/net: Use PRIi64 where appropriate
Jean-Philippe Andre [Tue, 20 Jun 2017 05:16:40 +0000 (14:16 +0900)]
examples/net: Use PRIi64 where appropriate

Fixes a warning on Windows. Thanks @vtorri

7 years agocxx examples: Fix button example 00
Jean-Philippe Andre [Tue, 20 Jun 2017 05:09:57 +0000 (14:09 +0900)]
cxx examples: Fix button example 00

Text part API has changed.

7 years agoDocumentation for elm_code_widget_selection.
Sanjeev BA [Mon, 19 Jun 2017 20:54:33 +0000 (13:54 -0700)]
Documentation for elm_code_widget_selection.

Reviewers: jpeg, ajwillia.ms

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoevas: batman use legacy API only.
Cedric BAIL [Mon, 19 Jun 2017 20:51:13 +0000 (13:51 -0700)]
evas: batman use legacy API only.

7 years agoevas/vg: Fixed the build issue in evas_vg_simple example
smohanty [Mon, 19 Jun 2017 20:50:24 +0000 (13:50 -0700)]
evas/vg: Fixed the build issue in evas_vg_simple example

Reviewers: jpeg, vtorri

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoevas: fix version info for evas_language_direction_get
Youngbok Shin [Mon, 19 Jun 2017 20:47:40 +0000 (13:47 -0700)]
evas: fix version info for evas_language_direction_get

Summary:
The patch was created for EFL 1.18. But, it was merged for EFL 1.20.
@fix

Test Plan: N/A

Reviewers: herdsman, jpeg, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agojs: Update after Eolian_Unit API change
Lauro Moura [Mon, 5 Jun 2017 20:43:21 +0000 (17:43 -0300)]
js: Update after Eolian_Unit API change

7 years agojs: Update after many elm/efl.ui changes
Lauro Moura [Fri, 19 May 2017 00:23:58 +0000 (21:23 -0300)]
js: Update after many elm/efl.ui changes

- Win.Standard
- Photocam to Image.Zoomable rename
- Widget namespace changes (elm -> efl.ui)
- setText/setPartText changes (see 3eb649b18)

7 years agoEvas text: fix test with Oriya script
Daniel Hirt [Mon, 19 Jun 2017 06:49:19 +0000 (09:49 +0300)]
Evas text: fix test with Oriya script

We are not providing a font to test that specific script.
Commenting-out this test until we can find one with proper license.
This fixes the test suite fail case.

@fix

7 years agoEfl text cursor: move around a few definitions
Daniel Hirt [Thu, 15 Jun 2017 10:37:17 +0000 (13:37 +0300)]
Efl text cursor: move around a few definitions

Need to handle this with special care as Efl.Text.Cursor is used in
some functions that are specific to Efl.Canvas.Text, was well as
functions in Efl.Text.Cursor interface.

7 years agoEfl text format: change "halign" and "valign" to use enums
Daniel Hirt [Thu, 15 Jun 2017 09:30:55 +0000 (12:30 +0300)]
Efl text format: change "halign" and "valign" to use enums

Value-based alignment (e.g. 0.5, 0.3 etc) isn't very practical.
Horizontal and vertical alignments will be assigned with enums
"left", "center", "right", "auto", "locale", for horizontal alignment,
and "top", "center" and "bottom" for vertical alignment.

This changes the previously added "halign" and "valign" properties.

7 years agoCanvas text: fix default format feature
Daniel Hirt [Sun, 18 Jun 2017 07:13:05 +0000 (10:13 +0300)]
Canvas text: fix default format feature

Now that we can set the default parameters, there's no need to push
another one when having a style tag.

This fixes T5585.

7 years agotest_multibuttonentry: Fix name of smart event for expand state changed.
Woochan Lee [Mon, 19 Jun 2017 03:01:31 +0000 (12:01 +0900)]
test_multibuttonentry: Fix name of smart event for expand state changed.

Summary: There is no name of event for "shrink,state,changed"

Reviewers: jpeg, cedric, woohyun

Subscribers: cedric, jpeg

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

7 years agomultibuttonentry: Fix expand state changed callback called many times.
Woochan Lee [Mon, 19 Jun 2017 03:00:30 +0000 (12:00 +0900)]
multibuttonentry: Fix expand state changed callback called many times.

Summary:
The expand state changed callback has been called when layout property changed and other reason.
Even expand state is not changed.

So we need to check the current view state to call expand changed callback.
(We can't prevent calling the _shrink_mode_set() function. It needs to call the re-arrange internal items.)

Test Plan:
elemenatay_test - multibuttonentry.

Check the shrink, expand state.

Reviewers: jpeg, cedric, woohyun

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

7 years agoecore_evas: Document remaining new/get calls for misc. backends
Bryce Harrington [Mon, 19 Jun 2017 02:47:16 +0000 (11:47 +0900)]
ecore_evas: Document remaining new/get calls for misc. backends

Summary:
This completes the documentation for Ecore_Evas for all (non-deprecated)
APIs.

Note that ecore_evas_software_16_ddraw_new, ecore_evas_direct3d_new,
ecore_evas_gl_glew_new, and ecore_evas_sdl16_new are left undocumented
because while they're not declared as deprecated their implementations
are either missing or marked as obsolete or legacy.  I suspect a few of
the remaining routines are likely also obsolete but I added
documentation anyway.

Reviewers: cedric

Subscribers: jpeg

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

7 years agoexample: Add missing definition to invoke EO API
Jeeyong Um [Mon, 19 Jun 2017 04:19:30 +0000 (13:19 +0900)]
example: Add missing definition to invoke EO API

7 years agoeolian-cxx: Add constructor with default argument
Felipe Magno de Almeida [Sun, 18 Jun 2017 23:01:55 +0000 (20:01 -0300)]
eolian-cxx: Add constructor with default argument

Fixes compilation error in clang. T5588

7 years agoelementary: fix typos and warnings in my menu changes
Andy Williams [Sun, 18 Jun 2017 15:13:44 +0000 (16:13 +0100)]
elementary: fix typos and warnings in my menu changes

7 years agoeolian: function pointers
Lauro Moura [Fri, 7 Apr 2017 16:54:55 +0000 (13:54 -0300)]
eolian: function pointers

First steps toward explicit function pointer support in eolian.

To declare a function pointer type, use the following syntax, similar to
a regular eolian method declaration.

function FunctionName {
  params {
    ...
  }
  return: Return type
}

7 years agoeolian-cxx: Fix C++ generation errors with handle opaque types
Felipe Magno de Almeida [Sun, 18 Jun 2017 14:30:00 +0000 (11:30 -0300)]
eolian-cxx: Fix C++ generation errors with handle opaque types

7 years agoelementary: Balance menu operations with an open method
Andy Williams [Sat, 17 Jun 2017 17:00:34 +0000 (18:00 +0100)]
elementary: Balance menu operations with an open method

7 years agoelm_code: Fix select-all column calculations
Andy Williams [Sat, 17 Jun 2017 16:59:40 +0000 (17:59 +0100)]
elm_code: Fix select-all column calculations

7 years agoAdd support for select all with ctrl-a
Sanjeev BA [Sat, 17 Jun 2017 16:16:24 +0000 (17:16 +0100)]
Add support for select all with ctrl-a

Summary: Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

Test Plan: Test with edi.

Reviewers: ajwillia.ms, jpeg, cedric

Reviewed By: ajwillia.ms

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

7 years agoevas: add null checks for textblock stuff
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: add null checks for textblock stuff

this prevents a crash when starting verne but should be reverted when
a more appropriate fix can be put in place

ref T5585

7 years agotheme: set NOGRAB on all border event rects when e22 signal received
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
theme: set NOGRAB on all border event rects when e22 signal received

these are used in signal bindings and it's possible that a "resize" rect
could be set to trigger a move operation

7 years agobuild: add flag to disable elua
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
build: add flag to disable elua

build times are already insanely long, every little bit helps

@feature

7 years agoevas: Always send mouse,move after mouse,in to objects
Jean-Philippe Andre [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: Always send mouse,move after mouse,in to objects

Fixes T5582

7 years agoecore-drm2: add ecore_drm2_output_subpixel_get()
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
ecore-drm2: add ecore_drm2_output_subpixel_get()

@feature

7 years agoelput: remove keymap mmap+event
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
elput: remove keymap mmap+event

this was originally intended to allow some code to be moved out of the
compositor, but the idea turned out to be unfeasible since multiple
display backends need to be supported and not all related components
will provide similar functionality

7 years agoevas: store current pointer state to dummy seat data if seat detaches
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: store current pointer state to dummy seat data if seat detaches

ensure the pointer state is maintained when devices are removed and added

7 years agoevas: create dummy seat data for wl/drm outputs, store some pointer data
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: create dummy seat data for wl/drm outputs, store some pointer data

with async device init, it's possible for mouse in/out/move events to be added
by an application before the pointer devices are created. these are independent
of devices, so store the state and apply when pointer devices are added

fix T5531

7 years agoevas: change _evas_pointer_data_add() to return created pointer data
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: change _evas_pointer_data_add() to return created pointer data

7 years agoevas: redo Evas_Pointer_Data/Seat to be inlist-based
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: redo Evas_Pointer_Data/Seat to be inlist-based

simplify many internal lookups of pointer data and make hierarchy reflect
logical device hierarchy

7 years agoecore-evas: block buffer canvas events during deletion
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
ecore-evas: block buffer canvas events during deletion

internal evas is destroyed before engine delete function is called,
so do not refeed events received during this time

@fix

7 years agoefreet: don't raise ERR on empty file in efreet_xml_new()
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
efreet: don't raise ERR on empty file in efreet_xml_new()

this is not an error, there is nothing to parse

@fix

7 years agoevas: only feed canvas out/in when changing default pointer if pointer is in
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: only feed canvas out/in when changing default pointer if pointer is in

ref 6775b23212305c957f4447c708053585f361bb86

7 years agoecore-evas: use pointer device with mouse move events instead of seat
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
ecore-evas: use pointer device with mouse move events instead of seat

7 years agoevas: add seat-based focus interceptor
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: add seat-based focus interceptor

@feature

7 years agoevas: unify more complex conditional clauses in evas_events.c
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: unify more complex conditional clauses in evas_events.c

no functional changes

7 years agoevas: unify complex repeated conditional clauses in evas_events.c
Mike Blumenkrantz [Fri, 16 Jun 2017 19:03:09 +0000 (15:03 -0400)]
evas: unify complex repeated conditional clauses in evas_events.c

this code is unreadable

no functional changes

7 years agoreadme - fix docs url.
Carsten Haitzler (Rasterman) [Fri, 16 Jun 2017 09:40:44 +0000 (18:40 +0900)]
readme - fix docs url.

7 years agoEfl.Ui.Progressbar: rename data get macros.
Amitesh Singh [Fri, 16 Jun 2017 07:14:37 +0000 (16:14 +0900)]
Efl.Ui.Progressbar: rename data get macros.

7 years agoEfl.Ui.Check: rename data get macros
Amitesh Singh [Fri, 16 Jun 2017 07:11:42 +0000 (16:11 +0900)]
Efl.Ui.Check: rename data get macros

7 years agoEfl.Ui.Slider: rename data get macros
Amitesh Singh [Fri, 16 Jun 2017 07:07:27 +0000 (16:07 +0900)]
Efl.Ui.Slider: rename data get macros

7 years agoRevert "ecore-wl2: Add API to support setting window stack mode"
Chris Michael [Thu, 15 Jun 2017 17:09:34 +0000 (13:09 -0400)]
Revert "ecore-wl2: Add API to support setting window stack mode"

This commit reverts support for added API functions inside Ecore_Wl2
to support setting window stacking mode as per IRC discussion with
Cedric

This reverts commit 1359fc9e5feb7e2f9b0cdf10b25af43a6437b93b.

7 years agoRevert "ecore-evas-wayland: Add support for setting window stack mode"
Chris Michael [Thu, 15 Jun 2017 17:08:39 +0000 (13:08 -0400)]
Revert "ecore-evas-wayland: Add support for setting window stack mode"

This commit reverts support for setting window stacking mode from
ecore_evas_wayland as per IRC dicussion with cedric

This reverts commit a3cf0d3a54f54cccfb48dc2234dada147c30f419.

7 years agoecore-evas-wayland: Add support for setting window stack mode
Chris Michael [Thu, 15 Jun 2017 15:39:27 +0000 (11:39 -0400)]
ecore-evas-wayland: Add support for setting window stack mode

This patch adds support for updating ecore_wl2_window stack mode when
the ecore_evas_layer_set is called.

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-wl2: Add API to support setting window stack mode
Chris Michael [Thu, 15 Jun 2017 15:34:50 +0000 (11:34 -0400)]
ecore-wl2: Add API to support setting window stack mode

Small patch to add support for setting stack mode on a given window

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-wl2: Add API to get/set if a window is in floating mode
Chris Michael [Thu, 15 Jun 2017 15:07:48 +0000 (11:07 -0400)]
ecore-wl2: Add API to get/set if a window is in floating mode

Small patch to add API functions which allow getting/setting if a
window is in floating mode

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-wl2: Add API to set window role
Chris Michael [Thu, 15 Jun 2017 14:53:08 +0000 (10:53 -0400)]
ecore-wl2: Add API to set window role

Small patch to add support for setting a window role on a given window

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-evas-wayland: Add support for focus_skip_set
Chris Michael [Thu, 15 Jun 2017 14:42:28 +0000 (10:42 -0400)]
ecore-evas-wayland: Add support for focus_skip_set

This patch adds support for ecore_evas_focus_skip_set in the wayland
engine.

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-wl2: Add API to get if a window should ignore focus events
Chris Michael [Thu, 15 Jun 2017 14:35:45 +0000 (10:35 -0400)]
ecore-wl2: Add API to get if a window should ignore focus events

Small patch to add an API function which can be used to find out if a
given window is set to skip focus events.

"#divergence"

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>