summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_desktop_command.c (unfollow)
AgeCommit message (Collapse)Author
2019-10-28efreet : Check that the file has a protocol in ↵thierry1970
efreet_desktop_command_file_process() if a path has a '/' character in it before the ':' character then it should be treated as a local file which contains a ':' character in its name Reviewers: devilhorns, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10409
2019-05-08Evil: remove wrapper around getcwd()Vincent Torri
Summary: getcwd() is declared in direct.h Test Plan: compilation Reviewers: raster, cedric, zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8858
2019-03-15efreet: Fix resource leakChristopher Michael
Summary: Coverity reports that we leak 'exec' here when we return. Add IF_FREE(exec) to remove the leak. Fixes Coverity CID1399090 @fix Depends on D8353 Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8354
2016-09-25efreet - fix command generation by fixing string buffer expansionCarsten Haitzler (Rasterman)
so by chance i discovered efreet is doing bad things(tm) when expanding/appending to string buffers to generate commands based off desktop files. the string append basically was buggy, so fixed it by making it a lot simpler and more obvious and now reliable. @fix
2014-09-29efreet: improve messagesSebastian Dransfeld
2014-09-29efreet: remove dead codeSebastian Dransfeld
2014-09-25efreet: Fix leakSebastian Dransfeld
When doing efreet_desktop_command_append_multiple we add all files from command, whilst still looping command->files. So the command was created with all files for all files. Set l to NULL, since we parse all elements in command->files in efreet_desktop_command_append_multiple to break the loop.
2014-09-25efreet: remove debug fprintfSebastian Dransfeld
2014-08-14efreet: use eina_file_mkstemp to create filenameSebastian Dransfeld
2014-05-19efreet: Handle URIs in a more generic wayKai Huuhko
Summary: Fixes T1219 Reviewers: englebass CC: cedric Maniphest Tasks: T1219 Differential Revision: https://phab.enlightenment.org/D865
2013-08-07efreet: Explicitly set num_pending to 0Sebastian Dransfeld
CID: #1039185
2013-01-08forwardport previous efreet desktop command commitMike Blumenkrantz
ticket #2174 SVN revision: 82390
2013-01-03efl: eina_alloca.h to simplify alloca() usage.Gustavo Sverzut Barbieri
having to replicate 18 lines per file just to access alloca() is insane. Let's do that in Eina.h and avoid that crap :-/ SVN revision: 82082
2012-12-29efl: merge efreet.Gustavo Sverzut Barbieri
seems to be fine, pass distcheck and friends. please report. changes: - documentation hierarchy fixes - replaced __UNUSED__ with EINA_UNUSED - replaced PKG_DATA_DIR with PACKAGE_DATA_DIR"/efreet" SVN revision: 81889
2012-11-24efreet: fix allocaSebastian Dransfeld
SVN revision: 79629
2012-08-08fix efreet desktop exec to not duplicate the command n times in theCarsten Haitzler
list when adding n params to a single cmd. SVN revision: 75019
2012-07-04Efreet: use ecore_exe_run() on Windows, as it is available for quite some ↵Vincent Torri
time now SVN revision: 73294
2012-05-23efreet: Add parameter checking to exported APISebastian Dransfeld
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-01-20efreet: Remove unneeded headersSebastian Dransfeld
SVN revision: 67403
2011-08-18efreet: Clean headersSebastian Dransfeld
Might affect other systems, please just add the needed headers and don't complain. SVN revision: 62557
2011-04-08doxy -> h files.Carsten Haitzler
SVN revision: 58487
2011-04-04Efreet desktop: Fixed URI creation when opening files.Tom Hacohen
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-02-05Remove global log domainSebastian Dransfeld
SVN revision: 56729
2011-01-27docSebastian Dransfeld
SVN revision: 56326
2010-11-26Fix missing include <Ecore.h> for needed ecore functionsChristopher Michael
(ecore_time_get, ecore_exe_run, etc, etc). SVN revision: 55027
2010-11-26fix compilation on WindowsVincent Torri
SVN revision: 55021
2010-11-25move Ecore_File.h inclusion to the source fileVincent Torri
SVN revision: 55002
2010-11-25put alloca declaration after config.hVincent Torri
SVN revision: 55001
2010-11-22Remove common included headerSebastian Dransfeld
SVN revision: 54823
2010-08-21Convert (hopefully) all comparisons to NULLLucas De Marchi
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-04FORMATTINGLucas De Marchi
* 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-03Check return NULLSebastian Dransfeld
SVN revision: 50786
2010-08-03check return value from mallocSebastian Dransfeld
SVN revision: 50780
2010-08-03free data on realloc errorSebastian Dransfeld
SVN revision: 50779
2010-08-02Check return value for reallocSebastian Dransfeld
SVN revision: 50753
2010-04-15efreet: and add fileSebastian Dransfeld
SVN revision: 48026