Commit Graph

653 Commits

Author SHA1 Message Date
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