Commit Graph

716 Commits

Author SHA1 Message Date
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
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
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 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
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
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