Commit Graph

28 Commits

Author SHA1 Message Date
Kai Huuhko fd7322fcda Disallow instantiating the base object classes. 2013-04-22 20:20:21 +03:00
Kai Huuhko 898f32371a Sed to the rescue. 2013-04-22 20:20:20 +03:00
Kai Huuhko 40e76e001a Evas: Add Grid. 2013-04-22 20:12:27 +03:00
Kai Huuhko 77ed60ae26 Evas: Add some missing API to Object. 2013-04-22 20:12:27 +03:00
Kai Huuhko 10635266ff Evas: Add Table. 2013-04-22 20:12:27 +03:00
Kai Huuhko b7abe5f423 Evas: Improve documentation for Box, Line, Map, Textblock, Text,
Textgrid, Rect.

Comment out broken Map properties.
2013-04-22 20:12:27 +03:00
Kai Huuhko 5685396582 Evas: Add some missing bits to Image. 2013-04-22 20:12:26 +03:00
Kai Huuhko 9658aeeb34 Evas: Object documentation fixes. 2013-04-22 20:12:26 +03:00
Kai Huuhko 4b9cacd74e Evas: Fix Textgrid and add tests. 2013-04-22 20:12:26 +03:00
Kai Huuhko 9d5ed471a4 Evas: Actually commit Textgrid code and TODO ++--.
Sleep++
2013-04-07 23:15:58 +00:00
Kai Huuhko aef22ccc50 Evas: Add code for Textgrid, compiles but not tested. 2013-04-07 23:11:50 +00:00
Kai Huuhko 09b7c33644 Evas: Implemented Object.map_get() 2013-04-07 15:35:22 +03:00
Kai Huuhko 0c1584097a Evas: Make the representation special methods use C API functions directly. 2013-04-07 15:35:22 +03:00
Kai Huuhko aa72b5f273 Evas: Use cpdef for making internal calls faster, small performance
optimizations.
2013-04-03 22:47:16 +00:00
Kai Huuhko 3b196172b4 Add an enums file for Evas so it gets the values directly from C lib. 2013-04-03 19:39:11 +00:00
Davide Andreoli 86df76780a Python-EFL: fix evas events for py3 and remove that hack in emotion test 2013-04-03 12:59:11 +02:00
Kai Huuhko 4244773c94 Evas: the holy grail of strings! 2013-04-01 18:02:16 +00:00
Kai Huuhko 28d68cf2a0 Evas: Add some trivial performance optimizations + TODOs for more. 2013-03-30 21:15:32 +00:00
Kai Huuhko 4d9c1c929a Handle exceptions in eo cdef functions, don't expose _METHOD_DEPRECATED
to Python API needlesly, add some code optimizations and TODOs.
2013-03-28 16:54:51 +00: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
Kai Huuhko bb65ae91cb python-efl: Fix documentation issues, use NotImplementedError for
abstract methods in evas smartobject.


SVN revision: 84398
2013-03-01 12:44:05 +00:00
Davide Andreoli 144c600753 Python-EFL: docs for evas map
SVN revision: 84344
2013-02-24 15:52:42 +00:00
Davide Andreoli c745e686d3 Python-EFL: All the docs for evas are in.
SVN revision: 84342
2013-02-24 14:41:15 +00:00
Davide Andreoli 83b3d779cb Python-EFL: put in the infra for Evas docs
SVN revision: 84337
2013-02-24 10:56:04 +00:00
Davide Andreoli 4a2117fc4f Python-EFL: cleanup well Evas_Objects registered callback when the obj is deleted
SVN revision: 84005
2013-02-16 19:49:07 +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:
try:
   import evas
except:
   from efl import evas
...like 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 setup.py instead of autotools, because that is the right way to
compile python stuff. So to build just use:
 python setup.py install
or
 python3 setup.py install


Enjoy
davemds




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