path: root/src/lib/ecore/ecore_getopt.c (follow)
AgeCommit message (Collapse)Author
2019-12-04exotic: remove left-overs from Exotic supportStefan Schmidt
This seems to have been gone a long time ago and only references left that have not been disturbing the build. Time to clean up! Signed-off-by: Stefan Schmidt <> Reviewed-by: Cedric BAIL <> Differential Revision:
2019-10-18ecore/getopt: handle negative return in arg parsingMike Blumenkrantz
Summary: _ecore_getopt_parse_find_nonargs_base() can return -1 on errors CID 1402615 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2016-10-31ecore_getopt: allow empty strings as parameters.Gustavo Sverzut Barbieri
Sometimes we want to specify an empty string, that should be allowed.
2014-08-27ecore_getopt: correct fix for CID 98382 and 98383Daniel Kolesa
2014-08-27Revert "ecore_getopt - fix possible null arg"Tom Hacohen
This breaks terminology, look at the previous commit for more info. This reverts commit d8130825d5a0c2bb45c7212a4885afbc07f2392e.
2014-08-27Revert "ecore_getopt - fix possible null arg"Tom Hacohen
Breaks getopt completely, try terminology --help. You committing it again doesn't fix the fact it doesn't work. :) This reverts commit e876ec527fd2cd89b01e61e34a9227f38357c25a.
2014-08-27ecore_getopt - fix possible null argCarsten Haitzler (Rasterman)
fixes CID 98382
2014-08-27ecore_getopt - fix possible null argCarsten Haitzler (Rasterman)
fixes CID 98383
2014-08-22ecore_getopt: correct fix for CID 98382 and 98383Daniel Kolesa
2014-08-22Revert "ecore_getopt - fix arg_val being null"Daniel Kolesa
It's as wrong as the other commit which TAsn already reverted. This needs a fix elsewhere, particularly in the functions that use arg_val. This reverts commit ab539003643540aafe6e6ce09edb2d42d2c67f41.
2014-08-22Revert "ecore_getopt - handle if arg_val is null"Tom Hacohen
This completely breaks getopt. Try running terminology --help. This reverts commit 1bb6a8a4e4055c6fce2391012aae3c6984aa2302.
2014-08-22ecore_getopt - fix arg_val being nullCarsten Haitzler (Rasterman)
fix CID 98382
2014-08-22ecore_getopt - handle if arg_val is nullCarsten Haitzler (Rasterman)
fix CID 98383
2014-07-26move ecore documentation not in headers to .h files for consistencyCarsten Haitzler (Rasterman)
2014-07-13efl: remove Windows CE supportVincent Torri
2014-04-17ecore: Fixed se of EINA_MAIN_LOOP_CHECK_RETURN macros with functions with ↵Felipe Magno de Almeida
return types Summary: Changed uses of EINA_MAIN_LOOP_CHECK_RETURN for EINA_MAIN_LOOP_CHECK_RETURN_VAL for functions that doesn't have void return types. These only error out when compiling with --with-profile=debug @fixed Reviewers: raster, cedric, smohanty CC: cedric Differential Revision:
2014-01-24a small ecore_getopt bugfixDaniel Kolesa
2014-01-20ecore_getopt: support for per-category help listingDaniel Kolesa
2014-01-15ecore_getopt: support for categoriesDaniel Kolesa
2013-12-17getopt: add positional argument handling.Gustavo Sverzut Barbieri
positional arguments must appear at the end of the description array (after the last option) and should have a metavar set and not have shortname or longname. Simple, elegant and fit :-) There is a new function to parse the positional arguments, ecore_getopt_parse_positional() because we may want to not try to parse them in the case of a quit-option such as --help, --license, --copyright, --version or some user-defined action. This avoids us producing errors of missing positional arguments when printing help and adds some flexibility as well. This should make Tasn happy :-)
2013-12-17getopt: fix line wrapping issues in help strings.Gustavo Sverzut Barbieri
2013-07-16fix flang nonnull complaintCarsten Haitzler (Rasterman)
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-10efl/ecore_getopt: add ECORE_GETOPT_ACTION_BREAK.Gustavo Sverzut Barbieri
Thanks to PrinceAMD (Deon Thomas) for bugging me to implement this, then test and add a fix, now we can implement something similar to "xterm -e" in terminology. ECORE_GETOPT_ACTION_BREAK will allow generic options to behave the same as GNU's --, breaking out of argument parsing logic. SVN revision: 80619
2012-12-02merge: add escape ecore, fix several bugsVincent Torri
SVN revision: 79995