Commit Graph

142 Commits

Author SHA1 Message Date
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 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
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 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 e2a715ccc9 create cache for fallback icons
SVN revision: 54583
2010-11-16 10:32:21 +00:00
Sebastian Dransfeld bc008e3a93 local variable should be static
SVN revision: 54580
2010-11-16 10:31:49 +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 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
Sebastian Dransfeld 36b570e9bc formatting
SVN revision: 49838
2010-06-24 19:34:15 +00:00
Cedric BAIL 55524b4e87 * efreet: remove warning due to change in Ecore API.
SVN revision: 49831
2010-06-24 16:17:45 +00:00
Sebastian Dransfeld 28878014c9 flock -> fcntl
flock isn't portable. Fix some headers too.

SVN revision: 49649
2010-06-11 21:43:07 +00:00
Carsten Haitzler 7a935a6eac add verbose option/
SVN revision: 49387
2010-06-02 00:19:38 +00:00
Albin Tonnerre 1dde324c33 [E-devel] [PATCH] Efreet: move efreet_desktop_cache_create out of
the path
This binary is just an internal helper, and isn't expected to be run by
anything but efreet.  Therefore, let's emphasize this and keep it out of
the path by installing it in PACKAGE_LIB_DIR/efreet/

Signed-off-by: Albin Tonnerre <lutin@debian.org>

By: Albin Tonnerre <albin.tonnerre@gmail.com>



SVN revision: 48085
2010-04-17 20:19:35 +00:00
Sebastian Dransfeld a384141abc efreet: Check return value from opendir
SVN revision: 48081
2010-04-17 18:39:13 +00:00
Sebastian Dransfeld 207f5dc447 efreet: cache all types of desktop files
SVN revision: 47792
2010-04-06 18:36:04 +00:00
Sebastian Dransfeld 44f00fc8a6 efreet: don't truncate, unlink and open
SVN revision: 47789
2010-04-06 18:35:35 +00:00
Sebastian Dransfeld 0407d84a9a efreet: rename lock file
SVN revision: 47729
2010-04-03 18:45:46 +00:00
Sebastian Dransfeld 5ffb64a69c efreet: TODO--++
SVN revision: 47667
2010-04-01 19:40:53 +00:00
Sebastian Dransfeld caa9409ac0 efreet: Check if old and new cache equals
SVN revision: 47585
2010-03-30 10:51:45 +00:00
Sebastian Dransfeld 1aa568e828 efreet: Check source of desktop
Flag changed if efreet_desktop_new doesn't return a eet cached value.

SVN revision: 47584
2010-03-30 10:51:35 +00:00
Carsten Haitzler 04af71119f bah!
SVN revision: 47571
2010-03-30 00:02:19 +00:00
Sebastian Dransfeld 3db40c0d97 efreet: fix strdup + stringshare
SVN revision: 47568
2010-03-29 20:14:43 +00:00
Sebastian Dransfeld 434759396a efreet: use efreet_desktop_new, not get
As we free the desktop in the same func, use uncached version

SVN revision: 47567
2010-03-29 20:11:12 +00:00
Sebastian Dransfeld 68d33e8c59 efreet: TODO++
SVN revision: 47566
2010-03-29 20:10:26 +00:00
Sebastian Dransfeld 6d0651d4f2 efreet: Only update cache files if changed
SVN revision: 47546
2010-03-28 20:46:27 +00:00
Sebastian Dransfeld 13b51829ae efreet: TODO--
SVN revision: 47545
2010-03-28 20:36:47 +00:00
Sebastian Dransfeld c37ca95819 efreet: Remove unneeded flag
SVN revision: 47543
2010-03-28 20:36:26 +00:00
Sebastian Dransfeld c7dc3a221d efreet: Only read data from disk when modified
SVN revision: 47539
2010-03-28 19:31:37 +00:00
Sebastian Dransfeld d504b34ac3 efreet: fix old cache deletion
SVN revision: 47538
2010-03-28 19:31:26 +00:00
Sebastian Dransfeld d8bde974e6 efreet: Add variable to prevent cache update
SVN revision: 47536
2010-03-28 18:54:25 +00:00
Sebastian Dransfeld cfc96c36ad efreet: TODO++
SVN revision: 47520
2010-03-27 20:58:45 +00:00
Sebastian Dransfeld 17df443aeb efreet: use uncached call so we read from disk
SVN revision: 47516
2010-03-27 20:03:45 +00:00
Sebastian Dransfeld e9552821a1 efreet: Rename util file first
Rename util file first as it is internal. change for system will happen
on desktop file

SVN revision: 47480
2010-03-26 06:16:19 +00:00
Sebastian Dransfeld 7efb6fcaad cache .directory files also
SVN revision: 47186
2010-03-13 20:58:17 +00:00
Sebastian Dransfeld ed3305dc18 Cache files from user dirs
SVN revision: 47122
2010-03-10 21:34:52 +00:00
Sebastian Dransfeld 8e05829f83 read user dir cache
SVN revision: 47120
2010-03-10 21:33:43 +00:00
Carsten Haitzler 33ec010a36 errrr - how about we have a orig_path for a new desktop file eh? there's a
brilliant idea!



SVN revision: 46859
2010-03-04 01:00:06 +00:00
Sebastian Dransfeld 7a07bed86c Clarify difference between _get and _new
efreet_desktop_get for long living cached structs, efreet_desktop_new
for shortlived non cached.

SVN revision: 46840
2010-03-03 19:42:38 +00:00
Sebastian Dransfeld a1205c588c rename function
SVN revision: 46831
2010-03-03 12:28:40 +00:00