summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
englebass [Tue, 17 Mar 2009 13:42:21 +0000 (13:42 +0000)]
Check whether the found item is a directory.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39524
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 3 Mar 2009 22:38:21 +0000 (22:38 +0000)]
Add LRU to mime icons cache.
This should really remove unused items that would age forever in the
last, forcing old but not so to be evicted before them.
Fortunately it was not so complex to add, and should wait just 3
pointers more of space per node.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39350
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Tue, 3 Mar 2009 07:20:21 +0000 (07:20 +0000)]
efreet mime types icon cache.
This cache is very simple and should work fine when system does not
change, it keeps a direct association of mime-types and found icons,
remembering theme and icon size. Search is very fast since it uses
stringshared strings and thus direct pointer comparison in hash
search. We could optimize it even more if we assumed stringshared
strings to come in, so no need to eina_stringshare_add() (which is a
hash per se), using just eina_stringshare_ref().
Cache population is limited to compile-time value and just values
older than a given threshold are deleted. I do not keep a LRU explicit
list, so you might have some old but unused items always alive. I
don't find this too bad, sure it will consume more memory, but will
not hurt performance. We can change this to purge all expired items by
not checking for number of items to remove, removing all that match.
Next I plan to find out a good way to cache and speed up file->mime
discovery. I plan to do auto-generated state-machine to match
extensions, so you don't need to check the same extension character
more than once. Example:
Input: bla.edc
Extensions: edc edj eps png bmp
It would first try to match against 'e', 'p' and 'b'. It will match
'e' and then check for 'd' (edc or edj) or 'p' (eps). It will match
'd' and then check for 'c' or 'j'. This will reduce number of
comparisons considerably.
As I'm running out of time (4am, not much time left on this month), I
could use some help here.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39343
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 26 Feb 2009 22:38:14 +0000 (22:38 +0000)]
Oops! forgot to test binaries and missed including config.h
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39261
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 26 Feb 2009 22:35:38 +0000 (22:35 +0000)]
Fix most compiler & clang warnings.
Left warnings regarding signed and unsigned comparison since
eina_list_count() returns unsigned, can use a cast in this return, but
not big deal for now.
By: Luis Felipe Strano Moraes & myself.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39260
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Thu, 26 Feb 2009 16:14:22 +0000 (16:14 +0000)]
* efreet: Fix opening file.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39246
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Thu, 26 Feb 2009 03:56:21 +0000 (03:56 +0000)]
Fix port to eina_list.
* efreet_desktop_command_build(): should consider the first
run. Before had a "first" toggle variable, which vanished with eina
port. I changed it to do {} while (), making it work again.
* exec string is already freed by callback (in e_exec.c), to keep old
behavior, just free the list with eina_list_free(). Just pay
attention to ecore_list and double check if they had a free
function set or not. If it didn't, then we should not free nodes!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39228
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 26 Feb 2009 03:46:35 +0000 (03:46 +0000)]
fix custom icon dirs api so u CAN add to the icon dirs!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39226
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 25 Feb 2009 17:40:40 +0000 (17:40 +0000)]
* efreet: Prevent crash when no Efreet_Desktop are found.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39214
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 25 Feb 2009 16:46:51 +0000 (16:46 +0000)]
* efreet: Fix previously broken efreet cache.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39211
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 25 Feb 2009 11:03:47 +0000 (11:03 +0000)]
* estickies,
* etk,
* PROTO/exalt,
* E-MODULES-EXTRA/diskio,
* E-MODULES-EXTRA/drawer,
* E-MODULES-EXTRA/penguins,
* E-MODULES-EXTRA/slideshow,
* E-MODULES-EXTRA/mail,
* E-MODULES-EXTRA/forecasts,
* E-MODULES-EXTRA/iiirk,
* E-MODULES-EXTRA/places,
* e,
* ewl,
* ecore,
* elitaire,
* entrance,
* e_dbus,
* efreet: Here we go, move from Ecore_List to Eina_List.
NOTE: This patch is huge, I did test it a lot, and I hope nothing is
broken. But if you think something change after this commit, please
contact me ASAP.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39200
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 9 Feb 2009 01:11:27 +0000 (01:11 +0000)]
Fix problems reported by some C++ compilers.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38975
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Fri, 6 Feb 2009 18:25:16 +0000 (18:25 +0000)]
Updated efreet debian stuff - for make doc.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38960
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 3 Feb 2009 09:10:22 +0000 (09:10 +0000)]
add missing files
remove useless ones
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38913
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 3 Feb 2009 09:03:53 +0000 (09:03 +0000)]
use 'make doc' for efreet
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38912
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 29 Jan 2009 07:36:58 +0000 (07:36 +0000)]
a really simple hash cache for icon finds - this massively makes stuff faster
for app dialogs etc. yes - it uses ram. thats next - make it leaner on ram
usage. its simple enough now where that shouldnt be a problem.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38839
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Wed, 14 Jan 2009 08:37:29 +0000 (08:37 +0000)]
update ac_attribute.m4
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38584
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Fri, 9 Jan 2009 16:33:51 +0000 (16:33 +0000)]
Added debian/rules files with a new permissions set(755).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38519
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Fri, 9 Jan 2009 16:31:51 +0000 (16:31 +0000)]
prepare debian rules files for new chmod permissions.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38518
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Sat, 3 Jan 2009 08:33:59 +0000 (08:33 +0000)]
Added debian subdir for python-elementary.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38433
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Fri, 2 Jan 2009 10:09:14 +0000 (10:09 +0000)]
Updated debian in efreet, ewl
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38416
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Thu, 1 Jan 2009 11:35:17 +0000 (11:35 +0000)]
Added new set of debian subdirs.
BROKEN/etox
e
ecore
e_dbus
edje
edje_editor
edje_viewer
eet
efreet
eina
elicit
elitaire
embryo
E-MODULES-EXTRA
emotion
emphasis
empower
emprint
enhance
enity
entrance
ephoto
epsilon
esmart
estickies
etk
etk_extra
evas
evolve
ewl
exhibit
exml
expedite
imlib2
imlib2_loaders
MISC/engage
OLD/eclair
OLD/engrave
OLD/enotes
OLD/entrance_edit_gui
OLD/e_utils
OLD/evoak
OLD/examine
OLD/iconbar
PROTO/etk_server
PROTO/exchange
PROTO/extrackt
rage
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38399
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
quaker [Thu, 1 Jan 2009 11:25:05 +0000 (11:25 +0000)]
Removed debian subfolders - prepared for a new set of debian subdirs.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38398
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 17 Dec 2008 15:33:43 +0000 (15:33 +0000)]
This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).
So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38185
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 17 Dec 2008 13:03:00 +0000 (13:03 +0000)]
Update ac_attribute macro and remove __UNUSED__ declaration from eina.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38179
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 15 Dec 2008 20:23:24 +0000 (20:23 +0000)]
Adding missing Name entry in efreet_menu.
Add fix from Massimiliano Calamelli.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38153
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sat, 13 Dec 2008 21:00:49 +0000 (21:00 +0000)]
Only save menu element name if it exists.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@38131
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Fri, 14 Nov 2008 20:22:03 +0000 (20:22 +0000)]
src/bin/ stuff uses it, so these symbols must be exported.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@37634
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 26 Oct 2008 20:05:46 +0000 (20:05 +0000)]
Remove warning by adding parentheses.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@37167
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Sun, 26 Oct 2008 20:05:34 +0000 (20:05 +0000)]
Don't compile in unused code.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@37166
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sat, 25 Oct 2008 15:06:31 +0000 (15:06 +0000)]
support setting the default menu explicitly.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@37098
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 20 Oct 2008 16:34:59 +0000 (16:34 +0000)]
Remove macro provided by Eina.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@36863
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 15 Oct 2008 14:48:03 +0000 (14:48 +0000)]
Switch ecore_strings to eina_stringshare.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@36676
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Mon, 13 Oct 2008 16:00:19 +0000 (16:00 +0000)]
Make efreet depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@36625
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
pfritz [Tue, 30 Sep 2008 18:07:29 +0000 (18:07 +0000)]
configure.in -> configure.ac
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@36364
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
caro [Tue, 30 Sep 2008 16:33:55 +0000 (16:33 +0000)]
add some files in tarballs, especially doc stuff (thanks Lutin for the report)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@36362
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Thu, 25 Sep 2008 02:59:59 +0000 (02:59 +0000)]
asparagus!
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@36234
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 25 Aug 2008 09:14:13 +0000 (09:14 +0000)]
add null theme check
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@35658
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Tue, 19 Aug 2008 06:32:40 +0000 (06:32 +0000)]
define (void *)-1 as a macro
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@35574
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 18 Aug 2008 21:03:13 +0000 (21:03 +0000)]
Fix ef_read_dir() (ecore_file_ls() returns filenames without path).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@35565
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
englebass [Mon, 18 Aug 2008 20:54:46 +0000 (20:54 +0000)]
Use Tango as default test theme.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@35564
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
barbieri [Mon, 18 Aug 2008 16:42:08 +0000 (16:42 +0000)]
Set svn:mime-type to image/png on *.png
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@35554
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 18 Aug 2008 00:02:26 +0000 (00:02 +0000)]
ok. i think most binary files are now fixed.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@35525
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 17 Aug 2008 14:29:25 +0000 (14:29 +0000)]
fix binaries
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@35507
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Sun, 17 Aug 2008 07:44:18 +0000 (07:44 +0000)]
move around - flatter.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@35497
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33