Commit Graph

694 Commits

Author SHA1 Message Date
Christopher Michael 3888089a7f Remove old randr code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83437
2013-01-29 14:48:08 +00:00
Carsten Haitzler a349bdc734 fix edje cache miss
SVN revision: 83431
2013-01-29 13:48:15 +00:00
Carsten Haitzler bf9f42be90 add @since.
SVN revision: 83419
2013-01-29 08:24:21 +00:00
Carsten Haitzler 29ebec4bfb MINOR feature... not worth changelogging - add send event flag to
ecore-x-hide event.



SVN revision: 83418
2013-01-29 08:23:40 +00:00
Aharon Hillel 028f059d32 Clouseau-Eo integration: Added debug info functions.
From now, classes implementing the Eo function with id
EO_BASE_SUB_ID_DBG_INFO_GET will be able to show in Clouseau their own
specific information.
Information contents is controlled by the class itself and no more
by Clouseau. Basic types and lists are supported..

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

SVN revision: 83410
2013-01-29 06:36:23 +00:00
Jihoon Kim ed8e0f222a efl/ecore_imf: remove trailing whitespace in Ecore_IMF.h
SVN revision: 83409
2013-01-29 06:17:13 +00:00
Cedric BAIL da4efb7b56 efl/edje: one less use of evas_object_type_get.
SVN revision: 83408
2013-01-29 06:01:42 +00:00
Jihoon Kim 3291f02bff efl/ecore_imf: fix wrong commit. name, address type shouldn't be uploaded :(
SVN revision: 83403
2013-01-29 04:41:23 +00:00
Jihoon Kim 27968b4fec efl/ecore_imf: fix typo in doxygen
SVN revision: 83397
2013-01-29 02:52:53 +00:00
Jihoon Kim aee571bf18 efl/ecore_imf: supplement the document about ecore_imf_context_cursor_position_set and ecore_imf_context_reset
SVN revision: 83396
2013-01-29 02:43:42 +00:00
Cedric BAIL 73694511de efl/edje: in fact we can now use eo_isa for that purpose.
SVN revision: 83395
2013-01-29 02:29:34 +00:00
ChunEon Park 8a7e99b67e edje - [Edje: Bug fix] NULL check is added before strcmp() in _edje_real_part_swallow() function
Hi,

Can some one please verify and merge the attahed patch with open source svn Edje code.

[Issue details :]
NULL checking is not done before sending a string to strcmp().
In _edje_real_part_swallow() function of edje_util.c file, evas_object_type_get() API can return NULL and if
this NULL value is directly passed to strcmp(), it causes a crash.

[Issue fix :]
NULL check is added for obj_type before passing it to strcmp().

Thanks & Regards,
Sumanth

Signed-Off-By: Sumanth Krishna (sumanth.m@samsung.com)



SVN revision: 83393
2013-01-29 00:07:17 +00:00
Daniel Willmann 003b7f12d8 edje-multisense: Don't fail if edje-multisense is not enabled
Ifdef all the functions that reference ecore_audio so this file can be
compiled without ecore_audio enabled.

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

SVN revision: 83384
2013-01-28 16:05:49 +00:00
Daniel Juyung Seo d3e6ba7b78 ecore Ecore_Getopt.h: use one liner for function declaration like other apis.
SVN revision: 83383
2013-01-28 15:47:19 +00:00
Daniel Willmann e069b829bf edje-multisense: Replace sound handling with ecore_audio
The speed keyword is not yet implemented.

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

SVN revision: 83380
2013-01-28 15:15:20 +00:00
Cedric BAIL 1f1e0cd332 efl/evas: roll in Eina_Cow for Evas_Object_Image cur/prev.
This gave us back around 500KB at peak memory consumption in expedite.
More test to come.


SVN revision: 83376
2013-01-28 00:28:53 +00:00
Cedric BAIL 6414b0864f efl/eina: fix some memleak and improve speed of eina_cow_memcpy.
SVN revision: 83375
2013-01-28 00:22:21 +00:00
Cedric BAIL 6174b1c5cf efl/evas: make shutdown/init cycle work again.
SVN revision: 83368
2013-01-27 08:42:57 +00:00
Cedric BAIL 00f8823b95 efl/evas: use inheritance instead of strcmp and work around code running between destructor and free.
SVN revision: 83367
2013-01-27 08:34:22 +00:00
Cedric BAIL 8589836860 efl/evas: reduce commit to evas_object_image.
SVN revision: 83365
2013-01-27 06:31:11 +00:00
Jiyoun Park e290dfae93 add info log related with mouse down/up
SVN revision: 83351
2013-01-26 09:47:21 +00:00
Carsten Haitzler a9eeda6300 paranoia++ -> if g->object is null - dont use it. :/
SVN revision: 83337
2013-01-26 02:34:59 +00:00
Boris Faure 11b98b32e2 evas: make e start again…
SVN revision: 83336
2013-01-25 22:21:37 +00:00
Mike McCormack 3642599e8f efl: Fix unused parameter warning
Signed-off-by: Mike McCormack <mike@atratus.org>

SVN revision: 83334
2013-01-25 21:30:48 +00:00
Cedric BAIL c538d8bde3 efl/evas: prevent leak and over write.
SVN revision: 83331
2013-01-25 15:19:32 +00:00
Cedric BAIL 6c7edfd38e efl/evas: roll in more cow, using a new macro per Eina_Cow.
SVN revision: 83325
2013-01-25 12:15:38 +00:00
Christopher Michael aa1f8b4eac Let's do malloc the EFL way here.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83320
2013-01-25 07:19:48 +00:00
Jihoon Kim 7dd5b326d8 edje entry: move ecore_imf_context_cursor_position_set from mouse down event to mouse up event
SVN revision: 83318
2013-01-25 05:15:46 +00:00
Jihoon Kim 57103879f5 edje entry: remove ecore_imf_context_reset, cursor update in mouse move event because it's useless.
SVN revision: 83317
2013-01-25 05:10:47 +00:00
U. Artie Eoff c36058806a Cache wayland globals
Store the wayland registry globals in a list so that we can bind to them from a
user/test program. When a custom interface (protocol extension) is used in a
wayland compositor, this allows user/test program to use that interface. For
instance, one might provide a custom wayland test protocol that give access to
otherwise hidden/missing functionality that allows effective automated testing
(in wayland engines). See the Weston unit test suite for an example of this
concept.

Patch by: "U. Artie Eoff" <ullysses.a.eoff@intel.com>



SVN revision: 83312
2013-01-24 22:03:22 +00:00
Boris Faure fb3c280a95 efl: more valgrind related fixes on eina_cow
SVN revision: 83311
2013-01-24 21:42:18 +00:00
Eduardo de Barros Lima 08b96ebc1c Move typedef enum declarations after the enum to make g++ happy.
When compiling a C++ program that includes Ecore_Wayland:

Ecore_Wayland.h:56:14: error: use of enum ‘_Ecore_Wl_Window_Type’ without previous declaration
Ecore_Wayland.h:56:56: error: invalid type in declaration before ‘;’ token
Ecore_Wayland.h:57:14: error: use of enum ‘_Ecore_Wl_Window_Buffer_Type’ without previous declaration
Ecore_Wayland.h:57:70: error: invalid type in declaration before ‘;’ token

This patch fixes ticket #2217.



SVN revision: 83310
2013-01-24 21:35:06 +00:00
Boris Faure 8d13c5ce3e efl: eina_cow: fix some valgrind instrumentation
SVN revision: 83308
2013-01-24 21:06:41 +00:00
Bruno Dilly 1f30bdde5c edbus: implement edbus_proxy_data_{get, set, del}
The prototypes for those functions are defined in edbus_proxy.h, however
there's no implementation at all.

By Raphael Kubo <raphael.kubo.da.costa@intel.com>



SVN revision: 83299
2013-01-24 13:09:26 +00:00
Cedric BAIL eff597ea1e eina: fix some warning.
SVN revision: 83196
2013-01-24 02:58:00 +00:00
Cedric BAIL f64ab2c8dd efl/evas: revert the revert, and indeed the bug was somewhere else.
SVN revision: 83193
2013-01-24 01:50:57 +00:00
Cedric BAIL be0f7fcaa0 efl/evas: don't over write when not needed.
SVN revision: 83192
2013-01-24 01:43:03 +00:00
Cedric BAIL 05b4d1b3cd efl/eina: improve Eina_Cow.
- Add valgrind macro arround Eina_Cow internal data.
- Add a #define for Eina_Magic on Eina_Cow returned pointer.
- Fix a bug done during free on a mempool data (Need to improve
mempool to catch this one more easily next time).


SVN revision: 83191
2013-01-24 01:42:20 +00:00
Cedric BAIL d282e075ef efl/eina: don't over align when the structure is already aligned.
SVN revision: 83189
2013-01-24 01:38:12 +00:00
Cedric BAIL 65344d7a7f efl/eina: let us know where that wrong Eina_Magic was in memory.
SVN revision: 83188
2013-01-24 01:37:20 +00:00
Carsten Haitzler 07c3ce0bbe ummm this really fubars stuff up cedric.. revert. put it back when u
have figured things out. :)



SVN revision: 83143
2013-01-23 10:07:31 +00:00
Stefan Schmidt f57257b3ec efl/ecore(xcb: Port leak fix from xlib to xcb backend
SVN revision: 83136
2013-01-23 09:51:53 +00:00
Stefan Schmidt 4cc93b9f2c efl/ecore_x: Fix leak of data.
If we fail we still have the malloced data. Free it in this case. Bot
commit for devilhors.

SVN revision: 83135
2013-01-23 09:51:47 +00:00
ChunEon Park fd23523a02 ecore - ECORE_CALLBACK_DONE is right contextually.
SVN revision: 83125
2013-01-23 07:41:00 +00:00
José Roberto de Souza ba63fa7ed2 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
2013-01-22 13:34:34 +00:00
Cedric BAIL 36bdaab9c2 efl: another easy to kill, almost 5% in memory save per Evas_Object_Image.
SVN revision: 83073
2013-01-22 10:59:14 +00:00
Cedric BAIL c0e62fb818 efl: remove a forgotten deprecated call.
SVN revision: 83069
2013-01-22 10:47:47 +00:00
Cedric BAIL 4d8dffc411 efl: remove useless code.
SVN revision: 83065
2013-01-22 09:58:36 +00:00
Mike Blumenkrantz 10a10310e8 rebase dns.c against upstream
SVN revision: 83058
2013-01-22 08:01:13 +00:00
Cedric BAIL 3070dfac2d 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
2013-01-22 03:56:00 +00:00
Cedric BAIL 94b31ce5da efl: simplify logic of eina_cow.
SVN revision: 83051
2013-01-22 03:52:55 +00:00
Cedric BAIL a102b14686 efl: not sure of that one, but remove use of eina_safety_check in inline function.
SVN revision: 83050
2013-01-22 02:14:57 +00:00
Cedric BAIL d32ee023e3 efl: missing deprecated user.
SVN revision: 83049
2013-01-22 02:14:07 +00:00
Cedric BAIL 336e0c5e38 efl: deprecate eina_unicode_utf8_get_next, add eina_unicode_utf8_next_get.
SVN revision: 83048
2013-01-22 02:00:55 +00:00
Rafael Antognolli 167c19ca29 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
2013-01-21 16:05:08 +00:00
Cedric BAIL 066543089d efl: inline eina_unicode_utf8_get_next.
SVN revision: 83035
2013-01-21 09:37:14 +00:00
Cedric BAIL 3e7e37630f efl: group more map stuff in the same sub structure.
SVN revision: 83034
2013-01-21 09:36:19 +00:00
Jihoon Kim 56c020fbba edje_entry: fix warning by clang
SVN revision: 83033
2013-01-21 07:12:39 +00:00
Carsten Haitzler 87fdbd56e0 fix ximage get error sync problem.
SVN revision: 83029
2013-01-21 04:31:39 +00:00
Cedric BAIL 380aea9e91 efl: cleanup Evas_Object_Protected_Data.
SVN revision: 83028
2013-01-21 03:51:58 +00:00
Cedric BAIL 5ae84c97ce efl: use new eina_cow macro to clean stuff a little.
SVN revision: 83026
2013-01-21 03:12:39 +00:00
Cedric BAIL 5bd8b33906 efl: add eina_cow helper macro.
SVN revision: 83025
2013-01-21 03:11:29 +00:00
Gustavo Sverzut Barbieri df701d8ca2 some clang warning cleanups i forgot to commit
SVN revision: 83024
2013-01-21 00:22:35 +00:00
Gustavo Sverzut Barbieri 0f528092f8 fix bug spotted by clang
SVN revision: 83017
2013-01-20 14:25:34 +00:00
Cedric BAIL 41b70693b7 efl: fix leak in eina_cow.
Patch by Paulo Alcantara <pcacjr@zytor.com>.


SVN revision: 83014
2013-01-20 11:02:48 +00:00
Aharon Hillel dad5336272 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
2013-01-20 08:43:29 +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
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 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
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
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
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
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 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 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
Ulisses Furquim 09f342fdeb evas/async_render: use image scalecache
SVN revision: 82890
2013-01-16 16:07:46 +00:00
Stefan Schmidt 73667b025c efl/ecore_input: Move file instead. As requested by k-s
SVN revision: 82876
2013-01-16 11:23:34 +00:00
Cedric BAIL 7e4e3fe5b8 efl: let's not do useless over allocation and memcpy.
SVN revision: 82872
2013-01-16 10:45:04 +00:00
Sung-Jin Park 01452373c7 From: Sung-Jin Park <sj76.park@samsung.com>
Subject: [E-devel] Bug fix : ecore x XI2 handler not to make button
event twice

Dear developers,
I have fixed a bug in ecore x xi2 handler.

Currently, ecore mouse down/move/up event are made twice for a X touch
event.
Among a couple of events, the first one is made by a X touch event and
the other is made
by a button event whose flags has XIPointerEmulated flag.
The (latter) button event is made from the (former) X touch event
whose flags has XITouchEmulatingPointer flag.
Basically, X touch events doesn't have XITouchEmulatingPointer flag in
its flags when it doesn't make a
(XIPointerEmulated) button event.

Thus I correct ecore_x_xi2.c not to make a mouse down/move/up event
when a X touch event has 
XITouchEmulatingPointer flag.



SVN revision: 82869
2013-01-16 09:03:55 +00:00
Carsten Haitzler b86a5cd30f fix pixman wrappers where image size and alloc size differ.
SVN revision: 82856
2013-01-16 06:32:34 +00:00
Cedric BAIL ffafb3602e efl: let's do less memcpy.
SVN revision: 82855
2013-01-16 06:31:32 +00:00
Gustavo Sverzut Barbieri 720a81d58c move ecore_imf_evas out of ecore_imf.
SVN revision: 82837
2013-01-15 19:11:01 +00:00
Gustavo Sverzut Barbieri c4e163fe4a move ecore_input_evas out of ecore_input.
we don't need this mess anymore :-P



SVN revision: 82836
2013-01-15 18:59:28 +00:00
Gustavo Sverzut Barbieri d97c63e4c6 fix directory structure: move ethumd_client out of ethumb.
it's another library, do not mix stuff as it used to be.




SVN revision: 82835
2013-01-15 18:10:58 +00:00
Ulisses Furquim 028e7e9ed2 evas/async_events: missed counting fix in unblocking _process()
SVN revision: 82834
2013-01-15 18:00:15 +00:00
Paulo Alcantara b557bd9e0d efl/engines: Introduce multi_font_draw() function
This new engine function will only be used in software generic for
now - since it's the only engine used with the async render.

This function has been introduced in order to avoid growing thread
command queue too much to draw a text_props at a time on render calls
from textgrid objects.

Patch by: Paulo Alcantara <pcacjr@profusion.mobi>



SVN revision: 82832
2013-01-15 17:35:11 +00:00
Tom Hacohen 4a0acab860 Evas box: fix warning with a cast.
Unfortunately, although the pre-cast code is correct, we need the cast
because of the way gcc handles the types (magic) when passing va_args on
64 bit. This doesn't change anything logically.

SVN revision: 82827
2013-01-15 17:15:10 +00:00
Tom Hacohen c8e1fe4c9f Evas font: Add missing header.
SVN revision: 82826
2013-01-15 17:15:06 +00:00
Tom Hacohen ac0ff4c997 Evas textblock: Added EAPI to the ifdefed debugging funcs.
SVN revision: 82815
2013-01-15 14:49:38 +00:00
Tom Hacohen c7dc78c98b Evas text props: Fixed bug with no-harfbuzz bidi.
SVN revision: 82814
2013-01-15 14:49:31 +00:00
Lucas De Marchi d4da99698e efl/edbus: make all edbus_*_send() methods unref its msg
There's no reason to keep a msg after it was sent. Before this patch we
had edbus_service_signal_send() unref'ing its msg and all the others
not. Also, several users (particularly the edbus_proxy_send() ones) were
forgetting to unref the msg.

This patch makes all these methods unref the message after it has been
succesfully sent:

 - edbus_connection_send()
 - edbus_object_send()
 - edbus_proxy_send()
 - edbus_service_signal_send()



SVN revision: 82807
2013-01-15 14:33:48 +00:00
Tom Hacohen c089f174ca Evas obj text: Fix an issue with horiz_advance_get func.
SVN revision: 82800
2013-01-15 11:50:22 +00:00
Tom Hacohen d925820fa9 Evas textblock: simplified and fixed bugs in _cursor_geometry_get
SVN revision: 82798
2013-01-15 10:57:34 +00:00
ChunEon Park e078614a33 evas/map - avoid zero divide.
SVN revision: 82792
2013-01-15 05:11:11 +00:00
Lucas De Marchi d976c23f58 efl/edbus: remove bogus line
My bad when applying José's patch.




SVN revision: 82786
2013-01-14 22:39:03 +00:00
Gustavo Sverzut Barbieri b1bc5aeb24 efl: simplify automake.
Instead of -I$(top_srcdir)... -I$(top_builddir)... and then do it for
the .la, use the EFL_ macros to generate the contents to be used in
automake files.

There is a nasty bit that libtool will parse Makefile*.am and will not
get _DEPENDENCIES from _LIBADD and _LDADD if these are in
@REPLACEMENT@. To solve this we must explicitly set _DEPENDENCIES. The
contents of this is almost the same as _LIBADD or _LDADD with the
"_INTERNAL_" replacement name.

I hope the code will be result will be shorter and consistent as there
is less places to change when we add/remove dependencies.

Statistics are quite impressive (diffstat):
{{{
37 files changed, 663 insertions(+), 1599 deletions(-)
}}}



SVN revision: 82785
2013-01-14 22:36:23 +00:00
José Roberto de Souza 283805237a edbus: Dont call dispatch_name_owner_change() if we get a error message
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82784
2013-01-14 22:34:51 +00:00
Ulisses Furquim 0f435b7eae evas/async_render: fixing mix of sync and async rendering
SVN revision: 82776
2013-01-14 20:02:43 +00:00
Ulisses Furquim 90bba3a87e evas/async_events: fix async events counting
Before we returned the number of async events handled.
Even if nobody uses that let's fix it.



SVN revision: 82775
2013-01-14 20:02:31 +00:00
Gustavo Sverzut Barbieri 3701b41ac9 fix compile warnings.
the NULL is just to shut gcc being stupid.


SVN revision: 82774
2013-01-14 18:34:23 +00:00
Daniel Willmann d2a6e45c80 edje: More off-by-one issues from Klocwork
Signed-off-by-one: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 82770
2013-01-14 17:07:44 +00:00
Daniel Willmann 6bb09ee91c efl/embryo: Let's not overwrite memory here
Issue found by Klocwork

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

SVN revision: 82767
2013-01-14 16:42:49 +00:00
Stefan Schmidt b4b7c9239d Evas textblock: Fixed issue with line height when breakingon format.
All kudos to Tom for this one.

SVN revision: 82763
2013-01-14 14:18:10 +00:00
Cedric BAIL f74ca2f5a2 eio: fix wrong container set in eio_file_map_new.
Bug reported by Kuri.


SVN revision: 82749
2013-01-14 10:11:27 +00:00
Cedric BAIL 55bc6a16fb efl: fix endianness issue.
Patch by Albin Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 82743
2013-01-14 03:54:47 +00:00
Cedric BAIL c7aead6fdc efl: fix cow after review by k-s.
NOTE: I didn't find a way to tell valgrind that some memory is read only.


SVN revision: 82742
2013-01-14 03:34:19 +00:00
Gustavo Sverzut Barbieri c42971cd27 fix minor ethumb errors.
SVN revision: 82741
2013-01-14 01:35:58 +00:00
Gustavo Sverzut Barbieri 070cce20e7 ethumb: improve disconnect/connect log.
server disconnect is normal, not an error... and log the connect as well.



SVN revision: 82738
2013-01-14 00:58:40 +00:00
Gustavo Sverzut Barbieri e21bfbbbb2 eina: add missing ifdef around splice code.
SVN revision: 82735
2013-01-14 00:00:37 +00:00
Gustavo Sverzut Barbieri 3cb8756c23 fix doxygen error.
SVN revision: 82731
2013-01-13 22:43:13 +00:00
Boris Faure aa8a1eb727 ecore_x/xcb: fix use of uninitialized var + leak--. Fix #1786
SVN revision: 82730
2013-01-13 14:11:42 +00:00
Carsten Haitzler b2034671b7 as pointed out by avind - missing bidi dir changes.
SVN revision: 82710
2013-01-13 02:58:00 +00:00
Carsten Haitzler 440bb7c23c cut down textprop size a bit... 72 -> 64bytes. if we can wrap
tp->start/len/text_offset/text_len read/wrtie in access funcs. so we
can special case where:

1. start == text_offset == 0 && len == text_len == 1
2. start == text_offset == 0 && len == text_len < 65536
3. start == text_offset == 0 && len == text_len < 256
 


SVN revision: 82692
2013-01-12 08:40:46 +00:00
Gustavo Sverzut Barbieri a7ad336a6a ethumb: do not free module list if it was not discovered
this will now happen when using ethumb_client, that doesn't need to
search for any plugins localy! :-)



SVN revision: 82682
2013-01-12 05:24:55 +00:00
Gustavo Sverzut Barbieri a4e4c3041e ethumb: improve plugin handling.
be more like emotion, delay plugin load and change the api to register/unregister, more future-proof.



SVN revision: 82681
2013-01-12 05:21:36 +00:00
Gustavo Sverzut Barbieri 8e9303e1a4 efl/emotion: postpone finding modules as well.
SVN revision: 82680
2013-01-12 05:19:46 +00:00
Gustavo Sverzut Barbieri d8db6705ad fix frame handling.
before it was confusing having to place the img behind the border and
draw a hole, it would also cut parts of the view doing that.



SVN revision: 82679
2013-01-12 04:32:13 +00:00
Gustavo Sverzut Barbieri 34f5315141 merge ethumb.
This one was a painful bitch. The edbus2 port was quite broken, mainly
leaking eina_stringshare and also not adding the '\0' to the strings
that are represented as bytearray (paths cannot be utf8 to avoid
translations).

Emotion plugin was also quite bogus and the video thumbnail as edje
(animated) is not working yet due bug in Edje_Edit api -- someone
needs to investigate this, seems strange.

Emotion plugin also had a bug that it was deleting the object from
inside object callback.

Now it seems to work. Please report if it does not.



SVN revision: 82675
2013-01-12 01:15:45 +00:00
Gustavo Sverzut Barbieri ae51833bac emotion: reorder cleanup of modules.
SVN revision: 82674
2013-01-12 01:08:14 +00:00
Ulisses Furquim 48c15aaa74 evas/async_render: only get a ref if a thread cmd was issued
This patch should make us get a reference on images, maps and glyphs
which are sent in a command to the render thread. Before we were doing
some useless ref and unref operations.



SVN revision: 82666
2013-01-11 19:57:09 +00:00
Ulisses Furquim f0f9f7b7a6 evas/text: remove misleading comments on glyphs array refs
SVN revision: 82665
2013-01-11 19:56:49 +00:00
Ulisses Furquim b9f05341c3 evas/async_render: skip early if text_props with no glyphs
This is intended to preserve old behavior now that we have
evas_common_font_draw_cb() to handle both sync and async callbacks.
However, we need to check where why we end up with no glyphs in a
text_props even after calling evas_common_font_draw_prepare().



SVN revision: 82664
2013-01-11 19:56:32 +00:00
Ulisses Furquim d45a54a0aa evas/async_render: do not use async event to unref image maps
SVN revision: 82663
2013-01-11 19:56:17 +00:00
Leandro Pereira d5f91fd5c2 evas/async_render: do not use async event to unref glyphs
Patch by: Leandro Pereira <leandro@profusion.mobi>



SVN revision: 82662
2013-01-11 19:55:40 +00:00
Leandro Pereira ed79c2182e evas/async_render: do not use async event to unref images
Patch by: Leandro Pereira <leandro@profusion.mobi>



SVN revision: 82661
2013-01-11 19:54:12 +00:00
Leandro Pereira a868276f11 evas: Try to reuse glyph array if possible
This sould bring back a little bit of text rendering performance, while at
the same time decreasing memory usage and fragmentation.

Patch by: Leandro Pereira <leandro@profusion.mobi>



SVN revision: 82660
2013-01-11 19:49:15 +00:00
Leandro Pereira 468b44c444 evas: Do not use an Eina_Lock for glyph array
Patch by: Leandro Pereira <leandro@profusion.mobi>



SVN revision: 82659
2013-01-11 19:48:28 +00:00
Paulo Alcantara 5eaba08284 efl/font: Avoid passing NULL glyphs arrays on unref
evas_common_font_glyphs_unref() *should* be called with valid glyphs
arrays.

Patch by: Paulo Alcantara <pcacjr@profusion.mobi>



SVN revision: 82658
2013-01-11 19:48:00 +00:00
Gustavo Sverzut Barbieri 72eaa99676 ecore_evas async render watchdog.
it is very unlikely to be ecore_evas problem, but here it goes: a
watch dog that checks if they are stuck and resets if so.



SVN revision: 82657
2013-01-11 18:55:06 +00:00
Gustavo Sverzut Barbieri 1e1751de47 evas: be loud if async render is mixed with sync.
SVN revision: 82655
2013-01-11 18:20:11 +00:00
Tom Hacohen e84686d76d Evas: Fixed a bug with breaking after format items.
SVN revision: 82653
2013-01-11 18:16:24 +00:00
Gustavo Sverzut Barbieri d83b83e10b efl/emotion: delay module loading until they are needed.
SVN revision: 82651
2013-01-11 17:41:53 +00:00
Jérémy Zurcher 5b885ea931 fix segv in emotion_webcam_init and leak in emotion_webcam_config_load
SVN revision: 82650
2013-01-11 17:20:22 +00:00
Gustavo Sverzut Barbieri 85f8163c3e efl/ecore_evas: merge buffer into core, split extn apart.
buffer is lightweight and dependency for many engines, merge it back
into core.

extn is a module on its own, and it's the only one linking to
ecore_ipc, no need to add that to ecore_evas.

minor cosmetic changes to configure to make output consistent.



SVN revision: 82648
2013-01-11 16:57:21 +00:00
Henrique Dante de Almeida 9c12a58536 efl: Fix object size constraints calculation in stack layout
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82647
2013-01-11 16:54:48 +00:00
Carsten Haitzler 9b559ec173 CEDRIC! REVERT! this breaks text labels in e17 default theme when
eselected - they all jump up to the top! :)



SVN revision: 82635
2013-01-11 13:31:40 +00:00
Cedric BAIL fee7977839 efl: let's preperly clean pointer when we delete stuff.
SVN revision: 82621
2013-01-11 08:31:09 +00:00
Cedric BAIL 23709b48e5 efl: update edje text part geometry after setting the text.
SVN revision: 82615
2013-01-11 06:58:25 +00:00
Cedric BAIL 849fcc8b88 efl: remove useless geometry get.
SVN revision: 82614
2013-01-11 06:57:50 +00:00
Cedric BAIL 4395e416f1 efl: force update of Evas_Object_Text clip cache when geometry change.
SVN revision: 82612
2013-01-11 05:27:17 +00:00
Cedric BAIL 451abe47f5 efl: only compute font clip when relevant.
SVN revision: 82611
2013-01-11 05:21:54 +00:00
Gustavo Sverzut Barbieri 7b8f400381 efl/ecore_evas: avoid infinite loop building ews.
ews will load another engine inside it's constructor. If no module is
found, then it will loop back to itself. avoid that.



SVN revision: 82606
2013-01-11 04:21:02 +00:00
Gustavo Sverzut Barbieri 356d4f733c efl/emotion: rework module infra, better integration with 'generic'.
Change the module infra and allow one to register using the
description structure itself, saves some work.

Replace module_open and module_close with add() and del(), that are
more descriptive.

Move stuff to init/shutdown where it was a better fit.

Since add() now receives the first parameter being the owning
structure we can create one structure per generic player and they will
merge transparently with other modules, then we can use a simple
algorithm that considers the plugin priority. ALL DYNAMIC!

Future work could be done to load the plugin priority specified by
user from configuration file. But this is not in my plans right now.



SVN revision: 82602
2013-01-11 03:06:42 +00:00
Cedric BAIL 4c64334b9d evas: remove duplicated piece of code.
SVN revision: 82601
2013-01-11 01:52:46 +00:00
Gustavo Sverzut Barbieri 2fb89cc58a efl/emotion: remove init/shutdown from module, it's a subfunction of open/close!
SVN revision: 82600
2013-01-11 00:37:31 +00:00
Gustavo Sverzut Barbieri 619d6033f3 efl/emotion: remove handle from wrong place.
that handle should live elsewhere, it was a hack.



SVN revision: 82598
2013-01-11 00:31:56 +00:00
Gustavo Sverzut Barbieri 6e963a6118 efl/emotion: start to refactor engine handling.
Removed the engine handling out from smart object, later the module
API will change and we'll be able to simplify many things.

My plan is to allow generic players to register along as regular
modules.



SVN revision: 82597
2013-01-11 00:27:35 +00:00
Boris Faure 30cbbefd6a efl:ecore: fix possible segfault when ccalling ecore_x_selection_convert()
SVN revision: 82594
2013-01-10 22:51:28 +00:00
Gustavo Sverzut Barbieri 6125cd9e87 efl/emotion: move register/unregister.
SVN revision: 82593
2013-01-10 22:17:32 +00:00
Gustavo Sverzut Barbieri 8a4248732a efl/emotion: move module stuff.
* do not abuse emotion_private.h by using that in modules
 * split emotion_module.c to allow more changes later.



SVN revision: 82592
2013-01-10 22:11:07 +00:00
Gustavo Sverzut Barbieri d1341cc826 efl/emotion: move webcam stuff out of main file.
SVN revision: 82591
2013-01-10 21:50:02 +00:00
Lucas De Marchi 06ff74834f efl: remove checks for socket.h, net/*, arpa/*
SVN revision: 82585
2013-01-10 20:26:02 +00:00
Lucas De Marchi 90ba30ec7c efl: remove checks for sys/select.h, sys/time.h and sys/resource.h
SVN revision: 82584
2013-01-10 20:25:57 +00:00
Lucas De Marchi f1ca8b54d6 efl: remove check for langinfo.h and locale.h
SVN revision: 82583
2013-01-10 20:25:53 +00:00
Lucas De Marchi 4af2647d05 efl: remove check for libgen.h
SVN revision: 82582
2013-01-10 20:25:48 +00:00
Lucas De Marchi 3e4eb4437e efl: remove check for errno.h
SVN revision: 82581
2013-01-10 20:25:44 +00:00
Lucas De Marchi 23b741699f efl: remove check for inttypes.h and stdint.h
SVN revision: 82580
2013-01-10 20:25:39 +00:00
Lucas De Marchi f60bfe38d6 efl: Remove check for siginfo.h and siginfo_t
SVN revision: 82579
2013-01-10 20:25:35 +00:00
Lucas De Marchi db395ef7eb efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard.



SVN revision: 82577
2013-01-10 20:25:26 +00:00
Lucas De Marchi 3dc661e710 efl: Remove check for strings.h
* strings.h: is very useful, very old and very standard. The only place
that checks for that is simple_xml_parser and I have no idea why



SVN revision: 82576
2013-01-10 20:25:21 +00:00
Gustavo Sverzut Barbieri 517471190f efl/emotion: refactor init/shutdown, load modules from eina_prefix.
* emotion_init() and emotion_shutdown() now exist, let's do our
   initialization from there.

 * smart_add/smart_free will call init/shutdown for legacy apps.

 * use eina_prefix to determine runtime location.

 * use eina_module_arch_list_get()



SVN revision: 82509
2013-01-10 05:48:55 +00:00
Gustavo Sverzut Barbieri f80eef8806 efl/ecore_imf: consider ECORE_IMF_MODULES_DIR.
also do the standard eina_prefix_lib_get() usage as the last one.



SVN revision: 82505
2013-01-10 05:27:31 +00:00
Gustavo Sverzut Barbieri 1fbed8d3a6 efl/emotion: use path_max
still needs to change to use eina_prefix :-/



SVN revision: 82502
2013-01-10 03:47:46 +00:00
Gustavo Sverzut Barbieri dfb84c1657 efl: merge emotion.
this one was quite a huge work, but hopefully it's correct.

NOTES:
 * removed vlc generic module, it should go into a separate package.
 * gstreamer is enabled by default (see --disable-gstreamer)
 * xine is disabled by default (see --enable-gstreamer)
 * generic is always built statically if supported
 * gstreamer and xine can't be configured as static (just lacks command line options, build system supports it)
 * v4l2 is enabled by default on linux if eeze is built (see --disable-v4l2)
 * emotion_test moved to src/tests/emotion and depends on EFL_ENABLE_TESTS (--with-tests), but is still installed if enabled.

TODO (need your help!):
 * fix warnings with gstreamer and xine engine
 * call engine shutdown functions if building as static
 * remove direct usage of PACKAGE_*_DIR and use eina_prefix
 * add eina_prefix checkme file as evas and others
 * add support for $EFL_RUN_IN_TREE
 * create separate package for emotion_generic_modules
 * check docs hierarchy (doxygen is segv'in here)



SVN revision: 82501
2013-01-10 03:43:32 +00:00
Gustavo Sverzut Barbieri 532284dbbe efl: forward typedef to avoid including useless headers.
do not include Ecore_Input.h just to get Ecore_Window and Ecore_Getopt
to get handful typedefs.

NOTE: why do we have the #ifdefs around these predefs? At least GCC does not warn if we typedef twice the same thing (if they are identical)



SVN revision: 82499
2013-01-10 02:18:10 +00:00
Gustavo Sverzut Barbieri 7b0ae69adc efl/edje: remove useless include.
This made no sense... as HAVE_ECORE_IMF was defined in a local (not
installed) config.h. With single-tree it is defined and will bring in
one useless include in our public header.



SVN revision: 82498
2013-01-10 02:14:46 +00:00
Gustavo Sverzut Barbieri c72d6b68cd maybe this time svnlook will work?
SVN revision: 82496
2013-01-09 23:27:31 +00:00
Gustavo Sverzut Barbieri c5c3af138e still not there with svnlook diff :-/
hell, how to make this bastard show C function names in diff!?


SVN revision: 82495
2013-01-09 23:25:01 +00:00
Gustavo Sverzut Barbieri cd7cf2cec9 bogus commit to see if post-commit hook worked.
svnlook diff is a bitch, come on :-/


SVN revision: 82494
2013-01-09 23:21:39 +00:00
Gustavo Sverzut Barbieri f6c10c4cf1 efl/evas: improve docs linking
SVN revision: 82493
2013-01-09 23:17:21 +00:00
Paulo Alcantara d7ae50462c efl/cserve2: Increase refcount of scaled image entries properly
Patch by: Paulo Alcantara <pcacjr@profusion.mobi>


SVN revision: 82484
2013-01-09 21:40:25 +00:00
Paulo Alcantara cf46337e17 efl/font: Dispatch font load request once sent to server
Patch by: Paulo Alcantara <pcacjr@profusion.mobi>


SVN revision: 82482
2013-01-09 21:37:34 +00:00
Paulo Alcantara c6f907a9f4 efl/cache: Set loaded flag properly with loaded pixels
Patch by: Paulo Alcantara <pcacjr@profusion.mobi>


SVN revision: 82481
2013-01-09 21:36:03 +00:00
Henrique Dante de Almeida 1c1d9f4161 Fix Edje hint recalculation after swallow part changes
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>



SVN revision: 82480
2013-01-09 20:56:03 +00:00
Lucas De Marchi be30200a50 eeze: install module under MODULE_ARCH like the rest of EFL
SVN revision: 82479
2013-01-09 20:51:56 +00:00
Lucas De Marchi bc20101994 ecore_imf: install module under MODULE_ARCH like the rest of EFL
SVN revision: 82478
2013-01-09 19:38:04 +00:00
Lucas De Marchi f0a7a2a751 efl: move ecore/immodules to ecore_imf
Move both the source tree and the install directory.



SVN revision: 82474
2013-01-09 16:46:58 +00:00
Gustavo Sverzut Barbieri 8ac159bfe2 efl/eina_prefix: whitespace cleanup as pointed by kuri at #edevelop
trailing whitespacesd and mixed tabs (old style) are gone.


SVN revision: 82470
2013-01-09 16:00:39 +00:00
Gustavo Sverzut Barbieri 37ab81a620 efl/eina_prefix: fix _try_proc() location.
_try_proc() is how to find a symbol based on /proc/self/maps, not
related to argv0.

change _try_proc() to ifdef inside... avoiding the need to ifdef at
definition and call site.



SVN revision: 82469
2013-01-09 15:57:28 +00:00
Gustavo Sverzut Barbieri da5a568f68 efl/eina_prefix: simplify common prefix lookup.
SVN revision: 82467
2013-01-09 15:46:05 +00:00
Gustavo Sverzut Barbieri ba461e9467 efl/eina_prefix: use eina_safety to be loud on NULL pointers.
SVN revision: 82466
2013-01-09 15:38:42 +00:00
Gustavo Sverzut Barbieri 2f49e495ee efl/eina_prefix: cleanup and review logs.
there shouldn't be behavior changes at this point, just minor cleanups
and simplifications, particularly to the log.



SVN revision: 82464
2013-01-09 15:21:40 +00:00
Ulisses Furquim 6e91caf73f evas/async_events: more clear code in _async_events_put()
SVN revision: 82457
2013-01-09 12:22:52 +00:00
ChunEon Park 7f45507e62 ecore/ecore_fb - missed move call?
SVN revision: 82438
2013-01-09 08:22:05 +00:00
Gustavo Sverzut Barbieri 65aae8f181 efl/eina: fix debian multilib detection without magic file.
The algorithm will now consider valid bin, data orlocale as well if
magic file was not provided.



SVN revision: 82429
2013-01-08 23:57:14 +00:00
Gustavo Sverzut Barbieri f57968f158 efl/efreet: improve tests, fix bogus warning.
* tests will run locally now, not just from installed files.
 * efreet_init_new(NULL) is valid, actually used by efreet_desktop_save()



SVN revision: 82428
2013-01-08 23:45:48 +00:00
Gustavo Sverzut Barbieri 50b9b31566 efl/efreet: use proper PACKAGE_DATA_DIR, add DATA_DIR.
efreet used an uncommon PACKAGE_DATA_DIR without the package name
because it used that to populate default variables.

Add another variable for that and make PACKAGE_DATA_DIR more common.

Tests still fails like crazy, and they assume installed data :-(



SVN revision: 82426
2013-01-08 23:14:17 +00:00