caro [Tue, 14 Jul 2009 21:16:08 +0000 (21:16 +0000)]
* rename 'x11' to 'xlib' when it makes sense
* allow the build of evas without xlib installed (for OpenInkpot guys)
* add big fat warning when at least a module is linked statically (try it !)
more patches will follow now (ecore, e, rage and ewl)
I let pyton and c++ bindings maintainer to do the rename
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41329
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 12 Jul 2009 16:11:58 +0000 (16:11 +0000)]
fix uninitialized problems reported by valgrind.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41316
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 10 Jul 2009 06:52:09 +0000 (06:52 +0000)]
cserve for evas now has a threaded loader - much better when multiple clients
aare hammering it with load requests
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41293
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 10 Jul 2009 06:06:37 +0000 (06:06 +0000)]
patch from: Mikhail Gusarov <dottedmag@dottedmag.net>
evas_common_font_utf8_get_prev currently works correctly only on an
ASCII symbols. For non-ASCII it just returns random garbage somehow
constructed from a string.
Attached patch makes it work according to the comment at the start.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41292
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 7 Jul 2009 11:07:43 +0000 (11:07 +0000)]
* evas: Try all known modules when testing an unknown file.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41262
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 6 Jul 2009 21:48:11 +0000 (21:48 +0000)]
missing ;
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41259
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 1 Jul 2009 14:05:04 +0000 (14:05 +0000)]
* evas: Reduce code duplication.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41228
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 29 Jun 2009 06:44:35 +0000 (06:44 +0000)]
fix++
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41222
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 27 Jun 2009 13:07:00 +0000 (13:07 +0000)]
Reorganize a bit the configure.ac file, and add 2 macros for
dithering and scaler
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41216
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 27 Jun 2009 07:00:39 +0000 (07:00 +0000)]
remove useless Windows CE stuff, as it must be done on the
executable, and not the library.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41214
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 27 Jun 2009 06:42:14 +0000 (06:42 +0000)]
update m4 macros (mainly formatting)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41212
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 26 Jun 2009 13:26:52 +0000 (13:26 +0000)]
* evas: break engine API !!!
Improvements: Now evas rendering loop is the one responsible to
initialize the surface to 0 correctly (taking into account surface
alpha and object opacity). This will reduce the number of memset
we do.
Note: Current software_x11 (xlib and xcb) are buggy. They are
copying too much data when the surface use a mask. That's why
two memset are left in their code. They could be removed, but
we should fix the surface we copy on change (look at mxob user
and evas_software_xlib_x_output_buffer_paste).
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41206
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 26 Jun 2009 13:15:32 +0000 (13:15 +0000)]
* evas: Fix broken evas_software_16 static module support.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41205
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 25 Jun 2009 14:59:12 +0000 (14:59 +0000)]
add a zero of cpu.. just in case.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41195
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 25 Jun 2009 04:20:34 +0000 (04:20 +0000)]
remove trailing spaces
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41191
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 24 Jun 2009 16:56:49 +0000 (16:56 +0000)]
API BREAK: fix Eina API so that it is more consistent with the other EFL
what is modified:
eina_counter_add -> eina_counter_new
eina_counter_delete -> eina_counter_free
eina_lalloc_delete -> eina_lalloc_free
eina_mempool_new -> eina_mempool_add
eina_mempool_delete -> eina_mempool_del
eina_mempool_alloc -> eina_mempool_malloc
eina_tiler_del -> eina_tiler_free
It remains some questions: have the following API a good name:
eina_module_list_delete
eina_list_free
eina_rbtree_delete
(see ticket #286)
If you find any problem, please report in that thread
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41187
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 23 Jun 2009 13:57:27 +0000 (13:57 +0000)]
Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
shared accross the application.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41170
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 23 Jun 2009 13:51:41 +0000 (13:51 +0000)]
* evas: Reduce malloc/free done by Fribidi use in evas.
Note: More could be done to improve this situation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41169
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 22 Jun 2009 17:35:31 +0000 (17:35 +0000)]
Remove the static options of configure and add
a way to select it with --enable-foo by passing
'static'. Use at your own risks.
If I've messed something up, please report in that thread
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41160
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 20 Jun 2009 07:36:30 +0000 (07:36 +0000)]
free array as well.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41124
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 20 Jun 2009 07:17:40 +0000 (07:17 +0000)]
fix memory leak introduced with recent layer destruction.
also rename evas_layer_free() to evas_layer_free_objects() as what it
do now, make _evas_layer_free() as static and use it both cases.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41123
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 20 Jun 2009 06:53:48 +0000 (06:53 +0000)]
do not segv when no pallete in xcb engine too.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41122
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 20 Jun 2009 06:34:20 +0000 (06:34 +0000)]
improve sched_getaffinity() usage.
* handle error code and print out error message, this should remove
invalid access traces from valgrind.
* give "0" as pid to get self affinity, this is documented in the man
page.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41118
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 20 Jun 2009 05:55:37 +0000 (05:55 +0000)]
do not segv when no pallete.
spotted this bug when I disabled all converters in a config mistake :-)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41116
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 19 Jun 2009 16:40:21 +0000 (16:40 +0000)]
* evas: Fix a few typo preventing a full static build.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41114
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 18 Jun 2009 14:30:29 +0000 (14:30 +0000)]
* evas: Fix typo.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41104
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 18 Jun 2009 12:14:29 +0000 (12:14 +0000)]
* evas: Use Eina hash improvements.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41101
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lmunch [Thu, 18 Jun 2009 10:21:09 +0000 (10:21 +0000)]
Fix wince engine module name
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41099
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lmunch [Thu, 18 Jun 2009 05:01:11 +0000 (05:01 +0000)]
The data directory is not there anymore
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41095
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 17 Jun 2009 18:12:55 +0000 (18:12 +0000)]
remove last trace of Evas_List, it's gone dude!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41089
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 17 Jun 2009 15:46:27 +0000 (15:46 +0000)]
* evas: Remove Evas data type. You should now use Eina.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41083
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lmunch [Wed, 17 Jun 2009 13:10:00 +0000 (13:10 +0000)]
Rename public to definition as public is a reserved word in c++
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41077
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 17 Jun 2009 10:01:52 +0000 (10:01 +0000)]
* evas: Remove Evas_Bool.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41067
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 16 Jun 2009 19:03:28 +0000 (19:03 +0000)]
be explicit about SUBDIRS and DIST_SUBDIRS, fix maintainer-clean.
automake was "smart enough" to include in DIST_SUBDIRS even when 'if'
clause didn't add it to SUBDIRS, that was causing modules like XPM be
added twice, resulting maintainer-clean to double-clean the directory
(one from src/modules/loaders and other from src/lib), failing on the
second time.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41060
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 16 Jun 2009 15:02:57 +0000 (15:02 +0000)]
do not add duplicate search paths to module loader.
usually libevas.so/../evas/modules is the same as libdir/evas/modules,
so avoid adding it twice.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41059
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 16 Jun 2009 15:01:26 +0000 (15:01 +0000)]
add missing EAPI to now external visible methods.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41058
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 16 Jun 2009 13:01:36 +0000 (13:01 +0000)]
* evas: Move to Eina module and make it possible to build a libevas with
everything in it.
Note: This patch break the module API, so make sure you recompile and install
every thing.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41055
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 15 Jun 2009 15:07:13 +0000 (15:07 +0000)]
* Evas: Improve RGBA_Font_* cache using hash and stringshare correctly.
Note: This should not impact font rendering, but if you notice anything
wrong, please don't hesitate to report this to me.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41050
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 15 Jun 2009 14:37:14 +0000 (14:37 +0000)]
* Evas: Add another delay before reducing number of unused font in the
cache.
Note: This is usefull when you are scaling up and down a font during an
animation.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41049
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 15 Jun 2009 14:34:33 +0000 (14:34 +0000)]
* Evas: Remove allocation/free from the critical path.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41048
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 15 Jun 2009 14:33:48 +0000 (14:33 +0000)]
* Evas: Increase number of Evas_Rectangle in the pool as we use them a lot.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41047
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 15 Jun 2009 14:25:21 +0000 (14:25 +0000)]
* evas: Fix SEGV when smart object's child come from another layer than
the parent.
When we insert object inside a smart object, they could be attached to
another layer. As long as ref counting work, nothing wrong will happen.
But during destruction of an Evas, we were just looping over all layers,
destroying each of them, without checking for refcounting. This could
cause SEGV.
This patch introduce a third loop for wiping out all layers after
destroying all Evas_Object. So no more SEGV, and no performance
regression.
Note: Do not rely on evas_object_layer_get on smart object's child, it
could give you the wrong answer.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41046
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 15 Jun 2009 06:29:43 +0000 (06:29 +0000)]
back to svn soname
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41042
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 15 Jun 2009 05:32:49 +0000 (05:32 +0000)]
make distcheck and... SNAP!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41039
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 14 Jun 2009 20:58:59 +0000 (20:58 +0000)]
fix m4! bad m4!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41035
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sun, 14 Jun 2009 20:48:37 +0000 (20:48 +0000)]
Cleanup llvm warnings.
By: michael bouchaud.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41033
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 13 Jun 2009 00:04:25 +0000 (00:04 +0000)]
cleanup llvm warnings by michael bouchaud.
By: michael bouchaud.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@41024
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 5 Jun 2009 18:58:16 +0000 (18:58 +0000)]
fix object size when rotation is 90 or 270 degree
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40907
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
andreas [Wed, 3 Jun 2009 21:41:00 +0000 (21:41 +0000)]
after discussion on IRC (#edevelop) with k-s and raster I removed the deprecated tag
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40886
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 3 Jun 2009 14:16:55 +0000 (14:16 +0000)]
fix precise-in
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40878
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 31 May 2009 22:03:24 +0000 (22:03 +0000)]
add request # tracking. this should detect badness - like forking and using
the connection from the fork (the cserve connection). it won't catch
threads... most of the time, but i need something else for that i think.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40869
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 31 May 2009 21:26:36 +0000 (21:26 +0000)]
fix corer case with utf8
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40867
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 26 May 2009 17:34:53 +0000 (17:34 +0000)]
fix debian rules files.
* fix the way AC_INIT macros are parsed to consider [] as well.
* set both LDFLAGS and CFLAGS on the libs I use and I know support -fvisibility=hidden.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40838
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 23 May 2009 09:23:01 +0000 (09:23 +0000)]
revert the patch for RTL text rendering in software_16 engine
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40789
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 22 May 2009 23:10:01 +0000 (23:10 +0000)]
header miss!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40784
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 22 May 2009 21:12:32 +0000 (21:12 +0000)]
revertg big R to L patches because they break cursors and selection.... BACK
boy BACK!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40783
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 22 May 2009 21:11:45 +0000 (21:11 +0000)]
fix engines to match engine func changes with font stuff (R to L)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40782
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
andreas [Fri, 22 May 2009 20:21:56 +0000 (20:21 +0000)]
some docs
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40779
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Wed, 20 May 2009 03:14:29 +0000 (03:14 +0000)]
Make fribidi truly optional
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40755
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 18 May 2009 17:33:54 +0000 (17:33 +0000)]
missing declaration of evas_common_font_query_last_up_to_pos()
patch by Lars Munch (previous one too)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40729
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 18 May 2009 17:31:52 +0000 (17:31 +0000)]
update 16 bits engine for rtl support
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40728
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 18 May 2009 06:08:15 +0000 (06:08 +0000)]
tasn's rtl pathes and improvements... continued!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40715
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 15 May 2009 14:27:53 +0000 (14:27 +0000)]
Remove eoftware_win32_gdi directory. It is empty (old
gdi engine written by raster and removed because of
IP, iirc) and of no use (another gdi engine is there)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40673
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 15 May 2009 13:19:27 +0000 (13:19 +0000)]
* cserve: Fix potential source of segv in cserve.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40672
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 15 May 2009 11:48:20 +0000 (11:48 +0000)]
make reload work properly...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40670
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 15 May 2009 08:25:44 +0000 (08:25 +0000)]
* underquoted parameters
* add AC_CONFIG_MACRO_DIR call
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40655
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 15 May 2009 08:17:17 +0000 (08:17 +0000)]
update efl_doxygen.m4
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40654
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 14 May 2009 12:52:44 +0000 (12:52 +0000)]
fix a corner-case textblock issue with end of line char pos
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40640
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 13 May 2009 18:56:32 +0000 (18:56 +0000)]
don't use the release stuff for Windows CE
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40629
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 13 May 2009 12:20:14 +0000 (12:20 +0000)]
1. fix scalecache to actually respect env vars set!
2. fix textblock cursor stuff in corner case.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40617
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Mon, 11 May 2009 18:16:34 +0000 (18:16 +0000)]
fix EAPI value on Windows
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40597
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 11 May 2009 13:09:43 +0000 (13:09 +0000)]
fix a strange issue with re-connect after explicit disconnect to cserve
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40587
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 10 May 2009 22:42:09 +0000 (22:42 +0000)]
dont dirty on loadopt change - cache handles that
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40583
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 10 May 2009 03:06:49 +0000 (03:06 +0000)]
fix load opts to only unload/reload if opts changed for cserve
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40573
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 9 May 2009 16:18:31 +0000 (16:18 +0000)]
allow compilation on OS where the cache server can't be built (like Windows...)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40570
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Sat, 9 May 2009 06:59:00 +0000 (06:59 +0000)]
remove EINA_WARN_UNUSED_RESULT on functions that return nothing
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40565
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 8 May 2009 22:01:43 +0000 (22:01 +0000)]
check for shm_open only if cserve is to be built
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40559
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 8 May 2009 21:46:01 +0000 (21:46 +0000)]
include time.h header files because time_t is used in Evas.h
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40558
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Fri, 8 May 2009 21:34:38 +0000 (21:34 +0000)]
Check if we can compile and link programs using shm_open (for cserve)
Useful for platform that does not have them (Windows, some BSD)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40557
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 8 May 2009 11:26:25 +0000 (11:26 +0000)]
1. scalecache config env vars an use them
2. more api's related to cserve
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40548
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 7 May 2009 14:02:14 +0000 (14:02 +0000)]
unset cserve in cserve
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40539
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 7 May 2009 13:29:56 +0000 (13:29 +0000)]
1. scale cache now allows you to hint at the object if its dynamic, static or
none (ie default) and the engines actually understand it and use it.
2. fixes to scalecache and cserver too. more toto's done and its now been
stress tested by me - and i think cserve is ready to go gold. just enable it
with export EVAS_CSERVE=1 in your env for any eflapps - and run evas_cserve
(cmd-line options avalable plus cmd-line tol to query settings change on the
fly and query statsitics and state)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40536
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 7 May 2009 07:33:30 +0000 (07:33 +0000)]
config.h is automatically added as a dependency by automake
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40531
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 6 May 2009 12:36:06 +0000 (12:36 +0000)]
more cserver work for sharede cache- improvements
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40524
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 6 May 2009 12:35:38 +0000 (12:35 +0000)]
fix softwared x11 xlib engine to generate masks when rotated too
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40523
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Wed, 6 May 2009 12:34:54 +0000 (12:34 +0000)]
fix char-wrap min size calc!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40522
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 6 May 2009 07:03:31 +0000 (07:03 +0000)]
do not disable sse on non amd64 machines.
build should detect sse and it should be toggled automatically during
runtime.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40519
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 6 May 2009 06:59:53 +0000 (06:59 +0000)]
improve evas packaging.
- don't package directfb, it's for specific systems like embedded
where it is required to build manually, maybe define some tweaks.
- don't build with no-dither-mask as it will completely disable
dithering on 16 and 8bpps, that's wrong! This is supposed to be
enabled on embedded devices only, like maemo.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40518
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Wed, 6 May 2009 06:39:59 +0000 (06:39 +0000)]
fix minor build problems.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40517
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 5 May 2009 21:48:50 +0000 (21:48 +0000)]
* add support of CMYK, ICCK and grayscale images
* remove trailing spaces
fix ticket #303
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40515
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 5 May 2009 14:37:18 +0000 (14:37 +0000)]
more todo items knocked off for cserve
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40509
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Mon, 4 May 2009 17:36:48 +0000 (17:36 +0000)]
Fixed debian stuff everywhere.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40505
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
rbelem [Sun, 3 May 2009 14:32:23 +0000 (14:32 +0000)]
Added libtool as Build-Depends to everything that uses
DEB_CONFIGURE_SCRIPT := ./autogen.sh
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40500
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 3 May 2009 07:37:31 +0000 (07:37 +0000)]
todo items for cserve for evas done - well some of them. more to come.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40495
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 2 May 2009 15:59:12 +0000 (15:59 +0000)]
set svn:ignore flags.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40487
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Sat, 2 May 2009 15:53:48 +0000 (15:53 +0000)]
fix build of cserve with -fvisibility=hidden.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40486
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Fri, 1 May 2009 07:11:07 +0000 (07:11 +0000)]
shared cache server++
is it ok?
1. it can be --disabled in evas's configure, but i think it works WITHOUT
disabling it (runtime) as it falls back to the old way of loading
2. it may cause build problems on some platforms - without it being enabled
we won't find out, so enable.
3. it needs enabling runtime to make use of it so it should be safe for now
until you enable it.
what is it?
it is a SHARED cache server - that means images loaded are loaded BY the
cache server (not by the actual process using evas). images are shared via
shared memory segments (shm_open + mmap). this means only 1 copy is in all
ram at any time - no matter how many processes need it , and its only loaded
once. also if another app has already loaded the same data - and its in the
cache or active hash, then another process needing the same stuff will avoid
the loads as it will just get instant replies from the cache of "image already
there". as it runs in its own process it can also time-out images from the
cache too.
right now you enable it by doing 2 things
1. run evas_cserve (it has cmd-line options to configure cache etc.
2. export EVAS_CSERVE=1 (im the environment of apps that should use the cache
server).
it works (for me) without crashes or problems. except for the following:
1. preloading doesnt work so its disabled if cserve is enabled. thisis
because the load threads interfere withthe unix comms socket causing
problems. this need to really change and have the cserve know about/do
preload and let the select() on the evas async events fd listen for the
unsolicited reply "load done". but it's not broken - simple preloads are
syncronous and forced if cserve is enabled (at build time).
2. if cserve is killed/crashes every app using it will have a bad day. baaad
day. so dont do it. also cserve may be vulnerable to apps crashing on it - it
may also exit with sigpipe. this needs fixing.
3. if the apps load using relative paths - this will break as it doesnt
account for the CWD of the client currently. will be fixed.
4. no way to change cache config runtime (yet)
5. no way to get internal cache state (yet).
6. if cache server exist - it wont clean up the shmem file nodes in /dev/shm
- it will clean on restart (remove the old junk). this needs fixing.
if you fine other issues - let me know.
things for the future:
1. now its a separate server.. the server could do async http etc. loads too
2. as a server it could monitor history of usage of files and images and
auto-pre-load files it knows historically are loaded then whose data is
immediately accessed.
3. the same infra could be used to share font loads (freetype and/or
fontconfig data).
4. ultimately being able to share rendered font glyphs will help a lot too.
5. it could, on its own, monitor "free memory" and when free memory runs
load, reduce cache size dynamically. (improving low memory situations).
6. it should get a gui to query cache state/contents and display visually.
this would be awesome to have a list of thumbnails that show whats in the
cache, how many referencesa they have, last active timestamps etc.
blah blah.
please let me know if the build is broken asap though as i will vanish
offline for a bit in about 24hrs...
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40478
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
vapier [Tue, 28 Apr 2009 05:06:48 +0000 (05:06 +0000)]
pull in evas_common.h for evas_string_char_len_get() decl
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40428
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 27 Apr 2009 02:41:27 +0000 (02:41 +0000)]
add missing "changed" flags.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40409
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
rbelem [Fri, 24 Apr 2009 05:29:12 +0000 (05:29 +0000)]
Merge branch 'debian-fixes'
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40345
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33