Commit Graph

212 Commits

Author SHA1 Message Date
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
Kai Huuhko 94896f625d Complete renaming edbus -> eldbus. 2013-05-06 22:36:09 +03:00
Davide Andreoli 2b7a9c7030 Python-EFL: follow the eldbus rename. 2013-05-01 23:13:26 +02:00
Davide Andreoli cc65c1cf40 Python-EFL: unbreak compilation with cython 1.7.3 2013-05-01 22:57:01 +02:00
Kai Huuhko 5a1180d1a0 Elementary: Initial support for copy & paste. selection_get/set/clear
works with Entry and has a test, the generic drop_cb is unfinished and
untested.
2013-05-01 15:49:57 +00:00
Kai Huuhko c14ab47b09 Elementary: Add a few simple methods that were added to C API recently. 2013-05-01 15:49:57 +00:00
Kai Huuhko fa8e942762 Documentation: Position the widget example images so they are more
naturally in context with the description text.
2013-05-01 15:49:57 +00:00
Kai Huuhko 3072f93a83 Elementary: Add an incomplete scrolled entry test. Needs the filter cbs
implemented.
2013-05-01 15:45:26 +00:00
Kai Huuhko 6c89e84620 Elementary: Change the rest of the widgets to use the new item handling
style, and make the documentation more structured.
2013-05-01 15:45:26 +00:00
Kai Huuhko 63000ba25c Elementary: Add missing Illume command constant values to Window,
improve its documentation and silence some Cython warnings by making the
methods cpdef.
2013-05-01 15:25:19 +00:00
Kai Huuhko de6fd9f832 Elementary: Use genlist_item_class functions to manage the class struct,
improve item handling by using class attributes instead of the params
tuple.
2013-05-01 15:24:42 +00:00
Kai Huuhko d2a6f8a94c Elementary: Split genlist into more easily manageable files, it still
compiles into one module.
2013-05-01 15:24:42 +00:00
Kai Huuhko dc1a54dec3 Elementary: Improve Genlist documentation. 2013-05-01 15:24:42 +00:00
Kai Huuhko 94df82ad33 Eo: Python objects should not be manipulated in __cinit__ and
__dealloc__ methods. Initializing them *seems* to be safe though.

And there's no need to initialize either the C objects to NULL nor
python objects to None, this gets done automatically by Cython, along
with initializing integers to 0.
2013-05-01 15:24:42 +00:00
Kai Huuhko c9d3cc4536 Elementary: Fix the legacy genlist item factory functions that were
left broken in last pull/rebase/conflict resolution.
2013-05-01 15:24:42 +00:00
Kai Huuhko ab91f97961 Elementary: Add special methods that allow iterating natively over a Genlist
eg:

    for item in genlist:
        print(item)
2013-05-01 15:24:41 +00:00
Kai Huuhko d3cd5a4239 Eo: Add a boolean special method which does the same (opposite) as is_deleted().
Now you can write:

    if not my_obj:
        raise VeryBadError("My object is gone!")

and:

    if my_obj:
        my_obj.manipulate()

instead of:

    if my_obj.is_deleted()
        raise ErrorBadVery("Where did it go?")

and:

    if not my_obj.is_deleted():
        my_obj.manipulate()

But really, we should add NULL checks all over the place instead of
having the end developers checking for it.
2013-05-01 15:05:08 +00:00
Davide Andreoli 01663ecd99 Python-EFL: trivial docs change, be consistent with header types, no code changes 2013-05-01 14:34:45 +02:00