platform/upstream/efl.git
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

6 years agoTypo in example
Xavi Artigas [Fri, 22 Dec 2017 11:31:09 +0000 (12:31 +0100)]
Typo in example

6 years agodocs: Fix exmplanation for edje_file_iterator
Andy Williams [Wed, 3 Jan 2018 09:19:54 +0000 (09:19 +0000)]
docs: Fix exmplanation for edje_file_iterator

6 years agoeina debug - use pthread _sigmask instead of sigprocmask like elsewhere
Carsten Haitzler (Rasterman) [Wed, 3 Jan 2018 04:02:39 +0000 (13:02 +0900)]
eina debug - use pthread _sigmask instead of sigprocmask like elsewhere

elsewhere in efl we moved to pthread_sigmask but eina debug didn't, so
mirror the changes here too. at this point in time when we are
initting eina debug this shouldnt really matter much as we're single
threaded until this pthread_Create is called. after that tough...
we're not. signals + threads is a nightmare though... horrible
horrible...

6 years agoPyolian: fix segfault on shutdown
Dave Andreoli [Tue, 2 Jan 2018 20:52:57 +0000 (21:52 +0100)]
Pyolian: fix segfault on shutdown

also improve abit all_namespaces performance by using a set (hashable)

6 years agoPyolian: implement an utility class: Namspace
Dave Andreoli [Tue, 2 Jan 2018 14:43:15 +0000 (15:43 +0100)]
Pyolian: implement an utility class: Namspace

Update tests and generator to use this new feature

6 years agoecore_con: switch from 1234 to AF_UNSPEC
Marcel Hollerbach [Sat, 30 Dec 2017 10:30:38 +0000 (10:30 +0000)]
ecore_con: switch from 1234 to AF_UNSPEC

there are systems where sa_family_t is a enum, so assigning 1234 will
lead to compililation errors on picky systems

6 years agoci: travis: add new docker file for Fedora 27 release
Stefan Schmidt [Fri, 22 Dec 2017 15:05:10 +0000 (16:05 +0100)]
ci: travis: add new docker file for Fedora 27 release

6 years agobenchmarks: eine: include header for using time()
Stefan Schmidt [Fri, 22 Dec 2017 14:57:55 +0000 (15:57 +0100)]
benchmarks: eine: include header for using time()

../src/benchmarks/eina/eina_bench_sort.c: In function ‘eina_bench_sort_eina’:
../src/benchmarks/eina/eina_bench_sort.c:52:10: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
    srand(time(NULL));

Found due to the nice quite build output in our meson feature branch.

6 years agoPyolian: implemented doc tokenizer
Dave Andreoli [Tue, 2 Jan 2018 12:57:22 +0000 (13:57 +0100)]
Pyolian: implemented doc tokenizer

6 years agoefl loop - rename ecore_main_loop_get to efl_main_loop_get
Carsten Haitzler (Rasterman) [Tue, 2 Jan 2018 06:41:46 +0000 (15:41 +0900)]
efl loop - rename ecore_main_loop_get to efl_main_loop_get

ecore_main_loop_get() is really a new "eo api" but it's using our old
ecore_* namespace, so move to the new efl namespace.

6 years agoEfl.Gfx.Color: add color_class_code.set/get{} method
Amitesh Singh [Fri, 29 Dec 2017 04:06:44 +0000 (13:06 +0900)]
Efl.Gfx.Color: add color_class_code.set/get{} method

6 years agoefl loop - make param as unused to remove warning
Carsten Haitzler (Rasterman) [Tue, 2 Jan 2018 06:07:12 +0000 (15:07 +0900)]
efl loop - make param as unused to remove warning

6 years agoPyolian: better equality test, new hierarchy prop and some tests
Dave Andreoli [Mon, 1 Jan 2018 07:35:39 +0000 (08:35 +0100)]
Pyolian: better equality test, new hierarchy prop and some tests

6 years agoPyolian: a fix and some new utils
Dave Andreoli [Mon, 1 Jan 2018 06:27:15 +0000 (07:27 +0100)]
Pyolian: a fix and some new utils

6 years agoPyolian generator: also make the classes visible in the template ctx
Dave Andreoli [Mon, 1 Jan 2018 06:01:10 +0000 (07:01 +0100)]
Pyolian generator: also make the classes visible in the template ctx

6 years agopyolian: make the library and the generator importable from another folder
Dave Andreoli [Fri, 29 Dec 2017 08:27:49 +0000 (09:27 +0100)]
pyolian: make the library and the generator importable from another folder

6 years agoFix and simpligy windows behaviour.
Andy Williams [Sun, 31 Dec 2017 19:57:48 +0000 (19:57 +0000)]
Fix and simpligy windows behaviour.

Author: Vincent Torri

6 years agoFix and simpligy windows behaviour.
Andy Williams [Sun, 31 Dec 2017 16:08:31 +0000 (16:08 +0000)]
Fix and simpligy windows behaviour.

Author: Vincent Torri

6 years agoelm_code: Fix usage of basename
Andy Williams [Sun, 31 Dec 2017 15:28:23 +0000 (15:28 +0000)]
elm_code: Fix usage of basename

6 years agoelm: fix memleak in combobox
Jean Guyomarc'h [Sat, 30 Dec 2017 09:14:12 +0000 (10:14 +0100)]
elm: fix memleak in combobox

@fix

6 years agoelm: fix typo in elm_list documentation
Jean Guyomarc'h [Sat, 30 Dec 2017 09:13:54 +0000 (10:13 +0100)]
elm: fix typo in elm_list documentation

6 years agoPyolian template-based generator.
Dave Andreoli [Thu, 28 Dec 2017 15:10:04 +0000 (16:10 +0100)]
Pyolian template-based generator.

This is a really powerfull tool that can be used to generate anything eolian
releted  just providing a template file. You can then render the template
with the wanted scope (class, namespace, enum, etc)

For example give a try at this (from the src/srcipts/pyolian folder):
./generator.py test_gen_class.template --cls Efl.Loop.Timer

or ./generator.py -h for the full help

Next step: maybe generate the new efl API doc using this tool?
@andy I think this will make your life much easier :)

6 years agoNew python bindings for eolian
Dave Andreoli [Thu, 28 Dec 2017 12:49:03 +0000 (13:49 +0100)]
New python bindings for eolian

This are manually written ctype bindings for eolian, that means they
run on the standard python library (nothing to install) and can run
without any build step (in fact ctypes just open the so/dll file at runtime)

Next step will be (soon) a template based generator for eolian that will
be a lot of fun :)

6 years agoremove elgacy ecore event usage in futures that limit to mainloop only
Carsten Haitzler (Rasterman) [Wed, 27 Dec 2017 16:19:52 +0000 (01:19 +0900)]
remove elgacy ecore event usage in futures that limit to mainloop only

also eina_procmis was not threadsafe so cannto use loops in different
threads at all until this was made safe. needed to disable the old
ecore_event using code in for ecore futures and create a new efl loop
message future and handler instead ... but now a quick experiment with
multiple loops in 10 threads plus mainloop have timers at least work.
i need to test more like fd handlers etc etc. but it's a step.

6 years agoEfl_Ui.h - remember to define EWAPI too
Carsten Haitzler (Rasterman) [Wed, 27 Dec 2017 05:23:28 +0000 (14:23 +0900)]
Efl_Ui.h - remember to define EWAPI too

6 years agoelm_priv.h - improve defines, EAPI EWAPI etc. because sub-includes need
Carsten Haitzler (Rasterman) [Wed, 27 Dec 2017 05:22:42 +0000 (14:22 +0900)]
elm_priv.h - improve defines, EAPI EWAPI etc. because sub-includes need

this also makes it build for windows

6 years agoecore/efl loop - use efl_loop_time_get on loop obj where needed
Carsten Haitzler (Rasterman) [Tue, 26 Dec 2017 16:40:07 +0000 (01:40 +0900)]
ecore/efl loop  - use efl_loop_time_get on loop obj where needed

stop using the legacy ecore_loop_time_get() func when it should be
coming from the loop object's loop time. also ecore_time_get should
never fall back on ecore_loop_time_get for similar reasons.

part of making the ecore/efl loop a non-global instance (allow loops
in threads)

6 years agoecore main loop - fix fd handler clearning
Carsten Haitzler (Rasterman) [Sat, 23 Dec 2017 12:07:23 +0000 (21:07 +0900)]
ecore main loop - fix fd handler clearning

so loop object destruction was clearing out fd handlers but those may
be later deleted by destructors of child objects. so leave legacy
fdh's and just remove them from the list

6 years agodocs: Group our API landing page by namespace
Andy Williams [Fri, 22 Dec 2017 17:30:52 +0000 (17:30 +0000)]
docs: Group our API landing page by namespace

6 years agoecore: Reduce the number of lines in our error log
Andy Williams [Fri, 22 Dec 2017 14:48:28 +0000 (14:48 +0000)]
ecore: Reduce the number of lines in our error log

And align for readability