Commit Graph

20377 Commits

Author SHA1 Message Date
Daniel Zaoui eed9825834 Eo tutorial in Doxygen format.
Signed-off-by: Daniel Zaoui <>

SVN revision: 81681
2012-12-24 12:55:14 +00:00
Mike Blumenkrantz 300ee59f38 eio functions no longer crash when passed NULL and throw errors accordingly
SVN revision: 81668
2012-12-24 09:44:21 +00:00
Mike Blumenkrantz b2de05f49a all efl object deletion functions now take NULL without crashing or erroring
SVN revision: 81667
2012-12-24 09:35:56 +00:00
Mike Blumenkrantz f5a98df8de eina_magic_fail now only ERRs on NULL instead of CRI, making debugging much easier
SVN revision: 81666
2012-12-24 09:16:56 +00:00
Boris Faure d7b55afca2 eina: fix code indentation
SVN revision: 81660
2012-12-23 17:30:56 +00:00
Carsten Haitzler ff3a370b9b font draw - dont alloc font props for 32 chrs.. if we are only ever
going to have less than 32.. eg textgrid. 1 per prop.

SVN revision: 81654
2012-12-23 11:02:50 +00:00
Hannes Janetzek 55f2e87201 fix crash in eio_monitor_del
SVN revision: 81630
2012-12-22 01:56:10 +00:00
Paulo Alcantara 0809c7de3f efl/cserve2: Fix ref/unef of image entries for threads
Signed-off-by: Paulo Alcantara <>

SVN revision: 81584
2012-12-21 21:13:06 +00:00
Paulo Alcantara fb97c82882 efl/cserve2: Fix some bugs regarding fonts
Signed-off-by: Paulo Alcantara <>

SVN revision: 81582
2012-12-21 21:11:23 +00:00
Paulo Alcantara da061849b0 efl/cserve2: Fix invalid iteration over client references
The _request_failed() function is called by error responses from slaves,
and iterating over references of a entry and removing each of them must
be done with EINA_LIST_FOREACH_SAFE(), since _entry_free_cb() calls
_entry_reference_del() which then removes the reference that is used in
the next iteration in for-loop from _request_failed().

Signed-off-by: Paulo Alcantara <>

SVN revision: 81580
2012-12-21 21:09:45 +00:00
Aron Xu 5973f890aa Add Simplified Chinese translation for efreet
SVN revision: 81571
2012-12-21 19:46:16 +00:00
Aron Xu 75b8a044cf Add Simplified Chinese translation for efl
SVN revision: 81570
2012-12-21 19:44:51 +00:00
Leandro Pereira 6516727164 evas/canvas: Make sure rendering finishes before image_data_set() and image_native_set()
SVN revision: 81563
2012-12-21 17:30:44 +00:00
Tomas Cech cafaecfce1 efl: Fix typo in evas_object_textblock
Patch by: Tomas Cech <>

SVN revision: 81559
2012-12-21 15:56:26 +00:00
Jihoon Kim 109f07a72e edje: ecore_imf_context_cursor_position_set don't need to be called when the object is moved
SVN revision: 81540
2012-12-21 11:39:36 +00:00
Mike McCormack 4680279070 efl: Fix signed comparison warning
Signed-off-by: Mike McCormack <>

SVN revision: 81522
2012-12-21 09:01:29 +00:00
Stefan Schmidt cf2dd66eab edbus: Fix make distcheck.
SVN revision: 81515
2012-12-21 08:10:17 +00:00
Lucas De Marchi 9183a031be edbus codegen: rename tool and move it to the right dir
SVN revision: 81496
2012-12-20 22:04:11 +00:00
Lucas De Marchi 49d1a4ad4d edbus codegen: fix check for eina + ecore
This way we get a spurious line in configure, resulting in this message:

/home/lucas/p/edbus/configure: line 14196: ecore: command not found

SVN revision: 81495
2012-12-20 22:04:07 +00:00
José Roberto de Souza 29c5ffc21a edbus: Mark instrospectable as dirty when needed
Patch by: José Roberto de Souza  <>

SVN revision: 81494
2012-12-20 22:04:02 +00:00
José Roberto de Souza 2576b1b861 edbus: Fix edbus_proxy_property_set
Fix the function and add support for complex types, in which case a
Eina_Value is expected.

Patch by: José Roberto de Souza  <>

SVN revision: 81493
2012-12-20 21:48:22 +00:00
José Roberto de Souza c86f98d459 edbus codegen: Initial commit
Add codegen tool to generate client code.

Patch by: José Roberto de Souza  <>

SVN revision: 81492
2012-12-20 21:47:20 +00:00
Gustavo Sverzut Barbieri 50edeae035 efl/configure: add --with-tests=regular|coverage|none
also make 'check' mandatory if enabled.

SVN revision: 81491
2012-12-20 21:43:53 +00:00
Gustavo Sverzut Barbieri 3daaa2837f efl/eet_suite: close file to force disk sync.
SVN revision: 81490
2012-12-20 21:41:56 +00:00
José Roberto de Souza b9b14269c8 edbus: add helper function edbus_message_iter_struct_like_to_eina_value()
Patch by: José Roberto de Souza  <>

SVN revision: 81489
2012-12-20 21:38:15 +00:00
José Roberto de Souza 8cb23c5dfb edbus: add _message_iter_from_eina_value_struct to private header
Patch by: José Roberto de Souza  <>

SVN revision: 81488
2012-12-20 21:38:10 +00:00
Gustavo Sverzut Barbieri 6f816da47f efl/eet_suite: fix handling of certificate.
- do not chdir() during test, that's bad!
 - try exhaustively to find the pem.

SVN revision: 81486
2012-12-20 21:30:25 +00:00
Jonas M. Gastal 55845c5a3e efl: Adding much improved textblock style documentation.
SVN revision: 81485
2012-12-20 20:42:45 +00:00
Gustavo Sverzut Barbieri ac598a94f8 efl/escape: simplify linkage/usage of escape on ps3.
SVN revision: 81478
2012-12-20 19:41:00 +00:00
Gustavo Sverzut Barbieri b57e46b9b9 efl: simplify linkage/usage of evil on windows.
instead of spreading it all around, just define 2 AC_SUBST() that will
do the work.

SVN revision: 81477
2012-12-20 19:25:51 +00:00
Gustavo Sverzut Barbieri 5149aa925f efl/struct dirent: remove check as nobody use the results.
SVN revision: 81476
2012-12-20 19:02:42 +00:00
Gustavo Sverzut Barbieri b401a0225c efl/evas: fix sizeof detection of eina_unicode
SVN revision: 81475
2012-12-20 18:54:51 +00:00
Leandro Pereira b3c76a8bc2 evas/software_generic: Remove invalid EINA_UNUSED and other cleanups
SVN revision: 81473
2012-12-20 18:02:33 +00:00
Lucas De Marchi 80bdcca7ed edbus: avoid cyclic unref
If we are freeing a EDBUS_Connection_Name its name_owner_changed signal
handler may hold a pointer and try to unref it when deleting the signal
handler. We can't simply make the signal handler hold a reference to the
connection name, otherwise edbus_connection_name_gc will never be
triggered because of cyclic references.

Thus, just set the cn->name_owner_changed->bus to NULL before trying to
delete the signal handler.

Related log found by Lucas Jóia:

==20607== Invalid read of size 4
==20607==    at 0x6FE29EE: edbus_connection_name_gc.isra.3 (edbus_core.c:375)
==20607==    by 0x6FE4287: edbus_connection_unref (edbus_core.c:1028)
==20607==    by 0x4C8D94: e_msgbus_shutdown (e_msgbus.c:167)
==20607==    by 0x436194: _e_main_shutdown (e_main.c:1136)
==20607==    by 0x434F25: main (e_main.c:1074)
==20607==  Address 0x1461ba68 is 24 bytes inside a block of size 64 free'd
==20607==    at 0x4C2A739: free (in /usr/lib/valgrind/
==20607==    by 0x6FF0E78: edbus_signal_handler_unref (edbus_signal_handler.c:269)
==20607==    by 0x6FE2A48: edbus_connection_name_gc.isra.3 (edbus_core.c:384)
==20607==    by 0x6FE4287: edbus_connection_unref (edbus_core.c:1028)
==20607==    by 0x4C8D94: e_msgbus_shutdown (e_msgbus.c:167)
==20607==    by 0x436194: _e_main_shutdown (e_main.c:1136)
==20607==    by 0x434F25: main (e_main.c:1074)

SVN revision: 81463
2012-12-20 14:52:27 +00:00
Lucas De Marchi 83619110f2 edbus: Do not modify cn->names hash while walking it
Bug triggered by Lucas Jóia:

==10042== Invalid read of size 8
==10042==    at 0x6B86626: _eina_rbtree_iterator_next (eina_rbtree.c:165)
==10042==    by 0x6B7228D: _eina_hash_iterator_next (eina_hash.c:622)
==10042==    by 0x6FE41DC: edbus_connection_unref (edbus_core.c:1015)
==10042==    by 0x4C8D94: e_msgbus_shutdown (e_msgbus.c:167)
==10042==    by 0x436194: _e_main_shutdown (e_main.c:1136)
==10042==    by 0x434F25: main (e_main.c:1074)
==10042==  Address 0x15c1b958 is 40 bytes inside a block of size 96 free'd
==10042==    at 0x4C2A739: free (in /usr/lib/valgrind/
==10042==    by 0x6B71CB7: _eina_hash_del_by_hash_el (eina_hash.c:441)
==10042==    by 0x6FE2A1E: edbus_connection_name_gc.isra.2 (edbus_core.c:385)
==10042==    by 0x6FE4217: edbus_connection_unref (edbus_core.c:1026)
==10042==    by 0x4C8D94: e_msgbus_shutdown (e_msgbus.c:167)
==10042==    by 0x436194: _e_main_shutdown (e_main.c:1136)
==10042==    by 0x434F25: main (e_main.c:1074)

SVN revision: 81462
2012-12-20 14:52:21 +00:00
Lucas De Marchi 1cae2f1968 edbus: no need for this auxiliary variables, and check refcount first
SVN revision: 81461
2012-12-20 14:52:15 +00:00
Stefan Schmidt 292534738a efl/eet: Fix certifictate file path detection for eet tests.
SVN revision: 81453
2012-12-20 13:41:18 +00:00
Stefan Schmidt c85f2913da efl: Tentative fix to find the ecore_x_version.h also in the ecore tests.
Shows up on buildbot out of tree builds.

SVN revision: 81440
2012-12-20 10:51:58 +00:00
Daniel Zaoui 8122fed82e Simple tutorial for Eo. Supposed to help you to write code with Eo and
prevent eventual bugs.
Feel free to ask, comment, modify this tutorial.

My last commit before the end of the world.

Signed-off-by: Daniel Zaoui <>

SVN revision: 81425
2012-12-20 08:29:39 +00:00
Jihoon Kim af7efb7ad0 edje_entry: check NULL parameter
SVN revision: 81418
2012-12-20 05:07:23 +00:00
Jihoon Kim 5db9286ed2 edje_entry: NULL checking should be processed before accessing
SVN revision: 81417
2012-12-20 02:28:12 +00:00
José Roberto de Souza ad6fdc585a edbus: Remove object path of service if ObjectManager is the last optional iface
Patch by: José Roberto de Souza  <>

SVN revision: 81416
2012-12-20 01:55:47 +00:00
José Roberto de Souza a4327e30ec edbus: Fix undefined ref. to 'EINA_LOG_DOMAIN_GLOBAL' in examples
Patch by: José Roberto de Souza  <>

SVN revision: 81415
2012-12-20 01:55:42 +00:00
José Roberto de Souza ab93f397a7 edbus: Only create one ref of proxys when listen object manager
Patch by: José Roberto de Souza  <>

SVN revision: 81414
2012-12-20 01:55:34 +00:00
Gustavo Sverzut Barbieri 3f5fa6170c efl/evas_object_image_is_inside: fixed implementation.
This function was basically never working correctly. Everything was
fixed by simulating the evas_object_image_render() workflow, but
instead of actually draw we just check the pixel transparency.

Bugs fixed:

 * fails when image is scaled up (could segv) or down (incorrect values);
 * fails when image is moved to negative x,y;
 * fails when border was being used.

Now everything is fixed and seems to work properly, except I'm not
handling the map and get_pixels() cases, these are marked with ERR()
so we can fix them if someone needs.

SVN revision: 81410
2012-12-19 22:41:12 +00:00
Gustavo Sverzut Barbieri 7c19e1b34d efl/evas_cache: copied images should be considered loaded.
Whenever we copy an image, making it write-able
(evas_object_image_data_get(o, 1)) or just start painting a pristine
buffer (evas_object_image_size_set(o, w, h)), we must mark the image
as loaded to avoid trying to load it (and failing, marking the whole

SVN revision: 81409
2012-12-19 22:36:13 +00:00
Leandro Dorileo 3a22bb3d5b Edje: delete real part object after swallows got handled
Case the real part object(rp->object) is an smart object it start to delete
the whole smart object hierarchy and a child object may be a swallow of this
real part. So just delete the rp->object after swallows got handled.

SVN revision: 81403
2012-12-19 20:09:41 +00:00
Leandro Dorileo 1bcae8fdd4 EPhysics: on velocity example unregister callback on restart
Unregister callback on restart and avoid trying to use an to be deleted

SVN revision: 81401
2012-12-19 20:07:43 +00:00
Paulo Alcantara 19a52f4efd efl/evas: Fix XCB/Xlib crash when closing applications
We need to wait draw threads finishing their stuff before freeing canvas.

Signed-off-by: Paulo Alcantara <>

SVN revision: 81395
2012-12-19 18:03:38 +00:00
Lucas De Marchi bb50f86bc5 edbus: (de)yodafy free cb functions
edbus_connection_cb_free_add     -> edbus_connection_free_cb_add
edbus_connection_cb_free_del     -> edbus_connection_free_cb_del
edbus_object_cb_free_add         -> edbus_object_free_cb_add
edbus_object_cb_free_del         -> edbus_object_free_cb_del
edbus_pending_cb_free_add        -> edbus_pending_free_cb_add
edbus_pending_cb_free_del        -> edbus_pending_free_cb_del
edbus_proxy_cb_free_add          -> edbus_proxy_free_cb_add
edbus_proxy_cb_free_del          -> edbus_proxy_free_cb_del
edbus_signal_handler_cb_free_add -> edbus_signal_handler_free_cb_add
edbus_signal_handler_cb_free_del -> edbus_signal_handler_free_cb_del

SVN revision: 81389
2012-12-19 17:30:11 +00:00