Commit Graph

463 Commits

Author SHA1 Message Date
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
Davide Andreoli cfc20537e9 New Config.focus_autoscroll_mode property 2014-05-19 20:55:53 +02:00
Davide Andreoli ecd70f7d81 Add new Object.scroll_item_loop_enabled property 2014-05-19 19:57:29 +02:00
Kai Huuhko 7b6732f2ab Elementary.object_item: Rename conflicting API from previous commit 2014-05-17 20:19:51 +03:00
Kai Huuhko 2788035e88 Elementary.object_item: Add missing API 2014-05-17 18:30:14 +03:00
Kai Huuhko f54ffc7621 ecore.x: Fix unicode handling 2014-05-16 15:00:55 +03:00
Kai Huuhko b6f2a6822f efl.ecore.x: Unicode handling 2014-05-14 07:01:57 +03:00
Kai Huuhko 5903c8a936 efl.ecore.x: Add keyboard_grab/ungrab 2014-05-13 22:21:53 +03:00
Kai Huuhko 1466ea7207 efl.ecore: Return of ecore.x (from python-ecore)
Made some corrections to make it compile and fixed doc formatting.
2014-05-13 17:59:48 +03:00
Kai Huuhko d98cd27107 efl.ecore: Transform into a package
The old efl.ecore.so module renamed to __init__.so which gets
automatically used for the package namespace when there is an empty
__init__.py included.
2014-05-13 15:12:38 +03:00
Davide Andreoli 3286e32eda Revert "Added Gengrid.focus_direction_allow property"
This reverts commit 8886d93519.

This was reverted from elm itself
2014-05-10 19:27:09 +02:00
Davide Andreoli 8886d93519 Added Gengrid.focus_direction_allow property 2014-05-10 19:15:56 +02:00
Davide Andreoli 209d232836 Added evas_font_path_global_* API 2014-05-10 18:52:09 +02:00
Davide Andreoli a7d635e2e5 Added new Config.accel_preference property 2014-05-10 18:33:58 +02:00
Kai Huuhko 4be0d71c70 Elementary.layout: Fix signal callbacks 2014-05-09 03:45:52 +03:00
Davide Andreoli 0281efaa87 New Gengrid reorder_mode functions and signals. 2014-05-05 20:58:04 +02:00
Davide Andreoli e38dfdbd89 Added missed enums for the Entry widget 2014-05-05 20:30:00 +02:00
Davide Andreoli 4ebae921e7 Whoops2: Configuration.item_focus_on_selection was renamed to item_select_on_focus_disabled 2014-05-04 16:10:12 +02:00
Davide Andreoli b2d64ba741 whops, wrong property name 2014-05-04 15:54:53 +02:00
Davide Andreoli f8e8710412 New Configuration properties.
* Configuration.focus_highlight_clip_disabled
* Configuration.focus_move_policy
* Configuration.focus_on_selection
2014-05-04 15:52:53 +02:00
Davide Andreoli 755f7b7b21 New item,focused/unfocused signals for the Toolbar widget 2014-05-04 12:41:39 +02:00
Davide Andreoli 197f8d7040 New item,focused/unfocused signals for the GenGrid widget 2014-05-04 12:28:57 +02:00
Davide Andreoli 81289ddfa9 New item,focused/unfocused signals for the GenList widget 2014-05-04 12:20:20 +02:00
Davide Andreoli 8b9e5901a3 New item,focused/unfocused signals for the List widget
Plus:
* Object.focused_item
* ObjectItem.focus
2014-05-04 12:09:20 +02:00
Davide Andreoli bc32229756 New item,focused/unfocused signals for the Popup widget 2014-05-02 20:26:36 +02:00
Davide Andreoli 10d3b696c4 New item,focused/unfocused signals for the Hoversel widget 2014-05-02 20:02:03 +02:00
Kai Huuhko 56b87e0956 elementary.toolbar: Add a hack for the property "menu" 2014-05-01 19:29:34 +03:00
Davide Andreoli 7d5c2082bb docs: better (I hope) structure for ecore 2014-04-22 20:50:41 +02:00
Davide Andreoli 2e6aba5cac follow classes name change in Eo2 2014-04-22 20:11:36 +02:00
Kai Huuhko 397aabf3a4 Code cleanup: Use line comments to disable code, not docstrings 2014-04-15 22:20:01 +03:00
Kai Huuhko 0ce26275fe Elementary.separator: Corrected type of the property 'horizontal' 2014-04-15 21:48:45 +03:00
Kai Huuhko 6baa292951 Code cleanup: Remove unused exception instances
This also gets rid of the old style syntax.
2014-04-15 20:49:06 +03:00
Kai Huuhko 5fcc33b17a Code cleanup: More print statements => functions 2014-04-15 16:17:44 +03:00
Kai Huuhko 286fd64489 Code cleanup: Single-quoted docstrings
Triple double-quotes should be used for docstrings
2014-04-14 23:39:59 +03:00
Kai Huuhko 8109cd62b4 Code cleanup: Spelling and grammar fixes 2014-04-14 23:39:59 +03:00
Davide Andreoli b3eef73b0e s/2013/2014/g 2014-04-14 22:21:03 +02: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 ae64f89ab5 Code cleanup: Trailing semicolon in the statement 2014-04-14 01:46:39 +03:00
Kai Huuhko 186e9f8c84 Code cleanup: Simplify chained comparison 2014-04-14 01:40:22 +03:00
Kai Huuhko 6fc195858e Code cleanup: Assignment can be replaced with augmented assignment 2014-04-14 01:40:22 +03:00
Kai Huuhko 2c6f7253bb Code cleanup: Dictionary creation could be rewritten as a dictionary literal 2014-04-14 01:12:49 +03:00
Kai Huuhko d65101b24b Code cleanup: Unused/misplaced cimports 2014-04-14 00:51:19 +03:00
Kai Huuhko f169d4650d Ethumb: Correct the string representation functions. 2014-04-11 18:46:12 +03:00
Kai Huuhko c342feab6f Ethumb: Adjust file headers to the new merged python-efl style. 2014-04-11 18:28:42 +03:00
Kai Huuhko 6ebdf2b607 Bring back Python bindings for Ethumb. 2014-04-11 18:12:49 +03:00
Kai Huuhko 8cc17b5777 Elementary: const'ness for getters 2014-04-09 18:25:48 +03:00
Davide Andreoli beff74c28a added docs for Eo 2014-04-06 23:36:05 +02:00
Kai Huuhko d6dc3a2045 Revert "Remove Python -> C string hacks"
A quote from Cython documentation:

"The other direction, i.e. automatic encoding to C strings, is only supported
for the ASCII codec (and the “default encoding”, which is runtime specific
and may or may not be ASCII). This is because CPython handles the memory
management in this case by keeping an encoded copy of the string alive
together with the original unicode string. Otherwise, there would be no way
to limit the lifetime of the encoded string in any sensible way, thus
rendering any attempt to extract a C string pointer from it a dangerous
endeavour."

Cython plays it safe and we can't live with ASCII-only; reverting to
our earlier "hacks" for string conversion.

This reverts commit b547ff2aa2.

Conflicts:
	efl/elementary/entry.pyx
	efl/elementary/object.pyx
2014-04-06 23:48:16 +03:00
Davide Andreoli 9cb0bbaf8b docs: remove the signatures from the docstring, are now autimatically added by cython 2014-04-06 18:38:54 +02:00
Davide Andreoli 5c3ced421c docs: remove the signatures from the docstring, are now autimatically added by cython 2014-04-06 17:03:58 +02:00
Kai Huuhko b547ff2aa2 Remove Python -> C string hacks 2014-04-06 01:50:29 +03:00
Kai Huuhko 78442b6e9d Follow Eolian wrt. widget naming 2014-04-05 06:53:56 +03:00
Kai Huuhko adf70fa26f Remove const hacks
They were a workaround for limitations in Cython <0.18
2014-04-05 03:13:15 +03:00
Kai Huuhko 28d1906c05 Elementary.thumb: Add missing enums. 2014-03-27 11:35:41 +02:00
Davide Andreoli ec71e46441 Python-EFL: new 1.9 API : Win.wm_rotation_* functions and properties
NOTE: all this is UNTESTED as I do not have a rotating WM
2014-03-01 19:35:40 +01:00
Davide Andreoli 2751ef6025 Python-ELF: new 1.9 API for GenlistItem 2014-03-01 18:24:23 +01:00
Davide Andreoli 00118986e6 Python-EFL: New 1.9 API: Object.focus_highlight_style 2014-03-01 17:59:03 +01:00
Davide Andreoli de154b7930 Python-EFL: New 1.9 API: Naviframe.title_enabled (title_visible deprecated) 2014-03-01 16:35:20 +01:00
Davide Andreoli 9f6cf51f80 Python-EFL: new 1.9 API: Layout.content_swallow_list_get() 2014-03-01 14:23:42 +01:00
Davide Andreoli 65f43c5bee Python-EFL: New 1.9 API: Ctxpopup.auto_hide_disabled 2014-02-27 22:58:06 +01:00
Davide Andreoli b04147b5f3 Python-EFL: whoops, fix last commit to work with py3 2014-02-27 22:48:22 +01:00
Davide Andreoli 32448918f6 Python-EFL: new 1.9 API Multibuttonentry.format_function_set()
Sadly this add 2 new points of reference leaks :(
2014-02-27 22:38:04 +01:00
Davide Andreoli c2a34f20ad Python-EFL: Colorselector new 1.9 API 2014-02-27 20:52:10 +01:00
Davide Andreoli 1bfb4d8922 Python-EFL: added 1.9 API: Colorselector.palette_items_get() 2014-02-26 23:20:04 +01:00
Davide Andreoli ad592d50aa Python-EFL: fix Fileselector.mime_types_filter_append() to work with py3 2014-02-26 21:43:31 +01:00
Davide Andreoli 684aee077e Python-EFL: Fileselector 1,9 API additions.
* added property thumbnail_size
* added function custom_filter_append
* splitted the 3 tests in 3 different files
* test rewritten to better match the C one.

NOTE: custom_filter_append is leaking...need to find a proper way to unref
          Added a note in the TODO for this issue.
2014-02-26 21:37:04 +01:00
Davide Andreoli dd3bc98c93 Python-EFL: add API Label.slide_speed. With tests 2014-02-23 16:29:31 +01:00
Davide Andreoli d38a979e73 Python-EFL: added elm_win_type_get() 2014-02-23 15:58:45 +01:00
Davide Andreoli 740ff9a009 Python-EFL: added Entry API: select_region_set(start, end) 2014-02-23 15:43:15 +01:00
Davide Andreoli 166193b716 Python-EFL: new Entry input panel on demand API.
* add property: Entry.input_panel_show_on_demand
2014-02-23 14:52:25 +01:00
Davide Andreoli dd6499eb60 Python-EFL: new Entry signal: rejected 2014-02-23 14:35:12 +01:00
Davide Andreoli af2e379e05 Python-EFL: new hoversel signal: expanded 2014-02-23 14:28:49 +01:00
Davide Andreoli 04734af9f4 Python-EFL: added new tooltip movement freeze API
* tooltip_move_freeze_push()
* tooltip_move_freeze_pop()
* tooltip_move_freeze_get()
2014-02-23 14:18:19 +01:00
Kai Huuhko 23d221ef8a Elementary: Follow changes wrt. fileselector interface 2014-01-25 03:53:57 +02:00
Kai Huuhko a85177bc4b utils.deprecated: Handle docstring indentation when modifying it. 2014-01-25 03:51:55 +02:00
Kai Huuhko b21fde2ba7 Silence warnings in Cython 0.20 2014-01-24 22:52:34 +02:00
Davide Andreoli 445211f369 add new Mapbuf.point_color_set/get functions (since 1.9) 2014-01-08 22:48:27 +01:00
Davide Andreoli bd063f0ece add new Filesector.sort_method property (since 1.9) 2014-01-08 22:06:29 +01:00
Davide Andreoli fdb66d75e6 add new Clock.pause property (since 1.9) 2014-01-08 21:17:57 +01:00
Davide Andreoli cabc442195 Try to fix evas SmartObject
* implemented a test for smart obj
* remove comments from factories methods
* install the metaclass also for the Clipped one

Smart object implementation is still broken :(
Every object segfault on delete, the reason is
the eo del callback called BEFORE the smart
delete function. need to investigate better.
2014-01-06 12:40:59 +01:00
Kai Huuhko 264491875d Edje: Re-enable edje-edit. 2013-12-30 14:04:57 +02:00
Kai Huuhko a9a944b17b Add Python 2.6 compatibility, disabled one API method in evas.Image
Image.image_data_memoryview_get was disabled.

This method can be added back once we figure out how to do conditional
compilation using Python version.

Using an evas.Image instance as a memoryview object should do the same
thing as the disabled method.
2013-12-28 18:35:39 +02:00
Kai Huuhko f4ec2ed959 Elementary: Add missing smart callbacks. 2013-12-22 10:29:10 +02:00
Kai Huuhko d62af53016 Documentation: Add missed versionadded entries, fix formatting. 2013-12-22 10:27:17 +02:00
Davide Andreoli 9089706286 Python-EFL: 5 new tests about Focus.
Also add some missed values to Elm_Object_Focus_Direction enum.
2013-12-16 21:42:27 +01:00
Kai Huuhko 6db1f9d0d6 Use uintptr_t instead of long or unsigned long for handling pointers. 2013-12-15 15:08:57 +02:00
Kai Huuhko 96c720fae7 Elementary.web: updates to work with the new webkit-efl snapshot.
Commented out tab_propagate which doesn't seem to be implemented in
ewebkit2, and uncommented load finished signal.
2013-12-12 21:35:15 +02:00
Kai Huuhko 438c10f2cc Elementary.general: Add missing enums that were documented but not added. 2013-12-10 06:55:36 +02:00
Davide Andreoli 74244a5ac7 Python-EFL: fix the mess with the lgpl version.
Elm was lgpl3, COPYING was lgpl3, docs say lgpl3. So fix everything to be v3.
Also fix the COPING for Lesser: we must include gpl (in COPYING) AND lgpl (in COPYING.LESSER).
2013-12-07 17:54:58 +01:00