Commit Graph

21 Commits

Author SHA1 Message Date
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
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 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
Tom Hacohen babf703cb9 Efreet desktop: Fixed URI creation when opening files.
URI should be escaped before passed to the application being
executed. This fixes runnig videos with vlc from paths with
utf8 values in them.

SVN revision: 58329
2011-04-04 13:43:01 +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
Christopher Michael 8719a729ab Fix missing include <Ecore.h> for needed ecore functions
(ecore_time_get, ecore_exe_run, etc, etc).



SVN revision: 55027
2010-11-26 21:32:34 +00:00
Vincent Torri 126c3574c3 fix compilation on Windows
SVN revision: 55021
2010-11-26 17:05:16 +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 3624014340 Remove common included header
SVN revision: 54823
2010-11-22 20:49:08 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +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 b197b55abc Check return NULL
SVN revision: 50786
2010-08-03 20:46:36 +00:00
Sebastian Dransfeld 7f93656d7b check return value from malloc
SVN revision: 50780
2010-08-03 19:31:04 +00:00
Sebastian Dransfeld 8554a0c23b free data on realloc error
SVN revision: 50779
2010-08-03 19:30:53 +00:00
Sebastian Dransfeld 4b221c3936 Check return value for realloc
SVN revision: 50753
2010-08-02 20:43:09 +00:00
Sebastian Dransfeld 1870180db1 efreet: and add file
SVN revision: 48026
2010-04-15 18:24:48 +00:00