Daniel Kolesa
5197200ac1
elua: allow building with interpreted (non-luajit) lua
...
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
https://github.com/q66/cffi-lua
in order to provide the FFI. It needs to be built for the Lua
version you are building EFL with.
2020-05-29 16:40:05 +02:00
Daniel Kolesa
e73f7f7a40
elua lib: use Eina_Bool as return val in some utils
2015-05-06 15:05:23 +01:00
Daniel Kolesa
88faba813c
elua lib: merge the 3 setup funcs into one
...
This allows simpler initialization and elua_util_require
can now queue up modules before full initialization is done.
2015-05-06 15:05:23 +01:00
Daniel Kolesa
0d8b38a2ac
elua: include fix
2015-05-06 15:05:22 +01:00
Daniel Kolesa
5cd8e4e67b
elua: remove long opts (not necessary or useful)
2015-05-06 15:05:22 +01:00
Daniel Kolesa
d8890209af
elua lib: unify API conventions
2015-05-06 15:05:20 +01:00
Daniel Kolesa
eea537ded3
elua: cleanup launcher
2015-05-06 15:05:20 +01:00
Daniel Kolesa
02de415312
elua: cleanup main runtime
2015-05-06 15:05:20 +01:00
Daniel Kolesa
24a694026a
elua lib: add elua_state_setup_modules + use
2015-05-06 15:05:20 +01:00
Daniel Kolesa
8041b042fe
elua lib: move i18n initialization there
2015-05-06 15:05:20 +01:00
Daniel Kolesa
0496762057
elua: utilize the new elua_util APIs
2015-05-06 15:05:20 +01:00
Daniel Kolesa
f80999ae60
elua: use the new progname API
2015-05-06 15:05:20 +01:00
Daniel Kolesa
13bd7ba653
elua lib: add progname to state
2015-05-06 15:05:20 +01:00
Daniel Kolesa
865e2e3364
elua: remove -e param (we're not a REPL)
2015-05-06 15:05:20 +01:00
Daniel Kolesa
a2d9f1af91
elua: utilize the new APIs for handling require/appload
2015-05-06 15:05:20 +01:00
Daniel Kolesa
87a8e51cd3
elua: remove elua_prefix from main runtime
2015-05-06 15:05:19 +01:00
Daniel Kolesa
5f6109bc47
elua: new API elua_state_dirs_fill + utilize
2015-05-06 15:05:19 +01:00
Daniel Kolesa
c1cfcc35b9
elua: remove path decision from register_require
2015-05-06 15:05:19 +01:00
Daniel Kolesa
498501b9d7
elua: remove EFL_RUN_IN_TREE hack (pass cmdline args)
2015-05-06 15:05:19 +01:00
Daniel Kolesa
329fae97b0
elua lib: manage bound modules within Elua_State
2015-05-06 15:05:19 +01:00
Daniel Kolesa
1bc0bd1aa7
elua: use the new state get API
2015-05-06 15:05:19 +01:00
Daniel Kolesa
19bb7eb460
elua lib: new APIs to retrieve dirs
2015-05-06 15:05:19 +01:00
Daniel Kolesa
f17e8025b8
elua lib: more Elua_State usage
2015-05-06 15:05:19 +01:00
Daniel Kolesa
128aa3a1ea
elua lib: elua_io_loadfile now uses Elua_State
2015-05-06 15:05:19 +01:00
Daniel Kolesa
01aecbe273
elua: use the dir paths from Elua_State
2015-05-06 15:05:19 +01:00
Daniel Kolesa
ed3f24943f
elua lib: add elua_state_dirs_set
2015-05-06 15:05:19 +01:00
Daniel Kolesa
098f2ad4cd
elua: no need for luaL_openlibs, the lib does that
2015-05-06 15:05:19 +01:00
Daniel Kolesa
92ad720127
elua: remove the smart cb wrapper (ffi callbacks work fine for us)
2015-05-06 15:05:19 +01:00
Daniel Kolesa
1dcc62c7c2
elua: pass Elua_State through Main_Data
2015-05-06 15:05:19 +01:00
Daniel Kolesa
446fdd68c9
elua: Elua_state for elua_loadapp
2015-05-06 15:05:18 +01:00
Daniel Kolesa
cf98f846e9
elua lib: Elua_State for elua_state_setup_i18n
2015-05-06 15:05:18 +01:00
Daniel Kolesa
17a54ff8e0
elua: use more Elua_State
2015-05-06 15:05:18 +01:00
Daniel Kolesa
c1487c8b11
elua: elua_report_error now takes Elua_State*
2015-05-06 15:05:18 +01:00
Daniel Kolesa
e0066ca9e7
elua: use elua_state_new/free
2015-05-06 15:05:18 +01:00
Daniel Kolesa
208ad62d3c
elua: error reporting in the library
2014-12-17 14:44:12 +00:00
Daniel Kolesa
ec78c23761
elua: remove main.h (launcher is only 1 C file now)
2014-12-12 13:43:39 +00:00
Daniel Kolesa
09869589c9
elua: move caching into the library
2014-12-12 13:39:57 +00:00
Daniel Kolesa
4a1bfdeb4d
elua: move io extensions to library
2014-12-12 12:04:10 +00:00
Daniel Kolesa
784045df9a
elua: move i18n setup to the library
2014-12-12 10:44:58 +00:00
Daniel Kolesa
c65221c0ae
elua: move core scripts to src/scripts
2014-12-11 16:59:27 +00:00
Daniel Kolesa
aa6f9ea4a9
elua: add checkme
2014-12-11 16:41:24 +00:00
Daniel Kolesa
3b343878a8
elua: add initial pieces of the library
2014-12-11 15:48:18 +00:00
Daniel Kolesa
e2351f0086
allow for loading of eo.lua files from module path
2014-11-19 14:05:18 +00:00
Daniel Kolesa
f0f9edd0bd
elua: remove the : prefix for running apps
...
Instead, check if there is a file specified by the argument to elua and
if there is, execute it, otherwise treat it as app name. The reason this
is done is that the colon triggered ugly stuff in certain environments,
such as our MinGW crossbuild Jenkins slave.
@fix
2014-11-05 16:09:36 +00:00
Daniel Kolesa
f33101ea8c
elua/autotools: generate .eo.lua files out of all eo files at build time
...
Also change the generator a bit so that it doesn't rely on lib name information
and fix the runtime to properly source lua files within tree.
2014-10-06 13:28:09 +01:00
Mike Blumenkrantz
5375e154fe
fix config.h inclusion across the tree
2014-09-23 15:56:46 -04:00
Jean Guyomarc'h
56ce6d8e74
Unregister eina_log domain
...
Reviewers: cedric, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1233
2014-07-25 11:08:47 +01:00
Daniel Kolesa
4995d1a4b0
elua: fix up some names and fix a name conflict on windows
2014-06-12 10:57:08 +01:00
Daniel Kolesa
808aa0ce50
elua: remove build_args, it's useless by now with our popen variant
2014-06-11 11:16:55 +01:00
Daniel Kolesa
0f4e617e9f
elua: alignment
2014-06-11 11:15:11 +01:00