summaryrefslogtreecommitdiff
path: root/efl/utils (follow)
AgeCommit message (Collapse)Author
2016-11-05Fix for cython 0.25Dave Andreoli
New cython do not like our cdef @DEPRECATED decorator implementation, I'm not able to fix it, so I just rewrite it in pure python. The new one is a bit simpler, it do not print the source file anymore, but still augment the documentation. Tested with Cython 0.24.1 and 0.25.1 on both python 2.7 and 3.5, hope is enough. #IHateCython
2016-10-14Fix usage of EINA_LOG_* functionsDave Andreoli
spotted by warnings :)
2016-08-13Bump copyright yearKai Huuhko
2016-08-05Revert "Remove NullHandler from C library logger"Kai Huuhko
This reverts commit bc8bac1f1ac7554ce8ad8e5e3c9858cb3c5f378e.
2016-08-05Logger: Fix unicode handling with message file and function string partsKai Huuhko
2016-08-05Logger: do not fail if the error msg contain invalid charsDave Andreoli
now invalid chars are replaced by an "?"
2016-08-04Remove NullHandler from C library loggerKai Huuhko
This makes py-efl spew out an error if your app hasn't been setup to handle the logging. If you don't like this, complain to Dave.
2016-02-02Trivial todo note updates and doc fixKai Huuhko
2016-01-03utils.deprecated: Fix compatibility with Python 3.5Kai Huuhko
2015-01-17New 1.13 elm.Transit.tween_mode_factor_n_setDave Andreoli
Also added some missing TRANSIT_TWEEN_MODE_*
2015-01-05Provide a new distutils Command: build_fdoDave Andreoli
This will take care of installing any icons and .desktop files found
2015-01-02New distutils command: uninstallDave Andreoli
2015-01-02Another year has passed...Dave Andreoli
2015-01-02Provide a new distutil command: build_edcDave Andreoli
2015-01-01Fix a distutils importDave Andreoli
2015-01-01Added new efl.utils.setup pure python moduleDave Andreoli
This module contain some distutils commands that can be used by apps in the setup.py script
2014-04-14s/2013/2014/gdavemds
2014-04-14Code cleanup: Unused/misplaced cimportsKai Huuhko
2014-04-06Revert "Remove Python -> C string hacks"Kai Huuhko
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 b547ff2aa2064b98021d6f458cfc3d44a9936544. Conflicts: efl/elementary/entry.pyx efl/elementary/object.pyx
2014-04-06Remove Python -> C string hacksKai Huuhko
2014-04-05Remove const hacksKai Huuhko
They were a workaround for limitations in Cython <0.18
2014-03-01Python-EFL: new 1.9 API : Win.wm_rotation_* functions and propertiesdavemds
NOTE: all this is UNTESTED as I do not have a rotating WM
2014-01-25utils.deprecated: Handle docstring indentation when modifying it.Kai Huuhko
2013-12-28Add Python 2.6 compatibility, disabled one API method in evas.ImageKai Huuhko
Image.image_data_memoryview_get was disabled. This method can be added back once we figure out how to do conditional compilation using Python version. Using an evas.Image instance as a memoryview object should do the same thing as the disabled method.
2013-12-07Python-EFL: fix the mess with the lgpl version.davemds
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-11-29Utils.logger: Initialize threads in the module.Kai Huuhko
If the print cb was called from another thread it would segfault. This was being triggered when Emotion printed out an error message.
2013-11-28Utils.logger: Move log buffer to module space, increase size to 1KBKai Huuhko
2013-11-19Elementary: Convert more of the C DnD examples to Python.Kai Huuhko
2013-10-30utils.logger: PyUnicode_FromFormatV -> vsprintfKai Huuhko
The Py function segfaults with certain (malformed?) messages.
2013-10-28Fix customization of logger class when using Py2Kai Huuhko
2013-10-26Add support for loggers that have been initialized already.Kai Huuhko
This allows module initialization to be logged as well. Changed add_logger to return the logger object instead of int.
2013-10-26Resolved Py3 issues.Kai Huuhko
Fixes T459
2013-10-25Fix missing symbol PyString_FromFormatV when compiled for Python 3.x.Kai Huuhko
That function was removed so I replaced it with PyUnicode_FromFormatV, cdef extern it directly from Python.h since it's not found in Cython unicode.pxd.
2013-10-25Elementary: Document more scrollablesKai Huuhko
2013-10-25Add arguments 'version' and 'message' to DEPRECATED decorator.Kai Huuhko
The decorator will automatically add a directive to the docstring and log a message when the function is called.
2013-10-24Move logger to its own module.Kai Huuhko
2013-10-09utils.conversions: Initialize Eina_List to NULLKai Huuhko
2013-10-02Elementary: Fix transit del_cbKai Huuhko
2013-10-01Move common conversion functions from efl.eo to efl.utils.conversionsKai Huuhko
2013-09-20Change the _METHOD_DEPRECATED function into a decorator.Kai Huuhko
- move the decorator into a new package/module: utils/deprecated - simplify setup.py logic slightly, it still needs work