Commit Graph

35 Commits

Author SHA1 Message Date
Kai Huuhko 59f2835f53 Elementary.multibuttonentry: Inject a Python object to created items 2014-06-01 17:43:11 +03:00
Davide Andreoli 2e6aba5cac follow classes name change in Eo2 2014-04-22 20:11:36 +02: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
Davide Andreoli b3eef73b0e s/2013/2014/g 2014-04-14 22:21:03 +02:00
Kai Huuhko d65101b24b Code cleanup: Unused/misplaced cimports 2014-04-14 00:51:19 +03: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
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
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
Kai Huuhko d62af53016 Documentation: Add missed versionadded entries, fix formatting. 2013-12-22 10:27:17 +02:00
Kai Huuhko 6db1f9d0d6 Use uintptr_t instead of long or unsigned long for handling pointers. 2013-12-15 15:08:57 +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
Kai Huuhko 7344ad361f API review: Documented changes, corrected str repr, clean up. 2013-12-07 08:09:04 +02:00
Kai Huuhko 43f961d04a Elementary: Increase similarity of widget items.
_set_properties_from_keyword_args is now used in all items.

A RuntimeError is raised when adding an item to a widget fails.
2013-12-06 06:42:53 +02:00
Kai Huuhko 2231ce4f13 Elementary: New dispatcher for object item selection callbacks.
This is cleaner and allows us to use properties_from_kwargs,
and should have better forward compatibility by allowing more
positional arguments to be added as *args is now unused.
2013-11-19 21:21:03 +02:00
Kai Huuhko d623a30032 Follow Eo class name changes.
See commits c7addf40839c85cf2568f322a34220e8082d26f0 and
7b10fdb8f39c3b36f575dd22d26a1efe6ecd28ec
2013-11-07 16:45:02 +02:00
Kai Huuhko 41f0aeff67 Reduce usage of cpdef.
It was intended to make things easier but created problems with
inheritance and Evas SmartObject object customization.
2013-11-05 03:18:36 +02:00
Kai Huuhko fd8159d4ec Elementary.mbe: Remove commented out code, comment out an unimplemented method. 2013-10-30 11:30:35 +02:00
Kai Huuhko ada7a8c07e Elementary: Add some TODO code comments 2013-10-29 12:36:08 +02:00
Kai Huuhko 2dca18ab08 Elementary: Add more _set_properties_from_keyword_args 2013-10-25 17:45:15 +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 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 6587b5be67 Rename efl.pxd to efl.eina.pxd 2013-09-30 07:26:35 +03:00
Kai Huuhko f40afed56a Elementary: Add more missing signals/functions. 2013-09-24 01:02:01 +03: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 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
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 e5e82619d5 Elementary: Add trivial methods/properties to label/mbentry/notify. 2013-04-22 20:20:21 +03:00
Kai Huuhko 898f32371a Sed to the rescue. 2013-04-22 20:20:20 +03:00
Davide Andreoli fbc08db927 Python-EFL: images and initial rubric for all the widgets. 2013-04-04 17:00:45 +02:00
Kai Huuhko ed1cad63f6 Elm: More _cfruni removal. 2013-04-02 23:24:35 +00:00
Kai Huuhko 37aba43fb1 python-efl: Copy over the experimental work on py-elm from my github repo:
- split modules, cuts down development time
 - Sphinx documentation
 - new work flow for list type widgets while keeping compatibility with the old one
 - input events now have functional propagation and support for mouse wheel events
 - assorted fixes



SVN revision: 84027
2013-02-17 19:35:20 +00:00