Cedric BAIL [Fri, 15 Mar 2013 02:41:42 +0000 (11:41 +0900)]
ecore: improve systemd support after fork.
Cedric BAIL [Fri, 15 Mar 2013 01:56:27 +0000 (10:56 +0900)]
evas: fix uninitialized data.
Cedric BAIL [Thu, 14 Mar 2013 11:49:45 +0000 (20:49 +0900)]
eina: improve portability of Eina_File.
Daniel Willmann [Thu, 14 Mar 2013 17:21:48 +0000 (17:21 +0000)]
Revert "eina: improve portability of Eina_File."
This reverts commit
c002d113f11310b5367bfcd300c0add84bf6f57f.
This commit reliably breaks builds with clang. Please test with
export CC=clang before you commit again.
export CC=clang
./autogen.sh --enable-multisense && make -j 10
The error Jenkins gets (I confirmed locally):
/bin/bash: line 1: 13549 Segmentation fault (core dumped) EFL_RUN_IN_TREE=1 ./bin/edje/edje_cc -id . -fd . -id ./tests/emotion/data tests/emotion/data/theme.edc tests/emotion/data/theme.edj
Tom Hacohen [Thu, 14 Mar 2013 16:03:15 +0000 (16:03 +0000)]
Edje match: Cleaned up cedric's *IMPORTANT* compiler warnings.
Chris Michael [Thu, 14 Mar 2013 14:50:23 +0000 (14:50 +0000)]
Fix for building without setting the opengl=es option.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Cedric BAIL [Thu, 14 Mar 2013 12:00:03 +0000 (21:00 +0900)]
eina: remove duplicated declaration.
Cedric BAIL [Thu, 14 Mar 2013 11:49:45 +0000 (20:49 +0900)]
eina: improve portability of Eina_File.
Cedric BAIL [Thu, 14 Mar 2013 11:36:56 +0000 (20:36 +0900)]
eina: improve usability of Eina_Tmpstr.
Added eina_tmpstr_add_length and eina_tmpstr_strlen.
Mike Blumenkrantz [Thu, 14 Mar 2013 11:48:05 +0000 (11:48 +0000)]
fix writes/flushes with servers for ecore-con
Cedric BAIL [Thu, 14 Mar 2013 01:44:56 +0000 (10:44 +0900)]
evas: fix compilation issue due to change of Evas_Object structure.
Cedric BAIL [Thu, 14 Mar 2013 01:39:27 +0000 (10:39 +0900)]
edje: fix Eina_Cow usage in edje.
Tom Hacohen [Wed, 13 Mar 2013 16:40:38 +0000 (16:40 +0000)]
Eo: Make the benchmark values larger to improve the sample space.
Stefan Schmidt [Wed, 13 Mar 2013 13:19:54 +0000 (13:19 +0000)]
eina/tests: Adding return to non void function.
This fixes the test case for me. Also fixes two small wanring while being there.
Vladislav Brovko [Wed, 13 Mar 2013 09:02:25 +0000 (18:02 +0900)]
eina: add tests.
Added tests:
- eina_simple_xml_parser_null_node_dump,
- eina_simple_xml_parser_childs_count,
- eina_simple_xml_parser_parse_with_custom_callback.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Cedric BAIL [Wed, 13 Mar 2013 08:38:57 +0000 (17:38 +0900)]
edje: protect for people who don't have Ephysics.
Cedric Bail [Wed, 13 Mar 2013 06:46:30 +0000 (07:46 +0100)]
check fchmod existence for portabilityy
Cedric BAIL [Wed, 13 Mar 2013 07:26:36 +0000 (16:26 +0900)]
edje: fix use of Eina_Cow in Edje, stack and memcpy issue here.
Nikolay Lopatka [Wed, 13 Mar 2013 06:23:23 +0000 (15:23 +0900)]
Edje: Add test for edje_object_file_set.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Cedric BAIL [Tue, 19 Feb 2013 09:55:37 +0000 (18:55 +0900)]
edje: reduce memory usage of Edje signal callbacks and automates.
This patch try to share signal callbacks and automate accross all Edje
object. It does use an Eina_Hash on the callback description (signal,
source, func). There is no need to check it against Edje file or group
only the callbacks matter.
This version remove all use of size_t as it should never be above 32bits.
We have a hard limit on the number of callback to 2^32 now. I am considering
it would be sane to make it a short.
Cedric BAIL [Wed, 13 Mar 2013 05:30:21 +0000 (14:30 +0900)]
edje: use Eina_Cow for physics and map Edje_Real_Part_State.
This reduce memory used per Edje_Part description by 2 on my tests.
Cedric BAIL [Tue, 12 Mar 2013 12:58:19 +0000 (21:58 +0900)]
evas: use Eina_Cow a lot more and we are closer to the memory size of 1.7.
Carsten Haitzler (Rasterman) [Tue, 12 Mar 2013 14:48:42 +0000 (23:48 +0900)]
This causes segv's on 64bit!
Program received signal SIGSEGV, Segmentation fault.
_edje_emit_cb (ed=ed@entry=0x8ebd68, sig=sig@entry=0x8fba4c
"focus,part,in", src=src@entry=0x8222fc "elm.text",
data=data@entry=0x0, prop=prop@entry=0 '\000') at
lib/edje/edje_program.c:1442
warning: Source file is more recent than executable.
1442 eina_list_free(data.matches);
(gdb) bt
"focus,part,in", src=src@entry=0x8222fc "elm.text",
data=data@entry=0x0, prop=prop@entry=0 '\000') at
lib/edje/edje_program.c:1442
"focus,part,in", src=0x8222fc "elm.text", sdata=0x0, prop=0 '\000') at
lib/edje/edje_program.c:1366
_pd=0x8222f0, list=0x7fff00000001) at lib/edje/edje_message_queue.c:124
op_type=EO_OP_TYPE_REGULAR, op=564, p_list=0x7fffffffcf28) at
lib/eo/eo.c:364
op_type=EO_OP_TYPE_REGULAR, obj=0x8ebae0) at lib/eo/eo.c:404
op_type=op_type@entry=EO_OP_TYPE_REGULAR) at lib/eo/eo.c:435
(obj=<optimized out>) at lib/edje/edje_message_queue.c:71
(sid=sid@entry=0x8eae88) at elm_interface_scrollable.c:788
(sid=0x8eae88) at elm_interface_scrollable.c:805
_pd=0x8eae88, list=<optimized out>) at elm_interface_scrollable.c:3370
op_type=EO_OP_TYPE_REGULAR, op=840, p_list=0x7fffffffd158) at
lib/eo/eo.c:364
op_type=EO_OP_TYPE_REGULAR, obj=0x8ea9e0) at lib/eo/eo.c:404
op_type=op_type@entry=EO_OP_TYPE_REGULAR) at lib/eo/eo.c:435
_pd=0x8ead70, list=<optimized out>) at elm_entry.c:2804
op_type=EO_OP_TYPE_REGULAR, op=129, p_list=0x7fffffffd328) at
lib/eo/eo.c:364
op_type=EO_OP_TYPE_REGULAR, obj=0x8ea9e0) at lib/eo/eo.c:404
lib/eo/eo.c:435
op_type=EO_OP_TYPE_REGULAR, op=1, p_list=0x7fffffffd4a8) at
lib/eo/eo.c:364
(obj=obj@entry=0x8ea9e0, op_type=op_type@entry=EO_OP_TYPE_REGULAR,
op=1) at lib/eo/eo.c:463
class_data=<optimized out>, list=<optimized out>) at elm_widget.c:5526
op_type=EO_OP_TYPE_REGULAR, op=1, p_list=0x7fffffffd628) at
lib/eo/eo.c:364
(obj=obj@entry=0x8ea9e0, op_type=op_type@entry=EO_OP_TYPE_REGULAR,
op=1) at lib/eo/eo.c:463
out>, list=<optimized out>) at elm_layout.c:2157
op_type=EO_OP_TYPE_REGULAR, op=1, p_list=0x7fffffffd7b8) at
lib/eo/eo.c:364
op_type=<optimized out>, op=1) at lib/eo/eo.c:463
op_type=EO_OP_TYPE_REGULAR, op=1, p_list=0x7fffffffd928) at
lib/eo/eo.c:364
(obj=obj@entry=0x8ea9e0, op_type=op_type@entry=EO_OP_TYPE_REGULAR,
op=1) at lib/eo/eo.c:463
out>, list=<optimized out>) at elm_entry.c:3076
op_type=EO_OP_TYPE_REGULAR, op=1, p_list=0x7fffffffdad8) at
lib/eo/eo.c:364
op_type=EO_OP_TYPE_REGULAR, obj=0x8ea9e0) at lib/eo/eo.c:404
lib/eo/eo.c:1162
elm_entry.c:3068
autorun=0x0) at test.c:441
Revert "edje: reduce memory usage of Edje signal callbacks and automates."
This reverts commit
15aae2c0a4b9f59199395884439626de39e80e62.
Carsten Haitzler (Rasterman) [Tue, 12 Mar 2013 14:17:00 +0000 (23:17 +0900)]
please... compile again thanks!
Chris Michael [Tue, 12 Mar 2013 07:52:30 +0000 (07:52 +0000)]
Force shm engine to do sync render for now.
There are stalling issues with async render that I need to look in to.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Christopher Michael [Tue, 5 Mar 2013 09:17:27 +0000 (09:17 +0000)]
Fix formatting.
Remove call to display_dispatch (not needed here during init).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Wed, 27 Feb 2013 09:50:10 +0000 (09:50 +0000)]
Add Async support for Wayland Shm Engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Christopher Michael [Wed, 27 Feb 2013 09:49:23 +0000 (09:49 +0000)]
Add Async support for wayland_shm engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
Tom Hacohen [Tue, 12 Mar 2013 12:46:06 +0000 (12:46 +0000)]
Tests: Output XML to build dir, not source dir.
Tom Hacohen [Tue, 12 Mar 2013 11:43:23 +0000 (11:43 +0000)]
Ecore tests: Define TESTS_SRC_DIR in the same way as the other tests.
Deprecate CHECK_SRC_DIR which is not needed anymore because of that.
Daniel Willmann [Tue, 12 Mar 2013 11:36:48 +0000 (11:36 +0000)]
Disable efreet tests again as long as they are failing on Jenkins
We need to find a way to run dbus-launch before the efreet test
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Tom Hacohen [Tue, 12 Mar 2013 11:21:21 +0000 (11:21 +0000)]
Eo: Fixed compilation warning.
Cedric: I love it that you don't test your fixes. :).
Tom Hacohen [Tue, 12 Mar 2013 11:17:05 +0000 (11:17 +0000)]
Evas language: Fixed compiler warning about unsigned comparison.
comparison of unsigned expression >= 0 is always true.
Thanks to vtorri for the report.
Cedric BAIL [Tue, 12 Mar 2013 11:09:10 +0000 (20:09 +0900)]
evas: cleanup header in preparation for Eina_Cow.
Cedric BAIL [Tue, 12 Mar 2013 11:08:42 +0000 (20:08 +0900)]
eo: 32bits should be enough for any sane object size.
Cedric BAIL [Tue, 12 Mar 2013 10:23:00 +0000 (19:23 +0900)]
eo: tired, fix language typo.
Cedric BAIL [Tue, 12 Mar 2013 10:16:43 +0000 (19:16 +0900)]
eo: add a EO_DEBUG environment variable to get some useful statistic.
Cedric BAIL [Tue, 12 Mar 2013 10:01:32 +0000 (19:01 +0900)]
eo, evas, edje: reorder structure for reducing memory usage.
Stefan Schmidt [Tue, 12 Mar 2013 09:47:28 +0000 (09:47 +0000)]
tests: Add xml output file for check runs for the use with jenkins.
We can do pretty graphs with jenkins about our unit tests. But we
need the check xml output for that. Enabling it in all suites.
Stefan Schmidt [Tue, 12 Mar 2013 09:45:58 +0000 (09:45 +0000)]
tests: Make sure eeze and efreet suites are run when calling make check
They never got added to TESTS and thus never have been called with make check
Daniel Willmann [Mon, 11 Mar 2013 15:28:14 +0000 (15:28 +0000)]
eina: Fix PACKAGE_BUILD_DIR
Cedric BAIL [Tue, 12 Mar 2013 08:07:50 +0000 (17:07 +0900)]
evas: less warning when disabling fontconfig.
Cedric BAIL [Tue, 12 Mar 2013 07:33:33 +0000 (16:33 +0900)]
ecore: fix typo.
Cedric BAIL [Tue, 12 Mar 2013 07:09:09 +0000 (16:09 +0900)]
efl: final decision, if you have systemd use --enable-systemd.
Cedric Bail [Mon, 11 Mar 2013 20:11:44 +0000 (21:11 +0100)]
ecore_evas: re-order inclusion of header to fix compilation on Windows.
It is a very tricky things to get header order right on windows. Having that
order only in .c files simplify the work a lot. So let's try to do it with
Ecore_Evas after it rewrite and split into modules.
Cedric Bail [Mon, 11 Mar 2013 19:32:00 +0000 (20:32 +0100)]
eio: Use _eio_lstat instead of lstat to improve protability.
Cedric BAIL [Tue, 12 Mar 2013 03:55:52 +0000 (12:55 +0900)]
ecore: don't propagate systemd state to child process.
Cedric BAIL [Tue, 12 Mar 2013 03:54:44 +0000 (12:54 +0900)]
ecore: fix compiler warning when compiling with Fibers.
Cedric BAIL [Tue, 19 Feb 2013 09:55:37 +0000 (18:55 +0900)]
edje: reduce memory usage of Edje signal callbacks and automates.
This patch try to share signal callbacks and automate accross all Edje
object. It does use an Eina_Hash on the callback description (signal,
source, func). There is no need to check it against Edje file or group
only the callbacks matter.
Carsten Haitzler (Rasterman) [Tue, 12 Mar 2013 06:26:32 +0000 (15:26 +0900)]
cleanup some egl/glx/gl extension string matching and proc address
vetos.
Carsten Haitzler (Rasterman) [Tue, 12 Mar 2013 02:56:40 +0000 (11:56 +0900)]
small improvement to pixman support - no need to create color image in
context unless font or rect or line or poly used.
Carsten Haitzler (Rasterman) [Tue, 12 Mar 2013 00:47:18 +0000 (09:47 +0900)]
i have no idea what has happened here, but older glibs REQUIRe you
g_thread_init andf link to libgthread...
Jiyoun Park [Tue, 12 Mar 2013 02:53:21 +0000 (11:53 +0900)]
ecore_x: fix bug not check data value when get deiconify message
Iván Briano [Tue, 12 Mar 2013 00:19:30 +0000 (21:19 -0300)]
I missed one, thus the build failure.
Now if cedric wants to put the want_systemd back in, the detection
should work
Carsten Haitzler (Rasterman) [Tue, 12 Mar 2013 00:02:47 +0000 (09:02 +0900)]
no. this makes systemd COMPULSORY unless you --disable it. since the
vast majority of people wont have systemd... and won't be able to
install it to meet deps, this is an onerous requirement to make them
--disable it.
Carsten Haitzler (Rasterman) [Mon, 11 Mar 2013 11:40:56 +0000 (20:40 +0900)]
in theory suport partial swaps with SEC extensions... untested atm.
Iván Briano [Mon, 11 Mar 2013 23:32:42 +0000 (20:32 -0300)]
Fix systemd detection
The EFL_OPTIONAL_DEPEND_PKG sets have_systemd=no before checking, so we
need to pass the want variable instead or it will always be disabled.
Tom Hacohen [Mon, 11 Mar 2013 15:18:21 +0000 (15:18 +0000)]
Evas textblock: Fixed coord (int) overflow.
X advance coords can be bigger than the limits of short.
Tom Hacohen [Mon, 11 Mar 2013 10:39:20 +0000 (10:39 +0000)]
Eina test strbuf: Fixed compilation warnings.
Carsten Haitzler (Rasterman) [Mon, 11 Mar 2013 07:54:59 +0000 (16:54 +0900)]
emotion - free up engine and stuff on obj del, and let smartdata hang
about for eio stuff. hrmmmmf. cedric!!! :)
Carsten Haitzler (Rasterman) [Mon, 11 Mar 2013 06:57:16 +0000 (15:57 +0900)]
Merge branch 'master' of ssh://git.enlightenment.org/core/efl
Carsten Haitzler (Rasterman) [Mon, 11 Mar 2013 06:55:04 +0000 (15:55 +0900)]
make evas smart callbnacks safer if something bad happens in memory.
Carsten Haitzler (Rasterman) [Mon, 11 Mar 2013 06:53:28 +0000 (15:53 +0900)]
emotion "fix" - not actually a bug i hit, but a potential one where
xattr change jobs are not deleted on sd free.
Mike Blumenkrantz [Mon, 11 Mar 2013 06:16:12 +0000 (06:16 +0000)]
blacklist gnutls < 2.12.16
in a move which is sure to make me hugely unpopular once again, I'm blacklisting a huge number of gnutls versions which I can't compile because at least some of them are 100% broken and will not work. the rage forecast is looking to see some hot winds blowing in from the debian/ubuntu quagmires, though users from more modern regions are not likely to notice any changes
Mike Blumenkrantz [Mon, 11 Mar 2013 04:57:12 +0000 (04:57 +0000)]
clean up gnutls session init for ecore-con in 1.8
Vladislav Brovko [Mon, 11 Mar 2013 02:02:33 +0000 (11:02 +0900)]
eina: prevent space stripping of CDATA in Eina_Simple_XML.
Prevent stripping spaces (after [CDATA[ and before ]]>) in XML like:
<![CDATA[ <foo>bar</foo> ]]>
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Nikolay Lopatka [Mon, 11 Mar 2013 01:53:19 +0000 (10:53 +0900)]
eina: add test for strbuf trim function.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
Vladislav Brovko [Mon, 11 Mar 2013 01:44:52 +0000 (10:44 +0900)]
eina: Eina_Tmpstr test for eina_tmpstr_add, eina_tmpstr_del.
Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
Cedric BAIL [Mon, 11 Mar 2013 01:36:54 +0000 (10:36 +0900)]
ecore: prevent coroutine code mixup on windows.
Cedric Bail [Sun, 10 Mar 2013 16:57:23 +0000 (17:57 +0100)]
include some header files conditionally add specific test for fcntl
Cedric Bail [Sun, 10 Mar 2013 16:53:45 +0000 (17:53 +0100)]
Add F_GETFL support (which does actually nothing
Cedric Bail [Sun, 10 Mar 2013 16:51:06 +0000 (17:51 +0100)]
Fix warnings
Cedric BAIL [Mon, 11 Mar 2013 01:22:48 +0000 (10:22 +0900)]
systemd: so now want means optional and not required.
Cedric Bail [Sun, 10 Mar 2013 14:09:45 +0000 (23:09 +0900)]
efl: use HAVE_FCNTL around call to fcntl.
Carsten Haitzler (Rasterman) [Sun, 10 Mar 2013 13:02:27 +0000 (22:02 +0900)]
ummm REQUIRING systemd is a REALLY bad idea (even if u can --disable it)
Cedric Bail [Sun, 10 Mar 2013 11:53:58 +0000 (20:53 +0900)]
ecore: notify systemd automatically when the main loop is starting.
Cedric Bail [Sun, 10 Mar 2013 10:42:19 +0000 (11:42 +0100)]
evil: cleanup compiler flags.
- Pass EVIL_CFLAGS to C++ compiled files (needed for -DEF_EVIL_BUILD)
- Some warning flags should not be passed to C++ compiler, so put them in another variable
Cedric Bail [Sun, 10 Mar 2013 10:41:20 +0000 (11:41 +0100)]
eina, evil: fix warning on 64 bits
Cedric Bail [Sun, 10 Mar 2013 10:36:26 +0000 (11:36 +0100)]
eina: sort files alphabetically
Cedric Bail [Sun, 10 Mar 2013 10:35:01 +0000 (11:35 +0100)]
ecore_evas: remove warning.
Cedric Bail [Sun, 10 Mar 2013 10:45:24 +0000 (19:45 +0900)]
evas: fcntl use should be #ifdef protected.
Cedric Bail [Sun, 10 Mar 2013 08:50:44 +0000 (17:50 +0900)]
eeze: be cleaner and always declare variable just in case.
Cedric Bail [Sun, 10 Mar 2013 06:53:24 +0000 (15:53 +0900)]
eeze: put all the AM_CONDITIONAL outside of the ninja if.
Cedric Bail [Sun, 10 Mar 2013 06:49:54 +0000 (15:49 +0900)]
ecore_con: add systemd socket activation.
Be careful, systemd socket activation require you to always order
server socket creation in the same order as defined in the unit file.
This means ecore_con_server_add should always been in the same order
for those of them using systemd socket activation.
Cedric Bail [Sun, 10 Mar 2013 05:35:41 +0000 (14:35 +0900)]
eeze: add a dummy implementation for when libmount is not available.
This implementation doesn't replace libmount, it just provide an empty
piece of code that will always fail to do anything. It does simplify
Eeze building and use by third party by always providing the API.
Daniel Juyung Seo [Sat, 9 Mar 2013 15:40:33 +0000 (00:40 +0900)]
evas evas_focus.c: simplified the source.
Igor Murzov [Tue, 5 Mar 2013 23:09:05 +0000 (03:09 +0400)]
evas: Add WebP image saver
Daniel Juyung Seo [Sat, 9 Mar 2013 05:38:36 +0000 (14:38 +0900)]
eina eina_hash.h,eina_list.h: fixed a typo.
ilustrate -> illustrate
Rafael Antognolli [Fri, 8 Mar 2013 17:50:02 +0000 (14:50 -0300)]
evas/wayland_shm: Change the buffer sent comparison.
Using the wb->buffer pointer to compare if a buffer was already sent is
bad, since the buffer pointer can be changed in a way that that
comparison is true, even if different buffers are used.
When requesting a new buffer to the wl_shm_pool, it can return the
buffer address of a previously freed buffer. This reused buffer pointer
can be the same as the last buffer sent to the compositor, and the
comparison will be true, skipping a new wl_buffer_attach.
Tom Hacohen [Fri, 8 Mar 2013 17:32:23 +0000 (17:32 +0000)]
Ecore coroutine test: Fixed compilation warnings.
Tom Hacohen [Fri, 8 Mar 2013 11:46:25 +0000 (11:46 +0000)]
Eina mempool: Fixed compilation warning.
Carsten Haitzler (Rasterman) [Fri, 8 Mar 2013 10:35:36 +0000 (19:35 +0900)]
Small adjustment to gl engines to use procaddress if found and NOT
fall back to dlsym if such a "getprocaddress" is around.
Daniel Willmann [Thu, 7 Mar 2013 17:44:10 +0000 (17:44 +0000)]
Fix path to edje_test_helpers.h in EXTRA_DIST
Thanks Tom for spotting!
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Stefan Schmidt [Thu, 7 Mar 2013 16:10:02 +0000 (16:10 +0000)]
edje: Fix typo for make distcheck
Tom Hacohen [Thu, 7 Mar 2013 16:06:44 +0000 (16:06 +0000)]
Fixed make dist.
Jiyoun Park [Thu, 7 Mar 2013 07:33:59 +0000 (16:33 +0900)]
Ecore_x: Add manual render code before deiconify
Jiyoun Park [Thu, 7 Mar 2013 04:43:21 +0000 (13:43 +0900)]
Merge branch 'master' of ssh://git.enlightenment.org/core/efl
Jiyoun Park [Thu, 7 Mar 2013 04:42:31 +0000 (13:42 +0900)]
ecore_x : add atom to be used deiconify manual render
win will be manual render when deiconify message
Tom Hacohen [Wed, 6 Mar 2013 16:57:01 +0000 (16:57 +0000)]
Edbus: Include config.h
Cedric BAIL [Wed, 6 Mar 2013 14:42:04 +0000 (23:42 +0900)]
eeze: fix typo.