profile/ivi/evas.git
15 years agomake gl engine able to use cutouts - in some cases its faster, some
caro [Sat, 21 Feb 2009 08:18:53 +0000 (08:18 +0000)]
make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm. (synchronize with gl_x11 code)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39116 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago1. make software font draw code actually use cutouts.
raster [Sat, 21 Feb 2009 03:13:49 +0000 (03:13 +0000)]
1. make software font draw code actually use cutouts.
2. make gl engine able to use cutouts - in some cases its faster, some
slower. it's a mixed bag. not sure what to make of it. it's #defined to be
disabled atm.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39114 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas_object_image.c: Remove a warning and return 1 as a success.
cedric [Tue, 17 Feb 2009 17:36:29 +0000 (17:36 +0000)]
    * evas_object_image.c: Remove a warning and return 1 as a success.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39060 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoand support obscured rects for clip-out if middle of bordered image set to
raster [Tue, 17 Feb 2009 04:53:03 +0000 (04:53 +0000)]
and support obscured rects for clip-out if middle of bordered image set to
solid. speedup.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39051 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofree correctly each buffer in XCB engine
caro [Sun, 15 Feb 2009 11:14:12 +0000 (11:14 +0000)]
free correctly each buffer in XCB engine

The xcb_image dependency should be removed and replaced
by direct calls of the request XPutImage

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39024 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix minor bug in fill mode.
raster [Sun, 15 Feb 2009 02:53:24 +0000 (02:53 +0000)]
fix minor bug in fill mode.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39020 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agodon't return NaN for hue if r=g=b
rephorm [Sun, 15 Feb 2009 01:53:02 +0000 (01:53 +0000)]
don't return NaN for hue if r=g=b

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39019 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas/lib/canvas/evas_async_events.c: Use memset instead of PACKED.
cedric [Thu, 12 Feb 2009 17:05:17 +0000 (17:05 +0000)]
* evas/lib/canvas/evas_async_events.c: Use memset instead of PACKED.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39003 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoin theory - (not tested yet) allow hitns to set middle to solid of
raster [Thu, 12 Feb 2009 13:38:33 +0000 (13:38 +0000)]
in theory - (not tested yet) allow hitns to set middle to solid of
borderscaling.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39000 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas/m4/ac_attribute.m4,
cedric [Wed, 11 Feb 2009 17:56:03 +0000 (17:56 +0000)]
* evas/m4/ac_attribute.m4,
* evas/src/lib/canvas/evas_async_events.c: Fix long standing warning from valgrind.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38996 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas/src/lib/include/evas_common.h,
cedric [Tue, 10 Feb 2009 15:53:17 +0000 (15:53 +0000)]
* evas/src/lib/include/evas_common.h,
* evas/src/lib/engines/common/evas_font.h,
* evas/src/lib/engines/common/evas_font_draw.c,
* evas/src/lib/engines/common/evas_font_load.c,
* evas/src/lib/engines/common/evas_font_query.c: Add cache for font kerning.

This patch give something around 2% for all tests around text in expedite,
except for Textblock Intl where it give a 3 times boost.

Regarding text rendering speed, something is strange when used by evas_pipe.
All tests using Styles are around 40% faster without evas_pipe. 30% faster
for Text Change. But Text Basic 7% slower. So it should be possible to have
faster rendering when using evas_pipe for font rendering.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38993 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoDo not inform callbacks that did not changed the state of object.
barbieri [Thu, 5 Feb 2009 14:37:58 +0000 (14:37 +0000)]
Do not inform callbacks that did not changed the state of object.

For some unknown reason evas was informing EVAS_CALLBACK_* even if the
original call did not changed the internal object state, that is, new
value is already equal to current value.

This is specially costly since Edje, Box, Table and possible other
layout engines will call evas_object_resize(), move(), show(), hide()
even if the state has not changed, assuming evas will ignore the call
(as it does). The real overhead might come if there are listeners
attached to these events, that in turn might do lots of other stuff,
leading to a torrent of useless calls.

I marked it for removal, please test it and uncomment '#define
CALLBACK_NOOPS' to get the old behavior back. It does seems to work
with e17 and edje_editor. If problems appear, let's try to fix the
real problem instead of getting this code back, it's a performance
penalty.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38955 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoDo not recalculate table/box if size does not really changed.
barbieri [Thu, 5 Feb 2009 12:38:04 +0000 (12:38 +0000)]
Do not recalculate table/box if size does not really changed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38950 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMissing modification of the variable DOXYGEN to
caro [Sun, 1 Feb 2009 20:25:19 +0000 (20:25 +0000)]
Missing modification of the variable DOXYGEN to
efl_doxygen. Spotted by Albin Tonnerre (Lutin).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38893 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix logic in efl_doxygen.m4
caro [Sun, 1 Feb 2009 06:52:11 +0000 (06:52 +0000)]
fix logic in efl_doxygen.m4

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38876 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agocheck for null inputs in imaging and dont segv if u get them
raster [Thu, 29 Jan 2009 23:01:24 +0000 (23:01 +0000)]
check for null inputs in imaging and dont segv if u get them

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38851 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agomake the direct3d engine working with d3dx9 header files
caro [Thu, 29 Jan 2009 21:32:26 +0000 (21:32 +0000)]
make the direct3d engine working with d3dx9 header files
from Microsoft SDK (november 2008)

Patch by Roberto Huelga (modified + minor improvements)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38850 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoload_size option now accept -1xH or Wx-1
barbieri [Thu, 29 Jan 2009 16:45:14 +0000 (16:45 +0000)]
load_size option now accept -1xH or Wx-1

If one want to load image at a given height or width and the other
dimension should be large enough to make it possible, give -1 as the
other coordinate and this will happen.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38845 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoextra fragment shader prog to 0 call. remove. useless.
raster [Tue, 27 Jan 2009 23:57:21 +0000 (23:57 +0000)]
extra fragment shader prog to 0 call. remove. useless.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38820 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agosorry, let's keep name coherent with others.
barbieri [Fri, 23 Jan 2009 22:23:03 +0000 (22:23 +0000)]
sorry, let's keep name coherent with others.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38750 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoevas preload: do not lock mutex aready locked.
barbieri [Fri, 23 Jan 2009 22:21:04 +0000 (22:21 +0000)]
evas preload: do not lock mutex aready locked.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38749 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix image cache shutdown.
barbieri [Fri, 23 Jan 2009 21:08:35 +0000 (21:08 +0000)]
Fix image cache shutdown.

we should just remove entries pending preload from the cache being
shutdown, not all of them.

this is untested as it is hard to force this situation, but should be
more correct than the previous.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38747 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoevas preload: keep the preload thread alive.
barbieri [Fri, 23 Jan 2009 20:36:04 +0000 (20:36 +0000)]
evas preload: keep the preload thread alive.

before, when no more images were to be preloaded asynchronously, the
thread exited, but were not collected. This leads to a huge leak if
the process is doing aggressive use of image preloading (ie: photo
wall).

collecting dead threads in a proper way (read: without race
conditions) is a bit harder than keeping just one thread alive,
forever. As we do that for evas_pipe (the renderer), let's do the same
with preload and save code.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38746 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agobuffer: reorder destroy-recreate sequence to avoid cache to be destroyed.
barbieri [Fri, 23 Jan 2009 15:28:43 +0000 (15:28 +0000)]
buffer: reorder destroy-recreate sequence to avoid cache to be destroyed.

users of buffer engine (ie: e_thumb_main.c) were broken since when
they resize the canvas they would implicitly call engine->setup()
again, which would destroy output and create it again. However the
cache could be destroyed and images using it would be bogus.

This does not happen if the process have other cache users, but
e_thumb is just one canvas live at time.

By reordering, we have the cache reference to go to 2 and then back to
1, not destroying it.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38739 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago__stdcall must also be used in the definition of the callbacks
caro [Fri, 23 Jan 2009 06:24:12 +0000 (06:24 +0000)]
__stdcall must also be used in the definition of the callbacks

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38705 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRemove all images pending preload before cache shuts down.
barbieri [Fri, 23 Jan 2009 00:09:10 +0000 (00:09 +0000)]
Remove all images pending preload before cache shuts down.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38703 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoLet's try to shutdown cache and fix delete problem.
barbieri [Fri, 23 Jan 2009 00:08:11 +0000 (00:08 +0000)]
Let's try to shutdown cache and fix delete problem.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38702 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoallow asm to turn off via env vars
raster [Thu, 22 Jan 2009 03:21:04 +0000 (03:21 +0000)]
allow asm to turn off via env vars

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38693 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMissing #else for non win32
turran [Wed, 21 Jan 2009 09:46:02 +0000 (09:46 +0000)]
Missing #else for non win32

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38681 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAvoid the stack to be screwed up in the callbacks on Windows.
caro [Wed, 21 Jan 2009 07:44:20 +0000 (07:44 +0000)]
Avoid the stack to be screwed up in the callbacks on Windows.
Fix the seg fault in the polygon test in expedite on Windows.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38679 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoCorrectly cancel each image object and not all at once.
cedric [Tue, 20 Jan 2009 14:56:37 +0000 (14:56 +0000)]
Correctly cancel each image object and not all at once.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38658 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoadd error message in the win ce gdi engine
caro [Mon, 19 Jan 2009 17:53:30 +0000 (17:53 +0000)]
add error message in the win ce gdi engine

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38646 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * evas/src/lib/cache/evas_cache_image.c,
cedric [Mon, 19 Jan 2009 14:06:09 +0000 (14:06 +0000)]
* evas/src/lib/cache/evas_cache_image.c,
* evas/src/lib/include/evas_common.h: Now you should receive a async call for each image object that does async preload.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38643 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoupdate ac_attribute.m4
caro [Wed, 14 Jan 2009 08:36:29 +0000 (08:36 +0000)]
update ac_attribute.m4

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38580 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoLook for locks being available
handyande [Tue, 13 Jan 2009 16:31:31 +0000 (16:31 +0000)]
Look for locks being available

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38571 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix the copying license to
raster [Tue, 13 Jan 2009 13:00:45 +0000 (13:00 +0000)]
fix the copying license to

1. get rid of grammar mistake
2. refer to COPYING-PLAIn correctly as the filename
3. be more explicit on "shipping source" due to ambiguity (this makes it what
it was intended to be and that is GPL compatible).

this does not modify the LGPL libs... or GPL apps etc. - only those using the
original COPYING from e. author and dates at the top remain the same.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38569 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdated debian/rules for ecore and evas because of new 'make doc' support.
quaker [Sun, 11 Jan 2009 10:37:01 +0000 (10:37 +0000)]
Updated debian/rules for ecore and evas because of new 'make doc' support.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38548 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoDeleted some useless files because of make doc support
quaker [Sun, 11 Jan 2009 10:31:26 +0000 (10:31 +0000)]
Deleted some useless files because of make doc support

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38547 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdded some missing files for make doc support
quaker [Sun, 11 Jan 2009 10:27:01 +0000 (10:27 +0000)]
Added some missing files for make doc support

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38546 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdded support for "make doc" in evas and ecore.
quaker [Sun, 11 Jan 2009 10:20:22 +0000 (10:20 +0000)]
Added support for "make doc" in evas and ecore.
Thanks to Lutin :)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38545 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoautomatically detect quartz engine on mac os x
caro [Sun, 11 Jan 2009 08:00:06 +0000 (08:00 +0000)]
automatically detect quartz engine on mac os x

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38543 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix mem leak in tiff loader
caro [Sat, 10 Jan 2009 22:44:04 +0000 (22:44 +0000)]
fix mem leak in tiff loader

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38542 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoadd windowed and fullscreen support to the gdi backend. Other backend are only fullsc...
caro [Sat, 10 Jan 2009 17:33:19 +0000 (17:33 +0000)]
add windowed and fullscreen support to the gdi backend. Other backend are only fullscreen.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38539 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdded debian/rules files with a new permissions set(755).
quaker [Fri, 9 Jan 2009 16:33:51 +0000 (16:33 +0000)]
Added debian/rules files with a new permissions set(755).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38519 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoprepare debian rules files for new chmod permissions.
quaker [Fri, 9 Jan 2009 16:31:51 +0000 (16:31 +0000)]
prepare debian rules files for new chmod permissions.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38518 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMake evas_object_table_smart_set static.
sachiel [Fri, 9 Jan 2009 13:31:51 +0000 (13:31 +0000)]
Make evas_object_table_smart_set static.
Makes no sense to export it when table is not meant to be inheritable.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38516 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix formatting and use dither for adopting with format and add comments for
raster [Mon, 5 Jan 2009 04:06:19 +0000 (04:06 +0000)]
fix formatting and use dither for adopting with format and add comments for
tmpo buf fmt

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38459 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdded new set of debian subdirs.
quaker [Thu, 1 Jan 2009 11:35:17 +0000 (11:35 +0000)]
Added new set of debian subdirs.

BROKEN/etox
e
ecore
e_dbus
edje
edje_editor
edje_viewer
eet
efreet
eina
elicit
elitaire
embryo
E-MODULES-EXTRA
emotion
emphasis
empower
emprint
enhance
enity
entrance
ephoto
epsilon
esmart
estickies
etk
etk_extra
evas
evolve
ewl
exhibit
exml
expedite
imlib2
imlib2_loaders
MISC/engage
OLD/eclair
OLD/engrave
OLD/enotes
OLD/entrance_edit_gui
OLD/e_utils
OLD/evoak
OLD/examine
OLD/iconbar
PROTO/etk_server
PROTO/exchange
PROTO/extrackt
rage

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38399 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRemoved debian subfolders - prepared for a new set of debian subdirs.
quaker [Thu, 1 Jan 2009 11:25:05 +0000 (11:25 +0000)]
Removed debian subfolders - prepared for a new set of debian subdirs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38398 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix other #ifdefs too
raster [Mon, 29 Dec 2008 11:37:44 +0000 (11:37 +0000)]
fix other #ifdefs too

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38345 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix locking around entry_surface_alloc.
barbieri [Fri, 26 Dec 2008 12:50:55 +0000 (12:50 +0000)]
fix locking around entry_surface_alloc.

we must make sure flags are consistent with actual values, so lock
around use and set of these variables as well.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38322 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agouse correct #ifdef
raster [Tue, 23 Dec 2008 23:54:51 +0000 (23:54 +0000)]
use correct #ifdef

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38314 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoCancel preload if file a new file is set.
barbieri [Tue, 23 Dec 2008 23:15:53 +0000 (23:15 +0000)]
Cancel preload if file a new file is set.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38313 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoPossible last try to fix async imagre preload race conditions.
barbieri [Tue, 23 Dec 2008 23:07:48 +0000 (23:07 +0000)]
Possible last try to fix async imagre preload race conditions.

 1 - use inlist as regular list uses non-thread safe mempool;
 2 - lock around image loading, so if main thread requests pixels right
     before worker thread is loading them, you don't get ie->info.module
     to NULL while it would be used (triggered from engines/common).
     Maybe this should be handled by a global mutex elsewhere instead of
     per-image mutex, but it has more granularity now.
 3 - emit "preloaded" callback if it was canceled to be loaded from main
     thread.

Please someone review these changes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38312 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoattempt to fix image preload thread bugs 1: module refcount.
barbieri [Tue, 23 Dec 2008 21:20:43 +0000 (21:20 +0000)]
attempt to fix image preload thread bugs 1: module refcount.

image preload will use modules from threads, there is a possibility to
crash due wrong reference counting.

actually much more can fail, we need to check modules don't keep that
needs exclusive access in globals or per-Evas_Module, but that's
another issue.

TODO: replace spinlocks with atomic operations.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38309 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix bugs spotted by clang static analyser.
barbieri [Tue, 23 Dec 2008 18:14:16 +0000 (18:14 +0000)]
fix bugs spotted by clang static analyser.

We had some problems with preload and after running LLVM's CLang
Static Analyser we found out that current->target could be NULL after
loop.

Also fixed some GCC and CLang warnings, kudos to these wonderful tools
that "Saved The Day".

PS: we should put some CLang Static Analyser results so others can
help fix other parts of E.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38293 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoEvas Win32 VS8 projects added
dm [Mon, 22 Dec 2008 23:24:22 +0000 (23:24 +0000)]
Evas Win32 VS8 projects added

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38284 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agooops, fix doc example.
barbieri [Sun, 21 Dec 2008 18:19:33 +0000 (18:19 +0000)]
oops, fix doc example.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38267 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix image preload signature and make it callback if already preloaded.
barbieri [Sat, 20 Dec 2008 13:39:15 +0000 (13:39 +0000)]
fix image preload signature and make it callback if already preloaded.

evas_object_image_preload() should not use object as const because it
will mdofiy the object state (so it's semantic makes more sense).

if data was already loaded, then callback before ignored it (return).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38246 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agouseless file
caro [Sat, 20 Dec 2008 13:24:27 +0000 (13:24 +0000)]
useless file

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38245 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * src/modules/engines/direct3d/:
caro [Sat, 20 Dec 2008 13:22:46 +0000 (13:22 +0000)]
 * src/modules/engines/direct3d/:
   fast direct3d engine written by Dmitriy Mazovka. You rock !

 * m4/evas_check_engine.m:
 * m4/evas_check_loader.m4:
   use m4_popdef for each macro (otherwise, fail if aclocal is too old)

 * src/lib/canvas/evas_font_dir.c:
   include evas_common.h and evas_private.h after Eet.h and Evil.h
   so that EAPI is correctly defined

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38244 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoalways call image preloaded callback.
barbieri [Fri, 19 Dec 2008 21:56:31 +0000 (21:56 +0000)]
always call image preloaded callback.

if image was already preloaded, inform user.

regular use case is to have image hidden, ask for preload and then
show image on callback, if there is no callback, image is never shown.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38236 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoMore proper fix for the infinite calculate in evas box.
sachiel [Thu, 18 Dec 2008 03:04:15 +0000 (03:04 +0000)]
More proper fix for the infinite calculate in evas box.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38205 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdded iterator and accessor to box and table
sachiel [Thu, 18 Dec 2008 02:39:09 +0000 (02:39 +0000)]
Added iterator and accessor to box and table

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38203 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoGuard box from getting into an infinite loop when calculating layout.
sachiel [Wed, 17 Dec 2008 14:10:09 +0000 (14:10 +0000)]
Guard box from getting into an infinite loop when calculating layout.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38182 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoUpdate ac_attribute macro and remove __UNUSED__ declaration from eina.
cedric [Wed, 17 Dec 2008 13:03:00 +0000 (13:03 +0000)]
Update ac_attribute macro and remove __UNUSED__ declaration from eina.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38179 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoengine in list--
raster [Wed, 17 Dec 2008 08:24:09 +0000 (08:24 +0000)]
engine in list--

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agodont need xcb engine code anymore
raster [Wed, 17 Dec 2008 08:18:13 +0000 (08:18 +0000)]
dont need xcb engine code anymore

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38176 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agovtorri's merge of xcb and x11 software engines.
raster [Wed, 17 Dec 2008 08:13:49 +0000 (08:13 +0000)]
vtorri's merge of xcb and x11 software engines.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38173 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdd function to get the length in characters of a string
sachiel [Mon, 15 Dec 2008 22:03:04 +0000 (22:03 +0000)]
Add function to get the length in characters of a string

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38158 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix hash foreach cb.
englebass [Mon, 15 Dec 2008 20:49:59 +0000 (20:49 +0000)]
Fix hash foreach cb.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38155 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoAdd function prototypes to header.
englebass [Mon, 15 Dec 2008 20:31:26 +0000 (20:31 +0000)]
Add function prototypes to header.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38154 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agohelper: evas_object_image_filled.
barbieri [Fri, 12 Dec 2008 22:36:47 +0000 (22:36 +0000)]
helper: evas_object_image_filled.

This helper will take care of applying fill property to match object size.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38120 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoNasty bugfix: allow smart calculate to mark object as dirty again.
barbieri [Thu, 11 Dec 2008 21:55:22 +0000 (21:55 +0000)]
Nasty bugfix: allow smart calculate to mark object as dirty again.

Wow, this was tricky to find since it is hard to trigger, thanks to
Canola complex edje files we could spot it!

In some cases we end with object being marked as dirty while
calculating its state (ie: edje), then we need to run smart calculate
again.

This has a drawback however: we cannot check for need_recalculate()
inside smart calculate anymore, we must assume it is only called if
the flag is set. To avoid that we could mark a shadow member and use
that or use a counter, that has the problem of using more data.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38108 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoProper wrapper for evas_hash around eina_hash.
barbieri [Wed, 10 Dec 2008 21:26:17 +0000 (21:26 +0000)]
Proper wrapper for evas_hash around eina_hash.

Eina hash api must get non NULL pointer allocated with
eina_hash_new(), but Evas hash started with NULL and would allocate
and destroy the hash as required by operations.

To do a proper wrapper we must ensure we don't call Eina hash API with
NULL, we must handle that outside Eina.

PLEASE do not remove this code again (it's the second time I add it),
this is the correct approach. Other than that is going after evas_hash
usage and converting directly to eina_hash.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38091 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agobetter handling of unset image fill property.
barbieri [Tue, 9 Dec 2008 22:46:57 +0000 (22:46 +0000)]
better handling of unset image fill property.

Unset value is now 0x0 and this is handled as invalid, with an error message.

1x1 is a valid fill, but it is very slow and often system hangs while
it scale the whole thing... usually nobody want it at 1x1, we just end
using that for unset values. With unset value at 0x0 it will not
happen and we'll know when we forgot to do so!.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38071 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoRemove use of evas_hash from evas and use directly eina.
cedric [Tue, 9 Dec 2008 17:56:31 +0000 (17:56 +0000)]
Remove use of evas_hash from evas and use directly eina.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38066 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoBetter put pointer at the beginning of the structure.
cedric [Tue, 9 Dec 2008 17:55:33 +0000 (17:55 +0000)]
Better put pointer at the beginning of the structure.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38065 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * Better size_hint calc for vertical and horiz layout, need to do the same for the...
davemds [Tue, 9 Dec 2008 00:02:48 +0000 (00:02 +0000)]
 * Better size_hint calc for vertical and horiz layout, need to do the same for the other layouts

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38035 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix warning. evas_hash_free never returned anything.
cedric [Mon, 8 Dec 2008 12:49:36 +0000 (12:49 +0000)]
Fix warning. evas_hash_free never returned anything.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@38019 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agohash: better handling of NULL, add magic checking.
barbieri [Sun, 7 Dec 2008 13:28:29 +0000 (13:28 +0000)]
hash: better handling of NULL, add magic checking.

 * evas: if we automatically destroy hash, check for NULL before
   handling it to eina api, which expect elements to be created with
   eina_hash_new() and thus will fail on NULL.
 * eina: add magic checking for eina_hash and eina_hash_iterator, this will
   help spot when NULL is used.
 * eina_hash_foreach: do not try to create the iterator if hash is NULL.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37982 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix software_16_ddraw engine compilation
caro [Sat, 6 Dec 2008 20:30:15 +0000 (20:30 +0000)]
fix software_16_ddraw engine compilation

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37966 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoin svn.
raster [Wed, 3 Dec 2008 22:21:40 +0000 (22:21 +0000)]
in svn.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37919 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoadd cast
caro [Wed, 3 Dec 2008 17:59:39 +0000 (17:59 +0000)]
add cast

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37915 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoadd cast
caro [Wed, 3 Dec 2008 17:58:26 +0000 (17:58 +0000)]
add cast

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37914 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agook - revert scalecache until leak fixed.
raster [Tue, 2 Dec 2008 02:33:09 +0000 (02:33 +0000)]
ok - revert scalecache until leak fixed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37899 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoquick - evas scalecache put this in svn do i dont lose my patch. i'll revert
raster [Tue, 2 Dec 2008 02:32:22 +0000 (02:32 +0000)]
quick - evas scalecache put this in svn do i dont lose my patch. i'll revert
and work on gettign the leak fixed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37898 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoadd fullscreen support in software directdraw engine (win xp)
caro [Mon, 1 Dec 2008 20:38:05 +0000 (20:38 +0000)]
add fullscreen support in software directdraw engine (win xp)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37887 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agofix #defines for arm - 5e on supports pld! :)
raster [Mon, 1 Dec 2008 03:56:34 +0000 (03:56 +0000)]
fix #defines for arm - 5e on supports pld! :)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37874 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotypo fixed: added x11 to glitz name (glitz_x11) in makefile
thanatermesis [Thu, 27 Nov 2008 02:13:35 +0000 (02:13 +0000)]
typo fixed: added x11 to glitz name (glitz_x11) in makefile

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37816 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoCorrect descriptions for the engines options. Thanks ashikase.
sachiel [Tue, 25 Nov 2008 01:52:13 +0000 (01:52 +0000)]
Correct descriptions for the engines options. Thanks ashikase.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37796 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoso.. why do we check for cairo-svg or libsvg-cairo? isn't this a librsvg
raster [Mon, 24 Nov 2008 23:57:49 +0000 (23:57 +0000)]
so.. why do we check for cairo-svg or libsvg-cairo? isn't this a librsvg
problem - not ours, so we don't need to check?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37795 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agotypo
caro [Mon, 24 Nov 2008 18:20:40 +0000 (18:20 +0000)]
typo

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37790 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * use the m4 macro EVAS_CHECK_ENGINE to check if an engine is available or not
caro [Mon, 24 Nov 2008 06:18:31 +0000 (06:18 +0000)]
 * use the m4 macro EVAS_CHECK_ENGINE to check if an engine is available or not
 * group the want_* variables related to engines and loaders at the beginning
   of configure.ac
 * use -no-undefined directly instead of a flag checked wrt the host
 * some clean up in Makefile.am files

Please report any problem

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37784 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoremove trailing spaces
caro [Sun, 23 Nov 2008 14:49:55 +0000 (14:49 +0000)]
remove trailing spaces

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37771 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * call the smart_changed function
davemds [Sun, 23 Nov 2008 03:27:28 +0000 (03:27 +0000)]
 * call the smart_changed function

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37762 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years ago * add the function:
davemds [Sun, 23 Nov 2008 02:01:38 +0000 (02:01 +0000)]
 * add the function:
Evas_Bool evas_object_box_remove_all(Evas_Object *o, Evas_Bool clear);
* set min size hint on layout (flow layouts not done yet)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37758 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agocleaner to re-use mul.
raster [Sat, 22 Nov 2008 09:28:38 +0000 (09:28 +0000)]
cleaner to re-use mul.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37745 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoFix configure flags in Debian rule.
kaethorn [Fri, 21 Nov 2008 10:47:04 +0000 (10:47 +0000)]
Fix configure flags in Debian rule.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37727 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

15 years agoformatting
caro [Thu, 20 Nov 2008 22:16:02 +0000 (22:16 +0000)]
formatting

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@37720 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33