raster [Mon, 23 Mar 2009 10:02:26 +0000 (10:02 +0000)]
leak--!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39645
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 22 Mar 2009 21:40:52 +0000 (21:40 +0000)]
oops, fix wrong attributes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39637
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 20 Mar 2009 06:43:44 +0000 (06:43 +0000)]
* Re-add EAPI. These macros must be defined specifically for each EFL
for Windows (XP and CE).
* include Eina.h before EAPI so that this latter is defined correctly for Evas
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39599
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 20 Mar 2009 01:03:15 +0000 (01:03 +0000)]
evas now use eina attribute macros.
let's stop replicating these macros over and over again, also flag
evas functions with attributes to help with optimizations.
TODO:
* move functions returning "int" as boolean to Eina_Bool
* move api entry to EINA_SAFETY_*
* document api
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39598
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 19 Mar 2009 19:29:05 +0000 (19:29 +0000)]
warnings--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39593
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 19 Mar 2009 16:21:09 +0000 (16:21 +0000)]
* evas: Add forgottent file needed for make dist.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39583
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 18 Mar 2009 17:05:30 +0000 (17:05 +0000)]
initialize correctly psize, so that the cache is used.
small speed up.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39554
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 17 Mar 2009 20:57:02 +0000 (20:57 +0000)]
fix image_data_put on software 16 bits engine.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39537
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 17 Mar 2009 18:20:57 +0000 (18:20 +0000)]
ignore
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39531
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 Mar 2009 17:56:06 +0000 (17:56 +0000)]
* evas_object_smart: Oops, the right test.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39529
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 Mar 2009 17:45:37 +0000 (17:45 +0000)]
* evas_object_smart: Prevent adding a child from another Evas.
**** WARNING ****
E is bugged in some place, it does swallow object from another Evas in some place.
With this patch, it will abort sooner. If you find situation where it abort, please
report. This are nasty bug hidden in our code base. And yes, you will the white box
of death, this is expected.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39528
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 17 Mar 2009 13:39:52 +0000 (13:39 +0000)]
ignore++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39522
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 17 Mar 2009 13:39:23 +0000 (13:39 +0000)]
Check whether functions exist before executing them.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39521
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Mar 2009 10:50:37 +0000 (10:50 +0000)]
more neon infra - just for "copies" right now. only 1 func filled in.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39502
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 14 Mar 2009 17:24:53 +0000 (17:24 +0000)]
AC_CHECK_HEADERS is not correctly used in evas_check_engine.m4.
The behavior of AC_CHECK_HEADERS is a bit strange: If one has
2 header files foo.h and bar.h and foo.h exists while bar.h
does not, then:
1) with
have headers="no"
AC_CHECK_HEADERS([foo.h bar.h], [have_headers="yes"])
the value of have_headers is "yes"
2) with
AC_CHECK_HEADERS([foo.h bar.h], [have_headers="yes"], [have_headers="no"])
the value of have_headers is "no"
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39479
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 14 Mar 2009 16:42:52 +0000 (16:42 +0000)]
typo in header file name
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39476
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 14 Mar 2009 06:48:25 +0000 (06:48 +0000)]
preliminary neon asm support. do NOT use!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39474
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 14 Mar 2009 05:08:08 +0000 (05:08 +0000)]
use macros for lock/unlock in .c file
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39473
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Mar 2009 15:18:39 +0000 (15:18 +0000)]
patch from Tiago Falcão - unroll loops in evas a bit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39467
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Mar 2009 09:34:46 +0000 (09:34 +0000)]
oops - use macro for .h too
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39459
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 13 Mar 2009 09:32:42 +0000 (09:32 +0000)]
use mutex instead of spinlock. older pthreads dont have spinlocks. also this
uses the same mutex macros used by the mutex on font objects, so it makes it
a bit simpler. old code is commented out for reference.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39458
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 10 Mar 2009 17:55:43 +0000 (17:55 +0000)]
release the clipper only it has been created, that is in windowed mode
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39434
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 7 Mar 2009 07:45:05 +0000 (07:45 +0000)]
mask is a pixmap, not a drawable
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39404
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 7 Mar 2009 07:00:29 +0000 (07:00 +0000)]
remove trailing spaces
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39403
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 7 Mar 2009 06:56:42 +0000 (06:56 +0000)]
remove hack about unused parameter and use __UNUSED__ instead
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39402
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 3 Mar 2009 14:38:24 +0000 (14:38 +0000)]
* evas: Add some const.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39345
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 3 Mar 2009 06:07:08 +0000 (06:07 +0000)]
fix warning when using some extensions defined in glext.h
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39341
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Mon, 2 Mar 2009 13:47:50 +0000 (13:47 +0000)]
--oopsie in the min size calc of the flow layouts
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39330
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 1 Mar 2009 21:09:39 +0000 (21:09 +0000)]
optimize ddraw engine : when locking a surface, don't allow Windows
to suspend operations. expedite runs with around 7 points more than
without those flags on my computer
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39316
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Sun, 1 Mar 2009 16:27:03 +0000 (16:27 +0000)]
more accurate min size calculation for flow layouts
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39310
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 28 Feb 2009 20:09:03 +0000 (20:09 +0000)]
Mark as changed when smooth scale flag changes.
This allows us to change to non-smooth on animations and then back to
smooth after animation is done.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39300
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 28 Feb 2009 20:04:55 +0000 (20:04 +0000)]
minor optimizations to box recalculation.
just recalculate when required, and just mark as required when layout
really changes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39299
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Sat, 28 Feb 2009 19:33:30 +0000 (19:33 +0000)]
size min hints for the flow layouts
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39297
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 28 Feb 2009 18:47:17 +0000 (18:47 +0000)]
Split files so we can avoid "defined but not used" warnings.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39295
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 28 Feb 2009 18:36:18 +0000 (18:36 +0000)]
shutdown cache, hope it works like in common/32 engine.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39294
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Sat, 28 Feb 2009 18:06:37 +0000 (18:06 +0000)]
it actually makes sense to have them overlap on justify, so go back
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39293
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Sat, 28 Feb 2009 17:56:06 +0000 (17:56 +0000)]
and also for the vertical layout
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39291
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
urandom [Sat, 28 Feb 2009 17:50:15 +0000 (17:50 +0000)]
fix smaller-box-than-items problem for horizontal layout
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39289
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 28 Feb 2009 17:10:03 +0000 (17:10 +0000)]
Fix flow layout if box size is smaller than required.
Reported and fix suggestion by Viktor Kojouharov.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39286
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 28 Feb 2009 17:07:10 +0000 (17:07 +0000)]
box: remove unused parameters
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39285
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 28 Feb 2009 13:02:17 +0000 (13:02 +0000)]
fix comment
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39280
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 28 Feb 2009 11:47:43 +0000 (11:47 +0000)]
automatic detection according to the host
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39279
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 28 Feb 2009 10:08:45 +0000 (10:08 +0000)]
* remove 'unused parameter' warnings
* i didn't touch glitz engine as it will certainly be disabled later
* i'll update windows engines later
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39274
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 27 Feb 2009 16:35:32 +0000 (16:35 +0000)]
Remove last standing warnings.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39269
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 27 Feb 2009 16:33:50 +0000 (16:33 +0000)]
Oops, missing file.
GIT would help me avoid this mess.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39268
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 27 Feb 2009 15:30:32 +0000 (15:30 +0000)]
Create macros to help initialize class structures.
also defined evas_smart_new() as deprecated.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39266
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 25 Feb 2009 23:39:59 +0000 (23:39 +0000)]
does not return a value in function returning void
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39224
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 25 Feb 2009 23:39:19 +0000 (23:39 +0000)]
remove more 'unused parameter' warnings
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39223
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 25 Feb 2009 23:18:15 +0000 (23:18 +0000)]
remove 'unused parameter' warning
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39222
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 25 Feb 2009 07:24:53 +0000 (07:24 +0000)]
use pm instead of PAL_MODE_RGB666 when allocating colors
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39188
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 24 Feb 2009 22:46:45 +0000 (22:46 +0000)]
directfb: Oops, don't give bogus data to image_data.
This fixes changing image subareas with directfb engine and
eve/webkit-efl works fine.
Thanks to Gustavo Lima Chaves.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39185
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 24 Feb 2009 08:31:31 +0000 (08:31 +0000)]
fix some warnings reported by llvm (see local.profusion.mobi:8081/~lfelipe/output-efl/)
* mainly unused parameters
* in src/lib/imaging/evas_imaging.c, set font to NULL
* in src/lib/canvas/evas_object_gradient.c, add unititialized member
there are a *lot* of reported warnings by llvm, i'll fix them later
there are also *lots* of unused parameters (compile evas with -W). I'll
fix them later too
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39172
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 24 Feb 2009 07:06:14 +0000 (07:06 +0000)]
sync when needed
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39171
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 23 Feb 2009 07:21:37 +0000 (07:21 +0000)]
update debug code.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39154
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 23 Feb 2009 07:20:21 +0000 (07:20 +0000)]
fix font cutout clip bug.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39153
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 22 Feb 2009 11:24:08 +0000 (11:24 +0000)]
fix xrender xcb engine
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39135
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 22 Feb 2009 09:19:11 +0000 (09:19 +0000)]
fix premul default value for tiff loader
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39134
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 21 Feb 2009 08:19:58 +0000 (08:19 +0000)]
remove trailing spaces
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39117
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39116
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39114
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39060
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39051
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39024
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 15 Feb 2009 02:53:24 +0000 (02:53 +0000)]
fix minor bug in fill mode.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39020
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39019
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39003
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@39000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38996
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38993
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38955
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38950
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38893
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 1 Feb 2009 06:52:11 +0000 (06:52 +0000)]
fix logic in efl_doxygen.m4
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38876
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38851
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38850
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38845
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 27 Jan 2009 23:57:21 +0000 (23:57 +0000)]
extra fragment shader prog to 0 call. remove. useless.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38820
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 23 Jan 2009 22:23:03 +0000 (22:23 +0000)]
sorry, let's keep name coherent with others.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38750
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 23 Jan 2009 22:21:04 +0000 (22:21 +0000)]
evas preload: do not lock mutex aready locked.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38749
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38747
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38746
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38739
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38705
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 23 Jan 2009 00:09:10 +0000 (00:09 +0000)]
Remove all images pending preload before cache shuts down.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38703
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38702
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 22 Jan 2009 03:21:04 +0000 (03:21 +0000)]
allow asm to turn off via env vars
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38693
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
turran [Wed, 21 Jan 2009 09:46:02 +0000 (09:46 +0000)]
Missing #else for non win32
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38681
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38679
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38658
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 19 Jan 2009 17:53:30 +0000 (17:53 +0000)]
add error message in the win ce gdi engine
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38646
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38643
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 14 Jan 2009 08:36:29 +0000 (08:36 +0000)]
update ac_attribute.m4
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38580
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
handyande [Tue, 13 Jan 2009 16:31:31 +0000 (16:31 +0000)]
Look for locks being available
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38571
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38569
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38548
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Sun, 11 Jan 2009 10:31:26 +0000 (10:31 +0000)]
Deleted some useless files because of make doc support
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38547
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Sun, 11 Jan 2009 10:27:01 +0000 (10:27 +0000)]
Added some missing files for make doc support
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38546
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38545
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sun, 11 Jan 2009 08:00:06 +0000 (08:00 +0000)]
automatically detect quartz engine on mac os x
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38543
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 10 Jan 2009 22:44:04 +0000 (22:44 +0000)]
fix mem leak in tiff loader
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@38542
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33