Commit Graph

46 Commits

Author SHA1 Message Date
Davide Andreoli 3f064401a1 Do not fail on SmartObject tests, they are skipped 2015-01-04 19:42:31 +01:00
Davide Andreoli 08170d1fd4 Disable evas.SmartObject to workaround Cython brakage.
SmartObject do work fully in real, thay probably need a full rewrite,
so this should not harm at all.

Also disabled tests and examples
2015-01-02 13:25:44 +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
Kai Huuhko 8109cd62b4 Code cleanup: Spelling and grammar fixes 2014-04-14 23:39:59 +03:00
Davide Andreoli cc02387266 Adjust the bindings to work with Eo2 2014-04-14 21:41:38 +02:00
Kai Huuhko 6408f8d318 Code cleanup: Print statements => functions 2014-04-14 02:32:16 +03:00
Kai Huuhko cd5f897bbf Code cleanup: Inconsistent indentation 2014-04-14 01:40:21 +03:00
Kai Huuhko d8613c88f8 tests: Added a very simple unit test for unicode in Elm Entry 2014-04-07 12:55:15 +03:00
Davide Andreoli b32f95e3c4 Python-EFL: 2 small fix for the unit tests 2014-02-23 19:38:33 +01:00
Kai Huuhko 264491875d Edje: Re-enable edje-edit. 2013-12-30 14:04:57 +02:00
Kai Huuhko 5aa035b900 Tests: Removed expected failure from a test that now works 2013-12-30 14:02:09 +02:00
Kai Huuhko 277ed843ae Tests: Simple beginnings for Elm unit tests, enabled Eo tests. 2013-12-18 20:05:26 +02:00
Kai Huuhko 056fad315c Tests: Decrease verbosity and buffer the output when running full suite. 2013-12-18 16:45:50 +02: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 05cd30a2e3 Evas.SmartObject: Add a test from old bindings, fix trivial doc issues. 2013-11-06 05:03:41 +02:00
Kai Huuhko 4ca341d0d5 Evas.SmartObject: Basic object should be functional again.
At least the simple test passes.

Needs more work and tests.
2013-11-05 18:12:53 +02:00
Kai Huuhko e4e56b2605 Edje-edit: Disable build and tests.
Do this for now as it's undergoing changes and mostly broken anyway.
2013-10-30 21:01:24 +02:00
Kai Huuhko 05f288ec7f Edje: Fix unit test paths and skip a couple segfaulting tests.
Decorator test fails but I'm not sure if the test is simply wrong.

Dave, can you check?
2013-10-29 06:25:23 +02:00
Davide Andreoli 25666b60c2 Python-EFL: in the edje_edit unittest copy the edj file to a temp one, as the test will change it. Preventing successive test to fail. 2013-05-29 21:52:44 +02:00
Davide Andreoli 5913721de9 Python-EFL: implemented decorators for edje.
Decorators implemented in a much more simple and generic
way than before, we can use them in other place too.

3 deco implemented:
@on_signal(emission, source)

I choosed the 'strange' on_* naming convention to not
clash/confuse with normal callback functions, tell
me if you don't like.
2013-05-14 21:51:29 +02:00
Davide Andreoli 236d66caf8 Python-EFL: rename examples, just to keep them ordered 2013-05-13 01:29:44 +02:00
Davide Andreoli 1c255024d3 Python-EFL: implemented ecore.Poller, with docs and unittest. 2013-05-13 01:27:00 +02:00
Davide Andreoli 39e16242a0 Python-EFL: implemented ecore.FileMonitor class 2013-05-12 19:15:09 +02:00
Kai Huuhko 4b9cacd74e Evas: Fix Textgrid and add tests. 2013-04-22 20:12:26 +03:00
Davide Andreoli 0fae488f77 Python-EFL: EdjeEdit, manage the various class 'name' prop in a saner way
Instead of keeping a py object now keep a stringshared char*, so that we can
pass it directly to the C API without messing with conversions.
2013-04-14 14:24:44 +02:00
Davide Andreoli 9d85805b13 Python-EFL: Implemented EdjeEdit API, with full unit tests.
Some stuff is not working on the C side, the unit test is full
of FIXME and TODO. The biggest problem is the PartState that
do not work at all, I will give a short look at this, but I'm
not so much intrested atm...If you want/need to help please
let me know.
2013-04-14 13:08:15 +02:00
Davide Andreoli 8df1784275 Python-EFL: first unittest for the dbus mainloop integration 2013-04-07 01:30:31 +02:00
Davide Andreoli a52dac2145 Python-EFL: move dbus examples to the examples/ folder. Other tests chmod +x 2013-04-06 23:38:55 +02:00
Davide Andreoli 0a32be475a Python-EFL: first working dbus mainloop wrapper.
This one don't require edbus2 nor the old e_dbus, it reimplement
the dbus connection stuff that was in e_dbus (the old) in a
py module.
2013-04-06 12:46:52 +02:00
Davide Andreoli 307a27022b Python-EFL: remove the efreet bindings.
We don't need them, just use pyxdg if you need fdo standards.
2013-04-03 14:34:38 +02:00
Davide Andreoli 92a626abbc Python-EFL: fix ecore.file_download_protocol_available for py3, and made a test for it 2013-04-03 11:38:46 +02:00
Kai Huuhko 4a157cb0a2 Add more skeletal work for Efreet.
Uri, base and trash should be fully usable now.
2013-03-29 16:36:16 +00:00
Davide Andreoli 2daa751915 Python-EFL: Fix edje-external unittest
was broken due to recent elm include changes
2013-03-27 21:58:59 +01:00
Davide Andreoli 711c41883f Python-EFL: edje.text/color_class_list are ok now.Unskip the unittests
SVN revision: 84068
2013-02-18 20:53:55 +00:00
Davide Andreoli 50cf3b0a0a Python-EFL: make ecore Exe and FdHandler py3 friendly. svn ignore++
SVN revision: 84029
2013-02-17 20:53:51 +00:00
Davide Andreoli 6e61cb93a2 Python-EFL: unittest for all the external widgets, they just check object creation atm not all the params
SVN revision: 83989
2013-02-16 13:05:10 +00:00
Davide Andreoli 25def8e423 fixed external slider unittest now that is fixed in elementary. svnignore++
SVN revision: 83983
2013-02-16 11:30:58 +00:00
Davide Andreoli 2b75edb785 Python-EFL: edje_external now works with py3
SVN revision: 83980
2013-02-16 10:47:27 +00:00
Davide Andreoli b58be93f12 move elementary and emotion tests in a new examples dir. Now tests/ contain only unittest while examples/ all the other tests that need user interaction
SVN revision: 83964
2013-02-15 20:41:55 +00:00
Davide Andreoli 454d967f84 Python-EFL: Cleanup and enable compilation of emotion, cleaned also the test.
SVN revision: 83931
2013-02-14 23:05:55 +00:00
Davide Andreoli 85272ee9e2 Python-EFL: unbreak, something need to expand
SVN revision: 83930
2013-02-14 22:15:44 +00:00
Davide Andreoli 8e85adfb4c Python-EFL: elm_test_video is broken exactly as the C counterparts, so its not a TODO here.
SVN revision: 83929
2013-02-14 22:11:55 +00:00
Davide Andreoli af0fe7b17f Python-EFL: is ok
SVN revision: 83928
2013-02-14 21:59:56 +00:00
Davide Andreoli 8cc60e8a78 Python-EFL: unbreak In real Im just hiding a bug in entry single_line in elementry :/
SVN revision: 83927
2013-02-14 21:52:44 +00:00
Davide Andreoli 69832134e7 Python-EFL: Unit test for edje external, and fixed the elm external tests
SVN revision: 83923
2013-02-14 20:48:34 +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