Sebastian Dransfeld
a473306c0e
efreet: move update files
...
Move update files to separate subdir to reduce inotify triggers
SVN revision: 78176
2012-10-18 09:40:00 +00:00
Sebastian Dransfeld
4eb8b955a9
efreet: optimize stat
...
use eina_file_stat_ls instead of eina_file.*_ls + ecore_file_is_dir
SVN revision: 78173
2012-10-18 09:12:25 +00:00
Vincent Torri
e707290273
Efreet: errno.h is not always indirectly included
...
SVN revision: 73293
2012-07-04 18:35:31 +00:00
Sebastian Dransfeld
851f2fc136
efreet: Fix missing cache info
...
If a desktop was in the regular cache because of direct access, and then
added by a change in XDG_DATA_DIRS it wouldn't end in the utils cache
unless something triggered a complete cache rebuild.
SVN revision: 72962
2012-06-27 19:07:05 +00:00
Sebastian Dransfeld
93ed956adf
efreet: Remove unneeded headers
...
SVN revision: 67403
2012-01-20 19:54:20 +00:00
Sebastian Dransfeld
820722a779
efreet: opendir -> eina_file_direct_ls
...
SVN revision: 67308
2012-01-19 00:35:51 +00:00
Cedric BAIL
aeed35b2ea
efreet: correctly include dirent.h in the right place.
...
NOTE: for after 1.1, we should really use eina_*_ls API instead.
SVN revision: 65292
2011-11-16 10:56:44 +00:00
Sebastian Dransfeld
d459c61334
Efreet: Fix shadow warning
...
SVN revision: 63019
2011-08-31 09:09:31 +00:00
Sebastian Dransfeld
dc78efed2b
Efreet: Fix caching of recursive directories
...
SVN revision: 62985
2011-08-30 12:19:19 +00:00
Sebastian Dransfeld
6ac66e7427
efreet: Don't check if path is a subdir
...
We don't recurse in extra_dirs, so we must store all paths explicit.
SVN revision: 62582
2011-08-19 06:44:59 +00:00
Sebastian Dransfeld
6dffcf4c32
efreet: Use eina log
...
SVN revision: 62580
2011-08-19 06:44:38 +00:00
Sebastian Dransfeld
56f3b3b278
efreet: Clean headers
...
Might affect other systems, please just add the needed headers and don't
complain.
SVN revision: 62557
2011-08-18 07:35:48 +00:00
Sebastian Dransfeld
f696cd74bd
efret: Save whether cache changed in update file.
...
SVN revision: 62506
2011-08-16 12:46:35 +00:00
Sebastian Dransfeld
51e1eca0a9
efreet: Remove disabled if
...
SVN revision: 62501
2011-08-16 12:45:30 +00:00
Sebastian Dransfeld
83306ac5c6
Efreet: Remove unused variables
...
SVN revision: 57409
2011-02-28 10:50:37 +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
c5c5df9ba9
Remove debug ouput
...
SVN revision: 57173
2011-02-19 20:52:10 +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
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
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
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
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
9ac9292404
Need to open read/write for eet_num_entries
...
SVN revision: 55194
2010-12-03 14:53:11 +00:00
Sebastian Dransfeld
e9763d92d4
add global version to cache files
...
SVN revision: 55145
2010-12-02 08:34:07 +00:00
Sebastian Dransfeld
bbd2b07962
Rename to match icon functions
...
SVN revision: 55135
2010-12-02 08:32:22 +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
3fab0c44cb
actually change file, as we don't listen to attrib
...
SVN revision: 54924
2010-11-24 09:37:35 +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
bc008e3a93
local variable should be static
...
SVN revision: 54580
2010-11-16 10:31:49 +00:00
Sebastian Dransfeld
aec56c9e24
share edd between lib and bin
...
SVN revision: 54573
2010-11-15 21:06:52 +00:00
Sebastian Dransfeld
44ce55c909
TOOD++
...
SVN revision: 54386
2010-11-09 21:31:46 +00:00
Sebastian Dransfeld
f3a591b253
Always munmap mmap'ed data
...
SVN revision: 51713
2010-08-29 08:47:37 +00:00
Carsten Haitzler
dae2c23caf
possible leak--
...
SVN revision: 51703
2010-08-28 15:11:20 +00:00
Lucas De Marchi
0a4617ae38
FORMATTING
...
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
SVN revision: 50816
2010-08-04 16:57:32 +00:00