Commit Graph

119 Commits

Author SHA1 Message Date
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
Sebastian Dransfeld caaf7ab25f formatting
SVN revision: 55037
2010-11-27 20:36:39 +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 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
Vincent Torri d07b011ca8 move Ecore_File.h inclusion to the source file
SVN revision: 55002
2010-11-25 23:52:57 +00:00
Sebastian Dransfeld 14f8c7b24f TODO++--
SVN revision: 54976
2010-11-25 09:41:08 +00:00
Sebastian Dransfeld 54ec9cec67 listen to changes for icon dirs
SVN revision: 54957
2010-11-24 21:10:52 +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 cc981aba4d remove printf
SVN revision: 54926
2010-11-24 09:37:56 +00:00
Mike Blumenkrantz e8ae0da271 fix compile
SVN revision: 54917
2010-11-24 02:40:54 +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 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 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 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 027c174f9d Find icons in cache
SVN revision: 54616
2010-11-16 21:50:53 +00:00
Sebastian Dransfeld e2a715ccc9 create cache for fallback icons
SVN revision: 54583
2010-11-16 10:32:21 +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 291c525a42 Remove raster's stupid cache
And just disable cache limit on the already existing cache.

SVN revision: 45881
2010-02-04 20:02:33 +00:00
Sebastian Dransfeld 0423e1ea99 Formatting
SVN revision: 45865
2010-02-04 09:12:35 +00:00
Vincent Torri 1bf086809e * move header files in efree_provate.h to the source files
* fix compilation on Windows XP (not sure that Windows CE port is needed...)

note that, as ecore_exe is not available on Windows, some code have
been disables for that platform in src/lib/efreet_desktop.c. Also, a new Evil
version should be used (not in svn yet)

The compilation on Windows is needed for Ewl (icon and mime)



SVN revision: 40257
2009-04-20 23:20:40 +00:00
Carsten Haitzler b00bae1d92 a really simple hash cache for icon finds - this massively makes stuff faster
for app dialogs etc. yes - it uses ram. thats next - make it leaner on ram
usage. its simple enough now where that shouldnt be a problem.



SVN revision: 38839
2009-01-29 07:36:58 +00:00