Commit Graph

478 Commits

Author SHA1 Message Date
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 7b135c2012 Small doc fixes 2015-01-04 14:39:53 +01:00
Davide Andreoli 84a09b61b6 Remove specific X code from elm
Just using unsigned int for the Ecore_X_ID type
2015-01-04 14:34:04 +01:00
Davide Andreoli 027505f45a Move ecore enums with all the other enums files 2015-01-04 13:14:06 +01:00
Davide Andreoli 8d99fc8b40 Remove old (moved) ecore.x files 2015-01-04 12:51:38 +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 1910563604 Docs: fix some text to not show up
Pygments css for some highlightend text are the same color of our gray bg, just make them white
2015-01-03 20:25:47 +01:00
Davide Andreoli 6ff9998258 Lots of documentation fixes for ALL the classes
Mainly with regard of class __init__ params and the **keyword param
2015-01-03 20:17:24 +01:00
Davide Andreoli 64c1d33c9f Added new convenience class: DialogWindow
With a new test for both StandardWindow and DialogWindow
2015-01-03 14:51:08 +01:00
Davide Andreoli 1746a0acdd Docs for fdo icon names 2015-01-03 12:54:52 +01:00
Davide Andreoli 5c8bb29d78 New distutils command: uninstall 2015-01-02 21:36:21 +01:00
Davide Andreoli a4f2cc37cc Another year has passed... 2015-01-02 20:03:53 +01:00
Davide Andreoli e4a3616613 Provide a new distutil command: build_edc 2015-01-02 19:46:06 +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 99c5e47ca5 Fix a distutils import 2015-01-01 22:27:37 +01:00
Davide Andreoli 3a3cb85634 Cython warnings-- 2015-01-01 22:08:27 +01:00
Davide Andreoli 6fe657d979 Added new efl.utils.setup pure python module
This module contain some distutils commands that can be used
by apps in the setup.py script
2015-01-01 21:19:10 +01:00
Davide Andreoli 9e2ad3382e elm.Theme: added group_base_list_get() function 2014-12-31 12:42:08 +01:00
Davide Andreoli b642c60b84 Genlist: new clicked,right signal 2014-12-26 19:30:18 +01:00
Davide Andreoli d6ab0de2dd Better docs for available Genlist item styles 2014-12-25 13:15:23 +01:00
Davide Andreoli 8fd9a0021e Fix elm.ObjectItem.part_content_set() to accept a generic EvasObject.
...not only an elm object.
2014-12-03 21:11:39 +01:00
Davide Andreoli e8c61e7690 Reopen developement for 1.13 release 2014-11-23 20:25:26 +01:00
Davide Andreoli b6ca4649a6 Roll-up the 1.12 release 2014-11-22 16:52:46 +01:00
Davide Andreoli 2582c32800 New 1.12 enums: Input panel variations 2014-11-22 16:02:29 +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 5e8a644f24 New 1.12 API: elm_fileselector_current_name_set/get
With proper test
2014-11-22 15:11:23 +01:00
Davide Andreoli 3be938511f New 1.12 API: elm_panel_scrollable_set/get/content_size_set
Also improved the test for panel and added a new test for scrollable panel.
2014-11-22 14:33:47 +01:00
Davide Andreoli d3f98802b0 Optimize the _set_properties_from_keyword_args() function.
We do not need to check if the attribute exist to raise an exception, setattr() yet raise a well formatted expection in case of failure.

This way we avoid a dir() call and an IN check in a hot path.

The only drawback is that this change the raised exception in the case an attr not exist, from  AssertionError to AttributeError... I hope none was using that eception explicitly.
2014-11-22 14:25:39 +01:00
Davide Andreoli da1807c379 New 1.12 API: elm_process_state_get 2014-11-18 21:42:31 +01:00
Davide Andreoli 5668d30498 New 1.12 API: elm_entry_input_hint_set/get 2014-11-18 21:12:26 +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
Kai Huuhko 40cedb0e4b Elm.menu: Fix documentation for item_add parameters
icon and label are in fact reversed in our API when compared to C API.
2014-10-05 21:11:40 +03:00
Davide Andreoli 6fe9080af1 Make cython 0.21 happy
Simplify the statement so that it also compile with newer cythons
2014-09-22 18:47:42 +02:00
Kai Huuhko ffeb5aaf2c Release 1.11.0 2014-09-13 18:43:11 +03:00
Kai Huuhko 5543852d54 Examples: Add description to elm web exceptions, trivial updates to test 2014-09-13 18:16:17 +03:00
Davide Andreoli d3794d9566 No need to call ecore init/shutodown here
they are called in e_dbus_init/shutdown
2014-08-23 21:15:46 +02:00
Davide Andreoli 3544e7408f Cleanup, remove unused stuff 2014-08-23 20:42:19 +02:00
Davide Andreoli d0bea312ef dbus_mainloop: reworked how we manage the dbus watch requests.
Dbus can request (via watch_add) more than one watch on the same fd (one
for write and one for read), but ecore cannot setup more than one fd_handler
on the same fd. So we need to manage this (weired) case internally, reusing
an existing fd_handler for more than one dbus watch.

This, at the end of the story, fix the ability to connect to the (fucking) PulseAudio
dbus server, that do not use the Session or System buses, but provide its own bus.
2014-08-23 20:37:15 +02:00
Davide Andreoli bc02e43181 Cleanups: the filter are not used here
and the ecore_event is not used enywhere
2014-08-23 17:59:22 +02:00
Davide Andreoli 1de3ffccd6 Simplify: no need to keep a local copy of the watch state 2014-08-23 17:34:37 +02:00
Davide Andreoli 6d5a1d1169 use 3 spaces indentation, not 2 2014-08-23 17:06:28 +02:00
Davide Andreoli a41106348a added extra debug info (to be manually enabled) 2014-08-23 16:50:16 +02:00
Davide Andreoli e592aa9647 renamed a function to a better name 2014-08-23 16:17:18 +02:00
Davide Andreoli e5d3ea2e96 just move some functions around for readability 2014-08-23 15:56:09 +02:00
Davide Andreoli c7ae54df15 Add version info in the efl package.
Also removed the logger import in efl, not usefull and only create problems
2014-08-16 14:11:06 +02:00