AgeCommit message (Collapse)Author
2017-01-27cmake: fix make-clean as add_custom_command() deletes output files.Gustavo Sverzut Barbieri
there is no way to mark output file as "precious", then cmake's suggestion is to use add_custom_target() instead. However that will always execute, so our generator script needs to be smarter and only touch stuff when actually needed.
2017-01-27cmake: add EFL_SUPPORT_LIB() and simplify/speedup its usage.Gustavo Sverzut Barbieri
generate a static library for src/static_libs and use that as LIBRARIES for the actual library, for those such as rg_etc that are used multiple times will even speed up the final build by compiling only once. Although not used, they can be made into shared libraries that would go inside /usr/lib/efl/support/v-1.19/
2017-01-27cmake: add ector.Gustavo Sverzut Barbieri
2017-01-27cmake/tests: improve naming and add missing include directories.Gustavo Sverzut Barbieri
Some tests were relocated to subdirectory but need shared files, or may need files from src/tests by including them relatively (../) as done in ector. With subdirectories we may end with src/test/libname/suite, to make it more user friendly and backward compatible call these libname_suite.
2017-01-27cmake: auto-include subdirectories with generated .eo.*Gustavo Sverzut Barbieri
2017-01-27cmake: if path is absolute, include as-is.Gustavo Sverzut Barbieri
2017-01-26cmake: add embryo.Gustavo Sverzut Barbieri
2017-01-26cmake: add missing files (oops)Gustavo Sverzut Barbieri
2017-01-26cmake: enable systemd/upower ecore modules.Gustavo Sverzut Barbieri
eldbus was a dependency.
2017-01-26cmake: add eldbus.Gustavo Sverzut Barbieri
2017-01-26cmake: improve options summary with per-library values.Gustavo Sverzut Barbieri
segment the options based on libraries, makes it easier to read.
2017-01-26cmake: fix strlcpy() detection and usage.Gustavo Sverzut Barbieri
Linux usually ship with strlcpy(), but it's inside bsd/string.h and needs -lbsd. On BSD it's inside string.h and libc.
2017-01-26cmake: more headers and function checks.Gustavo Sverzut Barbieri
2017-01-26docgen: link to the method an overriden one overridesDaniel Kolesa
2017-01-26docgen: autodocument inherited methods/propertiesDaniel Kolesa
2017-01-26cmake/eolian: fix EOLIAN_BIN type.Gustavo Sverzut Barbieri
So EOLIAN_BIN had no type, which resulted in BOOL and thus ON/OFF. It should be labeled as FILEPATH and then we can remove the special case in EflMacros.cmake.
2017-01-26cmake: define EFL_{LIB}_BUILD and DLL_EXPORT.Gustavo Sverzut Barbieri
These are used on Windows builds to force dllexport/dllimport.
2017-01-26cmake: add eet.Gustavo Sverzut Barbieri
2017-01-26cmake: auto-detect binaries in src/bin/libname if no CMakeLists.txtGustavo Sverzut Barbieri
similar to tests, binaries should also follow the same rule and allow single-binaries with single-source.
2017-01-26cmake: auto-detect tests in src/tests/libname if no CMakeLists.txtGustavo Sverzut Barbieri
previously we were only auto-detecting sources in src/tests/libname/ subdirectories, but we should also check the parent directory if no subdirectories were processed.
2017-01-26cmake: fix test include and defines.Gustavo Sverzut Barbieri
TESTS_WD is prefixed to TESTS_SRC_DIR and should be empty (no idea why it's like that, maybe to allow relative paths). TESTS_SRC_DIR must be defined to test source directory and a typo was preventing that.
2017-01-26cmake: add emile and EFL_OPTION_BACKEND()Gustavo Sverzut Barbieri
Add emile and with that EFL_OPTION_BACKEND() to support choosing among different backends for something, in emile's case it's crypto backend (gnutls, openssl or none).
2017-01-26cmake: pkg-config can have version and needs HAVE/ENABLED defines.Gustavo Sverzut Barbieri
pkg-config names can be encoded with a version requirement, such as zlib>=1.2.3, thus we need to remove that from the variable. with autotools we used HAVE_XXX and ENABLED_XXX to instruct such optional library was present, then define that just for the user target by adding that to its CFLAGS. This allows us to remove some defines that matches the name, only leave those that translate from original pkg-config name, such as libsystemd->systemd.
2017-01-26Battery Theme: Don't set min sizes -- Fixes sizing of batman.Stephen 'Okra' Houston
2017-01-26gengrid: fix serach items in genlist by textVyacheslav Reutskiy
If a part name is NULL get text for search from TEXT part 'elm.text". @fix
2017-01-25cmake: add ecore.Gustavo Sverzut Barbieri
no tests or modules (which depend on eldbus).
2017-01-25cmake: add efl library.Gustavo Sverzut Barbieri
still no tests and no binaries, but compiles the interfaces required by other libraries such as ecore.
2017-01-25cmake: check for variable defined, not if it evaluates to false.Gustavo Sverzut Barbieri
otherwise we can't have modules off by default.
2017-01-25cmake/eina: check more required functions and link with unwind if found.Gustavo Sverzut Barbieri
unwind is needed for debug, thus link to that.
2017-01-25cmake: improvements to eolian handling.Gustavo Sverzut Barbieri
- fix doc and state SOURCES shouldn't get any EO_FILES, these should go to the specific PUBLIC_EO_FILES or EO_FILES. - generate eolian files in relative directories, required by efl/interfaces - .eot files fail if you give -o c:..., they need an explicit "-gh" followed by "-o i:..." - .legacy.h are generated automatically, but needs an extra pass (q66 was informed about it) - if EOLIAN_BIN=on, then use in-tree binary, depending on such target only if it's the case. This allow cross-compiling and also bypass regenerate all .eo files if eina/eolian changed (as requested by Raster), simply reconfigure with EOLIAN_BIN=path, which can be EOLIAN_BIN=bin/eolian_gen if you wish ;-) - use COMMENT keyword to change the eolian summary (output)
2017-01-25cmake: if EOLIAN_BIN=ON, use built eolian_gen.Gustavo Sverzut Barbieri
2017-01-25cmake: EFL_OPTION() now supports DEPENDS to handle conditionals.Gustavo Sverzut Barbieri
This is now used by ENABLE_SYSTEMD and ENABLE_VALGRIND, which moves to "common.cmake" since they are shared among multiple libraries. With that I found that LINK_FLAGS is indeed a string, not a CMake List (space separated, not ";"), then fix that so compilation actually works.
2017-01-25cmake/common: add missing checks for eina, simplify to one file.Gustavo Sverzut Barbieri
Since the macros were moved to EflMacros.cmake, there is no reason to keep CommonHeaderChecks.cmake anymore, put them all in config/common.cmake Keep the checks sorted so they're easy to organize. Add missing check for prctl() and iconv() (which we were checking iconv.h, but the code used '#if HAVE_ICONV').
2017-01-25ecore-wl2: Don't set opaque or input regions if already setChris Michael
If the window opaque/input regions already match what is being requested (to be set), then no need for the compositor to create regions and set them. @optimize @fix Signed-off-by: Chris Michael <>
2017-01-25Revert "evas: Fix resource leak in evas_module_find_type"Chris Michael
Reverting this as it causes crashes in Terminology and other EFL apps. Needs investigation. This reverts commit 8b2ca30eb5bc112b47155cc3694be1aa39b1345f.
2017-01-25edje_entry: don't send a 'changed' signal if Control is lockVyacheslav Reutskiy
This patch is avoid extra 'change' signals from edje_entry to elm_entry. Basically the entry fields does not react to keys pressed with modificator 'Ctrl'. I was test on Windows 7, MacOS 10.12 and Unity (GTK+) and they all have similar behavior - keys with 'Ctrl' are ignored. So this patch make expected beharior for elm_entry (edje_entry).
2017-01-25elput: Fix resource leakChris Michael
Coverity reports that we leak 'msg' here if we fail to append arguments to the message. Fixes CID1367499 @fix Signed-off-by: Chris Michael <>
2017-01-25ethumb: Fix resource leakChris Michael
Coverity reports a resource leak here as we were not freeing 'sanitized_path' inside the if statement. Fixes CID1367502 @fix Signed-off-by: Chris Michael <>
2017-01-25evas: Fix resource leak in evas_module_find_typeChris Michael
Coverity reports a resource leak here if we successfully load the evas module as we were never freeing the eina_module here. Previously we would just return the evas module without proper cleanup of the eina_module. This patch fixes the leak by calling eina_module_free if we successfully load the evas module. Fixes CID1367503 @fix Signed-off-by: Chris Michael <>
2017-01-25evas: Minor formatting fixChris Michael
NB: No functional changes Signed-off-by: Chris Michael <>
2017-01-25ecore_input: support PS4 joystickShinwoo Kim
Add joystick mapper for Sony Computer Entertainment Wireless Controller
2017-01-25edje - fix border scale by interpolationCarsten Haitzler (Rasterman)
several theme elements uses transitioning border scale by for animation and this has been broken for quite some time now. the theme sall looked wrong for ages. i just never junted down exactly why, but i know... i wrote the themes that made use of scale by animation interpolating from like 0.1 to 1 and so on to make for example a shadow go from sharp to blurry... the theme hasnt changed. edje did. it broke. this fixes it back to where it was. interpolation now works. i left a comment so no one tries to "fix it". @fix
2017-01-25evas - proxy - fix clipping of proxy renders that broke terminologyCarsten Haitzler (Rasterman)
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
2017-01-25gengrid : fix mirrored position calculate to apply pan width instead of ↵SangHyeon Lee
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 <>
2017-01-24genlist: fix mem leak on focus nextAmitesh Singh
This patch fixes an eina list mem leak on each focus next(tab/alt-tab) traversal. @fix
2017-01-24index: fix mem leak on focus nextAmitesh Singh
This patch fixes an eina list mem leak on each focus next(tab/alt-tab) traversal. @fix
2017-01-24evas_inline: Change the return value for readabiltyJiyoun Park
2017-01-23cmake: major rework of check and pkg-config dependencies.Gustavo Sverzut Barbieri
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.
2017-01-23cmake/eina: match and build all modules statically by default.Gustavo Sverzut Barbieri
2017-01-23cmake/eo: simplifies eo handling and generate eolian info in .pc.Gustavo Sverzut Barbieri
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.