Go to file
Gustavo Sverzut Barbieri a9a0752791 efreet mime types icon cache.
This cache is very simple and should work fine when system does not
change, it keeps a direct association of mime-types and found icons,
remembering theme and icon size. Search is very fast since it uses
stringshared strings and thus direct pointer comparison in hash
search. We could optimize it even more if we assumed stringshared
strings to come in, so no need to eina_stringshare_add() (which is a
hash per se), using just eina_stringshare_ref().

Cache population is limited to compile-time value and just values
older than a given threshold are deleted. I do not keep a LRU explicit
list, so you might have some old but unused items always alive. I
don't find this too bad, sure it will consume more memory, but will
not hurt performance. We can change this to purge all expired items by
not checking for number of items to remove, removing all that match.

Next I plan to find out a good way to cache and speed up file->mime
discovery. I plan to do auto-generated state-machine to match
extensions, so you don't need to check the same extension character
more than once. Example:

   Input: bla.edc
   Extensions: edc edj eps png bmp

It would first try to match against 'e', 'p' and 'b'. It will match
'e' and then check for 'd' (edc or edj) or 'p' (eps). It will match
'd' and then check for 'c' or 'j'. This will reduce number of
comparisons considerably.

As I'm running out of time (4am, not much time left on this month), I
could use some help here.



SVN revision: 39343
2009-03-03 07:20:21 +00:00
config option to restrict mouse desktop flipping if there are fullscreen windows 2009-02-27 18:36:08 +00:00
data more glow fix. 2009-03-02 05:47:14 +00:00
debian Another rules file update. 2009-01-18 14:06:17 +00:00
doc Fix the image size 2009-02-01 00:17:05 +00:00
intl Should not be here. 2006-10-31 23:32:31 +00:00
lib Quiet! 2004-12-02 18:41:29 +00:00
m4 update ac_attribute.m4 2009-01-14 08:35:11 +00:00
po updating fr.po 2009-03-02 11:50:38 +00:00
src efreet mime types icon cache. 2009-03-03 07:20:21 +00:00
.cvsignore ignore 2008-06-19 12:29:22 +00:00
AUTHORS Changed about dialog size and AUTHORS cleanup. 2009-03-02 02:41:53 +00:00
BUGS bugs-- 2006-06-20 12:04:06 +00:00
COPYING fix the copying license to 2009-01-13 13:00:45 +00:00
COPYING-PLAIN _ _ _ _ _____ ___ 2004-11-25 03:37:45 +00:00
ChangeLog _ _ _ _ _____ ___ 2004-11-25 03:37:45 +00:00
INSTALL _ _ _ _ _____ ___ 2004-11-25 03:37:45 +00:00
Makefile.am Remove enlightenment-config source of miscompilation. You should use pkg-config now. 2008-10-16 10:19:40 +00:00
NEWS _ _ _ _ _____ ___ 2004-11-25 03:37:45 +00:00
README typo 2008-04-03 19:05:21 +00:00
autogen.sh Seach local m4 directory first. 2007-03-25 19:11:49 +00:00
configure.ac edge and corner binding infrastructure. If you have an old config, enable the conf_edgebindings module and hit 'Reset to defaults' to get edge desktop switching. 2009-02-25 22:21:46 +00:00
enlightenment.pc.in Correctly include eina and fix pkg-config description. 2008-10-15 10:03:45 +00:00
enlightenment.spec.in Remove enlightenment-config source of miscompilation. You should use pkg-config now. 2008-10-16 10:19:40 +00:00
netwm.txt Fix supported atoms. 2005-09-20 17:09:56 +00:00
x-ui.sh fix illume theme gadget no-mouse-events. 2008-12-07 02:08:32 +00:00
xnest.sh This is a bash script, so don't use bad alias shebang. 2007-08-31 20:41:47 +00:00

README

Enlightenment 0.17.0 - IN DEVELOPMENT... not a RELEASE.

Requirements:
-------------

Must:
  libc libm libX11 libXext evas ecore ecore-evas ecore-file ecore-ipc ecore-con
  ecore-job ecore-imf ecore-img-evas edje eet embryo efreet efreet-mime
  edbus ecore-txt
  [png loader in evas, jpeg loader in evas, eet loader in evas, software_x11
  engine in evas, buffer engine in evas]

Recommended:
  libpam [xrender engine in evas]

NOTE: Users of DR16 will need to rename the $prefix/bin/enlightenment
file prior to installing DR17 or it will be overwritten.

You can also use the configure --prefix option to put e17 in a separate tree
of its own (recommended) like:

  ./configure --prefix=/usr/local/e17

You will, as usual need to add the subsequent bin dir to your $PATH etc.


NOTES:

* do NOT use -mfpmath=sse in CFLAGS - we are not sure, but it may have bugds
and screws up things in edje, evas and e17. if your gcc uses this by default
(which apparently gcc4.x does on amd64), turn it off with a -fpmath=387 in
your CFLAGS.

* your freetype2 version must be > 2.1.7

* i remember hearing of bugs with later versions of freetype on some
distributions (2.1.9 and 2.1.10) with certain patches or missing certain
patches. be aware of this as a possible font problem.