Commit Graph

452 Commits

Author SHA1 Message Date
Davide Andreoli b3f6da16f2 Fix elm.ObjectItem.part_content_set() to accept a generic EvasObject.
...not only an elm object.
2014-12-03 21:13:06 +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 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
Davide Andreoli 9a78c4e22d Expose object_from_instance and the inverse to other C code
This create the efl.eo_api.h file that you can copy to your source if you want to use the exported api
2014-08-16 12:33:29 +02:00
Davide Andreoli 042dc0f835 emotion: implemented missed smart signals 2014-08-11 23:30:46 +02:00
Davide Andreoli 0567c52013 Fix emotion.__repr__ function
self.type_get() is not a function, dunno what was the intention here
2014-08-04 17:24:05 +02:00
Davide Andreoli a4d321dacc Gengrid: new property reorder_type, with test for reorder mode 2014-08-01 18:14:55 +02:00
Davide Andreoli f5dd70b70f Gengrid: implemented search_by_text_item_get(), with a proper test 2014-08-01 17:31:09 +02:00
Davide Andreoli d8174aea3d Genlist: implemented search_by_text_item_get(), with a proper test 2014-08-01 16:31:24 +02:00
Davide Andreoli 401145f4fa Toolbar: new un/selected signals, with tests 2014-08-01 13:35:50 +02:00
Davide Andreoli a97e61dd4f Ctxpopup: new getters for items and the item_prepend method, with tests 2014-07-31 22:18:41 +02:00
Davide Andreoli 5aa12930a1 Implemented missed ecore.x screensaver functions 2014-07-31 21:23:35 +02:00
Davide Andreoli 1af5adb8cd Panes: new content_[left/right]_min_[relative]_size properties 2014-07-31 17:01:53 +02:00
Davide Andreoli f9247fa99f New Map function: region_zoom_bring_in 2014-07-31 16:11:26 +02:00
Kai Huuhko bb77d08ed9 Elementary: Fix object item tooltips
It would be an ABI breakage if the tooltips had ever worked in
the first place but apparently they never did.
2014-07-01 20:41:47 +03:00
Davide Andreoli 2a303f29e1 Follow recent Eo class names changes 2014-06-30 20:52:36 +02:00
Kai Huuhko a0ecc41572 Elementary.entry: Fix ref leak in filter callback handling. 2014-06-05 18:16:14 +03:00
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
Kai Huuhko 5045352434 Evas: Add NULL safety to SmartObject callbacks, exposes a BUG
Apparently the Python instance gets deleted before the smart hide/del
callbacks are called (by eo callback?).
2014-06-02 09:18:01 +03:00
Kai Huuhko 59f2835f53 Elementary.multibuttonentry: Inject a Python object to created items 2014-06-01 17:43:11 +03:00
Kai Huuhko 4f702bc04d Documentation: warnings-- 2014-06-01 16:35:38 +03:00
Kai Huuhko 4639836d3e warnings-- 2014-06-01 15:37:41 +03:00
Kai Huuhko be6bd076b2 Elementary.general: Fix docs 2014-05-29 02:24:56 +03:00
Kai Huuhko 045f45bfb7 Ecore: Add missing event return value "constants" 2014-05-29 01:27:19 +03:00
Kai Huuhko ab0e868a39 Elementary.general: Add sys_notify. NEEDS TESTING 2014-05-28 03:38:28 +03:00
Kai Huuhko 3f5a1a7d79 Elementary.gengrid: Add missing API 2014-05-28 02:13:47 +03:00
Kai Huuhko 71456d0d62 Elementary.configuration: Add missing properties 2014-05-28 00:25:55 +03:00
Kai Huuhko c5f91c4a8c Ecore: Small corrections the string representation functions of Exe 2014-05-27 23:24:53 +03:00
Davide Andreoli ed7ba20583 New Configuration.color_class_* functions and props. 2014-05-27 21:55:12 +02:00