Commit Graph

13 Commits

Author SHA1 Message Date
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 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 adf70fa26f Remove const hacks
They were a workaround for limitations in Cython <0.18
2014-04-05 03:13:15 +03: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 e557b2fcb4 Eo: Add several methods, tests and more debug logging.
 - parent_set/get
 - event_freeze(_get)/thaw
 - delete

 - event_global_freeze(_get)/thaw

Moved enums to efl.eo.enums.pxd
2013-11-09 09:05:44 +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 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 f6909ac42c Internal function renames:
* _strings_to_python -> eina_list_strings_to_python_list
 * _strings_from_python -> python_list_strings_to_eina_list
Add two functions for string array conversion.
Add two properties to elm.Window.
2013-03-23 06:50:33 +00:00
Davide Andreoli 744fab5c92 New line chars from CR/LF to LF
SVN revision: 83924
2013-02-14 20:54:53 +00:00
Davide Andreoli 744f1ee4be todo--
updated copyright in ALL the files

SVN revision: 83873
2013-02-13 19:16:02 +00:00
Davide Andreoli 8b86398860 Put in a first, still wip, version of the python bindings in a merged tree.
This is meant to be the 1.8 version of the wrappers and will include everything
that now is in the python folder.

Atm this include evas, ecore, edje, elementary and emotion (emotion still commented
in the build couse it need some more testing). Eo is used as a base for all the
objects that inherit from it in C, but in real nothing is used from Eo, it is
used more like a container to share code between the libs.

All the docs has been stripped out because we want to use the new sphinx style 
docs that Kay has done in his git repo. (Kay: please wait a little bit to include
it, as working on the libs without docs is much more easy)

The new wrappers include a new container module called efl and thus you can live
with both the old and the new installation. This also means that you need to import
the new modules as:
"from efl import evas" (instead of the old "import evas")
The idea here is that you can make your code works with both version doing
something like:
   import evas
   from efl import evas is done in the gtk bindings

Some stuff has been leaved out on purpose, because was old stuff (like the hacked 
evas rotation stuff) or because was not working as expected (like all the ecore.evas.XXX
modules). See the TODO.txt file for more info. Probably some stuff is out just because I
missed them, let me know if you miss something.

Improvements from the old version:
- Py3 compatible (still some work to be done, but really only TODO, no problems to resolv)
- Should also works on other platforms, like windoz (but not tested)
- Unittests greatly improved, you can also run ALL tests at once
- much more simpler :)

I will contine the works in the next weeks and hope someone will help too.

NOTE: I switched back to instead of autotools, because that is the right way to
compile python stuff. So to build just use:
 python install
 python3 install


SVN revision: 83831
2013-02-11 22:32:50 +00:00