Kai Huuhko
02fa82441f
Eolian: Updates to follow changes in Eo
2015-03-27 05:00:08 +02:00
Kai Huuhko
b4b2f904dd
Eolian: Rename top level package efl to efl2
2014-10-14 23:18:29 +03:00
Kai Huuhko
9f08f3beea
Eolian: Enable more elm widgets
2014-10-11 07:25:22 +03:00
Kai Huuhko
c18d8880a0
Eolian: WIP
2014-10-09 19:21:37 +03:00
Kai Huuhko
0c930094cb
Eolian: WIP
2014-10-09 14:51:26 +03:00
Kai Huuhko
f84fef0415
Eolian: WIP
2014-10-02 23:56:12 +03:00
Kai Huuhko
a795ec8c10
Eolian: WIP
2014-09-30 22:25:06 +03:00
Kai Huuhko
6b45d3429d
Eolian: WIP
2014-09-29 17:37:15 +03:00
Kai Huuhko
c0f64781ed
Merge branch 'master' into eolian
2014-09-15 09:47:41 +03:00
Davide Andreoli
9a78c4e22d
Expose object_from_instance and the inverse to other C code
...
This create the efl.eo_api.h file that you can copy to your source if you want to use the exported api
2014-08-16 12:33:29 +02:00
Kai Huuhko
3d196ef231
Eolian: Make Type its own iterator
2014-06-17 07:49:01 +03:00
Kai Huuhko
4e700fe0d3
Initial python bindings for Eolian
2014-06-06 02:57:14 +03:00
Davide Andreoli
4a57a7deaa
Follow recent Eo api changes
...
eo_event_global_freeze_get -> eo_event_global_freeze_count_get
eo_event__freeze_get -> eo_event_freeze_count_get
2014-06-02 17:21:42 +02:00
Davide Andreoli
2967438dca
Fix param declaration for edje_edit offset functions (float->int)
2014-05-19 20:04:22 +02:00
Kai Huuhko
d98cd27107
efl.ecore: Transform into a package
...
The old efl.ecore.so module renamed to __init__.so which gets
automatically used for the package namespace when there is an empty
__init__.py included.
2014-05-13 15:12:38 +03:00
Davide Andreoli
209d232836
Added evas_font_path_global_* API
2014-05-10 18:52:09 +02:00
Kai Huuhko
8109cd62b4
Code cleanup: Spelling and grammar fixes
2014-04-14 23:39:59 +03:00
Davide Andreoli
b3eef73b0e
s/2013/2014/g
2014-04-14 22:21:03 +02:00
Davide Andreoli
cc02387266
Adjust the bindings to work with Eo2
2014-04-14 21:41:38 +02:00
Kai Huuhko
d65101b24b
Code cleanup: Unused/misplaced cimports
2014-04-14 00:51:19 +03:00
Kai Huuhko
c342feab6f
Ethumb: Adjust file headers to the new merged python-efl style.
2014-04-11 18:28:42 +03:00
Kai Huuhko
6ebdf2b607
Bring back Python bindings for Ethumb.
2014-04-11 18:12:49 +03:00
Kai Huuhko
adf70fa26f
Remove const hacks
...
They were a workaround for limitations in Cython <0.18
2014-04-05 03:13:15 +03:00
Davide Andreoli
ec71e46441
Python-EFL: new 1.9 API : Win.wm_rotation_* functions and properties
...
NOTE: all this is UNTESTED as I do not have a rotating WM
2014-03-01 19:35:40 +01:00
Kai Huuhko
b21fde2ba7
Silence warnings in Cython 0.20
2014-01-24 22:52:34 +02:00
Kai Huuhko
264491875d
Edje: Re-enable edje-edit.
2013-12-30 14:04:57 +02:00
Davide Andreoli
74244a5ac7
Python-EFL: fix the mess with the lgpl version.
...
Elm was lgpl3, COPYING was lgpl3, docs say lgpl3. So fix everything to be v3.
Also fix the COPING for Lesser: we must include gpl (in COPYING) AND lgpl (in COPYING.LESSER).
2013-12-07 17:54:58 +01:00
Kai Huuhko
bb5307ea20
Evas: Use _set_properties_from_keyword_args
2013-12-04 13:14:12 +02:00
Kai Huuhko
f2b22e94bb
Eo: Change _register_decorated_callbacks to not use hasattr/getattr
...
They actually get the value of a property, leading to unexpected
behavior. Iterate the class dict instead.
2013-11-24 17:56:08 +02:00
Kai Huuhko
ba9f729094
Ecore: Add AnimatorTimeline.
2013-11-19 21:21:04 +02:00
Kai Huuhko
225f061b05
Optimize exception propagation in several hot/time critical cases.
...
With "except *" a call is made to PyErr_Occurred on each call of a
function.
Adding a return value where possible and using an appropriate exception
value calls PyErr_Occurred only when that value is returned, ie.
an exception has been raised.
cdef void example_func() except *: <- PyErr_Occurred called on each call
cdef int example_func() except 0: <- PyErr_Occurred called only when
an exception has been raised (the function thus returns 0)
2013-11-10 08:47:21 +02:00
Kai Huuhko
e557b2fcb4
Eo: Add several methods, tests and more debug logging.
...
Methods:
- parent_set/get
- event_freeze(_get)/thaw
- delete
Functions:
- event_global_freeze(_get)/thaw
Moved enums to efl.eo.enums.pxd
2013-11-09 09:05:44 +02:00
Kai Huuhko
9db6938f1e
Use types in objects' callback list definitions to simplify access.
...
Also use a more descriptive name for Evas' event callback list.
2013-11-07 11:35:03 +02:00
Kai Huuhko
41f0aeff67
Reduce usage of cpdef.
...
It was intended to make things easier but created problems with
inheritance and Evas SmartObject object customization.
2013-11-05 03:18:36 +02:00
Kai Huuhko
d6d440c3a6
Add support for loggers that have been initialized already.
...
This allows module initialization to be logged as well.
Changed add_logger to return the logger object instead of int.
2013-10-26 03:22:47 +03:00
Kai Huuhko
19e7d11f61
Resolved Py3 issues.
...
Fixes T459
2013-10-26 02:38:25 +03:00
Kai Huuhko
3d85286336
Add arguments 'version' and 'message' to DEPRECATED decorator.
...
The decorator will automatically add a directive to the docstring and
log a message when the function is called.
2013-10-25 02:09:29 +03:00
Kai Huuhko
4771ca5ccb
Move logger to its own module.
2013-10-24 22:58:09 +03:00
Davide Andreoli
d47c9390b8
PythonEFL: (as always) unbreak the build with older chyton
2013-10-23 19:36:04 +02:00
Kai Huuhko
7fbab02702
First attempt at integrating Eina Log with Python logging.
...
Has two loggers: efl and efl.eo.
To test, add handlers, formatters etc. and change levels using
normal Python logging utilities. The test messages come from
efl.eo init and class registration.
2013-10-23 14:34:42 +03:00
Kai Huuhko
b981ce3840
New feature: Set properties using constructor keyword arguments.
...
Only applied to Elm Bubble for now as an example.
2013-10-20 14:34:53 +03:00
Kai Huuhko
5f4a46da4b
Move common conversion functions from efl.eo to efl.utils.conversions
2013-10-01 04:56:28 +03:00
Kai Huuhko
6587b5be67
Rename efl.pxd to efl.eina.pxd
2013-09-30 07:26:35 +03:00
Kai Huuhko
88db824a77
Change the _METHOD_DEPRECATED function into a decorator.
...
- move the decorator into a new package/module: utils/deprecated
- simplify setup.py logic slightly, it still needs work
2013-09-20 12:01:50 +03:00
Davide Andreoli
6873820e95
PythonEFL: implemented some missed apis in edje
2013-08-19 20:49:18 +02:00
Davide Andreoli
7fefb7beef
PythonEFL: implemented emotion vis stuff
...
Untested as probably no backend implement the feature,
but now emotion has 100% coverage :)
2013-08-19 19:37:55 +02:00
Davide Andreoli
0fe8211593
PythonEFL: do not ignore exceptions in Timer/Animator/Poller/Idlers callbacks
2013-08-11 11:20:26 +02:00
Kai Huuhko
0fc1e2bd98
Evas: Remove the unnecessary value assignments for enums.
2013-05-30 16:53:35 +03:00
Davide Andreoli
94863fa02a
Python-EFL: update to recent evas enum change
...
Isn't this an API break ?? :/
kuuko: why some enums here still have explicit values? and why
they are not copyed in efl.evas.pyx ?
2013-05-29 22:17:05 +02:00
Davide Andreoli
5913721de9
Python-EFL: implemented decorators for edje.
...
Decorators implemented in a much more simple and generic
way than before, we can use them in other place too.
3 deco implemented:
@on_signal(emission, source)
@message_handler
@on_text_change
I choosed the 'strange' on_* naming convention to not
clash/confuse with normal callback functions, tell
me if you don't like.
2013-05-14 21:51:29 +02:00