Daniel Kolesa [Sun, 4 Nov 2018 17:32:05 +0000 (18:32 +0100)]
eolian: expose API to retrieve the class of an event
This information has been stored and used in Eolian until now
but not exposed to the API user. While there are roundabout ways
to retrieve the class for an event, this one is direct and costs
us nothing.
Daniel Kolesa [Sun, 4 Nov 2018 15:08:48 +0000 (16:08 +0100)]
eolian: add eolian_implement_implementing_class_get
This will make it easier for generators and utilities to retrieve
the class that implemented a method/property/etc rather than the
class the implement was originally defined for. Thanks to this
it will no longer be necessary to carry the class pointer around
the place.
Vincent Torri [Fri, 2 Nov 2018 13:44:39 +0000 (13:44 +0000)]
evas - generic loaders - use eina properly so windows build works
Marcel Hollerbach [Fri, 2 Nov 2018 12:28:28 +0000 (13:28 +0100)]
meson: generate .pc files for efl-core efl-ui efl-net
they simply redirect to the projects of elementary / ecore,efl,emile /
ecore,ecore-con,emile. The resuling flags are the same.
fix T7447
Marcel Hollerbach [Fri, 2 Nov 2018 11:38:02 +0000 (12:38 +0100)]
codegen: ensure we include the filename and not the path
this mirrors the behaviour of eolian & eolian_cxx. Usally a generator
just generates the files side by side, the directory then needs to be
included anyways. thus adding the include with another subdirectory is
unusal.
Differential Revision: https://phab.enlightenment.org/D7235
Marcel Hollerbach [Mon, 22 Oct 2018 08:03:28 +0000 (10:03 +0200)]
elm_toolbar: fix prio.visible
prio.visible is ignored in case of SHRINK_EXPAND is used. every single
item is just stuffed into a box. Thus in case that the *more flag
indicates that another box is displayed (rather than not fitting items),
then we do not set the visibility flag on the item - as the item is used
anyways.
ref T6806.
Differential Revision: https://phab.enlightenment.org/D7185
Marcel Hollerbach [Fri, 21 Sep 2018 16:47:44 +0000 (18:47 +0200)]
efl_ui_focus_manager: rename a event
In eo there is a difference between legacy events and normal events.
However, when a legacy event, that is called "focused" is emitted, the
event EFL_UI_FOCUS_MANAGER_FOCUSED is emitted on those objects. This
leads to bugs and unexpected results in elm_scroller, and additionally
this problem blocks work that is done right now to add those "focused"
event calls to gengrid.
Differential Revision: https://phab.enlightenment.org/D7099
Daniel Zaoui [Thu, 1 Nov 2018 20:58:35 +0000 (22:58 +0200)]
Elm_Code: check pointer nullity before using it
Marcel Hollerbach [Wed, 31 Oct 2018 09:22:09 +0000 (10:22 +0100)]
meson: allow setting of custom pc variables
this brings the theme directory to the elementary .pc file.
Differential Revision: https://phab.enlightenment.org/D7224
Carsten Haitzler (Rasterman) [Wed, 31 Oct 2018 14:46:21 +0000 (14:46 +0000)]
meson - ethumb - fix build and install of service files for ethumb
Vincent Torri [Wed, 31 Oct 2018 14:11:05 +0000 (14:11 +0000)]
emile - fix windows build
use evil and fix libjpeg boolean re-def.
Marcel Hollerbach [Mon, 29 Oct 2018 20:50:45 +0000 (21:50 +0100)]
evas - fix pending object set tracking to not multi-add the same object
flag if obj in pending array and don't add if already there. fixes
run-away slowness in rendering in some cases
Carsten Haitzler (Rasterman) [Wed, 31 Oct 2018 09:26:51 +0000 (09:26 +0000)]
Revert "build - meson - fix build when legacy is still enabled and gen the code"
This reverts commit
9aeedc5a1c68a5e28dcd12db5ee1856b33e19e45.
Felipe Magno de Almeida [Wed, 31 Oct 2018 01:47:58 +0000 (02:47 +0100)]
eolian: Add @ctor_param parameter to constructors
Summary:
This tagging keyword explicitly asks, for bindings that support it,
that the constructor's parameters are added to the class constructor.
Allowing the user to instantiate the class and call the constructor in
a straightforward way.
Reviewers: q66, woohyun, bu5hm4n, Jaehyun_Cho, segfaultxavi
Reviewed By: q66
Subscribers: cedric, #reviewers, #committers, lauromoura
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7221
Carsten Haitzler (Rasterman) [Wed, 24 Oct 2018 23:29:48 +0000 (00:29 +0100)]
evas - remove excess data scope lookup during render when getting changed
getting smart changed meant another scope data get when we already had
the protected data in the caller. don't do that and just pass down.
saves a lot of overhead...
@optimize
Carsten Haitzler (Rasterman) [Wed, 24 Oct 2018 23:19:46 +0000 (00:19 +0100)]
build - meson - fix build when legacy is still enabled and gen the code
meson build was not generating .legacy.h etc. files for a whole host
of classes that were depended on - add it back so the build works again.
Hermet Park [Fri, 26 Oct 2018 11:33:44 +0000 (20:33 +0900)]
evas map: remove unnecessary count comparison.
Our map points is fixed to 4. And no plans to support other cases yet.
Hosang Kim [Fri, 26 Oct 2018 11:28:03 +0000 (20:28 +0900)]
evas: fix backward compatibility issue.
Summary:
Sometimes mouse_grabbed flag can not be zero.
Before version of EFL, object has just one mouse_grabbed flag.
But now we have a new feature, so object has list of pointer devices
and each pointer device has mouse_grabbed flag.
We need to check all of pointer devices mouse_grabbed flag.
And if all of mouse_grabbed flag are zero, dispatch move event.
Test Plan:
{
F3384050}
gcc -o button_example_01 button_example_01.c `pkg-config --cflags --libs elementary`
Reviewers: iscaro, zmike, Hermet
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7216
Derek Foreman [Fri, 26 Oct 2018 11:14:17 +0000 (20:14 +0900)]
evas_object: Refactor pixels get hack
Summary:
Refactor this so it can be used by another call site in a later commit.
Also, reduce its complexity, as we only need the callback to fire, we
don't care about any of the other machinery in _evas_image_pixels_get.
Depends on D7188
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7189
Derek Foreman [Fri, 26 Oct 2018 11:09:37 +0000 (20:09 +0900)]
evas_image: Force stacking check on non-video surface
Summary:
We use this code path for native image hardware planes. Force the
stacking check on those for now so planes don't accidentally occlude
surfaces above them.
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7188
Hermet Park [Fri, 26 Oct 2018 10:33:05 +0000 (19:33 +0900)]
evas filter: add a commentary for a temporary fix.
Youngbok Shin [Fri, 26 Oct 2018 10:30:28 +0000 (19:30 +0900)]
evas filter: remove critical messages from Evas Filter
Summary:
When you run filter examples with enabling GL engine support,
you can see critical messages which say don't use efl_unref for buffer object.
So, efl_unref has to be replaced with efl_del.
@fix
Test Plan: Run filter example with GL
Reviewers: cedric, Hermet, raster, woohyun
Reviewed By: Hermet
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7119
Yeongjong Lee [Fri, 26 Oct 2018 10:25:09 +0000 (19:25 +0900)]
ecore: remove duplicated conditions
Summary: The macro already checks eina_main_loop_is() when DEBUG_THREADS is enabled.
Test Plan: make
Reviewers: segfaultxavi, ManMower, Hermet, bu5hm4n
Reviewed By: bu5hm4n
Subscribers: bu5hm4n, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7183
Shinwoo Kim [Fri, 26 Oct 2018 10:16:32 +0000 (19:16 +0900)]
evas_image_main: make the cache->usage count eina_file size
Summary:
The image.data is set to null by evas_common_rgba_image_unload_real.
After this point the cache->usage does not count cache_entry.w and h value when
evas_gl_common_image_free calls evas_cache_image_flush.
So the cache->usage increases just around 300. If the cache->limit is 4194304,
then the cache could have around 1398 items. This would be fine.
But each items hold eina_file, and the cache does not count eina_file size.
If the file size is 326352, then a process could use
456527385 bytes.
So this patch set make the cache->usage count eina_file size.
This would be better option than https://phab.enlightenment.org/D7029
Reviewers: Hermet, jypark, cedric
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7030
Hermet Park [Fri, 26 Oct 2018 10:04:23 +0000 (19:04 +0900)]
elementary selection: remove unnecesary logs.
Marcel Hollerbach [Thu, 25 Oct 2018 21:45:18 +0000 (23:45 +0200)]
meson: disable luajit & mono by default
Summary:
they are disabled in autotools per default
Depends on D7213
Reviewers: q66, netstar, jeyzu
Reviewed By: q66
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7214
Marcel Hollerbach [Thu, 25 Oct 2018 21:40:31 +0000 (23:40 +0200)]
meson: do not add cs as required compiler
Summary: its only required when having mono
Reviewers: q66, netstar, jeyzu
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7213
Daniel Kolesa [Thu, 25 Oct 2018 12:31:38 +0000 (14:31 +0200)]
meson: restore generation of legacy header files in elementary
While this is probably not entirely correct, it restores the
previous behavior. A proper fix would be to move .eo files that
do require header files into the pub_legacy_eo_files section but
that will require more effort and care. So until that is fixed,
just generate legacy as usual.
Marcel Hollerbach [Wed, 24 Oct 2018 13:08:15 +0000 (15:08 +0200)]
meson: make bindings test work without efl installed
there is the need to assemble the search path where the .so files can be
found. This is now added to the test suite.
In future this could ne added to meson directory. Since this is a
general csharp problem.
Marcel Hollerbach [Wed, 17 Oct 2018 11:04:07 +0000 (13:04 +0200)]
meson: time for the c-sharp build
The tests are added and build. For running C# code please see the wiki.
you can enable -Dmono=true
Differential Revision: https://phab.enlightenment.org/D7203
Marcel Hollerbach [Fri, 19 Oct 2018 14:18:39 +0000 (16:18 +0200)]
meson: here comes cxx bindings
this commits is bringing cxx bindings.
You can enable / disable them with the cxx option.
Differential Revision: https://phab.enlightenment.org/D7181
Marcel Hollerbach [Fri, 19 Oct 2018 13:47:44 +0000 (15:47 +0200)]
meson: prepare general build for the bindings
for bindings we needed a system that could be used to find all special
directories of every subsystem, for eo files headers etc.
The mechanism is documented in the root meson.build
Differential Revision: https://phab.enlightenment.org/D7180
Daniel Kolesa [Sun, 21 Oct 2018 13:55:51 +0000 (15:55 +0200)]
meson: add eolian custom dependencies support
This uses the meson/ninja depfile functionality + eolian to make
sure proper dependencies between generated files and .eo files
are managed, to ensure consistent re-generation of all generated
files that are affected upon .eo file modification.
For custom rules with multiple outputs, Ninja currently does not
support depfiles. Therefore, split those into two custom rules
so that the depfiles functionality can be enabled. While this
is ugly and slows down the process a little by having to invoke
Eolian twice instead of once, it has to be done and it's still
better than what we had in Autotools anyway.
Differential revision: D7187
Fixes T6700.
Daniel Kolesa [Thu, 11 Oct 2018 14:36:50 +0000 (16:36 +0200)]
eolian gen: add generation of build dependencies
It is now possible to generate a separate .d file which will
contain Make-style dependencies for the files generated in that
batch, i.e. if you geerate header, legacy header and source, the
.eo.d file will contain dependency lists for those three.
It should be possible to integrate this into our build system to
enable proper regeneration of .eo files in an incremental manner.
Fixes T2251.
Daniel Kolesa [Thu, 11 Oct 2018 14:35:41 +0000 (16:35 +0200)]
eolian: add API to get full file path of a unit
This is necessary for easy dependency generation, as it is needed
to retrieve a full list of paths that each generated file depends
on.
Yeongjong Lee [Mon, 22 Oct 2018 09:04:21 +0000 (11:04 +0200)]
eina_lock: add empty do-while in macro
Summary:
empty do-while is needed for safe use.
This patch avoid empty body compiler warning.
Problem case:
if (b)
EINA_MAIN_LOOP_CHECK_RETURN_VAL(NULL);
Reviewers: segfaultxavi, Hermet, ManMower, bu5hm4n
Reviewed By: segfaultxavi, bu5hm4n
Subscribers: bu5hm4n, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7182
Daniel Zaoui [Sun, 21 Oct 2018 06:19:01 +0000 (09:19 +0300)]
Meson: set vieet as executable
Summary: vieet is an installed executable and therefore should be executable by everyone
Test Plan: Check vieet permissions
Reviewers: bu5hm4n
Reviewed By: bu5hm4n
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7184
Daniel Zaoui [Sun, 21 Oct 2018 06:37:12 +0000 (09:37 +0300)]
Meson: link elementary_test with rdynamic
Summary:
This is needed to let dlsym extract the efl_main/main... symbols. For
example, the Exactness player needs it to launch a given binary. If
this option is not provided during the linkage of the binary, the
player won't be able to run it.
Test Plan: exactness_play -t <path to exactness scenarios>/radio.rec -- elementary_test -to radio
Reviewers: bu5hm4n
Reviewed By: bu5hm4n
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7178
Carsten Haitzler (Rasterman) [Thu, 18 Oct 2018 21:01:47 +0000 (22:01 +0100)]
build - meson - fix linking of gl gneric to link to libm
need maths lib for lots of modules... so link to it.
Carsten Haitzler (Rasterman) [Thu, 18 Oct 2018 17:38:16 +0000 (18:38 +0100)]
build - meson - fix install of generic loaders for evas to be exes
they were shared libs..... oops. :)
Marcel Hollerbach [Thu, 18 Oct 2018 14:11:22 +0000 (16:11 +0200)]
Revert "meson: add cxx bindings"
This reverts commit
5aaf2cbb5defd64a2048fe90e80004d435bbca1a.
The cxx bindings were accidently merged. Things are missing (like .eot.h
files)
Marcel Hollerbach [Wed, 17 Oct 2018 08:38:50 +0000 (10:38 +0200)]
build: move ELM_INTERNAL_API_ARGESFSDFEFC into buildsystem
the definition is now defined in the buildtools autools / meson. This
reduces the amount of warnings in meson.
Differential Revision: https://phab.enlightenment.org/D7170
Marcel Hollerbach [Sat, 18 Aug 2018 15:05:27 +0000 (17:05 +0200)]
meson: add cxx bindings
this commit adds cxx bindings to meson.
Differential Revision: https://phab.enlightenment.org/D7169
Hermet Park [Wed, 17 Oct 2018 17:39:47 +0000 (17:39 +0000)]
Remove engine check script for direct3d.
We gave up support direct3d long ago.
Differential Revision: https://phab.enlightenment.org/D7172
Marcel Hollerbach [Thu, 18 Oct 2018 13:56:37 +0000 (15:56 +0200)]
meson: elementary -e the configs only -i the standard config
this fixes inital configs with meson.
Differential Revision: https://phab.enlightenment.org/D7177
Marcel Hollerbach [Thu, 18 Oct 2018 13:35:02 +0000 (15:35 +0200)]
meson: add missing ELM_EFREET
without this - elementary_config will crash, and elementary will not use
that much of Efreet. We might want to drop this #ifdef at some point.
Differential Revision: https://phab.enlightenment.org/D7176
Marcel Hollerbach [Thu, 18 Oct 2018 12:30:37 +0000 (14:30 +0200)]
meson: we accidently looked at the wrong elementary config spot
we read and wrote the config into the wrong subdirectory, thus values
did not match - HOWEVER something lead to more problems and trouble, as
some options in elementary_config are not respected anymore.
Differential Revision: https://phab.enlightenment.org/D7175
Marcel Hollerbach [Thu, 18 Oct 2018 12:00:33 +0000 (14:00 +0200)]
eina_vpath_xdg: fix fallback strings
when more than one fallback string was used the same variable was
accidently used again and again. This fixes that.
Note: This was not discovered because elementary does not use xdg per
default :)
Differential Revision: https://phab.enlightenment.org/D7174
Carsten Haitzler (Rasterman) [Thu, 18 Oct 2018 12:42:10 +0000 (13:42 +0100)]
build - meson - fix ecore-x to detect xcursor to fix rgba cursors
Lauro Moura [Tue, 16 Oct 2018 21:39:32 +0000 (18:39 -0300)]
eina_cxx: Fix eina::value copy constructor.
Summary:
The previous declaration was causing the implicit copy constructor to be
invoked when copying a new eina::value from an existing eina::value,
thus leading to two wrappers pointing to the same underlying C pointer.
This showed some error messages when running the tests but under autotools
it didn't fail, while building with meson caused it to segfault.
Reviewers: vitor.sousa
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7166
Hermet Park [Tue, 16 Oct 2018 12:30:42 +0000 (21:30 +0900)]
interface gfx_path: fix incorrect doc content.
Marcel Hollerbach [Tue, 16 Oct 2018 11:07:26 +0000 (13:07 +0200)]
eina_cxx: use efl_new instead of efl_add
Summary:
parent is NULL, this results in a error. And a NULL object. This fixes
that!
Depends on D7163
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7164
Marcel Hollerbach [Tue, 16 Oct 2018 10:48:43 +0000 (12:48 +0200)]
eolian_cxx: PACKAGE_DATA_DIR is completly wrong here
Summary:
its the define for the directory where data is installed in the fs. Not
where to find test data in the tree - TESTS_SRC_DIR is defining the
same - however, with this change we are consistent and i dont need to
change the meson automatic define generation.
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7163
Hermet Park [Tue, 16 Oct 2018 06:07:36 +0000 (15:07 +0900)]
devas vg: return default root node if possible.
Summary:
It could return NULL root node
while user expect a valid root node in default
as It did before.
This is a regresion bug from long ago.
@fix
Reviewers: #committers
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7162
Marcel Hollerbach [Mon, 15 Oct 2018 18:09:21 +0000 (20:09 +0200)]
meson: another build break fix
the installation of the header was forgotten which broke app compilation
against meson builds
Differential Revision: https://phab.enlightenment.org/D7161
Marcel Hollerbach [Sat, 13 Oct 2018 10:24:37 +0000 (12:24 +0200)]
meson: fix build files size explosion
wayland protocols accidently added generated c source files to the
sources. This lead to every dependency of evas compiling those 5 c
source code files again and again and again. Which is completly wrong.
This commit splits up between headers and c files. which reduces the
build files from over 4K to roughly 3K.
Differential Revision: https://phab.enlightenment.org/D7159
Marcel Hollerbach [Thu, 11 Oct 2018 20:17:35 +0000 (22:17 +0200)]
meson: link gl_drm to gdm
gl_drm uses that - this was forgotten. Sorry.
Reported by ApBBB.
Marcel Hollerbach [Fri, 12 Oct 2018 09:26:26 +0000 (11:26 +0200)]
meson: fix build break
Marcel Hollerbach [Fri, 12 Oct 2018 09:15:07 +0000 (11:15 +0200)]
meson: add buildsystem to ecore_wl2
this was missing. Reported by jf_simon.
Youngbok Shin [Fri, 12 Oct 2018 06:42:31 +0000 (15:42 +0900)]
elementary textpath: support legacy APIs
Summary:
Efl.Ui.Textpath was added when we were developing new interfaces.
So, basically, it does not support 'legacy' APIs. ex) elm_textpath_add
But, in Tizen, the legacy APIs had been delivered in old version of EFL.
To reduce maintainning cost between the platforms, this patch will be helpful.
@feature
Test Plan: N/A
Reviewers: Hermet, woohyun, zmike, cedric, herdsman
Reviewed By: Hermet
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7033
Marcel Hollerbach [Fri, 12 Oct 2018 05:59:13 +0000 (14:59 +0900)]
eo: add log domain to the testsuite
Summary:
when the compiler is instructed that symbols are local by default. Then
the testsuite will fail, due to eo_test_general.c including the
indirection header, which uses the ERR macro, which needs the
_eo_log_dom symbol.
Depends on D7145
Reviewers: netstar, zmike
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7147
Carsten Haitzler (Rasterman) [Thu, 11 Oct 2018 11:43:50 +0000 (12:43 +0100)]
Revert "elm config: hide theme and profile config in gui when running in enlightenment"
This reverts commit
0b6aade84db1e15b51daeb4e2584ed3b7df8bc86.
Let's not do this as it makes the tool harder to test AND actually
removes vital features even under E. elementary_Config is really meant
as a demo config tool. not a good usable one. Ultimately E should
actually do all the good things in elm config so its just some debug
tool then or one for other non-e desktops to use.
Carsten Haitzler (Rasterman) [Tue, 9 Oct 2018 14:08:59 +0000 (15:08 +0100)]
glx extns - check client and server extns
in case... client should be a superset...
Carsten Haitzler (Rasterman) [Tue, 9 Oct 2018 13:04:05 +0000 (14:04 +0100)]
evas gl x11 - add working measure funcs for debugging performance
Carsten Haitzler (Rasterman) [Tue, 9 Oct 2018 12:00:01 +0000 (13:00 +0100)]
evas cache - avoid a segv...
but this needs mroe digging as to how this state was gotten to to
begin with.
Carsten Haitzler (Rasterman) [Tue, 9 Oct 2018 11:57:00 +0000 (12:57 +0100)]
ecore_x - add nouveau into the whitelist and clean up so it's a list
it was a lot of if cases before now it's an array with min version
parameters and globs for matching drivers etc. - much cleaner and
neater to afdd things to the whtielist now.
Marcel Hollerbach [Thu, 11 Oct 2018 15:10:55 +0000 (17:10 +0200)]
elementary: shutdown cocoa currently
Depends on D7012
Marcel Hollerbach [Thu, 4 Oct 2018 17:23:11 +0000 (19:23 +0200)]
meson: support older udev systems
Differential Revision: https://phab.enlightenment.org/D7145
JunsuChoi [Thu, 11 Oct 2018 11:28:13 +0000 (20:28 +0900)]
efl_ui_win: Move force resize code on first draw
Summary:
In D6165, there was a modification that forced resize_job
to be called using sd-> deferred_resize_job.
Even if we set true in sd-> deferred_resize_job,
it will be changed to false by calling other function to be called.
(sd->deferred_resize_job = EINA_TRUE; ->
_elm_win_resize_objects_eval ->
_elm_win_resize_job ->
sd->deferred_resize_job = EINA_FALSE;)
Eventually _elm_win_frame_obj_update is not called.
There is a case where _elm_win_frame_obj_update can not called in tizen.
For this reason, make sure to call resize_job when first drawing based on D6165.
Test Plan: N/A
Reviewers: eagleeye, zmike, woohyun
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7156
Marcel Hollerbach [Wed, 10 Oct 2018 11:30:51 +0000 (13:30 +0200)]
meson: do not build deprecated wl & drm
I thought it was enabled per default in autotools, it was not.
Differential Revision: https://phab.enlightenment.org/D7155
Marcel Hollerbach [Wed, 10 Oct 2018 12:07:36 +0000 (14:07 +0200)]
ecore_wl2: fix build break
when i tested this commit i had wayland turned off. Sorry for the noise.
Daniel Kolesa [Wed, 10 Oct 2018 06:58:09 +0000 (08:58 +0200)]
elua: add missing eolian bindings method needed for object casting
This enables updated docgen to work.
Marcel Hollerbach [Tue, 9 Oct 2018 19:18:04 +0000 (21:18 +0200)]
meson: add dl to eina
eina uses dlsym. I forgot this.
Differential Revision: https://phab.enlightenment.org/D7149
Wonki Kim [Wed, 10 Oct 2018 06:27:14 +0000 (06:27 +0000)]
elementary: fix a typo on override func of signal_callback_del
there is a logic that forwards a calling to supoer class on efl_ui_layout.
and the logic have a mismatching calling as you could see.
and this patch fixes the typo error.
Differential Revision: https://phab.enlightenment.org/D7151
Hosang Kim [Wed, 10 Oct 2018 08:22:57 +0000 (08:22 +0000)]
ecore_wl2: fix coverity issue. (Resource Leak)
Module is not freed when eina_module_load is failed.
Differential Revision: https://phab.enlightenment.org/D7152
Xavi Artigas [Wed, 10 Oct 2018 08:12:10 +0000 (10:12 +0200)]
eolian_suite: Fix reference template for doc
The @ingroup tags were changed in
fc3135ce2c7f95d885629a3573712413741de9c1.
Xavi Artigas [Tue, 9 Oct 2018 13:28:50 +0000 (15:28 +0200)]
eolian: use the legacy_prefix to generate the legacy doxygen group names
Summary:
Legacy group names are not consistent (for example, only half of them have the
_Group suffix), therefore this commit does not fix ALL problems related to
EO-generated @ingroup tags not matching manually-generated @defgroup tags.
However, it fixes a great deal of them and the rest should be easier to fix
by hand.
Test Plan:
After running "make doc", some of the EO-generated methods like
ecore_timer_interval_set() which did not appear in the API reference
documentation should be available now.
Reviewers: q66, jsuya, Jaehyun_Cho
Reviewed By: q66
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7148
Marcel Hollerbach [Thu, 4 Oct 2018 16:29:56 +0000 (18:29 +0200)]
meson: unify system properties
this unifies the system types into 4 boolean flags
This fixes the fact that meson changed the system string accross
versions.
Differential Revision: https://phab.enlightenment.org/D7144
Marcel Hollerbach [Thu, 4 Oct 2018 12:21:13 +0000 (14:21 +0200)]
meson: add sizeof checks for meson
this fixes the building for systems where int and long does not have the
same size.
Differential Revision: https://phab.enlightenment.org/D7143
Lauro Moura [Thu, 4 Oct 2018 17:23:20 +0000 (14:23 -0300)]
csharp: Fix missing override keyword
Reviewers: vitor.sousa
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7136
Lauro Moura [Thu, 4 Oct 2018 17:15:05 +0000 (19:15 +0200)]
efl-csharp: Fixing C# examples
Reviewers: vitor.sousa, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7134
Alastair Poole [Thu, 4 Oct 2018 11:41:40 +0000 (12:41 +0100)]
eeze: Add buildsystem to list of dependencies.
Summary:
This fixing building E with EFL both using meson
build system. Previously missing symbols, which
this patch resolves.
Reviewers: bu5hm4n, raster
Reviewed By: bu5hm4n
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7142
Lauro Moura [Thu, 4 Oct 2018 07:59:02 +0000 (09:59 +0200)]
csharp: Temporarily disable missing docs warning
Summary:
Too many warnings about missing docs in generated code makes difficult
to see "real" warnings.
Reviewers: vitor.sousa, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7135
Marcel Hollerbach [Wed, 3 Oct 2018 16:06:33 +0000 (18:06 +0200)]
meson: install compat ethumb_client.pc file
in autotools this was not having the same naming convetion than in meson
right now. This installs a duplicated .pc file, so the one with the
different name can be dropped at some point.
Fix terminology compilation.
Differential Revision: https://phab.enlightenment.org/D7132
Jérémy Zurcher [Wed, 3 Oct 2018 10:34:23 +0000 (10:34 +0000)]
meson : fix eina/meson.build
issue : when running 'ninja clean' 'buildtype' option is set to 'custom',
patch : set specific options for 'debug' and 'release',
set default options for any other value of 'buildtype'
Differential Revision: https://phab.enlightenment.org/D7131
Marcel Hollerbach [Sun, 12 Aug 2018 13:26:29 +0000 (15:26 +0200)]
here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min..
1 min. conf time
2:30 min. build time
Where autotools takes:
1:50 min. conf time
3:40 min. build time.
meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read.
Further informations can be gathered from the README.meson
Right now, bindings & windows support are missing.
It is highly recommented to use meson 0.48 due to optimizations in meson
that reduced the time the meson call would need.
Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7012
Depends on D7011
Marcel Hollerbach [Tue, 2 Oct 2018 14:22:07 +0000 (16:22 +0200)]
ecore_cocoa: stop leaking init counts
Alastair Poole [Tue, 2 Oct 2018 11:24:58 +0000 (11:24 +0000)]
macOS: make eina_environment_tmp_get() work as elsewhere.
On macOS the tmp file path always terminated with an additional
separator, causing issues when making file name comparisons.
For example, the Eio test suits would hang due to this.
This patch trims any trailing path. When joining paths
with eina_environment_tmp_get, macOS should behave
similarly as on other architectures.
Differential Revision: https://phab.enlightenment.org/D7128
Marcel Hollerbach [Tue, 25 Sep 2018 13:08:47 +0000 (15:08 +0200)]
efl_ui_dnd: fixup leaking inits and code duplication
In
fff4d1ba97f77bbd52d9a48ce4f19b5ed55e40e4 one selection_manager_get
method was patched to behave like this, however, it completly broke the
fact of *only-one-manager* since the same code was duplicated in a other
files (efl_selection.c). This now unifies this code, and adds back the
assertion for only one manager per window.
Additionally a shutdown function is added, the app never destroyes, but
the selection manager decided to init some subsystems itself
(ecore_x for example). This lead to to a leak of init counts in ecore_x,
which lead to elementary test suite issues. This is now *finaly* fixed.
Differential Revision: https://phab.enlightenment.org/D7105
Change-Id: I067367345d28030c6ff10cf3de44c97ae0375b5c
Marcel Hollerbach [Tue, 25 Sep 2018 09:40:31 +0000 (11:40 +0200)]
eina: move definition of EFL64
previously it was defined in eina_config.h however. This file is
autogenerated, and having autogenerated parts of a file and static parts
is quite painfull, thus the definition is moved into eina_types.
Differential Revision: https://phab.enlightenment.org/D7104
Bowon Ryu [Tue, 2 Oct 2018 10:51:41 +0000 (19:51 +0900)]
docs: fix the incorrect group name of segment control
Summary:
Now the links in docs are connected normally.
related commit: https://phab.enlightenment.org/D7087
Test Plan: N/A
Reviewers: Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7125
Hermet Park [Wed, 7 Nov 2018 10:36:11 +0000 (19:36 +0900)]
evas vg: do return api call properly.
Change-Id: I4e47a1db777d04ffb72ebac6201c3ef56c050f8d
Hermet Park [Wed, 7 Nov 2018 10:29:05 +0000 (19:29 +0900)]
evas vg: improve surface caching mechanism.
As we inspected, Caching surfaces for each animation frames
is not effective most times. Those animation frames
are volatible, unlikely to be used again.
They just make surface cache-pool fill trashes full.
So here improvement is not to cache every frames for animatable vector
object but do only start and end frame surfaces.
Change-Id: I5d0e21cda40ba0a9dcdd6bcd9a1cfe702fca60ed
Hermet Park [Tue, 6 Nov 2018 12:40:24 +0000 (21:40 +0900)]
evas vg: optimization++
Additional caching for start, end frames.
If there are multiple vector instances for a same resource,
Caching those two frames would be likely used several
because start, end frames could be remains on the view
if they didn't start animation yet or if it finished animation.
Change-Id: I8c5d52090d2e0f285f31bd48489a09510e19e203
Hermet Park [Tue, 6 Nov 2018 08:14:58 +0000 (17:14 +0900)]
evas vg: fix invalid memory access.
don't access anim_data if res doesn't have any animation.
Change-Id: I860789b0e9d914b4c85080ee8bc9a5e623bda5f5
Hermet Park [Tue, 6 Nov 2018 08:13:52 +0000 (17:13 +0900)]
evas vg: code refactoring.
Owner must free it's resource.
Change-Id: Icae2390494596a80482eb82463a8e91742974839
Hermet Park [Tue, 6 Nov 2018 08:09:21 +0000 (17:09 +0900)]
evas vg: code refactoring.
Hide vector file data interface from canvas vg.
Change-Id: Iad8b7327fae0889dc3719c848e2abf7aa6a95bd8
Hermet Park [Tue, 6 Nov 2018 05:01:22 +0000 (14:01 +0900)]
evas vg: optimization++
Remove unnecessary vg tree copy.
Change-Id: I3198c7a30e269f00e24fd21a8563af35b23178f2
Hermet Park [Tue, 6 Nov 2018 04:59:14 +0000 (13:59 +0900)]
evas vg: refactor a internal vg cache function.
1. Refactored transformation code.
2. Skip performing this function if size is same.
Change-Id: Ib0541e81aad8a315990b563d097b41fb363f2d31
Radoslaw Cybulski [Fri, 2 Nov 2018 12:11:11 +0000 (13:11 +0100)]
Fix duplicates in gengrid widget container in atspi
Gengrid container shows duplicates in atspi mode. This is due to the
fact, that content of gengrid items is added to gengrid itself via
elm_widget_sub_object_add function. Which is done, because widget items
don't have sub objects functionality. This patch removes duplicates
from gengrid container in atspi mode. Items' contents will show as
children of items themselves.
Change-Id: I29b2487a6891808583c1a94504f3e1db31f9aa11