summaryrefslogtreecommitdiff
path: root/src/lib/elua (follow)
AgeCommit message (Collapse)Author
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: https://phab.enlightenment.org/D8933
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: https://phab.enlightenment.org/D8925
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: https://phab.enlightenment.org/D7995
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 <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7564
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 <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 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: https://phab.enlightenment.org/D3411
2015-12-05efl: add binary mode to fdopen() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-05efl: add binary mode to f(re)open() callsVincent Torri
This allows better compatibility with Windows Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
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
2015-05-06elua lib: docs for elua_util_file_runDaniel Kolesa
2015-05-06elua lib: docs for elua_util_requireDaniel Kolesa
2015-05-06elua lib: docs for elua_io_loadfileDaniel Kolesa
2015-05-06elua lib: docs for elua_state_io_setupDaniel Kolesa
2015-05-06elua lib: docs for elua_state_modules_setupDaniel Kolesa
2015-05-06elua lib: docs for elua_state_i18n_setupDaniel Kolesa
2015-05-06elua lib: docs for elua_state_lua_state_getDaniel Kolesa
2015-05-06elua lib: docs for elua_state_appload_ref_pushDaniel Kolesa
2015-05-06elua lib: docs for elua_state_require_ref_pushDaniel Kolesa
2015-05-06elua lib: docs for elua_state_include_path_addDaniel Kolesa
2015-05-06elua lib: add docs for elua_state_prog_name_getDaniel Kolesa
2015-05-06elua lib: add docs for the dir retrieval APIs.Daniel Kolesa
2015-05-06elua lib: add doc for elua_state_dirs_fillDaniel Kolesa
2015-05-06elua lib: add docs for elua_state_dirs_setDaniel Kolesa
2015-05-06elua lib: add state_free docDaniel Kolesa