Commit Graph

20761 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 599d4582d3 my brain farted.
SVN revision: 82677
2013-01-12 04:00:34 +00:00
Gustavo Sverzut Barbieri 4f52ae0f1b efl/ethumb: the test is actually an example.
SVN revision: 82676
2013-01-12 03:59:25 +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
Mike McCormack a06b6095f6 efl: Avoid shadow warnings (signal -> sig)
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82669
2013-01-11 21:40:57 +00:00
Mike McCormack 66f4a7f14e efl: Fix unused variable warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 82668
2013-01-11 21:40:52 +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 0f5bf5197f ecore_evas_x: add some debug to help find out e_border problems.
EDBG macro is at level 5 to avoid messing existing debugs, use it like:

export EINA_LOG_LEVELS=ecore_evas:5



SVN revision: 82656
2013-01-11 18:45:10 +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
Tom Hacohen 88ab486e63 Efl static_libs: Updated liblinebreak -> libunibreak.
SVN revision: 82652
2013-01-11 18:16:09 +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 7d5e6fffb9 efl/configure: fix AM_CONDITIONAL() error if eeze is not to be built.
SVN revision: 82649
2013-01-11 17:07:04 +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
Jihoon Kim 5fbfaf9e10 efl/ecore_imf/scim: remove unused variable
SVN revision: 82642
2013-01-11 16:05:55 +00:00
Jihoon Kim d964b7efc0 efl/ecore_imf/scim: remove unused code
SVN revision: 82641
2013-01-11 16:01:16 +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 070074d355 printf--
SVN revision: 82610
2013-01-11 04:31:09 +00:00
Gustavo Sverzut Barbieri cf16220d44 efl: eet may do the error on close, where it tries to actually write stuff.
SVN revision: 82609
2013-01-11 04:28:50 +00:00
Gustavo Sverzut Barbieri 66829fa21e efl/emotion_test: hint that we can be running from inside the build tree.
otherwise evas modules won't be found.


SVN revision: 82608
2013-01-11 04:23:01 +00:00
Gustavo Sverzut Barbieri 4d2e52f939 efl/emotion: build directory before generate theme.
edje_cc is stupid and won't alert us it couldn't build the file because the directory didn't exist.



SVN revision: 82607
2013-01-11 04: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 f8fde3d560 efl: fix out-of-tree build of examples.
edje and embryo include files are in source dir, not build.

codegen example must have dependency to build in correct order :-/



SVN revision: 82605
2013-01-11 03:57:29 +00:00
Gustavo Sverzut Barbieri f0a0fd7f4e efl: fix option for gstreamer.
Thanks to Nicolas Aguirre


SVN revision: 82604
2013-01-11 03:22:03 +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 fbfc442465 efl/emotion: as handle went away, make the API const.
SVN revision: 82599
2013-01-11 00:33:26 +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