Carsten Haitzler (Rasterman) [Wed, 25 Jan 2017 09:44:58 +0000 (18:44 +0900)]
evas - proxy - fix clipping of proxy renders that broke terminology
so proxies just rendered nothing when used in terminology. they used
to work for the tab switcher (ctl+shift+home). this now works again.
there is a good chance this may break something else though... what i
can't seem to find...
this fixes T5131
SangHyeon Lee [Wed, 25 Jan 2017 04:11:08 +0000 (13:11 +0900)]
gengrid : fix mirrored position calculate to apply pan width instead of object width
the pan object width can be different with object width,
because of padding and bar area, so we should using pan's width
instead of object width for mirrored calculation.
in elementary_test gengrid sample, you can see, when mirrored on,
the alignment is broken before merge this patch.
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Amitesh Singh [Tue, 24 Jan 2017 17:20:24 +0000 (22:50 +0530)]
genlist: fix mem leak on focus next
This patch fixes an eina list mem leak on each
focus next(tab/alt-tab) traversal.
@fix
Amitesh Singh [Tue, 24 Jan 2017 16:45:55 +0000 (22:15 +0530)]
index: fix mem leak on focus next
This patch fixes an eina list mem leak on each
focus next(tab/alt-tab) traversal.
@fix
Jiyoun Park [Tue, 24 Jan 2017 06:34:24 +0000 (15:34 +0900)]
evas_inline: Change the return value for readabilty
Gustavo Sverzut Barbieri [Tue, 24 Jan 2017 01:55:33 +0000 (23:55 -0200)]
cmake: major rework of check and pkg-config dependencies.
make FUNC_CHECK(), TYPE_CHECK() and HEADER_CHECK() more general and
they can be set to a scope, like "eina", then all symbols are prefixed
with that. The scope is created with CHECK_INIT(), and
EFL_HEADER_CHECKS_FINALIZE() will finish that.
This makes it possible for cmake/config/eina.cmake +
cmake/post/eina.cmake to add stuff to the generated file, better than
hand edit the template.
CHECK_APPEND_DEFINE(name val) is now the base to add symbols to the
generated file in the current scope.
Then convert cmake/config/eina.cmake to use that and match the
autotools values (were a bit off).
This exposed enabling valgrind was broken due incorrect pkg-config
usage with cmake (it's not obvious), it was using just the libraries,
while LDFLAGS are needed to get -L/usr/lib/valgrind. Then also convert
to CFLAGS provided by pkg-config and make that automatic for
PKG_CONFIG_REQUIRES and PKG_CONFIG_REQUIRES_PRIVATE.
Also, eina-mempool modules use valgrind and must use that now that's
propagating correctly.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 21:50:04 +0000 (19:50 -0200)]
cmake/eina: match configure.ac and build all modules statically by default.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 21:35:51 +0000 (19:35 -0200)]
cmake/eo: simplifies eo handling and generate eolian info in .pc.
added 2 cmake target properties to collect private and public eo
files, then that is used by EFL_CREATE_EO_RULES() instead of filtering
SOURCES and also EFL_PKG_CONFIG_LIB_WRITE() to know if eolian entries
should be generated.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 21:34:39 +0000 (19:34 -0200)]
cmake/eo: add description (fills eo.pc file)
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 21:33:35 +0000 (19:33 -0200)]
cmake/eina: only pthread is public, rt/dl/m are all private.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 21:04:30 +0000 (19:04 -0200)]
cmake: also process non-public eo files.
the only difference is they do not get installed, but may be used to
generate internal .eo.c
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 20:57:53 +0000 (18:57 -0200)]
cmake: cleanup EFL_CREATE_EO_RULES().
it wasn't using the given generation_dir parameter, it was reseting
the loop variable (which worked, but is nasty).
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 20:40:39 +0000 (18:40 -0200)]
cmake: minor simplification of eo files, do not leak vars.
unset the eo variables before we go process modules, tests and
binaries.
Derek Foreman [Mon, 23 Jan 2017 20:36:32 +0000 (14:36 -0600)]
build: Depend on wayland-protocols for wayland build
We need this to auto-generate protocol files for things like
xdg-shell.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 20:25:22 +0000 (18:25 -0200)]
cmake: fix module define translation.
we can't check the options in config/eina.cmake as they were not
created at that point, instead we must have a "post" file that is
included after everything else is processed, options/targets all
exist and can be modified.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 20:19:29 +0000 (18:19 -0200)]
cmake: always use test target name, not simple name.
simple name may repeat, like 'suite'.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 20:01:07 +0000 (18:01 -0200)]
fix build with split eina_modinfo directory.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 19:28:48 +0000 (17:28 -0200)]
cmake: be smart on internal libraries in the generated .pc files.
For internal libraries (those we have a target), generate a pkg-config
one instead of going with the -lNAME route.
Marcel Hollerbach [Mon, 23 Jan 2017 19:08:55 +0000 (20:08 +0100)]
cmake: eina needs rt
for open_shm
Marcel Hollerbach [Mon, 23 Jan 2017 18:47:50 +0000 (19:47 +0100)]
cmake: add that dependency to the right target
we need the eolian-bin for ${target}-eo not ${target}
Marcel Hollerbach [Mon, 23 Jan 2017 18:58:12 +0000 (19:58 +0100)]
cmake: add eo
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 18:48:50 +0000 (16:48 -0200)]
please READ :-)
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 18:15:36 +0000 (16:15 -0200)]
cmake: fix typo, use space not a list separator
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 18:03:30 +0000 (16:03 -0200)]
cmake: reset temporary lists from cache.
otherwise new cmake runs will duplicate the lists over and over again.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 17:58:17 +0000 (15:58 -0200)]
cmake: move functions to EflMacros.cmake
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 17:49:17 +0000 (15:49 -0200)]
cmake: better functions to check headers, functions and types.
functions that handle all the required settings in one place.
Marcel Hollerbach [Mon, 23 Jan 2017 17:52:34 +0000 (18:52 +0100)]
build: add eolian
Marcel Hollerbach [Mon, 23 Jan 2017 17:25:15 +0000 (18:25 +0100)]
cmake: remove debugging output
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 16:33:30 +0000 (14:33 -0200)]
cmake: only update config_headers.h if contents changed.
Generate to a temporary location and avoid touching the original file
if it's unchanged. This way we play nicer with build system that
regenerate objects based on file timestamps.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 16:27:20 +0000 (14:27 -0200)]
cmake: reduce number of redundant variables set in cmake.
Avoid redundant variables in cmake, whenever they are needed as
duplicates, only do that in the template.
Gustavo Sverzut Barbieri [Mon, 23 Jan 2017 16:02:08 +0000 (14:02 -0200)]
EflMacros: build tests before running them.
'make test' wouldn't build the test, which is annoying.
There is no way to add dependencies to reserved target 'test'. The
test is also executed by another tool (ctest), not cmake itself, then
we must create a test '-build' that is actually calling back cmake to
compile the test suite and make it a dependency for the test itself.
Nasty but improves usability.
Marcel Hollerbach [Mon, 23 Jan 2017 17:15:50 +0000 (18:15 +0100)]
build: check for the mtrace header
Marcel Hollerbach [Mon, 23 Jan 2017 17:13:03 +0000 (18:13 +0100)]
build: add eo files generation to the macros
this will generate eo.h eo.c rules for SOURCES and public eo files.
This also installes the eo.h files from the public eo files into the
include directory, and installes the eo files into the correct location
Marcel Hollerbach [Mon, 23 Jan 2017 14:51:30 +0000 (15:51 +0100)]
build: use CMAKE defined variables
Marcel Hollerbach [Sat, 21 Jan 2017 21:12:42 +0000 (22:12 +0100)]
build: make eina working
This brings in the checks for all the headers and function that are
required in eina. With this commit only a few other checks are missing.
This is NOT tested on windows or mac os i can just verify that it runs
here on a arch linux system.
Marcel Hollerbach [Sat, 21 Jan 2017 18:27:44 +0000 (19:27 +0100)]
build: define symbol exist variables for local scope
otherwise CHECK_SYMBOL_EXISTS doesnt work as expected.
Marcel Hollerbach [Sat, 21 Jan 2017 15:16:25 +0000 (16:16 +0100)]
build: we build dev per default
Marcel Hollerbach [Sat, 21 Jan 2017 15:16:02 +0000 (16:16 +0100)]
build: set MODULE_ARCH correctly
Gustavo Sverzut Barbieri [Sat, 21 Jan 2017 12:20:18 +0000 (10:20 -0200)]
EflMacros: automatically provide ON;OFF;STATIC option and defines.
Automatically create one option to enable, disable or make it
statically linked into the code, with a define to reflect build type.
Marcel Hollerbach [Sat, 21 Jan 2017 12:41:47 +0000 (13:41 +0100)]
cmake: This should be public linked no private
otherwise we are linking symbols
Marcel Hollerbach [Sat, 21 Jan 2017 12:35:36 +0000 (13:35 +0100)]
build: PACKAGE_BUILD_DIR is now defined for everyone
Marcel Hollerbach [Sat, 21 Jan 2017 12:27:17 +0000 (13:27 +0100)]
cmake: improve versioning
The version defines are now done all the time. and the version pattern
does mach the one from autotools. And supports release mode now.
Marcel Hollerbach [Sat, 21 Jan 2017 11:17:12 +0000 (12:17 +0100)]
cmake: we need to enable beta api support
otherwise we cannot build our own api...
Marcel Hollerbach [Sat, 21 Jan 2017 11:12:57 +0000 (12:12 +0100)]
cmake: move PACKAGE defines into a sane place
this should support all the vars used in all efl subsystems
Gustavo Sverzut Barbieri [Fri, 20 Jan 2017 17:15:37 +0000 (15:15 -0200)]
EflMacros: auto-handling of pkg-config files.
Gustavo Sverzut Barbieri [Fri, 20 Jan 2017 15:53:56 +0000 (13:53 -0200)]
CMake: move eina binaries to single dir, add helper macros.
For one-source directories, be smart and just define SOURCES to that,
will reduce the number of too-simplistic CMakeLists.txt in our tree.
This also fixes problems with libraries, they should be private, not
public. So specify both kinds as different variables.
Gustavo Sverzut Barbieri [Fri, 20 Jan 2017 14:58:21 +0000 (12:58 -0200)]
EflMacros: major improvements towards usability.
Stick to one target per directory and remove prefix from variables,
makes it cleaner and easier to use.
Document variables used and use a more consistent name that matches
CMake properties.
Gustavo Sverzut Barbieri [Fri, 20 Jan 2017 12:25:55 +0000 (10:25 -0200)]
EflMacros: trust target name.
since this will be made automatic later and we can guarantee
consistency in the file hierarchy, no need to lowercase that.
Gustavo Sverzut Barbieri [Fri, 20 Jan 2017 11:39:46 +0000 (09:39 -0200)]
EflMacros: replace macros with functions.
Macros do not start a new scope and can leave leftovers, then use
functions. However to set and append to global scope is cumbersome,
add functions to aid that.
Gustavo Sverzut Barbieri [Thu, 19 Jan 2017 22:49:44 +0000 (20:49 -0200)]
CMake: infra to build modules (static, on or off).
Gustavo Sverzut Barbieri [Thu, 19 Jan 2017 19:54:12 +0000 (17:54 -0200)]
CMake: rework to use some helper macros.
This tries to defines some macros to create a cleaner build system.
Marcel Hollerbach [Thu, 19 Jan 2017 08:16:36 +0000 (09:16 +0100)]
build: switch eina to half baked cmake
Daniel Kolesa [Mon, 23 Jan 2017 15:13:15 +0000 (16:13 +0100)]
eolian tests: pass in generator path externally
Chris Michael [Mon, 23 Jan 2017 14:35:13 +0000 (09:35 -0500)]
elementary_test: Remove set but unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Mon, 23 Jan 2017 14:30:20 +0000 (09:30 -0500)]
evas-object-textblock: Remove set but unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Kolesa [Mon, 23 Jan 2017 14:32:15 +0000 (15:32 +0100)]
eolian: fix decl.eo in tests
Amitesh Singh [Mon, 23 Jan 2017 05:53:22 +0000 (11:23 +0530)]
spinner: fix mem leak on focus next traversel
this patches fixes an eina list mem leak on each
focus next(tab/alt-tab) traversal.
@fix
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
Carsten Haitzler (Rasterman) [Mon, 23 Jan 2017 02:20:37 +0000 (11:20 +0900)]
evas grid smart - don't abort if smart data is null - return safely
it's unssocial of us to abort unless we truly have a fatal error we
cann't get over... so remove from grid smart.
@fix
Andy Williams [Sun, 22 Jan 2017 21:59:45 +0000 (21:59 +0000)]
elm_code: Fix some syntax highlight after strings
Andy Williams [Sun, 22 Jan 2017 21:58:20 +0000 (21:58 +0000)]
elm_code: Syntax highlighting for multiline comments
Andy Williams [Sun, 22 Jan 2017 10:06:42 +0000 (10:06 +0000)]
luncher: Until we fix expansion zoom a little less.
This allows an area in the middle where you are only over 1 icon...
clicktastic
Youngbok Shin [Sun, 22 Jan 2017 02:03:14 +0000 (11:03 +0900)]
elementary conformant: clear internal pointer if holded object is deleted
Summary:
Set sd->scroller as NULL when the scroller object is deleted.
It prevents error logs when elm_conform tries to delete resize callback
function from deleted object.
@fix
Test Plan: N/A
Reviewers: raster, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4519
Daniel Kolesa [Sat, 21 Jan 2017 17:05:26 +0000 (18:05 +0100)]
eolian: rmeove dependency on basename/libgen.h/evil
Andy Williams [Sat, 21 Jan 2017 15:57:21 +0000 (15:57 +0000)]
elm_code: simpler handling of token painting
Youngbok Shin [Sat, 21 Jan 2017 10:00:46 +0000 (19:00 +0900)]
evas font: revise evas_font_init/reinit functions
Summary:
The static flag in evas_font_init() was not useful.
It could be replaced by checking address of "fc_config".
FcInitReinitialize() function was not necessary to reload
configure and font files in Evas. It would be meaningful
when only Evas use Fontconfig's function without own "fc_config".
To reload "fc_config", calling FcInitLoadConfigAndFonts() is enough.
And there is no need to load "fc_config" from evas_font_reinit()
when "fc_config" is not prepared.
Test Plan: N/A
Reviewers: herdsman, raster, tasn, cedric, woohyun
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4612
Carsten Haitzler (Rasterman) [Thu, 19 Jan 2017 23:43:53 +0000 (08:43 +0900)]
po files - update line's + comments
Andy Williams [Sat, 21 Jan 2017 00:17:20 +0000 (00:17 +0000)]
elm_code: Improve string syntax parsing
Andy Williams [Fri, 20 Jan 2017 22:09:16 +0000 (22:09 +0000)]
elm_code: Add initial simple syntax highlighting for C code
For c source and headers lookup a simple syntax definition.
Use a very simple text processing line by line to tokenise.
Simple but it gets us one step closer to cross-language syntax
Daniel Kolesa [Fri, 20 Jan 2017 16:20:28 +0000 (17:20 +0100)]
docs: WIP overridden method/property documentation support in docgen
Daniel Kolesa [Fri, 20 Jan 2017 14:32:00 +0000 (15:32 +0100)]
docs: use new implement based doc API
Daniel Kolesa [Fri, 20 Jan 2017 14:15:50 +0000 (15:15 +0100)]
docs: remove some duplicate doctree methods
Daniel Kolesa [Fri, 20 Jan 2017 14:09:11 +0000 (15:09 +0100)]
docs: add implement to doctree
Daniel Kolesa [Fri, 20 Jan 2017 12:39:45 +0000 (13:39 +0100)]
eolian: merge database_fill into parser
Daniel Kolesa [Fri, 20 Jan 2017 11:52:04 +0000 (12:52 +0100)]
eolian: prevent memory leaks in db fill
Daniel Kolesa [Fri, 20 Jan 2017 11:34:43 +0000 (12:34 +0100)]
eolian: simplify database_fill by reducing the number of passes
HyunSeok Cha [Fri, 20 Jan 2017 04:49:13 +0000 (13:49 +0900)]
evas: Fix very unlikely crash in evas render
During a stress test of EFL a seemingly impossible crash happened, where
one of object's cow fields was NULL inside evas_object_was_visible.
Nothing in the code flow can possibly lead to this situation but
it still happened. For information, the object's delete_me flag was 2 in
evas_object_is_active() called from _evas_render_phase1_object_process().
So let's add a small safety check for crash prevention.
Differential Revision: https://phab.enlightenment.org/D4608
Felipe Magno de Almeida [Fri, 20 Jan 2017 00:40:28 +0000 (22:40 -0200)]
Rename Efl.hh to Efl.eo.hh in CLEANFILES
This avoid make clean removing Efl.hh in the tree
Derek Foreman [Thu, 19 Jan 2017 21:25:17 +0000 (15:25 -0600)]
wayland: Try not to draw into surfaces without roles
xdg v6 will barf if we attach a buffer to the surface before
we receive a configure - even if we attach before trying to
make a shell surface.
So we need to prevent any drawing into surfaces until we've
decided what kind of surface they'll ultimately be.
Fix T5090
Daniel Kolesa [Thu, 19 Jan 2017 13:56:23 +0000 (14:56 +0100)]
eolian: add implement validation (currently for docs)
Daniel Kolesa [Thu, 19 Jan 2017 13:46:40 +0000 (14:46 +0100)]
eolian: move base function doc API into implements
This allows us to unify retrieval of docs for both regular and
overridden funcs without having two separate APIs. It's currently
missing validation and docgen is still not adjusted properly for
it either, but at least there's this. Enables retrieval of docs
for overridden funcs by default as well.
Al Poole [Thu, 19 Jan 2017 10:16:21 +0000 (19:16 +0900)]
gstreamer buffer unref emotion: too many urefs! Seems I read the documention incorrectly!!!
Reviewers: raster, jpeg, cedric
Reviewed By: raster
Differential Revision: https://phab.enlightenment.org/D4572
Mykyta Biliavskyi [Thu, 19 Jan 2017 07:54:36 +0000 (09:54 +0200)]
edje_cc: delete unused image sets from edj file.
Delete Edje_Image_Directory_Set instance from edj file in case if image
set isn't used inside any part. This commit apply behaviour from unused
images to the unused image sets.
@fix T5109
Felipe Magno de Almeida [Thu, 19 Jan 2017 01:07:46 +0000 (23:07 -0200)]
eolian-cxx: Add all cases in switch to remove warning
Felipe Magno de Almeida [Thu, 19 Jan 2017 01:06:51 +0000 (23:06 -0200)]
eolian-cxx: Do not call eolian_function_scope_get with EOLIAN_PROPERTY
Felipe Magno de Almeida [Thu, 19 Jan 2017 00:25:02 +0000 (22:25 -0200)]
cxx: Modify how to generate C++ headers and allow cyclic dependencies
Allow cyclic dependencies in generated C++ headers by changing order
of includes and creating forward declarations.
Felipe Magno de Almeida [Sat, 24 Dec 2016 17:42:37 +0000 (15:42 -0200)]
eolian-cxx: Added cyclic compilation test
Derek Foreman [Wed, 18 Jan 2017 23:48:08 +0000 (17:48 -0600)]
build: Fix wayland scanner related breakage
Oops, autoconf noob at work.
Derek Foreman [Wed, 18 Jan 2017 16:52:45 +0000 (10:52 -0600)]
ecore_imf/wayland: Auto generate wayland text-input protocol
Needed to do some fairly invasive changes because naming conventions
changed since we checked in the header.
Also, since I'm done converting protocol, change the gitignore to
use wildcards for wayland protocol.
This fixes a long standing bug in text-input binding and restores
previous OSK behaviour.
Derek Foreman [Wed, 18 Jan 2017 16:45:22 +0000 (10:45 -0600)]
ecore_wl2: Auto generate www protocol
Needed to copy the protocol file from Enlightenment.
Derek Foreman [Wed, 18 Jan 2017 16:03:44 +0000 (10:03 -0600)]
ecore_wl2: Auto generate teamwork protocol
The name was non-standard and we didn't have the xml in tree,
xml has been copied from Enlightenment.
Derek Foreman [Wed, 18 Jan 2017 15:54:49 +0000 (09:54 -0600)]
ecore_wl2: Auto generate xdg v6 protocol
Mostly trivial, needed to update private header as we'd used a
non-standard name for our generated copy.
Derek Foreman [Wed, 18 Jan 2017 15:42:29 +0000 (09:42 -0600)]
ecore_wl2: Auto generate xdg v5 protocol
Remove our generated copies, also rename the XDG_VERSION macro
so it's not quite so confusing now that we support v5 and v6.
Derek Foreman [Wed, 18 Jan 2017 15:11:25 +0000 (09:11 -0600)]
ecore_wl2: Remove private copy of subsurface protocol
This became core wayland functionality a long time ago, and we
now depend on wayland new enough to have it, so we should never
need the stale copy we had in tree.
Derek Foreman [Wed, 18 Jan 2017 14:58:20 +0000 (08:58 -0600)]
ecore_wl2: Auto generate dmabuf protocol
Remove the server protocol file as we don't need it here.
Generally a trivial change as we have a recent version in tree with
no weird changes.
Derek Foreman [Tue, 17 Jan 2017 22:29:06 +0000 (16:29 -0600)]
ecore_wl2: Auto generate session-recovery protocol
Check in the latest session-recovery xml and remove the checked
in generated files.
Derek Foreman [Tue, 17 Jan 2017 21:37:50 +0000 (15:37 -0600)]
build: Add rules to auto-generate wayland headers from protocol xml
We've been checking in protocol headers and implementations that
wayland-scanner generates. We should just generate them from the upstream
xml files.
Derek Foreman [Wed, 18 Jan 2017 15:39:02 +0000 (09:39 -0600)]
build: Disable automake compatibility warnings
We require GNU make, so stop complaining when autoconf does things
that require GNU make.
Chris Michael [Wed, 18 Jan 2017 16:29:14 +0000 (11:29 -0500)]
ecore-drm2: Add API function to set output rotation
This patch adds a new API function that can be called from
Enlightenment wl_drm module to enable output rotation.
NB: Only works if Atomic support is enabled as it rotates the hardware
plane directly...and we don't support planes without Atomic enabled.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 18 Jan 2017 15:38:01 +0000 (10:38 -0500)]
ecore-drm2: Add API function to return supported rotations of an output
Small patch to add an API function which can be used to return the
supported rotations of a given output. This is used inside the
Enlightenment wl_drm module to determine if rotations is supported on
an output.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 18 Jan 2017 15:06:20 +0000 (10:06 -0500)]
ecore-drm2: Expose Ecore_Drm2_Rotation enum
As we will need these values when doing rotation checks inside wl_drm
module (for randr rotation support), let's move them out of the
private header and expose them in Ecore_Drm2.h
Signed-off-by: Chris Michael <cp.michael@samsung.com>