Kai Huuhko
9db6938f1e
Use types in objects' callback list definitions to simplify access.
...
Also use a more descriptive name for Evas' event callback list.
2013-11-07 11:35:03 +02:00
Kai Huuhko
41f0aeff67
Reduce usage of cpdef.
...
It was intended to make things easier but created problems with
inheritance and Evas SmartObject object customization.
2013-11-05 03:18:36 +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
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
Davide Andreoli
d47c9390b8
PythonEFL: (as always) unbreak the build with older chyton
2013-10-23 19:36:04 +02:00
Kai Huuhko
7fbab02702
First attempt at integrating Eina Log with Python logging.
...
Has two loggers: efl and efl.eo.
To test, add handlers, formatters etc. and change levels using
normal Python logging utilities. The test messages come from
efl.eo init and class registration.
2013-10-23 14:34:42 +03:00
Kai Huuhko
b981ce3840
New feature: Set properties using constructor keyword arguments.
...
Only applied to Elm Bubble for now as an example.
2013-10-20 14:34:53 +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
6587b5be67
Rename efl.pxd to efl.eina.pxd
2013-09-30 07:26:35 +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
Davide Andreoli
6873820e95
PythonEFL: implemented some missed apis in edje
2013-08-19 20:49:18 +02: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
0fe8211593
PythonEFL: do not ignore exceptions in Timer/Animator/Poller/Idlers callbacks
2013-08-11 11:20:26 +02:00
Kai Huuhko
0fc1e2bd98
Evas: Remove the unnecessary value assignments for enums.
2013-05-30 16:53:35 +03:00
Davide Andreoli
94863fa02a
Python-EFL: update to recent evas enum change
...
Isn't this an API break ?? :/
kuuko: why some enums here still have explicit values? and why
they are not copyed in efl.evas.pyx ?
2013-05-29 22:17:05 +02:00
Davide Andreoli
5913721de9
Python-EFL: implemented decorators for edje.
...
Decorators implemented in a much more simple and generic
way than before, we can use them in other place too.
3 deco implemented:
@on_signal(emission, source)
@message_handler
@on_text_change
I choosed the 'strange' on_* naming convention to not
clash/confuse with normal callback functions, tell
me if you don't like.
2013-05-14 21:51:29 +02:00
Davide Andreoli
1c255024d3
Python-EFL: implemented ecore.Poller, with docs and unittest.
2013-05-13 01:27:00 +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
0d63acbee9
Elementary: Implement Accessible objects, with cbs TODO later.
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
40e76e001a
Evas: Add Grid.
2013-04-22 20:12:27 +03:00
Kai Huuhko
77ed60ae26
Evas: Add some missing API to Object.
2013-04-22 20:12:27 +03:00
Kai Huuhko
10635266ff
Evas: Add Table.
2013-04-22 20:12:27 +03:00
Kai Huuhko
d2b7f7cbdb
Elementary: Remove the monolithic pxd file that has been superseded by
...
the per module pxd's.
2013-04-22 20:12:27 +03:00
Kai Huuhko
b7abe5f423
Evas: Improve documentation for Box, Line, Map, Textblock, Text,
...
Textgrid, Rect.
Comment out broken Map properties.
2013-04-22 20:12:27 +03:00
Kai Huuhko
5685396582
Evas: Add some missing bits to Image.
2013-04-22 20:12:26 +03:00
Kai Huuhko
d98fe702ee
Evas: Clean up evas.pxd
2013-04-22 20:12:26 +03:00
Kai Huuhko
234cc629e5
Ecore: Add mainloop_glib_always_integrate_disable().
2013-04-22 20:12:26 +03:00
Kai Huuhko
4b9cacd74e
Evas: Fix Textgrid and add tests.
2013-04-22 20:12:26 +03:00
Davide Andreoli
0fae488f77
Python-EFL: EdjeEdit, manage the various class 'name' prop in a saner way
...
Instead of keeping a py object now keep a stringshared char*, so that we can
pass it directly to the C API without messing with conversions.
2013-04-14 14:24:44 +02:00
Davide Andreoli
9d85805b13
Python-EFL: Implemented EdjeEdit API, with full unit tests.
...
Some stuff is not working on the C side, the unit test is full
of FIXME and TODO. The biggest problem is the PartState that
do not work at all, I will give a short look at this, but I'm
not so much intrested atm...If you want/need to help please
let me know.
2013-04-14 13:08:15 +02:00
Davide Andreoli
963fd049a7
Python-EFL: unbreak compilation with cython 0.17.3
...
SPANK goes to kuuko! you should stay on the base version we
support, to avoid errors like this... you know that "const" is
a 0.18 feature.
2013-04-09 22:08:56 +02:00
Kai Huuhko
aef22ccc50
Evas: Add code for Textgrid, compiles but not tested.
2013-04-07 23:11:50 +00:00
Kai Huuhko
09b7c33644
Evas: Implemented Object.map_get()
2013-04-07 15:35:22 +03:00
Kai Huuhko
f1972f6a6e
Place the remnants of _cfruni and _fruni under six feet of soil.
...
Fix a braino in the py list to string array conversion function.
2013-04-04 11:31:24 +00:00
Kai Huuhko
aa72b5f273
Evas: Use cpdef for making internal calls faster, small performance
...
optimizations.
2013-04-03 22:47:16 +00:00
Kai Huuhko
3b196172b4
Add an enums file for Evas so it gets the values directly from C lib.
2013-04-03 19:39:11 +00:00
Kai Huuhko
21ec3e18cf
Change the class lookup code to C only using an Eina Hash table.
2013-03-30 15:39:51 +00:00
Kai Huuhko
4d9c1c929a
Handle exceptions in eo cdef functions, don't expose _METHOD_DEPRECATED
...
to Python API needlesly, add some code optimizations and TODOs.
2013-03-28 16:54:51 +00:00
Kai Huuhko
0f3c3999e3
Make the conv functions more robust.
...
Now we may leak the strings from _(c)fruni which should be looked up
case by case. The positive side is that we no longer point to (possibly)
invalid memory.
Strings used with touni funcs are suspected to leak as well.
2013-03-26 18:53:13 +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
Davide Andreoli
10580f1aa8
Python-EFL: emotion api and docs 100% done
...
SVN revision: 84390
2013-02-26 23:55:39 +00:00
Davide Andreoli
144c600753
Python-EFL: docs for evas map
...
SVN revision: 84344
2013-02-24 15:52:42 +00:00
Davide Andreoli
711c41883f
Python-EFL: edje.text/color_class_list are ok now.Unskip the unittests
...
SVN revision: 84068
2013-02-18 20:53:55 +00:00
Davide Andreoli
43f9b5f319
Python-EFL: remove some deprecated stuff and cleanp all the warnings
...
SVN revision: 84008
2013-02-16 23:18:27 +00:00
Davide Andreoli
57cdd0a468
Python-EFL: Cleaned warnings in edje
...
SVN revision: 84006
2013-02-16 20:20:41 +00:00
Davide Andreoli
bfa991ca3f
Python-EFL: _fruni() and friends not inlined anymore, this is just to remove compilation warnings. I hope will not make much difference
...
SVN revision: 84001
2013-02-16 16:41:47 +00:00