Commit Graph

41 Commits

Author SHA1 Message Date
Kai Huuhko ed1cad63f6 Elm: More _cfruni removal. 2013-04-02 23:24:35 +00:00
Kai Huuhko dd6f479d7d Elm: More _cfruni removal, and fix init() broken by my previous commit. 2013-04-02 17:15:20 +00:00
Kai Huuhko bd1dd50bc6 Elm: First batch of _cfruni extermination 2013-04-02 11:37:02 +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 0f3c3999e3 Make the conv functions more robust.
Now we may leak the strings from _(c)fruni which should be looked up
case by case. The positive side is that we no longer point to (possibly)
invalid memory.

Strings used with touni funcs are suspected to leak as well.
2013-03-26 18:53:13 +00:00
Kai Huuhko 37b8ff89ae Free allocated memory after passing an array of strings to elm_win_available_profiles_set. 2013-03-25 21:30:38 +00:00
Kai Huuhko df023f53ff Add a few 1.8 API functions to elm.Window.
Window initialization now takes in the "parent" keyword which defaults
to None.
2013-03-23 10:17:24 +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 f33c77da09 python-efl: Small elm.genlist documentation correction.
SVN revision: 84448
2013-03-15 16:15:52 +00:00
Kai Huuhko ffd06e5378 python-efl: Forgot this file from last commit.
SVN revision: 84447
2013-03-15 16:14:19 +00:00
Kai Huuhko 3324319e56 python-efl: elm.calendar: Add new functionality from 1.8 API
SVN revision: 84446
2013-03-15 16:12:37 +00:00
Kai Huuhko 329ddc5618 python-efl: Add elm.general.cache_all_flush(), fix tests.
SVN revision: 84410
2013-03-05 22:17:24 +00:00
Kai Huuhko e88c49f008 python-efl: Fix Genlist sorted.
SVN revision: 84406
2013-03-03 11:21:14 +00:00
Davide Andreoli 0873fe1621 Do not import EVERY widget while importing efl.elementary
Now the user is responsable of importing the widget used one by one,
this should be a great speedup in the launch of the app.

You have to import stuff in this way:
 from efl import evas
 from efl import elementary
 from efl.elementary.window import Window
 from efl.elementary.layout import Layout

...sorry for the inconvenience



SVN revision: 84402
2013-03-01 21:01:50 +00:00
Kai Huuhko 7127e39d7b python-efl: Trying out the scrollable interface in Genlist.
SVN revision: 84387
2013-02-26 21:12:51 +00:00
Kai Huuhko 37995fa72d python-efl: Here's an idea how we can handle (elm) interfaces.
SVN revision: 84379
2013-02-26 14:35:16 +00:00
Kai Huuhko c5c91f3783 python-efl: Remove last remnants of _object_list_to_python from elm and
add the event return that was missed in the merge from my repo.


SVN revision: 84370
2013-02-25 20:23:59 +00:00
Kai Huuhko 309666459a python-efl: Fix small elm TODOs and issues.
SVN revision: 84359
2013-02-25 12:58:56 +00:00
Kai Huuhko 73e5f8dcdb python-efl: Add decorate_(all_)item_style to elm.GenlistItemClass.
SVN revision: 84338
2013-02-24 12:01:03 +00:00
Kai Huuhko ca6be7473c python-efl: elm.Object: cimport const_char and const_void from Cython.
SVN revision: 84336
2013-02-24 10:30:58 +00:00
Kai Huuhko 2e583b2377 python-efl: elm.Object and ObjectItem: Add None checks for parameters
where an extension is passed, remove extra None checks from strings.


SVN revision: 84335
2013-02-24 09:59:10 +00:00
Kai Huuhko 3e84bdaf88 python-efl: Add small optimizations and safety checks to elm.Genlist.
SVN revision: 84334
2013-02-24 09:13:56 +00:00
Kai Huuhko 6c3164748a python-efl: Correct elm.Genlist item insert functions' documentation.
SVN revision: 84326
2013-02-23 23:35:43 +00:00
Kai Huuhko 3d914c8197 python-efl: Add elm.Genlist sorted insert.
SVN revision: 84325
2013-02-23 23:21:25 +00:00
Kai Huuhko 80f4db6133 python-efl: Add 1.8 elm_need functions.
SVN revision: 84324
2013-02-23 18:49:05 +00:00
Kai Huuhko 0afa3be616 python-efl: Make use of the efl.eo facilities in Box and Diskselector.
SVN revision: 84323
2013-02-23 18:32:49 +00:00
Kai Huuhko 7244690519 python-efl: Add logging to widget_header.
SVN revision: 84314
2013-02-22 14:52:55 +00:00
Kai Huuhko 114fd2ac46 python-efl: Fix Slideshow from crashing.
SVN revision: 84313
2013-02-22 14:51:36 +00:00
Kai Huuhko 0e26186ef9 python-efl: cimport conversion functions from efl.eo.
SVN revision: 84311
2013-02-22 13:27:52 +00:00
Kai Huuhko e8a1b68b79 python-efl: Consolidate elm cb conversions.
SVN revision: 84309
2013-02-22 12:00:26 +00:00
Kai Huuhko 8573629c83 python-efl: Improve documentation for Actionslider and Background, check
return value in Bg.file.


SVN revision: 84308
2013-02-22 10:53:41 +00:00
Kai Huuhko 50d35b8519 python-efl: Clean up elm.general.
SVN revision: 84291
2013-02-21 17:24:13 +00:00
Kai Huuhko cc200904f6 python-efl: Document Entry anchors.
SVN revision: 84290
2013-02-21 16:11:51 +00:00
Kai Huuhko 7049e101ec python-efl: Fix Entry anchors.
SVN revision: 84280
2013-02-21 12:27:32 +00:00
Kai Huuhko 5a37efe711 python-efl: More clean up after the merge.
SVN revision: 84266
2013-02-20 21:30:18 +00:00
Kai Huuhko b320b094e7 python-efl: Fix generating documentation locally (without installing it).
Update documentation version strings.


SVN revision: 84244
2013-02-19 23:08:42 +00:00
Davide Andreoli 1e953366b5 PythonEFL:
* put _METHOD_DEPRECATED in eo
 * new slide_mode prop for Label, and deprecate the old one
 * updated label test to use new slide_mode prop



SVN revision: 84069
2013-02-18 22:20:09 +00:00
Kai Huuhko 37aba43fb1 python-efl: Copy over the experimental work on py-elm from my github repo:
- split modules, cuts down development time
 - Sphinx documentation
 - new work flow for list type widgets while keeping compatibility with the old one
 - input events now have functional propagation and support for mouse wheel events
 - assorted fixes



SVN revision: 84027
2013-02-17 19:35:20 +00:00
Davide Andreoli 43f9b5f319 Python-EFL: remove some deprecated stuff and cleanp all the warnings
SVN revision: 84008
2013-02-16 23:18:27 +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