platform/upstream/efl.git
7 years agoedje_cc: when first parameter is a string and the second one a range, just reuse...
Cedric BAIL [Mon, 5 Jun 2017 18:56:46 +0000 (11:56 -0700)]
edje_cc: when first parameter is a string and the second one a range, just reuse code.

7 years agoemile: SSL state should fallthrough to avoid duplication of logic.
Cedric BAIL [Mon, 5 Jun 2017 18:55:42 +0000 (11:55 -0700)]
emile: SSL state should fallthrough to avoid duplication of logic.

7 years agoemile: fallthrough is legal here as we handle fallback case when caller doesn't know...
Cedric BAIL [Mon, 5 Jun 2017 18:54:54 +0000 (11:54 -0700)]
emile: fallthrough is legal here as we handle fallback case when caller doesn't know about GRY8.

7 years agoeina: add EINA_FALLTHROUGH to disable warning on useful case serie with no break.
Cedric BAIL [Mon, 5 Jun 2017 18:51:59 +0000 (11:51 -0700)]
eina: add EINA_FALLTHROUGH to disable warning on useful case serie with no break.

GCC has started introducing a detection for series of case in a switch statement
without break for each case. We do use that trick a lot to reduce our code base.
Even if in most case we have documented this so that people using coverity don't
try to fix it. Now with GCC we need to silence it properly to avoid future
problem.

7 years agoecore_wl2: silence gcc warning.
Cedric BAIL [Mon, 5 Jun 2017 18:51:21 +0000 (11:51 -0700)]
ecore_wl2: silence gcc warning.

Code is correct, but gcc can not follow the branch if and believe it
is worth triggering a warning.

7 years agoeina: silence gcc warning.
Cedric BAIL [Mon, 5 Jun 2017 18:15:23 +0000 (11:15 -0700)]
eina: silence gcc warning.

Code is correct and won't lead to a case where size is > 0 and buffer
isn't set, but gcc can't see the relation between both variable.

7 years agoevas/examples: add intro for evas-event-filter.c example
Bryce Harrington [Mon, 5 Jun 2017 18:13:02 +0000 (11:13 -0700)]
evas/examples: add intro for evas-event-filter.c example

Reviewers: cedric

Reviewed By: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoevas/examples: fix minor typo 'whe'
Bryce Harrington [Mon, 5 Jun 2017 18:12:32 +0000 (11:12 -0700)]
evas/examples: fix minor typo 'whe'

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoexamples/evas: add tutorial commentary for evas-init-shutdown
Bryce Harrington [Mon, 5 Jun 2017 18:11:35 +0000 (11:11 -0700)]
examples/evas: add tutorial commentary for evas-init-shutdown

Summary:
This is the most basic of the Evas examples and serves as the starting
point for new Evas users.  Since this targets neophytes, we can afford
to be much more detailed in commentary.

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoexamples/evas: add a README
Bryce Harrington [Mon, 5 Jun 2017 18:11:01 +0000 (11:11 -0700)]
examples/evas: add a README

Summary:
Categorize the examples by topic, and identify certain examples as
introductory; these can be commented more verbosely than the other
examples.

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewers: cedric

Reviewed By: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoeldbus: add test suite for eldbus (eldbus_message*)
Mykola Solyanko [Mon, 5 Jun 2017 18:10:22 +0000 (11:10 -0700)]
eldbus: add test suite for eldbus (eldbus_message*)

Summary:
add tests for next API
eldbus_message_arguments_vget()
eldbus_message_arguments_append()
eldbus_message_error_get()
eldbus_message_from_eina_value()
eldbus_message_iter_struct_like_to_eina_value()
eldbus_message_iter_arguments_vappend()
eldbus_message_iter_arguments_vget()
eldbus_message_signature_get()
eldbus_message_method_return_new()
eldbus_message_error_get()
eldbus_message_iter_container_new()
eldbus_message_iter_fixed_array_append()
eldbus_message_method_return_new()
eldbus_message_error_new()
eldbus_message_iter_del()
eldbus_message_iter_fixed_array_get()
eldbus_hello()

Reviewers: cedric, raster, NikaWhite, myoungwoon, artem.popov

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoevas: revise grammar for memory allocator error status
Bryce Harrington [Mon, 5 Jun 2017 18:09:26 +0000 (11:09 -0700)]
evas: revise grammar for memory allocator error status

Summary:
Wordsmith phrasings to be a bit more concise.  In example code,
distinguish better between the OOM and Low Mem conditions that it
is demonstrating.

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agopopup: fix unintentional object deletion when change scrollable
JinYong Park [Mon, 5 Jun 2017 18:08:45 +0000 (11:08 -0700)]
popup: fix unintentional object deletion when change scrollable

Summary:
If popup scrollable change from FALSE to TRUE after content or text is added,
content_area is deleted, so it cause null pointer problem.
main_layout has content_area in its CONTENT_PART, but in scrollable_set API,
tbl set into main_layout's CONTENT_PART, so content_area is deleted.

On the contrary, if scrollable change to FALSE,
content object in content_area is deleted, because tbl set into content_area's CONTENT_PART.

So if some object set into other object,
unset previous object and set it into properly part after that.

A case using item_append should be fixed by other patch.

@fix

Test Plan: Change scrollable repeatedly after adding content or text to popup.

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

Reviewed By: cedric

Subscribers: herb

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoevas: document the wayland ecore_evas constructors
Bryce Harrington [Mon, 5 Jun 2017 18:06:36 +0000 (11:06 -0700)]
evas: document the wayland ecore_evas constructors

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoecore_evas: correct error message reporting incorrect engine name
Bryce Harrington [Mon, 5 Jun 2017 18:05:53 +0000 (11:05 -0700)]
ecore_evas: correct error message reporting incorrect engine name

Summary:
_ecore_evas_wl_common_new_internal() creates both wayland_egl and
wayland_shm backed windows, so reporting that the failure was in looking
up "Wayland_Shm" could be misleading.

Also, this routine can be called with any arbitrary string as
engine_name, so including what was received in the error message might
be helpful for diagnosing bugs.

Reviewers: cedric

Reviewed By: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agocalendar: fix elm_calendar_interval_set() API not working.
Woochan Lee [Mon, 5 Jun 2017 18:02:17 +0000 (11:02 -0700)]
calendar: fix elm_calendar_interval_set() API not working.

Summary:
The API was not working because of an internal logical error.

@fix

Test Plan: Calling elm_calendar_interval_set API in elementary_test.

Reviewers: jpeg, cedric, Hermet, woohyun

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoexamples: fix efl_net_control_example.c on BSD.
Al Poole [Mon, 5 Jun 2017 17:58:50 +0000 (10:58 -0700)]
examples: fix efl_net_control_example.c on BSD.

Reviewers: cedric, stefan_schmidt

Subscribers: stefan_schmidt, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoelput: fix sp. usefull
Bryce Harrington [Mon, 5 Jun 2017 17:58:01 +0000 (10:58 -0700)]
elput: fix sp. usefull

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoecore_imf: add ecore_imf_context_mime_type_accept_set API
InHong Han [Mon, 5 Jun 2017 17:50:15 +0000 (10:50 -0700)]
ecore_imf: add ecore_imf_context_mime_type_accept_set API

Summary: Added a new api to send the mime type of entry to IME.

Test Plan: Tested in Tizen device

Reviewers: woohyun, id213sin, jihoon, cedric

Reviewed By: cedric

Subscribers: cedric, jihoon, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoefl_debugd: don't compile this on macOS
Jean Guyomarc'h [Mon, 5 Jun 2017 17:02:33 +0000 (19:02 +0200)]
efl_debugd: don't compile this on macOS

Well, the build is broken again on macOS :(
efl_debugd is full of platform-specific code: network and epoll.
To make it compile (not work as expected, just compile), we would need
to comment out most of efl_debugd's code. So instead of having a
crippled, useless binary, just don't compile it on macOS.

This unbreaks the build for macOS.

7 years agoeina: attempt to make the code more portable
Jean Guyomarc'h [Mon, 5 Jun 2017 17:00:22 +0000 (19:00 +0200)]
eina: attempt to make the code more portable

This fixes the build on macOS.

7 years agoefl_debugd: enforce void parameter when no arguments are required
Jean Guyomarc'h [Mon, 5 Jun 2017 16:59:23 +0000 (18:59 +0200)]
efl_debugd: enforce void parameter when no arguments are required

7 years agoEina_Debug: Fix missing include of signal.h
Jeeyong Um [Mon, 5 Jun 2017 11:14:29 +0000 (20:14 +0900)]
Eina_Debug: Fix missing include of signal.h

7 years agoElm layout: fix a few objects after move to efl_part
Daniel Hirt [Sun, 4 Jun 2017 14:25:36 +0000 (17:25 +0300)]
Elm layout: fix a few objects after move to efl_part

Fixes elm_layout_text_set/get bugs that were introduced in
3eb649b180eb98f7be829de5aed7e8c7f1ceb35a.

7 years agoLayout/legacy: rename object type
Daniel Zaoui [Mon, 5 Jun 2017 08:48:03 +0000 (11:48 +0300)]
Layout/legacy: rename object type

Enlightenment and terminology compilations fail because Elm_Layout is
not known.

7 years agoEina_Debug: Fix config.h usage
Daniel Zaoui [Mon, 5 Jun 2017 07:51:51 +0000 (10:51 +0300)]
Eina_Debug: Fix config.h usage

It was used inside eina_debug.h that is a public header.
Terminology compilation was failing when including its own config.h.

7 years agotests:efl.ui.image.zoomable: add a test case for icon APIs
Amitesh Singh [Mon, 5 Jun 2017 08:26:54 +0000 (17:26 +0900)]
tests:efl.ui.image.zoomable: add a test case for icon APIs

7 years agoefl.ui.image: fix icon_get API
Amitesh Singh [Mon, 5 Jun 2017 08:01:25 +0000 (17:01 +0900)]
efl.ui.image: fix icon_get API

If icon set is failed, icon_get should return NULL,
not the old icon name.

@fix

7 years agotests:efl.ui.image: Add test case for icon api
Amitesh Singh [Mon, 5 Jun 2017 07:33:27 +0000 (16:33 +0900)]
tests:efl.ui.image: Add test case for icon api

This test case shows a bug in icon get API. If icon set is failed,
icon_get should return NULL, not the old icon name.

7 years agoMerge Eina Debug feature
Daniel Zaoui [Mon, 5 Jun 2017 06:10:03 +0000 (09:10 +0300)]
Merge Eina Debug feature

Eina Debug is a layer aimed to bring a way to debug EFL applications by
providing a transport channel between a debug tool and the applications
of a device.

In order to be interrupted by EFL core as less as possible, the communication
is done in a separated thread.
The Ecore loop is not used there, as well as the Ecore helpers (socket...).

Debugging operations can be registered easily by any layer of the application.

To use it:
- Launch efl_debugd
- Launch the application to debug
- Launch Clouseau (the new version will be pushed soon) or another debug tool
supporting Eina Debug

7 years agoFix Windows compilation
Daniel Zaoui [Sun, 4 Jun 2017 13:11:16 +0000 (16:11 +0300)]
Fix Windows compilation

Thanks to vtorri for his help on this delicate issue named Windows

7 years agoSet Eina Debug APIs as Beta
Daniel Zaoui [Sun, 4 Jun 2017 06:08:15 +0000 (09:08 +0300)]
Set Eina Debug APIs as Beta

7 years agoSupport endianness
Daniel Zaoui [Sat, 3 Jun 2017 16:33:58 +0000 (19:33 +0300)]
Support endianness

7 years agoSupport opcodes registration for Windows
Daniel Zaoui [Fri, 2 Jun 2017 09:13:31 +0000 (12:13 +0300)]
Support opcodes registration for Windows

A standard static array with symbols whose addresses are only known at
runtime is not supported in Windows.

7 years agoRename opcodes for a better readability
Daniel Zaoui [Fri, 2 Jun 2017 09:12:00 +0000 (12:12 +0300)]
Rename opcodes for a better readability

7 years agoEo: add APIs to walk over classes and objects
Daniel Zaoui [Fri, 27 Jan 2017 10:14:42 +0000 (12:14 +0200)]
Eo: add APIs to walk over classes and objects

These APIs are needed by Clouseau to get a list of classes and objects.

7 years agoRemove alloca of potential big size
Daniel Zaoui [Thu, 1 Jun 2017 16:59:40 +0000 (19:59 +0300)]
Remove alloca of potential big size

7 years agoBt: Remove special handling for mainloop
Daniel Zaoui [Wed, 31 May 2017 22:14:37 +0000 (01:14 +0300)]
Bt: Remove special handling for mainloop

7 years agoFix Coverity issues
Daniel Zaoui [Tue, 30 May 2017 13:04:24 +0000 (16:04 +0300)]
Fix Coverity issues

7 years agoRemove thread management
Daniel Zaoui [Tue, 30 May 2017 11:14:59 +0000 (14:14 +0300)]
Remove thread management

The handling to forward requests is let to the callbacks.

7 years agoUse better names for daemon operations
Daniel Zaoui [Sat, 27 May 2017 20:08:36 +0000 (23:08 +0300)]
Use better names for daemon operations

7 years agoRemove old evlog code from efl_debugd
Daniel Zaoui [Sat, 27 May 2017 19:03:11 +0000 (22:03 +0300)]
Remove old evlog code from efl_debugd

7 years agoFix connection closing
Daniel Zaoui [Sat, 27 May 2017 18:58:13 +0000 (21:58 +0300)]
Fix connection closing

The client structure was not deleted when the connected application was
suddenly terminated (ctrl-c).
It was not happening before, so I suspect TCP and UNIX sockets behave
differently on this matter.

7 years agoAdd Clouseau loading at the init of the application
Daniel Zaoui [Sat, 27 May 2017 17:46:29 +0000 (20:46 +0300)]
Add Clouseau loading at the init of the application

7 years agoRemoves modules feature
Daniel Zaoui [Sat, 27 May 2017 17:45:12 +0000 (20:45 +0300)]
Removes modules feature

7 years agoFix daemon issues
Daniel Zaoui [Sat, 27 May 2017 17:44:50 +0000 (20:44 +0300)]
Fix daemon issues

7 years agoAdd prints to efl_debugd
Daniel Zaoui [Sat, 27 May 2017 17:44:19 +0000 (20:44 +0300)]
Add prints to efl_debugd

7 years agoInit the communication with the daemon from the debug thread
Daniel Zaoui [Fri, 26 May 2017 05:52:52 +0000 (08:52 +0300)]
Init the communication with the daemon from the debug thread

7 years agoReplace shell remote connection with localhost TCP connection
Daniel Zaoui [Thu, 25 May 2017 10:26:41 +0000 (13:26 +0300)]
Replace shell remote connection with localhost TCP connection

7 years agoRemove _session variable as it is not needed anymore
Daniel Zaoui [Thu, 25 May 2017 08:10:53 +0000 (11:10 +0300)]
Remove _session variable as it is not needed anymore

7 years agoAdd data to opcode registration callback
Daniel Zaoui [Fri, 19 May 2017 05:59:56 +0000 (08:59 +0300)]
Add data to opcode registration callback

7 years agoAdd API to get/set data to session
Daniel Zaoui [Fri, 19 May 2017 05:59:51 +0000 (08:59 +0300)]
Add API to get/set data to session

7 years agoAdd API to get the session dispatcher
Daniel Zaoui [Fri, 19 May 2017 05:56:54 +0000 (08:56 +0300)]
Add API to get the session dispatcher

7 years agoClean code and add comments
Daniel Zaoui [Tue, 16 May 2017 07:16:22 +0000 (10:16 +0300)]
Clean code and add comments

7 years agoAdapt bt stuff to Eina Debug signal infras
Daniel Zaoui [Wed, 10 May 2017 08:57:07 +0000 (11:57 +0300)]
Adapt bt stuff to Eina Debug signal infras

7 years agoMove internals constants to private h file
Daniel Zaoui [Tue, 9 May 2017 08:02:16 +0000 (11:02 +0300)]
Move internals constants to private h file

7 years agoFix Coverity issues
Daniel Zaoui [Tue, 9 May 2017 07:36:15 +0000 (10:36 +0300)]
Fix Coverity issues

7 years agoAdd a better support of timers
Daniel Zaoui [Mon, 8 May 2017 19:26:44 +0000 (22:26 +0300)]
Add a better support of timers

Now, the timers are handled in one dedicated thread. Multiple timers are
supported.

7 years agoAdd shell remote connection
Daniel Zaoui [Thu, 4 May 2017 07:17:05 +0000 (10:17 +0300)]
Add shell remote connection

This feature is essential to debug remote applications.

7 years agoFix typo
Daniel Zaoui [Wed, 26 Apr 2017 05:16:45 +0000 (08:16 +0300)]
Fix typo

7 years agoFree packet buffer outside of the dispatcher
Daniel Zaoui [Wed, 15 Mar 2017 20:44:02 +0000 (22:44 +0200)]
Free packet buffer outside of the dispatcher

7 years agoClose file descriptor when the session is terminated
Daniel Zaoui [Mon, 6 Mar 2017 07:22:02 +0000 (09:22 +0200)]
Close file descriptor when the session is terminated

7 years agoFirst patch of the Eina Debug layer rewriting
Daniel Zaoui [Sun, 27 Nov 2016 05:48:10 +0000 (07:48 +0200)]
First patch of the Eina Debug layer rewriting

Eina Debug is a new layer aimed for EFL debugging. It offers scalability
by allowing registration of operations not specific to EFL core.

The protocol is simple and the APIs try to provide as much
functionalities/freedom as possible.

7 years agoElm layout: replace 'text' property with 'efl_part' interface
Daniel Hirt [Sun, 4 Jun 2017 14:25:36 +0000 (17:25 +0300)]
Elm layout: replace 'text' property with 'efl_part' interface

The expected usage is efl_text_set(efl_part(layout, part), text);
Same for text_get.

Also, added an example how to make API easier with providing
efl_text_set/get for the widget itself, in efl_ui_button. Please see
this example.

7 years agoelm_colorselector: Improve ATSPI support
Shilpa Singh [Sat, 3 Jun 2017 08:28:30 +0000 (17:28 +0900)]
elm_colorselector: Improve ATSPI support

Summary:
Item: state_set_get, name, actions api added
Widget: children_get api added.

Test Plan:
In Accessibility mode, on item tap, color name should be read out,
and if the color is a selected color, state also should be read out.

Reviewers: kimcinoo

Subscribers: cedric, jpeg, govi, rajeshps

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

7 years agoecore: simplify usage of poller by giving 3 class of event on the main loop object.
Cedric BAIL [Fri, 2 Jun 2017 23:27:02 +0000 (16:27 -0700)]
ecore: simplify usage of poller by giving 3 class of event on the main loop object.

The internal logic should be improved further in the future to synchronize itself
with loop wake up whenever possible (Especially true for the high frequency poller).

7 years agoecore: poller will be legacy only.
Cedric BAIL [Fri, 2 Jun 2017 22:38:25 +0000 (15:38 -0700)]
ecore: poller will be legacy only.

7 years agoecore-imf-wayland: Check xkb_keysym_to_utf8
Bryce Harrington [Fri, 2 Jun 2017 23:06:31 +0000 (19:06 -0400)]
ecore-imf-wayland: Check xkb_keysym_to_utf8

Summary:
Coverity reports an error "Calling "xkb_keysym_to_utf8" without checking
return value (as is done elsewhere 4 out of 5 times)."

fixes: cid1375673

Reviewers: zmike

Subscribers: cedric, jpeg

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

7 years agoecore-audio: unset DISPLAY conditionally before processing pulse events
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
ecore-audio: unset DISPLAY conditionally before processing pulse events

in some cases, pulse events trigger spawning another pulse instance, and
the environment at this time is used to determine whether to attempt an
x11 connection

fix T2599

@fix

7 years agoelput: send extra pointer motion event on first button press after resume
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
elput: send extra pointer motion event on first button press after resume

ensure state is reapplied by other components

7 years agoelput: move pointer coords into seat struct
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
elput: move pointer coords into seat struct

@fix

7 years agoelput: ref evas devices in event structs
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
elput: ref evas devices in event structs

7 years agoevas: simplify seat-getting during key event dispatch
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
evas: simplify seat-getting during key event dispatch

7 years agoecore-evas: directly get the seat device instead of the parent
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
ecore-evas: directly get the seat device instead of the parent

no functional changes

7 years agoevas: redo pointer data to be per-seat instead of per-device
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
evas: redo pointer data to be per-seat instead of per-device

pointer devices are grouped into seats, and it is the seat which has
states related to canvas coordinates

@fix

ref 484dae76e675318a579e90ac05d4371acc1f8891

7 years agoefl_input_device: do not free list when freeing children iterator
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
efl_input_device: do not free list when freeing children iterator

disappoint.jpg

@fix

7 years agoee drm: null elput device pointer when deleting device
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
ee drm: null elput device pointer when deleting device

7 years agoelput: add refcounting for seats/devices
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:45 +0000 (18:23 -0400)]
elput: add refcounting for seats/devices

ensure lifetimes persist through events

@fix

7 years agoevas: don't crash in _evas_default_output_get() if no outputs exist
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
evas: don't crash in _evas_default_output_get() if no outputs exist

@fix

7 years agoecore-wl2: change safety null check to regular null check on surface create
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ecore-wl2: change safety null check to regular null check on surface create

this is a normal case during async init

7 years agoee engines: update engines for per-seat cursor objects
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ee engines: update engines for per-seat cursor objects

ref 5856d3b52f6124ad5b4cfe47b21f28ab6f380002

7 years agoee wayland: only handle events for ee with matching display object
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ee wayland: only handle events for ee with matching display object

ensure apps with multiple client connections don't mix events from different
connections

@fix

7 years agoelput: add null checks for xkb compose pointers
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
elput: add null checks for xkb compose pointers

somehow these can fail to be created

7 years agoecore-wl2: add null checks for xkb compose pointers
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ecore-wl2: add null checks for xkb compose pointers

somehow these can fail to be created

7 years agoecore-wl2: do not unref non-matching input device upon removal
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ecore-wl2: do not unref non-matching input device upon removal

this is how you avoid crashing

@fix

7 years agoecore-evas: redo per-device cursor internals to be per-seat
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
ecore-evas: redo per-device cursor internals to be per-seat

seats have cursors, pointer devices do not.

@fix

fix T5531

7 years agoevas_device: remove unused code
Mike Blumenkrantz [Fri, 2 Jun 2017 22:23:44 +0000 (18:23 -0400)]
evas_device: remove unused code

ref 6775b23212305c957f4447c708053585f361bb86

7 years agoeolian-cxx: Fixed compilation error after Eolian_Unit type introduction
Felipe Magno de Almeida [Wed, 31 May 2017 19:32:20 +0000 (16:32 -0300)]
eolian-cxx: Fixed compilation error after Eolian_Unit type introduction

7 years agoecore_evas_drm: Send a spurious pageflip when showing a canvas
Derek Foreman [Fri, 2 Jun 2017 19:19:39 +0000 (14:19 -0500)]
ecore_evas_drm: Send a spurious pageflip when showing a canvas

This is a quick and harmless hack to make sure we don't come back to a
dead compositor on a vc switch.

A proper fix will follow eventually, I promise.

Really.  Would I lie?

7 years agoecore_drm2: Don't try to disable all devices when session deactivates
Derek Foreman [Fri, 2 Jun 2017 18:19:58 +0000 (13:19 -0500)]
ecore_drm2: Don't try to disable all devices when session deactivates

We get this callback after we've lost the drm device to logind, so
deactivating stuff here will just generate a lot of ERR messages
and break our internal book-keeping.

Instead, we just turn on DPMS on session activation instead of trying
to go through the output enable path (that will bail if it's already
enabled)

This could potentially result in a display that's enabled and DPMS
off being switched back on during session activation - if that's a real
problem we can restore the previous dpms state instead...

@fix T5483

7 years agoecore_drm2: Fix dpms shutdown while disabling outputs
Derek Foreman [Fri, 2 Jun 2017 16:39:34 +0000 (11:39 -0500)]
ecore_drm2: Fix dpms shutdown while disabling outputs

We need to set output->enabled to disabled *after* dpms takes place or set
it to enabled *before* dpms takes place.  We can't just set it at the
start of the function or one of enable/disable will hit the dpms path
with a disabled display.

7 years agoecore_drm2: Properly release buffers on output disable
Derek Foreman [Fri, 2 Jun 2017 16:38:01 +0000 (11:38 -0500)]
ecore_drm2: Properly release buffers on output disable

Give back all buffers, and do it through the release mechanism that can
fire a callback into the engine.

Previously we just leaked one and left the rest.

7 years agoecore_drm2: Rename _release_buffer and make it private instead of static
Derek Foreman [Fri, 2 Jun 2017 16:36:51 +0000 (11:36 -0500)]
ecore_drm2: Rename _release_buffer and make it private instead of static

Other files in ecore_drm2 need to release buffers too.

7 years agoEfl.Ui.Image.Zoomable: implement Ui.Image.icon property
Amitesh Singh [Fri, 2 Jun 2017 01:45:25 +0000 (10:45 +0900)]
Efl.Ui.Image.Zoomable: implement Ui.Image.icon property

@feature

7 years agopopup: fix object_mirrored_set didn't work
JinYong Park [Fri, 2 Jun 2017 07:25:11 +0000 (16:25 +0900)]
popup: fix object_mirrored_set didn't work

Summary:
object_mirroed_set as opposed to config_mirrored_set doesn't work with
popup. This patch broadcasts a change on 'mirrored' to internal notify,
main layout, scroller and action area layout to make API work.

@fix

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

Reviewed By: conr2d

Subscribers: herb

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

7 years agoexamples: edje: make sure we use the edje_object_language_set legacy API
Stefan Schmidt [Thu, 1 Jun 2017 13:16:47 +0000 (15:16 +0200)]
examples: edje: make sure we use the edje_object_language_set legacy API

The EO based edje_obj_language_set API is now longer available since a
rework of this API. Also make sure a used parameter is not marked as
unused.

7 years agodocs: efl_text_style: add docs for various style related enums
Stefan Schmidt [Wed, 31 May 2017 15:56:56 +0000 (17:56 +0200)]
docs: efl_text_style: add docs for various style related enums

7 years agodocs: efl_font_format: add docs for Efl.Text.Format.Wrap enum
Stefan Schmidt [Wed, 31 May 2017 15:41:37 +0000 (17:41 +0200)]
docs: efl_font_format: add docs for Efl.Text.Format.Wrap enum

7 years agodocs: efl_text_font: add docs for font width and slant enums
Stefan Schmidt [Wed, 31 May 2017 15:30:28 +0000 (17:30 +0200)]
docs: efl_text_font: add docs for font width and slant enums

7 years agodocs: efl_text_font: add docs for font weight enum
Stefan Schmidt [Wed, 31 May 2017 15:19:57 +0000 (17:19 +0200)]
docs: efl_text_font: add docs for font weight enum

Who comes up with font weight names like extrabold or black? :)