Commit Graph

20922 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 44732c72d9 relax that test.
seems autoconf is stupid and cannot agree on a single variable to
store stuff, if you give ./configure CXX=bla it will change
everything.

Relax the test and just use CXX, if it's set, believe it's usable.



SVN revision: 83008
2013-01-19 15:46:57 +00:00
Gustavo Sverzut Barbieri ee3575e8c8 fix missing linkage with -lrt for shm_open users.
strange that nobody except hdante noticed this before, but it was
missing linkage with -lrt in libemotion (due generic being static) and
ecore_evas/extn.



SVN revision: 83007
2013-01-19 14:59:39 +00:00
Gustavo Sverzut Barbieri eb7abae5c5 remove useless AM_CONDITIONAL
SVN revision: 83006
2013-01-19 14:14:21 +00:00
Jihoon Kim 787ee80d0a ecore_imf: fix typo in ecore_imf_example.c
SVN revision: 83002
2013-01-19 06:18:31 +00:00
Gustavo Sverzut Barbieri 727f9312df fix ecore_evas modules build broken by r82976.
Many thanks to billiob that was persistent enough to make me look at
it while I was calling it "impossible". That stupid variable was being
used in ecore_check_module.m4 :-(



SVN revision: 82999
2013-01-18 23:00:57 +00:00
Gustavo Sverzut Barbieri 15af942bf7 make clean should also delete gcda files from lcov
SVN revision: 82998
2013-01-18 19:50:00 +00:00
Gustavo Sverzut Barbieri 7a60e815e2 fix one more build break due DSO (now gcov-related).
SVN revision: 82997
2013-01-18 19:44:19 +00:00
Gustavo Sverzut Barbieri 68610d3d28 fix c++ check on some platforms.
i guess it was automake change (1.11 x 1.13)


SVN revision: 82996
2013-01-18 19:33:02 +00:00
Gustavo Sverzut Barbieri c6358ff322 fix evas_cserve2 utils linkage and includes.
they are basic eina apps, not evas (use EINA_CFLAGS), they just use
evas_cs2.h for types and enums.

they also must link with eina.



SVN revision: 82995
2013-01-18 19:30:44 +00:00
Gustavo Sverzut Barbieri acb864c987 fix report of test command summary
SVN revision: 82994
2013-01-18 19:15:14 +00:00
Gustavo Sverzut Barbieri 475ed5548d Use -Wl,--no-copy-dt-needed-entries to force DSO everywhere.
-Wl,--no-copy-dt-needed-entries (previously known as --no-add-needed)
 will tell the linker to not recursively copy DT_NEEDED from one
 library. This is the new behavior some distros are wisely using, so
 let's force it everywhere.

 * http://wiki.debian.org/ToolChain/DSOLinking
 * http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking



SVN revision: 82992
2013-01-18 18:54:44 +00:00
Gustavo Sverzut Barbieri e2e25b3d3d fix flags and libs ordering.
linker (ld) is that kind of tool that argument order matters, if you
-Wl,--as-needed, it will be worth just for libraries following
it. Then we need to use EFL_LDFLAGS before everything else, otherwise
it end being useless.



SVN revision: 82991
2013-01-18 18:51:16 +00:00
Tom Hacohen 21a6a84667 Eo: Changed NDEBUG to EO_DEBUG.
This was stupid from the start, but now it casuse even more issues.
We'll have to just add a configure option to it when the time comes.

SVN revision: 82989
2013-01-18 16:57:57 +00:00
Tom Hacohen 7b9e24bef4 Eo tests: Run all the eo testing suites.
SVN revision: 82988
2013-01-18 16:13:34 +00:00
Tom Hacohen 37efa5efd7 Eo tests: Fix function overrides test to not test some things when NDEBUG is used.
SVN revision: 82987
2013-01-18 16:13:30 +00:00
Stefan Schmidt 506a7bc1fe efl/imf test: Remove unused modules varibale.
If you copy and paste functions make sure you adjust for all variables you use. :)

SVN revision: 82984
2013-01-18 15:45:49 +00:00
Gustavo Sverzut Barbieri 331f3583c7 optimize check for compiler and linker flags.
do it once with all flags and just test individual if fails. Saves
dozen of compiler/linker runs.



SVN revision: 82983
2013-01-18 15:25:00 +00:00
Gustavo Sverzut Barbieri ab07b8bd5f fix DSO spotted by stefan
SVN revision: 82982
2013-01-18 14:45:44 +00:00
Stefan Schmidt 4d7909ae3a efl/eina tests: Allow libcheck 0.9.8 usage.
This commit is for all the poor souls that see no need to update their system
each day with everything the world may offer just to be sure they have the
latest. This commit is for people that like the idea of having something
working when it did so the day before. Kudos fot Tom for pointing out the
function.

SVN revision: 82980
2013-01-18 14:32:08 +00:00
Gustavo Sverzut Barbieri fbb4e88925 whenever doing external modules and similar, use .pc module_arch.
SVN revision: 82977
2013-01-18 13:51:34 +00:00
Gustavo Sverzut Barbieri db38bdd6de cosmetic: simplify and colorize features.
EFL_ADD_FEATURE(PKG, NAME, [VALUE]) will do an amazing work to produce
colored output in a standard way.

if value == yes, it's green and shows "+name"
if value == no, it's red and shows "-name"
else it shows cyan and shows "name=value"

if not provided, will use ${have_name:-${want_name}}



SVN revision: 82976
2013-01-18 13:48:14 +00:00
Boris Faure ac4df627f7 efl: export vmin/vmic in edje.pc
It is used to know where to install external modules.

SVN revision: 82974
2013-01-18 13:01:36 +00:00
Jihoon Kim 24079fcf54 edje entry: remove ecore_imf_context_reset in mouse up event because it's useless.
SVN revision: 82967
2013-01-18 08:08:30 +00:00
Cedric BAIL 8ad3a398ae efl: add infrastructure to handle broken X/driver/touchscreen.
SVN revision: 82964
2013-01-18 05:26:46 +00:00
Ulisses Furquim 34cc6a1b15 evas/async_render: fix refcount handling of scaled image entries
SVN revision: 82961
2013-01-17 22:14:05 +00:00
Henrique Dante de Almeida de6fa1ea64 edbus: Fix list element deletion on _interface_free
SPANK demarchi

Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82952
2013-01-17 22:08:52 +00:00
Gustavo Sverzut Barbieri 12a0f9388a clean some whitelines from already lengthly configure file.
SVN revision: 82951
2013-01-17 20:58:07 +00:00
Gustavo Sverzut Barbieri b830048a64 god... it was using localtime, so should we when we test.
SVN revision: 82950
2013-01-17 20:36:52 +00:00
Gustavo Sverzut Barbieri 69650dd84c eeze: remove warning and add a bit more test.
it's basically not testing anything, just calling the API :-( Added
some tests that check if the listed type is of that type (mouse,
touchpad, joystick).



SVN revision: 82949
2013-01-17 20:31:06 +00:00
Gustavo Sverzut Barbieri 09e5bc40ef remove unused result warning
SVN revision: 82948
2013-01-17 20:22:23 +00:00
Gustavo Sverzut Barbieri 1a0afcbee4 eina tests pass, enable them again.
SVN revision: 82947
2013-01-17 20:11:51 +00:00
Gustavo Sverzut Barbieri 5f8c760406 fix eina_binshare_add_length() using EINA_PURE.
Amazingly this was caught by a test (eina_binshare_small) that was
failing... Who said we didn't had test?! :-P



SVN revision: 82946
2013-01-17 20:10:15 +00:00
Gustavo Sverzut Barbieri 14ff8920a6 eina/tests: fix and improve eina value tests.
improve: use ck_assert_str_eq() instead of fail_unless(strcmp() == 0),
it's shorter and will print a proper error message on failure.

fix: timeval changed from seconds to asctime(), cope with that.

fix: hash tests now search for substrings and thus are not prone to
algorithm changes. the format is pretty simple to avoid false results.



SVN revision: 82945
2013-01-17 19:44:13 +00:00
Gustavo Sverzut Barbieri 9768d40f85 fix magic check tests
SVN revision: 82944
2013-01-17 19:30:54 +00:00
Gustavo Sverzut Barbieri 94f2f63228 eina/tests: fix some warnings and use better ck macros.
SVN revision: 82943
2013-01-17 19:13:24 +00:00
Gustavo Sverzut Barbieri 88f2d26608 don't mix private and public libraries dependencies.
when I fixed eina's dependency on -lpthread I used all the libraries
eina links to. But we should just do with -lpthread as it's a public
dependency... that was in eina.pc.in and I missed.

Now we have EFL_ADD_PUBLIC_LIBS() that will register for
requirements_public_libs_name and use internally when eina is used.

This should also fix the problem by Arvind with gcrypt.



SVN revision: 82942
2013-01-17 18:55:32 +00:00
Gustavo Sverzut Barbieri c757cba26f disable edbus tests that requires a daemon.
demarchi should fix this after his honeymoon :-P



SVN revision: 82941
2013-01-17 17:00:18 +00:00
Tom Hacohen 6aa4eb7d86 Evas text test: Fixed the test to work with Clang.
Apparently L'' doesn't work there.

SVN revision: 82940
2013-01-17 16:58:23 +00:00
Gustavo Sverzut Barbieri eb7a8feef5 try to fix --with-crypto=gnutls due libcrypt-config usage.
Seems AC_PATH_GENERIC() wasn't present somewhere, then I'm adding the
AM_PATH_LIBGCRYPT() provided by libcrypt (I need to include it in m4/
otherwise it will fail for people doing ./autogen.sh without libgcrypt
installed).

It works on my machine, but `libgcrypt-config --libs` output is just
"-lgcrypt -lgpg-error", including no -L.



SVN revision: 82939
2013-01-17 16:47:36 +00:00
Leandro Pereira 7d9edad225 evas/engines/gl_sdl: Build and warning fixes.
SVN revision: 82937
2013-01-17 14:32:05 +00:00
Leandro Pereira f52f44e7a2 evas_render: Measure time spent while rendering in sync and async modes
SVN revision: 82936
2013-01-17 14:31:34 +00:00
Carsten Haitzler 56a9ccefb5 a few spots missed for sync with async thread.
SVN revision: 82932
2013-01-17 11:10:27 +00:00
Cedric BAIL c8ff22bf5b efl: let's be nice on NULL.
SVN revision: 82930
2013-01-17 10:29:31 +00:00
Daniel Willmann 4010d3cefe ecore_audio tests: Use the correct libcheck functions
Undefined symbols are not nice to have

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 82929
2013-01-17 10:29:19 +00:00
Cedric BAIL 58291fb022 efl: let's use text_prop cache properly.
Now evas_object_textgrid_render account for 1% of the benchmark.


SVN revision: 82928
2013-01-17 10:28:18 +00:00
Cedric BAIL b395af5e7a efl: stupid micro optimization.
This single test accounted for 1% of my terminology benchmark.
I am considering moving evas_string_char_next_get and
eina_unicode_utf8_get_next to become inline as their function
entry/exit point account for 3% of the same benchmark.

The biggest win would be to get rid of the memcpy _termpty_text_copy
that account for 16%.

In the micro optimization part, we also still do to much malloc
in font_draw_prepare as we don't recycle the array there and account
for 3% of the benchmark in malloc/free there. In the same ballpark
_text_save_top account for 2% of the time in malloc/free.

In that same benchmark, evas_object_textgrid_render account for 5%
where 4% of its time is spend in evas_common_font_draw_prepare. At this
point I am not sure that rewriting textgrid is gona help us at all. We
will win almost as much by just inlining the get_next things in evas
and eina for a minute of development time.


SVN revision: 82927
2013-01-17 09:38:49 +00:00
Cedric BAIL 4c828392da efl: roll in first use of Eina_Cow for Evas_Object.proxy.
Expedite biggest test memory win 100KB, average 10KB.
No slow down in proxy test (+/-3%). Speed up in most other
case (average speed up is +5%), likely due to much more
cache hit.

Elementary test show a win between 100KB to 600KB depending
on the test you are considering.

Now, you can see how I intend to use Eina_Cow and the expected
win we can have from it. I don't intend to do more for the
rest of the week so you have time to comment.


SVN revision: 82924
2013-01-17 07:21:06 +00:00
Cedric BAIL 515282006f efl: Add Eina_Cow_Data...
SVN revision: 82923
2013-01-17 06:51:35 +00:00
Jihoon Kim 7d237bcf01 edje entry: cursor position and location will be passed when it's really changed in case of mouse down, move, and up event.
SVN revision: 82922
2013-01-17 05:32:17 +00:00
Cedric BAIL 6e9c28c147 efl: this function are used in evas canvas object.
SVN revision: 82917
2013-01-17 04:06:22 +00:00