Commit Graph

331 Commits

Author SHA1 Message Date
Vincent Torri 1bf086809e * move header files in efree_provate.h to the source files
* fix compilation on Windows XP (not sure that Windows CE port is needed...)

note that, as ecore_exe is not available on Windows, some code have
been disables for that platform in src/lib/efreet_desktop.c. Also, a new Evil
version should be used (not in svn yet)

The compilation on Windows is needed for Ewl (icon and mime)



SVN revision: 40257
2009-04-20 23:20:40 +00:00
Gustavo Sverzut Barbieri 3ab5491316 fix distcheck on couple packages, problems with EXTRA_DIST
Do NOT include dirs in EXTRA_DIST (embryo, eet, ecore, evas, edje,
efreet) as it will include .svn directories!

EXTRA_DIST does not take a glob as ETK did, use $(wildcard glob) to
expand it.

And do not forget about adding extra files to EXTRA_DIST (wizard) and
DIST_SUBDIRS (fileman_opinfo).




SVN revision: 40247
2009-04-20 13:38:49 +00:00
Daniel Kolesa c06e55cc1b Merged with pkgE
SVN revision: 40226
2009-04-19 16:22:00 +00:00
Daniel Kolesa 5d5d17960d Prepared for merge with pkgE debian stuff
SVN revision: 40225
2009-04-19 16:18:41 +00:00
Carsten Haitzler ce5a59b7e5 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Cedric BAIL 23f1bf7116 * efreet: Cleanup efreet test of desktop command.
SVN revision: 40130
2009-04-17 09:51:52 +00:00
Luis Felipe Strano Moraes 37ff2edaff Cleanup of clang's static analyzer warnings for efreet.
SVN revision: 40114
2009-04-16 17:45:57 +00:00
Daniel Kolesa cd8dd91b01 Updated debian stuff(grew Standards-Version, updated python-ecore rules file)
SVN revision: 40043
2009-04-14 17:21:19 +00:00
Vincent Torri 45e1663dab * fix pkg-config requirements
* fix a bit the autotools


SVN revision: 39754
2009-03-27 11:29:20 +00:00
Vincent Torri 98284f7849 fix macro name
SVN revision: 39753
2009-03-27 11:14:38 +00:00
Vincent Torri 312a4365b8 fix header files
SVN revision: 39752
2009-03-27 11:14:21 +00:00
Cedric BAIL 8a8b4ca2d1 * efreet: On STRICT_SPEC don't handle efreet_menu_file.
SVN revision: 39732
2009-03-26 18:02:17 +00:00
Cedric BAIL 81ee186382 * efreet: Use the right macro for the cast.
SVN revision: 39731
2009-03-26 17:56:51 +00:00
Cedric BAIL 7e6af0a5c1 * efreet: Remove ecore_dlist from Efreet.
SVN revision: 39730
2009-03-26 17:54:50 +00:00
Daniel Kolesa 47d3a66c13 i found it is useless and cdbs is setting up prefix automatically.
SVN revision: 39695
2009-03-24 19:56:43 +00:00
Daniel Kolesa 510ec92901 forgot to add --prefix=/usr
SVN revision: 39694
2009-03-24 19:51:00 +00:00
Daniel Kolesa 1bce155f0f Updated debian stuff everywhere.
SVN revision: 39693
2009-03-24 19:44:57 +00:00
Carsten Haitzler 34822db882 menu segv fix! my bad! overzealous freeing
SVN revision: 39653
2009-03-23 13:16:10 +00:00
Vincent Torri 908a722bfa more leak fixes
SVN revision: 39650
2009-03-23 12:19:31 +00:00
Carsten Haitzler ddb11ee846 leaks--! this code is riddled with leaks! really really bad!
SVN revision: 39647
2009-03-23 10:27:54 +00:00
Vincent Torri a7dfd144ac formatting
SVN revision: 39643
2009-03-23 04:58:31 +00:00
Gustavo Sverzut Barbieri 122566bac4 fix efreet signedness issues.
char is unsigned on ARM and other platforms, force some types to be
signed as they can hold negative values.

By: Albin Tonnerre


SVN revision: 39610
2009-03-21 17:00:55 +00:00
Carsten Haitzler 9e5c641263 and somewhere.. someone broke system settings and efreet hashes of categories!
SVN revision: 39570
2009-03-19 04:29:31 +00:00
Sebastian Dransfeld 5378f8d4d6 Check whether the found item is a directory.
SVN revision: 39524
2009-03-17 13:42:21 +00:00
Gustavo Sverzut Barbieri ba1e67fcd8 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.


SVN revision: 39350
2009-03-03 22:38:21 +00:00
Gustavo Sverzut Barbieri 200c92f82a 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.



SVN revision: 39343
2009-03-03 07:20:21 +00:00
Gustavo Sverzut Barbieri 09f9cd39c5 Oops! forgot to test binaries and missed including config.h
SVN revision: 39261
2009-02-26 22:38:14 +00:00
Gustavo Sverzut Barbieri ab2e35127f 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.



SVN revision: 39260
2009-02-26 22:35:38 +00:00
Cedric BAIL 452695bd6c * efreet: Fix opening file.
SVN revision: 39246
2009-02-26 16:14:22 +00:00
Gustavo Sverzut Barbieri 2bcea93a7c 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!



SVN revision: 39228
2009-02-26 03:56:21 +00:00
Carsten Haitzler 7646b3e4af fix custom icon dirs api so u CAN add to the icon dirs!
SVN revision: 39226
2009-02-26 03:46:35 +00:00
Cedric BAIL 7e64baf165 * efreet: Prevent crash when no Efreet_Desktop are found.
SVN revision: 39214
2009-02-25 17:40:40 +00:00
Cedric BAIL 0b41f0e138 * efreet: Fix previously broken efreet cache.
SVN revision: 39211
2009-02-25 16:46:51 +00:00
Cedric BAIL 6978e98dc6 * 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.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Gustavo Sverzut Barbieri 24328d9738 Fix problems reported by some C++ compilers.
SVN revision: 38975
2009-02-09 01:11:27 +00:00
Daniel Kolesa 1be050b7b8 Updated efreet debian stuff - for make doc.
SVN revision: 38960
2009-02-06 18:25:16 +00:00
Vincent Torri 10bcd5d186 add missing files
remove useless ones


SVN revision: 38913
2009-02-03 09:10:22 +00:00
Vincent Torri e2df9c5c93 use 'make doc' for efreet
SVN revision: 38912
2009-02-03 09:03:53 +00:00
Carsten Haitzler b00bae1d92 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.



SVN revision: 38839
2009-01-29 07:36:58 +00:00
Vincent Torri 84f9677f10 update ac_attribute.m4
SVN revision: 38584
2009-01-14 08:37:29 +00:00
Daniel Kolesa b61dff0b58 Added debian/rules files with a new permissions set(755).
SVN revision: 38519
2009-01-09 16:33:51 +00:00
Daniel Kolesa 971b1682a9 prepare debian rules files for new chmod permissions.
SVN revision: 38518
2009-01-09 16:31:51 +00:00
Daniel Kolesa 9ea4273925 Added debian subdir for python-elementary.
SVN revision: 38433
2009-01-03 08:33:59 +00:00
Daniel Kolesa ef35256335 Updated debian in efreet, ewl
SVN revision: 38416
2009-01-02 10:09:14 +00:00
Daniel Kolesa 2bf1434120 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


SVN revision: 38399
2009-01-01 11:35:17 +00:00
Daniel Kolesa bf77c1ced2 Removed debian subfolders - prepared for a new set of debian subdirs.
SVN revision: 38398
2009-01-01 11:25:05 +00:00
Cedric BAIL 35540b3a3b 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.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Cedric BAIL 3d41b74146 Update ac_attribute macro and remove __UNUSED__ declaration from eina.
SVN revision: 38179
2008-12-17 13:03:00 +00:00
Sebastian Dransfeld 1de2e74d74 Adding missing Name entry in efreet_menu.
Add fix from Massimiliano Calamelli.

SVN revision: 38153
2008-12-15 20:23:24 +00:00
Sebastian Dransfeld 82c1c80632 Only save menu element name if it exists.
SVN revision: 38131
2008-12-13 21:00:49 +00:00