Sebastian Dransfeld
bbf23d8ab2
rename
...
SVN revision: 54788
2010-11-22 14:16:48 +00:00
Sebastian Dransfeld
64f366ee77
TODO++
...
SVN revision: 54787
2010-11-22 14:16:38 +00:00
Sebastian Dransfeld
8a9a0bbc15
TODO++
...
SVN revision: 54786
2010-11-22 14:16:29 +00:00
Sebastian Dransfeld
9941eba9d6
check for NULL
...
SVN revision: 54785
2010-11-22 14:16:19 +00:00
Sebastian Dransfeld
87baeb631b
Execute cache creator and listen for changes
...
SVN revision: 54784
2010-11-22 14:16:09 +00:00
Sebastian Dransfeld
04d52dcd86
cache update is a generic event
...
SVN revision: 54783
2010-11-22 14:15:59 +00:00
Sebastian Dransfeld
537f3fd258
include Ecore.h
...
SVN revision: 54782
2010-11-22 14:15:50 +00:00
Sebastian Dransfeld
a16314cd88
init ecore in main init
...
SVN revision: 54781
2010-11-22 14:15:40 +00:00
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
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
Sebastian Dransfeld
230461d56b
free data on error
...
SVN revision: 50493
2010-07-25 20:25:51 +00:00
Sebastian Dransfeld
b76d9490dc
Fix errors reported by clang
...
SVN revision: 50492
2010-07-25 20:25:40 +00:00
Lucas De Marchi
2a84379ba9
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.
SVN revision: 50241
2010-07-14 02:05:47 +00:00
Christopher Michael
c6f20a9cdf
Missed two .pc.in files on the header move there :(
...
SVN revision: 50144
2010-07-09 06:31:32 +00:00
Christopher Michael
4f972b800b
Move Efreet (and associated headers) to own dir.
...
SVN revision: 50143
2010-07-09 06:28:29 +00:00
Carsten Haitzler
89baaff057
and final post snap - next releasename
...
SVN revision: 49903
2010-06-27 14:06:10 +00:00
Carsten Haitzler
83b36be7a3
snap+release
...
SVN revision: 49899
2010-06-27 13:45:27 +00:00
Carsten Haitzler
4d65425dd8
Snapshot efreet
...
SVN revision: 49895
2010-06-27 13:32:58 +00:00
Sebastian Dransfeld
bcb8744bc0
formatting
...
SVN revision: 49840
2010-06-25 01:44:30 +00:00
Sebastian Dransfeld
51c6fc3785
formatting
...
SVN revision: 49839
2010-06-25 01:38:50 +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
Cedric BAIL
a1bfc834d5
* configure.ac: take inept translation a little bit into account.
...
SVN revision: 49743
2010-06-18 14:45:42 +00:00
Sebastian Dransfeld
a392e677a7
flock -> fcntl
...
SVN revision: 49650
2010-06-11 21:48:33 +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
Gustavo Sverzut Barbieri
ddb8c95fa9
SVN_REPO_PATH envvar during autoconf to use svnversion in there.
...
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".
This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.
SVN revision: 49594
2010-06-09 18:22:47 +00:00
Vincent Torri
5a8135174a
missing headers
...
SVN revision: 49545
2010-06-06 19:45:16 +00:00
Carsten Haitzler
1520bad01b
restore after snap/release
...
SVN revision: 49540
2010-06-06 17:43:03 +00:00
Carsten Haitzler
c3394da2af
Snapshot efreet
...
SVN revision: 49536
2010-06-06 17:26:55 +00:00
Carsten Haitzler
f0eee2d260
post-snap anr release.. reset svn back.. this time for real.
...
SVN revision: 49526
2010-06-06 17:17:52 +00:00
Carsten Haitzler
d1cbfb1609
Snapshot efreet
...
SVN revision: 49519
2010-06-06 16:42:48 +00:00