platform/upstream/efl.git
11 years agotry to simplify internal library dependency.
Gustavo Sverzut Barbieri [Tue, 22 Jan 2013 21:58:25 +0000 (21:58 +0000)]
try to simplify internal library dependency.

Just use the lib/name/libname.la as libtool should be responsible to
emit dependencies to compiler when it evaluates.

This should reduce over-linking, also reducing the compile lines in
our verbose builds ;-)

NOTE: this seems to work on Fedora 18 (which also bitch about DSO), so
hopefully works on Debian and Ubuntu (and elsewhere).

Please revert if breaks builds!

SVN revision: 83105

11 years agoefl: Unbreak evas gif-loader animation support
Daniel Willmann [Tue, 22 Jan 2013 19:00:08 +0000 (19:00 +0000)]
efl: Unbreak evas gif-loader animation support

Always returning -1 for the frame duration does not have the desired
effect. Fix the logic checking whether eina_file_open has succeeded.

Animated GIFs play way too fast without this.

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

11 years agoefl/edbus: Fix edbus_name_owner_changed() when bus name is not on bus
José Roberto de Souza [Tue, 22 Jan 2013 13:34:34 +0000 (13:34 +0000)]
efl/edbus: Fix edbus_name_owner_changed() when bus name is not on bus

If we pass the last argument as TRUE, that means user want to know the actual
bus id of the bus name and if the bus name is not registered it never notify
the user.

This bug was insert when fixing another one, because of that there more code
here to fix the previous bug too.

Patch by: José Roberto de Souza <zezsouza@gmail.com>

SVN revision: 83082

11 years agoefl/edbus: Init ecore on test suites
José Roberto de Souza [Tue, 22 Jan 2013 13:34:25 +0000 (13:34 +0000)]
efl/edbus: Init ecore on test suites

Patch by: José Roberto de Souza <zezsouza@gmail.com>

SVN revision: 83081

11 years agoefl: another easy to kill, almost 5% in memory save per Evas_Object_Image.
Cedric BAIL [Tue, 22 Jan 2013 10:59:14 +0000 (10:59 +0000)]
efl: another easy to kill, almost 5% in memory save per Evas_Object_Image.

SVN revision: 83073

11 years agoefl: remove a forgotten deprecated call.
Cedric BAIL [Tue, 22 Jan 2013 10:47:47 +0000 (10:47 +0000)]
efl: remove a forgotten deprecated call.

SVN revision: 83069

11 years agoefl: remove useless code.
Cedric BAIL [Tue, 22 Jan 2013 09:58:36 +0000 (09:58 +0000)]
efl: remove useless code.

SVN revision: 83065

11 years agorebase dns.c against upstream
Mike Blumenkrantz [Tue, 22 Jan 2013 08:01:13 +0000 (08:01 +0000)]
rebase dns.c against upstream

SVN revision: 83058

11 years agoApplied on-demand memory allocation policy for Evas GL Surface
Sung Park [Tue, 22 Jan 2013 07:00:12 +0000 (07:00 +0000)]
Applied on-demand memory allocation policy for Evas GL Surface
for direct rendering optimization.  For direct rendering in EvasGL,
it falls back to FBO rendering if the conditions are not met.  Before,
the fallback resources were created in the beginning but now they are
created and destroyed on need base.

SVN revision: 83057

11 years agoefl: move Evas_Object map data to there own Eina_Cow pointer.
Cedric BAIL [Tue, 22 Jan 2013 03:56:00 +0000 (03:56 +0000)]
efl: move Evas_Object map data to there own Eina_Cow pointer.

NOTE: Overall speedup of 7%. No benchmark on memory consumption yet
as they are still running ask me directly to get the number later
today.

SVN revision: 83052

11 years agoefl: simplify logic of eina_cow.
Cedric BAIL [Tue, 22 Jan 2013 03:52:55 +0000 (03:52 +0000)]
efl: simplify logic of eina_cow.

SVN revision: 83051

11 years agoefl: not sure of that one, but remove use of eina_safety_check in inline function.
Cedric BAIL [Tue, 22 Jan 2013 02:14:57 +0000 (02:14 +0000)]
efl: not sure of that one, but remove use of eina_safety_check in inline function.

SVN revision: 83050

11 years agoefl: missing deprecated user.
Cedric BAIL [Tue, 22 Jan 2013 02:14:07 +0000 (02:14 +0000)]
efl: missing deprecated user.

SVN revision: 83049

11 years agoefl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
Cedric BAIL [Tue, 22 Jan 2013 02:00:55 +0000 (02:00 +0000)]
efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.

SVN revision: 83048

11 years agoefl/ecore_evas/wayland: Report the requested window width x height.
Rafael Antognolli [Mon, 21 Jan 2013 16:05:12 +0000 (16:05 +0000)]
efl/ecore_evas/wayland: Report the requested window width x height.

Before this commit, when using any of the wayland backends, if the user
requested an ecore_evas window of width x height, the reported size of
the window would include the frames width and height.

Now the requested size is stored on the ecore_evas and reported when
ecore_evas_geometry_get() is used, although the ecore_evas is still
created with additional space for the frame area.

This is one of the reasons causing bug #1673.

SVN revision: 83042

11 years agoefl/evas/examples: Remove framespace offset from example.
Rafael Antognolli [Mon, 21 Jan 2013 16:05:08 +0000 (16:05 +0000)]
efl/evas/examples: Remove framespace offset from example.

The example should not account for the framespace, since this is handled
inside ecore_evas already.

This change partially fix #1673.

SVN revision: 83041

11 years agoefl/evas: Use "with_opengl" option instead of "gl_flavor_gles".
Rafael Antognolli [Mon, 21 Jan 2013 16:05:02 +0000 (16:05 +0000)]
efl/evas: Use "with_opengl" option instead of "gl_flavor_gles".

The latter got replaced by the former one. This fix the building of some
GL engines when --with-opengl=es is used.

SVN revision: 83040

11 years agoefl: inline eina_unicode_utf8_get_next.
Cedric BAIL [Mon, 21 Jan 2013 09:37:14 +0000 (09:37 +0000)]
efl: inline eina_unicode_utf8_get_next.

SVN revision: 83035

11 years agoefl: group more map stuff in the same sub structure.
Cedric BAIL [Mon, 21 Jan 2013 09:36:19 +0000 (09:36 +0000)]
efl: group more map stuff in the same sub structure.

SVN revision: 83034

11 years agoedje_entry: fix warning by clang
Jihoon Kim [Mon, 21 Jan 2013 07:12:39 +0000 (07:12 +0000)]
edje_entry: fix warning by clang

SVN revision: 83033

11 years agofix ximage get error sync problem.
Carsten Haitzler [Mon, 21 Jan 2013 04:31:39 +0000 (04:31 +0000)]
fix ximage get error sync problem.

SVN revision: 83029

11 years agoefl: cleanup Evas_Object_Protected_Data.
Cedric BAIL [Mon, 21 Jan 2013 03:51:58 +0000 (03:51 +0000)]
efl: cleanup Evas_Object_Protected_Data.

SVN revision: 83028

11 years agooops - forgot to force 24bpp to 32bpp in drm swapper.
Carsten Haitzler [Mon, 21 Jan 2013 03:37:46 +0000 (03:37 +0000)]
oops - forgot to force 24bpp to 32bpp in drm swapper.

SVN revision: 83027

11 years agoefl: use new eina_cow macro to clean stuff a little.
Cedric BAIL [Mon, 21 Jan 2013 03:12:39 +0000 (03:12 +0000)]
efl: use new eina_cow macro to clean stuff a little.

SVN revision: 83026

11 years agoefl: add eina_cow helper macro.
Cedric BAIL [Mon, 21 Jan 2013 03:11:29 +0000 (03:11 +0000)]
efl: add eina_cow helper macro.

SVN revision: 83025

11 years agosome clang warning cleanups i forgot to commit
Gustavo Sverzut Barbieri [Mon, 21 Jan 2013 00:22:35 +0000 (00:22 +0000)]
some clang warning cleanups i forgot to commit

SVN revision: 83024

11 years agofix bug spotted by clang
Gustavo Sverzut Barbieri [Sun, 20 Jan 2013 14:25:34 +0000 (14:25 +0000)]
fix bug spotted by clang

SVN revision: 83017

11 years agofix bug spotted by clang
Gustavo Sverzut Barbieri [Sun, 20 Jan 2013 14:25:11 +0000 (14:25 +0000)]
fix bug spotted by clang

SVN revision: 83016

11 years agofix bug spotted by clang.
Gustavo Sverzut Barbieri [Sun, 20 Jan 2013 14:24:39 +0000 (14:24 +0000)]
fix bug spotted by clang.

SVN revision: 83015

11 years agoefl: fix leak in eina_cow.
Cedric BAIL [Sun, 20 Jan 2013 11:02:48 +0000 (11:02 +0000)]
efl: fix leak in eina_cow.

Patch by Paulo Alcantara <pcacjr@zytor.com>.

SVN revision: 83014

11 years agoeet: eet_connection.c fixed memory allocation Changed the usage of alloca() to malloc...
Aharon Hillel [Sun, 20 Jan 2013 08:43:29 +0000 (08:43 +0000)]
eet: eet_connection.c fixed memory allocation Changed the usage of alloca() to malloc() to support big-mem-alloc This was required to support Clouseau

Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
SVN revision: 83010

11 years agorelax that test.
Gustavo Sverzut Barbieri [Sat, 19 Jan 2013 15:46:57 +0000 (15:46 +0000)]
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

11 years agofix missing linkage with -lrt for shm_open users.
Gustavo Sverzut Barbieri [Sat, 19 Jan 2013 14:59:39 +0000 (14:59 +0000)]
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

11 years agoremove useless AM_CONDITIONAL
Gustavo Sverzut Barbieri [Sat, 19 Jan 2013 14:14:21 +0000 (14:14 +0000)]
remove useless AM_CONDITIONAL

SVN revision: 83006

11 years agoecore_imf: fix typo in ecore_imf_example.c
Jihoon Kim [Sat, 19 Jan 2013 06:18:31 +0000 (06:18 +0000)]
ecore_imf: fix typo in ecore_imf_example.c

SVN revision: 83002

11 years agofix ecore_evas modules build broken by r82976.
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 23:00:57 +0000 (23:00 +0000)]
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

11 years agomake clean should also delete gcda files from lcov
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:50:00 +0000 (19:50 +0000)]
make clean should also delete gcda files from lcov

SVN revision: 82998

11 years agofix one more build break due DSO (now gcov-related).
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:44:19 +0000 (19:44 +0000)]
fix one more build break due DSO (now gcov-related).

SVN revision: 82997

11 years agofix c++ check on some platforms.
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:33:02 +0000 (19:33 +0000)]
fix c++ check on some platforms.

i guess it was automake change (1.11 x 1.13)

SVN revision: 82996

11 years agofix evas_cserve2 utils linkage and includes.
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:30:44 +0000 (19:30 +0000)]
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

11 years agofix report of test command summary
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 19:15:14 +0000 (19:15 +0000)]
fix report of test command summary

SVN revision: 82994

11 years agoUse -Wl,--no-copy-dt-needed-entries to force DSO everywhere.
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 18:54:44 +0000 (18:54 +0000)]
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

11 years agofix flags and libs ordering.
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 18:51:16 +0000 (18:51 +0000)]
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

11 years agoEo: Changed NDEBUG to EO_DEBUG.
Tom Hacohen [Fri, 18 Jan 2013 16:57:57 +0000 (16:57 +0000)]
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

11 years agoEo tests: Run all the eo testing suites.
Tom Hacohen [Fri, 18 Jan 2013 16:13:34 +0000 (16:13 +0000)]
Eo tests: Run all the eo testing suites.

SVN revision: 82988

11 years agoEo tests: Fix function overrides test to not test some things when NDEBUG is used.
Tom Hacohen [Fri, 18 Jan 2013 16:13:30 +0000 (16:13 +0000)]
Eo tests: Fix function overrides test to not test some things when NDEBUG is used.

SVN revision: 82987

11 years agoefl/imf test: Remove unused modules varibale.
Stefan Schmidt [Fri, 18 Jan 2013 15:45:49 +0000 (15:45 +0000)]
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

11 years agooptimize check for compiler and linker flags.
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 15:25:00 +0000 (15:25 +0000)]
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

11 years agofix DSO spotted by stefan
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 14:45:44 +0000 (14:45 +0000)]
fix DSO spotted by stefan

SVN revision: 82982

11 years agoefl/eina tests: Allow libcheck 0.9.8 usage.
Stefan Schmidt [Fri, 18 Jan 2013 14:32:08 +0000 (14:32 +0000)]
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

11 years agowhenever doing external modules and similar, use .pc module_arch.
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 13:51:34 +0000 (13:51 +0000)]
whenever doing external modules and similar, use .pc module_arch.

SVN revision: 82977

11 years agocosmetic: simplify and colorize features.
Gustavo Sverzut Barbieri [Fri, 18 Jan 2013 13:48:14 +0000 (13:48 +0000)]
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

11 years agoefl: export vmin/vmic in edje.pc
Boris Faure [Fri, 18 Jan 2013 13:01:36 +0000 (13:01 +0000)]
efl: export vmin/vmic in edje.pc

It is used to know where to install external modules.

SVN revision: 82974

11 years agoedje entry: remove ecore_imf_context_reset in mouse up event because it's useless.
Jihoon Kim [Fri, 18 Jan 2013 08:08:30 +0000 (08:08 +0000)]
edje entry: remove ecore_imf_context_reset in mouse up event because it's useless.

SVN revision: 82967

11 years agoefl: add infrastructure to handle broken X/driver/touchscreen.
Cedric BAIL [Fri, 18 Jan 2013 05:26:46 +0000 (05:26 +0000)]
efl: add infrastructure to handle broken X/driver/touchscreen.

SVN revision: 82964

11 years agoevas/async_render: fix refcount handling of scaled image entries
Ulisses Furquim [Thu, 17 Jan 2013 22:14:05 +0000 (22:14 +0000)]
evas/async_render: fix refcount handling of scaled image entries

SVN revision: 82961

11 years agoedbus: Fix list element deletion on _interface_free
Henrique Dante de Almeida [Thu, 17 Jan 2013 22:08:52 +0000 (22:08 +0000)]
edbus: Fix list element deletion on _interface_free

SPANK demarchi

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

SVN revision: 82952

11 years agoclean some whitelines from already lengthly configure file.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:58:07 +0000 (20:58 +0000)]
clean some whitelines from already lengthly configure file.

SVN revision: 82951

11 years agogod... it was using localtime, so should we when we test.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:36:52 +0000 (20:36 +0000)]
god... it was using localtime, so should we when we test.

SVN revision: 82950

11 years agoeeze: remove warning and add a bit more test.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:31:06 +0000 (20:31 +0000)]
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

11 years agoremove unused result warning
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:22:23 +0000 (20:22 +0000)]
remove unused result warning

SVN revision: 82948

11 years agoeina tests pass, enable them again.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:11:51 +0000 (20:11 +0000)]
eina tests pass, enable them again.

SVN revision: 82947

11 years agofix eina_binshare_add_length() using EINA_PURE.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 20:10:15 +0000 (20:10 +0000)]
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

11 years agoeina/tests: fix and improve eina value tests.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 19:44:13 +0000 (19:44 +0000)]
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

11 years agofix magic check tests
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 19:30:54 +0000 (19:30 +0000)]
fix magic check tests

SVN revision: 82944

11 years agoeina/tests: fix some warnings and use better ck macros.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 19:13:24 +0000 (19:13 +0000)]
eina/tests: fix some warnings and use better ck macros.

SVN revision: 82943

11 years agodon't mix private and public libraries dependencies.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 18:55:32 +0000 (18:55 +0000)]
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

11 years agodisable edbus tests that requires a daemon.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 17:00:18 +0000 (17:00 +0000)]
disable edbus tests that requires a daemon.

demarchi should fix this after his honeymoon :-P

SVN revision: 82941

11 years agoEvas text test: Fixed the test to work with Clang.
Tom Hacohen [Thu, 17 Jan 2013 16:58:23 +0000 (16:58 +0000)]
Evas text test: Fixed the test to work with Clang.

Apparently L'' doesn't work there.

SVN revision: 82940

11 years agotry to fix --with-crypto=gnutls due libcrypt-config usage.
Gustavo Sverzut Barbieri [Thu, 17 Jan 2013 16:47:36 +0000 (16:47 +0000)]
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

11 years agoevas/engines/gl_sdl: Build and warning fixes.
Leandro Pereira [Thu, 17 Jan 2013 14:32:05 +0000 (14:32 +0000)]
evas/engines/gl_sdl: Build and warning fixes.

SVN revision: 82937

11 years agoevas_render: Measure time spent while rendering in sync and async modes
Leandro Pereira [Thu, 17 Jan 2013 14:31:34 +0000 (14:31 +0000)]
evas_render: Measure time spent while rendering in sync  and async modes

SVN revision: 82936

11 years agoa few spots missed for sync with async thread.
Carsten Haitzler [Thu, 17 Jan 2013 11:10:27 +0000 (11:10 +0000)]
a few spots missed for sync with async thread.

SVN revision: 82932

11 years agoefl: let's be nice on NULL.
Cedric BAIL [Thu, 17 Jan 2013 10:29:31 +0000 (10:29 +0000)]
efl: let's be nice on NULL.

SVN revision: 82930

11 years agoecore_audio tests: Use the correct libcheck functions
Daniel Willmann [Thu, 17 Jan 2013 10:29:19 +0000 (10:29 +0000)]
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

11 years agoefl: let's use text_prop cache properly.
Cedric BAIL [Thu, 17 Jan 2013 10:28:18 +0000 (10:28 +0000)]
efl: let's use text_prop cache properly.

Now evas_object_textgrid_render account for 1% of the benchmark.

SVN revision: 82928

11 years agoefl: stupid micro optimization.
Cedric BAIL [Thu, 17 Jan 2013 09:38:49 +0000 (09:38 +0000)]
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

11 years agoefl: roll in first use of Eina_Cow for Evas_Object.proxy.
Cedric BAIL [Thu, 17 Jan 2013 07:21:06 +0000 (07:21 +0000)]
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

11 years agoefl: Add Eina_Cow_Data...
Cedric BAIL [Thu, 17 Jan 2013 06:51:35 +0000 (06:51 +0000)]
efl: Add Eina_Cow_Data...

SVN revision: 82923

11 years agoedje entry: cursor position and location will be passed when it's really changed...
Jihoon Kim [Thu, 17 Jan 2013 05:32:17 +0000 (05:32 +0000)]
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

11 years agoefl: this function are used in evas canvas object.
Cedric BAIL [Thu, 17 Jan 2013 04:06:22 +0000 (04:06 +0000)]
efl: this function are used in evas canvas object.

SVN revision: 82917

11 years agoefl: disable for now the libgcrypt check so thinks build.
Cedric BAIL [Thu, 17 Jan 2013 02:36:09 +0000 (02:36 +0000)]
efl: disable for now the libgcrypt check so thinks build.

SVN revision: 82916

11 years agoefl: revert r82914 which was a revert of r82909.
Cedric BAIL [Thu, 17 Jan 2013 02:35:29 +0000 (02:35 +0000)]
efl: revert r82914 which was a revert of r82909.

SVN revision: 82915

11 years agoefl: revert r82909 as it break build.
Cedric BAIL [Thu, 17 Jan 2013 01:52:32 +0000 (01:52 +0000)]
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

11 years agoevas/async_render: fix scalecache integration
Ulisses Furquim [Wed, 16 Jan 2013 22:32:39 +0000 (22:32 +0000)]
evas/async_render: fix scalecache integration

Note: scalecache is really crazy stuff, we should rewrite it or get rid of it.

SVN revision: 82912

11 years agoadd missing licenses references, fix copyright, add link result notice.
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 21:48:14 +0000 (21:48 +0000)]
add missing licenses references, fix copyright, add link result notice.

SVN revision: 82911

11 years agoadd missing authors.
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 21:47:37 +0000 (21:47 +0000)]
add missing authors.

Thanks to Doug Newgard.

SVN revision: 82910

11 years agofix internal library linkage to pull in dependencies.
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 21:25:58 +0000 (21:25 +0000)]
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

11 years agoedbus: omit InterfacesAdded/InterfacesRemoved signal if we can
Lucas De Marchi [Wed, 16 Jan 2013 21:18:07 +0000 (21:18 +0000)]
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

11 years agoedbus: Fix reply to GetManagedObjects containing bogus interface
Lucas De Marchi [Wed, 16 Jan 2013 21:18:02 +0000 (21:18 +0000)]
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

11 years agoedbus: fix attaching object manager if user registered it himself
Lucas De Marchi [Wed, 16 Jan 2013 21:17:57 +0000 (21:17 +0000)]
edbus: fix attaching object manager if user registered it himself

SVN revision: 82905

11 years agoefl: update gitignore
Lucas De Marchi [Wed, 16 Jan 2013 21:17:52 +0000 (21:17 +0000)]
efl: update gitignore

SVN revision: 82904

11 years agoedbus: simplify and fix ObjectManager
Lucas De Marchi [Wed, 16 Jan 2013 21:17:45 +0000 (21:17 +0000)]
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

11 years agoedbus: rename and yodafy functions
Lucas De Marchi [Wed, 16 Jan 2013 21:17:06 +0000 (21:17 +0000)]
edbus: rename and yodafy functions

SVN revision: 82902

11 years agoeeze's mount shouldn't be optional.
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 21:05:19 +0000 (21:05 +0000)]
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

11 years agobe strict about c++ compiler.
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 20:53:35 +0000 (20:53 +0000)]
be strict about c++ compiler.

SVN revision: 82900

11 years agoMake ecore_cocoa use the EFL_LIB_START_OPTIONAL(), remove cruft, add TODO.
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 20:43:49 +0000 (20:43 +0000)]
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

11 years agoforce building some extras to test release (distcheck).
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 19:55:41 +0000 (19:55 +0000)]
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

11 years agofix sdl warning and cosmetic change.
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 19:47:51 +0000 (19:47 +0000)]
fix sdl warning and cosmetic change.

fix warning on unsigned x signed type comparison.

cosmetic: use EINA_C_ARRAY_LENGTH().

SVN revision: 82897

11 years agofix --enable-sdl compilation.
Gustavo Sverzut Barbieri [Wed, 16 Jan 2013 19:47:03 +0000 (19:47 +0000)]
fix --enable-sdl compilation.

Patch by Arvind R.

SVN revision: 82896