Commit Graph

21588 Commits

Author SHA1 Message Date
Carsten Haitzler 3728c60311 Fix opengl-es 2.0 engine support to only use GL_UNPACK_ROW_LENGTH
if the correct gles extension exists.
2013-03-15 13:05:39 +09:00
Carsten Haitzler 5a00aa5b25 evas gl engine -> prefer extn symbols over non-extn symbols 2013-03-15 12:15:19 +09:00
Cedric BAIL d40fdc2e5f ecore: improve systemd support after fork. 2013-03-15 11:41:42 +09:00
Cedric BAIL 241bed4cd6 evas: fix uninitialized data. 2013-03-15 11:05:25 +09:00
Cedric BAIL e70502f1a1 eina: improve portability of Eina_File. 2013-03-15 11:05:25 +09:00
Daniel Willmann f90726cf35 Revert "eina: improve portability of Eina_File."
This reverts commit c002d113f1.

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
2013-03-14 17:21:48 +00:00
Tom Hacohen 8aed36e914 Edje match: Cleaned up cedric's *IMPORTANT* compiler warnings. 2013-03-14 16:03:15 +00:00
Chris Michael cac7a4dad8 Fix for building without setting the opengl=es option.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-03-14 14:50:23 +00:00
Cedric BAIL 49887271d2 eina: remove duplicated declaration. 2013-03-14 21:00:03 +09:00
Cedric BAIL c002d113f1 eina: improve portability of Eina_File. 2013-03-14 20:52:37 +09:00
Cedric BAIL 81f739da84 eina: improve usability of Eina_Tmpstr.
Added eina_tmpstr_add_length and eina_tmpstr_strlen.
2013-03-14 20:52:37 +09:00
Mike Blumenkrantz 4ab02d7f6b fix writes/flushes with servers for ecore-con 2013-03-14 11:48:05 +00:00
Cedric BAIL dbd044055d evas: fix compilation issue due to change of Evas_Object structure. 2013-03-14 10:44:56 +09:00
Cedric BAIL 464391ca07 edje: fix Eina_Cow usage in edje. 2013-03-14 10:39:41 +09:00
Tom Hacohen 7ebdd8446b Eo: Make the benchmark values larger to improve the sample space. 2013-03-13 16:40:38 +00:00
Stefan Schmidt 9f8744a50a eina/tests: Adding return to non void function.
This fixes the test case for me. Also fixes two small wanring while being there.
2013-03-13 13:19:54 +00:00
Vladislav Brovko 8ca2871f82 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>
2013-03-13 18:02:44 +09:00
Cedric BAIL 3e0d35bfc2 edje: protect for people who don't have Ephysics. 2013-03-13 17:38:57 +09:00
Cedric Bail 709b975ca3 check fchmod existence for portabilityy 2013-03-13 17:04:32 +09:00
Cedric BAIL e5f343f79a edje: fix use of Eina_Cow in Edje, stack and memcpy issue here. 2013-03-13 16:47:53 +09:00
Nikolay Lopatka 3e07236148 Edje: Add test for edje_object_file_set.
Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
2013-03-13 16:47:53 +09:00
Cedric BAIL 488ea9ec82 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.
2013-03-13 16:46:42 +09:00
Cedric BAIL c78f4d7bfa 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.
2013-03-13 14:35:31 +09:00
Cedric BAIL d79a2efa39 evas: use Eina_Cow a lot more and we are closer to the memory size of 1.7. 2013-03-13 14:35:25 +09:00
Carsten Haitzler b7221512d5 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 15aae2c0a4.
2013-03-12 23:48:42 +09:00
Carsten Haitzler 5b201f9122 please... compile again thanks! 2013-03-12 23:17:00 +09:00
Chris Michael 873c18cc15 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>
2013-03-12 12:52:25 +00:00
Christopher Michael abd79fff9b Fix formatting.
Remove call to display_dispatch (not needed here during init).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-03-12 12:52:25 +00:00
Christopher Michael 31ec0c4d7b Add Async support for Wayland Shm Engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-03-12 12:52:25 +00:00
Christopher Michael 91a83b8cda Add Async support for wayland_shm engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-03-12 12:52:25 +00:00
Tom Hacohen 3ba9311c0f Tests: Output XML to build dir, not source dir. 2013-03-12 12:46:06 +00:00
Tom Hacohen b13fe184bf 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.
2013-03-12 11:43:31 +00:00
Daniel Willmann a60f19611a 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>
2013-03-12 11:36:48 +00:00
Tom Hacohen 1cbcf4e4f8 Eo: Fixed compilation warning.
Cedric: I love it that you don't test your fixes. :).
2013-03-12 11:21:21 +00:00
Tom Hacohen 26a5cdc63b Evas language: Fixed compiler warning about unsigned comparison.
comparison of unsigned expression >= 0 is always true.

Thanks to vtorri for the report.
2013-03-12 11:17:17 +00:00
Cedric BAIL f4ff9a1a3e evas: cleanup header in preparation for Eina_Cow. 2013-03-12 20:09:10 +09:00
Cedric BAIL e07a7ac891 eo: 32bits should be enough for any sane object size. 2013-03-12 20:08:42 +09:00
Cedric BAIL 2a9d4d0765 eo: tired, fix language typo. 2013-03-12 19:23:00 +09:00
Cedric BAIL b309d26e3f eo: add a EO_DEBUG environment variable to get some useful statistic. 2013-03-12 19:17:11 +09:00
Cedric BAIL 4d316f3bec eo, evas, edje: reorder structure for reducing memory usage. 2013-03-12 19:17:11 +09:00
Stefan Schmidt 85810dac8c 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.
2013-03-12 09:59:06 +00:00
Stefan Schmidt 05ba2f98f7 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
2013-03-12 09:59:06 +00:00
Daniel Willmann cea4b6b37b eina: Fix PACKAGE_BUILD_DIR 2013-03-12 09:59:06 +00:00
Cedric BAIL b3dba328cc evas: less warning when disabling fontconfig. 2013-03-12 17:07:50 +09:00
Cedric BAIL cf2f191ff9 ecore: fix typo. 2013-03-12 16:33:33 +09:00
Cedric BAIL 23c320dd34 efl: final decision, if you have systemd use --enable-systemd. 2013-03-12 16:09:09 +09:00
Cedric Bail 32661a5ac4 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.
2013-03-12 15:58:43 +09:00
Cedric Bail 1f95cbdc7b eio: Use _eio_lstat instead of lstat to improve protability. 2013-03-12 15:58:43 +09:00
Cedric BAIL 376e83c0d5 ecore: don't propagate systemd state to child process. 2013-03-12 15:58:43 +09:00
Cedric BAIL c945896c26 ecore: fix compiler warning when compiling with Fibers. 2013-03-12 15:58:42 +09:00