Gustavo Sverzut Barbieri [Mon, 14 Jan 2013 01:35:58 +0000 (01:35 +0000)]
fix minor ethumb errors.
SVN revision: 82741
Gustavo Sverzut Barbieri [Mon, 14 Jan 2013 00:58:40 +0000 (00:58 +0000)]
ethumb: improve disconnect/connect log.
server disconnect is normal, not an error... and log the connect as well.
SVN revision: 82738
Gustavo Sverzut Barbieri [Mon, 14 Jan 2013 00:46:06 +0000 (00:46 +0000)]
emotion fix possible problem with generic.
it couldn't happen now as we're building it statically, but keep it right.
SVN revision: 82737
Gustavo Sverzut Barbieri [Mon, 14 Jan 2013 00:09:47 +0000 (00:09 +0000)]
use our custom version to test dirfd().
it was reported that AC_CHECK_FUNCS() couldn't work on netbsd because
dirfd is a macro and it would not properly evaluate int that
traditional test.
SVN revision: 82736
Gustavo Sverzut Barbieri [Mon, 14 Jan 2013 00:00:37 +0000 (00:00 +0000)]
eina: add missing ifdef around splice code.
SVN revision: 82735
Gustavo Sverzut Barbieri [Sun, 13 Jan 2013 23:54:21 +0000 (23:54 +0000)]
embryo: remove simple -Wshadow errors. Dangerous/uncertain left.
The follow are left:
{{{
bin/embryo/embryo_cc_sc1.c: In function ‘dowhile’:
bin/embryo/embryo_cc_sc1.c:3524:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
bin/embryo/embryo_cc_sc1.c: In function ‘dodo’:
bin/embryo/embryo_cc_sc1.c:3546:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
bin/embryo/embryo_cc_sc1.c: In function ‘dofor’:
bin/embryo/embryo_cc_sc1.c:3565:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
}}}
looking at their code, they say to alloc a local "wq", but then they
call functions such as delwhile() that changes the global... VERY suspicious!!
SVN revision: 82734
Gustavo Sverzut Barbieri [Sun, 13 Jan 2013 23:19:34 +0000 (23:19 +0000)]
efl/emotion: fix compile warnings - PLEASE REVIEW.
fixed to be byte array instead of void pointer, did this based on the
code of convert... but what I found very strange is that math is "*
32"... really? Shouldn't it be "* 4"?
SVN revision: 82733
Gustavo Sverzut Barbieri [Sun, 13 Jan 2013 23:12:40 +0000 (23:12 +0000)]
efl/evas_cserve2 slave just need -lrt, not whole evas deps/libs
SVN revision: 82732
Gustavo Sverzut Barbieri [Sun, 13 Jan 2013 22:43:13 +0000 (22:43 +0000)]
fix doxygen error.
SVN revision: 82731
Boris Faure [Sun, 13 Jan 2013 14:11:42 +0000 (14:11 +0000)]
ecore_x/xcb: fix use of uninitialized var + leak--. Fix #1786
SVN revision: 82730
Carsten Haitzler [Sun, 13 Jan 2013 03:52:09 +0000 (03:52 +0000)]
add EVAS_LIBS (set by EFL_CHECK_FUNC([EVAS], [shm_open]) which should
thus only contain -lrt if needed)...
SVN revision: 82711
Carsten Haitzler [Sun, 13 Jan 2013 02:58:00 +0000 (02:58 +0000)]
as pointed out by avind - missing bidi dir changes.
SVN revision: 82710
Jihoon Kim [Sat, 12 Jan 2013 16:09:56 +0000 (16:09 +0000)]
efl/ecore_imf/ibus: fix indentation
SVN revision: 82707
Jihoon Kim [Sat, 12 Jan 2013 16:07:40 +0000 (16:07 +0000)]
efl/ecore_imf/ibus: fix wrong function definition
SVN revision: 82706
Jihoon Kim [Sat, 12 Jan 2013 15:51:57 +0000 (15:51 +0000)]
efl/ecore_imf/scim: remove unused code
SVN revision: 82705
Jihoon Kim [Sat, 12 Jan 2013 15:44:59 +0000 (15:44 +0000)]
efl/ecore_imf/scim: use EINA_SAFETY macro for checking NULL
SVN revision: 82703
Carsten Haitzler [Sat, 12 Jan 2013 08:40:46 +0000 (08:40 +0000)]
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
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 08:32:37 +0000 (08:32 +0000)]
doc exclude some evas internal stuff.
SVN revision: 82691
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 08:20:49 +0000 (08:20 +0000)]
remove warning about gnu extension.
this should also help notify when incorrect images where added to the directory and so on.
SVN revision: 82690
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 07:38:26 +0000 (07:38 +0000)]
clean up benchmark and example rules.
- they have no 'all' rule, keep out of SUBDIRS
- they depend on 'all-am', the non-recursive target that builds everything.
- they do not need a directory on its own to declare nothing.x
SVN revision: 82689
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 06:53:48 +0000 (06:53 +0000)]
do not print directories when entering them in make.
automake will already print a message so we can keep track where we
are.
this should help people that click terminology and accidentally clicks
the directory opening the file manager.
SVN revision: 82688
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 06:50:35 +0000 (06:50 +0000)]
turn on automake warnings and fix them.
using their recommended way to implement silent rules.
SVN revision: 82686
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 05:26:26 +0000 (05:26 +0000)]
ethumb is in efl
SVN revision: 82683
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 05:24:55 +0000 (05:24 +0000)]
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
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 05:21:36 +0000 (05:21 +0000)]
ethumb: improve plugin handling.
be more like emotion, delay plugin load and change the api to register/unregister, more future-proof.
SVN revision: 82681
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 05:19:46 +0000 (05:19 +0000)]
efl/emotion: postpone finding modules as well.
SVN revision: 82680
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 04:32:13 +0000 (04:32 +0000)]
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
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 04:30:57 +0000 (04:30 +0000)]
missing file.
SVN revision: 82678
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 04:00:34 +0000 (04:00 +0000)]
my brain farted.
SVN revision: 82677
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 03:59:25 +0000 (03:59 +0000)]
efl/ethumb: the test is actually an example.
SVN revision: 82676
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 01:15:45 +0000 (01:15 +0000)]
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
Gustavo Sverzut Barbieri [Sat, 12 Jan 2013 01:08:14 +0000 (01:08 +0000)]
emotion: reorder cleanup of modules.
SVN revision: 82674
Mike McCormack [Fri, 11 Jan 2013 21:40:57 +0000 (21:40 +0000)]
efl: Avoid shadow warnings (signal -> sig)
Signed-off-by: Mike McCormack <mikem@atratus.org>
SVN revision: 82669
Mike McCormack [Fri, 11 Jan 2013 21:40:52 +0000 (21:40 +0000)]
efl: Fix unused variable warning
Signed-off-by: Mike McCormack <mikem@atratus.org>
SVN revision: 82668
Ulisses Furquim [Fri, 11 Jan 2013 19:57:09 +0000 (19:57 +0000)]
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
Ulisses Furquim [Fri, 11 Jan 2013 19:56:49 +0000 (19:56 +0000)]
evas/text: remove misleading comments on glyphs array refs
SVN revision: 82665
Ulisses Furquim [Fri, 11 Jan 2013 19:56:32 +0000 (19:56 +0000)]
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
Ulisses Furquim [Fri, 11 Jan 2013 19:56:17 +0000 (19:56 +0000)]
evas/async_render: do not use async event to unref image maps
SVN revision: 82663
Leandro Pereira [Fri, 11 Jan 2013 19:55:40 +0000 (19:55 +0000)]
evas/async_render: do not use async event to unref glyphs
Patch by: Leandro Pereira <leandro@profusion.mobi>
SVN revision: 82662
Leandro Pereira [Fri, 11 Jan 2013 19:54:12 +0000 (19:54 +0000)]
evas/async_render: do not use async event to unref images
Patch by: Leandro Pereira <leandro@profusion.mobi>
SVN revision: 82661
Leandro Pereira [Fri, 11 Jan 2013 19:49:15 +0000 (19:49 +0000)]
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
Leandro Pereira [Fri, 11 Jan 2013 19:48:28 +0000 (19:48 +0000)]
evas: Do not use an Eina_Lock for glyph array
Patch by: Leandro Pereira <leandro@profusion.mobi>
SVN revision: 82659
Paulo Alcantara [Fri, 11 Jan 2013 19:48:00 +0000 (19:48 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 18:55:06 +0000 (18:55 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 18:45:10 +0000 (18:45 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 18:20:11 +0000 (18:20 +0000)]
evas: be loud if async render is mixed with sync.
SVN revision: 82655
Tom Hacohen [Fri, 11 Jan 2013 18:16:24 +0000 (18:16 +0000)]
Evas: Fixed a bug with breaking after format items.
SVN revision: 82653
Tom Hacohen [Fri, 11 Jan 2013 18:16:09 +0000 (18:16 +0000)]
Efl static_libs: Updated liblinebreak -> libunibreak.
SVN revision: 82652
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 17:41:53 +0000 (17:41 +0000)]
efl/emotion: delay module loading until they are needed.
SVN revision: 82651
Jérémy Zurcher [Fri, 11 Jan 2013 17:20:22 +0000 (17:20 +0000)]
fix segv in emotion_webcam_init and leak in emotion_webcam_config_load
SVN revision: 82650
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 17:07:04 +0000 (17:07 +0000)]
efl/configure: fix AM_CONDITIONAL() error if eeze is not to be built.
SVN revision: 82649
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 16:57:21 +0000 (16:57 +0000)]
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
Henrique Dante de Almeida [Fri, 11 Jan 2013 16:54:48 +0000 (16:54 +0000)]
efl: Fix object size constraints calculation in stack layout
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 82647
Jihoon Kim [Fri, 11 Jan 2013 16:05:55 +0000 (16:05 +0000)]
efl/ecore_imf/scim: remove unused variable
SVN revision: 82642
Jihoon Kim [Fri, 11 Jan 2013 16:01:16 +0000 (16:01 +0000)]
efl/ecore_imf/scim: remove unused code
SVN revision: 82641
Carsten Haitzler [Fri, 11 Jan 2013 13:31:40 +0000 (13:31 +0000)]
CEDRIC! REVERT! this breaks text labels in e17 default theme when
eselected - they all jump up to the top! :)
SVN revision: 82635
Cedric BAIL [Fri, 11 Jan 2013 08:31:09 +0000 (08:31 +0000)]
efl: let's preperly clean pointer when we delete stuff.
SVN revision: 82621
Cedric BAIL [Fri, 11 Jan 2013 06:58:25 +0000 (06:58 +0000)]
efl: update edje text part geometry after setting the text.
SVN revision: 82615
Cedric BAIL [Fri, 11 Jan 2013 06:57:50 +0000 (06:57 +0000)]
efl: remove useless geometry get.
SVN revision: 82614
Cedric BAIL [Fri, 11 Jan 2013 05:27:17 +0000 (05:27 +0000)]
efl: force update of Evas_Object_Text clip cache when geometry change.
SVN revision: 82612
Cedric BAIL [Fri, 11 Jan 2013 05:21:54 +0000 (05:21 +0000)]
efl: only compute font clip when relevant.
SVN revision: 82611
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 04:31:09 +0000 (04:31 +0000)]
printf--
SVN revision: 82610
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 04:28:50 +0000 (04:28 +0000)]
efl: eet may do the error on close, where it tries to actually write stuff.
SVN revision: 82609
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 04:23:01 +0000 (04:23 +0000)]
efl/emotion_test: hint that we can be running from inside the build tree.
otherwise evas modules won't be found.
SVN revision: 82608
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 04:21:54 +0000 (04:21 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 04:21:02 +0000 (04:21 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 03:57:29 +0000 (03:57 +0000)]
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
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 03:22:03 +0000 (03:22 +0000)]
efl: fix option for gstreamer.
Thanks to Nicolas Aguirre
SVN revision: 82604
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 03:06:42 +0000 (03:06 +0000)]
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
Cedric BAIL [Fri, 11 Jan 2013 01:52:46 +0000 (01:52 +0000)]
evas: remove duplicated piece of code.
SVN revision: 82601
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 00:37:31 +0000 (00:37 +0000)]
efl/emotion: remove init/shutdown from module, it's a subfunction of open/close!
SVN revision: 82600
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 00:33:26 +0000 (00:33 +0000)]
efl/emotion: as handle went away, make the API const.
SVN revision: 82599
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 00:31:56 +0000 (00:31 +0000)]
efl/emotion: remove handle from wrong place.
that handle should live elsewhere, it was a hack.
SVN revision: 82598
Gustavo Sverzut Barbieri [Fri, 11 Jan 2013 00:27:35 +0000 (00:27 +0000)]
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
Boris Faure [Thu, 10 Jan 2013 22:51:28 +0000 (22:51 +0000)]
efl:ecore: fix possible segfault when ccalling ecore_x_selection_convert()
SVN revision: 82594
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 22:17:32 +0000 (22:17 +0000)]
efl/emotion: move register/unregister.
SVN revision: 82593
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 22:11:07 +0000 (22:11 +0000)]
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
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 21:50:02 +0000 (21:50 +0000)]
efl/emotion: move webcam stuff out of main file.
SVN revision: 82591
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 21:47:19 +0000 (21:47 +0000)]
efl/emotion: export useful data for generic module.
SVN revision: 82589
Lucas De Marchi [Thu, 10 Jan 2013 20:26:02 +0000 (20:26 +0000)]
efl: remove checks for socket.h, net/*, arpa/*
SVN revision: 82585
Lucas De Marchi [Thu, 10 Jan 2013 20:25:57 +0000 (20:25 +0000)]
efl: remove checks for sys/select.h, sys/time.h and sys/resource.h
SVN revision: 82584
Lucas De Marchi [Thu, 10 Jan 2013 20:25:53 +0000 (20:25 +0000)]
efl: remove check for langinfo.h and locale.h
SVN revision: 82583
Lucas De Marchi [Thu, 10 Jan 2013 20:25:48 +0000 (20:25 +0000)]
efl: remove check for libgen.h
SVN revision: 82582
Lucas De Marchi [Thu, 10 Jan 2013 20:25:44 +0000 (20:25 +0000)]
efl: remove check for errno.h
SVN revision: 82581
Lucas De Marchi [Thu, 10 Jan 2013 20:25:39 +0000 (20:25 +0000)]
efl: remove check for inttypes.h and stdint.h
SVN revision: 82580
Lucas De Marchi [Thu, 10 Jan 2013 20:25:35 +0000 (20:25 +0000)]
efl: Remove check for siginfo.h and siginfo_t
SVN revision: 82579
Lucas De Marchi [Thu, 10 Jan 2013 20:25:31 +0000 (20:25 +0000)]
efl: Remove check for signal.h
SVN revision: 82578
Lucas De Marchi [Thu, 10 Jan 2013 20:25:26 +0000 (20:25 +0000)]
efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard.
SVN revision: 82577
Lucas De Marchi [Thu, 10 Jan 2013 20:25:21 +0000 (20:25 +0000)]
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
Lucas De Marchi [Thu, 10 Jan 2013 20:25:16 +0000 (20:25 +0000)]
elf: update gitignore
SVN revision: 82575
Lucas De Marchi [Thu, 10 Jan 2013 16:14:55 +0000 (16:14 +0000)]
efl/eeze: move sensor modules to their own dir
SVN revision: 82574
Carsten Haitzler [Thu, 10 Jan 2013 12:23:27 +0000 (12:23 +0000)]
add dri2 minor check for swap stuff.
SVN revision: 82562
Carsten Haitzler [Thu, 10 Jan 2013 11:53:07 +0000 (11:53 +0000)]
oh and also fix up properties to not update until event comes back
from x telling us they did. :)
SVN revision: 82558
Carsten Haitzler [Thu, 10 Jan 2013 11:23:10 +0000 (11:23 +0000)]
elm win throttle/norender auto... eocre-evas got a few things wrong.
no - not planning a backport of this at this stage. small thing. maybe
backport (and chlog/news) if this doesnt cause any new issues?
SVN revision: 82549
Jiyoun Park [Thu, 10 Jan 2013 08:53:11 +0000 (08:53 +0000)]
Fix evas bmp loader code which deal with image size.
if image file's image size not apply padding size, decoding cannot work correctly
SVN revision: 82532
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 06:08:41 +0000 (06:08 +0000)]
emotion moved into efl
SVN revision: 82513
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 06:07:30 +0000 (06:07 +0000)]
efl: fix dso due missing ecore-evas
SVN revision: 82512
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 06:04:28 +0000 (06:04 +0000)]
efl/emotion_test: allow to run in tree.
if you EFL_RUN_IN_TREE=1 before running it, it will work without
installing.
SVN revision: 82511
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 05:53:36 +0000 (05:53 +0000)]
efl: make edj depend on edje_cc
SVN revision: 82510
Gustavo Sverzut Barbieri [Thu, 10 Jan 2013 05:48:55 +0000 (05:48 +0000)]
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