Commit Graph

175 Commits

Author SHA1 Message Date
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
Kai Huuhko e0e2cb81ce Elementary: Fix Toolbar states. 2013-04-22 20:20:21 +03:00
Kai Huuhko 724b999095 Ecore: Optimizations. 2013-04-22 20:20:21 +03:00
Kai Huuhko f38a3145d1 Silence some compiler warnings. 2013-04-22 20:20:21 +03:00
Kai Huuhko 15bb88021c Elementary: Improve Image documentation. 2013-04-22 20:20:21 +03:00
Kai Huuhko fd7322fcda Disallow instantiating the base object classes. 2013-04-22 20:20:21 +03:00
Kai Huuhko 4f8256a793 Elementary: Add the new translatable text functions. 2013-04-22 20:20:21 +03:00
Kai Huuhko 9bdd51215b Elementary: Add Flip.go_to() and improve documentation. 2013-04-22 20:20:21 +03:00
Kai Huuhko 0c9f6c7590 Elementary: Add Calendar.marks (get/del only) and improve documentation. 2013-04-22 20:20:21 +03:00
Kai Huuhko e5e82619d5 Elementary: Add trivial methods/properties to label/mbentry/notify. 2013-04-22 20:20:21 +03:00
Kai Huuhko 41ade8572d Elementary: Add Entry context item properties label and icon. 2013-04-22 20:20:21 +03:00
Kai Huuhko 0d63acbee9 Elementary: Implement Accessible objects, with cbs TODO later. 2013-04-22 20:20:21 +03:00
Kai Huuhko aa76bc30c1 Elementary: Implement Toolbar prepend etc. methods by changing the
item handling to same style as List.
2013-04-22 20:20:21 +03:00
Kai Huuhko e164c111a2 Elementary: Implement Toolbar item states, which create an issue with
the item data making the item_del_cb crash.
2013-04-22 20:20:21 +03:00
Kai Huuhko 4ded23ad3b Elementary: Implement Transit del_cb and add tests, which uncovered issues. 2013-04-22 20:20:21 +03:00
Kai Huuhko b3b87fe928 Ecore: Small optimization to the task_cb function call. 2013-04-22 20:20:20 +03:00
Kai Huuhko 898f32371a Sed to the rescue. 2013-04-22 20:20:20 +03:00
Kai Huuhko 2f0c2dc6d7 Eo: Apparently Cython doesn't optimize .encode() so we should begin
exchanging it with the C function call PyUnicode_AsUTF8String.
2013-04-22 20:20:20 +03:00
Kai Huuhko 058777167c Elementary: Separate GenlistItem func_data from item_data, add small
optimizations.
2013-04-22 20:20:20 +03:00
Kai Huuhko 285856ea03 Elementary: Initial implementation for Store. Still needs work on
creating the data struct, maybe using memoryviews.

Includes some internal changes for Genlist.
2013-04-22 20:12:28 +03:00
Kai Huuhko 8033275e70 Elementary: Fix coords_finger_size_adjust and add commented out code for fonts.
Need to find out why they're generating a parsing error in Cython.
2013-04-22 20:12:28 +03:00
Kai Huuhko 2f7030d5bb Elementary: Complete LayoutClass API, add some missing API to Object. 2013-04-22 20:12:28 +03:00
Kai Huuhko b9b13d0495 Elementary: Comment out the unimplemented Progressbar format function property. 2013-04-22 20:12:28 +03:00
Kai Huuhko cdfa89f8cb Elementary: Implement adding context menu items for Entry. 2013-04-22 20:12:28 +03:00
Kai Huuhko 4a008cac7f Elementary: Improve documentation for Slider, Slideshow and Spinner. 2013-04-22 20:12:28 +03:00
Kai Huuhko 19a2aaf70c Elementary: Add decorate mode tests for Genlist. 2013-04-22 20:12:28 +03:00
Kai Huuhko 531b4ea3ac Elementary: Fix Toolbar menu_get and make the example/test more pythonic. 2013-04-22 20:12:28 +03:00
Kai Huuhko 491400b100 Elementary: Free Configuration profiles list after converting it to
python list.
2013-04-22 20:12:28 +03:00
Kai Huuhko df1eecb4a0 Elementary: Add missing callbacks for Window, and change socket_listen
to raise RuntimeError instead of returning in case of error.
2013-04-22 20:12:28 +03:00
Kai Huuhko aa1828d668 Elementary: Change GenlistItem constructor documentation to reflect the
current implementation. It should be changed if item_data is to be
separated from func_data.
2013-04-22 20:12:28 +03:00
Kai Huuhko e0dcf5542f Elementary: Add initial commented out code for copy&paste. 2013-04-22 20:12:28 +03:00
Kai Huuhko 259c78d8b2 Elementary: Comment out quicklaunch defines and add them to ignores. 2013-04-22 20:12:27 +03:00
Kai Huuhko b598049b36 Elementary: Add missing API for Index and Scroller. 2013-04-22 20:12:27 +03:00
Kai Huuhko 876e7c3c4c Elementary: Fix segment control segfault. 2013-04-22 20:12:27 +03:00
Kai Huuhko 40e76e001a Evas: Add Grid. 2013-04-22 20:12:27 +03:00
Kai Huuhko 77ed60ae26 Evas: Add some missing API to Object. 2013-04-22 20:12:27 +03:00
Kai Huuhko 10635266ff Evas: Add Table. 2013-04-22 20:12:27 +03:00
Kai Huuhko a640785a60 Elementary: Add some missing API to Transit. 2013-04-22 20:12:27 +03:00