Sebastian Dransfeld
851f2fc136
efreet: Fix missing cache info
...
If a desktop was in the regular cache because of direct access, and then
added by a change in XDG_DATA_DIRS it wouldn't end in the utils cache
unless something triggered a complete cache rebuild.
SVN revision: 72962
2012-06-27 19:07:05 +00:00
Stefan Schmidt
18c327cfff
efreet: efreet_suite also needs the libs for coverage
...
Its one of these days where it only comes together in small pieces.
SVN revision: 72934
2012-06-27 09:55:38 +00:00
Stefan Schmidt
f61cb10773
efreet: Pass the correct ld flags to the test.
...
This fixes coverage on freet
SVN revision: 72930
2012-06-27 09:21:22 +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
Sebastian Dransfeld
76b65ed331
efreet: Add nls support
...
SVN revision: 72773
2012-06-24 18:26:12 +00:00
Mike Blumenkrantz
672730ee44
only parse retarded canonical ini fields when not using strict spec compliance
...
SVN revision: 72387
2012-06-18 12:12:44 +00:00
Jerome Pinot
afa6d5076f
efreet: doxygen
...
Fix a few typos and missing @c.
SVN revision: 72379
2012-06-18 10:06:17 +00:00
Mike Blumenkrantz
9d8a7e0095
fix annoying null error spam
...
SVN revision: 72111
2012-06-14 08:29:53 +00:00
Mike Blumenkrantz
f5d9c7bf2f
+efreet_dirs_reset()
...
SVN revision: 72104
2012-06-14 07:28:23 +00:00
Mike Blumenkrantz
3e24827119
the dicks at canonical like to break fdo .desktop file spec by adding invalid characters (underscores) to key names. we are not amused.
...
SVN revision: 71941
2012-06-11 09:38:10 +00:00
Mike Blumenkrantz
4d3515b730
enough with the efreet error message spam!!!
...
SVN revision: 71939
2012-06-11 09:01:35 +00:00
Mike Blumenkrantz
7f8db5d7c1
whoops, forgot these
...
SVN revision: 71817
2012-06-07 15:19:33 +00:00
Mike Blumenkrantz
7edc06111f
add XDG_DESKTOP_DIR based on http://freedesktop.org/wiki/Software/xdg-user-dirs
...
seb if I put this in the wrong place let me know
SVN revision: 71816
2012-06-07 15:12:15 +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
Cedric BAIL
4fe47342e7
efreet: useless work of the day, faster loading of mime type.
...
SVN revision: 70931
2012-05-11 10:54:47 +00:00
Vincent Torri
db9288db62
Efreet : doc fixes
...
Patch by Jérôme Pinot
SVN revision: 69816
2012-03-31 08:12:22 +00:00
Cedric BAIL
1466254a5a
efreet: add errno.h as needed.
...
SVN revision: 68229
2012-02-21 18:49:01 +00:00
Sebastian Dransfeld
93ed956adf
efreet: Remove unneeded headers
...
SVN revision: 67403
2012-01-20 19:54:20 +00:00
Gustavo Sverzut Barbieri
5cfb4088e8
efreet_alloc test: check if icons are missing.
...
SVN revision: 67359
2012-01-19 19:40:41 +00:00
Tom Hacohen
d264316ab3
Efreet tests: fix compilation warning.
...
SVN revision: 67357
2012-01-19 18:50:24 +00:00
Sebastian Dransfeld
c53f0f501b
efreet: name_length -> name_start
...
SVN revision: 67311
2012-01-19 01:05:33 +00:00
Sebastian Dransfeld
820722a779
efreet: opendir -> eina_file_direct_ls
...
SVN revision: 67308
2012-01-19 00:35:51 +00:00
Carsten Haitzler
0e9a475092
update all minor versions to 2 (or 6) - and yes. i missed making most
...
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.
SVN revision: 67284
2012-01-18 02:32:36 +00:00
Cedric BAIL
aeed35b2ea
efreet: correctly include dirent.h in the right place.
...
NOTE: for after 1.1, we should really use eina_*_ls API instead.
SVN revision: 65292
2011-11-16 10:56:44 +00:00
Vincent Torri
b43267ab25
Efreet: include inet/in.h before arpa/inet.h. Needed by the OpenBSD port
...
SVN revision: 65156
2011-11-14 08:33:22 +00:00
Sebastian Dransfeld
c8bfe4f0d3
efreet: Fix clang warnings
...
SVN revision: 64997
2011-11-09 23:04:01 +00:00
Boris Faure
d718ad4713
efreet: typos
...
SVN revision: 64137
2011-10-17 20:29:25 +00:00
Cedric BAIL
08e79c00ff
efreet: add svg.
...
SVN revision: 63538
2011-09-22 14:10:04 +00:00
Sebastian Dransfeld
b8e42ad9cd
Efreet: Only add known desktop types to cache
...
SVN revision: 63020
2011-08-31 09:10:18 +00:00
Sebastian Dransfeld
d459c61334
Efreet: Fix shadow warning
...
SVN revision: 63019
2011-08-31 09:09:31 +00:00
Sebastian Dransfeld
dc78efed2b
Efreet: Fix caching of recursive directories
...
SVN revision: 62985
2011-08-30 12:19:19 +00:00
Sebastian Dransfeld
a4e32175bb
Efreet: Always set desktop_cache to NULL
...
SVN revision: 62984
2011-08-30 12:19:06 +00:00
Carsten Haitzler
ab8757c8dc
hey.. if we use magic poinrters like... -1 for not existing... null
...
would probably be fine though here)... we should always then handle
all the cases correctly! fix segv in efreet shutdown
SVN revision: 62616
2011-08-20 04:22:24 +00:00
Sebastian Dransfeld
352ec9086c
efreet: Don't keep desktop_dirs permanently
...
SVN revision: 62583
2011-08-19 06:50:50 +00:00
Sebastian Dransfeld
6ac66e7427
efreet: Don't check if path is a subdir
...
We don't recurse in extra_dirs, so we must store all paths explicit.
SVN revision: 62582
2011-08-19 06:44:59 +00:00
Sebastian Dransfeld
1210e95895
efreet: Use eina log
...
SVN revision: 62581
2011-08-19 06:44:49 +00:00
Sebastian Dransfeld
6dffcf4c32
efreet: Use eina log
...
SVN revision: 62580
2011-08-19 06:44:38 +00:00
Sebastian Dransfeld
8fde31ddd6
efreet: Add doc
...
SVN revision: 62579
2011-08-19 06:44:27 +00:00
Sebastian Dransfeld
0f140cc959
efreet: Move doc to function declaration
...
SVN revision: 62578
2011-08-19 06:44:16 +00:00
Sebastian Dransfeld
3ae7cf0980
efreet: Use eina_hash_free_cb_set
...
SVN revision: 62560
2011-08-18 10:59:01 +00:00
Sebastian Dransfeld
a0861d7c26
efreet: Don't stat .desktop file on every fetch
...
SVN revision: 62559
2011-08-18 09:03:44 +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
Sebastian Dransfeld
68a31c96c0
efreet: TODO--
...
SVN revision: 62556
2011-08-18 07:35:34 +00:00
Sebastian Dransfeld
4b6c9289be
efreet: Delay closing of old caches
...
Programs might close their references after the event has completed.
SVN revision: 62551
2011-08-18 07:34:40 +00:00
Sebastian Dransfeld
a43a9d363c
efreet: Add cache build event
...
And listen for this event in e_startup to check for cache build
completion.
SVN revision: 62549
2011-08-18 07:34:19 +00:00
Sebastian Dransfeld
c31f9f2049
efreet: Revert changed flag
...
Only send event when cache is actually updated.
SVN revision: 62548
2011-08-18 07:34:02 +00:00
Sebastian Dransfeld
bf958ebbd7
efreet: No more caches in this file.
...
SVN revision: 62510
2011-08-16 13:19:00 +00:00