Cedric BAIL [Fri, 5 Jan 2018 00:54:45 +0000 (16:54 -0800)]
ecore: remove use of efl_main_loop_get from example.
Amitesh Singh [Mon, 8 Jan 2018 04:55:35 +0000 (13:55 +0900)]
widget: rename elm widget to Efl.Ui.Widget.
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.
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
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
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 10:06:07 +0000 (19:06 +0900)]
warning remove - comment out unused variable
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 09:59:27 +0000 (18:59 +0900)]
warning remove - comment out unused vars
Carsten Haitzler (Rasterman) [Sat, 6 Jan 2018 09:58:13 +0000 (18:58 +0900)]
warning remove - ignoring const (returning obj handle)
cast to fix
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.
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.
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
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.
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
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
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
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.
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().
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
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
Vincent Torri [Wed, 3 Jan 2018 05:23:10 +0000 (06:23 +0100)]
efl: remove _MSC_VER (Visual Studio macro) usage in source code
Vincent Torri [Wed, 3 Jan 2018 05:21:08 +0000 (06:21 +0100)]
build: commit also changes in Evil's Makefile.am
Vincent Torri [Wed, 3 Jan 2018 05:17:35 +0000 (06:17 +0100)]
evil: remove useless code
Vincent Torri [Wed, 3 Jan 2018 05:09:33 +0000 (06:09 +0100)]
elementary: alloca is already declared in eina_alloca.h
Vincent Torri [Wed, 3 Jan 2018 05:04:02 +0000 (06:04 +0100)]
evas: NEAR AND FAR are already defined on Windows
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.
Cedric BAIL [Thu, 4 Jan 2018 19:41:49 +0000 (11:41 -0800)]
eo: make efl_provider_find a @const function.
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.
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
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
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
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.
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.
Andy Williams [Thu, 4 Jan 2018 17:02:52 +0000 (17:02 +0000)]
ecore: fix future -> promise doc
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
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>
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.
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
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
Andy Williams [Thu, 4 Jan 2018 11:56:01 +0000 (11:56 +0000)]
promise: Add even simpler helper for main loop promise creation
Dave Andreoli [Thu, 4 Jan 2018 10:04:50 +0000 (11:04 +0100)]
doc generator: show params and return type for functions
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.
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
Cedric BAIL [Wed, 3 Jan 2018 20:49:10 +0000 (12:49 -0800)]
ecore_con: we should just stop using ecore_main_loop_get.
Cedric BAIL [Wed, 3 Jan 2018 20:13:11 +0000 (12:13 -0800)]
eio: switch code to simpler pattern with efl_loop_promise_new.
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.
Cedric BAIL [Wed, 3 Jan 2018 19:37:38 +0000 (11:37 -0800)]
ecore: add some documentation for efl_loop_future_scheduler_get.
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.
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.
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.
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)
Andy Williams [Wed, 3 Jan 2018 14:44:39 +0000 (14:44 +0000)]
docs: Fix eo_add -> efl_add
Stefan Schmidt [Wed, 3 Jan 2018 14:13:26 +0000 (15:13 +0100)]
ci: add Archlinux Dockerfile and use it in Travis
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.
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/
Andy Williams [Wed, 3 Jan 2018 12:46:06 +0000 (12:46 +0000)]
efl_loop: move scheduler_get to eo API
Xavi Artigas [Tue, 2 Jan 2018 12:54:52 +0000 (13:54 +0100)]
Typo in error message
Xavi Artigas [Fri, 22 Dec 2017 11:31:09 +0000 (12:31 +0100)]
Typo in example
Andy Williams [Wed, 3 Jan 2018 09:19:54 +0000 (09:19 +0000)]
docs: Fix exmplanation for edje_file_iterator
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...
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)
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
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
Stefan Schmidt [Fri, 22 Dec 2017 15:05:10 +0000 (16:05 +0100)]
ci: travis: add new docker file for Fedora 27 release
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.
Dave Andreoli [Tue, 2 Jan 2018 12:57:22 +0000 (13:57 +0100)]
Pyolian: implemented doc tokenizer
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.
Amitesh Singh [Fri, 29 Dec 2017 04:06:44 +0000 (13:06 +0900)]
Efl.Gfx.Color: add color_class_code.set/get{} method
Carsten Haitzler (Rasterman) [Tue, 2 Jan 2018 06:07:12 +0000 (15:07 +0900)]
efl loop - make param as unused to remove warning
Dave Andreoli [Mon, 1 Jan 2018 07:35:39 +0000 (08:35 +0100)]
Pyolian: better equality test, new hierarchy prop and some tests
Dave Andreoli [Mon, 1 Jan 2018 06:27:15 +0000 (07:27 +0100)]
Pyolian: a fix and some new utils
Dave Andreoli [Mon, 1 Jan 2018 06:01:10 +0000 (07:01 +0100)]
Pyolian generator: also make the classes visible in the template ctx
Dave Andreoli [Fri, 29 Dec 2017 08:27:49 +0000 (09:27 +0100)]
pyolian: make the library and the generator importable from another folder
Andy Williams [Sun, 31 Dec 2017 19:57:48 +0000 (19:57 +0000)]
Fix and simpligy windows behaviour.
Author: Vincent Torri
Andy Williams [Sun, 31 Dec 2017 16:08:31 +0000 (16:08 +0000)]
Fix and simpligy windows behaviour.
Author: Vincent Torri
Andy Williams [Sun, 31 Dec 2017 15:28:23 +0000 (15:28 +0000)]
elm_code: Fix usage of basename
Jean Guyomarc'h [Sat, 30 Dec 2017 09:14:12 +0000 (10:14 +0100)]
elm: fix memleak in combobox
@fix
Jean Guyomarc'h [Sat, 30 Dec 2017 09:13:54 +0000 (10:13 +0100)]
elm: fix typo in elm_list documentation
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 :)
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 :)
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.
Carsten Haitzler (Rasterman) [Wed, 27 Dec 2017 05:23:28 +0000 (14:23 +0900)]
Efl_Ui.h - remember to define EWAPI too
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
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)
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
Andy Williams [Fri, 22 Dec 2017 17:30:52 +0000 (17:30 +0000)]
docs: Group our API landing page by namespace
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
Daniel Kolesa [Fri, 22 Dec 2017 14:34:53 +0000 (15:34 +0100)]
eolian: prevent unnecessary hash table allocs
Daniel Kolesa [Fri, 22 Dec 2017 14:29:23 +0000 (15:29 +0100)]
eolian: remove the toplevel information
Daniel Kolesa [Fri, 22 Dec 2017 14:26:36 +0000 (15:26 +0100)]
eolian: perform partial class validation every time
This makes sure that duplicate method/part/etc checks are done on
every database update, removing the need for clunky toplevel
checks and improving reliability. It also sacrifices some
performance but it shouldn't be too bad (if a class is already
validated, some checks are avoided to speed things up).
Daniel Kolesa [Fri, 22 Dec 2017 11:53:51 +0000 (12:53 +0100)]
eolian: deferred parsing of type deps
Daniel Kolesa [Fri, 22 Dec 2017 11:41:29 +0000 (12:41 +0100)]
eolian: move inherit type checking to validation
Andy Williams [Fri, 22 Dec 2017 13:45:48 +0000 (13:45 +0000)]
docs: Update evas canvas eo files for grammar and readability
Author: Nate Drake
Andy Williams [Fri, 22 Dec 2017 11:18:46 +0000 (11:18 +0000)]
Remove all ocurrences of SPANK from our user facing errors.
This has been bugging me for some time but now we are triggering new errors internally
this is appearing to end users for problems they did not cause.
Additionally I was able to improve a couple of the errors by copying the
explanation from code comments into the error message.
Shorter error logs now too :)
Andy Williams [Fri, 22 Dec 2017 10:41:11 +0000 (10:41 +0000)]
docs: Update efl interface eo files for grammar and readability
Author: Nate Drake
Andy Williams [Fri, 22 Dec 2017 10:30:32 +0000 (10:30 +0000)]
docs: Update edje eo files for grammar and readability
Author: Nate Drake
Amitesh Singh [Fri, 22 Dec 2017 04:43:30 +0000 (13:43 +0900)]
Efl.Ui.List: fix compiler warning.
Amitesh Singh [Thu, 21 Dec 2017 05:48:41 +0000 (14:48 +0900)]
Efl.Gfx.Color: add color_code{}
color_code allows user to pass/get the color hex string
(e.g. efl_gfx_color_code_set(o, "#
FFAA22CC"))
Also make this interface as mixin class.
Amitesh Singh [Wed, 20 Dec 2017 07:34:01 +0000 (16:34 +0900)]
interface: add Efl.Gfx.Color interface for color related APIs
This would eventually turn into mixin class later after adding
more color related helper functions.
Andy Williams [Thu, 21 Dec 2017 22:05:28 +0000 (22:05 +0000)]
elm_code: Cancel selection if clicked outside of the editor area
Marcel Hollerbach [Thu, 21 Dec 2017 19:31:39 +0000 (20:31 +0100)]
eolian: unify test directories