Sebastian Dransfeld
93429120f9
If only one path, only check extension
...
SVN revision: 54780
2010-11-22 14:15:30 +00:00
Carsten Haitzler
1c34083001
lets... use our return value shall we? <- THATS the missing icons bug
...
i was telling you about!
SVN revision: 54776
2010-11-22 09:47:36 +00:00
Sebastian Dransfeld
027c174f9d
Find icons in cache
...
SVN revision: 54616
2010-11-16 21:50:53 +00:00
Sebastian Dransfeld
159b8ddb60
realpath will return empty string when not found
...
SVN revision: 54615
2010-11-16 21:50:38 +00:00
Sebastian Dransfeld
2894e4aedc
if -> ifdef
...
SVN revision: 54614
2010-11-16 21:49:45 +00:00
Sebastian Dransfeld
e2a715ccc9
create cache for fallback icons
...
SVN revision: 54583
2010-11-16 10:32:21 +00:00
Sebastian Dransfeld
8a1cde087d
formatting
...
SVN revision: 54582
2010-11-16 10:32:11 +00:00
Sebastian Dransfeld
e4c39fa555
export depcreated user dir
...
SVN revision: 54581
2010-11-16 10:32:01 +00:00
Sebastian Dransfeld
bc008e3a93
local variable should be static
...
SVN revision: 54580
2010-11-16 10:31:49 +00:00
Sebastian Dransfeld
2849f58ca9
Remove duplicate code, mark strict spec
...
SVN revision: 54579
2010-11-16 08:28:52 +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
e8ce2014b0
TODO++
...
SVN revision: 54574
2010-11-15 21:07:05 +00:00
Sebastian Dransfeld
aec56c9e24
share edd between lib and bin
...
SVN revision: 54573
2010-11-15 21:06:52 +00:00
Sebastian Dransfeld
bc9f811710
remove duplicate code, and mark strict spec
...
SVN revision: 54572
2010-11-15 21:04:42 +00:00
Cedric BAIL
70e488feff
* efl: beta2 !
...
SVN revision: 54507
2010-11-12 16:01:55 +00:00
Sebastian Dransfeld
44ce55c909
TOOD++
...
SVN revision: 54386
2010-11-09 21:31:46 +00:00
Sebastian Dransfeld
7545e54203
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.
SVN revision: 54372
2010-11-09 20:15:55 +00:00
Cedric BAIL
5cec7beb53
* 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.
SVN revision: 54339
2010-11-08 18:09:25 +00:00
Carsten Haitzler
f5b23f940b
no more debian dir in our svn - debian now handles this tehmselves.
...
SVN revision: 54292
2010-11-08 05:49:48 +00:00
Sebastian Dransfeld
0ab16442cf
Always do env check
...
SVN revision: 54231
2010-11-06 16:47:43 +00:00
Sebastian Dransfeld
3ee4664f39
Do realpath on last element too
...
SVN revision: 54227
2010-11-06 14:44:11 +00:00
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