platform/upstream/efl.git
7 years agoUi text: don't send focus action to cursor on init
Daniel Hirt [Mon, 3 Jul 2017 17:37:39 +0000 (20:37 +0300)]
Ui text: don't send focus action to cursor on init

It made the cursor animation start on init, even if widget wasn't
focused.

7 years agoUi text: add more examples to test
Daniel Hirt [Thu, 22 Jun 2017 15:03:45 +0000 (18:03 +0300)]
Ui text: add more examples to test

7 years agoUi text: set default color (white)
Daniel Hirt [Thu, 22 Jun 2017 15:03:41 +0000 (18:03 +0300)]
Ui text: set default color (white)

7 years agoCanvas text: re-add support for tabs
Daniel Hirt [Thu, 22 Jun 2017 14:59:14 +0000 (17:59 +0300)]
Canvas text: re-add support for tabs

Somehow this was left out. Fixes tabs, so you can now use "\t" and
press the "tab" key.

7 years agoUi text: use new api instead of 'style' property in the test
Daniel Hirt [Thu, 22 Jun 2017 14:17:17 +0000 (17:17 +0300)]
Ui text: use new api instead of 'style' property in the test

7 years agoOSX: fix version detection in build
Andy Williams [Mon, 17 Jul 2017 12:04:30 +0000 (13:04 +0100)]
OSX: fix version detection in build

7 years agoeolian: always generate a class initializer
Daniel Kolesa [Mon, 17 Jul 2017 09:04:29 +0000 (11:04 +0200)]
eolian: always generate a class initializer

Because there might be hidden C implements defined, we need to
always generate the appropriate class initializer. This does not
hurt anything as the contents would have been called automatically
by Eo anyway.

@fix T5736

7 years agowin: Amend previous commit about modifiers
Jean-Philippe Andre [Mon, 17 Jul 2017 07:36:19 +0000 (16:36 +0900)]
win: Amend previous commit about modifiers

The code was invalid, so making it valid now. Explicitely marking
the modifiers as unused, as mentionned in the documentation as
well.

See 9baa8752a9170e68e9430474f26cc1e672677d8e

7 years agoeina debug bt sig handle - fix build on osx for clockid_t
Carsten Haitzler (Rasterman) [Mon, 17 Jul 2017 07:02:25 +0000 (16:02 +0900)]
eina debug bt sig handle - fix build on osx for clockid_t

fix #ifdefs so it should in theory build on osx 10.11.x

@fix

7 years agoedje_signal: reduce member count when deleted edje_signal_callback is found
Sungtaek Hong [Mon, 17 Jul 2017 06:05:19 +0000 (15:05 +0900)]
edje_signal: reduce member count when deleted edje_signal_callback is found

Summary:
 - when deleted callback is found _edje_signal_callback_move_last() is called
   in order to pack match array.
 - during _edje_signal_callback_move_last() index skips when another deleted
   callback is found, but does not reduce members_count.
 - this duplicates a remaining callback and calls the callback twice.

Test Plan:
1. add multiple edje_signal_callback by edje_object_signal_callback_add()
              which have the same source, signal, func but different data.
           2. delete first and last callback by
              edje_object_signal_callback_del/edje_object_signal_callback_del_full.
           3. emit edje_signal.
           4. observe one callback is called twice.

Reviewers: SanghyeonLee, conr2d, jpeg

Subscribers: cedric, jpeg

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

7 years agowin: Fix ABI compatibility for grab modifiers
Jean-Philippe Andre [Mon, 17 Jul 2017 05:24:30 +0000 (14:24 +0900)]
win: Fix ABI compatibility for grab modifiers

This fixes an ABI change when moving from unsigned long long
modifier mask to a simple enum. This is a fix for the release
of EFL 1.20.

7 years agoecore joystick: Use const char * in API, not slstr
Jean-Philippe Andre [Mon, 17 Jul 2017 02:00:23 +0000 (11:00 +0900)]
ecore joystick: Use const char * in API, not slstr

The API eina_slstr_ is meant to look just like const
strings, wihch means here there could instead be an internal
struct holding the name, and the API would behave the same.

Note: This API is new in 1.20

7 years agoRevert "elm_widget: separate elm_widget_item codes from elm_widget.c"
WooHyun Jung [Mon, 17 Jul 2017 04:45:08 +0000 (13:45 +0900)]
Revert "elm_widget: separate elm_widget_item codes from elm_widget.c"

This reverts commit 4f8d20c8265385f5eb7412dc96327b273cadd0b6.
I'll apply this after finishing of release.
Thanks JP to give notification.

7 years agoelm_widget: separate elm_widget_item codes from elm_widget.c
WooHyun Jung [Mon, 17 Jul 2017 02:22:46 +0000 (11:22 +0900)]
elm_widget: separate elm_widget_item codes from elm_widget.c

This will help to focus on creating efl_ui_widget class work.
And, we need to change all the Elm_Widget_Item related logics to
factory or something else.

7 years agoevas-gl_cocoa: fix compilation
Jean Guyomarc'h [Sun, 16 Jul 2017 15:26:41 +0000 (17:26 +0200)]
evas-gl_cocoa: fix compilation

Booo for commit 2e6587a14b5e301e66f0ec5ef080eccb897b0fc5.

7 years agoevas gl - fix compositing/native surface with egl/gles after glvnd
Carsten Haitzler (Rasterman) [Fri, 14 Jul 2017 09:55:25 +0000 (18:55 +0900)]
evas gl - fix compositing/native surface with egl/gles after glvnd

this fixes an issue that has cropped up in the past few months - only
nvidia drivers with egl/gles in x11... and compositing won't work
(native surface) and the introduction of libglvnd

it's a combination of libglvnd lying that it has symbols it can't
later find, new features to get core functions via procaddress that we
hadn't migrated to use AND use preferring core functions that libglvnd
will expose, so switching to KHR extensions by preference. we also
need to symmetrically use destroy image khr too...

oddly enough using procaddress purely for create/destroy image makes
wayland fail ... sofor now i'm taking advantage of the fact that
wayland has no extensions string passed in at the moment and still
doing dlsym... this is odd though.

@fix

7 years agoefreet icon cache create bin - check realloc results and handle
Carsten Haitzler (Rasterman) [Thu, 13 Jul 2017 09:48:31 +0000 (18:48 +0900)]
efreet icon cache create bin - check realloc results and handle

@fix

7 years agoefreet cache create binary - check realloc results and handle failure
Carsten Haitzler (Rasterman) [Thu, 13 Jul 2017 09:48:00 +0000 (18:48 +0900)]
efreet cache create binary - check realloc results and handle failure

@fix

7 years agoeo lexer - handle malloc failure with longjmp
Carsten Haitzler (Rasterman) [Thu, 13 Jul 2017 09:12:01 +0000 (18:12 +0900)]
eo lexer - handle malloc failure with longjmp

handles possible error case nicely

7 years agoevas mesh save - use alloca for tmp strings instead of heap
Carsten Haitzler (Rasterman) [Thu, 13 Jul 2017 08:54:07 +0000 (17:54 +0900)]
evas mesh save - use alloca for tmp strings instead of heap

this reduces code and means we dont have to handle NULL exceptions as
alloca always "works".

@fix

7 years agoelm_code: add missing selection signals
Andy Williams [Sat, 15 Jul 2017 20:29:33 +0000 (21:29 +0100)]
elm_code: add missing selection signals

7 years agobuild: set tests according to profile by default
Andy Williams [Sat, 15 Jul 2017 19:00:01 +0000 (20:00 +0100)]
build: set tests according to profile by default

7 years agoecore-evas: make the window_get apis return null without errors on failure
Mike Blumenkrantz [Fri, 14 Jul 2017 22:43:06 +0000 (18:43 -0400)]
ecore-evas: make the window_get apis return null without errors on failure

the normal usage of these is something like

if (!strcmp(engine, my_engine))
  win = window_get(ee);

which is a waste of effort since the window_get() functions all check
the engine interface internally

7 years agoeina: make tiler test compare tilers which are not equal
Mike Blumenkrantz [Fri, 14 Jul 2017 22:43:06 +0000 (18:43 -0400)]
eina: make tiler test compare tilers which are not equal

7 years agoeina: fix eina_tiler_equal to not always return true
Mike Blumenkrantz [Fri, 14 Jul 2017 22:43:06 +0000 (18:43 -0400)]
eina: fix eina_tiler_equal to not always return true

ref e3f4f4457d1614912cd43fc9db3dd07a7a8fe911
broken by D996

@fix

7 years agoeina: make tiler function params const where appropriate
Mike Blumenkrantz [Fri, 14 Jul 2017 22:43:06 +0000 (18:43 -0400)]
eina: make tiler function params const where appropriate

stop throwing warnings when passing const params to functions which don't
modify the params

7 years agoexamples: elm_icon: remove no-op deprecated function call for icon lookup
Stefan Schmidt [Fri, 14 Jul 2017 12:06:34 +0000 (14:06 +0200)]
examples: elm_icon: remove no-op deprecated function call for icon lookup

The function is deprecated and actually a no-op already. Better make
sure we do not promote deprecated functions in our won examples.

7 years agotests: elm_popup: mark unused parameter as such to avoid warning
Stefan Schmidt [Fri, 14 Jul 2017 10:46:33 +0000 (12:46 +0200)]
tests: elm_popup: mark unused parameter as such to avoid warning

7 years agoefl.ui.image.zoomable: mark setter of img_region property as eo api
Amitesh Singh [Fri, 14 Jul 2017 10:32:55 +0000 (19:32 +0900)]
efl.ui.image.zoomable: mark setter of img_region property as eo api

thanks to stefan for reporting.

7 years agoedje_cc: Add copy item for proxy part
jiin.moon [Fri, 14 Jul 2017 02:29:50 +0000 (11:29 +0900)]
edje_cc: Add copy item for proxy part

Summary:
Although user use "inherit" in a state of proxy part,
the inherit function does not copy the source_visible and
the source_clip value of parent to the state.

Test Plan: {F1751132}sample

Reviewers: jpeg, cedric

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

@fix

7 years agoecore_evas: Perform a tick before a manual render if we're not ticking
Derek Foreman [Wed, 12 Jul 2017 21:31:19 +0000 (16:31 -0500)]
ecore_evas: Perform a tick before a manual render if we're not ticking

If we turned off the ticking with manual_render_set then perform a
manual render, we need animators to update.

ref T5462

7 years agoecore_evas: Don't start custom tickers for manually rendered canvases
Derek Foreman [Tue, 11 Jul 2017 21:43:33 +0000 (16:43 -0500)]
ecore_evas: Don't start custom tickers for manually rendered canvases

When a canvas is manually rendered the ticker is just a waste of cpu, and
worse - it can wake the drm back-end from dpms sleep, as the display needs
to be awake to generate vblanks.

We fire a DBG message when attempting to start an animator in this state
because it's frequently a bug that wastes battery life - (like E doing idle
cursor animations or clock updates while the display is off)

However, dpms off is not the only potential usage of manual render, so
another commit will follow shortly to fix the bug this commit introduces -
when using a backend with a custom ticker and doing manual render with
the display on, calling ecore_evas_manual_render() will not draw with
updated animator state.

Fix T5462
Again.
Really.

7 years agoecore_evas_drm: Provide a last_tick_get callback
Derek Foreman [Wed, 12 Jul 2017 21:30:07 +0000 (16:30 -0500)]
ecore_evas_drm: Provide a last_tick_get callback

Allow the drm engine to provide a tick timestamp for the previous vblank
interval.

ref T5462

7 years agoecore_evas: Add a function pointer for last_tick_get
Derek Foreman [Wed, 12 Jul 2017 21:29:17 +0000 (16:29 -0500)]
ecore_evas: Add a function pointer for last_tick_get

Engines that provide their own tickers may need to be able to provide the
time of the last tick even if they weren't sending ticks to EFL at the
time.

This is a feature added during freeze as it's necessary to resolve a bug.

ref T5462

7 years agoecore_drm2: Add a query for the next vblank time
Derek Foreman [Wed, 12 Jul 2017 20:27:52 +0000 (15:27 -0500)]
ecore_drm2: Add a query for the next vblank time

I guess this is a feature, and we're deep in freeze, but:

a) this is critical for fixing T5462 properly without any side effects.
b) ecore_drm2 is all beta api
c) this should only affect wayland users

ref T5462

7 years agoecore_evas: Refactor event catchers to call custom_tick_begin/end
Derek Foreman [Tue, 11 Jul 2017 21:13:46 +0000 (16:13 -0500)]
ecore_evas: Refactor event catchers to call custom_tick_begin/end

Make the event catcher functions call the custom_tick_begin/end helpers
instead of directly calling the engine functions.

7 years agoecore_evas engines: Add some nulls to the func arrays
Derek Foreman [Wed, 12 Jul 2017 21:24:09 +0000 (16:24 -0500)]
ecore_evas engines: Add some nulls to the func arrays

Purely cosmetic, but gets the comments back in sync with reality.

7 years agoecore_evas: protect against application holding a reference on the canvas while destr...
Cedric BAIL [Thu, 13 Jul 2017 22:34:37 +0000 (15:34 -0700)]
ecore_evas: protect against application holding a reference on the canvas while destroying the ecore_evas.

7 years agodoc: Include two missing properties
Andy Williams [Thu, 13 Jul 2017 22:19:52 +0000 (23:19 +0100)]
doc: Include two missing properties

7 years agoelm: naviframe/prefs : do not include non-public header files
Stefan Schmidt [Thu, 13 Jul 2017 11:52:35 +0000 (13:52 +0200)]
elm: naviframe/prefs : do not include non-public header files

We are not shipping those (part of the private eo header files) and thus
we can not include those either. Simply removing them fixes the problem
I see with our ABI checker and it still passes al build tests I have.

7 years agoelm: build: fix indentation of file lists
Stefan Schmidt [Thu, 13 Jul 2017 11:04:44 +0000 (13:04 +0200)]
elm: build: fix indentation of file lists

I was looking over this file for other problems but this jumped into my
eye.

7 years agoeina: inarray: remove documentation pointer to non-existing functions
Stefan Schmidt [Thu, 13 Jul 2017 09:21:59 +0000 (11:21 +0200)]
eina: inarray: remove documentation pointer to non-existing functions

These do not longer exist in our current code base (did they ever?).

Thanks a lot to Vincent Torri for spotting this!

7 years agoefl_ui_focus_manager: this whole thing is not just eo api its also beta
Marcel Hollerbach [Thu, 13 Jul 2017 08:37:34 +0000 (10:37 +0200)]
efl_ui_focus_manager: this whole thing is not just eo api its also beta

7 years agoelementary: no need to provide the new legacy api
Marcel Hollerbach [Thu, 13 Jul 2017 08:23:56 +0000 (10:23 +0200)]
elementary: no need to provide the new legacy api

The api is beta AND only usable in eo, so no need to add those apis here

7 years agowin: fix compiler warning
Amitesh Singh [Thu, 13 Jul 2017 02:16:48 +0000 (11:16 +0900)]
win: fix compiler warning

7 years agoThermal theme: Remove text from theme and quit wasting space.
Stephen 'Okra' Houston [Wed, 12 Jul 2017 18:07:22 +0000 (13:07 -0500)]
Thermal theme: Remove text from theme and quit wasting space.

7 years agoecore_anim: set the tick thread's fds CLOEXEC
Derek Foreman [Wed, 12 Jul 2017 18:01:43 +0000 (13:01 -0500)]
ecore_anim: set the tick thread's fds CLOEXEC

If we don't set them CLOEXEC then they end up in the fd space of every
client Enlightenment launches, allowing any client to write to them
and mess with animator timings or freeze the compositor.

7 years agoefl-wl: initialize variable
Mike Blumenkrantz [Wed, 12 Jul 2017 17:41:23 +0000 (13:41 -0400)]
efl-wl: initialize variable

CID 1377573

7 years agobuild: efl_wl: make sure we have the two files for efl_wl included
Stefan Schmidt [Wed, 12 Jul 2017 16:56:47 +0000 (18:56 +0200)]
build: efl_wl: make sure we have the two files  for efl_wl included

These two files coming in via EXTRA_DIST have not been included becuase
they have been living inside an ifdef which would only have them
included in a dist when configured with wayland enabled. We always want
to have these files in the dist though. Building for wayland out of a
tarball release works now again.

Problem reported by William L. Thomson Jr.

7 years agoedje_edit: fix source generation
Andrii Kroitor [Wed, 12 Jul 2017 16:21:15 +0000 (19:21 +0300)]
edje_edit: fix source generation

7 years agoefl-wl: change x11 atom name var to normal char*
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl-wl: change x11 atom name var to normal char*

7 years agoefl-wl: free atom name when sending selection
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl-wl: free atom name when sending selection

CID 1377542

7 years agoefl-wl: free x11 pipe read buf on read fail
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl-wl: free x11 pipe read buf on read fail

CID 1377520

7 years agoefl-wl: return if pipe reading fails in x11 bridge
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl-wl: return if pipe reading fails in x11 bridge

CID 1377526, 1377534

7 years agoefl-wl: check returns in x11 selection request handler
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl-wl: check returns in x11 selection request handler

CID 1377518

7 years agoefl-wl: mmap byte for nul terminator in keymap string
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl-wl: mmap byte for nul terminator in keymap string

CID 1377545

7 years agoefl-wl: check return of ecore_main_fd_handler_fd_get
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl-wl: check return of ecore_main_fd_handler_fd_get

CID 1377541, 1377546, 1377519, 1377529, 1377543

7 years agoefl_wl: check mkstemp return
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl_wl: check mkstemp return

CID 1377533

7 years agoefl_wl: error and cleanup on CLOEXEC fail
Mike Blumenkrantz [Wed, 12 Jul 2017 16:00:52 +0000 (12:00 -0400)]
efl_wl: error and cleanup on CLOEXEC fail

CID 1377530, 1377531

7 years agoefl_wl: Fix resource leak
Chris Michael [Wed, 12 Jul 2017 15:24:37 +0000 (11:24 -0400)]
efl_wl: Fix resource leak

Coverity reports that 'name' is leaked here, so free the return
ecore_x_atom_name_get.

Fixes CID1377537

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoelput: Fix resource leak
Chris Michael [Wed, 12 Jul 2017 15:02:16 +0000 (11:02 -0400)]
elput: Fix resource leak

Coverity CID1377539 says that we leak the eldbus reply here when we
error out, so be sure to cleanup 'reply'

Fixes CID1377539

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore: Fix coverity resource leak
Chris Michael [Wed, 12 Jul 2017 14:58:28 +0000 (10:58 -0400)]
ecore: Fix coverity resource leak

Coverity CID1377544 reports that poller is leaked here if we error out
and return null. As poller is created with calloc, we should free it
before returning.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoedje: give proper width to entry's cursor according to its theme
Youngbok Shin [Wed, 12 Jul 2017 09:37:50 +0000 (18:37 +0900)]
edje: give proper width to entry's cursor according to its theme

Summary:
evas_object_textblock_cursor_geometry_get() always return 0 as cursor's width
for BEFORE type cursor. It casued different cursor width when cursor_fg2 was shown.
The cursor_fg and cursor_fg2 must have same width according to its min width.

Also, the patch will enclose code for cursor_fg2 by cursor_fg code.
It is used when only there is cursor_fg.
@fix

Test Plan:
1. Give bigger width to entry's cursor by changing its theme.
2. See the width cursor_fg, cursor_fg2 when there is [LTR text + RTL text].

Reviewers: raster, herdsman, cedric, jpeg

Subscribers: stefan_schmidt

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

7 years agoevas_smart: Fix evas_smart_callback_description_find
Jean-Philippe Andre [Wed, 12 Jul 2017 08:19:28 +0000 (17:19 +0900)]
evas_smart: Fix evas_smart_callback_description_find

bsearch was returnign a cb** not a cb*

Fixes T4540

7 years agopo files - update lines/comments
Carsten Haitzler (Rasterman) [Wed, 12 Jul 2017 06:45:17 +0000 (15:45 +0900)]
po files - update lines/comments

7 years agoignore - add some build binary files to gitignore
Carsten Haitzler (Rasterman) [Wed, 12 Jul 2017 06:44:51 +0000 (15:44 +0900)]
ignore - add some build binary files to gitignore

7 years agoevas mouse in/out/move event fix to remove "invalid move"
Carsten Haitzler (Rasterman) [Wed, 12 Jul 2017 06:43:41 +0000 (15:43 +0900)]
evas mouse in/out/move event fix to remove "invalid move"

this should fix T5582 "properly" by emitting a move after an in only
if pointer x,y changed. this fixes rage and i hope still should handle
the original issue. let me know if it doesn't.

@fix

7 years agoTheme: Don't display freq on the meter for cpuclock.
Stephen 'Okra' Houston [Wed, 12 Jul 2017 06:24:43 +0000 (01:24 -0500)]
Theme: Don't display freq on the meter for cpuclock.

7 years agoRevert "colorselector: Avoid API call on NULL object"
Jean-Philippe Andre [Wed, 12 Jul 2017 01:55:44 +0000 (10:55 +0900)]
Revert "colorselector: Avoid API call on NULL object"

This reverts commit b156f606e4fefb9b1d3ac0ca6d180e0d70e0140c.
The change should have been in EO itself. See the previous
patch.

Ref T5715

7 years agoeo: Don't resolve function calls for NULL objects
Jean-Philippe Andre [Wed, 12 Jul 2017 01:43:07 +0000 (10:43 +0900)]
eo: Don't resolve function calls for NULL objects

eo_function(NULL) always leads to a no-operation. A this
point it is basically considered the normal operation
with EO to just silently ignore NULL errors.

If the API function "eo_function" belongs to a class that
has not been loaded yet (eg. no object of this type has
been created yet), then the op associated to the API func
may not be defined yet.

Fixes T5715

7 years agocolorselector: Avoid API call on NULL object
Jean-Philippe Andre [Wed, 12 Jul 2017 01:24:11 +0000 (10:24 +0900)]
colorselector: Avoid API call on NULL object

Solves this error:
  ERR<2321>:eo ../src/lib/efl/interfaces/efl_pack_layout.eo.c:1
  efl_pack_layout_request() Unable to resolve op for api func
  0x7fffed16dba0 for obj=(nil) ((null))

Fixes T5715

7 years agoecore_evas_drm: Partially revert "Refuse to start a ticker for a manually rendered...
Derek Foreman [Tue, 11 Jul 2017 21:08:55 +0000 (16:08 -0500)]
ecore_evas_drm: Partially revert "Refuse to start a ticker for a manually rendered canvas"

BAILing here can break animators permanently, so best to just log the
issue and move on (and potentially allow the ticker to wake us from DPMS).

ref T5462

Partially reverts a795629e8c9d7a7f444f8ce655eb9e24dce51429

7 years agorelease: Update NEWS and bump version for 1.20.0-beta2 release
Stefan Schmidt [Tue, 11 Jul 2017 21:00:00 +0000 (23:00 +0200)]
release: Update NEWS and bump version for 1.20.0-beta2 release

7 years agotests: elm_cxx: add gitignore file for produced binary
Stefan Schmidt [Tue, 11 Jul 2017 20:55:28 +0000 (22:55 +0200)]
tests: elm_cxx: add gitignore file for produced binary

7 years agobuild: make sure we have the new fonts subdir in evas test for dist
Stefan Schmidt [Tue, 11 Jul 2017 19:58:15 +0000 (21:58 +0200)]
build: make sure we have the new fonts subdir in evas test for dist

This is one o the odds of the EXTRA_DIST2 workaround I did to avoid the
to long arguments error we started to get a while ago. Normally
autotools would handle this but as we copy the files in a hook we also
need to amke sure the folder is created.

7 years agoevas: update file path after move into fonts subdir
Stefan Schmidt [Tue, 11 Jul 2017 19:54:25 +0000 (21:54 +0200)]
evas: update file path after move into fonts subdir

The file have been moved into a fonts subdir in commit e8b35c779e7d7b.
Update the path here to get it included into the tarball to make sure
check passes during distcheck.

7 years agoecore: properly cleanup callbacks of future/promise.
Cedric BAIL [Tue, 11 Jul 2017 18:02:47 +0000 (11:02 -0700)]
ecore: properly cleanup callbacks of future/promise.

7 years agoelm: Fix fileselector button "hidden files"
Jean-Philippe Andre [Tue, 11 Jul 2017 09:58:51 +0000 (18:58 +0900)]
elm: Fix fileselector button "hidden files"

Fixes T5465

@fix

7 years agoecore_input: fix build without eeze
Romain Naour [Mon, 3 Jul 2017 21:26:16 +0000 (23:26 +0200)]
ecore_input: fix build without eeze

A dependency on HAVE_EEZE is missing in ecore_input_joystick_name_get():

lib/ecore_input/ecore_input_joystick.c: Dans la fonction « ecore_input_joystick_name_get »:
lib/ecore_input/ecore_input_joystick.c:632:4: erreur : unknown type name « Joystick_Info »
    Joystick_Info *ji;
    ^~~~~~~~~~~~~

Fixes T5665

Signed-off-by: Romain Naour <romain.naour@smile.fr>
7 years agoslider: Allow range limitations
Hosang Kim [Tue, 11 Jul 2017 07:25:44 +0000 (16:25 +0900)]
slider: Allow range limitations

Summary:
When user drags slider, slider value cannot be changed by API.
However the necessity of above behavior has emerged.
Because sometimes applications want limitation of slider value.

Test Plan: elementary_test -> slider -> Limited

Reviewers: woohyun, cedric, SanghyeonLee, singh.amitesh, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

7 years agoevas: Add a test case with a custom font
Jean-Philippe Andre [Tue, 11 Jul 2017 07:02:59 +0000 (16:02 +0900)]
evas: Add a test case with a custom font

The font is **ugly** and was created with birdfont. Its license
shall be anything EFL requires (public domain in the ttf file).

7 years agoevas font: append global font path when Evas initializes Fontconfig
Youngbok Shin [Tue, 11 Jul 2017 06:46:03 +0000 (15:46 +0900)]
evas font: append global font path when Evas initializes Fontconfig

Summary:
If there are appended font pathes before initializing Fontconfig,
Evas must care the font pathes after initializing Fontconfig.
@fix

Test Plan:
1. Call evas_font_path_global_append() with a private font path
   before adding any Evas Object.
2. Add a Evas Textblock object which uses a font from the private font path.
3. See the font is not loaded properly without the patch.

Reviewers: raster, cedric, herdsman, jpeg, woohyun

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

7 years agopopup: fix sizing eval logic when scrollable set TRUE
JinYong Park [Tue, 11 Jul 2017 06:36:06 +0000 (15:36 +0900)]
popup: fix sizing eval logic when scrollable set TRUE

Summary:
When scrollable set TRUE,
scroller must be calculated its size except using item.
If content is removed, scroller doesn't calculate its size, so it has previous size.
So there is a empty space in this case.

@fix

Test Plan:
1. elementary_test -to popup
2. open "popup-center-title + list content + 2 button (with delete content)"
3. click "Delete" button
4. compare between scrollable set true and false

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

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

7 years agoelm test: label slide - use better color as background for label.
Amitesh Singh [Tue, 11 Jul 2017 06:37:01 +0000 (15:37 +0900)]
elm test: label slide - use better color as background for label.

7 years agogenlist: fix multiple focus edje signal issue
Amitesh Singh [Tue, 11 Jul 2017 06:12:45 +0000 (15:12 +0900)]
genlist: fix multiple focus edje signal issue

We need focus edje signal when item is focused or the already
focused item realizes. its wrong to call focus signal on
_elm_genlist_item_state_update()

fixes T4969

7 years agoevas: Improve the documentation for evas_init() and evas_shutdown()
Bryce Harrington [Tue, 11 Jul 2017 02:35:25 +0000 (11:35 +0900)]
evas: Improve the documentation for evas_init() and evas_shutdown()

Summary:
Rephrase the documentation to read a bit more clearly, and restructure
the inclusions of stanzas from evas-buffer-simple.c to reflect the
recent updates to that example.

Reviewers: cedric

Subscribers: jpeg

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

7 years agoevas: Fix stray periods
Bryce Harrington [Tue, 11 Jul 2017 02:29:52 +0000 (11:29 +0900)]
evas: Fix stray periods

Summary: "to the Evas. @b buffer engine"

Reviewers: cedric

Subscribers: jpeg

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

7 years agogitignore: Ignore pc/efl-wl.pc
Bryce Harrington [Tue, 11 Jul 2017 02:29:40 +0000 (11:29 +0900)]
gitignore: Ignore pc/efl-wl.pc

Reviewers: zmike

Subscribers: cedric, jpeg

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

7 years agoexamples: Move introduction to Ecore-Evas to evas-transparent.c
Bryce Harrington [Tue, 11 Jul 2017 02:29:07 +0000 (11:29 +0900)]
examples: Move introduction to Ecore-Evas to evas-transparent.c

Summary:
The evas-transparent.c example is quite short, and so will allow for
more detailed explanation of setting up Ecore-Evas.  Then
evas-object-manipulation.c can focus more on the explanation of objects
in Ecore-Evas.

Reviewers: cedric

Subscribers: jpeg

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

7 years agoecore_evas_drm: Refuse to start a ticker for a manually rendered canvas
Derek Foreman [Mon, 10 Jul 2017 21:07:15 +0000 (16:07 -0500)]
ecore_evas_drm: Refuse to start a ticker for a manually rendered canvas

With atomic mode setting this has the hilarious side effect of waking
up the display from dpms.

Attempting to tick when manual render is set is likely a bug, so
log an ERR.

fix T5462

7 years agoecore_evas: Don't start backend ticking for manually rendered canvases
Derek Foreman [Mon, 10 Jul 2017 21:05:27 +0000 (16:05 -0500)]
ecore_evas: Don't start backend ticking for manually rendered canvases

Shortcut the code that starts up a back-end ticker if we're manually
rendered.

ref T5462

7 years agoefl_ui_focus_manager: fix leaking safed_order
Marcel Hollerbach [Mon, 10 Jul 2017 17:57:56 +0000 (19:57 +0200)]
efl_ui_focus_manager: fix leaking safed_order

7 years agoelementary: fix leaking manager objects
Marcel Hollerbach [Mon, 10 Jul 2017 14:22:32 +0000 (16:22 +0200)]
elementary: fix leaking manager objects

they are now automatically destroyed once the object is deleted.

7 years agoelput: Update modifers for caps lock
Chris Michael [Mon, 10 Jul 2017 18:27:27 +0000 (14:27 -0400)]
elput: Update modifers for caps lock

Small patch to fix issue of not setting caps_lock modifier. As we
lookup this modifier index when creating keyboard info, we should be
testing for it and setting seat->modifiers accordingly.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoelput: Fix support for setting keyboard led(s)
Chris Michael [Mon, 10 Jul 2017 18:14:06 +0000 (14:14 -0400)]
elput: Fix support for setting keyboard led(s)

Small patch to update keyboard led(s) when caps, numlock, etc are
pressed. This patch adds some fields to internal (non-API exposed)
structures inside our private header (of a BETA-API library) and thus
should still be ok during freeze.

Fixes T5655

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoelput: Minor formatting fix
Chris Michael [Mon, 10 Jul 2017 17:13:59 +0000 (13:13 -0400)]
elput: Minor formatting fix

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-wl2: Formatting fixes
Chris Michael [Mon, 10 Jul 2017 17:10:01 +0000 (13:10 -0400)]
ecore-wl2: Formatting fixes

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-wl2: Add event handlers even if no data device manager exists
Chris Michael [Mon, 10 Jul 2017 17:02:43 +0000 (13:02 -0400)]
ecore-wl2: Add event handlers even if no data device manager exists

If we have no data device manager present, we would still like to
receive events when input devices get added or removed so these
handlers should be setup before we return from this function.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-wl2: Rename internal function
Chris Michael [Mon, 10 Jul 2017 17:02:02 +0000 (13:02 -0400)]
ecore-wl2: Rename internal function

As we are in the Ecore_Wl2 library, lets use a function name that
reflects this.

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoEvas textblock: add null check in evas_textblock_cursor_free
Jaehyun Cho [Mon, 10 Jul 2017 11:53:34 +0000 (20:53 +0900)]
Evas textblock: add null check in evas_textblock_cursor_free