efl/src/lib/efreet
Davide Andreoli 762d4fb551 Efreet: do not get confused by path ending with / in XDG_* vars
This @fix the parsing of dirs from the xdg env vars. Now always remove
the leading / char from the paths.

This was causing lots of trouble on my system, where XDG_DATA_DIRS is:
/usr/local/share/enlightenment:/usr/local/share:/usr/local/share/:/usr/share/

At first /usr/local/share was added 2 times in the list, one with the / and one
witout, causing a double lookup for each file.

Secondly the icon cache was totally unusable as the cached paths ended up
as: /usr/share//icons/Mint-X/places/32/folder.svg. The double / in there
was making the cache lookup to fail and anways return the biggest icon
available. Causing a big system slowdown whe searching for icons.

As a bonus the function now use eina_str_split instead of the custom splitting
code that require a bad special handling for the last item.
2015-01-25 12:44:09 +01:00
..
Efreet.h efreet: add documentation for Efreet_Version structure. 2014-10-20 18:02:03 +02:00
Efreet_Mime.h efreet: fix compilation on Windows. 2013-03-16 15:40:32 +09:00
Efreet_Trash.h efreet: fix compilation on Windows. 2013-03-16 15:40:32 +09:00
efreet.c efl: eina_alloca.h to simplify alloca() usage. 2013-01-03 15:10:34 +00:00
efreet_base.c Efreet: do not get confused by path ending with / in XDG_* vars 2015-01-25 12:44:09 +01:00
efreet_base.h efl: merge efreet. 2012-12-29 23:04:40 +00:00
efreet_cache.c efreet: improve messages 2014-09-29 09:39:38 +02:00
efreet_cache_private.h efreet: Implement fields added by desktop spec 1.1 2014-09-25 08:47:45 +02:00
efreet_desktop.c efreetd_cache: Resolved TODO checking symbolic link to monitor real path 2014-11-18 12:24:06 +01:00
efreet_desktop.h efreet: Implement fields added by desktop spec 1.1 2014-09-25 08:47:45 +02:00
efreet_desktop_command.c efreet: improve messages 2014-09-29 09:39:38 +02:00
efreet_icon.c efreet: improve messages 2014-09-29 09:39:38 +02:00
efreet_icon.h efl: merge efreet. 2012-12-29 23:04:40 +00:00
efreet_ini.c efreet: improve messages 2014-09-29 09:39:38 +02:00
efreet_ini.h efl: merge efreet. 2012-12-29 23:04:40 +00:00
efreet_menu.c efreet: improve messages 2014-09-29 09:39:38 +02:00
efreet_menu.h efreet - add menu ref/unref calls and refcounting to try solve e issue 2014-07-23 20:36:19 +09:00
efreet_mime.c efreet: check magic only for file which has size 2014-04-17 19:34:38 +02:00
efreet_private.h efl: Unified eina critical manro to CRI. 2013-12-26 12:27:13 +09:00
efreet_trash.c efreet: improve messages 2014-09-29 09:39:38 +02:00
efreet_uri.c efreet: Fix mistakenly inverted behavior in URI handling 2014-05-19 14:52:32 +03:00
efreet_uri.h efl: merge efreet. 2012-12-29 23:04:40 +00:00
efreet_utils.c efreet: Store known desktop environments 2014-09-18 10:48:50 +02:00
efreet_utils.h efreet: Store known desktop environments 2014-09-18 10:48:50 +02:00
efreet_xml.c efreet: improve messages 2014-09-29 09:39:38 +02:00
efreet_xml.h efl: merge efreet. 2012-12-29 23:04:40 +00:00