platform/upstream/efl.git
6 years agonaviframe: while popping, another popping should not be executed 36/166436/2
WooHyun Jung [Fri, 1 Jul 2016 00:25:42 +0000 (09:25 +0900)]
naviframe: while popping, another popping should not be executed

Change-Id: I7439961ff123dfad98233dab25d2f216095c4db7

6 years agonaviframe: Add a signal for internal usage - "item,pushed,internal" 35/166435/2
Youngbok Shin [Mon, 23 May 2016 11:13:15 +0000 (20:13 +0900)]
naviframe: Add a signal for internal usage - "item,pushed,internal"

It is used only in efl-ext.
@tizen_feature

Change-Id: I1bc751fd3d1a32e246a5a8ed8a7e66b1289b234d

6 years agoelm_config: Support opengl on wayland for "opengl_x11" engine. 97/166797/3
Jaehyun Cho [Wed, 4 May 2016 09:10:14 +0000 (18:10 +0900)]
elm_config: Support opengl on wayland for "opengl_x11" engine.

If elm_config_preferred_engine_set("opengl_x11") is called, then set
accel preference internally to use opengl engine on wayland.

Change-Id: Ib9bc887401c1be6ecf46d623836d5d1c9496f1d6

6 years ago evas_type: add EVAS_DISPLAY_MODE_INHERIT to Evas_Display_Mode for backward compati... 29/166829/1
Jiyoun Park [Fri, 12 Jan 2018 04:32:46 +0000 (13:32 +0900)]
   evas_type: add EVAS_DISPLAY_MODE_INHERIT to Evas_Display_Mode for backward compatibility
   Original_Change-Id: I06c97b57f9c6e0c555b780911015fd389f045e63

Change-Id: I625f7ad24afda7f8d080c834fcb4243f1331ce96

6 years agoefreet : Remove launching efreed on Tizen 20/166620/2
WooHyun Jung [Thu, 11 Jan 2018 07:01:31 +0000 (16:01 +0900)]
efreet : Remove launching efreed on Tizen

efreetd is used for freedesktop environment
But, Tizen is consisted of another environment
and desktop managing(based on freedesktop standard) does not needed to efreetd

Therefore, efreetd can be removed on Tizen.
But, libefreet is still left beause a few functions use libefreet in elementary.

- src/lib/efreet/efreet_cache.c: skip daemon launching sequence in efreet_cache_init()

@tizen_fix

Change-Id: I51fa0da68e6e37c48c18d8da1ac134cb2d6dd628

6 years agoForce ELM_WAYLAND_EGL if engine set called when DISPLAY not set 96/166796/2
Mikko Ylinen [Thu, 10 Jan 2013 12:30:37 +0000 (14:30 +0200)]
Force ELM_WAYLAND_EGL if engine set called when DISPLAY not set

Some applications are directly calling elm_config_preferred_engine_set.
To avoid patching all apps to work with Wayland, always set
ELM_WAYLAND_EGL if elm_config_preferred_engine_set is called with
EGL_OPENGL_X11 or EGL_SOFTWARE_X11 when DISPLAY is not set.

Change-Id: I9834709346049b527bcdc2e327d113ba7a8917e0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
6 years agoslider: fix slider indicator behavior 81/166781/2
Hosang Kim [Wed, 19 Apr 2017 04:18:39 +0000 (13:18 +0900)]
slider: fix slider indicator behavior

1. Slider indicator will be shown, when always visible mode is on.

2. When slider is disabled, slider indicator will be disabled, too.

@tizen_fix

Change-Id: Ia08e15a191c5cfced14b9cc4a1944af11b0acf5e

6 years agospinner: apply UI Mirroring for Tizen 3.0 48/166748/2
Jaeun Choi [Thu, 11 Jan 2018 12:28:24 +0000 (21:28 +0900)]
spinner: apply UI Mirroring for Tizen 3.0

spinner's look and behavior are not affected by UI mirroring

Change-Id: I1772d8a284aaaa63e1bd0ed96432e851d0c016b1
Signed-off-by: Jaeun Choi <jaeun12.choi@samsung.com>
6 years agospinner: apply UI Mirroring for Tizen 3.0 96/166696/2
Jaeun Choi [Thu, 11 Jan 2018 11:49:05 +0000 (20:49 +0900)]
spinner: apply UI Mirroring for Tizen 3.0

spinner's look and behavior are not affected by UI mirroring,
so buttons inside a spinner should not be mirrored either.
this patch makes the buttons not to be affected by elm_config_mirrored_set
and sets the mirror mode manually as EINA_FALSE.

@tizen_only

Change-Id: I8f8dcd90babdc1ff52a45ac70a9c7c13a4351c41

6 years agopanel: add "elm,state,hold", "elm,state,unhold" signals 87/166687/2
Jaeun Choi [Thu, 11 Jan 2018 11:22:33 +0000 (20:22 +0900)]
panel: add "elm,state,hold", "elm,state,unhold" signals

these signals were added in Tizen 2.3 as Tizen only code
and removed after merging upstream code into Tizen 2.4.
need to add the signals for compatibility.

@tizen_only

Change-Id: I5e0bcdea7a566ab85fec224c1fc84422e45d2754

6 years agoefl_ui_clock: elm_widget_can_focus_set before module init for support TV UX 86/166786/3
Jeonghyun Yun [Fri, 12 Jan 2018 02:27:07 +0000 (11:27 +0900)]
efl_ui_clock: elm_widget_can_focus_set before module init for support TV UX

@tizen_fix

Change-Id: I287f51afe95685f511667cab921fb24787671853
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoevas, edje: Apply align according to paragraph_direction
Youngbok Shin [Fri, 12 Jan 2018 02:48:24 +0000 (11:48 +0900)]
evas, edje: Apply align according to paragraph_direction

It is a patch to keep backward compat with Tizen 2.4.
This feature should be replaced by align=locale feature.
Please, check the following upstream patch.
https://phab.enlightenment.org/D4664

@tizen_feature

Change-Id: I847ee5bae6d35afe29321fdeeb186f60b746fd18

6 years agoremove proper timer in landscape indicator connect callback 98/166498/2
Jongmin Lee [Wed, 10 Jan 2018 11:01:23 +0000 (20:01 +0900)]
remove proper timer in landscape indicator connect callback

Change-Id: Ie16bb7ac161f82325120afb78e054f873ae7e7aa

6 years agoedje: keep cursor position on mouse down and move
Youngbok Shin [Thu, 11 Jan 2018 12:29:20 +0000 (21:29 +0900)]
edje: keep cursor position on mouse down and move

The new internal API can be used in elemenatry

@tizen_fix

Change-Id: Ifa3e8ea7ed9cf9ca30fbcd2596550c1836fa35f2

6 years agoedje/elemenatry: add/apply additional cursor function for improving performance
Youngbok Shin [Thu, 11 Jan 2018 12:18:28 +0000 (21:18 +0900)]
edje/elemenatry: add/apply additional cursor function for improving performance

There is a patch on upstream EFL.
https://phab.enlightenment.org/D4223

@tizen_feature

Change-Id: I7d8c3d9f23a37565079c5abc7e642022d9b47006

6 years agotheme: hecking the return value of a function strchr 83/166683/2
Minchul Lee [Mon, 8 May 2017 08:17:17 +0000 (17:17 +0900)]
theme: hecking the return value of a function strchr

Change-Id: I06d6206d04d6a77efd417ac401f39d9cbf7ad657
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
6 years agoslider: apply UI Mirroring for Tizen 3.0 82/166682/2
Hosang Kim [Tue, 15 Nov 2016 07:32:43 +0000 (16:32 +0900)]
slider: apply UI Mirroring for Tizen 3.0

slider's look and behavior are not affected by UI mirroring

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I45e7a8a81076fcfebbf863659f37f9293f930776

6 years agohoversel: ellipsize item when it expands over parent 21/166621/2
Jee-Yong Um [Thu, 18 Aug 2016 08:27:27 +0000 (17:27 +0900)]
hoversel: ellipsize item when it expands over parent

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I58cf99ce2b2980639a12a60a54913df80238a200

6 years agohoversel: emit dismiss signal to all items for fade out effect 19/166619/2
Jee-Yong Um [Fri, 12 Aug 2016 06:59:58 +0000 (15:59 +0900)]
hoversel: emit dismiss signal to all items for fade out effect

@tizen_feature

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I9fd1baed980308a7cc8431d07a8a624f589f050f

6 years agoremove proper timer in landscape indicator connect callback 08/166608/2
Jongmin Lee [Wed, 6 Jul 2016 11:08:34 +0000 (20:08 +0900)]
remove proper timer in landscape indicator connect callback

Change-Id: I7b6971502a8c26f06ceccf1a7ed5f567cb42da54
Signed-off-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
6 years agoctxpopup: add color_class parent-child relationship 56/166656/3
JinYong Park [Thu, 11 Jan 2018 10:10:16 +0000 (19:10 +0900)]
ctxpopup: add color_class parent-child relationship

@tizen_fix

Change-Id: I6c36addd841a4c7e83083b61c6bcc1bb1e271ef0
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agonotify: fix show animation signal emit logic 62/166662/2
JinYong Park [Thu, 11 Jan 2018 10:33:32 +0000 (19:33 +0900)]
notify: fix show animation signal emit logic

@tizen_fix

Change-Id: Icbcc122376aeeef91bb483c85732be5125368f8e
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoctxpopup: add two flags set value for show again after dismiss 55/166655/2
JinYong Park [Thu, 11 Jan 2018 10:04:56 +0000 (19:04 +0900)]
ctxpopup: add two flags set value for show again after dismiss

In case of first show, there flag value is initialized,
so show_signals_emit could be called normally.
But dismiss ctxpopup and show again, that two value is set other value
by dismiss function, so show_signals_emit is blocked

Change-Id: I9fb52bc6efd83ea1b3c34d32fff6c17a23c5c3ca
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoelm_notify: reorder tizen_only code 06/166406/2
JinYong Park [Wed, 10 Jan 2018 05:29:30 +0000 (14:29 +0900)]
elm_notify: reorder tizen_only code

during migration, code was added wrong location, so move it.

Change-Id: I47182b394c556ce079f8d0e2ce38af0398459450
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoctxpopup: add focus set to fix ctxpopup couldn't get focus 54/166654/2
JinYong Park [Thu, 11 Jan 2018 09:56:43 +0000 (18:56 +0900)]
ctxpopup: add focus set to fix ctxpopup couldn't get focus

Change-Id: I8d32ef9900f98cd88620b955c269d66358347651
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoctxpopup: fix size calc problem when base part size same with list 50/166650/1
JinYong Park [Thu, 11 Jan 2018 09:47:41 +0000 (18:47 +0900)]
ctxpopup: fix size calc problem when base part size same with list

Change-Id: Ie1e673ada23b7ce5f2bb325ab180a5448da82de1
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoevas/edje: Add/Apply evas_textblock_cursor_range_text_valid_markup_get internal API
Youngbok Shin [Thu, 11 Jan 2018 09:30:16 +0000 (18:30 +0900)]
evas/edje: Add/Apply evas_textblock_cursor_range_text_valid_markup_get internal API

@tizen_feature

Change-Id: Iea8cf5a85dd510c228284b3b780bf88084ffd5c8

6 years ago elm_win: if the type of win is TOOLTIP, unset the input event area 18/166618/2
jiin.moon [Thu, 11 Jan 2018 06:02:11 +0000 (15:02 +0900)]
 elm_win: if the type of win is TOOLTIP, unset the input event area

 If the type of win is tooltip, have to send the input event to below window.
 This is tizen_only because ecore_evas_input_rect_set api is exist only in tizen.

 @tizen_only

Change-Id: I105527c7e9bf2238ee95ecfb44e6bfa272c1766e

6 years agoedje: add part_valign property for internal usage
Youngbok Shin [Thu, 11 Jan 2018 07:23:20 +0000 (16:23 +0900)]
edje: add part_valign property for internal usage

@tizen_feature

Change-Id: I04143cafc92c71789625fa9275d246fead75c5ef

6 years agoevas: Fix to use fontconfig when there is a global_font_path
Youngbok Shin [Thu, 11 Jan 2018 05:47:39 +0000 (14:47 +0900)]
evas: Fix to use fontconfig when there is a global_font_path

@tizen_fix

Change-Id: I088f0ae0e7d535a318efd860d7b9621735990663

6 years agodocs: Fix efl doxygen warnings 87/166587/3
Myoungwoon Roy, Kim [Tue, 8 Aug 2017 00:29:33 +0000 (09:29 +0900)]
docs: Fix efl doxygen warnings

Summary:
This patch fixs efl doxygen warnings and updates the doxyfile.
Delete Ecore_Con_Legacy.h because it had been replaced
with efl_network_url.eo.h
@fix @doc

Change-Id: I7c8cb3edb5889d2b85892a5cee54f10889033476

6 years ago evas: revert latest patch in evas_common_convert_argb_premul api 93/166593/2
jiin.moon [Thu, 11 Jan 2018 02:44:50 +0000 (11:44 +0900)]
 evas: revert latest patch in evas_common_convert_argb_premul api

  It makes blending issue with image mask.

  Refer to below description of reverted patch
  ==================================================================
  commit: 1e33454772183563e0d2ffca6c961ff5822392ef

  evas common: make logic same to c code version.

  As C version,
  It increase alpha value by 1 to avoid loosing of the remains while it divides
  values. Neon version does same technique to make same results.
  ==================================================================

Change-Id: I93f928551e707eca2456b562f848a10823f471ce

6 years agoedje/entry: fix to get start position of selection from surrounding_cb
Youngbok Shin [Thu, 11 Jan 2018 03:33:45 +0000 (12:33 +0900)]
edje/entry: fix to get start position of selection from surrounding_cb

The cursor position when a entry has selection should be same from
_edje_entry_imf_retrieve_surrounding_cb and
_edje_entry_imf_event_delete_surrounding_cb functions.

@tizen_fix

Change-Id: I6a1cfebc63834684b03254fc04c32140e7701bd9

6 years agoeina: Add ttrace log in evlog api 77/166477/5
jiin.moon [Wed, 10 Jan 2018 09:05:35 +0000 (18:05 +0900)]
eina: Add ttrace log in evlog api

 I think if this path will be work well, we should
 convince evlog related with performance should be start + , end -

 @tizen_feature

Change-Id: I3d7759a884e259a89ae2accd44cfdf24a06e8d8c

6 years agoevas: skip 1x1 size frame 03/166503/2
jiin.moon [Wed, 10 Jan 2018 11:10:57 +0000 (20:10 +0900)]
evas: skip 1x1 size frame

 Don't need to render about 1x1 size.

Change-Id: I664e56c5d1606dbb4a0c9d952aaf395f2363f073

6 years agoecore_wl2: correct the wrong typo
Boram Park [Wed, 10 Jan 2018 23:27:20 +0000 (08:27 +0900)]
ecore_wl2: correct the wrong typo

Change-Id: I256bbee760e4126cd266b9df91aee02aed41cc13

6 years agorebase/elm_bg: Fix build error
Wonki Kim [Wed, 10 Jan 2018 12:37:39 +0000 (21:37 +0900)]
rebase/elm_bg: Fix build error

Change-Id: I23429fa294547abe6cb9b21eb48287bd9fab72f4
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agolabel: fix label sizing issue. 05/166505/2
Bowon Ryu [Wed, 10 Jan 2018 11:19:42 +0000 (20:19 +0900)]
label: fix label sizing issue.

If a width is 0, Do not calc for the Multi-line.

@tizen_fix

Change-Id: Ib80176e245ad69b619629e2af61e4ac0ad56712c
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoecore: remove use of efl_main_loop_get from efl_net_dialer_http_example.
Cedric BAIL [Tue, 9 Jan 2018 00:18:52 +0000 (16:18 -0800)]
ecore: remove use of efl_main_loop_get from efl_net_dialer_http_example.

6 years agoecore: remove use of efl_main_loop_get from efl_net_control_example.
Cedric BAIL [Tue, 9 Jan 2018 00:04:22 +0000 (16:04 -0800)]
ecore: remove use of efl_main_loop_get from efl_net_control_example.

6 years agoecore: remove use of efl_main_loop_get from efl_io_queue_example.
Cedric BAIL [Mon, 8 Jan 2018 23:55:17 +0000 (15:55 -0800)]
ecore: remove use of efl_main_loop_get from efl_io_queue_example.

6 years agoecore: remove use of efl_main_loop_get from efl_io_copier_simple_example.
Cedric BAIL [Mon, 8 Jan 2018 23:47:18 +0000 (15:47 -0800)]
ecore: remove use of efl_main_loop_get from efl_io_copier_simple_example.

6 years agoecore: make loop quit exit code work with EINA_VALUE_EMPTY.
Cedric BAIL [Mon, 8 Jan 2018 21:40:02 +0000 (13:40 -0800)]
ecore: make loop quit exit code work with EINA_VALUE_EMPTY.

6 years agoecore: remove more use of main loop reference from unified API example.
Cedric BAIL [Mon, 8 Jan 2018 21:19:48 +0000 (13:19 -0800)]
ecore: remove more use of main loop reference from unified API example.

6 years agoecore: remove use of efl_main_loop_get from example.
Cedric BAIL [Fri, 5 Jan 2018 00:54:45 +0000 (16:54 -0800)]
ecore: remove use of efl_main_loop_get from example.

6 years agowidget: rename elm widget to Efl.Ui.Widget.
Amitesh Singh [Mon, 8 Jan 2018 04:55:35 +0000 (13:55 +0900)]
widget: rename elm widget to Efl.Ui.Widget.

6 years agocsharp: Fix an example
Jean-Philippe Andre [Mon, 8 Jan 2018 12:24:25 +0000 (21:24 +0900)]
csharp: Fix an example

Event name changed.
The definition of the type BUTTON_CLICKED_Args seems odd as it's in
efl.ui namespace directly.

6 years agoelm example : on some OS (windows...) struct tm has 9 fields and not 11. Fix warning.
Vincent Torri [Mon, 8 Jan 2018 12:10:22 +0000 (21:10 +0900)]
elm example : on some OS (windows...) struct tm has 9 fields and not 11. Fix warning.

Test Plan: compilation

Reviewers: raster, jpeg

Reviewed By: raster, jpeg

Subscribers: jpeg, cedric, raster

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

6 years agoevas/vg: Use always blending op while drawing the vector.
subhransu mohanty [Mon, 8 Jan 2018 10:16:59 +0000 (19:16 +0900)]
evas/vg: Use always blending op while drawing the vector.

Summary:
The default backend overrides this operation depending on the fill color
but the cairo backend dosen't hence cairo will always use bled mode while drwaing the vector.

Reviewers: jpeg

Subscribers: vtorri, cedric, jpeg

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

6 years agowarning remove - comment out unused variable
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 10:06:07 +0000 (19:06 +0900)]
warning remove - comment out unused variable

6 years agowarning remove - comment out unused vars
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 09:59:27 +0000 (18:59 +0900)]
warning remove - comment out unused vars

6 years agowarning remove - ignoring const (returning obj handle)
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 09:58:13 +0000 (18:58 +0900)]
warning remove - ignoring const (returning obj handle)

cast to fix

6 years agoefl signals - add signal callbacks for minimal signal set on loops
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 09:49:07 +0000 (18:49 +0900)]
efl signals - add signal callbacks for minimal signal set on loops

this willonly apply to the main loop, but to be able to see these
signals as callbacks, we have to expose them. term/quit/int are
already handled internally where the loop will terminate (efl will
enforce this) AND ... there is a terminate event already on the loop
to deal with this cleanup. other signals really arent applicable IMHO
except usr1/2 and hup.

6 years agoecore signal - move to using a pipe (and optional thread) tfor signals
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 08:37:42 +0000 (17:37 +0900)]
ecore signal - move to using a pipe (and optional thread) tfor signals

this should remove any races in catching signals. it should also be
portable. as well.

6 years agoefl thread signal masks - fix up for various threads manually created
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 08:37:12 +0000 (17:37 +0900)]
efl thread signal masks - fix up for various threads manually created

so xine module plus 2 eina dbug threads didnt set up signal
blocking/masks correctly. xine use ssigprocmask not pthread_sigmask
and the other 2 didnt even bother at all. fix this so these threads
all block most of these commnly caught signals so these threads never
get them

6 years agoecore_drm2: Remove pointless goto
Derek Foreman [Fri, 5 Jan 2018 18:28:36 +0000 (12:28 -0600)]
ecore_drm2: Remove pointless goto

This "out" label probably used to be the target of multiple gotos,
but now it's just being used to jump over a single line of code.

6 years agoecore_drm2: Don't fail if there's no boot_vga device
Derek Foreman [Fri, 5 Jan 2018 17:37:38 +0000 (11:37 -0600)]
ecore_drm2: Don't fail if there's no boot_vga device

In a multi-seat configuration it's quite likely that only one
seat will have a boot_vga device.

While we should use the boot_vga device if possible, we shouldn't
fail just because a seat's gpu isn't the boot_vga device.  Fallback
to the last viable drm device we saw.

Reported-by: n3rdopolis
ref D5712
ref T6455

6 years agoElm focus navigation: other 2 failing tests
Dave Andreoli [Fri, 5 Jan 2018 17:22:53 +0000 (18:22 +0100)]
Elm focus navigation: other 2 failing tests

Added a new test "Focus 6", it's an not very
complex elm layout: a swallowed genlist and three
buttons in an edje box.

You should be able to navigate the layout with
just the keyboard, that is currently impossible.

With the help of the mouse click you can randomly
make the key navigation work again... this is
mostly random.

...should help to make progress on T6453

6 years agoelm: disable interface theme loading
Mike Blumenkrantz [Fri, 5 Jan 2018 16:43:47 +0000 (11:43 -0500)]
elm: disable interface theme loading

this is broken. do not reenable until testing has been done.

partially reverts dd4467505ea29d6120e5e7d467d76836a6630ff4

ref T6579

6 years agoPyolian: cache classes and properties
Dave Andreoli [Fri, 5 Jan 2018 11:46:55 +0000 (12:46 +0100)]
Pyolian: cache classes and properties

This give an overrall speed up of aroud 50% in the full doc generation.

6 years agoefl loop - provide efl namespace versions of begin/end locks on mainloop
Carsten Haitzler (Rasterman) [Fri, 5 Jan 2018 06:01:02 +0000 (15:01 +0900)]
efl loop - provide efl namespace versions of begin/end locks on mainloop

add efl_main_loop_steal() and efl_main_loop_release() for new efl
namespace versiosn of ecore_thread_main_loop_begin() and
ecore_thread_main_loop_end().

6 years agoefl_ui_popup_alert: change clicked event name
JinYong Park [Fri, 5 Jan 2018 04:36:21 +0000 (13:36 +0900)]
efl_ui_popup_alert: change clicked event name

Summary:
clicked event will be called when alert popup's button is clicked.
But usually, clicked event means when object is clicked, not sub object is clicked.
So it is so ambiguous, event name change.

Test Plan:
1. elementary_test -to efl.ui.popup.alert
2. click button.

Reviewers: Jaehyun_Cho, herb, jpeg, cedric

Reviewed By: Jaehyun_Cho

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

6 years agoecore, elementary: remove useless inclusion of Evil.h on public headers when compilin...
Vincent Torri [Wed, 3 Jan 2018 05:29:08 +0000 (06:29 +0100)]
ecore, elementary: remove useless inclusion of Evil.h on public headers when compiling with Visual Studio

Evil.h is already included on Windows in Eina.h

6 years agoefl: remove _MSC_VER (Visual Studio macro) usage in source code
Vincent Torri [Wed, 3 Jan 2018 05:23:10 +0000 (06:23 +0100)]
efl: remove _MSC_VER (Visual Studio macro) usage in source code

6 years agobuild: commit also changes in Evil's Makefile.am
Vincent Torri [Wed, 3 Jan 2018 05:21:08 +0000 (06:21 +0100)]
build: commit also changes in Evil's Makefile.am

6 years agoevil: remove useless code
Vincent Torri [Wed, 3 Jan 2018 05:17:35 +0000 (06:17 +0100)]
evil: remove useless code

6 years agoelementary: alloca is already declared in eina_alloca.h
Vincent Torri [Wed, 3 Jan 2018 05:09:33 +0000 (06:09 +0100)]
elementary: alloca is already declared in eina_alloca.h

6 years agoevas: NEAR AND FAR are already defined on Windows
Vincent Torri [Wed, 3 Jan 2018 05:04:02 +0000 (06:04 +0100)]
evas: NEAR AND FAR are already defined on Windows

6 years agoecore: Efl_Core.h means using EFL_BETA_API_SUPPORT at the moment.
Cedric BAIL [Thu, 4 Jan 2018 19:44:32 +0000 (11:44 -0800)]
ecore: Efl_Core.h means using EFL_BETA_API_SUPPORT at the moment.

6 years agoeo: make efl_provider_find a @const function.
Cedric BAIL [Thu, 4 Jan 2018 19:41:49 +0000 (11:41 -0800)]
eo: make efl_provider_find a @const function.

6 years agoecore: fallback to use efl_provider_find if the passed object isn't an Efl.Loop_Consumer.
Cedric BAIL [Thu, 4 Jan 2018 19:21:36 +0000 (11:21 -0800)]
ecore: fallback to use efl_provider_find if the passed object isn't an Efl.Loop_Consumer.

6 years agofix evas test suite to now init both ecore and evas.... correctly.
Carsten Haitzler (Rasterman) [Thu, 4 Jan 2018 17:14:06 +0000 (02:14 +0900)]
fix evas test suite to now init both ecore and evas.... correctly.

see c8dcc4327b803e9b8ad2a0985e756c924946c442 - basicall evas depends
on ecore these days... thus requires ecore be initted THEN evas. ...
which in theory is an abi break for those using evas and ONLY evas
long ago from when efl was separate... but it''s how we're building
these days.

@fix

6 years agoecore evas init - init ecore then evas not the other way...
Carsten Haitzler (Rasterman) [Thu, 4 Jan 2018 17:10:26 +0000 (02:10 +0900)]
ecore evas init - init ecore then evas not the other way...

because as of... i don't know when, evas relies on ecore with
ecore_pipe_add to create the async fd... and if you init evas then
ecore this doesnt work. obviously. well now it isn't working. probably
due to new efl loop work. but the efl loop code is correct.
ecore_pipe_add should never work until you init ecore... it just
happesn to have managed to be gotten away with for a while.

@fix

6 years agoeocre timechanges - set obj to null before deletion on stop
Carsten Haitzler (Rasterman) [Thu, 4 Jan 2018 17:03:19 +0000 (02:03 +0900)]
eocre timechanges - set obj to null before deletion on stop

stops double-deletion due to callback nesting

6 years agoelm_popup: its not a focus layer
Marcel Hollerbach [Thu, 4 Jan 2018 17:23:56 +0000 (17:23 +0000)]
elm_popup: its not a focus layer

elm popup is only a contextual wrapper arround a elm_notify, so
implementing this thing here as focus layer is wrong.

6 years agoelm_widget_item_focus: use the correct parent
Marcel Hollerbach [Thu, 4 Jan 2018 17:18:21 +0000 (17:18 +0000)]
elm_widget_item_focus: use the correct parent

You need to use the parent here, otherwise the adapter will stay alive
for too long.

6 years agoecore: fix future -> promise doc
Andy Williams [Thu, 4 Jan 2018 17:02:52 +0000 (17:02 +0000)]
ecore: fix future -> promise doc

6 years agoemotion: unset DISPLAY when loading an engine under wayland
Mike Blumenkrantz [Thu, 4 Jan 2018 15:10:38 +0000 (10:10 -0500)]
emotion: unset DISPLAY when loading an engine under wayland

ensure that this doesn't trigger xwayland deadlocks during gst init

probably fixes T6418

@fix

6 years agoefl-loop: Don't use 'main' as a variable name
Chris Michael [Thu, 4 Jan 2018 14:26:28 +0000 (09:26 -0500)]
efl-loop: Don't use 'main' as a variable name

Gcc issues a warning here that 'main' is usually a function, so just
rename the variable to avoid the warning.

NB: No funtional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoevas: make tbm_surface api fields static
Marcel Hollerbach [Thu, 4 Jan 2018 07:51:45 +0000 (08:51 +0100)]
evas: make tbm_surface api fields static

When building statically this breaks build, since both symbols would be
defined globally.

6 years agodocs: Update elementary eo files for grammar and readability
Andy Williams [Thu, 4 Jan 2018 12:16:23 +0000 (12:16 +0000)]
docs: Update elementary eo files for grammar and readability

Author: Nate Drake

6 years agoefl_ui_popup_alert_text_scroll: do not calc size when need size calc flag is FALSE
JinYong Park [Thu, 4 Jan 2018 12:12:30 +0000 (21:12 +0900)]
efl_ui_popup_alert_text_scroll: do not calc size when need size calc flag is FALSE

Summary:
efl_ui_popup has needs_size_calc flag
to skip size calculation when it is not needed.
But efl_ui_popup_alert_text/scroll do size calc although that flag is FALSE

Test Plan:
1. elementary_test -to efl.ui.popup.alert.text
  or elementary_test -to efl.ui.popup.alert.scroll

2. resize window

3. watch _sizing_eval call

Reviewers: Jaehyun_Cho, herb, jpeg, cedric

Reviewed By: Jaehyun_Cho

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

6 years agopromise: Add even simpler helper for main loop promise creation
Andy Williams [Thu, 4 Jan 2018 11:56:01 +0000 (11:56 +0000)]
promise: Add even simpler helper for main loop promise creation

6 years agodoc generator: show params and return type for functions
Dave Andreoli [Thu, 4 Jan 2018 10:04:50 +0000 (11:04 +0100)]
doc generator: show params and return type for functions

6 years agoci: stay with 17.04 for Ubuntu on Travis builds
Stefan Schmidt [Thu, 4 Jan 2018 07:46:10 +0000 (08:46 +0100)]
ci: stay with 17.04 for Ubuntu on Travis builds

There is some glitch with 17.10 and systemd in our build. Roll back here
to keep the Travis build stable until this is investigated.

6 years agoefl-wl: add function to get the parent of an extracted surface
Mike Blumenkrantz [Wed, 3 Jan 2018 23:22:32 +0000 (18:22 -0500)]
efl-wl: add function to get the parent of an extracted surface

@feature

6 years agoecore_con: we should just stop using ecore_main_loop_get.
Cedric BAIL [Wed, 3 Jan 2018 20:49:10 +0000 (12:49 -0800)]
ecore_con: we should just stop using ecore_main_loop_get.

6 years agoeio: switch code to simpler pattern with efl_loop_promise_new.
Cedric BAIL [Wed, 3 Jan 2018 20:13:11 +0000 (12:13 -0800)]
eio: switch code to simpler pattern with efl_loop_promise_new.

6 years agoecore: introduce efl_loop_promise_new to simplify creation of Eina_Promise.
Cedric BAIL [Wed, 3 Jan 2018 20:12:48 +0000 (12:12 -0800)]
ecore: introduce efl_loop_promise_new to simplify creation of Eina_Promise.

6 years agoecore: add some documentation for efl_loop_future_scheduler_get.
Cedric BAIL [Wed, 3 Jan 2018 19:37:38 +0000 (11:37 -0800)]
ecore: add some documentation for efl_loop_future_scheduler_get.

6 years agoecore: efl_loop_future_scheduler_get actually should be considered a const method.
Cedric BAIL [Wed, 3 Jan 2018 19:35:08 +0000 (11:35 -0800)]
ecore: efl_loop_future_scheduler_get actually should be considered a const method.

6 years agoRevert "efl_loop: move scheduler_get to eo API"
Cedric BAIL [Wed, 3 Jan 2018 19:21:34 +0000 (11:21 -0800)]
Revert "efl_loop: move scheduler_get to eo API"

This reverts commit f910ba248e3f8f8390674e79cbbe49582eed861e.

The scheduler is meant to be used only in C, not by bindings so there isn't really
a use for it in the loop class. Now this patch was triggered due to complexity in
using future/promise, so will do a follow up patch to improve that.

6 years agoci: add forgotten Ubuntu 17.10 Dockerfile
Stefan Schmidt [Wed, 3 Jan 2018 15:57:50 +0000 (16:57 +0100)]
ci: add forgotten Ubuntu 17.10 Dockerfile

Oops, sorry for the Travis break due to this.

6 years agoPut in a new (experimental) doc generator built only by templates
Dave Andreoli [Wed, 3 Jan 2018 15:18:58 +0000 (16:18 +0100)]
Put in a new (experimental) doc generator built only by templates

This is (in my mind) meant to replace the current elua generator.

Currently the generated output is pratically identical to the elua
one, just some little difference here and there, some for thecnical
reasons and some just for my preference.

I consider this work just a starting point, extending the
templates we can now easily improve our docs. Whithout the need
to touch a single line of code.

Really I think this is a great improvements, and this are some
numbers to prove it:

Current elua implementation:
4185 lines of code in 7 lua files
generation time: ~ 7 seconds

New generator:
115 lines of python + 513 lines of templates
generation time: ~ 8 seconds (can be optimizd ALOT)

To generate the full Efl.* docs just run "./gendoc.py -v" in this folder.

...will wait for reviews (in particular from @andy and @q66)

6 years agodocs: Fix eo_add -> efl_add
Andy Williams [Wed, 3 Jan 2018 14:44:39 +0000 (14:44 +0000)]
docs: Fix eo_add -> efl_add

6 years agoci: add Archlinux Dockerfile and use it in Travis
Stefan Schmidt [Wed, 3 Jan 2018 14:13:26 +0000 (15:13 +0100)]
ci: add Archlinux Dockerfile and use it in Travis

6 years agoci: update travis distro builds for Ubuntu and Fedora to newer versions
Stefan Schmidt [Wed, 3 Jan 2018 11:22:15 +0000 (12:22 +0100)]
ci: update travis distro builds for Ubuntu and Fedora to newer versions

We already have the needed Dockerfiles for the latest releases and they
work fine. Make sure Travis runs use them.

6 years agoPyolian: quite complete documentation for usage and template syntax
Dave Andreoli [Wed, 3 Jan 2018 12:58:26 +0000 (13:58 +0100)]
Pyolian: quite complete documentation for usage and template syntax

The same content is available in phab wiki at:
https://phab.enlightenment.org/w/pyolian/

6 years agoefl_loop: move scheduler_get to eo API
Andy Williams [Wed, 3 Jan 2018 12:46:06 +0000 (12:46 +0000)]
efl_loop: move scheduler_get to eo API

6 years agoTypo in error message
Xavi Artigas [Tue, 2 Jan 2018 12:54:52 +0000 (13:54 +0100)]
Typo in error message