Sebastian Dransfeld
7f33df3da8
efreet: always allocate icon_version
...
SVN revision: 77797
2012-10-10 20:28:05 +00:00
Gustavo Sverzut Barbieri
a13620d1e7
add efreet_user_dir to test variables.
...
SVN revision: 77683
2012-10-09 20:16:29 +00:00
Gustavo Sverzut Barbieri
7869bcc670
try to fallback on missing XDG_RUNTIME_DIR
...
SVN revision: 77682
2012-10-09 20:12:02 +00:00
Gustavo Sverzut Barbieri
4786babcc8
Improve xdg-user-dirs documentation.
...
EVERYBODY writing software, particularly applications, read this
documentation and the links below so you can make your software
compliant:
* http://0pointer.de/blog/projects/tmp.html where to store files and
sockets to be secure and portable.
* http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
SVN revision: 77669
2012-10-09 18:43:33 +00:00
Gustavo Sverzut Barbieri
753f334e73
Support user directories $XDG_PICTURES_DIR, $XDG_VIDEOS_DIR,
...
$XDG_DOWNLOAD_DIR, $XDG_TEMPLATES_DIR, $XDG_PUBLICSHARE_DIR,
$XDG_DOCUMENTS_DIR and $XDG_MUSIC_DIR.
SVN revision: 77668
2012-10-09 18:17:33 +00:00
Gustavo Sverzut Barbieri
6368cfbbc2
cleanup macros.
...
eina_stringshare_replace() does a nice job.
EINA_LIST_FREE() always exit with empty (NULL) list.
SVN revision: 77667
2012-10-09 17:55:34 +00:00
Gustavo Sverzut Barbieri
4cd60a96e1
Add $XDG_RUNTIME_DIR support.
...
SVN revision: 77666
2012-10-09 17:52:21 +00:00
Mike Blumenkrantz
c3fd0444b1
fix some efreet docs
...
SVN revision: 77412
2012-10-04 08:55:51 +00:00
Carsten Haitzler
3593470069
fix nasty bug in efreet where running an update of desktops (or icons)
...
could be delayed by minutes.
SVN revision: 77133
2012-09-27 08:22:24 +00:00
Daniel Juyung Seo
1bc1eaaba3
efreet Efreet_Mime.h: Fixed documentation.
...
SVN revision: 76924
2012-09-21 00:03:23 +00:00
Daniel Juyung Seo
c01f421317
efreet: Fixed formatting.
...
SVN revision: 76923
2012-09-21 00:03:18 +00:00
Daniel Juyung Seo
be7b396171
efreet efreet_mime.c: Changes in efreet_mime_shutdown. Decrementing init counter below 0 issue solved. Patch by Zbigniew Kosinski z.kosinski@samsung.com
...
On Thu, Sep 20, 2012 at 8:06 PM, Zbigniew Kosinski <z.kosinski@samsung.com> wrote:
> Hello,
>
> Right now efreet_shutdown function doesn't return values below 0.
>
> In my opinion, efreet_mime_shutdown function should behave in the same way
> as efreet_shutdown.
>
> I have prepared patch proposal to prevent decrementing init counter below 0.
>
> Please take a look at attached file.
>
> BR,
>
> Zbigniew Kosinski
SVN revision: 76921
2012-09-20 23:33:32 +00:00
Carsten Haitzler
0e77364887
update header #defined versions to 1.8 to make sure new apis are used
...
in e17 only with ifdefs.
SVN revision: 75994
2012-09-03 09:55:34 +00:00
Carsten Haitzler
aef32ed6d3
more updates for 1.7.0 alpha.
...
SVN revision: 75095
2012-08-10 10:51:17 +00:00
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
Carsten Haitzler
3bcdd78bca
fix efreet desktop exec to not duplicate the command n times in the
...
list when adding n params to a single cmd.
SVN revision: 75019
2012-08-08 16:26:03 +00:00
Sebastian Dransfeld
9b8a67bb31
efreet: Fix last fix, only access theme inside if
...
SVN revision: 74879
2012-08-04 17:11:18 +00:00
Sebastian Dransfeld
493fd82f35
efreet: always need to revalidate themes
...
Themes read from cache are not valid until a valid index file has been
read.
SVN revision: 74865
2012-08-03 20:21:47 +00:00
Cedric BAIL
4540fa9d0f
eina: cleanup eina_file_map_lines API before release.
...
SVN revision: 74618
2012-07-31 07:23:16 +00:00
Carsten Haitzler
c7bf0ff14a
segv-- on parsing garbage ini files.
...
SVN revision: 74542
2012-07-29 07:57:41 +00:00
Carsten Haitzler
26b2841518
remove efret private decl of public api.
...
SVN revision: 74517
2012-07-28 00:27:14 +00:00
Carsten Haitzler
2c1b533d13
fix minor version defines to be at 1.6 (in sync now) ready for going
...
to 7 on release.
SVN revision: 73906
2012-07-16 06:36:02 +00:00
Carsten Haitzler
5c9c0852bb
update all versions in @sincs, README's and configure.ac's etc. to
...
reflect a unified release version, for now 1.6.99.
SVN revision: 73498
2012-07-09 10:20:21 +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
Vincent Torri
b8e7e4cfef
Efreet: winsock2.h needed on Windows
...
SVN revision: 73295
2012-07-04 18:37:37 +00:00
Vincent Torri
68094c6877
Efreet: use ecore_exe_run() on Windows, as it is available for quite some time now
...
SVN revision: 73294
2012-07-04 18:36:34 +00:00
Vincent Torri
e707290273
Efreet: errno.h is not always indirectly included
...
SVN revision: 73293
2012-07-04 18:35:31 +00:00
Sebastian Dransfeld
beb582c531
efreet: fix memory leak
...
Don't allocate event structure unless we have a cache change.
SVN revision: 73133
2012-07-02 08:17:02 +00:00
Carsten Haitzler
7c8d0f697d
with user-dirs - expand env vars. i suspect we have to deal with
...
escapes too.
SVN revision: 73115
2012-07-02 00:01:16 +00:00
Sebastian Dransfeld
77e10fd65b
efreet: Finish off nls support
...
SVN revision: 73067
2012-06-29 22:44:00 +00:00
Sebastian Dransfeld
4f0bcd9b29
efreet: parse user-dirs.dirs
...
SVN revision: 73053
2012-06-29 20:35:47 +00:00
Sebastian Dransfeld
a6fc2bf1bb
efreet: use alloca
...
malloc + dir in same function -> alloca
SVN revision: 73052
2012-06-29 20:35:23 +00:00
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
Sebastian Dransfeld
789a38a62f
efreet: Add @since
...
SVN revision: 62508
2011-08-16 12:49:56 +00:00
Sebastian Dransfeld
f696cd74bd
efret: Save whether cache changed in update file.
...
SVN revision: 62506
2011-08-16 12:46:35 +00:00
Sebastian Dransfeld
fa2a688b02
efreet: redo cache rebuild
...
Always rebuild cache from scratch when needed, but rely on correct spec
behaviour to check for theme changes. This will considerably speed up
the cache process when there is no change, and improve the correctness
of the cache when changes occur. For example didn't the previous
behaviour handle file removal gracefully.
SVN revision: 62505
2011-08-16 12:46:24 +00:00
Sebastian Dransfeld
dfa8b5e29f
efreet: No need to sync eet file before close
...
SVN revision: 62504
2011-08-16 12:46:14 +00:00
Sebastian Dransfeld
46367075e1
efreet: Formatting
...
SVN revision: 62503
2011-08-16 12:46:03 +00:00
Sebastian Dransfeld
34d2a47e50
efreet: Print error on write error
...
Better solution to stop ignoring return value.
SVN revision: 62502
2011-08-16 12:45:52 +00:00
Sebastian Dransfeld
51e1eca0a9
efreet: Remove disabled if
...
SVN revision: 62501
2011-08-16 12:45:30 +00:00
Carsten Haitzler
39a63149cf
enable mmap safety in efreet.
...
SVN revision: 60978
2011-07-04 09:35:39 +00:00
Carsten Haitzler
d5e66856fe
add errs for efreet cache init failures.
...
SVN revision: 60707
2011-06-26 23:11:07 +00:00
Boris Faure
e6119fa4d9
remove .cvsignore files
...
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Sebastian Dransfeld
979f1c7e4b
Efreet: We don't add non-existing dirs to lists
...
SVN revision: 58608
2011-04-12 22:42:57 +00:00
Sebastian Dransfeld
4c7b75cbf4
Efreet: Detect hidden themes
...
SVN revision: 58607
2011-04-12 22:42:43 +00:00
Sebastian Dransfeld
5fcbbac392
Efreet: Consistent PACKAGE_DATA_DIR
...
SVN revision: 58606
2011-04-12 22:42:29 +00:00
Sebastian Dransfeld
4262dd6285
Efreet: Fail on invalid ini file
...
SVN revision: 58605
2011-04-12 22:42:15 +00:00
Sebastian Dransfeld
649229a695
Efreet: Correct log domain name for efreet_ini
...
SVN revision: 58604
2011-04-12 22:42:01 +00:00
Sebastian Dransfeld
754b1f6425
Efreet: Re-add Home tests
...
Fixed cache dir creation problem.
SVN revision: 58603
2011-04-12 22:41:48 +00:00
Sebastian Dransfeld
eacc880e8e
Efreet: Don't update cache during tests
...
This makes efreet_init not fail if we pass non-existing paths as HOME
and XDG_* during testing.
SVN revision: 58602
2011-04-12 22:41:34 +00:00
Sebastian Dransfeld
1ff5c07744
Efreet: Only create cache dir if we update cache
...
SVN revision: 58601
2011-04-12 22:40:35 +00:00