Commit Graph

174 Commits

Author SHA1 Message Date
Carsten Haitzler f07a07855a warning--
SVN revision: 52431
2010-09-18 23:45:42 +00:00
Lucas De Marchi 85815e306c Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
achive->achieve
beacuse->because
caluclate->calculate
cant->can't
carefull->careful
convertion->conversion
dependancy->dependency
dependant->dependent
doesnt->doesn't
existant->existent
extention->extension
fucntion->function
impliment->implement
inital->initial
lenght->length
occured->occurred
occuring->occurring
onyl->only
positon->position
possibilty->possibility
postion->position
proccessing->processing
proccess->process
propogate->propagate
recieve->receive
sucessive->successive
teh->the
ther->there
throught->through
thsi->this
wasnt->wasn't
whcih->which
wheras->whereas




SVN revision: 51965
2010-09-08 03:51:24 +00:00
Lucas De Marchi 1c651049c5 Apply memset-calloc.cocci
Change calls to malloc + memset to calloc whenever an automatic conversion can
be done.

Possible candidates are not treated here, only the ones we can be sure the
conversion is safe.



SVN revision: 51078
2010-08-13 12:53:08 +00:00
Carsten Haitzler c8765d7594 a more correct version of the dso fix.
SVN revision: 50184
2010-07-11 23:56:40 +00:00
Carsten Haitzler a94701bfce also dont need itt.
SVN revision: 46772
2010-03-02 03:20:17 +00:00
Carsten Haitzler eac0351854 ok - dont need itt at all - will make llvm quieter, but in this case it was
wrong.



SVN revision: 46770
2010-03-02 03:15:33 +00:00
Carsten Haitzler 6ef032a9e5 fix possiblre unaligned access issue - doesnt actually happen... but in
theory could.



SVN revision: 46769
2010-03-02 02:48:56 +00:00
Carsten Haitzler 1075ed2ce1 and complain if it fails. at least u will know :)
SVN revision: 46768
2010-03-02 02:31:16 +00:00
Carsten Haitzler d99307b828 theoretical bug (crash) if realloc fails - but if it fails, we will leak,
so... it only moves to be another bug.



SVN revision: 46767
2010-03-02 02:30:03 +00:00
Vincent Torri 8d9d9ea3a3 fix warnings
patch by Albin Tonnerre


SVN revision: 45430
2010-01-22 06:51:27 +00:00
Cedric BAIL a27c701f27 * evas: Remove lot's of warning.
SVN revision: 44629
2009-12-21 15:52:12 +00:00
Sebastian Dransfeld 48eec51e60 Fix compiler warnings
SVN revision: 43536
2009-11-08 19:52:44 +00:00
Cedric BAIL 8984a75799 * evas: Cleanup move to eina log.
Patch from Mathieu Taillefumier.


SVN revision: 43200
2009-10-22 15:22:22 +00:00
Carsten Haitzler bea22f22a4 fix wrns.. and fix macro!
SVN revision: 42617
2009-09-22 08:04:57 +00:00
Cedric BAIL c259d8addd * evas: Use eina_log.
Patch from Matthieu.


SVN revision: 42598
2009-09-21 16:08:51 +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
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
Gustavo Sverzut Barbieri e455e6f5b9 fix eina to not use deprecated eina_error logging.
SVN revision: 42229
2009-09-04 02:42:51 +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
Cedric BAIL d2b68904fc * cserve: Fix potential source of segv in cserve.
SVN revision: 40672
2009-05-15 13:19:27 +00:00
Carsten Haitzler f5c88e9d53 fix a corner-case textblock issue with end of line char pos
SVN revision: 40640
2009-05-14 12:52:44 +00:00
Carsten Haitzler 5b7c1be3eb fix a strange issue with re-connect after explicit disconnect to cserve
SVN revision: 40587
2009-05-11 13:09:43 +00:00
Carsten Haitzler 47f6f036c1 fix load opts to only unload/reload if opts changed for cserve
SVN revision: 40573
2009-05-10 03:06:49 +00:00
Vincent Torri 22969c71ef allow compilation on OS where the cache server can't be built (like Windows...)
SVN revision: 40570
2009-05-09 16:18:31 +00:00
Carsten Haitzler f79b4a4a2f 1. scalecache config env vars an use them
2. more api's related to cserve



SVN revision: 40548
2009-05-08 11:26:25 +00:00
Carsten Haitzler 5f77a25e1b unset cserve in cserve
SVN revision: 40539
2009-05-07 14:02:14 +00:00
Carsten Haitzler 85bff718d6 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)



SVN revision: 40536
2009-05-07 13:29:56 +00:00
Carsten Haitzler d92a6d99a7 more cserver work for sharede cache- improvements
SVN revision: 40524
2009-05-06 12:36:06 +00:00
Gustavo Sverzut Barbieri 880ecd5726 fix minor build problems.
SVN revision: 40517
2009-05-06 06:39:59 +00:00
Carsten Haitzler 892c085276 more todo items knocked off for cserve
SVN revision: 40509
2009-05-05 14:37:18 +00:00
Carsten Haitzler bd6d938956 todo items for cserve for evas done - well some of them. more to come.
SVN revision: 40495
2009-05-03 07:37:31 +00:00
Carsten Haitzler 46e8aa1b0d 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...



SVN revision: 40478
2009-05-01 07:11:07 +00:00
Carsten Haitzler b5f613f161 remove test progs and data
SVN revision: 26825
2006-10-28 07:04:17 +00:00
doursse cacc00f14a update to the new new api of XCB
SVN revision: 26496
2006-10-10 19:16:16 +00:00
doursse 5eda84b66b update to the new api of xcb 1.0. et rid of xcb_aux dependancy
SVN revision: 26279
2006-10-01 18:27:31 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
doursse 369e8a9975 free the event and don't use deprecated XCBSync function
SVN revision: 25760
2006-09-12 07:48:44 +00:00
doursse 691df94e56 free memory when we quit the tests. Free allocated string in the xcb apps
SVN revision: 25759
2006-09-12 07:35:49 +00:00
doursse e96c6828d0 fix xrender xcb engine, add old stuff committed to the Xlib engines and not to the XCB ones, replace deprecated XCBSync call by a call of GetInputFocus, fix some round trips but a complete review of the engines must be done to fix them all, first part of a cleanup, first part of XCB error management
SVN revision: 25657
2006-09-09 08:10:24 +00:00
Carsten Haitzler 37642982f7 make other core efl things do the same package thing
SVN revision: 23876
2006-07-13 19:48:09 +00:00
doursse aec7e96054 ignore++
SVN revision: 23585
2006-06-25 13:43:22 +00:00
Carsten Haitzler f8371169c7 'remove fps stats
only bench numebr is displayed now.


SVN revision: 22665
2006-05-17 08:04:59 +00:00
doursse 772a1de220 cleaning
SVN revision: 22470
2006-05-06 06:23:53 +00:00
doursse b0efe94cff cleaning of the code. Set the title and the class of a window
SVN revision: 22454
2006-05-04 06:46:57 +00:00
Carsten Haitzler 77e35d60a3 jose's software rendering work - slight improvements (about 5-10%). i had to
disable destination alha mmx support for text rendering (mask + color) as it
was broken in tests.


SVN revision: 22440
2006-05-02 07:28:49 +00:00
doursse fd14218f04 fix a leak in xcb eng sfw (it remains one, but I don't see where it comes from). Update the xrender one. Don't use them yet (but who uses them ??), because it relies on fix of xcb that are in my hd
SVN revision: 22323
2006-04-23 15:38:23 +00:00
Carsten Haitzler a75ccf9e64 fix color multiply whiel blend (ergh! need temporary image! yuk!)
SVN revision: 22163
2006-04-16 17:04:36 +00:00
Horms 94cdd55ba6 Make sure moc_evas_software_qtopia_main.cpp exists for make dist, even if make clean has been called
SVN revision: 22052
2006-04-12 09:20:17 +00:00
doursse a2d6156402 missing file
SVN revision: 21176
2006-03-11 01:55:17 +00:00
doursse 1f3549a60b xrender xcb engine
SVN revision: 21172
2006-03-10 19:10:07 +00:00
Carsten Haitzler 2e0b4a37e8 oops - missing dirs
SVN revision: 20917
2006-03-02 13:07:26 +00:00
Carsten Haitzler 07e7927004 1. buffer test really wqasnt being very fair - time to be fair.
2. be able to skip a copy in certain cases when scaling - should improve
speed in several situations - evas is defintiely not optimal :)


SVN revision: 19983
2006-01-23 07:57:30 +00:00
Carsten Haitzler f435375b19 initial import fo loadable engine modules for evas - from jorge zappie :)
SVN revision: 19775
2006-01-14 12:13:38 +00:00
Carsten Haitzler 744a393f2e correct fmt strings
SVN revision: 19755
2006-01-13 04:18:43 +00:00
Carsten Haitzler 7f2e444103 buffers dude... buffers!
SVN revision: 19754
2006-01-13 04:16:52 +00:00
Carsten Haitzler 4ba10b4e98 buffers man.. buffers!
SVN revision: 19753
2006-01-13 04:10:01 +00:00
sebastid bca26535dd Fix compiler warnings.
SVN revision: 19580
2006-01-06 23:13:16 +00:00
doursse 7a6855c42f fix memory leaks and update to new XCB API
SVN revision: 19110
2005-12-18 11:25:09 +00:00
Carsten Haitzler 1b272aec90 joses's gradient work - gradient look nice. one problem jose.. USE BRACKETS!
do NOT depend on order operation precedence. it broke scaling. laos other
completely bizarre mmx things were going wrong with mm7 ending up not 0 so
i've had to force it to be 0.


SVN revision: 18811
2005-12-03 09:27:53 +00:00
doursse 0cb884cab6 evas is now shutdown
SVN revision: 18707
2005-11-29 12:58:49 +00:00
tsauerbeck 1652f61fb7 properly sht down evas etc, so evas_software_x11_test can be used to check for leaks. fixes need to be applied to the other engine tests as well
SVN revision: 18704
2005-11-29 11:47:25 +00:00
Carsten Haitzler 6f24506e8b 1. diable a bunch of engines from auto-detecting stuff. you have to manually
--enable gl, qtopia and directfb enigines - they are either incomplete, buggy
or simply used so little that its not worth building unless the user REALLY
wants the support.


SVN revision: 18424
2005-11-11 06:09:46 +00:00
Mike Frysinger 9258e379ad cut old code
SVN revision: 18180
2005-11-01 01:40:20 +00:00
David Walter Seikel cc996d8804 If we are checking the DirectFB version, we should make sure directfb_version.h is included.
SVN revision: 18095
2005-10-29 09:14:41 +00:00
Mike Frysinger 5acc3ca593 re-enable new directfb code since 0.9.2[34] has been released
SVN revision: 18082
2005-10-29 06:10:11 +00:00
sebastid c12421c7a3 Unused variable.
SVN revision: 17991
2005-10-26 20:22:26 +00:00
Carsten Haitzler 7fce978d6a asparagus. and make distcheck passes again.
SVN revision: 17234
2005-10-06 08:47:12 +00:00
Carsten Haitzler 4e8976a4ad oops - accidentally added this. thanks dj2! fixed.
SVN revision: 17138
2005-10-03 14:18:23 +00:00
Carsten Haitzler 60efd688cc fix pixel uploads form emotion
SVN revision: 17133
2005-10-03 13:53:11 +00:00
Carsten Haitzler c934b1c733 fix gradients on scale
SVN revision: 17131
2005-10-03 13:14:07 +00:00
Carsten Haitzler 62d1bb0190 in theory support dest alpha
SVN revision: 17120
2005-10-03 03:34:21 +00:00
Carsten Haitzler 2c7b0df81a fix gl engine - i broke it a bit
SVN revision: 17116
2005-10-02 16:06:11 +00:00
Carsten Haitzler f4a8513aa4 an xrender engine. fully complete - but it doesnt support shaped window masks
and destination alpha like software_x11 does so its not a 100% dropin
replacement... yet


SVN revision: 17112
2005-10-02 15:15:44 +00:00
Carsten Haitzler e0ac761a1f disable dfb cvs updates for now
SVN revision: 16903
2005-09-24 08:32:44 +00:00
Carsten Haitzler 8d922d6daa dfb patch
SVN revision: 16867
2005-09-23 14:53:08 +00:00
sebastid f580e56532 Add missing header
SVN revision: 16865
2005-09-23 10:13:55 +00:00
sebastid d8a6a07537 Remove warning
SVN revision: 16864
2005-09-23 10:12:11 +00:00
sebastid 94a05490b6 Cairo backend builds again. But is dead slow and isn't complete.
SVN revision: 16447
2005-09-01 00:53:34 +00:00
Carsten Haitzler a1a07c06c3 one way or the other i'm forced to add timestamps to events - i cant avoid it
anymore. sorry guys. really no way around it. :(


SVN revision: 15891
2005-07-25 09:55:47 +00:00
sebastid 3f776d358a Cleanup some headers.
Remove duplicate typedefs and declerations.


SVN revision: 15407
2005-06-18 01:00:32 +00:00
sebastid 5179302f30 Don't have the CAIRO_CFLAGS as a general include.
SVN revision: 15338
2005-06-15 21:05:54 +00:00
Carsten Haitzler 46e02cf8bb whitespace
SVN revision: 14889
2005-05-22 02:49:50 +00:00
doursse 7cc5c95949 remove some warnings
SVN revision: 14786
2005-05-15 05:58:40 +00:00
doursse cc3bcdffcd use of xcb name
SVN revision: 13906
2005-03-25 19:20:59 +00:00
doursse 2b2a800ad6 xcb port
SVN revision: 13822
2005-03-20 23:44:22 +00:00
Carsten Haitzler 17fc7bb20b auto-package for evas and cleanups
SVN revision: 13612
2005-03-04 14:34:35 +00:00
tsauerbeck f8b835ea0c got rid of data subdirectory in pkgdatadir. fixed a bunch of warnings
SVN revision: 13483
2005-02-23 20:32:07 +00:00
Carsten Haitzler e79e53e35b i worked on a regionbuf set of code (exact rectangles). i THINK it has some
bugs... but its disabled right now and it didnt speed anything up :( but it's
there for perusal and later work anyway...


SVN revision: 13193
2005-02-05 02:30:13 +00:00
Carsten Haitzler 6a0b8df837 extend key and mouse events
SVN revision: 12457
2004-12-14 03:21:32 +00:00
Carsten Haitzler 0e38160623 buildie cleanies
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler 49d92b0277 distcheck
SVN revision: 11947
2004-10-21 08:06:13 +00:00
Carsten Haitzler 1131ec1e34 and here are the stubs of a cairo engine
SVN revision: 11248
2004-08-17 06:03:39 +00:00
Carsten Haitzler efdaa808de vera... no more non free fonties
SVN revision: 10201
2004-05-13 09:58:14 +00:00
xcomputerman 6e48b811f0 That shouldn't have gone
SVN revision: 10134
2004-05-08 15:59:18 +00:00
xcomputerman d76377a88e - Fix __am_fastdepCXX bug once and for all. If you don't have a C++ compiler you're just gonna have to edit configure.in by yerself. :)
- Update .cvsignores


SVN revision: 10133
2004-05-08 15:58:32 +00:00
Carsten Haitzler c6e321a630 distable... :)
SVN revision: 9745
2004-04-16 01:38:14 +00:00
Carsten Haitzler 792e48fa4c a good 20% speedup on my p4 and minor speedup on this p3. no difference on my
ipaq...


SVN revision: 9364
2004-03-16 08:03:00 +00:00
xcomputerman 8e1760ae8a Fix-moc-compiler-meta-dependency-distdir-kung-foo
SVN revision: 9184
2004-03-01 22:57:00 +00:00
Carsten Haitzler f11447ab8a cross-compile cleanly damnit!
SVN revision: 9002
2004-02-17 07:12:38 +00:00