Davide Andreoli
e8749538ce
Do not fail when no start_points are given
2015-02-03 19:58:49 +01:00
Davide Andreoli
f05be9a21c
Added support for Ctxpopup, Dayselector and Diskselector
2015-02-02 21:02:33 +01:00
Davide Andreoli
0a0991cdc8
Add support and test for Frame and Separator
2015-02-02 20:33:45 +01:00
Davide Andreoli
f4445f05e7
Implement erigo json V3
...
NOTE: this is only compatible with erigo develop branch
2015-02-02 20:18:08 +01:00
Davide Andreoli
57481ac5fb
Added a method called on each public widget creation
...
We can now populate the genlist when needed
2015-02-01 16:58:48 +01:00
Davide Andreoli
4d41e26f9b
Use OrderedDict to keep items order from json
2015-02-01 16:12:21 +01:00
Davide Andreoli
c737915efd
Added support for Flip, Genlist, Gengrid and Toolbar
2015-02-01 16:08:20 +01:00
Davide Andreoli
3c76ede01e
support enums from evas
2015-02-01 13:13:08 +01:00
Davide Andreoli
2e7ae199ad
Added support for more erigo widgets
2015-01-31 16:29:33 +01:00
Davide Andreoli
6015567953
The file property seems ok now, will see...
2015-01-24 20:31:59 +01:00
Davide Andreoli
31320ca2e8
Workaround the visibility name in a simpler way
2015-01-24 20:12:50 +01:00
Davide Andreoli
6422f5a149
EvasObject: added the Eo position property
...
and deprecate the legacy name: pos
2015-01-24 20:04:31 +01:00
Davide Andreoli
ce1101e317
Implemented resource management
2015-01-24 18:48:29 +01:00
Davide Andreoli
64c58021ea
Implemented -Create- callback type
2015-01-24 13:03:44 +01:00
Davide Andreoli
8fecc5f55b
Keep the json data around
...
Will be needed for the next commit
2015-01-24 13:00:31 +01:00
Davide Andreoli
ae2dec22da
Implemented Invoke type callbacks
2015-01-24 10:51:14 +01:00
Davide Andreoli
14a070012d
Erigo: Implemented callbacks of -Modify- type
...
plus a fix for py3 and the test json updated
2015-01-22 23:22:32 +01:00
Davide Andreoli
2d2bbb1977
Initial work on erigo support in pyefl.
...
This will be developed in a separate branch and it will be ready for the 1.14 release.
The generator implemented here is on-the-fly, it does not generate the python code,
but actually generate the real interface from the json file on runtime.
The work is really at a good point yet, just need to fix/implement some
little more.
Test included
2015-01-22 20:43:51 +01: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