Commit Graph

87 Commits

Author SHA1 Message Date
Sebastian Dransfeld 23c5801400 Move all eet cache handling to efreet_cache.c
SVN revision: 56906
2011-02-10 14:24:40 +00:00
Sebastian Dransfeld 3997e75aa9 move around some code
SVN revision: 56904
2011-02-10 14:24:20 +00:00
Sebastian Dransfeld 45aebcb121 Make efreet_cache_icon_theme_free static
SVN revision: 56903
2011-02-10 14:24:09 +00:00
Sebastian Dransfeld 8c9ac9c967 Don't free strings from eet
SVN revision: 56874
2011-02-09 20:43:43 +00:00
Sebastian Dransfeld 851fcce119 Don't deref NULL pointer
SVN revision: 56868
2011-02-09 18:36:12 +00:00
Sebastian Dransfeld 8c9083f65d Add free callback to eet hashes
Fixes memleak

SVN revision: 56854
2011-02-09 17:09:38 +00:00
Sebastian Dransfeld 021beae781 Move theme hash from efreet_icon to efreet_cache
SVN revision: 56852
2011-02-09 17:09:16 +00:00
Sebastian Dransfeld 2344ff9520 These TODO's are done
SVN revision: 56851
2011-02-09 17:08:50 +00:00
Sebastian Dransfeld 88efa51928 Fix segv correctly
There should be no key starting with efreet in the cache, but make sure
a theme exists before adding to the theme list.

SVN revision: 56838
2011-02-09 08:40:39 +00:00
Hannes Janetzek 0f47e4a0eb fix segv of e's icon theme chooser. please review
SVN revision: 56818
2011-02-08 20:50:29 +00:00
Sebastian Dransfeld c49d6dd5c4 Set file owner to calling user
This fixes cache problems when running programs utilizing efreet with
sudo.

SVN revision: 56787
2011-02-07 21:33:33 +00:00
Sebastian Dransfeld 582ecd7203 Fix doc
SVN revision: 56783
2011-02-07 21:19:36 +00:00
Sebastian Dransfeld da2c871e24 Remove duplicate logging macros
SVN revision: 56732
2011-02-05 19:07:07 +00:00
Sebastian Dransfeld accd246c72 Set EFREET_MODULE_LOG_DOM to -1 after unregister
SVN revision: 56731
2011-02-05 19:06:55 +00:00
Sebastian Dransfeld 6ed10251db Remove global log domain
SVN revision: 56729
2011-02-05 19:05:55 +00:00
Sebastian Dransfeld 83e7cba435 Pass extensions and directories to cache process.
SVN revision: 56666
2011-02-02 22:58:15 +00:00
Sebastian Dransfeld c1bf3a7d32 Check for NULL
SVN revision: 56665
2011-02-02 22:57:34 +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 90dcedff5e TODO--
SVN revision: 56604
2011-01-31 11:46:01 +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 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 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 58e0a470cf use convenience macro
SVN revision: 55523
2010-12-12 22:17:05 +00:00
Sebastian Dransfeld 8babc062be delay closing of icon theme cache
SVN revision: 55502
2010-12-11 20:37:17 +00:00
Sebastian Dransfeld 99d014aa20 TODO++
SVN revision: 55468
2010-12-10 20:32:28 +00:00
Sebastian Dransfeld 7c995d2f16 Use right struct for eddc size
SVN revision: 55415
2010-12-09 14:13:31 +00:00
Sebastian Dransfeld ea7834865e revert crazy idea
SVN revision: 55413
2010-12-09 13:41:22 +00:00
Sebastian Dransfeld e88061b9aa Reduce stack usage
For functions often called, don't put unneded mem on stack

SVN revision: 55411
2010-12-09 13:15:43 +00:00
Sebastian Dransfeld 4e9fa3d6f7 if file open, return true
SVN revision: 55407
2010-12-09 12:19:23 +00:00
Sebastian Dransfeld de36c69b16 flush icon theme cache before closing eet file
SVN revision: 55399
2010-12-09 08:57:06 +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 d364a70386 rename variables
SVN revision: 55180
2010-12-03 09:55:36 +00:00
Sebastian Dransfeld bd435f19f9 Add data to right edd
SVN revision: 55179
2010-12-03 09:55:23 +00:00
Cedric BAIL 447dc9d9f7 * efreet: fix build.
SVN revision: 55157
2010-12-02 10:47:34 +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 2ce2d03609 delay opening eet file
SVN revision: 55142
2010-12-02 08:33:38 +00:00
Sebastian Dransfeld 5ad15a52b6 Symbol always defined, always set to 0
SVN revision: 55139
2010-12-02 08:33:09 +00:00
Sebastian Dransfeld 0a3b631073 One func to free edd's
SVN revision: 55138
2010-12-02 08:32:59 +00:00
Sebastian Dransfeld f372387cde Rename extension to .eet to keep consistency
SVN revision: 55137
2010-12-02 08:32:49 +00:00
Sebastian Dransfeld 4615570ec9 Create desktop edd when needed
SVN revision: 55136
2010-12-02 08:32:39 +00:00
Sebastian Dransfeld bbd2b07962 Rename to match icon functions
SVN revision: 55135
2010-12-02 08:32:22 +00:00
Cedric BAIL 7db2cb388c * efreet: improve speed of cache regeneration.
SVN revision: 55060
2010-11-29 13:17:33 +00:00