Commit Graph

675 Commits

Author SHA1 Message Date
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
Kai Huuhko 73e63ec7e3 Update information in README etc. and bump the series in setup.py
We're at series 1.10 development, that goes in VERSION, with no releases
in this series out yet, denoted by 1.9.99 in RELEASE
2014-04-05 06:35:32 +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
Kai Huuhko 1149c6ed91 Bump Cython version requirement for future development.
This is required for const (added in 0.18) and automatic string
conversion (added in 0.19).
2014-04-04 17:57:50 +03:00
Kai Huuhko 28d1906c05 Elementary.thumb: Add missing enums. 2014-03-27 11:35:41 +02:00
Davide Andreoli 2346ff93fb Development of the 1.10 version start now.
Also added note on how to make a release, for future reference.
2014-03-05 22:56:11 +01:00
Davide Andreoli 89780d48c5 Python-EFL: changes, wrong version in the title 2014-03-02 23:41:14 +01:00
Davide Andreoli 48ae9d867d Python-EFL: updated changes.html
We need to find an automatic way of doing this, preferable in a text Changelog format.
2014-03-02 23:25:25 +01:00
Davide Andreoli 2b9fdb8f35 Python-EFL: start to prepare the 1.9 release
* raised version to 1.9.0
* removed versions from docs conf, they now comes automatically from setup.py
* updated some years around
* added a favicon to the docs
2014-03-02 23:09:54 +01:00
Davide Andreoli 18b5efdb38 Python-EFL: updated authors
Also added a simple&stupid Makefile for lazy devs.
2014-03-01 22:03:44 +01:00
Davide Andreoli ec71e46441 Python-EFL: new 1.9 API : Win.wm_rotation_* functions and properties
NOTE: all this is UNTESTED as I do not have a rotating WM
2014-03-01 19:35:40 +01:00
Davide Andreoli 2751ef6025 Python-ELF: new 1.9 API for GenlistItem 2014-03-01 18:24:23 +01:00
Davide Andreoli 00118986e6 Python-EFL: New 1.9 API: Object.focus_highlight_style 2014-03-01 17:59:03 +01:00
Davide Andreoli de154b7930 Python-EFL: New 1.9 API: Naviframe.title_enabled (title_visible deprecated) 2014-03-01 16:35:20 +01:00
Davide Andreoli 9f6cf51f80 Python-EFL: new 1.9 API: Layout.content_swallow_list_get() 2014-03-01 14:23:42 +01:00
Davide Andreoli 65f43c5bee Python-EFL: New 1.9 API: Ctxpopup.auto_hide_disabled 2014-02-27 22:58:06 +01: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
Davide Andreoli c2a34f20ad Python-EFL: Colorselector new 1.9 API 2014-02-27 20:52:10 +01:00
Davide Andreoli 1bfb4d8922 Python-EFL: added 1.9 API: Colorselector.palette_items_get() 2014-02-26 23:20:04 +01:00
Davide Andreoli ad592d50aa Python-EFL: fix Fileselector.mime_types_filter_append() to work with py3 2014-02-26 21:43:31 +01:00
Davide Andreoli 684aee077e Python-EFL: Fileselector 1,9 API additions.
* added property thumbnail_size
* added function custom_filter_append
* splitted the 3 tests in 3 different files
* test rewritten to better match the C one.

NOTE: custom_filter_append is leaking...need to find a proper way to unref
          Added a note in the TODO for this issue.
2014-02-26 21:37:04 +01:00
Davide Andreoli b32f95e3c4 Python-EFL: 2 small fix for the unit tests 2014-02-23 19:38:33 +01:00
Davide Andreoli dd3bc98c93 Python-EFL: add API Label.slide_speed. With tests 2014-02-23 16:29:31 +01:00
Davide Andreoli d38a979e73 Python-EFL: added elm_win_type_get() 2014-02-23 15:58:45 +01:00
Davide Andreoli 740ff9a009 Python-EFL: added Entry API: select_region_set(start, end) 2014-02-23 15:43:15 +01:00
Davide Andreoli 166193b716 Python-EFL: new Entry input panel on demand API.
* add property: Entry.input_panel_show_on_demand
2014-02-23 14:52:25 +01:00
Davide Andreoli dd6499eb60 Python-EFL: new Entry signal: rejected 2014-02-23 14:35:12 +01:00
Davide Andreoli af2e379e05 Python-EFL: new hoversel signal: expanded 2014-02-23 14:28:49 +01:00
Davide Andreoli 04734af9f4 Python-EFL: added new tooltip movement freeze API
* tooltip_move_freeze_push()
* tooltip_move_freeze_pop()
* tooltip_move_freeze_get()
2014-02-23 14:18:19 +01:00
Davide Andreoli 9b78f1fc42 Python emotion test: port all the changes done recently in the C test.
* updated theme file
* new volume slider
* renamed speed slider to alpha slider
* fix alpha slider to work only on the video, not the whole frame
* fix calculation of displayed time
* new option: --position
* new option: --loop
* updated engines list
* new option: --reflex
2014-02-23 13:17:36 +01:00
Kai Huuhko 23d221ef8a Elementary: Follow changes wrt. fileselector interface 2014-01-25 03:53:57 +02:00
Kai Huuhko a85177bc4b utils.deprecated: Handle docstring indentation when modifying it. 2014-01-25 03:51:55 +02:00
Kai Huuhko b21fde2ba7 Silence warnings in Cython 0.20 2014-01-24 22:52:34 +02:00
Davide Andreoli 445211f369 add new Mapbuf.point_color_set/get functions (since 1.9) 2014-01-08 22:48:27 +01:00
Davide Andreoli bd063f0ece add new Filesector.sort_method property (since 1.9) 2014-01-08 22:06:29 +01:00
Davide Andreoli fdb66d75e6 add new Clock.pause property (since 1.9) 2014-01-08 21:17:57 +01:00
Davide Andreoli 44a5dd89c0 fix imports in elm tooltip example 2014-01-06 14:36:49 +01:00
Davide Andreoli cabc442195 Try to fix evas SmartObject
* implemented a test for smart obj
* remove comments from factories methods
* install the metaclass also for the Clipped one

Smart object implementation is still broken :(
Every object segfault on delete, the reason is
the eo del callback called BEFORE the smart
delete function. need to investigate better.
2014-01-06 12:40:59 +01:00
Kai Huuhko b177c06fd4 Update TODO 2013-12-30 14:06:16 +02:00