Commit Graph

29 Commits

Author SHA1 Message Date
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
Davide Andreoli dd3bc98c93 Python-EFL: add API Label.slide_speed. With tests 2014-02-23 16:29:31 +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 7344ad361f API review: Documented changes, corrected str repr, clean up. 2013-12-07 08:09:04 +02:00
Kai Huuhko f946d87318 Documentation: Add sphinx directives for added/changed/deprecated stuff. 2013-12-06 17:39:13 +02:00
Kai Huuhko 647e0523e4 Documentation: Fix more invalid references. 2013-12-04 01:24:31 +02:00
Kai Huuhko 0e21d6bfac Doc: Fix many duplicate/missing label warnings and other issues. 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 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 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 f40afed56a Elementary: Add more missing signals/functions. 2013-09-24 01:02:01 +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
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 f38a3145d1 Silence some compiler warnings. 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 823363c6eb Elementary: Improve documentation for Window, Entry, Hoversel, Label,
List, Datetime and Dayselector.
2013-04-22 20:12:27 +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 4d9c1c929a Handle exceptions in eo cdef functions, don't expose _METHOD_DEPRECATED
to Python API needlesly, add some code optimizations and TODOs.
2013-03-28 16:54:51 +00:00
Davide Andreoli 1e953366b5 PythonEFL:
* put _METHOD_DEPRECATED in eo
 * new slide_mode prop for Label, and deprecate the old one
 * updated label test to use new slide_mode prop



SVN revision: 84069
2013-02-18 22:20:09 +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