Commit Graph

2329 Commits

Author SHA1 Message Date
Vincent Torri da292c1f29 * 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


SVN revision: 41329
2009-07-14 21:16:08 +00:00
Gustavo Sverzut Barbieri 05f61cd086 fix uninitialized problems reported by valgrind.
SVN revision: 41316
2009-07-12 16:11:58 +00:00
Carsten Haitzler d6a6cc63e8 cserve for evas now has a threaded loader - much better when multiple clients
aare hammering it with load requests



SVN revision: 41293
2009-07-10 06:52:09 +00:00
Mikhail Gusarov d6af88ef6c 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.



SVN revision: 41292
2009-07-10 06:06:37 +00:00
Cedric BAIL 7a94d9de85 * evas: Try all known modules when testing an unknown file.
SVN revision: 41262
2009-07-07 11:07:43 +00:00
Vincent Torri 7e475a152c missing ;
SVN revision: 41259
2009-07-06 21:48:11 +00:00
Cedric BAIL 1676145494 * evas: Reduce code duplication.
SVN revision: 41228
2009-07-01 14:05:04 +00:00
Vincent Torri c803ed44d3 fix++
SVN revision: 41222
2009-06-29 06:44:35 +00:00
Vincent Torri 13fbd02091 Reorganize a bit the configure.ac file, and add 2 macros for
dithering and scaler


SVN revision: 41216
2009-06-27 13:07:00 +00:00
Vincent Torri 19b6892b94 remove useless Windows CE stuff, as it must be done on the
executable, and not the library.


SVN revision: 41214
2009-06-27 07:00:39 +00:00
Vincent Torri 390f94bcfd update m4 macros (mainly formatting)
SVN revision: 41212
2009-06-27 06:42:14 +00:00
Cedric BAIL a7f2974e13 * 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).


SVN revision: 41206
2009-06-26 13:26:52 +00:00
Cedric BAIL 7e62952adf * evas: Fix broken evas_software_16 static module support.
SVN revision: 41205
2009-06-26 13:15:32 +00:00
Carsten Haitzler e420003d7e add a zero of cpu.. just in case.
SVN revision: 41195
2009-06-25 14:59:12 +00:00
Vincent Torri 4c09519e99 remove trailing spaces
SVN revision: 41191
2009-06-25 04:20:34 +00:00
Vincent Torri ebc20c2236 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


SVN revision: 41187
2009-06-24 16:56:49 +00:00
Cedric BAIL 0c9aead634 Evas_Rectangle are gone. We now use Eina_Rectangle and memory pool is
shared accross the application.


SVN revision: 41170
2009-06-23 13:57:27 +00:00
Cedric BAIL 42e610f81b * evas: Reduce malloc/free done by Fribidi use in evas.
Note: More could be done to improve this situation.


SVN revision: 41169
2009-06-23 13:51:41 +00:00
Vincent Torri ddc06185d2 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


SVN revision: 41160
2009-06-22 17:35:31 +00:00
Gustavo Sverzut Barbieri b5f6c61c94 free array as well.
SVN revision: 41124
2009-06-20 07:36:30 +00:00
Gustavo Sverzut Barbieri 1c0ca5dfbb 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.



SVN revision: 41123
2009-06-20 07:17:40 +00:00
Vincent Torri 324fd7b2ca do not segv when no pallete in xcb engine too.
SVN revision: 41122
2009-06-20 06:53:48 +00:00
Gustavo Sverzut Barbieri 0567fd7bf2 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.



SVN revision: 41118
2009-06-20 06:34:20 +00:00
Gustavo Sverzut Barbieri 728b003fee do not segv when no pallete.
spotted this bug when I disabled all converters in a config mistake :-)



SVN revision: 41116
2009-06-20 05:55:37 +00:00
Cedric BAIL eb488748c6 * evas: Fix a few typo preventing a full static build.
SVN revision: 41114
2009-06-19 16:40:21 +00:00
Cedric BAIL 43ff8f4c9d * evas: Fix typo.
SVN revision: 41104
2009-06-18 14:30:29 +00:00
Cedric BAIL 5d0a773fef * evas: Use Eina hash improvements.
SVN revision: 41101
2009-06-18 12:14:29 +00:00
Lars Munch f850d6cb0d Fix wince engine module name
SVN revision: 41099
2009-06-18 10:21:09 +00:00
Lars Munch 8804249862 The data directory is not there anymore
SVN revision: 41095
2009-06-18 05:01:11 +00:00
Gustavo Sverzut Barbieri 37b3a62cde remove last trace of Evas_List, it's gone dude!
SVN revision: 41089
2009-06-17 18:12:55 +00:00
Cedric BAIL 010621dd4a * evas: Remove Evas data type. You should now use Eina.
SVN revision: 41083
2009-06-17 15:46:27 +00:00
Lars Munch b4c12e8efe Rename public to definition as public is a reserved word in c++
SVN revision: 41077
2009-06-17 13:10:00 +00:00
Cedric BAIL 6d0ee81526 * evas: Remove Evas_Bool.
SVN revision: 41067
2009-06-17 10:01:52 +00:00
Gustavo Sverzut Barbieri 3c6e35dd10 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.



SVN revision: 41060
2009-06-16 19:03:28 +00:00
Gustavo Sverzut Barbieri 6760437fdd 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.


SVN revision: 41059
2009-06-16 15:02:57 +00:00
Gustavo Sverzut Barbieri a7a2419ac3 add missing EAPI to now external visible methods.
SVN revision: 41058
2009-06-16 15:01:26 +00:00
Cedric BAIL 575b0579cd * 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.


SVN revision: 41055
2009-06-16 13:01:36 +00:00
Cedric BAIL 0839ec65ea * 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.


SVN revision: 41050
2009-06-15 15:07:13 +00:00
Cedric BAIL fdca8644a2 * 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.


SVN revision: 41049
2009-06-15 14:37:14 +00:00
Cedric BAIL f63beb3edf * Evas: Remove allocation/free from the critical path.
SVN revision: 41048
2009-06-15 14:34:33 +00:00
Cedric BAIL 8cfa89c10f * Evas: Increase number of Evas_Rectangle in the pool as we use them a lot.
SVN revision: 41047
2009-06-15 14:33:48 +00:00
Cedric BAIL 14693fd070 * 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.


SVN revision: 41046
2009-06-15 14:25:21 +00:00
Carsten Haitzler 9394f73104 back to svn soname
SVN revision: 41042
2009-06-15 06:29:43 +00:00
Carsten Haitzler e81db0f5a3 make distcheck and... SNAP!
SVN revision: 41039
2009-06-15 05:32:49 +00:00
Carsten Haitzler 69c179886c fix m4! bad m4!
SVN revision: 41035
2009-06-14 20:58:59 +00:00
Gustavo Sverzut Barbieri 600d560fc6 Cleanup llvm warnings.
By: michael bouchaud.


SVN revision: 41033
2009-06-14 20:48:37 +00:00
Gustavo Sverzut Barbieri 3e04e9ec3f cleanup llvm warnings by michael bouchaud.
By: michael bouchaud.


SVN revision: 41024
2009-06-13 00:04:25 +00:00
Vincent Torri e61101a4a4 fix object size when rotation is 90 or 270 degree
SVN revision: 40907
2009-06-05 18:58:16 +00:00
Andreas Volz e2b32f8ad8 after discussion on IRC (#edevelop) with k-s and raster I removed the deprecated tag
SVN revision: 40886
2009-06-03 21:41:00 +00:00
Carsten Haitzler f1ec8f8b3e fix precise-in
SVN revision: 40878
2009-06-03 14:16:55 +00:00