framework/uifw/efreet.git
14 years agoefreet: stringshare
englebass [Tue, 30 Mar 2010 12:21:44 +0000 (12:21 +0000)]
efreet: stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47594 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: stringshare
englebass [Tue, 30 Mar 2010 12:21:33 +0000 (12:21 +0000)]
efreet: stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47593 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove strdup
englebass [Tue, 30 Mar 2010 12:21:23 +0000 (12:21 +0000)]
remove strdup

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47592 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: benefit from stringshare
englebass [Tue, 30 Mar 2010 12:21:12 +0000 (12:21 +0000)]
efreet: benefit from stringshare

Since both values are stringshared, we can use direct comparison.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47591 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: stringshare
englebass [Tue, 30 Mar 2010 12:20:55 +0000 (12:20 +0000)]
efreet: stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47590 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: stringshare
englebass [Tue, 30 Mar 2010 11:07:19 +0000 (11:07 +0000)]
efreet: stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47588 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: stringshare
englebass [Tue, 30 Mar 2010 11:07:07 +0000 (11:07 +0000)]
efreet: stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47587 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: stringshare
englebass [Tue, 30 Mar 2010 11:06:56 +0000 (11:06 +0000)]
efreet: stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47586 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Check if old and new cache equals
englebass [Tue, 30 Mar 2010 10:51:45 +0000 (10:51 +0000)]
efreet: Check if old and new cache equals

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47585 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Check source of desktop
englebass [Tue, 30 Mar 2010 10:51:35 +0000 (10:51 +0000)]
efreet: Check source of desktop

Flag changed if efreet_desktop_new doesn't return a eet cached value.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47584 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agohmm - avoid crash for now, but bitch loudly
raster [Tue, 30 Mar 2010 05:29:49 +0000 (05:29 +0000)]
hmm - avoid crash for now, but bitch loudly

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47581 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocomment++
raster [Tue, 30 Mar 2010 05:15:33 +0000 (05:15 +0000)]
comment++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47577 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agobah!
raster [Tue, 30 Mar 2010 00:02:19 +0000 (00:02 +0000)]
bah!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47571 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: fix strdup + stringshare
englebass [Mon, 29 Mar 2010 20:14:43 +0000 (20:14 +0000)]
efreet: fix strdup + stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47568 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: use efreet_desktop_new, not get
englebass [Mon, 29 Mar 2010 20:11:12 +0000 (20:11 +0000)]
efreet: use efreet_desktop_new, not get

As we free the desktop in the same func, use uncached version

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47567 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: TODO++
englebass [Mon, 29 Mar 2010 20:10:26 +0000 (20:10 +0000)]
efreet: TODO++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47566 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Only update cache files if changed
englebass [Sun, 28 Mar 2010 20:46:27 +0000 (20:46 +0000)]
efreet: Only update cache files if changed

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47546 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: TODO--
englebass [Sun, 28 Mar 2010 20:36:47 +0000 (20:36 +0000)]
efreet: TODO--

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47545 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Remove unneeded flag
englebass [Sun, 28 Mar 2010 20:36:37 +0000 (20:36 +0000)]
efreet: Remove unneeded flag

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47544 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Remove unneeded flag
englebass [Sun, 28 Mar 2010 20:36:26 +0000 (20:36 +0000)]
efreet: Remove unneeded flag

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47543 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove unneeded TOOD
englebass [Sun, 28 Mar 2010 20:36:11 +0000 (20:36 +0000)]
Remove unneeded TOOD

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47542 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Only read data from disk when modified
englebass [Sun, 28 Mar 2010 19:31:37 +0000 (19:31 +0000)]
efreet: Only read data from disk when modified

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47539 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: fix old cache deletion
englebass [Sun, 28 Mar 2010 19:31:26 +0000 (19:31 +0000)]
efreet: fix old cache deletion

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47538 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Always run cache update on init
englebass [Sun, 28 Mar 2010 19:31:14 +0000 (19:31 +0000)]
efreet: Always run cache update on init

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47537 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Add variable to prevent cache update
englebass [Sun, 28 Mar 2010 18:54:25 +0000 (18:54 +0000)]
efreet: Add variable to prevent cache update

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47536 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: TODO++
englebass [Sat, 27 Mar 2010 20:58:45 +0000 (20:58 +0000)]
efreet: TODO++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47520 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Track old caches
englebass [Sat, 27 Mar 2010 20:53:52 +0000 (20:53 +0000)]
efreet: Track old caches

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47519 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: use uncached call so we read from disk
englebass [Sat, 27 Mar 2010 20:03:45 +0000 (20:03 +0000)]
efreet: use uncached call so we read from disk

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47516 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: fix function name
englebass [Sat, 27 Mar 2010 19:58:54 +0000 (19:58 +0000)]
efreet: fix function name

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47515 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agosync cache reload between desktop and util
englebass [Sat, 27 Mar 2010 19:58:33 +0000 (19:58 +0000)]
sync cache reload between desktop and util

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47513 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet_util_init gone
englebass [Sat, 27 Mar 2010 19:58:02 +0000 (19:58 +0000)]
efreet_util_init gone

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47511 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoinit util alongside rest of efreet
englebass [Sat, 27 Mar 2010 19:57:47 +0000 (19:57 +0000)]
init util alongside rest of efreet

Used to be separate as util had different requirements than base efreet,
and util had high memory usage. No longer the case.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47510 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoprint dangling references
englebass [Sat, 27 Mar 2010 19:57:33 +0000 (19:57 +0000)]
print dangling references

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47509 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet: Rename util file first
englebass [Fri, 26 Mar 2010 06:16:19 +0000 (06:16 +0000)]
efreet: Rename util file first

Rename util file first as it is internal. change for system will happen
on desktop file

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47480 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd comments
englebass [Fri, 26 Mar 2010 05:33:37 +0000 (05:33 +0000)]
Add comments

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47473 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd listener for cache updates
englebass [Fri, 26 Mar 2010 05:33:12 +0000 (05:33 +0000)]
Add listener for cache updates

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47471 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove unneeded code
englebass [Fri, 26 Mar 2010 05:33:00 +0000 (05:33 +0000)]
Remove unneeded code

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47470 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoefreet_menu.c: Fix compiler warning
englebass [Fri, 26 Mar 2010 05:29:15 +0000 (05:29 +0000)]
efreet_menu.c: Fix compiler warning

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47469 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd func to read a .desktop file from disk
englebass [Mon, 15 Mar 2010 19:57:57 +0000 (19:57 +0000)]
Add func to read a .desktop file from disk

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47250 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoformatting
englebass [Mon, 15 Mar 2010 19:10:51 +0000 (19:10 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47245 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix realpath usage
englebass [Mon, 15 Mar 2010 19:08:22 +0000 (19:08 +0000)]
Fix realpath usage

Always use realpath before interacting with the efreet_desktop_cache,
else it wont be consistent.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47244 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago * efreet: Prevent crash due to freed desktop still in cache.
cedric [Mon, 15 Mar 2010 13:46:45 +0000 (13:46 +0000)]
    * efreet: Prevent crash due to freed desktop still in cache.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47235 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix?? segv
englebass [Sun, 14 Mar 2010 20:48:52 +0000 (20:48 +0000)]
Fix?? segv

For some peculiar reason, using ecore_file_realpath here screws with
efreet_menu.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47224 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agocache .directory files also
englebass [Sat, 13 Mar 2010 20:58:17 +0000 (20:58 +0000)]
cache .directory files also

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47186 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix memleak
englebass [Sat, 13 Mar 2010 19:14:35 +0000 (19:14 +0000)]
fix memleak

Free hash and data pointer when using eet, but not lists

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47183 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agosame PACKAGE_DIR as data subdir
englebass [Sat, 13 Mar 2010 19:05:23 +0000 (19:05 +0000)]
same PACKAGE_DIR as data subdir

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47182 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoshutdown eina after last stringshare del
englebass [Sat, 13 Mar 2010 19:05:11 +0000 (19:05 +0000)]
shutdown eina after last stringshare del

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47181 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoDon't free data at all from eet
englebass [Sat, 13 Mar 2010 18:35:48 +0000 (18:35 +0000)]
Don't free data at all from eet

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47179 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agostringshare
englebass [Sat, 13 Mar 2010 18:35:39 +0000 (18:35 +0000)]
stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47178 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoWhen using Eina_List, need to return list
englebass [Sat, 13 Mar 2010 18:35:29 +0000 (18:35 +0000)]
When using Eina_List, need to return list

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agostringshare
englebass [Sat, 13 Mar 2010 18:34:30 +0000 (18:34 +0000)]
stringshare

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47176 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoHi,
englebass [Thu, 11 Mar 2010 18:36:31 +0000 (18:36 +0000)]
Hi,

I discover a memory leak (an invalid free) in efreet after running some
of the test programs.

Mathieu

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47136 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCache files from user dirs
englebass [Wed, 10 Mar 2010 21:34:52 +0000 (21:34 +0000)]
Cache files from user dirs

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47122 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoread user dir cache
englebass [Wed, 10 Mar 2010 21:33:43 +0000 (21:33 +0000)]
read user dir cache

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@47120 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoformatting
englebass [Sun, 7 Mar 2010 20:34:41 +0000 (20:34 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46960 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix problem with orig_path and rp
englebass [Thu, 4 Mar 2010 21:54:33 +0000 (21:54 +0000)]
Fix problem with orig_path and rp

We have orig_path, it is set by rp. Only problem is that it was set
after efreet_desktop_read so the error handler would work as it should.
Wrong solution. So now we set orig_path to NULL, so we always can free
rp.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46880 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoerrrr - how about we have a orig_path for a new desktop file eh? there's a
raster [Thu, 4 Mar 2010 01:00:06 +0000 (01:00 +0000)]
errrr - how about we have a orig_path for a new desktop file eh? there's a
brilliant idea!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46859 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoTODO
englebass [Wed, 3 Mar 2010 22:11:06 +0000 (22:11 +0000)]
TODO

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46848 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAssign rp to orig_path after last goto error
englebass [Wed, 3 Mar 2010 20:13:13 +0000 (20:13 +0000)]
Assign rp to orig_path after last goto error

This will fix the double free problem

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46841 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoClarify difference between _get and _new
englebass [Wed, 3 Mar 2010 19:42:38 +0000 (19:42 +0000)]
Clarify difference between _get and _new

efreet_desktop_get for long living cached structs, efreet_desktop_new
for shortlived non cached.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46840 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCreate func to get name for cache dirs file
englebass [Wed, 3 Mar 2010 12:29:09 +0000 (12:29 +0000)]
Create func to get name for cache dirs file

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46834 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAllow non existing cache file
englebass [Wed, 3 Mar 2010 12:28:59 +0000 (12:28 +0000)]
Allow non existing cache file

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46833 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoformatting
englebass [Wed, 3 Mar 2010 12:28:49 +0000 (12:28 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46832 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agorename function
englebass [Wed, 3 Mar 2010 12:28:40 +0000 (12:28 +0000)]
rename function

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46831 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoOpen cache files with O_EXCL
englebass [Wed, 3 Mar 2010 12:28:30 +0000 (12:28 +0000)]
Open cache files with O_EXCL

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46830 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoStore unknown .desktop file dirs
englebass [Wed, 3 Mar 2010 12:28:21 +0000 (12:28 +0000)]
Store unknown .desktop file dirs

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46829 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago-1 as default fd value
englebass [Wed, 3 Mar 2010 12:28:11 +0000 (12:28 +0000)]
-1 as default fd value

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46828 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoDon't close fd, will be done in error handler
englebass [Wed, 3 Mar 2010 12:27:32 +0000 (12:27 +0000)]
Don't close fd, will be done in error handler

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46827 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoTemporary stop-gap for E17 crashing when Applications menu is trying to
devilhorns [Wed, 3 Mar 2010 02:24:26 +0000 (02:24 +0000)]
Temporary stop-gap for E17 crashing when Applications menu is trying to
show.

(I know, not an ideal fix, but I don't know the code well enough...and
this is better than everyone's desktop dying.)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46810 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUse realpath to clean path
englebass [Tue, 2 Mar 2010 20:07:41 +0000 (20:07 +0000)]
Use realpath to clean path

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46801 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoVarious
englebass [Tue, 2 Mar 2010 11:26:31 +0000 (11:26 +0000)]
Various

- lock as soon as possible
- don't truncate old cache, just unlink before create empty file

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46783 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix compiler warnings
englebass [Mon, 1 Mar 2010 21:43:59 +0000 (21:43 +0000)]
Fix compiler warnings

Found when compiling with --enable-tests and --enable-coverage

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46746 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCheck if file_id exists
englebass [Mon, 1 Mar 2010 21:43:49 +0000 (21:43 +0000)]
Check if file_id exists

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46745 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemember all paths, to avoid duplicates
englebass [Mon, 1 Mar 2010 21:43:37 +0000 (21:43 +0000)]
Remember all paths, to avoid duplicates

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46744 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoadd unit test and coverage framework, and trivial tests
caro [Mon, 1 Mar 2010 21:05:17 +0000 (21:05 +0000)]
add unit test and coverage framework, and trivial tests

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agofix autotools stuff
caro [Mon, 1 Mar 2010 20:16:15 +0000 (20:16 +0000)]
fix autotools stuff

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46737 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEmpty cache is probable, so don't check for it
englebass [Mon, 1 Mar 2010 19:58:23 +0000 (19:58 +0000)]
Empty cache is probable, so don't check for it

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46736 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoTODO++
englebass [Mon, 1 Mar 2010 19:05:59 +0000 (19:05 +0000)]
TODO++

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46731 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCreate new cache in a tmp file
englebass [Mon, 1 Mar 2010 19:05:49 +0000 (19:05 +0000)]
Create new cache in a tmp file

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46730 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agotruncate old cache so we don't read cached values
englebass [Mon, 1 Mar 2010 18:42:24 +0000 (18:42 +0000)]
truncate old cache so we don't read cached values

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46727 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEet cache for efreet desktop
englebass [Mon, 1 Mar 2010 18:16:32 +0000 (18:16 +0000)]
Eet cache for efreet desktop

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46726 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUse MAP_FAILED constant
englebass [Sun, 14 Feb 2010 21:22:06 +0000 (21:22 +0000)]
Use MAP_FAILED constant

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@46174 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoCreate path to file if not exists
englebass [Mon, 8 Feb 2010 19:27:58 +0000 (19:27 +0000)]
Create path to file if not exists

Fixes bug #513

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45990 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoDon't add already existing paths to theme
englebass [Thu, 4 Feb 2010 20:02:56 +0000 (20:02 +0000)]
Don't add already existing paths to theme

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45883 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoRemove raster's stupid cache
englebass [Thu, 4 Feb 2010 20:02:33 +0000 (20:02 +0000)]
Remove raster's stupid cache

And just disable cache limit on the already existing cache.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45881 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFormatting
englebass [Thu, 4 Feb 2010 09:12:35 +0000 (09:12 +0000)]
Formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45865 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoEcore_Str.h -> Eina
englebass [Sat, 30 Jan 2010 22:13:16 +0000 (22:13 +0000)]
Ecore_Str.h -> Eina

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45741 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoUpdate to spec 1.1
englebass [Sun, 24 Jan 2010 21:21:27 +0000 (21:21 +0000)]
Update to spec 1.1

%n, %N, %d and %D is deprecated, and version is string

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45532 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years ago/usr/local/share should also be in XDG_DATA_DIRS
englebass [Sat, 23 Jan 2010 18:55:27 +0000 (18:55 +0000)]
/usr/local/share should also be in XDG_DATA_DIRS

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45496 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoBe less strict
englebass [Sun, 17 Jan 2010 18:57:49 +0000 (18:57 +0000)]
Be less strict

Prefer system set menu_file.
Try harder to find -merged dirs which matches the current menu.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45265 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove ecore_data function
englebass [Sun, 17 Jan 2010 18:56:48 +0000 (18:56 +0000)]
remove ecore_data function

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45264 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoremove Ecore_Data
englebass [Sat, 16 Jan 2010 13:43:28 +0000 (13:43 +0000)]
remove Ecore_Data

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45218 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMake efreet compile again.
devilhorns [Sat, 16 Jan 2010 05:22:24 +0000 (05:22 +0000)]
Make efreet compile again.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45206 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdd ()
englebass [Fri, 15 Jan 2010 20:51:34 +0000 (20:51 +0000)]
Add ()

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45200 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoFix compiler warnings
englebass [Fri, 15 Jan 2010 20:51:23 +0000 (20:51 +0000)]
Fix compiler warnings

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45199 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoupdate efl_path_max.m4
caro [Mon, 11 Jan 2010 07:14:28 +0000 (07:14 +0000)]
update efl_path_max.m4

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45039 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoAdded two missing inclusions of limits.h, fix build in NetBSD5
mcalamelli [Sun, 10 Jan 2010 22:42:34 +0000 (22:42 +0000)]
Added two missing inclusions of limits.h, fix build in NetBSD5

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@45026 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoMake it compile again.
onefang [Tue, 5 Jan 2010 02:15:41 +0000 (02:15 +0000)]
Make it compile again.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@44905 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoPATH_MAX checks and fixes, by Lutin.
barbieri [Mon, 4 Jan 2010 23:11:15 +0000 (23:11 +0000)]
PATH_MAX checks and fixes, by Lutin.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@44900 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

14 years agoWhen using snprintf or fgets, etc, do not use PATH_MAX directly as the size
devilhorns [Wed, 23 Dec 2009 20:55:23 +0000 (20:55 +0000)]
When using snprintf or fgets, etc, do not use PATH_MAX directly as the size
of the variable...use sizeof() compiler directive (lots of these).

Do not free 'realpath' in efreet_menu if we are going to try and print out
it's value.

If we find 'realpath' in the merged_menus hash, and we are going to return,
then free the realpath variable.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@44699 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33