Sebastian Dransfeld
1a12537dfd
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.
SVN revision: 53882
2010-10-25 20:20:41 +00:00
Sebastian Dransfeld
736dbfed46
store OnlyShowIn and NotShowIn in struct
...
SVN revision: 53691
2010-10-20 20:39:54 +00:00
Sebastian Dransfeld
423892f7cd
use EINA_LIST_FREE for list deletion
...
SVN revision: 53690
2010-10-20 20:39:38 +00:00
Sebastian Dransfeld
b2ecad6a06
simplify list deletion
...
use eina_list_free instead of removing one and one element
SVN revision: 53689
2010-10-20 20:39:19 +00:00
Gustavo Sverzut Barbieri
bc2c59746d
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...
SVN revision: 53171
2010-10-07 22:22:33 +00:00
Carsten Haitzler
91466cf439
efl 1.0.0 beta.
...
SVN revision: 52992
2010-10-03 09:21:08 +00:00
Sebastian Dransfeld
ed263df47e
ecore time is double
...
SVN revision: 52855
2010-09-28 17:53:15 +00:00
Christopher Michael
eb7c111fc9
Fix typo.
...
SVN revision: 52783
2010-09-26 16:30:14 +00:00
Carsten Haitzler
d9aad06334
shuddup gcc wanrings
...
SVN revision: 52434
2010-09-19 00:36:27 +00:00
Lucas De Marchi
67771ee617
Fix common misspellings
...
Following misspellings were fixed:
acheive->achieve
appart->apart
isnt->isn't
succesfully->successfully
taht->that
SVN revision: 51987
2010-09-08 11:27:59 +00:00
Sebastian Dransfeld
f3a591b253
Always munmap mmap'ed data
...
SVN revision: 51713
2010-08-29 08:47:37 +00:00
Sebastian Dransfeld
96daa6c974
clean whitespace
...
SVN revision: 51712
2010-08-29 08:47:27 +00:00
Sebastian Dransfeld
cf907d127a
clean whitespace
...
SVN revision: 51711
2010-08-29 08:47:16 +00:00
Carsten Haitzler
dae2c23caf
possible leak--
...
SVN revision: 51703
2010-08-28 15:11:20 +00:00
Lucas De Marchi
5a8a8c9014
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
SVN revision: 51487
2010-08-21 13:52:25 +00:00
Vincent Torri
390dc8e8e3
fix efreet doc
...
SVN revision: 51383
2010-08-19 06:40:08 +00:00
Cedric BAIL
ba22eb6af8
* efreet: less warning by Albin Tonnerre.
...
SVN revision: 51247
2010-08-17 12:03:10 +00:00
Carsten Haitzler
ff9e16874e
efreet 1.0.0 alpha... MUHAHAHHAHAHAHAH!
...
SVN revision: 51180
2010-08-16 09:34:38 +00:00
Carsten Haitzler
5187bf3585
fix up copyings likewise. nicely standardised templateish.
...
SVN revision: 51150
2010-08-16 03:00:16 +00:00
Sebastian Dransfeld
2dc15f4d89
formatting
...
SVN revision: 51137
2010-08-15 19:54:19 +00:00
Sebastian Dransfeld
b001a8968e
Fix theme passed to efreet_icon_cache_add
...
Just pass NULL, no need for NULL theme
SVN revision: 51136
2010-08-15 19:54:08 +00:00
Joerg Sonnenberger
607e5d4b9b
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.
SVN revision: 51124
2010-08-15 03:01:55 +00:00
Carsten Haitzler
1325b20a81
sloppy ecore_job handle! fix!
...
SVN revision: 51107
2010-08-14 04:02:31 +00:00
Cedric BAIL
8a1a12333f
* eet: fix API break.
...
SVN revision: 51084
2010-08-13 15:53:59 +00:00
Cedric BAIL
a6645cb746
* 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.
SVN revision: 51000
2010-08-11 14:32:30 +00:00
Cedric BAIL
5efed73f07
* efreet: fix some potential source of segv.
...
SVN revision: 50942
2010-08-09 19:31:18 +00:00
Sebastian Dransfeld
03f82b7d73
Fix clearing of theme cache
...
SVN revision: 50825
2010-08-04 21:01:09 +00:00
Sebastian Dransfeld
9edfb9d456
Check NULL return
...
SVN revision: 50822
2010-08-04 19:15:53 +00:00
Sebastian Dransfeld
80c2d94afd
Check NULL return
...
SVN revision: 50821
2010-08-04 19:15:38 +00:00
Sebastian Dransfeld
a737a1d044
Check for NULL return
...
SVN revision: 50818
2010-08-04 18:21:30 +00:00
Sebastian Dransfeld
7b5e166c85
Check NULL return
...
SVN revision: 50817
2010-08-04 18:21: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
7bf67b046b
key and value aren't const
...
SVN revision: 50809
2010-08-04 12:33:58 +00:00
Sebastian Dransfeld
0a3f53c3b1
Check for null return
...
SVN revision: 50808
2010-08-04 12:33:48 +00:00
Sebastian Dransfeld
2ccf1a156d
Remove fake_null try 2
...
SVN revision: 50807
2010-08-04 12:23:00 +00:00
Carsten Haitzler
1837b63b38
ummmm revert. crash crash crash.
...
SVN revision: 50789
2010-08-03 21:32:45 +00:00
Sebastian Dransfeld
eba0c34bf9
Remove unneeded fake_null theme
...
SVN revision: 50788
2010-08-03 20:46:56 +00:00
Sebastian Dransfeld
c623230e98
Remove unneeded eina_hash_del
...
We already checked that this value isn't in the hash.
SVN revision: 50787
2010-08-03 20:46:46 +00:00
Sebastian Dransfeld
b197b55abc
Check return NULL
...
SVN revision: 50786
2010-08-03 20:46:36 +00:00
Sebastian Dransfeld
beacf6f976
use EINA_LIST_FREE
...
SVN revision: 50785
2010-08-03 20:46:25 +00:00
Sebastian Dransfeld
08e9824c6e
check return value from NEW
...
SVN revision: 50784
2010-08-03 19:31:44 +00:00
Sebastian Dransfeld
99673bb0a8
fix malloc calls
...
check return value and remove unneeded sizeof(char)
SVN revision: 50783
2010-08-03 19:31:34 +00:00
Sebastian Dransfeld
1576311af3
alloc the right amount of mem
...
sizeof(char) is 1, and sizeof(char *) is wrong for strings
SVN revision: 50782
2010-08-03 19:31:24 +00:00
Sebastian Dransfeld
69d0626265
use alloca for in function mem
...
SVN revision: 50781
2010-08-03 19:31:14 +00:00
Sebastian Dransfeld
7f93656d7b
check return value from malloc
...
SVN revision: 50780
2010-08-03 19:31:04 +00:00
Sebastian Dransfeld
8554a0c23b
free data on realloc error
...
SVN revision: 50779
2010-08-03 19:30:53 +00:00
Massimiliano Calamelli
465a55b467
Leak-- using the macro
...
SVN revision: 50763
2010-08-03 11:44:55 +00:00
Sebastian Dransfeld
4b221c3936
Check return value for realloc
...
SVN revision: 50753
2010-08-02 20:43:09 +00:00
Sebastian Dransfeld
31c6799a7e
goto not needed anymore with alloca
...
SVN revision: 50496
2010-07-25 20:38:28 +00:00
Sebastian Dransfeld
78f80647ea
use eina hash set
...
SVN revision: 50494
2010-07-25 20:28:21 +00:00