Davide Andreoli
a4273b1095
Docs: improved evas pages
2015-01-19 23:34:28 +01:00
Davide Andreoli
77d14470c4
New 1.13 elm.Transit.tween_mode_factor_n_set
...
Also added some missing TRANSIT_TWEEN_MODE_*
2015-01-17 15:55:47 +01:00
Davide Andreoli
49d409db3a
New 1.13 property evas.Map.util_object_move_sync
2015-01-17 11:38:26 +01:00
Davide Andreoli
783e2ba6c8
Evas.Object: New convenience props, size_hint_expand and size_hint_fill
...
Also added some docs for size hints usage
2015-01-06 17:46:18 +01:00
Davide Andreoli
de01f76650
Evas: better define for EVAS_HINT_FILL/EXPAND
...
Also added the various tuple we always use, just for convenience.
Use the new tuples in the elm examples
2015-01-05 12:24:19 +01:00
Davide Andreoli
4bc8d227a9
New style enums for ethumb
...
...not really tested as there are no test nor examples for ethumb :(
2015-01-04 22:46:40 +01:00
Davide Andreoli
bbb747eb5e
New style enums for eo
2015-01-04 22:30:19 +01:00
Davide Andreoli
728ff202e4
New style enums for emotion
2015-01-04 22:12:08 +01:00
Davide Andreoli
e6d3a88349
New style enums for edje_edit
2015-01-04 22:04:36 +01:00
Davide Andreoli
3ebc6f21e9
New style enums for edje
2015-01-04 22:02:09 +01:00
Davide Andreoli
419405e456
New style enums for ecore
2015-01-04 21:29:40 +01:00
Davide Andreoli
f9e8906724
Use new cython cpdef-enums in evas
...
cpdef enums are automatically exported to C and
to python, no more need for the enums file and
the duplicated definition for py.
This is a cython 0.21 feature so from now on you will
need at least that version.
Require some <int> cast here and there, but a totally
win in the end.
2015-01-04 20:44:45 +01:00
Davide Andreoli
94a4b56444
Forgot to commit this (when I disabled SmartObject)
2015-01-04 16:55:30 +01:00
Davide Andreoli
027505f45a
Move ecore enums with all the other enums files
2015-01-04 13:14:06 +01:00
Davide Andreoli
863efc19eb
Move ecore_x out of the ecore extension
...
Now ecore do not more looks like an alien with his __init__
hack and his different module/package structure
This broke ecore.x users as the extension is now efl.ecore_x
Sorry to bother but I still think that ecore_x should not be
implemented in python, if this hurt you please let me know
2015-01-04 12:47:40 +01:00
Davide Andreoli
a4f2cc37cc
Another year has passed...
2015-01-02 20:03:53 +01:00
Davide Andreoli
60e7e94889
New 1.12 API: edje_object_base_scale_get
...
With proper test
2014-11-22 15:21:00 +01:00
Davide Andreoli
8f05e1c177
New 1.12 api: edje_object_part_text_input_hint_set/get
2014-11-18 20:55:12 +01: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
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