Carsten Haitzler
43661180f7
efl - key/data/value/obj attach to eo objects - make these properties
...
the key data now is a property so they come out in bindings really
nicely like:
obj.key_data["blah"] = x;
x = obj.key_data["blah"];
etc.
2016-05-18 02:02:45 +09:00
Carsten Haitzler
5e09d1307b
eo base - remove the duplicated key dels and just do eo_key_del() now
...
this rationalizes all the duplicated key dels (key_data, key_obj and
key_value).
2016-04-21 18:02:31 +09:00
Daniel Kolesa
3aabb41d1d
elua: make eo bindings work with the new generated format
2015-05-28 15:54:35 +01:00
Daniel Kolesa
e663773d9e
elua: only check gettability in __index with no keys
2015-04-01 14:22:00 +01:00
Daniel Kolesa
34beed984d
elua: clarify comments in eo.lua (explain how the property system works)
2015-04-01 14:20:08 +01:00
Daniel Kolesa
c37f68ee46
elua: cast data, not cbs (data stores the cb id)
2015-03-19 15:01:16 +00:00
Daniel Kolesa
9ef2b35317
Revert "elua: more reliable eoid->lua number conversion"
...
This reverts commit 8bb13b626f
.
Seems like this method is not so reliable after all :) Results
in precision loss for Eo IDs, so revert to the old hacky way.
2015-03-19 14:59:15 +00:00
Daniel Kolesa
0bd2fc15e9
elua: unexpose callback add/del events
2015-03-06 14:38:12 +00:00
Daniel Kolesa
8bb13b626f
elua: more reliable eoid->lua number conversion
2015-03-06 14:36:25 +00:00
Daniel Kolesa
e75cf0db13
elua: remove irrelevant comment
2015-03-06 14:29:37 +00:00
Daniel Kolesa
bcc5ba83b3
elua: a func-to-idx cache for eo callbacks
2015-03-06 14:25:29 +00:00
Daniel Kolesa
00e2f5d882
elua: connect the del event on first callback connect
2015-03-04 10:32:16 +00:00
Daniel Kolesa
8eca257bf8
elua: connect del callback by default
2015-03-03 16:38:24 +00:00
Daniel Kolesa
a8cfea6911
elua: better callback resource handling
2015-03-03 16:28:41 +00:00
Daniel Kolesa
adbac89310
elua: implement callback disconnect + better error handling
2015-03-03 16:16:59 +00:00
Daniel Kolesa
e55ecf6d4c
elua: initial better callback system with indirection
2015-03-03 16:08:22 +00:00
Daniel Kolesa
4b01fd6298
elua: eo_class_addr_get -> eo_obj_addr_get
2015-03-03 15:59:16 +00:00
Daniel Kolesa
c0e20c0c3d
elua: callback stubs for basic event handling
2015-03-03 15:43:02 +00:00
Daniel Kolesa
c9c13bd650
elua: callback updates in eo bindings
...
Priority is now supported. Some initial infra for disconnect
has been added.
2015-03-03 15:30:35 +00:00
Daniel Kolesa
34387cfba4
elua: unregister all classes on eo.lua shutdown
2015-03-03 14:05:55 +00:00
Daniel Kolesa
72b26fd49b
elua: minor eo bindings optimization
2015-02-26 17:07:33 +00:00
Daniel Kolesa
b4dee8db54
elua: update eo bindings for lualian generated code
2015-02-26 15:36:15 +00:00
Daniel Kolesa
212571c406
elua: guarantee multiple inheritance availability on any object
2015-02-25 15:11:52 +00:00
Daniel Kolesa
7806e79024
elua: better mixin behavior (+ fix bad lookup)
2015-02-25 14:01:45 +00:00
Daniel Kolesa
f0bf599435
elua: slightly less broken mixin behavior
2015-02-25 12:09:16 +00:00
Daniel Kolesa
54d7fed7b6
elua: handle event/property mixins correctly in eo
2014-10-17 16:14:49 +01:00
Daniel Kolesa
9e770c06be
elua: complete property handling in eo bindings (getters, setters, keys, vals)
2014-10-17 15:54:47 +01:00
Daniel Kolesa
8414846142
elua: ffi.string in method calls is bad... reduce allocs
2014-10-17 14:56:44 +01:00
Daniel Kolesa
1e55e26422
elua: properly hook up gc so that eo objects are unref'd in C when collected
2014-10-10 15:44:49 +01:00
Daniel Kolesa
4c418e61cc
elua: fix eo callback return
2014-10-10 14:46:50 +01:00
Daniel Kolesa
2863c51edd
elua: very basic event support in eo bindings
2014-10-10 13:58:04 +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
915f3a3424
elua: update eo bindings
2014-10-02 15:04:02 +01:00
Daniel Kolesa
99803b013f
elua: generate the object ctor function
2014-10-02 14:55:30 +01:00
Daniel Kolesa
990cf6651a
elua: update eo lua API against generated lualian output
2014-10-02 10:41:30 +01:00
Daniel Kolesa
15d9fec0e0
elua: class unregister + keep track of Eo_Class
2014-09-24 13:49:58 +01:00
Daniel Kolesa
85a135d32e
elua: remove the eo_methods stuff, improve class registration
2014-09-24 13:37:26 +01:00
Daniel Kolesa
0061d5a437
elua: Eo metatype with method table redirection
2014-09-24 11:51:27 +01:00
Daniel Kolesa
92d39a9ed9
elua: ad the rest of Eo APIs to ffi cdef
2014-09-24 11:10:08 +01:00
Daniel Kolesa
cc1a5149fe
elua: add some more eo APIs to ffi cdef
2014-09-24 10:39:47 +01:00
Daniel Kolesa
6df8766b6a
elua: some janitoring (add newlines to the end of files)
2014-06-10 15:48:53 +01:00
Daniel Kolesa
c6e5d8d002
elua: return the value properly in eo
2014-06-10 15:48:53 +01:00
Daniel Kolesa
f395e861fb
elua: make it possible to get class lua body from address
2014-06-10 15:48:53 +01:00
Daniel Kolesa
ff519ccc4a
elua: move __ctor_common, __do_start, __do_end out of the object (as it's effectively empty now, it can be generated)
2014-06-10 15:48:53 +01:00
Daniel Kolesa
3e65deabf8
elua: remove the implemented eo_base stuff - will be generated
2014-06-10 15:48:53 +01:00
Daniel Kolesa
4b3c7190ca
elua: use eo_finalize plus update bound eo api
2014-06-10 15:48:53 +01:00
Daniel Kolesa
39cdde7280
elua: prevent method calls on bad objects
2014-06-10 15:48:53 +01:00
Daniel Kolesa
cefd51b955
elua: adjust module system for injection into loaded table nad preload, lualian can now inject inside of existing modules
2014-06-10 15:48:48 +01:00
Daniel Kolesa
3f70a9a79e
elua: respect possible retval from ctor
2014-06-10 15:48:48 +01:00
Daniel Kolesa
dca8afb2cc
elua: rename eo __ctor to __tor_common (so that it's not automatically called with no ctor provided)
2014-06-10 15:48:48 +01:00