Commit Graph

111 Commits

Author SHA1 Message Date
Kai Huuhko d3569bf1f1 Elm: Unify modules into a monolithic module 2015-04-18 04:45:11 +03:00
Davide Andreoli b3833978c8 New 1.14 API: edje.text_class_get() and edje.Edje.text_class_get() 2015-04-16 22:36:22 +02:00
Davide Andreoli 0190d16c05 New 1.14 property: Evas.Image.orient
with a simple test
2015-04-12 12:35:57 +02:00
Kai Huuhko 4ccea0f35d Evas.SmartObject: Add smart callback introspection 2015-03-13 19:22:01 +02:00
Kai Huuhko 6fa1b78256 Evas.SmartObject: Keep reference to Smart in the SO object
Smart gets freed automatically when no SO or user has references to it.
2015-03-12 18:22:46 +02:00
Kai Huuhko 247eb9e452 Evas.SmartObject: Revert SmartCb add/del mechanism partially
We need to keep a better track of the spec references so they
don't get mixed up when user adds and deletes the callbacks.
2015-03-11 22:13:00 +02:00
Kai Huuhko a407e11298 Evas: Change SmartCb event_info conversions into C functions 2015-03-11 15:37:06 +02:00
Kai Huuhko d36b61e97e Evas.SmartObject: Keep refs in a list
Using Py_INCREF/DECREF in add/del we could have dangling references when
the object is deleted without user calling callback_del.
2015-03-11 11:36:50 +02:00
Kai Huuhko 7fad9e3ff4 Evas.SmartObject: Simplify callback handler code
This should do the same as the previous approach, except heaps and tons
faster. No more dicts and lists to go through.
2015-03-11 04:13:08 +02:00
Kai Huuhko c4786f997e Evas.SmartObject: changed smart event callback add/del methods to cdef 2015-03-11 02:12:36 +02:00
Kai Huuhko 4ab927809e Move smart callback handling from elm Object to evas SO and inherit 2015-03-10 22:53:16 +02:00
Kai Huuhko fbc22d850d Make Evas.SO iterator a generic Eo iterator and move to efl.eo 2015-03-09 19:36:42 +02:00
Kai Huuhko 3dd81c4f60 Evas.SmartObject: Switch to using C implementation of ClippedSO 2015-03-08 23:48:21 +02:00
Kai Huuhko db5663773e Evas.SmartObject: Fix issues in the new API implementation 2015-03-08 18:15:26 +02:00
Kai Huuhko d3357619f7 Evas: Bring back SmartObject
Possible TODO: support per-child delete cb like in C
2015-03-05 21:07:38 +02:00
Kai Huuhko 460d749aef Evas.Rect: Rename intercepts to intersects, correct the algorithm
It now uses the same algorithm as eina_rectangle
2015-03-02 05:22:57 +02:00
Davide Andreoli 9afb74906b Fix code to conform to recent Eo changes. 2015-02-25 21:44:31 +01:00
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 module renamed to which gets
automatically used for the package namespace when there is an empty 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