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
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
64a612ef38
* efreet: simplify code.
...
SVN revision: 55071
2010-11-29 18:42:48 +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
caaf7ab25f
formatting
...
SVN revision: 55037
2010-11-27 20:36:39 +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
65e808c0af
* efreet: Eet.h is needed by declaration in efreet_private.h.
...
SVN revision: 55034
2010-11-27 17:02:18 +00:00
Christopher Michael
8719a729ab
Fix missing include <Ecore.h> for needed ecore functions
...
(ecore_time_get, ecore_exe_run, etc, etc).
SVN revision: 55027
2010-11-26 21:32:34 +00:00
Vincent Torri
57c6d1b2e0
fix efreet after the Windows commits
...
SVN revision: 55026
2010-11-26 20:48:50 +00:00
Vincent Torri
126c3574c3
fix compilation on Windows
...
SVN revision: 55021
2010-11-26 17:05:16 +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
b9c9af539a
Check if dir exists before listening to it
...
SVN revision: 55008
2010-11-26 10:27:41 +00:00
Vincent Torri
d07b011ca8
move Ecore_File.h inclusion to the source file
...
SVN revision: 55002
2010-11-25 23:52:57 +00:00
Vincent Torri
42f57e9fc3
put alloca declaration after config.h
...
SVN revision: 55001
2010-11-25 23:48:59 +00:00
Sebastian Dransfeld
14f8c7b24f
TODO++--
...
SVN revision: 54976
2010-11-25 09:41:08 +00:00
Sebastian Dransfeld
ffee0081c7
Keep all queried themes in hash
...
The previous logic would create a fake theme object in
efreet_icon_find_theme_check() if we didn't find the theme. Later in
efreet_icon_theme_dir_scan_all() we would delete this theme, and then
segv. As the user hopefully wont query for a bunch of non existing
themes, and each theme object is fairly small, keep all in hash.
SVN revision: 54975
2010-11-25 09:04:49 +00:00
Sebastian Dransfeld
e8e0615c08
only inherit hicolor if theme is valid
...
SVN revision: 54974
2010-11-25 09:04:39 +00:00
Sebastian Dransfeld
19e3d5ee33
Make icon test work without theme installed
...
SVN revision: 54973
2010-11-25 09:04:19 +00:00
Sebastian Dransfeld
6be2628e97
revert, name.internal is always set
...
SVN revision: 54965
2010-11-24 21:34:21 +00:00
Sebastian Dransfeld
58f3f4f363
check if name.internal exists
...
SVN revision: 54964
2010-11-24 21:31:24 +00:00
Sebastian Dransfeld
748f2423b1
only listen if icon cache is enabled
...
SVN revision: 54963
2010-11-24 21:29:35 +00:00
Sebastian Dransfeld
04f61e115b
we need to monitor each theme dir too
...
xdg-icon-resource creates and deletes a file called
.xdg-icon-resource-dummy in each dir.
SVN revision: 54962
2010-11-24 21:18:56 +00:00
Sebastian Dransfeld
54ec9cec67
listen to changes for icon dirs
...
SVN revision: 54957
2010-11-24 21:10:52 +00:00
Sebastian Dransfeld
8f7c47480d
use convenience macro
...
SVN revision: 54954
2010-11-24 20:52:12 +00:00
Sebastian Dransfeld
fabda0d559
reorder code
...
SVN revision: 54953
2010-11-24 20:51:48 +00:00
Sebastian Dransfeld
b6a8ffb13d
remove unneeded code
...
SVN revision: 54949
2010-11-24 19:37:01 +00:00
Sebastian Dransfeld
76bf6bc471
And always return
...
SVN revision: 54931
2010-11-24 11:30:12 +00:00
Sebastian Dransfeld
48471479e8
low prio for cache creation
...
SVN revision: 54930
2010-11-24 10:44:16 +00:00
Sebastian Dransfeld
7083a3f774
formatting
...
SVN revision: 54929
2010-11-24 10:33:49 +00:00
Sebastian Dransfeld
1f83aecc41
Always return before error handler
...
SVN revision: 54928
2010-11-24 10:33:40 +00:00
Sebastian Dransfeld
b645d20ab2
fix memleak and use realpath directly
...
SVN revision: 54927
2010-11-24 10:33:30 +00:00
Sebastian Dransfeld
cc981aba4d
remove printf
...
SVN revision: 54926
2010-11-24 09:37:56 +00:00
Sebastian Dransfeld
213be68ade
Only update if file has known extension
...
SVN revision: 54925
2010-11-24 09:37:46 +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
Mike Blumenkrantz
e8ae0da271
fix compile
...
SVN revision: 54917
2010-11-24 02:40:54 +00:00
Mike Blumenkrantz
b9588a913f
fix conditional
...
SVN revision: 54916
2010-11-24 02:40:46 +00:00
Sebastian Dransfeld
263745797e
Listening for changes is private for desktop
...
SVN revision: 54911
2010-11-23 21:54:01 +00:00
Sebastian Dransfeld
620121501f
Don't close active desktop cache
...
SVN revision: 54910
2010-11-23 21:35:32 +00:00
Sebastian Dransfeld
d6cd4ae87d
always init cache
...
SVN revision: 54908
2010-11-23 21:16:19 +00:00
Sebastian Dransfeld
f557446b92
NULL pointers after deletion
...
SVN revision: 54907
2010-11-23 21:15:55 +00:00
Sebastian Dransfeld
3a0be239f9
And compile without ICON_CACHE
...
SVN revision: 54905
2010-11-23 20:26:50 +00:00
Sebastian Dransfeld
e2c6e11724
move cache file handling from desktop to cache
...
SVN revision: 54901
2010-11-23 20:14:13 +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
7e584e6293
ecore is handled in main
...
SVN revision: 54887
2010-11-23 13:30:51 +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
86eb1f3367
TODO++
...
SVN revision: 54834
2010-11-22 21:31:35 +00:00
Sebastian Dransfeld
2762d8ba37
Always emit icon cache update event
...
If file starts with icon_ and ends with .cache, we have a new icon
cache, emit event.
SVN revision: 54833
2010-11-22 21:30:43 +00:00
Sebastian Dransfeld
7b68d53abc
fix fallback icon searching
...
SVN revision: 54831
2010-11-22 20:51:34 +00:00
Sebastian Dransfeld
09aed7876d
close cache file after 60 seconds of inactivity
...
SVN revision: 54829
2010-11-22 20:51:05 +00:00
Sebastian Dransfeld
bdb6cdffd0
read fallback icon from cache
...
SVN revision: 54828
2010-11-22 20:50:46 +00:00
Sebastian Dransfeld
c36317f77c
do ecore_init, so ecore_time_get works
...
SVN revision: 54827
2010-11-22 20:50:32 +00:00
Sebastian Dransfeld
5c4adef911
And use right error handler
...
SVN revision: 54826
2010-11-22 20:50:09 +00:00
Sebastian Dransfeld
997158486a
ecore_file is init'ed in base
...
SVN revision: 54825
2010-11-22 20:49:52 +00:00
Sebastian Dransfeld
12550e7b58
init ecore_file in base
...
And add missing ecore_*shutdown() in shutdown
SVN revision: 54824
2010-11-22 20:49:22 +00:00
Sebastian Dransfeld
3624014340
Remove common included header
...
SVN revision: 54823
2010-11-22 20:49:08 +00:00
Sebastian Dransfeld
44264c2d8f
Add ecore headers to private header
...
Used everywhere
SVN revision: 54822
2010-11-22 20:48:55 +00:00
Sebastian Dransfeld
7ad68afff2
Don't add a new public header
...
SVN revision: 54821
2010-11-22 20:48:41 +00:00
Sebastian Dransfeld
d2b2019675
We always need to to the tasks in init on init
...
SVN revision: 54820
2010-11-22 20:48:24 +00:00
Sebastian Dransfeld
3c6ce92aa4
remove erronous chars
...
SVN revision: 54819
2010-11-22 20:47:14 +00:00
Sebastian Dransfeld
862412f11d
rename
...
SVN revision: 54789
2010-11-22 14:16:58 +00:00
Sebastian Dransfeld
bbf23d8ab2
rename
...
SVN revision: 54788
2010-11-22 14:16:48 +00:00
Sebastian Dransfeld
64f366ee77
TODO++
...
SVN revision: 54787
2010-11-22 14:16:38 +00:00
Sebastian Dransfeld
8a9a0bbc15
TODO++
...
SVN revision: 54786
2010-11-22 14:16:29 +00:00
Sebastian Dransfeld
9941eba9d6
check for NULL
...
SVN revision: 54785
2010-11-22 14:16:19 +00:00
Sebastian Dransfeld
87baeb631b
Execute cache creator and listen for changes
...
SVN revision: 54784
2010-11-22 14:16:09 +00:00
Sebastian Dransfeld
04d52dcd86
cache update is a generic event
...
SVN revision: 54783
2010-11-22 14:15:59 +00:00
Sebastian Dransfeld
537f3fd258
include Ecore.h
...
SVN revision: 54782
2010-11-22 14:15:50 +00:00
Sebastian Dransfeld
a16314cd88
init ecore in main init
...
SVN revision: 54781
2010-11-22 14:15:40 +00:00
Sebastian Dransfeld
93429120f9
If only one path, only check extension
...
SVN revision: 54780
2010-11-22 14:15:30 +00:00
Carsten Haitzler
1c34083001
lets... use our return value shall we? <- THATS the missing icons bug
...
i was telling you about!
SVN revision: 54776
2010-11-22 09:47:36 +00:00
Sebastian Dransfeld
027c174f9d
Find icons in cache
...
SVN revision: 54616
2010-11-16 21:50:53 +00:00
Sebastian Dransfeld
159b8ddb60
realpath will return empty string when not found
...
SVN revision: 54615
2010-11-16 21:50:38 +00:00
Sebastian Dransfeld
2894e4aedc
if -> ifdef
...
SVN revision: 54614
2010-11-16 21:49:45 +00:00
Sebastian Dransfeld
e2a715ccc9
create cache for fallback icons
...
SVN revision: 54583
2010-11-16 10:32:21 +00:00
Sebastian Dransfeld
8a1cde087d
formatting
...
SVN revision: 54582
2010-11-16 10:32:11 +00:00
Sebastian Dransfeld
e4c39fa555
export depcreated user dir
...
SVN revision: 54581
2010-11-16 10:32:01 +00:00
Sebastian Dransfeld
bc008e3a93
local variable should be static
...
SVN revision: 54580
2010-11-16 10:31:49 +00:00
Sebastian Dransfeld
2849f58ca9
Remove duplicate code, mark strict spec
...
SVN revision: 54579
2010-11-16 08:28:52 +00:00
Sebastian Dransfeld
b83238ae14
Start of icon cache
...
Please test efreet_icon_cache_create and efreet_icon_cache_dump, and
check if it is fast enough on a slow system.
SVN revision: 54575
2010-11-15 21:07:22 +00:00
Sebastian Dransfeld
e8ce2014b0
TODO++
...
SVN revision: 54574
2010-11-15 21:07:05 +00:00
Sebastian Dransfeld
aec56c9e24
share edd between lib and bin
...
SVN revision: 54573
2010-11-15 21:06:52 +00:00
Sebastian Dransfeld
bc9f811710
remove duplicate code, and mark strict spec
...
SVN revision: 54572
2010-11-15 21:04:42 +00:00
Cedric BAIL
70e488feff
* efl: beta2 !
...
SVN revision: 54507
2010-11-12 16:01:55 +00:00
Sebastian Dransfeld
44ce55c909
TOOD++
...
SVN revision: 54386
2010-11-09 21:31:46 +00:00
Sebastian Dransfeld
7545e54203
Let efreet icon return const
...
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.
A bit late to do an API break, but must be done.
SVN revision: 54372
2010-11-09 20:15:55 +00:00
Cedric BAIL
5cec7beb53
* efreet: little speedup for icon lookup.
...
But really you should not call it as it will call stat for
every path it guess an icon could be in. For example, elementary_test
Toolbar 5 trigger 41132 call to stat on random place on your harddrive.
SVN revision: 54339
2010-11-08 18:09:25 +00:00
Carsten Haitzler
f5b23f940b
no more debian dir in our svn - debian now handles this tehmselves.
...
SVN revision: 54292
2010-11-08 05:49:48 +00:00
Sebastian Dransfeld
0ab16442cf
Always do env check
...
SVN revision: 54231
2010-11-06 16:47:43 +00:00
Sebastian Dransfeld
3ee4664f39
Do realpath on last element too
...
SVN revision: 54227
2010-11-06 14:44:11 +00:00