Commit Graph

58 Commits

Author SHA1 Message Date
Kai Huuhko 219ba9cdd9 Use atexit to shutdown eo, evas and ecore modules
They already had a call to init in the module, thus there was a mismatch
not obvious to users.
2015-04-15 12:02:34 +03:00
Kai Huuhko 2ce228be96 Elementary: Add module systray
Test/example needs more work
2015-02-21 05:41:14 +02:00
Davide Andreoli 4b7d08e38a Fix for cython 0.22 2015-02-19 20:22:39 +01:00
Davide Andreoli 588d28ab12 Restructured ecore doc 2015-01-31 16:51:54 +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 419405e456 New style enums for ecore 2015-01-04 21:29:40 +01:00
Davide Andreoli 027505f45a Move ecore enums with all the other enums files 2015-01-04 13:14:06 +01:00
Davide Andreoli 8d99fc8b40 Remove old (moved) ecore.x files 2015-01-04 12:51:38 +01:00
Davide Andreoli 863efc19eb Move ecore_x out of the ecore extension
Now ecore do not more looks like an alien with his __init__
hack and his different module/package structure

This broke ecore.x users as the extension is now efl.ecore_x

Sorry to bother but I still think that ecore_x should not be
implemented in python, if this hurt you please let me know
2015-01-04 12:47:40 +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 5aa12930a1 Implemented missed ecore.x screensaver functions 2014-07-31 21:23:35 +02:00
Kai Huuhko 045f45bfb7 Ecore: Add missing event return value "constants" 2014-05-29 01:27:19 +03:00
Kai Huuhko c5f91c4a8c Ecore: Small corrections the string representation functions of Exe 2014-05-27 23:24:53 +03:00
Kai Huuhko f54ffc7621 ecore.x: Fix unicode handling 2014-05-16 15:00:55 +03:00
Kai Huuhko b6f2a6822f efl.ecore.x: Unicode handling 2014-05-14 07:01:57 +03:00
Kai Huuhko 5903c8a936 efl.ecore.x: Add keyboard_grab/ungrab 2014-05-13 22:21:53 +03:00
Kai Huuhko 1466ea7207 efl.ecore: Return of ecore.x (from python-ecore)
Made some corrections to make it compile and fixed doc formatting.
2014-05-13 17:59:48 +03:00
Kai Huuhko d98cd27107 efl.ecore: Transform into a package
The old efl.ecore.so module renamed to __init__.so which gets
automatically used for the package namespace when there is an empty
__init__.py included.
2014-05-13 15:12:38 +03:00
Davide Andreoli 7d5c2082bb docs: better (I hope) structure for ecore 2014-04-22 20:50:41 +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 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 4c9ab89426 Documentation: Fixed invalid references and other misc. issues. 2013-12-03 21:56:47 +02:00
Kai Huuhko 83f37fa9ad Ecore: Fix string handling in Exe.send 2013-11-28 21:06:53 +02:00
Kai Huuhko ba9f729094 Ecore: Add AnimatorTimeline. 2013-11-19 21:21:04 +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 bac6d9a281 Python-EFL: warn the user when try to use the subprocess or the signal modules, as they conflict with ecore 2013-09-15 17:53:21 +02:00
Kai Huuhko da71cedc0a Documentation: Remove class- prefix from ecore doc files 2013-09-14 15:01:01 +03:00
Davide Andreoli 0fe8211593 PythonEFL: do not ignore exceptions in Timer/Animator/Poller/Idlers callbacks 2013-08-11 11:20:26 +02:00
Kai Huuhko 8b58ef24ea Documentation formatting fixes. 2013-08-10 08:34:46 +03:00
Davide Andreoli 1c255024d3 Python-EFL: implemented ecore.Poller, with docs and unittest. 2013-05-13 01:27:00 +02:00
Davide Andreoli fcac9e23ad Python-EFL: docs for ecore.FileMonitor 2013-05-12 20:08:31 +02:00
Davide Andreoli 39e16242a0 Python-EFL: implemented ecore.FileMonitor class 2013-05-12 19:15:09 +02:00
Kai Huuhko 724b999095 Ecore: Optimizations. 2013-04-22 20:20:21 +03:00
Kai Huuhko b3b87fe928 Ecore: Small optimization to the task_cb function call. 2013-04-22 20:20:20 +03:00
Kai Huuhko 898f32371a Sed to the rescue. 2013-04-22 20:20:20 +03:00
Kai Huuhko 234cc629e5 Ecore: Add mainloop_glib_always_integrate_disable(). 2013-04-22 20:12:26 +03:00
Davide Andreoli 1a910cfab3 Python-EFL: ecore file_download: another py3 fix 2013-04-03 17:31:15 +02:00
Davide Andreoli 92a626abbc Python-EFL: fix ecore.file_download_protocol_available for py3, and made a test for it 2013-04-03 11:38:46 +02:00
Kai Huuhko 4155c99d3e Ecore: more _cfruni riddance. 2013-04-01 18:16:26 +00: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