Commit Graph

179 Commits

Author SHA1 Message Date
Sebastian Dransfeld 83e7cba435 Pass extensions and directories to cache process.
SVN revision: 56666
2011-02-02 22:58:15 +00:00
Sebastian Dransfeld e9d7cce821 Reapply hash cache
And this time update it on new cache

SVN revision: 56638
2011-02-01 21:03:40 +00:00
Sebastian Dransfeld 3bf3e34ff4 Revert local hash cache
SVN revision: 56623
2011-02-01 09:23:05 +00:00
Sebastian Dransfeld ce7def6846 whitespace
SVN revision: 56618
2011-02-01 08:27:53 +00:00
Sebastian Dransfeld 90dcedff5e TODO--
SVN revision: 56604
2011-01-31 11:46:01 +00:00
Sebastian Dransfeld e61b21462d FIXME--
SVN revision: 56603
2011-01-31 11:45:50 +00:00
Sebastian Dransfeld d8ca02e9ac Correct english
SVN revision: 56599
2011-01-31 11:45:09 +00:00
Sebastian Dransfeld 0b519a6f7d Create one cache file for each theme
SVN revision: 56598
2011-01-31 11:44:56 +00:00
Sebastian Dransfeld 7279143b7e Prefix internal efreet cache keys with __
SVN revision: 56597
2011-01-31 11:44:46 +00:00
Sebastian Dransfeld 8309f40d0f Check if theme has changed when building cache
SVN revision: 56596
2011-01-31 11:44:35 +00:00
Sebastian Dransfeld 4ec17d71fc Create internal struct for theme cache
SVN revision: 56595
2011-01-31 11:44:24 +00:00
Sebastian Dransfeld cf746f7d1f Check whether dirs is NULL
SVN revision: 56594
2011-01-31 11:44:12 +00:00
Sebastian Dransfeld 1e99acb865 Change return type to Eina_Bool
Return Eina_Bool if the return value of a function is true or false.

SVN revision: 56593
2011-01-31 11:44:02 +00:00
Sebastian Dransfeld b59dbf5a08 Return EINA_* if return type is Eina_Bool
Convert 0 -> EINA_FALSE, 1 -> EINA_TRUE

SVN revision: 56592
2011-01-31 11:43:52 +00:00
Sebastian Dransfeld 49fa2a8861 Make check for stat return more explicit
SVN revision: 56591
2011-01-31 11:43:42 +00:00
Sebastian Dransfeld e3e3b2a204 Always use icon cache, remove old code
SVN revision: 56590
2011-01-31 11:43:31 +00:00
Sebastian Dransfeld 37405fc035 Improve storage of desktop util data
SVN revision: 56588
2011-01-31 11:32:34 +00:00
Sebastian Dransfeld 6453bdd056 Write version before entries check
Otherwise we will always get changed == 1

SVN revision: 56329
2011-01-27 20:21:16 +00:00
Carsten Haitzler 8da3cc47b5 actually log write err.
SVN revision: 56186
2011-01-16 08:12:51 +00:00
Sebastian Dransfeld 3a0af7b9c5 Don't store Hidden elements in utils cache
Hidden elements should never be returned to the user, they are "Deleted"

SVN revision: 55405
2010-12-09 12:19:00 +00:00
Sebastian Dransfeld 55404c7134 enable icon theme cache
SVN revision: 55398
2010-12-09 08:56:56 +00:00
Sebastian Dransfeld d104d2e745 Add icon theme cache
Not used yet.

SVN revision: 55384
2010-12-08 21:39:43 +00:00
Sebastian Dransfeld 84fdf4e0ef don't terminate execs
they finish very quickly, not need to terminate

SVN revision: 55383
2010-12-08 21:39:23 +00:00
Sebastian Dransfeld ed43ae5263 rename struct
prepare for Efreet_Cache_Icon_Theme

SVN revision: 55382
2010-12-08 21:36:54 +00:00
Sebastian Dransfeld 9da725d028 fix cache filenames
move cache to XDG_CACHE_HOME and add hostname for shared homedirs

SVN revision: 55263
2010-12-04 16:02:20 +00:00
Sebastian Dransfeld 91fcbf1f9e ignore signals is default ecore action
SVN revision: 55259
2010-12-04 13:58:52 +00:00
Sebastian Dransfeld 9ac9292404 Need to open read/write for eet_num_entries
SVN revision: 55194
2010-12-03 14:53:11 +00:00
Sebastian Dransfeld c06fe60c99 move dump to tests
SVN revision: 55192
2010-12-03 14:52:39 +00:00
Sebastian Dransfeld e9763d92d4 add global version to cache files
SVN revision: 55145
2010-12-02 08:34:07 +00:00
Sebastian Dransfeld 0ccccf1934 use update file for icon cache
SVN revision: 55144
2010-12-02 08:33:57 +00:00
Sebastian Dransfeld 09ef6eac04 Use convenience macro
SVN revision: 55140
2010-12-02 08:33:18 +00:00
Sebastian Dransfeld bbd2b07962 Rename to match icon functions
SVN revision: 55135
2010-12-02 08:32:22 +00:00
Sebastian Dransfeld 62c59b22ab And cache edje files as well
SVN revision: 55094
2010-11-30 18:42:25 +00:00
Sebastian Dransfeld 256c566009 formatting
SVN revision: 55093
2010-11-30 18:41:21 +00:00
Cedric BAIL 7db2cb388c * efreet: improve speed of cache regeneration.
SVN revision: 55060
2010-11-29 13:17:33 +00:00
Cedric BAIL 8dceeeee5b efreet: probably fix windows build.
SVN revision: 55040
2010-11-28 10:05:52 +00:00
Sebastian Dransfeld ea8cd61f4e init count to 0
SVN revision: 55038
2010-11-27 21:51:07 +00:00
Sebastian Dransfeld 0c8c2d3c9f Stick with efreet formatting
efreet has it's own formatting, something like
"set ts=4 sw=4 sts=4 expandtab cino=(0W1st0". Please keep it like this,
or do the job to convert the whole lib to efl style.

SVN revision: 55036
2010-11-27 20:36:27 +00:00
Sebastian Dransfeld 66e52e2829 Rename efreet_icon_private.h to something better
efreet_icon_private.h should be private to external code interacting
with the icon cache, so name it efreet_cache_private.h and only include
Eet.h there.

SVN revision: 55035
2010-11-27 20:15:00 +00:00
Vincent Torri 57c6d1b2e0 fix efreet after the Windows commits
SVN revision: 55026
2010-11-26 20:48:50 +00:00
Cedric BAIL a90e2e4aff * efreet: improve icon cache, increase speed and consume a little
more memory than previous version.

	TODO: efreet_icon_cache_create could be speeded up if we did
	reuse already generated theme instead when doing inherit work.

	NOTE: Let me add a rant against Freedesktop standard. Walking
	around 22731 paths for 3051 icons is insane and that's just for
	one theme ! Maybe they could give me one SSD...


SVN revision: 55018
2010-11-26 14:56:23 +00:00
Sebastian Dransfeld b6a8ffb13d remove unneeded code
SVN revision: 54949
2010-11-24 19:37:01 +00:00
Sebastian Dransfeld 3fab0c44cb actually change file, as we don't listen to attrib
SVN revision: 54924
2010-11-24 09:37:35 +00:00
Sebastian Dransfeld 69e2339c4f remove unused variables
SVN revision: 54900
2010-11-23 20:13:40 +00:00
Sebastian Dransfeld 38bad7fac0 catch term, not int
SVN revision: 54892
2010-11-23 16:50:16 +00:00
Sebastian Dransfeld 5db48201ce trap sigint
SVN revision: 54891
2010-11-23 16:49:46 +00:00
Sebastian Dransfeld 15a241534c touch an update file on completion
SVN revision: 54886
2010-11-23 13:30:39 +00:00
Sebastian Dransfeld f6cb6541e3 rename fd to clarify usage
SVN revision: 54885
2010-11-23 13:30:17 +00:00
Sebastian Dransfeld e2a715ccc9 create cache for fallback icons
SVN revision: 54583
2010-11-16 10:32:21 +00:00
Sebastian Dransfeld bc008e3a93 local variable should be static
SVN revision: 54580
2010-11-16 10:31:49 +00:00