Mike Blumenkrantz
96be628d43
use eina_log more effectively: replace all printfs with appropriate log functions and use EINA_LOG_ERR instead of ERR when log dom fails to init
...
SVN revision: 57858
2011-03-18 19:47:57 +00:00
Sebastian Dransfeld
a433d4d56f
Efreet: Create theme before accessing it
...
SVN revision: 57773
2011-03-15 18:54:00 +00:00
Sebastian Dransfeld
e171893e89
Efreet: And revert logging, no longer needed
...
SVN revision: 57772
2011-03-15 18:49:49 +00:00
Sebastian Dransfeld
5d986f225f
Efreet: Add some logging
...
SVN revision: 57769
2011-03-15 17:07:19 +00:00
Sebastian Dransfeld
f77442595d
Efreet: Make sure we don't reset changed
...
SVN revision: 57575
2011-03-08 11:41:18 +00:00
Sebastian Dransfeld
83306ac5c6
Efreet: Remove unused variables
...
SVN revision: 57409
2011-02-28 10:50:37 +00:00
Sebastian Dransfeld
984361a2d3
Efreet: Reset changed before scanning fallback
...
Changed must be EINA_FALSE before scanning fallback to not create false
positive.
SVN revision: 57240
2011-02-22 12:52:58 +00:00
Sebastian Dransfeld
96c006f7e3
Efreet: Always trigger change file
...
changed flag isn't global, and is set to EINA_FALSE for each theme.
SVN revision: 57239
2011-02-22 12:52:46 +00:00
Sebastian Dransfeld
0ee1932ebd
Always trigger desktop cache update
...
E init process waits for this and must always get it.
SVN revision: 57238
2011-02-22 12:42:58 +00:00
Sebastian Dransfeld
7c1d716453
formatting
...
SVN revision: 57237
2011-02-22 12:42:46 +00:00
Cedric BAIL
94a1ea33fa
efreet: write once cache to disk and notify only when needed.
...
NOTE: eet_sync just force the write of the eet file to the disk.
That's exactly what eet_close will do also. eet_sync is just to
be used when you are planning to still use it and don't want to
close it soon.
SVN revision: 57233
2011-02-22 10:43:58 +00:00
Sebastian Dransfeld
e142957521
Only print if verbose and TODO++
...
SVN revision: 57175
2011-02-19 20:54:03 +00:00
Sebastian Dransfeld
c5c5df9ba9
Remove debug ouput
...
SVN revision: 57173
2011-02-19 20:52:10 +00:00
Sebastian Dransfeld
fd9a2abd29
remove wrong comment, fixed
...
SVN revision: 56919
2011-02-10 14:41:36 +00:00
Sebastian Dransfeld
5212c1bdb7
TODO--
...
Fixed
SVN revision: 56918
2011-02-10 14:37:59 +00:00
Sebastian Dransfeld
b17640ba62
Pass dirs to desktop cache process as arguments
...
And store the extra dirs in the desktop eet cache.
SVN revision: 56910
2011-02-10 14:25:23 +00:00
Sebastian Dransfeld
c5669b308e
Fix memleak in desktop cache create
...
SVN revision: 56909
2011-02-10 14:25:13 +00:00
Sebastian Dransfeld
68c11a1c76
check >= to close fd
...
SVN revision: 56855
2011-02-09 17:09:49 +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
886a338b94
Move lock creation to own function for cache
...
SVN revision: 56786
2011-02-07 21:33:22 +00:00
Sebastian Dransfeld
918f284b38
Do init efreet before using efreet_*() functions
...
SVN revision: 56785
2011-02-07 21:33:11 +00:00
Sebastian Dransfeld
711b6b10a0
Don't create cache dir several times
...
SVN revision: 56784
2011-02-07 21:33:01 +00:00
Sebastian Dransfeld
2296007594
Define EFREET_MODULE_LOG_DOM
...
Must be defined in all files which include efreet_private.h
SVN revision: 56734
2011-02-05 19:56:44 +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
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