Commit Graph

68 Commits

Author SHA1 Message Date
Sebastian Dransfeld 291c525a42 Remove raster's stupid cache
And just disable cache limit on the already existing cache.

SVN revision: 45881
2010-02-04 20:02:33 +00:00
Sebastian Dransfeld 0423e1ea99 Formatting
SVN revision: 45865
2010-02-04 09:12:35 +00:00
Massimiliano Calamelli bc2a1db660 Added two missing inclusions of limits.h, fix build in NetBSD5
SVN revision: 45026
2010-01-10 22:42:34 +00:00
Christopher Michael 56ec4c946f When using snprintf or fgets, etc, do not use PATH_MAX directly as the size
of the variable...use sizeof() compiler directive (lots of these).

Do not free 'realpath' in efreet_menu if we are going to try and print out
it's value.

If we find 'realpath' in the merged_menus hash, and we are going to return,
then free the realpath variable.



SVN revision: 44699
2009-12-23 20:55:23 +00:00
Cedric BAIL 05126826a3 * efreet: Use eina_log.
Patch from Matthieu.


SVN revision: 42599
2009-09-21 16:36:29 +00:00
Vincent Torri c634a197b4 fix eina_list_remove use
SVN revision: 40263
2009-04-21 08:09:39 +00:00
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
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
Cedric BAIL 7e6af0a5c1 * efreet: Remove ecore_dlist from Efreet.
SVN revision: 39730
2009-03-26 17:54:50 +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
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
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
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
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
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 01befd2b67 Switch ecore_strings to eina_stringshare.
SVN revision: 36676
2008-10-15 14:48:03 +00:00
Christopher Michael 6ebcae0ca6 Remove extra blank line.
SVN revision: 32965
2007-12-03 16:28:24 +00:00
Sebastian Dransfeld 50240194f5 Don't hide this function.
SVN revision: 32345
2007-11-04 10:16:02 +00:00
Sebastian Dransfeld d15dcd181c EAPI
SVN revision: 32339
2007-11-04 09:32:35 +00:00
doursse 6a7494bba7 remove trailing spaces
SVN revision: 31638
2007-09-06 16:15:10 +00:00
Sebastian Dransfeld d2db2be7df more ref/free work.
SVN revision: 30998
2007-07-26 22:04:16 +00:00
Sebastian Dransfeld 4142475b16 All pointers aquired with efreet_desktop_get should be free'd with
efreet_desktop_free now.


SVN revision: 30982
2007-07-26 10:20:24 +00:00
Peter Wehrfritz cd20fbc9d9 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
kiwi a001af9e23 fix some warnings, mostly missing "void" when a function has no parameters
SVN revision: 30474
2007-06-27 10:57:54 +00:00
rephorm 5a12b590ac add efreet_menu_new()
small fixes


SVN revision: 30267
2007-06-07 01:22:48 +00:00
Sebastian Dransfeld 214cf08966 Create category lists while scanning for .desktop files.
SVN revision: 30216
2007-06-03 18:07:23 +00:00
Sebastian Dransfeld 9bc0ab2e6e Check if we find the monitor in the list.
SVN revision: 30123
2007-05-28 10:35:12 +00:00
Eric Schuele 64f4fbc453 Fix efreet cache_fill issue by guaranteeing we attempt to obtain at least one file in the dir. This allows the idler to run again at a later time.
SVN revision: 29587
2007-04-18 14:18:28 +00:00
Sebastian Dransfeld edf0a0942b Use ecore_string_instance so we can do pointer matching instead of string
matching.


SVN revision: 29533
2007-04-15 10:53:54 +00:00
rephorm 1b269ba561 leak--
add functions to retrieve a list of desktop categories and a list of desktops in a given category


SVN revision: 29530
2007-04-15 07:24:03 +00:00
rephorm 354550b349 add efreet_util_menus_find()
SVN revision: 29527
2007-04-15 06:16:54 +00:00
Sebastian Dransfeld c3056543a1 No need to this as we get the contents of the dir by using remove first.
SVN revision: 29496
2007-04-13 16:29:29 +00:00
Sebastian Dransfeld 814eed1b11 Scan dir before monitoring it.
SVN revision: 29495
2007-04-13 16:28:32 +00:00
Sebastian Dransfeld ea5f208a00 Fix segv. Create struct before adding it to the hash.
SVN revision: 29458
2007-04-10 16:11:54 +00:00
Sebastian Dransfeld 838a4883b7 Don't emit add events during inital scan.
SVN revision: 29456
2007-04-10 07:18:51 +00:00
Sebastian Dransfeld e7107630db Make util optional.
SVN revision: 29452
2007-04-09 12:16:09 +00:00
Sebastian Dransfeld 6d320096e0 Keep track of previous .desktop file on update.
SVN revision: 29395
2007-04-05 21:10:50 +00:00
Sebastian Dransfeld 78cb82439f Events when .desktop files change.
SVN revision: 29392
2007-04-05 20:53:43 +00:00
Sebastian Dransfeld 0ab450e0f3 Use correct source for desktop.
SVN revision: 29390
2007-04-05 20:29:26 +00:00
Sebastian Dransfeld 9c2d4cf883 This is valid. StartupWMClass can match either name or class, check
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html


SVN revision: 29389
2007-04-05 20:24:53 +00:00
Sebastian Dransfeld d6277241e0 Prioritize user .desktop files.
SVN revision: 29388
2007-04-05 20:22:58 +00:00
Sebastian Dransfeld d4b0093826 Efreet style.
SVN revision: 29348
2007-04-04 12:00:40 +00:00
Sebastian Dransfeld 621fd1568b cache monitoring.
SVN revision: 29332
2007-04-04 10:09:20 +00:00
Sebastian Dransfeld 7827e2c598 Efreet style.
SVN revision: 29330
2007-04-04 08:48:29 +00:00
Sebastian Dransfeld 82bf357ecc Formatting.
SVN revision: 29321
2007-04-03 18:43:30 +00:00
Sebastian Dransfeld 4940f1520e Return 0 if we have a match. So don't negate the results from strcmp.
SVN revision: 29319
2007-04-03 18:20:15 +00:00