englebass [Mon, 22 Nov 2010 21:30:43 +0000 (21:30 +0000)]
Always emit icon cache update event
If file starts with icon_ and ends with .cache, we have a new icon
cache, emit event.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54833
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:51:34 +0000 (20:51 +0000)]
fix fallback icon searching
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54831
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:51:05 +0000 (20:51 +0000)]
close cache file after 60 seconds of inactivity
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54829
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:50:46 +0000 (20:50 +0000)]
read fallback icon from cache
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54828
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:50:32 +0000 (20:50 +0000)]
do ecore_init, so ecore_time_get works
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54827
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:50:09 +0000 (20:50 +0000)]
And use right error handler
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54826
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:49:52 +0000 (20:49 +0000)]
ecore_file is init'ed in base
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54825
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:49:22 +0000 (20:49 +0000)]
init ecore_file in base
And add missing ecore_*shutdown() in shutdown
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54824
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:49:08 +0000 (20:49 +0000)]
Remove common included header
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54823
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:48:55 +0000 (20:48 +0000)]
Add ecore headers to private header
Used everywhere
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54822
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:48:41 +0000 (20:48 +0000)]
Don't add a new public header
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54821
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:48:24 +0000 (20:48 +0000)]
We always need to to the tasks in init on init
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54820
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 20:47:14 +0000 (20:47 +0000)]
remove erronous chars
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54819
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:16:58 +0000 (14:16 +0000)]
rename
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54789
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:16:48 +0000 (14:16 +0000)]
rename
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54788
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:16:38 +0000 (14:16 +0000)]
TODO++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54787
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:16:29 +0000 (14:16 +0000)]
TODO++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54786
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:16:19 +0000 (14:16 +0000)]
check for NULL
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54785
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:16:09 +0000 (14:16 +0000)]
Execute cache creator and listen for changes
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54784
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:15:59 +0000 (14:15 +0000)]
cache update is a generic event
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54783
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:15:50 +0000 (14:15 +0000)]
include Ecore.h
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54782
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:15:40 +0000 (14:15 +0000)]
init ecore in main init
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54781
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 22 Nov 2010 14:15:30 +0000 (14:15 +0000)]
If only one path, only check extension
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54780
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 22 Nov 2010 09:47:36 +0000 (09:47 +0000)]
lets... use our return value shall we? <- THATS the missing icons bug
i was telling you about!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54776
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 16 Nov 2010 21:50:53 +0000 (21:50 +0000)]
Find icons in cache
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54616
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 16 Nov 2010 21:50:38 +0000 (21:50 +0000)]
realpath will return empty string when not found
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54615
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 16 Nov 2010 21:49:45 +0000 (21:49 +0000)]
if -> ifdef
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54614
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 16 Nov 2010 10:32:21 +0000 (10:32 +0000)]
create cache for fallback icons
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54583
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 16 Nov 2010 10:32:11 +0000 (10:32 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54582
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 16 Nov 2010 10:32:01 +0000 (10:32 +0000)]
export depcreated user dir
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54581
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 16 Nov 2010 10:31:49 +0000 (10:31 +0000)]
local variable should be static
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54580
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 16 Nov 2010 08:28:52 +0000 (08:28 +0000)]
Remove duplicate code, mark strict spec
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54579
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 15 Nov 2010 21:07:22 +0000 (21:07 +0000)]
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.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54575
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 15 Nov 2010 21:07:05 +0000 (21:07 +0000)]
TODO++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54574
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 15 Nov 2010 21:06:52 +0000 (21:06 +0000)]
share edd between lib and bin
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54573
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 15 Nov 2010 21:04:42 +0000 (21:04 +0000)]
remove duplicate code, and mark strict spec
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54572
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 12 Nov 2010 16:01:55 +0000 (16:01 +0000)]
* efl: beta2 !
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54507
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 11 Nov 2010 18:12:14 +0000 (18:12 +0000)]
* svn: ignore more build files.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54470
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Nov 2010 21:31:46 +0000 (21:31 +0000)]
TOOD++
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54386
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 9 Nov 2010 20:15:55 +0000 (20:15 +0000)]
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.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54372
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 8 Nov 2010 18:09:25 +0000 (18:09 +0000)]
* 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.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54339
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 8 Nov 2010 05:49:48 +0000 (05:49 +0000)]
no more debian dir in our svn - debian now handles this tehmselves.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54292
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Nov 2010 16:47:43 +0000 (16:47 +0000)]
Always do env check
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54231
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 6 Nov 2010 14:44:11 +0000 (14:44 +0000)]
Do realpath on last element too
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54227
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 25 Oct 2010 20:20:41 +0000 (20:20 +0000)]
delay deletion of non valid themes
We need to delay deletion of non valid themes until all possible search
dirs are scanned. In Ubuntu 10.10 XDG_DATA_DIRS lists /usr/local/share
before /usr/share, so when searching for hicolor /usr/local/share is
dropped as a valid dir although it exists as it does not contain an
index.theme file.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@53882
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 20 Oct 2010 20:39:54 +0000 (20:39 +0000)]
store OnlyShowIn and NotShowIn in struct
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@53691
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 20 Oct 2010 20:39:38 +0000 (20:39 +0000)]
use EINA_LIST_FREE for list deletion
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@53690
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 20 Oct 2010 20:39:19 +0000 (20:39 +0000)]
simplify list deletion
use eina_list_free instead of removing one and one element
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@53689
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 7 Oct 2010 22:22:33 +0000 (22:22 +0000)]
log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@53171
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 3 Oct 2010 09:21:08 +0000 (09:21 +0000)]
efl 1.0.0 beta.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@52992
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 28 Sep 2010 17:53:15 +0000 (17:53 +0000)]
ecore time is double
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@52855
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Sun, 26 Sep 2010 16:30:14 +0000 (16:30 +0000)]
Fix typo.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@52783
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 19 Sep 2010 00:36:27 +0000 (00:36 +0000)]
shuddup gcc wanrings
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@52434
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 8 Sep 2010 11:27:59 +0000 (11:27 +0000)]
Fix common misspellings
Following misspellings were fixed:
acheive->achieve
appart->apart
isnt->isn't
succesfully->successfully
taht->that
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51987
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 29 Aug 2010 08:47:37 +0000 (08:47 +0000)]
Always munmap mmap'ed data
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51713
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 29 Aug 2010 08:47:27 +0000 (08:47 +0000)]
clean whitespace
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51712
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 29 Aug 2010 08:47:16 +0000 (08:47 +0000)]
clean whitespace
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51711
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 28 Aug 2010 15:11:20 +0000 (15:11 +0000)]
possible leak--
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51703
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Sat, 21 Aug 2010 13:52:25 +0000 (13:52 +0000)]
Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51487
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Thu, 19 Aug 2010 06:40:08 +0000 (06:40 +0000)]
fix efreet doc
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51383
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Tue, 17 Aug 2010 12:03:10 +0000 (12:03 +0000)]
* efreet: less warning by Albin Tonnerre.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51247
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 09:34:38 +0000 (09:34 +0000)]
efreet 1.0.0 alpha... MUHAHAHHAHAHAHAH!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51180
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 16 Aug 2010 03:00:16 +0000 (03:00 +0000)]
fix up copyings likewise. nicely standardised templateish.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51150
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 15 Aug 2010 19:54:19 +0000 (19:54 +0000)]
formatting
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51137
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 15 Aug 2010 19:54:08 +0000 (19:54 +0000)]
Fix theme passed to efreet_icon_cache_add
Just pass NULL, no need for NULL theme
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51136
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 15 Aug 2010 03:01:55 +0000 (03:01 +0000)]
From: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: [E-devel] [PATCH] efreet and icon loading
Hi all,
attached patch fixes two issues:
(1) If using a non-default prefix, share/pixmaps should be checked
before the hard-coded /usr/share/pixmaps fallback. This basically
restores symmetry with the other cases like share/icons.
(2) Do a fallback lookup if the theme is not valid or faked. This can
happen if only hicolor is installed and e17 decides to use Tango.
Before, e.g. gimp's icon wasn't picked up because the short cut was too
early.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51124
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 14 Aug 2010 04:02:31 +0000 (04:02 +0000)]
sloppy ecore_job handle! fix!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51107
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Fri, 13 Aug 2010 15:53:59 +0000 (15:53 +0000)]
* eet: fix API break.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51084
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 11 Aug 2010 14:32:30 +0000 (14:32 +0000)]
* eina: fix eina array threadsafe version.
Also add iterator and accessor ability to walk threadsafely.
Rename EINA_EACH to EINA_EACH_CB to match other callback cast.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@51000
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 9 Aug 2010 19:31:18 +0000 (19:31 +0000)]
* efreet: fix some potential source of segv.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50942
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 4 Aug 2010 21:01:09 +0000 (21:01 +0000)]
Fix clearing of theme cache
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50825
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 4 Aug 2010 19:15:53 +0000 (19:15 +0000)]
Check NULL return
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50822
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 4 Aug 2010 19:15:38 +0000 (19:15 +0000)]
Check NULL return
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50821
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 4 Aug 2010 18:21:30 +0000 (18:21 +0000)]
Check for NULL return
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50818
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 4 Aug 2010 18:21:20 +0000 (18:21 +0000)]
Check NULL return
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50817
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 4 Aug 2010 16:57:32 +0000 (16:57 +0000)]
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
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50816
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 4 Aug 2010 12:33:58 +0000 (12:33 +0000)]
key and value aren't const
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50809
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 4 Aug 2010 12:33:48 +0000 (12:33 +0000)]
Check for null return
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50808
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Wed, 4 Aug 2010 12:23:00 +0000 (12:23 +0000)]
Remove fake_null try 2
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50807
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Tue, 3 Aug 2010 21:32:45 +0000 (21:32 +0000)]
ummmm revert. crash crash crash.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50789
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 20:46:56 +0000 (20:46 +0000)]
Remove unneeded fake_null theme
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50788
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 20:46:46 +0000 (20:46 +0000)]
Remove unneeded eina_hash_del
We already checked that this value isn't in the hash.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50787
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 20:46:36 +0000 (20:46 +0000)]
Check return NULL
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50786
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 20:46:25 +0000 (20:46 +0000)]
use EINA_LIST_FREE
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50785
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 19:31:44 +0000 (19:31 +0000)]
check return value from NEW
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50784
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 19:31:34 +0000 (19:31 +0000)]
fix malloc calls
check return value and remove unneeded sizeof(char)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50783
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 19:31:24 +0000 (19:31 +0000)]
alloc the right amount of mem
sizeof(char) is 1, and sizeof(char *) is wrong for strings
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50782
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 19:31:14 +0000 (19:31 +0000)]
use alloca for in function mem
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50781
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 19:31:04 +0000 (19:31 +0000)]
check return value from malloc
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50780
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 3 Aug 2010 19:30:53 +0000 (19:30 +0000)]
free data on realloc error
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50779
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
mcalamelli [Tue, 3 Aug 2010 11:44:55 +0000 (11:44 +0000)]
Leak-- using the macro
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50763
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 2 Aug 2010 20:43:09 +0000 (20:43 +0000)]
Check return value for realloc
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50753
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 25 Jul 2010 20:38:28 +0000 (20:38 +0000)]
goto not needed anymore with alloca
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50496
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 25 Jul 2010 20:28:21 +0000 (20:28 +0000)]
use eina hash set
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50494
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 25 Jul 2010 20:25:51 +0000 (20:25 +0000)]
free data on error
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50493
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 25 Jul 2010 20:25:40 +0000 (20:25 +0000)]
Fix errors reported by clang
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50492
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Wed, 14 Jul 2010 02:05:47 +0000 (02:05 +0000)]
Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50241
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Fri, 9 Jul 2010 06:31:32 +0000 (06:31 +0000)]
Missed two .pc.in files on the header move there :(
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50144
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Fri, 9 Jul 2010 06:28:29 +0000 (06:28 +0000)]
Move Efreet (and associated headers) to own dir.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@50143
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 27 Jun 2010 14:06:10 +0000 (14:06 +0000)]
and final post snap - next releasename
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@49903
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33