Commit Graph

51 Commits

Author SHA1 Message Date
Sebastian Dransfeld 7fa09b763b efreet: Fix language change
Need to release generated file name, else we will use same filename
again when opening cache.

Also need to close cache, as a cache rebuild might not trigger cache
close if the cache in another language already exists.

SVN revision: 75020
2012-08-08 19:39:55 +00:00
Vincent Torri 0b2f05e697 Efreet: can not implement efreet_fsetowner() and efreet_setowner() on Windows
Seb: is it annoying ?


SVN revision: 73296
2012-07-04 18:38:46 +00:00
Sebastian Dransfeld 77e10fd65b efreet: Finish off nls support
SVN revision: 73067
2012-06-29 22:44:00 +00:00
Sebastian Dransfeld 77d44f84d3 efreet: correct desktop cache update on lang reset
As we only build the cache for the current language, we need to trigger
cache rebuild on language change, as the cache might not exist or it is
old.

SVN revision: 72832
2012-06-25 20:54:46 +00:00
Sebastian Dransfeld 314d42ea42 efreet: Improve language reset
efreet.c: Reset parsed locale, and force a reparse of LANG env
efreet_cache.c: Close desktop cache so we reopen cache with correct
language

SVN revision: 72817
2012-06-25 17:12:35 +00:00
Mike McCormack 69ac680ae4 efreet: ERR -> EINA_LOG_ERR
SVN revision: 71560
2012-05-30 12:34:18 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Sebastian Dransfeld f419175657 efreet: Add parameter checking to exported API
Some efreet APIs do not check input parameters.  So I add checking by
using EINA_SAFETY_ON_XXX().
ISO/IEC statndards says that "If an argument to a function has an
invalid value, behavior is undefined" . But this is  just for the
primitive functions such as libc.  I think that parameter checking is
needed in at least EFL exported APIs to prevent run-time abnormal
behavior.
EINA_SAFTETY_ON_XXX are better than "if (xxx) return" because it gives
error message and can be maintainable.

Patch by Bluezery, modified by me

SVN revision: 71366
2012-05-23 20:10:27 +00:00
Sebastian Dransfeld 93ed956adf efreet: Remove unneeded headers
SVN revision: 67403
2012-01-20 19:54:20 +00:00
Sebastian Dransfeld 56f3b3b278 efreet: Clean headers
Might affect other systems, please just add the needed headers and don't
complain.

SVN revision: 62557
2011-08-18 07:35:48 +00:00
Carsten Haitzler 71b7acde90 doxy -> h files.
SVN revision: 58487
2011-04-08 11:01:08 +00:00
Carsten Haitzler 5a0625660a wrn--
SVN revision: 58472
2011-04-08 05:57:28 +00:00
Sebastian Dransfeld c49d6dd5c4 Set file owner to calling user
This fixes cache problems when running programs utilizing efreet with
sudo.

SVN revision: 56787
2011-02-07 21:33:33 +00:00
Sebastian Dransfeld 582ecd7203 Fix doc
SVN revision: 56783
2011-02-07 21:19:36 +00:00
Sebastian Dransfeld 6ed10251db Remove global log domain
SVN revision: 56729
2011-02-05 19:05:55 +00:00
Sebastian Dransfeld 978741a789 doc
SVN revision: 56326
2011-01-27 17:49:45 +00:00
Vincent Torri 57c6d1b2e0 fix efreet after the Windows commits
SVN revision: 55026
2010-11-26 20:48:50 +00:00
Vincent Torri d07b011ca8 move Ecore_File.h inclusion to the source file
SVN revision: 55002
2010-11-25 23:52:57 +00:00
Vincent Torri 42f57e9fc3 put alloca declaration after config.h
SVN revision: 55001
2010-11-25 23:48:59 +00:00
Sebastian Dransfeld d6cd4ae87d always init cache
SVN revision: 54908
2010-11-23 21:16:19 +00:00
Sebastian Dransfeld 5c4adef911 And use right error handler
SVN revision: 54826
2010-11-22 20:50:09 +00:00
Sebastian Dransfeld 12550e7b58 init ecore_file in base
And add missing ecore_*shutdown() in shutdown

SVN revision: 54824
2010-11-22 20:49:22 +00:00
Sebastian Dransfeld 537f3fd258 include Ecore.h
SVN revision: 54782
2010-11-22 14:15:50 +00:00
Sebastian Dransfeld a16314cd88 init ecore in main init
SVN revision: 54781
2010-11-22 14:15:40 +00:00
Sebastian Dransfeld 2894e4aedc if -> ifdef
SVN revision: 54614
2010-11-16 21:49:45 +00:00
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
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
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 6d00dc126b efreet: use alloca for local dynamic buffer
SVN revision: 47597
2010-03-30 12:22:15 +00:00
Sebastian Dransfeld 3db40c0d97 efreet: fix strdup + stringshare
SVN revision: 47568
2010-03-29 20:14:43 +00:00
Sebastian Dransfeld 5e33a5798f Remove unneeded TOOD
SVN revision: 47542
2010-03-28 20:36:11 +00:00
Sebastian Dransfeld d8bde974e6 efreet: Add variable to prevent cache update
SVN revision: 47536
2010-03-28 18:54:25 +00:00
Sebastian Dransfeld 534519db27 init util alongside rest of efreet
Used to be separate as util had different requirements than base efreet,
and util had high memory usage. No longer the case.

SVN revision: 47510
2010-03-27 19:57:47 +00:00
Sebastian Dransfeld 2104d71164 shutdown eina after last stringshare del
SVN revision: 47181
2010-03-13 19:05:11 +00:00
Sebastian Dransfeld c07e3969ce stringshare
SVN revision: 47176
2010-03-13 18:34:30 +00:00
Sebastian Dransfeld f72d4f9342 Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +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
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
Cedric BAIL 05126826a3 * efreet: Use eina_log.
Patch from Matthieu.


SVN revision: 42599
2009-09-21 16:36:29 +00:00
Gustavo Sverzut Barbieri 992936af22 Update to match new EINA init/shutdown.
SVN revision: 42301
2009-09-06 22:23:04 +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
Cedric BAIL 01befd2b67 Switch ecore_strings to eina_stringshare.
SVN revision: 36676
2008-10-15 14:48:03 +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 e7107630db Make util optional.
SVN revision: 29452
2007-04-09 12:16:09 +00:00
Sebastian Dransfeld 4624cd4c09 util init/shutdown last/first
SVN revision: 29107
2007-03-25 11:25:23 +00:00
Sebastian Dransfeld c41773fea6 Position util init/shutdown relative to desktop.
SVN revision: 29106
2007-03-25 10:55:45 +00:00
Sebastian Dransfeld 23bf91c0a7 Add init/shutdown for util.
SVN revision: 29102
2007-03-25 10:42:28 +00:00