Sebastian Dransfeld
a812c2b0d3
Efreet: formatting
...
SVN revision: 57859
2011-03-18 20:00:22 +00:00
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
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
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
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
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
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
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
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
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
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
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
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