Kai Huuhko
54adcd9970
Bump copyright year
2016-08-13 01:13:30 +03:00
Kai Huuhko
78c9fe21af
Revert "Remove NullHandler from C library logger"
...
This reverts commit bc8bac1f1a
.
2016-08-05 19:43:28 +03:00
Kai Huuhko
13ea0cbe1d
Logger: Fix unicode handling with message file and function string parts
2016-08-05 19:30:26 +03:00
Davide Andreoli
283efd1a28
Logger: do not fail if the error msg contain invalid chars
...
now invalid chars are replaced by an "?"
2016-08-05 15:09:06 +02:00
Kai Huuhko
bc8bac1f1a
Remove NullHandler from C library logger
...
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-08-04 14:31:21 +03:00
Kai Huuhko
caef23bb34
Trivial todo note updates and doc fix
2016-02-02 14:23:00 +02:00
Kai Huuhko
8f2baa86b5
utils.deprecated: Fix compatibility with Python 3.5
2016-01-03 09:32:05 +02:00
Davide Andreoli
77d14470c4
New 1.13 elm.Transit.tween_mode_factor_n_set
...
Also added some missing TRANSIT_TWEEN_MODE_*
2015-01-17 15:55:47 +01:00
Davide Andreoli
d368d64d3f
Provide a new distutils Command: build_fdo
...
This will take care of installing any icons and .desktop files found
2015-01-05 19:08:49 +01:00
Davide Andreoli
5c8bb29d78
New distutils command: uninstall
2015-01-02 21:36:21 +01:00
Davide Andreoli
a4f2cc37cc
Another year has passed...
2015-01-02 20:03:53 +01:00
Davide Andreoli
e4a3616613
Provide a new distutil command: build_edc
2015-01-02 19:46:06 +01:00
Davide Andreoli
99c5e47ca5
Fix a distutils import
2015-01-01 22:27:37 +01:00
Davide Andreoli
6fe657d979
Added new efl.utils.setup pure python module
...
This module contain some distutils commands that can be used
by apps in the setup.py script
2015-01-01 21:19:10 +01:00
Davide Andreoli
b3eef73b0e
s/2013/2014/g
2014-04-14 22:21:03 +02:00
Kai Huuhko
d65101b24b
Code cleanup: Unused/misplaced cimports
2014-04-14 00:51:19 +03: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
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
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
Kai Huuhko
a85177bc4b
utils.deprecated: Handle docstring indentation when modifying it.
2014-01-25 03:51:55 +02:00
Kai Huuhko
a9a944b17b
Add Python 2.6 compatibility, disabled one API method in evas.Image
...
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-28 18:35:39 +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
1ad70ef3d6
Utils.logger: Initialize threads in the module.
...
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-29 23:41:07 +02:00
Kai Huuhko
7271d53fc0
Utils.logger: Move log buffer to module space, increase size to 1KB
2013-11-28 20:56:37 +02:00
Kai Huuhko
3a26675680
Elementary: Convert more of the C DnD examples to Python.
2013-11-19 21:42:24 +02:00
Kai Huuhko
f9971fecc5
utils.logger: PyUnicode_FromFormatV -> vsprintf
...
The Py function segfaults with certain (malformed?) messages.
2013-10-30 11:26:14 +02:00
Kai Huuhko
6a0e8a7166
Fix customization of logger class when using Py2
2013-10-28 18:55:58 +02:00
Kai Huuhko
d6d440c3a6
Add support for loggers that have been initialized already.
...
This allows module initialization to be logged as well.
Changed add_logger to return the logger object instead of int.
2013-10-26 03:22:47 +03:00
Kai Huuhko
19e7d11f61
Resolved Py3 issues.
...
Fixes T459
2013-10-26 02:38:25 +03:00
Kai Huuhko
374f267ecc
Fix missing symbol PyString_FromFormatV when compiled for Python 3.x.
...
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-25 13:49:29 +03:00
Kai Huuhko
3e99eb5fe9
Elementary: Document more scrollables
2013-10-25 03:13:46 +03:00
Kai Huuhko
3d85286336
Add arguments 'version' and 'message' to DEPRECATED decorator.
...
The decorator will automatically add a directive to the docstring and
log a message when the function is called.
2013-10-25 02:09:29 +03:00
Kai Huuhko
4771ca5ccb
Move logger to its own module.
2013-10-24 22:58:09 +03:00
Kai Huuhko
40d5c4250a
utils.conversions: Initialize Eina_List to NULL
2013-10-09 17:04:16 +03:00
Kai Huuhko
bef896b490
Elementary: Fix transit del_cb
2013-10-02 05:59:21 +03:00
Kai Huuhko
5f4a46da4b
Move common conversion functions from efl.eo to efl.utils.conversions
2013-10-01 04:56:28 +03:00
Kai Huuhko
88db824a77
Change the _METHOD_DEPRECATED function into a decorator.
...
- move the decorator into a new package/module: utils/deprecated
- simplify setup.py logic slightly, it still needs work
2013-09-20 12:01:50 +03:00