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
f946d87318
Documentation: Add sphinx directives for added/changed/deprecated stuff.
2013-12-06 17:39:13 +02:00
Kai Huuhko
4e4b8e2fea
Documentation: Fix invalid references and minor issues.
2013-12-05 08:48:34 +02:00
Kai Huuhko
bb5307ea20
Evas: Use _set_properties_from_keyword_args
2013-12-04 13:14:12 +02:00
Kai Huuhko
7f76a38ebf
Evas: Size hint constants were inadvertantly imported as enums
...
Change them back to floating point values.
2013-12-01 09:44:23 +02:00
Kai Huuhko
3473e92379
Evas: Improve and correct the event string representations.
...
__repr__ should be used for object string representation, __str__ is
for converting something to a string value.
2013-11-26 02:32:22 +02:00
Kai Huuhko
b5ecf69887
Evas: py3k compatibility fix for events' modifier_is_set method
2013-11-25 17:10:22 +02:00
Kai Huuhko
225f061b05
Optimize exception propagation in several hot/time critical cases.
...
With "except *" a call is made to PyErr_Occurred on each call of a
function.
Adding a return value where possible and using an appropriate exception
value calls PyErr_Occurred only when that value is returned, ie.
an exception has been raised.
cdef void example_func() except *: <- PyErr_Occurred called on each call
cdef int example_func() except 0: <- PyErr_Occurred called only when
an exception has been raised (the function thus returns 0)
2013-11-10 08:47:21 +02:00
Kai Huuhko
d623a30032
Follow Eo class name changes.
...
See commits c7addf40839c85cf2568f322a34220e8082d26f0 and
7b10fdb8f39c3b36f575dd22d26a1efe6ecd28ec
2013-11-07 16:45:02 +02:00
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
b05187b52e
Evas.Image: Update to new Python buffer API, fix doc issues.
...
Needs testing.
2013-11-07 11:30:02 +02:00
Kai Huuhko
05cd30a2e3
Evas.SmartObject: Add a test from old bindings, fix trivial doc issues.
2013-11-06 05:03:41 +02:00
Kai Huuhko
4ca341d0d5
Evas.SmartObject: Basic object should be functional again.
...
At least the simple test passes.
Needs more work and tests.
2013-11-05 18:12:53 +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
1e40a8f5bb
Simplify and correct string representation functions.
...
Calling str() uses __repr__ when __str__ is not found.
__repr__ should return a string with angle brackets when the object
cannot be reconstructed with exec(repr(obj)).
2013-10-28 18:55:58 +02:00
Kai Huuhko
9413b157b9
Evas/Eo: Fix couple of crashes related to Canvas cb's and Eo
2013-10-03 06:19:04 +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
8b58ef24ea
Documentation formatting fixes.
2013-08-10 08:34:46 +03:00
Kai Huuhko
0fc1e2bd98
Evas: Remove the unnecessary value assignments for enums.
2013-05-30 16:53:35 +03:00
Davide Andreoli
9ecda02403
Python-EFL: be consistent in file naming
2013-05-29 22:34:39 +02:00
Kai Huuhko
fd7322fcda
Disallow instantiating the base object classes.
2013-04-22 20:20:21 +03:00
Kai Huuhko
898f32371a
Sed to the rescue.
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
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
9658aeeb34
Evas: Object documentation fixes.
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
Kai Huuhko
9d5ed471a4
Evas: Actually commit Textgrid code and TODO ++--.
...
Sleep++
2013-04-07 23:15:58 +00: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
0c1584097a
Evas: Make the representation special methods use C API functions directly.
2013-04-07 15:35:22 +03: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
Davide Andreoli
86df76780a
Python-EFL: fix evas events for py3 and remove that hack in emotion test
2013-04-03 12:59:11 +02:00
Kai Huuhko
4244773c94
Evas: the holy grail of strings!
2013-04-01 18:02:16 +00:00
Kai Huuhko
28d68cf2a0
Evas: Add some trivial performance optimizations + TODOs for more.
2013-03-30 21:15:32 +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
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
Kai Huuhko
bb65ae91cb
python-efl: Fix documentation issues, use NotImplementedError for
...
abstract methods in evas smartobject.
SVN revision: 84398
2013-03-01 12:44:05 +00:00
Davide Andreoli
144c600753
Python-EFL: docs for evas map
...
SVN revision: 84344
2013-02-24 15:52:42 +00:00
Davide Andreoli
c745e686d3
Python-EFL: All the docs for evas are in.
...
SVN revision: 84342
2013-02-24 14:41:15 +00:00
Davide Andreoli
83b3d779cb
Python-EFL: put in the infra for Evas docs
...
SVN revision: 84337
2013-02-24 10:56:04 +00:00
Davide Andreoli
4a2117fc4f
Python-EFL: cleanup well Evas_Objects registered callback when the obj is deleted
...
SVN revision: 84005
2013-02-16 19:49:07 +00:00
Davide Andreoli
744fab5c92
New line chars from CR/LF to LF
...
SVN revision: 83924
2013-02-14 20:54:53 +00:00
Davide Andreoli
744f1ee4be
todo--
...
updated copyright in ALL the files
SVN revision: 83873
2013-02-13 19:16:02 +00:00