Commit Graph

30 Commits

Author SHA1 Message Date
Davide Andreoli a97e61dd4f Ctxpopup: new getters for items and the item_prepend method, with tests 2014-07-31 22:18:41 +02:00
Davide Andreoli 2e6aba5cac follow classes name change in Eo2 2014-04-22 20:11:36 +02: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 65f43c5bee Python-EFL: New 1.9 API: Ctxpopup.auto_hide_disabled 2014-02-27 22:58:06 +01:00
Kai Huuhko d62af53016 Documentation: Add missed versionadded entries, fix formatting. 2013-12-22 10:27:17 +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 f946d87318 Documentation: Add sphinx directives for added/changed/deprecated stuff. 2013-12-06 17:39:13 +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 4e4b8e2fea Documentation: Fix invalid references and minor issues. 2013-12-05 08:48:34 +02:00
Kai Huuhko 4c9ab89426 Documentation: Fixed invalid references and other misc. issues. 2013-12-03 21:56:47 +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 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 e3509d4dd8 Elementary: Add missing functions/signals 2013-09-22 21:16:31 +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 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 bd1dd50bc6 Elm: First batch of _cfruni extermination 2013-04-02 11:37:02 +00:00
Kai Huuhko 5a37efe711 python-efl: More clean up after the merge.
SVN revision: 84266
2013-02-20 21:30:18 +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