Commit Graph

20415 Commits

Author SHA1 Message Date
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 <tcech@suse.cz>

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 <mikem@atratus.org>

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  <zehortigoza@profusion.mobi>



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  <zehortigoza@profusion.mobi>



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  <zehortigoza@profusion.mobi>



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  <zehortigoza@profusion.mobi>



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  <zehortigoza@profusion.mobi>



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/vgpreload_memcheck-amd64-linux.so)
==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/vgpreload_memcheck-amd64-linux.so)
==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 <daniel.zaoui@samsung.com>

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  <zehortigoza@profusion.mobi>



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  <zehortigoza@profusion.mobi>



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  <zehortigoza@profusion.mobi>



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
thing as EVAS_LOAD_ERROR_GENERIC).



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
body.


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 <pcacjr@profusion.mobi>


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
Lucas De Marchi dcda0e6610 edbus: Fix leftover unref after edbus_service_signal_send change
SVN revision: 81388
2012-12-19 17:30:03 +00:00
Tom Hacohen 5d260c405a Efl: Fix FriBidiChar size detection.
It's better than nothing, I don't know what the proper fix is.
FRIBIDI_CFLAGS just doesn't exist. Doesn't that macro we use call
PKG_CHECK_MODULES?

SVN revision: 81385
2012-12-19 16:47:57 +00:00
Paulo Alcantara 76932dcc9f evas/engines: Introduce render mode
The render mode should be useful for engines other than software one.

Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>


SVN revision: 81384
2012-12-19 16:15:58 +00:00
Carsten Haitzler 9e5266109d fix 24bpp rendering problem and pixel fetch problem found in qemu/kvm.
SVN revision: 81378
2012-12-19 15:40:52 +00:00
Christopher Michael 9f0e2fc7e8 Fix some minor formatting in Alex Wu's cpu patch.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81361
2012-12-19 13:58:52 +00:00
Christopher Michael 58304e01ab ecore-wayland: (version 2)Fix monitoring ECORE_FD_WRITE defaultly on wayland display fd lead to 100% cpu usage
In ecore_wl_init(), adding wayland display fd with ECORE_FD_WRITE
flag make CPU usage 100%. The proper way to monitor the ECORE_FD_WRITE
is when the wl_display_flush() return value < 0 and errno == EAGAIN.
And if wl_display_flush() return, we remove ECORE_FD_WRITE flag from
the display fd.

Change from v1:
Add idle enterer destroy code into _ecore_wl_shutdown() to avoid
using freed wl_display.

SVN revision: 81360
2012-12-19 13:58:48 +00:00
Yakov Goldberg fa11a3507d evas: fixing example
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 81359
2012-12-19 13:45:02 +00:00
Stefan Schmidt 458066c0c7 edje: Fix memleak in codegen.
Free apiname before we return.

SVN revision: 81335
2012-12-19 09:28:12 +00:00
Stefan Schmidt 8d956c8e99 efl/evas_bidi: Fix memleak.
Make sure we also free udelmin when we retrun from from the for loop early.

SVN revision: 81334
2012-12-19 09:28:02 +00:00
Yakov Goldberg 3032a8554c evas: Eo-styled Evas example added.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 81328
2012-12-19 09:13:08 +00:00
Vincent Torri ef2ca5b931 cleaning: remove unneeded $(top_builddir)
SVN revision: 81324
2012-12-19 07:17:32 +00:00
Vincent Torri a4f4aa00b3 fix returned value
SVN revision: 81323
2012-12-19 07:06:22 +00:00