Commit Graph

66 Commits

Author SHA1 Message Date
Sebastian Dransfeld d99f80aff7 Fix compiler warnings
Found when compiling with --enable-tests and --enable-coverage

SVN revision: 46746
2010-03-01 21:43:59 +00:00
Sebastian Dransfeld f72d4f9342 Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Sebastian Dransfeld cb4af1da03 Don't add already existing paths to theme
SVN revision: 45883
2010-02-04 20:02:56 +00:00
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
Sebastian Dransfeld d3419db6cd Ecore_Str.h -> Eina
SVN revision: 45741
2010-01-30 22:13:16 +00:00
Sebastian Dransfeld af22e351b2 Fix compiler warnings
SVN revision: 45199
2010-01-15 20:51:23 +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
Vincent Torri 285297dcdd * API break: _shutdown() functions return an int, now
* simplify a bit and fix init/shutdown functions



SVN revision: 42996
2009-10-10 06:19:13 +00:00
Vincent Torri 1403d26dce remoove unused variables
SVN revision: 42877
2009-10-04 22:28:12 +00:00
Hannes Janetzek 6a9f924640 patch from dfjoerg: search also pixmap dirs for icons
SVN revision: 42875
2009-10-04 21:55:13 +00:00
Cedric BAIL 05126826a3 * efreet: Use eina_log.
Patch from Matthieu.


SVN revision: 42599
2009-09-21 16:36:29 +00:00
Davide Andreoli 5f6ba77546 Don't segfault if 'icon' is null
SVN revision: 42490
2009-09-14 20:18:25 +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 81ee186382 * efreet: Use the right macro for the cast.
SVN revision: 39731
2009-03-26 17:56:51 +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
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 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
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 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
Carsten Haitzler 0e1ee5edb7 add null theme check
SVN revision: 35658
2008-08-25 09:14:13 +00:00
Sebastian Dransfeld 77cb8587de define (void *)-1 as a macro
SVN revision: 35574
2008-08-19 06:32:40 +00:00
Sebastian Dransfeld bfb18778e2 Pass icon size as unsigned int.
SVN revision: 35490
2008-08-14 20:48:41 +00:00
Sebastian Dransfeld e52e71e475 Do atoi only once for each query.
SVN revision: 35489
2008-08-14 20:02:07 +00:00
Sebastian Dransfeld 7ee9598bd2 Make the icon cache work for efreet_icon_list_find.
SVN revision: 35488
2008-08-14 19:47:48 +00:00
Sebastian Dransfeld 25c29b62a3 ignore missing icons for 5 seconds.
SVN revision: 35480
2008-08-14 16:59:41 +00:00
Davide Andreoli f438c7eb9a * Fix Doxy warnings
SVN revision: 35307
2008-08-02 21:48:44 +00:00
Sebastian Dransfeld e909810628 remove uneeded variable.
SVN revision: 35245
2008-07-29 18:55:41 +00:00
Sebastian Dransfeld 31c9bed503 Reduce the needed amount of ecore_strlcpy.
SVN revision: 35244
2008-07-29 18:52:27 +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
Peter Wehrfritz 9ed7b18db2 ecore_list_remove_last -> ecore_list_last_remove
SVN revision: 31410
2007-08-19 19:36:53 +00:00
Sebastian Dransfeld 8e3509c4e0 Add recently used icon cache.
SVN revision: 31316
2007-08-15 05:33:04 +00:00
Sebastian Dransfeld 3b116f3a2b Remove the icon cache.
This means that users of efreet_icon_list_find, efreet_icon_path_find and
efreet_icon_find must clean up after themselves!


SVN revision: 30986
2007-07-26 11:30:10 +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
Dan Sinclair 71da5f4639 - guard the efreet_icon init/shutdown methods as efreet_mime is calling it
internally


SVN revision: 30904
2007-07-19 14:54:51 +00:00
Nicholas Hughart 0a4d1e3605 Added efreet_mime_type_icon_get which will retrieve a mimetype icon. This follows the loose specification described in the fdo icon spec. Also added efreet_icon_list_find which will search for a list of icons in a theme before falling back to inherited themes. Also made a slight modification to the fallback detection for efreet_mime. Tabs will no longer trigger the return of application/octet-stream.
SVN revision: 30875
2007-07-17 19:21:20 +00:00
Sebastian Dransfeld ee938c5191 Free efreet_icon_deprecated_user_dir on shutdown.
SVN revision: 30430
2007-06-22 10:20:44 +00:00
Sebastian Dransfeld b97be5f5c1 Make IF_FREE better suited for free'ing global variables. The free cb
can now not interfere with it's owner during free.


SVN revision: 30429
2007-06-22 09:45:09 +00:00
rephorm 5a12b590ac add efreet_menu_new()
small fixes


SVN revision: 30267
2007-06-07 01:22:48 +00:00
Sebastian Dransfeld a4c53227fb Fix EmbeddedTextRectangle parsing.
SVN revision: 30153
2007-05-29 20:24:27 +00:00
Sebastian Dransfeld ab766b0398 Don't store the complete path in the name element.
SVN revision: 30152
2007-05-29 20:18:21 +00:00
Sebastian Dransfeld 5e3a40da08 No need for the 'last' variable.
SVN revision: 30151
2007-05-29 19:29:46 +00:00