Commit Graph

42 Commits

Author SHA1 Message Date
Kai Huuhko 6ad9bb3521 Emotion: Document module names and mark module options as deprecated 2016-09-03 22:37:49 +03:00
Kai Huuhko 0217da6c1f Emotion: Change default module_name to gstreamer1 2016-09-03 22:37:19 +03:00
Kai Huuhko b2af779d7d Switch enums to use the old system we had previously
This allows us to support Cython 0.23+
2016-08-16 10:11:34 +03:00
Kai Huuhko 54adcd9970 Bump copyright year 2016-08-13 01:13:30 +03:00
Kai Huuhko bc0f40e54c Add automated init/shutdown to rest of the modules 2015-05-04 03:36:54 +03:00
Kai Huuhko 8df029d240 Emotion: Fix documentation paragraph title 2015-04-28 02:33:04 +03:00
Davide Andreoli 7eb3217a69 Restructured Emotion docs 2015-01-31 17:21:32 +01:00
Davide Andreoli 660c0a7e51 Huge documentation work
Improved structure, contents and style for better readability
2015-01-18 19:07:06 +01:00
Davide Andreoli 7687adb6d9 Doc: restructure edje and emotion documentation 2015-01-09 20:54:59 +01:00
Davide Andreoli 728ff202e4 New style enums for emotion 2015-01-04 22:12:08 +01:00
Davide Andreoli 6ff9998258 Lots of documentation fixes for ALL the classes
Mainly with regard of class __init__ params and the **keyword param
2015-01-03 20:17:24 +01:00
Davide Andreoli a4f2cc37cc Another year has passed... 2015-01-02 20:03:53 +01:00
Davide Andreoli 042dc0f835 emotion: implemented missed smart signals 2014-08-11 23:30:46 +02:00
Davide Andreoli 0567c52013 Fix emotion.__repr__ function
self.type_get() is not a function, dunno what was the intention here
2014-08-04 17:24:05 +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
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
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 5c3ced421c docs: remove the signatures from the docstring, are now autimatically added by cython 2014-04-06 17:03:58 +02:00
Kai Huuhko b547ff2aa2 Remove Python -> C string hacks 2014-04-06 01:50:29 +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 b21fde2ba7 Silence warnings in Cython 0.20 2014-01-24 22:52:34 +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 4e4b8e2fea Documentation: Fix invalid references and minor issues. 2013-12-05 08:48:34 +02:00
Kai Huuhko 8cc7cc74de Emotion: Use _set_properties_from_keyword_args 2013-12-04 13:14:05 +02:00
Kai Huuhko 5f4a46da4b Move common conversion functions from efl.eo to efl.utils.conversions 2013-10-01 04:56:28 +03:00
Davide Andreoli 7fefb7beef PythonEFL: implemented emotion vis stuff
Untested as probably no backend implement the feature,
but now emotion has 100% coverage :)
2013-08-19 19:37:55 +02:00
Davide Andreoli d53b481d4d PythonEFL: emotion_extension_may_play_get() does not need an obj instance, moved out of the Emotion class. 2013-08-19 12:56:22 +02:00
Davide Andreoli fd131a2b69 Python-EFL: @on_event(event_name) decorator for Emotion 2013-05-14 23:13:26 +02:00
Kai Huuhko f38a3145d1 Silence some compiler warnings. 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 847f360867 Python-EFL: emotion: get rid of _cfruni() 2013-04-02 10:31:47 +02:00
Kai Huuhko f6909ac42c Internal function renames:
* _strings_to_python -> eina_list_strings_to_python_list
 * _strings_from_python -> python_list_strings_to_eina_list
Add two functions for string array conversion.
Add two properties to elm.Window.
2013-03-23 06:50:33 +00:00
Davide Andreoli 10580f1aa8 Python-EFL: emotion api and docs 100% done
SVN revision: 84390
2013-02-26 23:55:39 +00:00
Davide Andreoli 1ca526c62d Python efl: emotion fully documented, no functional changes, but used the elm properties-on-top style
SVN revision: 84389
2013-02-26 21:53:39 +00:00
Davide Andreoli dccea0e2f3 Python-EFL: doc infra for emotion
SVN revision: 84365
2013-02-25 18:46:18 +00:00
Davide Andreoli 454d967f84 Python-EFL: Cleanup and enable compilation of emotion, cleaned also the test.
SVN revision: 83931
2013-02-14 23:05:55 +00:00
Davide Andreoli 744f1ee4be todo--
updated copyright in ALL the files



SVN revision: 83873
2013-02-13 19:16:02 +00:00
Davide Andreoli 8b86398860 Put in a first, still wip, version of the python bindings in a merged tree.
This is meant to be the 1.8 version of the wrappers and will include everything
that now is in the python folder.

Atm this include evas, ecore, edje, elementary and emotion (emotion still commented
in the build couse it need some more testing). Eo is used as a base for all the
objects that inherit from it in C, but in real nothing is used from Eo, it is
used more like a container to share code between the libs.

All the docs has been stripped out because we want to use the new sphinx style 
docs that Kay has done in his git repo. (Kay: please wait a little bit to include
it, as working on the libs without docs is much more easy)

The new wrappers include a new container module called efl and thus you can live
with both the old and the new installation. This also means that you need to import
the new modules as:
"from efl import evas" (instead of the old "import evas")
The idea here is that you can make your code works with both version doing
something like:
try:
   import evas
except:
   from efl import evas
...like is done in the gtk bindings

Some stuff has been leaved out on purpose, because was old stuff (like the hacked 
evas rotation stuff) or because was not working as expected (like all the ecore.evas.XXX
modules). See the TODO.txt file for more info. Probably some stuff is out just because I
missed them, let me know if you miss something.

Improvements from the old version:
- Py3 compatible (still some work to be done, but really only TODO, no problems to resolv)
- Should also works on other platforms, like windoz (but not tested)
- Unittests greatly improved, you can also run ALL tests at once
- much more simpler :)


I will contine the works in the next weeks and hope someone will help too.

NOTE: I switched back to setup.py instead of autotools, because that is the right way to
compile python stuff. So to build just use:
 python setup.py install
or
 python3 setup.py install


Enjoy
davemds




SVN revision: 83831
2013-02-11 22:32:50 +00:00