path: root/src/lib/elua (follow)
AgeCommit message (Collapse)Author
2020-07-31elua: add searchpath impl for 5.1 compatDaniel Kolesa
2020-07-31elua: fix elua_register with 5.1Daniel Kolesa
2020-07-31elua: do not link to cffi, load the module insteadDaniel Kolesa
2020-06-06build: disable elua by default, plus nicer detectionDaniel Kolesa
Elua is now disabled by default. There are some other changes: 1) Elua scripts are only installed if Elua is enabled 2) Lua bindings are only installed if Elua is enabled 3) Elua with interpreter is clearly experimental and will message
2020-05-30elua: use cffi-lua public headerDaniel Kolesa
2020-05-29elua: fix build with luajit or lua 5.1Daniel Kolesa
2020-05-29bindings: rename luajit -> luaDaniel Kolesa
2020-05-29elua: allow building with interpreted (non-luajit) luaDaniel Kolesa
This doesn't fully work yet as e.g. Eolian bindings require the bitop module only present in luajit for now. In order to build, you will need to install in order to provide the FFI. It needs to be built for the Lua version you are building EFL with.
2020-05-25libs: headers: ensure we include headers in the correct order for EAPIStefan Schmidt
We need to ensure this order to make sure EAPI is working correctly on windows. Original patch by Vincent Torri. Differential Revision: Signed-off-by: Stefan Schmidt <>
2020-05-18Revert "Fix EAPI definition by defining EFL_BUILD for each built DLL"Carsten Haitzler (Rasterman)
This reverts commit 3ade45cbc82bea1772c7ad1afb7e1ba5dd67d930.
2020-05-18Fix EAPI definition by defining EFL_BUILD for each built DLLVincent Torri
Summary: EAPI must be defined to dllexport when building DLL, and to dllimport when using these DLL. To achieve this, define EFL_BUILD for each library and module, and set DLL_EXPORT unconditionally. Static library are and will be not supported Test Plan: compilation Reviewers: zmike, raster, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-02-28doxygen: fix missing end group tagXavi Artigas
2020-02-28doxygen: fix duplicated intro sectionsXavi Artigas
2019-12-28correct edje pkg-config generation for luaoldRoss Vandegrift
Currently, edje.pc gets its lua Requires from the -Dlua-interpreter argument. If -Dlua-interpreter=lua, an unversioned lua entry ends up in Requires, which cannot always be satisifed. The evas filters handles this case by generating a version-specific entry. This patch copies that logic into the top level, and passes the result to the edje subproject. Reviewed-by: Marcel Hollerbach <> Differential Revision:
2019-08-19make mman.h privateVincent Torri
Summary: integrate mman.h to make Evil private to the EFL, as mman.h does not exist on Windows. After a discussion with raster, i include sys/mman.h only on non Windows platform. One issue, though, is that src/modules/emotion/generic/Emotion_Generic_Plugin.h has inlined functions using mmap() Test Plan: compilation on Windows Reviewers: cedric, raster, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision:
2019-05-22include evil_private.h in last files, and disable symbolic links on Windows ↵Vincent Torri
in a couple of files Test Plan: compilation Reviewers: zmike, raster, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision:
2019-05-20remove Evil.h when not necessary, include evil_private.h when necessaryVincent Torri
Test Plan: compilation Reviewers: zmike, raster, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision:
2019-02-22build: fix macos buildMarcel Hollerbach
Summary: it the .pc file of luajit carries linker flags that causes compilation fails on macos, thus we need to split up the .pc file into our own dependency, and use it with causion Reviewers: zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision:
2019-02-21meson: add a option for selecting lua interpreterWonki Kim
this patch is for selecting lua interpreter such as luajit, lua51 and in addition, little more changes to unify lua dependency over efl Reviewed-by: Marcel Hollerbach <> Differential Revision:
2018-10-02here comes mesonMarcel Hollerbach
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 <> Differential Revision: Depends on D7011
2018-04-13elua: get rid of lightuserdata for state retrievalDaniel Kolesa
In order to get around the lightuserdata 48-bit problem, split the state pointer into two and reconstruct it later as necessary.
2018-01-18all: Simplify definition of EAPIVincent Torri
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
2017-11-24elua: correctly wrap gettext funcsDaniel Kolesa
Now, we cannot directly register funcs defined by a different signature than the lua standard (int (*)(lua_State *)) so we have to correctly wrap those with proper conversions etc.
2017-11-24elua - use safeptr with lightuserdata to work around luajit 64bit issueCarsten Haitzler (Rasterman)
luajit only supports 47bits on 64bit for lightuser data (bad! don't mess with opaque pointers... really unexpected and bad and probably should be fixed in luajit by doing things like on 32bit where pointers are not messed with etc.)
2017-09-22EFL For WIN32: Replace HAVE_EVIL define with _WIN32Vincent 'vtorri' Torri
2017-08-30elua: load regular file if bytecode cache failsDaniel Kolesa
If bytecode is requested and fails to load, load original file instead. Force re-write of bytecode if that succeeds. This is useful if there is bytecode newer than the source file that the current Lua version can't load, for example when migrating from LuaJIT 2.0 to 2.1, which changed bytecode format. Fixes confusing cases such as in T2728.
2017-06-28elua: use up to date lua APIDaniel Kolesa
luaL_reg is a 5.0 API which we don't support.
2017-06-12elua - fix build for luajit2.1.0-beta3+Carsten Haitzler (Rasterman)
it seems luajit (and lua) broke api again... removed a #define from their headers from 5.1->5.2 of lua (and seemingly luajit2.1 too). :( this should fix T2728 @fix
2016-08-08elua: load modules from local dirs firstDaniel Kolesa
This fixes cases when running scripts locally - local modules are preferred over systemwide, avoiding possibly outdated system scripts from being run.
2016-07-19elua: enable module lookups in apps locationDaniel Kolesa
This will allow for better organization of the docgen script.
2016-04-16elua: more file utilities in clibDaniel Kolesa
2016-03-29elua: add several file/dir utils used by doc genDaniel Kolesa
This will be expanded into a proper util lib later.
2016-01-19elua: Fix use of eina_file_mkstemp after previous patchJean-Philippe Andre
The API (that didn't work in the first place) was used wrongly as it was assumed its behaviour was the same as mkstemp (duh!). It turns out eina's version doesn't replace the input string but returns a tmpstr instead. @fix
2015-12-08Efreet, Elua : use eina_file_mkstemp instead of mkstempVincent Torri
Reviewers: jpeg Subscribers: cedric Differential Revision:
2015-12-05efl: add binary mode to fdopen() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <>
2015-12-05efl: add binary mode to f(re)open() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <>
2015-10-19elua: remove non-portable lconv fields (breaks windows)Daniel Kolesa
2015-06-09elua lib: sanitize all file paths before writing themDaniel Kolesa
This will prevent random nonsense from being written in. It changes semantics slightly (documented) and also fixes CID 1267463. @fix
2015-05-07elua: remove the need to order the header correctly for Windows.Cedric BAIL
2015-05-06elua lib: use -1 for default values in localeconvDaniel Kolesa
2015-05-06elua lib: add API to retrieve lconv from luaDaniel Kolesa
2015-05-06elua lib: add a func to retrieve the current translation langDaniel Kolesa
2015-05-06elua lib: remove unnecessary checks (always initialized)Daniel Kolesa
2015-05-06elua lib: fix elua_util_app_load + docsDaniel Kolesa
2015-05-06elua lib: use Eina_Bool as return val in some utilsDaniel Kolesa
2015-05-06elua lib: merge the 3 setup funcs into oneDaniel Kolesa
This allows simpler initialization and elua_util_require can now queue up modules before full initialization is done.
2015-05-06elua lib: docs for elua_util_error_report + remove unnecessary argDaniel Kolesa
2015-05-06elua lib: docs for elua_util_script_runDaniel Kolesa
2015-05-06elua lib: docs for elua_util_app_loadDaniel Kolesa
2015-05-06elua lib: docs for elua_util_string_runDaniel Kolesa