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
67c693eff1
elua: support is_c_only in lualian
2014-12-03 15:27:38 +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
a09049e563
elua: do not emit spaces where not required
2014-11-19 12:57:10 +00:00
Daniel Kolesa
b1009770ef
elua: simplify lualian typeconv
2014-11-19 11:40:49 +00:00
Daniel Kolesa
6b20fcdc8f
elua: two-stage bytecode caching
...
This unbreaks parallel builds where an elua process tries to read a bytecode
file that is currently being written. Now, we write into a temporary file first
instead and when it's written, rename.
@fix
2014-11-06 10:57:36 +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
d23b9342d5
elua: remove redundant checks
2014-11-05 09:52:01 +00:00
Daniel Kolesa
1ea00af7e9
elua: support foo.dll and libfoo.dll patterns on Windows in util + better errors
2014-11-05 09:50:08 +00:00
Jean Guyomarc'h
9fa0e6ea19
elua: load .dylib on OSX
...
Summary:
On OSX, libraries are generated as .dylib instead of .so. This led elua to
try loading missing libraries, and therefore crashing.
@fix
Reviewers: cedric, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1642
2014-11-04 11:55:14 +00:00
Daniel Kolesa
8077e14fd6
elua: support for environment variable library path lookups in util.lib_load
...
This allows us to get rid of the LD_LIBRARY_PATH hack and thus make it more
cross-plaform as well as fix some bad behavior (with the hack it still looked
up the systemwide library if present instead of preferring in-tree)
2014-11-03 13:20:54 +00:00
Daniel Kolesa
92f369cd1b
elua: generate property wrapper bodies with correct arguments in lualian
2014-10-17 16:52:41 +01:00
Daniel Kolesa
6311472e97
elua: generate __properties in lualian
2014-10-17 16:44:55 +01:00
Daniel Kolesa
cf895efbb5
elua: we don't need property system in object core anymore
2014-10-17 15:19:06 +01:00
Daniel Kolesa
9cb6ccf686
elua: initial, restricted support for property syntax and property/event inheritance
2014-10-10 13:48:25 +01:00
Daniel Kolesa
8528d937e8
elua: remove testing elementary bindings
2014-10-10 13:04:35 +01:00
Daniel Kolesa
a2d0e6042e
elua: fix class c get function in lualian and make lua files rebuild on lualian changes
2014-10-08 09:58:40 +01:00
Daniel Kolesa
48c79d39f8
elua: add support for ctor func as last param
2014-10-07 15:06:32 +01: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
Daniel Kolesa
bcc61b1f12
elua: name ctor param names according to their func
2014-10-02 15:40:10 +01:00
Daniel Kolesa
e293b90d2c
elua: when combining ctor params, do not allow repeated param names
2014-10-02 15:26:15 +01:00
Daniel Kolesa
ed8062cb19
elua: translate param names that are lua keywords into acceptable variants
2014-10-02 15:20:01 +01:00
Daniel Kolesa
99803b013f
elua: generate the object ctor function
2014-10-02 14:55:30 +01:00
Daniel Kolesa
8a9c3a028e
eolian: call the methods/properties from constructors directly for now
2014-10-02 14:40:58 +01:00
Daniel Kolesa
47a41298a3
elua: initial/incomplete support for constructors in lualian
2014-10-02 14:25:08 +01:00
Daniel Kolesa
b1e16b482b
elua: remove some more obsolete code (gen_ctor is no longer relevant)
2014-10-02 13:39:30 +01:00
Daniel Kolesa
596d01a83a
elua: lualian type fix
2014-10-02 12:39:47 +01:00
Daniel Kolesa
bd4b0d7a9d
elua: remove obsolete code from lualian
2014-10-02 11:34:55 +01:00
Daniel Kolesa
a2bde0bf96
eolian: new API: eolian_class_c_get_function_name_get
...
This allows bindings to easily retrieve name of the C function used to
retrieve the Eo_Class. Also, update the Lua Eolian bindings and generator.
2014-10-02 11:00:06 +01:00
Daniel Kolesa
17c9aeb80c
elua: properly support _class_get funcs in lualian
2014-10-02 10:34:14 +01:00
Daniel Kolesa
39add190a7
elua: register classes with their underscored name
2014-10-01 16:32:29 +01:00
Daniel Kolesa
38ba6d09e3
elua: lualian table index fix
2014-10-01 14:17:54 +01:00
Daniel Kolesa
d5f1a58d71
elua: refactor and fix generated lualian output
2014-10-01 10:44:44 +01:00
Daniel Kolesa
e50a62fc8d
elua: more useful generated output in lualian
2014-10-01 10:18:59 +01:00
Daniel Kolesa
73bf20fe4e
elua: properly register the eo class into the system in generated code
2014-09-29 12:40:50 +01:00
Daniel Kolesa
afc5dd02f9
elua: update lualian generation code to potentially deal with cycles
2014-09-29 11:52:50 +01:00
Daniel Kolesa
6850f9bb85
elua: begin work on new style constructors
2014-09-26 13:24:58 +01:00
Daniel Kolesa
3c021572db
elua: remove ldouble from lualian
2014-09-26 13:16:13 +01:00
Daniel Kolesa
356e36922c
elua: lualian event cleanup
2014-09-26 13:11:05 +01:00
Daniel Kolesa
05d4805f39
elua: remove Constructor/Default_Constructor from lualian (obsolete)
2014-09-26 13:10:03 +01:00
Daniel Kolesa
fc40591f11
elua: update eolian bindings and generator
2014-09-25 15:53:42 +01:00
Mike Blumenkrantz
5375e154fe
fix config.h inclusion across the tree
2014-09-23 15:56:46 -04:00
Daniel Kolesa
599bee0553
elua: update eolian bindings to latest version
2014-09-09 16:30:46 +01:00