Commit Graph

1870 Commits

Author SHA1 Message Date
Carsten Haitzler 65f147aa81 make loaders use "big image" macro to detect an image that is going to just
be way too big to ever allocate. probably code can do with other fixes too.

also make jpeg loader rudametarily understand load regions. very brute-force.
but enough for just this moment to do testing.



SVN revision: 42507
2009-09-16 09:48:05 +00:00
Carsten Haitzler f780cc2c8f add "region" load opt. no loader handles it... yet
SVN revision: 42494
2009-09-15 13:34:12 +00:00
dieb c2fde2fa75 Trailing whitespaces--, remove wrong tabs.
SVN revision: 42454
2009-09-13 03:04:20 +00:00
Carsten Haitzler 7ee7fb5604 1. make max image size a #define
2. max image size > 65536x65536
3. fix cserve leak
4. fix cserve+async load to work together.



SVN revision: 42406
2009-09-11 13:44:53 +00:00
Carsten Haitzler deb61bbe7c fix some possible mutex probs
SVN revision: 42319
2009-09-07 10:42:30 +00:00
Vincent Torri 911ce19bfc fix build when async events are not enabled
SVN revision: 42273
2009-09-05 07:56:03 +00:00
Vincent Torri eaf9934e80 evas_init() fails if eina_init() or evas_async_events_init() fail
SVN revision: 42239
2009-09-04 05:41:20 +00:00
Vincent Torri ac3dae2a80 remove trailing spaces
SVN revision: 42238
2009-09-04 05:13:19 +00:00
Carsten Haitzler 1352efe452 1. make smart callback calling faster with == instead of strcmp
2. add linesize/line relsize for setting line sizes in textblock



SVN revision: 42231
2009-09-04 03:53:18 +00:00
Gustavo Sverzut Barbieri e455e6f5b9 fix eina to not use deprecated eina_error logging.
SVN revision: 42229
2009-09-04 02:42:51 +00:00
Vincent Torri ea9c39e2f7 masks should be correctly rotated in the xcb engine, now
remove a few unused parameters and unused variables


SVN revision: 41975
2009-08-25 16:21:09 +00:00
Vincent Torri 86dab3bef7 we should try if shm is available
SVN revision: 41974
2009-08-25 15:23:15 +00:00
Christopher Michael 26f32b9520 Return NULL to be consistent, not 0.
SVN revision: 41953
2009-08-24 10:52:40 +00:00
Carsten Haitzler 59f676f369 oh suncc - shut up!
SVN revision: 41873
2009-08-19 09:56:46 +00:00
Mikhail Gusarov 226e4e5e16 From: Mikhail Gusarov <dottedmag@dottedmag.net>
Subject: [E-devel] [evas] Add RGBA -> grayscale 64 entries palette conversion

This is needed for E-Ink devices outta there. Names of new files,
configure.ac variables and macros are awful, suggestions are welcome.



SVN revision: 41825
2009-08-17 01:41:07 +00:00
Rafael Antognolli af554298cd Bugfix on directfb engine:
* cleaning dirty rectangles on dfb surfaces now is done correctly.



SVN revision: 41777
2009-08-14 20:36:49 +00:00
Cedric BAIL b2d4ead502 * evas: Garbage is back for opaque window without background object.
SVN revision: 41773
2009-08-14 17:48:49 +00:00
Cedric BAIL 3d6840cd1a * evas: Fix two render bugs :
- Forgot to reset clip before drawing cleanup rect.
		- Always draw a rect to reset the background, just
		choose a correct color.

	Note: This will slow down software_x11 engine, as this engine
	always do memset, so it does it twice. Before only the alpha
	case was impacted, now both case are. Need time to fix it. If
	someone has, don't hesitate :-) You can use elementary windows
	state test, to see if thing is going correctly or not.

	For the record, SDL engine has a score around 500 under X11 on
	my computer, where the X11 engine does only have a score around
	450.


SVN revision: 41770
2009-08-14 17:17:01 +00:00
Cedric BAIL 443fe5fc8e * evas: gl_x11 window can't support alpha, as drawing rect with
alpha=0 is not possible.


SVN revision: 41769
2009-08-14 17:11:08 +00:00
Gustavo Sverzut Barbieri 96001ff1a1 fix evas box flow layouts to consider padding.
By: Fabiano Fidêncio <fidencio@profusion.mobi>



SVN revision: 41739
2009-08-13 15:01:49 +00:00
Gustavo Sverzut Barbieri 09bb18e727 need to set trailing NULL as it will not be done automatically.
SVN revision: 41708
2009-08-12 16:02:32 +00:00
Christopher Michael 53f359573e Fix placement of __UNUSED__
SVN revision: 41650
2009-08-09 19:07:03 +00:00
Christopher Michael a29767c572 Formatting
SVN revision: 41648
2009-08-09 16:41:51 +00:00
Christopher Michael 9261a4d24b Just Formatting. NO code changes.
SVN revision: 41636
2009-08-07 21:38:36 +00:00
Christopher Michael c508b00c24 evas_object_resize patch to move evas_object_recalc_clippees. This makes
evas_object_resize behave more like evas_object_move.

NB's added in case this causes glitches in corner cases



SVN revision: 41635
2009-08-07 20:35:30 +00:00
Cedric BAIL e4d68c7fbe * evas: gl_common now use Eina_Rectangle_Pool.
SVN revision: 41607
2009-08-05 14:47:12 +00:00
Carsten Haitzler c3c692269a Ticket #372 - patch. fix.
SVN revision: 41563
2009-08-03 08:19:12 +00:00
Cedric BAIL 5784d74daa * eina: Add eina_cpu_count.
SVN revision: 41543
2009-07-30 16:45:15 +00:00
Christopher Michael cecbfe7618 Do not return a value if the function returns void.
SVN revision: 41537
2009-07-29 18:34:27 +00:00
Gustavo Sverzut Barbieri 7ca620ce73 unbreak static savers, cedric pay attention to seds!
SVN revision: 41529
2009-07-28 23:48:27 +00:00
Iván Briano 0269d38187 Fix build of loaders
SVN revision: 41527
2009-07-28 17:59:26 +00:00
Vincent Torri 39809967cb clean dist rule
SVN revision: 41526
2009-07-28 11:50:22 +00:00
Vincent Torri 12751954d1 remove uneeded declaration (to be symetric with xcb code)
SVN revision: 41523
2009-07-28 09:55:08 +00:00
Cedric BAIL 940b7b0740 * evas: Return Eina_Bool when it make sense.
SVN revision: 41458
2009-07-20 15:33:10 +00:00
Michael Lauer 565a623f26 evas: add first bunch of typedefs for previously anonymous callbacks
SVN revision: 41423
2009-07-18 22:43:18 +00:00
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 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
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
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