Commit Graph

614 Commits

Author SHA1 Message Date
Davide Andreoli 81289ddfa9 New item,focused/unfocused signals for the GenList widget 2014-05-04 12:20:20 +02:00
Davide Andreoli 8b9e5901a3 New item,focused/unfocused signals for the List widget
Plus:
* Object.focused_item
* ObjectItem.focus
2014-05-04 12:09:20 +02:00
Davide Andreoli bc32229756 New item,focused/unfocused signals for the Popup widget 2014-05-02 20:26:36 +02:00
Davide Andreoli 10d3b696c4 New item,focused/unfocused signals for the Hoversel widget 2014-05-02 20:02:03 +02:00
Kai Huuhko 56b87e0956 elementary.toolbar: Add a hack for the property "menu" 2014-05-01 19:29:34 +03:00
Kai Huuhko 927320a247 setup.py: Add env variable USE_CYTHON for compilation from pyx sources
pyx source files are now used only when USE_CYTHON is set to 1 or the
C source files have not yet been pre-compiled.

Only efl.eo.c is checked for this so if you cancel an initial build make
sure to enable USE_CYTHON when re-starting the build.

The pyx sources will now be included in the source tarball.
2014-04-30 19:14:02 +03:00
Kai Huuhko 7f0dba10c7 README.rst: Fix header formatting 2014-04-29 12:39:00 +03:00
Kai Huuhko 220215dbe6 Add .rst file suffix to README so it gets formatted on cgit about page 2014-04-29 12:26:32 +03:00
Kai Huuhko fdfa113926 setup.py: pep-8 cleanup 2014-04-29 12:20:33 +03:00
Kai Huuhko 69345c82d6 api_coverage.py: Only consider legacy header files for API comparison 2014-04-29 12:19:14 +03:00
Davide Andreoli 7d5c2082bb docs: better (I hope) structure for ecore 2014-04-22 20:50:41 +02:00
Davide Andreoli 2e6aba5cac follow classes name change in Eo2 2014-04-22 20:11:36 +02:00
Kai Huuhko 339b87ab87 setup.py: Fall back to a relaxed check for Cython version
If StrictVersion doesn't understand the version string we
fall back to LooseVersion. This should work with version strings
such as 0.20.1post0
2014-04-18 01:43:18 +03:00
Kai Huuhko 397aabf3a4 Code cleanup: Use line comments to disable code, not docstrings 2014-04-15 22:20:01 +03:00
Kai Huuhko 0ce26275fe Elementary.separator: Corrected type of the property 'horizontal' 2014-04-15 21:48:45 +03:00
Kai Huuhko 451d49d731 Examples: Fixed elm.popup duplicate function names 2014-04-15 21:43:32 +03: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
Kai Huuhko 5fcc33b17a Code cleanup: More print statements => functions 2014-04-15 16:17:44 +03:00
Kai Huuhko 286fd64489 Code cleanup: Single-quoted docstrings
Triple double-quotes should be used for docstrings
2014-04-14 23:39:59 +03:00
Kai Huuhko 8109cd62b4 Code cleanup: Spelling and grammar fixes 2014-04-14 23:39:59 +03:00
Davide Andreoli b3eef73b0e s/2013/2014/g 2014-04-14 22:21:03 +02:00
Davide Andreoli cc02387266 Adjust the bindings to work with Eo2 2014-04-14 21:41:38 +02:00
Kai Huuhko 6408f8d318 Code cleanup: Print statements => functions 2014-04-14 02:32:16 +03:00
Kai Huuhko ae64f89ab5 Code cleanup: Trailing semicolon in the statement 2014-04-14 01:46:39 +03:00
Kai Huuhko 80f5bb3fa7 Code cleanup: List creation could be rewritten as a list literal 2014-04-14 01:40:22 +03:00
Kai Huuhko 186e9f8c84 Code cleanup: Simplify chained comparison 2014-04-14 01:40:22 +03:00
Kai Huuhko 6fc195858e Code cleanup: Assignment can be replaced with augmented assignment 2014-04-14 01:40:22 +03:00
Kai Huuhko cd5f897bbf Code cleanup: Inconsistent indentation 2014-04-14 01:40:21 +03:00
Kai Huuhko 2c6f7253bb Code cleanup: Dictionary creation could be rewritten as a dictionary literal 2014-04-14 01:12:49 +03:00
Kai Huuhko d65101b24b Code cleanup: Unused/misplaced cimports 2014-04-14 00:51:19 +03:00
Davide Andreoli 929812e39e docs: try a different structure for Eo 2014-04-13 12:11:50 +02:00
Kai Huuhko f169d4650d Ethumb: Correct the string representation functions. 2014-04-11 18:46:12 +03:00
Kai Huuhko c342feab6f Ethumb: Adjust file headers to the new merged python-efl style. 2014-04-11 18:28:42 +03:00
Kai Huuhko 6ebdf2b607 Bring back Python bindings for Ethumb. 2014-04-11 18:12:49 +03:00
Kai Huuhko 8cc17b5777 Elementary: const'ness for getters 2014-04-09 18:25:48 +03:00
Kai Huuhko 62e13d7c5c setup.py: Make the gcc include paths unique.
Build logs compacted considerably.
2014-04-09 18:25:48 +03:00
Davide Andreoli ea8f7ca9d6 docs: make the Eo class appear in the homapage toctree 2014-04-07 19:59:30 +02:00
Kai Huuhko d8613c88f8 tests: Added a very simple unit test for unicode in Elm Entry 2014-04-07 12:55:15 +03:00
Kai Huuhko ab778fc86b setup.py: Disable automatic string encoding 2014-04-07 00:44:19 +03:00
Davide Andreoli beff74c28a added docs for Eo 2014-04-06 23:36:05 +02: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
Davide Andreoli 5c3ced421c docs: remove the signatures from the docstring, are now autimatically added by cython 2014-04-06 17:03:58 +02:00
Davide Andreoli c259d3f783 doc: ignore cython generated signature for classes 2014-04-06 16:25:08 +02:00
Davide Andreoli b84c109fef doc: automatically show parameters in functions and methods documentation
This require the Cython "embedsignature" directive, that automatically add the signature in the first line of the docstring.
Then the Sphinx Autodoc module parse the docstring and extract the signature.

Signature is also cleaned using the 'autodoc-process-signature' callback to remove the 'self' param and all the cython params type,
2014-04-06 16:17:27 +02:00
Davide Andreoli 2d17403250 setup.py: removed the conditional compilation of packages.
All the stuff is now required, this avoid half/broken installation of the bindings and simplify setup logic.
2014-04-06 12:52:52 +02:00
Davide Andreoli 4661bc4d6f setup.py: no need to set cython directives for each module 2014-04-06 12:24:34 +02:00
Kai Huuhko b547ff2aa2 Remove Python -> C string hacks 2014-04-06 01:50:29 +03:00
Kai Huuhko 75c8351fdf Enable automatic conversion of strings 2014-04-06 01:31:13 +03:00
Kai Huuhko 78442b6e9d Follow Eolian wrt. widget naming 2014-04-05 06:53:56 +03:00