Commit Graph

229 Commits

Author SHA1 Message Date
Kai Huuhko 374f267ecc Fix missing symbol PyString_FromFormatV when compiled for Python 3.x.
That function was removed so I replaced it with PyUnicode_FromFormatV,
cdef extern it directly from Python.h since it's not found in Cython
unicode.pxd.
2013-10-25 13:49:29 +03:00
Kai Huuhko 3e99eb5fe9 Elementary: Document more scrollables 2013-10-25 03:13:46 +03:00
Kai Huuhko 3d85286336 Add arguments 'version' and 'message' to DEPRECATED decorator.
The decorator will automatically add a directive to the docstring and
log a message when the function is called.
2013-10-25 02:09:29 +03:00
Kai Huuhko 4771ca5ccb Move logger to its own module. 2013-10-24 22:58:09 +03:00
Kai Huuhko 8cbee5c44d Handle unknown domain messages in "efl" logger. 2013-10-23 21:49:56 +03:00
Kai Huuhko 7fbab02702 First attempt at integrating Eina Log with Python logging.
Has two loggers: efl and efl.eo.

To test, add handlers, formatters etc. and change levels using
normal Python logging utilities. The test messages come from
efl.eo init and class registration.
2013-10-23 14:34:42 +03:00
Kai Huuhko cd25ef3488 Partially revert "Elementary: Move private definitions inside the pyx files."
We can do this later, let's keep api_coverage.py working for now.

This reverts commit c96851c8f5.

Conflicts:
	efl/elementary/gengrid.pyx
	efl/elementary/genlist.pyx
	efl/elementary/object.pyx
	efl/elementary/scroller.pxd
	efl/elementary/scroller.pyx
2013-10-20 23:45:47 +03:00
Kai Huuhko b981ce3840 New feature: Set properties using constructor keyword arguments.
Only applied to Elm Bubble for now as an example.
2013-10-20 14:34:53 +03:00
Davide Andreoli 85ac116577 Python-EFL: unbreak the compilation with older cython. Kuuko: you win a spank this time :P 2013-10-14 21:30:49 +02:00
Kai Huuhko 87ee22d559 Elementary: DnD work
- Genlist default animation test functional
 - Some callbacks are still missing
2013-10-10 05:42:39 +03:00
Kai Huuhko 40d5c4250a utils.conversions: Initialize Eina_List to NULL 2013-10-09 17:04:16 +03:00
Kai Huuhko afe11df636 Elementary: Beginnings of Drag and Drop support, very much work in progress. 2013-10-08 17:13:32 +03:00
Kai Huuhko 6299a6c8ae Elementary: Make inheriting from scrollable a responsibility for the user. 2013-10-08 09:11:12 +03:00
Davide Andreoli feb9fb912c Python-EFL: unbreak the build with older Cython versions 2013-10-07 21:18:44 +02:00
Kai Huuhko c96851c8f5 Elementary: Move private definitions inside the pyx files.
Only share (in pxd-files) the definitions that are needed by other modules.

Removed widget_header.pxi to make cimports more obvious.
2013-10-07 08:31:30 +03:00
Kai Huuhko fa9e96dff9 Elementary: Add a test for Access.
Change internal only GenlistItem.itc to readonly item_class
2013-10-04 15:11:57 +03:00
Kai Huuhko 914c6ffd6b Elementary: Add various missing functions 2013-10-04 09:29:45 +03:00
Kai Huuhko 9413b157b9 Evas/Eo: Fix couple of crashes related to Canvas cb's and Eo 2013-10-03 06:19:04 +03:00
Kai Huuhko 9e1b6a676c Elementary.general: Enable functions that were previously problematic. 2013-10-03 00:30:23 +03:00
Kai Huuhko d4e5ea886c Elementary: Fix Gengrid item_cb crash 2013-10-02 23:38:31 +03:00
Kai Huuhko d430807974 Elementary: Add custom effects for transit. 2013-10-02 19:34:47 +03:00
Kai Huuhko 87e2e8f9a1 Elementary: Add more failsafes to transit del_cb 2013-10-02 07:22:20 +03:00
Kai Huuhko bef896b490 Elementary: Fix transit del_cb 2013-10-02 05:59:21 +03:00
Kai Huuhko 5f4a46da4b Move common conversion functions from efl.eo to efl.utils.conversions 2013-10-01 04:56:28 +03:00
Kai Huuhko 6587b5be67 Rename efl.pxd to efl.eina.pxd 2013-09-30 07:26:35 +03:00
Kai Huuhko a1d45bb167 Elementary: Few more missing functions. 2013-09-25 02:37:26 +03:00
Kai Huuhko f40afed56a Elementary: Add more missing signals/functions. 2013-09-24 01:02:01 +03:00
Kai Huuhko e3509d4dd8 Elementary: Add missing functions/signals 2013-09-22 21:16:31 +03:00
Kai Huuhko ac9b1bf001 Elementary: Add new thumb functions 2013-09-20 14:49:56 +03:00
Kai Huuhko 88db824a77 Change the _METHOD_DEPRECATED function into a decorator.
- move the decorator into a new package/module: utils/deprecated
 - simplify setup.py logic slightly, it still needs work
2013-09-20 12:01:50 +03:00
Davide Andreoli f8c332d636 Python-EFL: add support for the "recording" style of ProgressBar 2013-09-16 21:10:45 +02:00
Davide Andreoli bac6d9a281 Python-EFL: warn the user when try to use the subprocess or the signal modules, as they conflict with ecore 2013-09-15 17:53:21 +02:00
Kai Huuhko da71cedc0a Documentation: Remove class- prefix from ecore doc files 2013-09-14 15:01:01 +03:00
Kai Huuhko 158567f5d5 Elementary Fileselector: Add mime type filter methods 2013-09-14 12:36:18 +03:00
Davide Andreoli 6873820e95 PythonEFL: implemented some missed apis in edje 2013-08-19 20:49:18 +02:00
Davide Andreoli 7fefb7beef PythonEFL: implemented emotion vis stuff
Untested as probably no backend implement the feature,
but now emotion has 100% coverage :)
2013-08-19 19:37:55 +02:00
Davide Andreoli d53b481d4d PythonEFL: emotion_extension_may_play_get() does not need an obj instance, moved out of the Emotion class. 2013-08-19 12:56:22 +02:00
Davide Andreoli 7925fc7056 Python-EFL: some works on the photocam widget
* implemented a proper test
* implemented remote url feature
* fixed file_set error raise
* implemented all the missing legacy setter/getters
2013-08-12 20:56:45 +02:00
Davide Andreoli 66e7f00308 PythonEFL: change the way progressbar pulse mode work.
Prior to this commit you enable (and start) the pulsing animation by doing:
pb.pulse = True
pb.pulse(True)

Now you need to use the less-confusing syntax:
pb.pulse_mode = True
pb.pulse(True)

Sorry for braking the API but was really confusing before.
2013-08-12 16:50:50 +02:00
Davide Andreoli c1298443b3 PythonEFL: add support in Image for urls and a new test for the Image widget 2013-08-12 15:32:33 +02:00
Davide Andreoli 0fe8211593 PythonEFL: do not ignore exceptions in Timer/Animator/Poller/Idlers callbacks 2013-08-11 11:20:26 +02:00
Kai Huuhko 8b58ef24ea Documentation formatting fixes. 2013-08-10 08:34:46 +03:00
Kai Huuhko 606bf8694d elementary ObjectItem: Handle the case where an Elm_Object_Item was
created in the C library code, thus not containing the Python object
within it's data.

Fixes phab T268

Reported by: grapemix (Kingston Fung)
2013-08-02 13:16:40 +00:00
Kai Huuhko 0fc1e2bd98 Evas: Remove the unnecessary value assignments for enums. 2013-05-30 16:53:35 +03:00
Davide Andreoli 9ecda02403 Python-EFL: be consistent in file naming 2013-05-29 22:34:39 +02:00
Davide Andreoli fd131a2b69 Python-EFL: @on_event(event_name) decorator for Emotion 2013-05-14 23:13:26 +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)
@message_handler
@on_text_change

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 1c255024d3 Python-EFL: implemented ecore.Poller, with docs and unittest. 2013-05-13 01:27:00 +02:00
Davide Andreoli fcac9e23ad Python-EFL: docs for ecore.FileMonitor 2013-05-12 20:08:31 +02:00
Davide Andreoli 39e16242a0 Python-EFL: implemented ecore.FileMonitor class 2013-05-12 19:15:09 +02:00