platform/upstream/efl.git
6 years agoEfl.Ui.Slider: add default indicator format to %0.2f
Amitesh Singh [Fri, 17 Nov 2017 05:53:48 +0000 (14:53 +0900)]
Efl.Ui.Slider: add default indicator format to %0.2f

This was broken in legacy code as well.
Thanks to @taxi2se for reporting.

elm_test -> slider -> check vertical slider

@fix

6 years agoEfl.Ui.Slider: replace default with on_drag in visible_mode enum.
Amitesh Singh [Fri, 17 Nov 2017 02:30:49 +0000 (11:30 +0900)]
Efl.Ui.Slider: replace default with on_drag in visible_mode enum.

Ref T6376

6 years agoEfl.Ui.Slider: add visible_mode() as an indicator part API
Amitesh Singh [Thu, 16 Nov 2017 12:35:39 +0000 (21:35 +0900)]
Efl.Ui.Slider: add visible_mode() as an indicator part API

Ref T6376

6 years agoEfl.Ui.Slider: make indicator_visible_mode() legacy APIs
Amitesh Singh [Thu, 16 Nov 2017 02:06:14 +0000 (11:06 +0900)]
Efl.Ui.Slider: make indicator_visible_mode() legacy APIs

Ref T6376

6 years agoEfl.Ui.Slider: make indicator_show_on_focus/indicator_show() legacy APIs
Amitesh Singh [Thu, 16 Nov 2017 01:12:51 +0000 (10:12 +0900)]
Efl.Ui.Slider: make indicator_show_on_focus/indicator_show() legacy APIs

Ref T6376

6 years agotests/eldbus: Use different bus for cxx and C tests
Jean-Philippe Andre [Fri, 17 Nov 2017 02:53:13 +0000 (11:53 +0900)]
tests/eldbus: Use different bus for cxx and C tests

I had eldbus_suite and eldbus_cxx_suite fail quite often for some
strange reason: name already in use... yeah but by who??? Turns out both
test cases used the same name, and when ran in parallel (make -j10
check) this would often fail.

6 years agotests: Add better debugging for eldbus failure
Jean-Philippe Andre [Fri, 17 Nov 2017 02:45:31 +0000 (11:45 +0900)]
tests: Add better debugging for eldbus failure

It keeps on failing for me, but quite inconsistently (i.e. sometimes,
not always). Annoying.

6 years agoelm_index: Index item role modify
Shilpa Singh [Fri, 17 Nov 2017 01:18:18 +0000 (10:18 +0900)]
elm_index: Index item role modify

Summary:
Modified index item role to EFL_ACCESS_ROLE_RADIO_MENU_ITEM from EFL_ACCESS_ROLE_PUSH_BUTTON
as index item should maintain its current state.

Test Plan:
Query the role of index item from atspi client, ATSPI_ROLE_RADIO_MENU_ITEM role should
be returned.

Reviewers: kimcinoo

Reviewed By: kimcinoo

Subscribers: cedric, govi, rajeshps, jpeg

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

6 years agoecore_wl2: fix user pointer for dmabuf param listener
Derek Foreman [Thu, 16 Nov 2017 19:15:14 +0000 (13:15 -0600)]
ecore_wl2: fix user pointer for dmabuf param listener

Proving once again that those that defeat type safety usually get what
they deserve.

6 years agoecore_wl2: Fix dmabuf test failure
Derek Foreman [Thu, 16 Nov 2017 19:16:19 +0000 (13:16 -0600)]
ecore_wl2: Fix dmabuf test failure

We need to destroy the buffer manager on fail, since it will exist but
only be able to create buffers we can't actually use.

6 years agoecore_wl2: Don't try to close drm_fd if we never opened it
Derek Foreman [Thu, 16 Nov 2017 19:13:38 +0000 (13:13 -0600)]
ecore_wl2: Don't try to close drm_fd if we never opened it

derp.

6 years agoeina: fix docs for manage_read_only_new
Andy Williams [Thu, 16 Nov 2017 12:49:56 +0000 (12:49 +0000)]
eina: fix docs for manage_read_only_new

6 years agowin: Rename specific APIs to avoid clashes
Jean-Philippe Andre [Thu, 16 Nov 2017 10:00:48 +0000 (19:00 +0900)]
win: Rename specific APIs to avoid clashes

This renames 3 basic APIs specific to Win:
 - name
 - type
 - role

Ref T5322

6 years agoelm: return Efl.Access.Actions only if action_area is not set
Lukasz Stanislawski [Thu, 16 Nov 2017 09:13:23 +0000 (18:13 +0900)]
elm: return Efl.Access.Actions only if action_area is not set

Summary:
The accessibility clients should not have a possibility
to dismiss popup in case when action area is set.

Reviewers: jpeg

Subscribers: cedric, jpeg

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

6 years agoelm_index: Send selected signal to atspi client
Shilpa Singh [Thu, 16 Nov 2017 09:16:59 +0000 (18:16 +0900)]
elm_index: Send selected signal to atspi client

Summary: When Index item is selected, notify atspi clients.

Test Plan:
when atspi mode is enabled, item selection notification
should be received by atspi client

Reviewers: kimcinoo

Subscribers: cedric, govi, rajeshps, jpeg

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

6 years agoelm: enhance access name for spinner
Lukasz Stanislawski [Thu, 16 Nov 2017 03:05:39 +0000 (12:05 +0900)]
elm: enhance access name for spinner

Summary: Try to take access name from internal entry object or text button first.

Subscribers: cedric, jpeg

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

6 years agoelm: add Efl.Access.Value interface to progressbar
Lukasz Stanislawski [Thu, 16 Nov 2017 03:05:21 +0000 (12:05 +0900)]
elm: add Efl.Access.Value interface to progressbar

Subscribers: cedric, jpeg

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

6 years agoelm: Define and rename internal atspi struct in EO
Jean-Philippe Andre [Thu, 16 Nov 2017 02:55:06 +0000 (11:55 +0900)]
elm: Define and rename internal atspi struct in EO

This thing is used by only 2 EO APIs that are marked as @beta. I wonder
if the @beta tag or the ptr() expression made it work for eolian,
because it simply wasn't defined in EO.

I'm renaming it just so that it's more consistent with the new names
used by atspi (and EO API in general).

6 years agoelm: Rename elm_interface_atspi_widget_action mixin
Lukasz Stanislawski [Thu, 16 Nov 2017 02:31:26 +0000 (11:31 +0900)]
elm: Rename elm_interface_atspi_widget_action mixin

Reviewers: jpeg

Subscribers: jenkins, cedric, jpeg

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

6 years agoelementary: make sure that ecore shutdown match ecore init.
Cedric Bail [Thu, 16 Nov 2017 00:27:40 +0000 (16:27 -0800)]
elementary: make sure that ecore shutdown match ecore init.

6 years agoelementary: do not send a PAUSE event if not iconified.
Cedric Bail [Thu, 16 Nov 2017 00:27:22 +0000 (16:27 -0800)]
elementary: do not send a PAUSE event if not iconified.

6 years agoecore: should be the one triggering EFL_LOOP_EVENT_TERMINATE.
Cedric Bail [Thu, 16 Nov 2017 00:26:32 +0000 (16:26 -0800)]
ecore: should be the one triggering EFL_LOOP_EVENT_TERMINATE.

6 years agoelementary: add an interface to enable/disable PAUSE/RESUME application state.
Cedric Bail [Wed, 15 Nov 2017 23:08:32 +0000 (15:08 -0800)]
elementary: add an interface to enable/disable PAUSE/RESUME application state.

If you want to have EFL application behave in a more efficient way. Like dropping
memory usage or stopping unecessary network operation, this option should be on
and the application should listen on PAUSE/RESUME event on the main loop.

6 years agoecore_wl2: Don't open rendernode if we're not going to use it
Derek Foreman [Wed, 15 Nov 2017 17:47:35 +0000 (11:47 -0600)]
ecore_wl2: Don't open rendernode if we're not going to use it

We should only open this when actually testing dmabuf.  Otherwise we're
just wasting time and adding an opportunity to fail shm init over
unrelated issues.

6 years agoecore_wl2: Reset buffer_manager to NULL on failure
Derek Foreman [Wed, 15 Nov 2017 17:27:26 +0000 (11:27 -0600)]
ecore_wl2: Reset buffer_manager to NULL on failure

Calling this multiple times even after it fails the first time is a legit
thing now.  We'll be doing that when we want to test dmabuf at connection
start.

6 years agoecore_wl2: Send a dmabuf non-immediate create at startup
Derek Foreman [Tue, 14 Nov 2017 22:36:02 +0000 (16:36 -0600)]
ecore_wl2: Send a dmabuf non-immediate create at startup

We use immediate mode dmabuf creation at runtime, but this can result in
clients being killed with no option to fallback if the buffers can't be
consumed by the compositor.

This test should catch when a system can allocate a dmabuf buffer and the
compositor claims to accept dmabuf, but the buffer can't actually be used
for whatever reason.  We'll then use wl_shm at runtime instead of dmabuf.

6 years agoecore_wl2: factor out part of buffer creation
Derek Foreman [Tue, 14 Nov 2017 22:09:26 +0000 (16:09 -0600)]
ecore_wl2: factor out part of buffer creation

So we can use it to make a non-immediate mode buffer test.

6 years agoecore_wl2: Filter buffer types by compositor capabilities
Derek Foreman [Tue, 14 Nov 2017 21:45:39 +0000 (15:45 -0600)]
ecore_wl2: Filter buffer types by compositor capabilities

It does us no good to be able to allocate dmabuf capable memory if the
compositor can't handle it.  This should fix failures on systems where
allocation is possible but the compositor doesn't advertise dmabuf.

6 years agoecore_wl2: Add a second sync for dmabuf formats
Derek Foreman [Tue, 14 Nov 2017 20:40:47 +0000 (14:40 -0600)]
ecore_wl2: Add a second sync for dmabuf formats

While we don't yet use these, we should, so let's make sure they're
available before we start making windows.

6 years agoecore_wl2: Refcount syncs at startup
Derek Foreman [Tue, 14 Nov 2017 20:27:03 +0000 (14:27 -0600)]
ecore_wl2: Refcount syncs at startup

There are some binds at startup that result in additional information
being sent, so we may need to call wl_display_sync() multiple times, and
only send the client a SYNC_DONE event when the final one completes.

6 years agoecore_wl2: Create xkb_context before compositor connection
Derek Foreman [Wed, 15 Nov 2017 15:53:18 +0000 (09:53 -0600)]
ecore_wl2: Create xkb_context before compositor connection

We really need this to exist before potentially processing seat/keyboard
stuff in _ecore_wl2_display_connect()

6 years agowayland_shm/ecore_wl2: Move buffer allocation into ecore_wl2
Derek Foreman [Mon, 13 Nov 2017 22:26:09 +0000 (16:26 -0600)]
wayland_shm/ecore_wl2: Move buffer allocation into ecore_wl2

This moves all the platform specific buffer allocation into ecore_wl2
instead of the engine.

Note that this makes an internal struct available in the header.  This
will be removed shortly.

6 years agowayland_shm: Move wl_buffer creation function further up file
Derek Foreman [Mon, 13 Nov 2017 21:25:33 +0000 (15:25 -0600)]
wayland_shm: Move wl_buffer creation function further up file

It just looks nicer when it's here and doesn't require a prototype.

6 years agowayland_shm: Make the buffer_manager static
Derek Foreman [Mon, 13 Nov 2017 21:21:34 +0000 (15:21 -0600)]
wayland_shm: Make the buffer_manager static

Should always have been, oops.

6 years agowayland_shm: Become unhoseable
Derek Foreman [Mon, 13 Nov 2017 21:16:26 +0000 (15:16 -0600)]
wayland_shm: Become unhoseable

Now that shm is handled through these paths the dmabuf_totally_hosed state
is nonsense.

6 years agowayland_shm: rename Surface_Type to Ecore_Wl2_Buffer_Type
Derek Foreman [Mon, 13 Nov 2017 21:04:29 +0000 (15:04 -0600)]
wayland_shm: rename Surface_Type to Ecore_Wl2_Buffer_Type

6 years agowayland_shm: Remove surface_type from surface
Derek Foreman [Mon, 13 Nov 2017 20:15:45 +0000 (14:15 -0600)]
wayland_shm: Remove surface_type from surface

This has become not only a write-only variable, but also incorrectly set.

Just remove it.

6 years agowayland_shm: Pass ecore_wl2_display instead of surface to buffer_create
Derek Foreman [Mon, 13 Nov 2017 19:37:04 +0000 (13:37 -0600)]
wayland_shm: Pass ecore_wl2_display instead of surface to buffer_create

The display was the only thing we used through the surface.  Pass just
the display to break the dependency between surface and buffer.

6 years agowayland_shm: Remove surface from buffer struct
Derek Foreman [Mon, 13 Nov 2017 18:15:22 +0000 (12:15 -0600)]
wayland_shm: Remove surface from buffer struct

All users are now removed so we no longer need this.

6 years agowayland_shm: Stop looking up alpha on surface
Derek Foreman [Mon, 13 Nov 2017 18:11:41 +0000 (12:11 -0600)]
wayland_shm: Stop looking up alpha on surface

We've got it in the buffer now.

6 years agowayland_shm: Store alpha in buffer
Derek Foreman [Mon, 13 Nov 2017 18:09:58 +0000 (12:09 -0600)]
wayland_shm: Store alpha in buffer

Currently the buffer code looks up the alpha stats from the surface code.
This won't be possible when we move the buffer code into a library, so
prepare for it now.

6 years agowayland_shm: Make ecore_wl2_buffer_init return bool
Derek Foreman [Mon, 13 Nov 2017 22:07:11 +0000 (16:07 -0600)]
wayland_shm: Make ecore_wl2_buffer_init return bool

Nothing uses the returned pointer, and nothing will.

6 years agowayland_shm: Rename types and functions
Derek Foreman [Mon, 13 Nov 2017 18:05:38 +0000 (12:05 -0600)]
wayland_shm: Rename types and functions

We're going to move this into ecore_wl2, so I'll start by renaming it all
here before moving large chunks with minimal change.

No functional changes.

6 years agowayland_shm: Remove extra display flush
Derek Foreman [Mon, 13 Nov 2017 17:59:29 +0000 (11:59 -0600)]
wayland_shm: Remove extra display flush

Since we're using create_immed now we shouldn't need to force a flush here
anymore.

6 years agoefl_ui_calendar: set focus object protected mode
Marcel Hollerbach [Wed, 15 Nov 2017 16:38:43 +0000 (17:38 +0100)]
efl_ui_calendar: set focus object protected mode

i forgot a define here and was confused by the fact that we have two
calendar widgets, sorry for that.

6 years agoefl_ui_focus_manager: unset the redirect chain once a redirect is set
Marcel Hollerbach [Wed, 15 Nov 2017 09:15:34 +0000 (10:15 +0100)]
efl_ui_focus_manager: unset the redirect chain once a redirect is set

this prevents the manager from having a redirect chain while not even
beeing used by the root manager

6 years agoefl_ui_focus_manager_calc: correct handle focus when redirects are set
Marcel Hollerbach [Wed, 15 Nov 2017 11:21:51 +0000 (12:21 +0100)]
efl_ui_focus_manager_calc: correct handle focus when redirects are set

so we dont have two focused elements

6 years agoefl_ui_focus_manager: ensure the manager is in focus when focus is set
Marcel Hollerbach [Tue, 14 Nov 2017 18:46:29 +0000 (19:46 +0100)]
efl_ui_focus_manager: ensure the manager is in focus when focus is set

this makes handling of focus easier in elementary

6 years agoefl_ui_focus_object: document the bahaviour of the manager property
Marcel Hollerbach [Tue, 14 Nov 2017 17:56:08 +0000 (18:56 +0100)]
efl_ui_focus_object: document the bahaviour of the manager property

6 years agoefl_ui_focus_object: make it protected
Marcel Hollerbach [Tue, 14 Nov 2017 17:39:06 +0000 (18:39 +0100)]
efl_ui_focus_object: make it protected

_this_ focus set should never be called by anyone other than the
efl.ui.focus package

6 years agoelm_test: Fix a warning
Jean-Philippe Andre [Wed, 15 Nov 2017 10:27:49 +0000 (19:27 +0900)]
elm_test: Fix a warning

6 years agoCtxPopup: Add implementation for getting focused item
Godly T.Alias [Wed, 15 Nov 2017 10:15:25 +0000 (19:15 +0900)]
CtxPopup: Add implementation for getting focused item

Summary:
Adding the focused_item_get implementation for ctxpopup widget for
getting the focused item

Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
Test Plan: elm_object_focused_item_get

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

Reviewed By: shilpasingh

Subscribers: Jaehyun_Cho, Blackmole, jpeg, rajeshps, shilpasingh

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

6 years agogenlist: fix state corruption of content
Andrii Kroitor [Wed, 15 Nov 2017 08:41:45 +0000 (10:41 +0200)]
genlist: fix state corruption of content

When using reusable content, genlist preserves old object's state and is
expecting reusable_content_get callback to change all needed properties.
But there was an inconsistency: it was silently re-enabling the old content.

@fix

6 years agoCtxpopup: resizing ctxpopup after its content is removed
JinYong Park [Wed, 15 Nov 2017 07:46:01 +0000 (16:46 +0900)]
Ctxpopup: resizing ctxpopup after its content is removed

Summary:
When ctxpopup's content is removed,
ctxpopup doesn't recalculate its size, so empty space is remaind.
To fix this problem, ctxpopup recalculate its size when content is removed.
This patch is about T6327

@fix

Test Plan:
1. run elementary_test -to ctxpopup
2. select 10st item
3. click button in ctxpopup

Reviewers: jpeg, Jaehyun_Cho, zmike

Subscribers: cedric

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

6 years agoefl_ui_win.c: send bounds changed signal on window rotation
Shilpa Singh [Wed, 15 Nov 2017 01:11:18 +0000 (10:11 +0900)]
efl_ui_win.c: send bounds changed signal on window rotation

Summary:
On window rotation send bounds changed signal to inform ATSPI client
about the orientation of window

Test Plan:
In ATSPI mode, when orientation of efl window is changed, ATSPI client should
get notification

Reviewers: kimcinoo

Subscribers: cedric, govi, rajeshps, jpeg

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

6 years agoelementary: make sure efl_general.h detection work also when you are not using BETA...
Cedric Bail [Wed, 15 Nov 2017 05:04:55 +0000 (21:04 -0800)]
elementary: make sure efl_general.h detection work also when you are not using BETA interface.

6 years agoelementary: protect from stall include.
Cedric Bail [Wed, 15 Nov 2017 04:14:44 +0000 (20:14 -0800)]
elementary: protect from stall include.

This should be reverted before next release as this header was only
there during this release cycle.

6 years agoelementary: provide network when doing ui.
Cedric Bail [Wed, 15 Nov 2017 04:14:01 +0000 (20:14 -0800)]
elementary: provide network when doing ui.

6 years agoelementary: only include Efl_Ui.h when BETA API is requested.
Cedric Bail [Wed, 15 Nov 2017 04:13:29 +0000 (20:13 -0800)]
elementary: only include Efl_Ui.h when BETA API is requested.

6 years agoelementary: elm_widget actually rely on elm_object_item.
Cedric Bail [Wed, 15 Nov 2017 04:12:36 +0000 (20:12 -0800)]
elementary: elm_widget actually rely on elm_object_item.

6 years agoelementary: fix typos in header inclusion rules.
Cedric Bail [Wed, 15 Nov 2017 04:11:39 +0000 (20:11 -0800)]
elementary: fix typos in header inclusion rules.

6 years agoecore: always declare EFL_MAIN not just for application using the BETA flag.
Cedric Bail [Wed, 15 Nov 2017 04:10:33 +0000 (20:10 -0800)]
ecore: always declare EFL_MAIN not just for application using the BETA flag.

6 years agoRevert "Revert series of patches from cedric (due to dependencies and conflicts)"
Cedric Bail [Wed, 15 Nov 2017 04:08:09 +0000 (20:08 -0800)]
Revert "Revert series of patches from cedric (due to dependencies and conflicts)"

This reverts commit 2cea85db388d34337676466ef7f50c22e685c7d0.

Their was a typo that I made during cleanup of the patch before pushing that I didn't
notice broke some stuff. But also you may have an old efl_general.h in your elementary
directory that is now being picked instead of the one provided by the tree.

6 years agoRevert series of patches from cedric (due to dependencies and conflicts)
Carsten Haitzler (Rasterman) [Wed, 15 Nov 2017 02:48:25 +0000 (11:48 +0900)]
Revert series of patches from cedric (due to dependencies and conflicts)

Revert "elementary: currently double declare elm_init/shutdown."
This reverts commit 44bb0c18480f5094fcd0c8be93de87be5c1d78c5.
Revert "elementary: fix efl_ui_multibutton installed headers."
This reverts commit 32a213dc722be2bfec5fb2b513dd556cfb7e9f33.
Revert "elementary: introduce Efl_Ui.h."
This reverts commit df3d3f7334a79f1ab661b31787002f50af59b3f3.
Revert "ecore: do not display error message on cancel."
This reverts commit 99654b7cd29b418e0308be350c8d26208c0905a8.
Revert "efl: and don't forget to install the new dependencies."
This reverts commit 814ffb9b6bd50d498bfd98f4b8a75f1cad3cc0cf.
Revert "ecore: remove EFL_OBJECT_BETA as Efl_Core.h is for Efl new inerfaces."
This reverts commit 619d0f3cff023414feb8f2aaeebf468806c50b44.
Revert "ecore: move EAPI_MAIN from elementary to ecore."
This reverts commit e5d84da864214b9f772808040f22e1614889a25f.

as such commit e5d84da864214b9f772808040f22e1614889a25f starts the
breaking. enlightenment, terminologya and other apps can't compile
against that efl anymore. 619d0f3cff023414feb8f2aaeebf468806c50b44
then makes this even worse with even more header errors and undefined
types. on top of this df3d3f7334a79f1ab661b31787002f50af59b3f3 then
starts making elementary_test segfault when it runs. it wont even
start up.

asu such of these 7 commits in the first 4 (that are then relied on
later) 3 of these first 4 cause serious breakage. this simply is a
complete lack of testing changes, so i've rolled fl back to before
these things so it builds and works again and you can build against it.

PLEASE test these things. this looks ot me to be obviously a lack of
any testing... :(

6 years agoelementary: currently double declare elm_init/shutdown.
Cedric BAIL [Wed, 15 Nov 2017 00:55:49 +0000 (16:55 -0800)]
elementary: currently double declare elm_init/shutdown.

6 years agoelementary: fix efl_ui_multibutton installed headers.
Cedric BAIL [Wed, 15 Nov 2017 00:53:16 +0000 (16:53 -0800)]
elementary: fix efl_ui_multibutton installed headers.

6 years agoelementary: introduce Efl_Ui.h.
Cedric BAIL [Wed, 15 Nov 2017 00:19:18 +0000 (16:19 -0800)]
elementary: introduce Efl_Ui.h.

6 years agoecore: do not display error message on cancel.
Cedric BAIL [Tue, 14 Nov 2017 22:40:22 +0000 (14:40 -0800)]
ecore: do not display error message on cancel.

6 years agoefl: and don't forget to install the new dependencies.
Cedric BAIL [Tue, 14 Nov 2017 22:31:00 +0000 (14:31 -0800)]
efl: and don't forget to install the new dependencies.

6 years agoecore: remove EFL_OBJECT_BETA as Efl_Core.h is for Efl new inerfaces.
Cedric BAIL [Tue, 14 Nov 2017 22:17:00 +0000 (14:17 -0800)]
ecore: remove EFL_OBJECT_BETA as Efl_Core.h is for Efl new inerfaces.

6 years agoecore: move EAPI_MAIN from elementary to ecore.
Cedric BAIL [Tue, 14 Nov 2017 21:50:13 +0000 (13:50 -0800)]
ecore: move EAPI_MAIN from elementary to ecore.

6 years agoelm_code: Add basic scope parsing to syntax highlighting.
Andy Williams [Tue, 14 Nov 2017 19:12:56 +0000 (19:12 +0000)]
elm_code: Add basic scope parsing to syntax highlighting.

This is currently displayed by showing scope in the widget gutter

6 years agoeina: Improve API docs for eina_crc.h
Bryce Harrington [Tue, 14 Nov 2017 13:10:14 +0000 (13:10 +0000)]
eina: Improve API docs for eina_crc.h

Reviewers: cedric, ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: jpeg, segfaultxavi

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

6 years agoeolian: scan system dir by default
Daniel Kolesa [Tue, 14 Nov 2017 12:42:38 +0000 (13:42 +0100)]
eolian: scan system dir by default

The '-S' option lets you reverse that. But by default, most
people will want the prefix to be scanned for eo files.

6 years agoelc_popup.c: accessible name_get interface added
Shilpa Singh [Tue, 14 Nov 2017 00:52:46 +0000 (09:52 +0900)]
elc_popup.c: accessible name_get interface added

Summary: accessible name_get interface added, popup does not have default text.
What should be read for the name information should be define by popup.

Test Plan:
In atspi mode, when an AT-client such as screen-reader queries, it should return
as "Alert title(if present)/text(if present)"

Reviewers: kimcinoo

Subscribers: cedric, jpeg, govi, rajeshps

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

6 years agoeolian: Fix odd syntax (remove EINA_UNUSED)
Jean-Philippe Andre [Mon, 13 Nov 2017 13:39:02 +0000 (22:39 +0900)]
eolian: Fix odd syntax (remove EINA_UNUSED)

6 years agocxx: Only give a single ref to unparented objects
Jean-Philippe Andre [Fri, 10 Nov 2017 08:18:12 +0000 (17:18 +0900)]
cxx: Only give a single ref to unparented objects

On instantiation objects get either one or two refs:
 - with a parent, they will have 2 refs, one for C++, one for the
   parent.
 - without a parent, they get a single ref, the one for C++

This will break the existing C++ examples, which I will fix in later
patches.

Note that the window is a strange object which can be created with no
parent but internally reparents itself to an object it creates (oh so
ugly).

6 years agowin: Move autodel to C only
Jean-Philippe Andre [Fri, 10 Nov 2017 07:50:01 +0000 (16:50 +0900)]
win: Move autodel to C only

Note: this is C only, not legacy only.
The problem is that bindings will hold a strong reference to the window,
which will then die "under the rug" if autodel is enabled. This then
leads to at least ERR if not crashes.

Note:
elm_policy needs to support autodel and quit on last del only for C
applications. Bindings will require some other mechanism that doesn't
break all assumptions wrt. references.

6 years agotest calendar: Add test case for string format func.
Amitesh Singh [Tue, 14 Nov 2017 02:08:17 +0000 (11:08 +0900)]
test calendar: Add test case for string format func.

6 years agoEfl.Ui.Format: Add support for "struct tm" in string format.
Amitesh Singh [Tue, 14 Nov 2017 01:51:03 +0000 (10:51 +0900)]
Efl.Ui.Format: Add support for "struct tm" in string format.

6 years agotest calendar: make format callback function better
Amitesh Singh [Tue, 14 Nov 2017 01:30:55 +0000 (10:30 +0900)]
test calendar: make format callback function better

Add comments too.

6 years agoEfl.Ui.Slider_Interval: remove smart data associated with class.
Amitesh Singh [Tue, 14 Nov 2017 00:54:42 +0000 (09:54 +0900)]
Efl.Ui.Slider_Interval: remove smart data associated with class.

Its not getting used anywhere.

6 years agoevas: disable unecessary lock when not using evas_render2
Cedric BAIL [Mon, 13 Nov 2017 22:39:08 +0000 (14:39 -0800)]
evas: disable unecessary lock when not using evas_render2

Calling this lock for no good reason result in a 2% slow down. Easy
enough to disable as we do not use evas_render2 at all. Might be
something to consider if we ever develop evas_render2 further.

6 years agoedje: last improvement of _edje_hash_find_helper speed by reducing call to eina split...
Cedric BAIL [Mon, 13 Nov 2017 22:25:10 +0000 (14:25 -0800)]
edje: last improvement of _edje_hash_find_helper speed by reducing call to eina split function.

6 years agoedje: cache last string search miss to reduce useless call to eina_str_split_full...
Cedric BAIL [Mon, 13 Nov 2017 22:13:08 +0000 (14:13 -0800)]
edje: cache last string search miss to reduce useless call to eina_str_split_full by 3.

6 years agoedje: cleanup life cycle of buffer in _edje_hash_find_helper.
Cedric BAIL [Mon, 13 Nov 2017 22:12:42 +0000 (14:12 -0800)]
edje: cleanup life cycle of buffer in _edje_hash_find_helper.

6 years agoefl_ui_win: unfocus and focus again the most upper widget
Marcel Hollerbach [Mon, 13 Nov 2017 13:15:04 +0000 (14:15 +0100)]
efl_ui_win: unfocus and focus again the most upper widget

if we unfocus a window we should unfocus also the current focused
widget.

fix T6297

6 years agoelc_naviframe.c: Append title, subtitle while reading title and subtitle in naviframe.
Shilpa Singh [Mon, 13 Nov 2017 11:54:05 +0000 (20:54 +0900)]
elc_naviframe.c: Append title, subtitle while reading title and subtitle in naviframe.

Summary: read title along with naviframe item title and subtitle along with naviframe subtitle.

Test Plan:
In accessibility mode, when naviframe title area is focused, The  text title and subtitle should be read
out along with item's title and subtitle.

Reviewers: kimcinoo

Reviewed By: kimcinoo

Subscribers: cedric, govi, rajeshps, jpeg

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

6 years agocalendar: Remove invalid ref to elm enum
Jean-Philippe Andre [Mon, 13 Nov 2017 06:39:53 +0000 (15:39 +0900)]
calendar: Remove invalid ref to elm enum

Thanks @JackDanielz for the report. This does not solve your actual
concern, though.

6 years agoedje: add event for inform about circular dependency
Vyacheslav Reutskiy [Mon, 13 Nov 2017 08:50:44 +0000 (10:50 +0200)]
edje: add event for inform about circular dependency

This commit add the event "circular,dependency" for edje object. Given
event is called when edje found the circular dependency between parts
in object. This event will be usefull and informative paired with
Edje_Edit API.

6 years agoeina: Fix spelling/punctuation errors in docs (quaternion..rectangle)
Bryce Harrington [Mon, 13 Nov 2017 03:09:21 +0000 (12:09 +0900)]
eina: Fix spelling/punctuation errors in docs (quaternion..rectangle)

Reviewers: cedric, ajwillia.ms

Subscribers: segfaultxavi, jpeg

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

6 years agoelm: evaluate MULTISELECTABLE state for genlist and gengrid
Lukasz Stanislawski [Mon, 13 Nov 2017 03:08:57 +0000 (12:08 +0900)]
elm: evaluate MULTISELECTABLE state for genlist and gengrid

Subscribers: cedric, jpeg

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

6 years agoelm: set accurate access role for elm_icon
Lukasz Stanislawski [Mon, 13 Nov 2017 03:08:43 +0000 (12:08 +0900)]
elm: set accurate access role for elm_icon

Subscribers: cedric, jpeg

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

6 years agoelm: set accurate access role for elm_popup
Lukasz Stanislawski [Mon, 13 Nov 2017 03:08:24 +0000 (12:08 +0900)]
elm: set accurate access role for elm_popup

Subscribers: cedric, jpeg

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

6 years agoeina: Fix spelling/punctuation errors in documentation (safepointer..strbuf)
Bryce Harrington [Mon, 13 Nov 2017 03:05:09 +0000 (12:05 +0900)]
eina: Fix spelling/punctuation errors in documentation (safepointer..strbuf)

Reviewers: cedric, ajwillia.ms

Subscribers: segfaultxavi, jpeg

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

6 years agoeina: Fix spelling/punctuation errors in documentation (thread..xattr)
Bryce Harrington [Mon, 13 Nov 2017 03:04:59 +0000 (12:04 +0900)]
eina: Fix spelling/punctuation errors in documentation (thread..xattr)

Summary:
Also makes some of the doxygen comment line spacing/formatting
consistent.

Interesting ref on grammar of 'an uniform' vs. 'a uniform':
  https://english.stackexchange.com/questions/4700/is-it-a-uniform-or-an-uniform
It is AN honor to work with such A uniform language as English. *sigh*

Reviewers: cedric, ajwillia.ms

Subscribers: segfaultxavi, jpeg

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

6 years agoeina: Add API doxygen for eina_rbtree_inline_lookup()
Bryce Harrington [Mon, 13 Nov 2017 03:04:39 +0000 (12:04 +0900)]
eina: Add API doxygen for eina_rbtree_inline_lookup()

Reviewers: cedric, ajwillia.ms

Subscribers: segfaultxavi, jpeg

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

6 years agoeina: Improve eina_alloca API dox
Bryce Harrington [Mon, 13 Nov 2017 03:04:32 +0000 (12:04 +0900)]
eina: Improve eina_alloca API dox

Reviewers: cedric, ajwillia.ms

Subscribers: segfaultxavi, jpeg

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

6 years agolibinput check - move up to requiring 1.6 as a minimum for libinput
Carsten Haitzler (Rasterman) [Sun, 12 Nov 2017 12:44:42 +0000 (21:44 +0900)]
libinput check - move up to requiring 1.6 as a minimum for libinput

6 years agoelm_widget_item_static_focus: do not accept the adapter as subchild
Marcel Hollerbach [Sun, 12 Nov 2017 11:02:17 +0000 (12:02 +0100)]
elm_widget_item_static_focus: do not accept the adapter as subchild

The problem here was that the adapter we have created would be
recognized as our subchild, and thus we delete our own subchild, which
is wrong. This fixes that problem and keeps the adapter alive.