Commit Graph

20902 Commits

Author SHA1 Message Date
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
Cedric BAIL 6242f4543c efl: disable for now the libgcrypt check so thinks build.
SVN revision: 82916
2013-01-17 02:36:09 +00:00
Cedric BAIL 098a745c4b efl: revert r82914 which was a revert of r82909.
SVN revision: 82915
2013-01-17 02:35:29 +00:00
Cedric BAIL 0bcbfcf4c1 efl: revert r82909 as it break build.
Symptom are dependencies is full of -lm -lrt -lsomething that can't
be found in the Makefile target.


SVN revision: 82914
2013-01-17 01:52:32 +00:00
Ulisses Furquim d8b2bce148 evas/async_render: fix scalecache integration
Note: scalecache is really crazy stuff, we should rewrite it or get rid of it.



SVN revision: 82912
2013-01-16 22:32:39 +00:00
Gustavo Sverzut Barbieri 6c3bf00abf add missing licenses references, fix copyright, add link result notice.
SVN revision: 82911
2013-01-16 21:48:14 +00:00
Gustavo Sverzut Barbieri 52f148683a add missing authors.
Thanks to Doug Newgard.


SVN revision: 82910
2013-01-16 21:47:37 +00:00
Gustavo Sverzut Barbieri 2554b34a92 fix internal library linkage to pull in dependencies.
some libraries will need to pull more than its own .so, for example
Eina.h includes eina_lock.h that includes eina_inline_lock_posix.x
that will use pthread calls directly from user code.

This was already listed in eina.pc, but not being present in
USE_EINA_LIBS.



SVN revision: 82909
2013-01-16 21:25:58 +00:00
Lucas De Marchi ae8761f809 edbus: omit InterfacesAdded/InterfacesRemoved signal if we can
If we add and remove the interfaces in the same mainloop iteration,
there's no point in sending the signals at all. Let's just omit them
since it's likely because the rest of the intialization for having them
failed.



SVN revision: 82907
2013-01-16 21:18:07 +00:00
Lucas De Marchi 57ac8b0b95 edbus: Fix reply to GetManagedObjects containing bogus interface
If ther interface was just added on this mainloop iteration we shouldn't
put it in the reply to GetManagedObjects because we still didn't send
the InterfacesAdded signal for that interface.



SVN revision: 82906
2013-01-16 21:18:02 +00:00
Lucas De Marchi 3c308503ea edbus: fix attaching object manager if user registered it himself
SVN revision: 82905
2013-01-16 21:17:57 +00:00
Lucas De Marchi ba3be672de efl: update gitignore
SVN revision: 82904
2013-01-16 21:17:52 +00:00
Lucas De Marchi 36e57ca7b2 edbus: simplify and fix ObjectManager
Give the object that originated the signal to use in the idler for
changes in ther interfaces. This greatly simplifies the code,
particularly while removing.

Fix some issues in the previous implementations. There are some races
and corner cases that need to be taken into account in ObjectManager:

 - Adding and removing an interface in the same mainloop iteration. We
   were previously sending only the signal InterfacesRemoved
 - When we dettach an object manager we need to flush its signals
 - Since now we store the iface_{added,removed} in the object in which
   they happen we also need to flush out signals when attaching an
   ObjectManager, but let the previous ObjectManager send the signals
 - When we free an Object also flush the changes. Previously we were
   omitting the signal.

There are still some places to fix and some improvements to be made. I
let some TODOs and FIXMEs there.



SVN revision: 82903
2013-01-16 21:17:45 +00:00
Lucas De Marchi 15cbe4a60d edbus: rename and yodafy functions
SVN revision: 82902
2013-01-16 21:17:06 +00:00
Gustavo Sverzut Barbieri fadeb72831 eeze's mount shouldn't be optional.
eeze is just used on linux, where libmount exists and then we
shouldn't make this an option so we can rely on eeze's mount being
there.

(the code keeps the #ifdef's for a while, in case we need to revert that later)



SVN revision: 82901
2013-01-16 21:05:19 +00:00
Gustavo Sverzut Barbieri 9463885e78 be strict about c++ compiler.
SVN revision: 82900
2013-01-16 20:53:35 +00:00
Gustavo Sverzut Barbieri bc6f4c0b8d Make ecore_cocoa use the EFL_LIB_START_OPTIONAL(), remove cruft, add TODO.
It seems that Cocoa engines were not working, so they're still disabled.



SVN revision: 82899
2013-01-16 20:43:49 +00:00
Gustavo Sverzut Barbieri 017061a682 force building some extras to test release (distcheck).
Some engines are disabled by default, yet they should be checked
before the release. I'd say everything should be tested by make
distcheck, but these are very common:
  - xine
  - sdl
  - harfbuzz

Maybe add wayland, gesture and xinput22 (X) to the list?



SVN revision: 82898
2013-01-16 19:55:41 +00:00
Gustavo Sverzut Barbieri 869966a136 fix sdl warning and cosmetic change.
fix warning on unsigned x signed type comparison.

cosmetic: use EINA_C_ARRAY_LENGTH().



SVN revision: 82897
2013-01-16 19:47:51 +00:00
Gustavo Sverzut Barbieri 4d310f96ff fix --enable-sdl compilation.
Patch by Arvind R.


SVN revision: 82896
2013-01-16 19:47:03 +00:00
Gustavo Sverzut Barbieri cf1699fe22 each module install headers in their own directory.
SVN revision: 82895
2013-01-16 19:28:30 +00:00