summaryrefslogtreecommitdiff
path: root/popthelp.c
Commit message (Collapse)AuthorAgeFilesLines
* - cppcheck: annotate/fix warnings.jbj2015-05-131-1/+2
| | | | - resurrect make distcheck.
* popthelp.c reduce variables scope (cppcheck warning)devzero20002014-01-081-2/+2
|
* redo commit 8396019 againrpm-5_4_3-releasedevzero20002011-09-051-1/+1
| | | | | get rid of LONG_LONG format specifier and inline it instead
* redo commit 8396019devzero20002011-09-051-0/+4
| | | | | | | Useless to have format crap just for conforming to oddball platform (http://rpm5.org/community/rpm-devel/5166.html). Keep the patch only inside MinGW.
* merge commit 8396019 from git pull requestdevzero20002011-09-051-1/+1
| | | | | | https://github.com/devzero2000/POPT/pull/2 "Work around missing format for long long in windows; fix warnings" by asenm (Matt Arsenault)
* fix compiler warning -Wunused-but-set-variable (GCC 4.6)devzero20002011-06-161-11/+7
|
* partially rewrite Get-built-with-MSVC-though-tests-are-failing patchdevzero20002010-11-291-1/+3
|
* Get built with MSVC, though tests are failingdevzero20002010-11-291-1/+1
| | | | | | Merge 7581f1dfcd792dbcfad4ea51b3d2abcf8432e786 from Matt Arsenault <arsenm2@rpi.edu> git://github.com/arsenm/POPT.git master branch
* Start of fixes to get build with MSVCdevzero20002010-11-291-1/+2
| | | | | | Merge 0613daf76688bb5f06c348a1f8c5470d5a4b63a8 from Matt Arsenault <arsenm2@rpi.edu> git://github.com/arsenm/POPT.git master branch
* Cast all of the mallocs; MSVC demands it.devzero20002010-11-291-20/+20
| | | | | | Merge ae3aa5b8ec929b30789ca45202452529a33108cd from Matt Arsenault <arsenm2@rpi.edu> git://github.com/arsenm/POPT.git master branch
* (style) reduce the scope of variables. drop cppcheck minor warndevzero20002010-07-231-13/+16
|
* - wire-up almost all *alloc's with assertions.jbj2010-06-181-8/+21
|
* - sync with HEAD.jbj2010-06-141-1/+2
|
* - add an RPN calculator to do logical and add/subtract operations.jbj2010-06-131-0/+1
|
* - typo in with POPT_WCHAR_HACK.jbj2009-08-281-1/+1
| | | | - typo in libopt.vers
* - add POPT_ARG_SHORT handling.jbj2009-07-251-0/+5
|
* - avoid displaying --[no]nofoo with POPT_ARGFLAG_TOGGLE.jbj2009-01-211-2/+12
|
* - jbj: fix typo, display toggled long options as "--[no]foo" with --help.jbj2009-01-211-1/+3
|
* - jbj: fix: check/print argv[0] in --help for NULL.jbj2008-12-181-4/+2
|
* - jbj: fix: rearrange code to better hint to coverity scan (CID#9).jbj2008-12-041-1/+1
|
* - ldv: update INPUT tag in Doxyfile.in, fix doxygen warnings in popthelp.c.ldv2008-04-261-2/+2
|
* - jbj: use stpcpy 2 more places (Wayne Davison<wayned@samba.org>).jbj2008-03-271-12/+9
|
* - jbj: study the mess with splint. Sigh, splint is so easily confused ...jbj2008-03-101-18/+20
| | | | | - jbj: rewrite findProgramPath & move to popt.c. Nuke the findme.{c,h} toys. - jbj: use stpcpy several more places (Wayne Davison<wayned@samba.org>).
* - jbj: test for <glob.h>, disable reading directory poptrc files if not.jbj2008-03-081-4/+5
| | | | | - jbj: add __attribute__(__unused__) (Wayne Davidson<wayned@samba.org>). - jbj: permit equal after short option (Wayne Davidson<wayned@samba.org>).
* - jbj: make sure that short options are printed only once with --usage.jbj2008-03-081-2/+3
|
* - jbj: don't display hidden short options with --usage.jbj2008-03-081-1/+2
|
* - jbj: fix: keep the poptHelpOptions array exactly the same size.jbj2008-02-181-1/+0
|
* - jbj: another pass with splint: use malloc, not alloca.jbj2008-02-171-14/+12
|
* - jbj: display POPT_ARG_ARGV options in --help just like other options.jbj2008-02-171-2/+1
|
* - splint fiddles.jbj2008-02-161-18/+25
|
* - jbj: use NUL terminator to align help with (possible) multibyte chars.jbj2008-02-161-8/+20
|
* - add utf8_skip_data table[] to keep track of utf8 character widths.jbj2008-02-161-41/+34
| | | | - refactor the POPT_WCHAR_HACK into stringDisplayWidth().
* - jbj: add POPT_next_char(), backout POPT_fprintf() usage (for the moment).jbj2008-02-161-4/+5
|
* - jbj: free aliases/execs with common code.jbj2008-02-131-29/+26
| | | | | - jbj: rewrite the callback logic using a switch for simplicity. - jbj: hide bit field structure behind F_ISSET/LF_ISSET/CBF_ISSET macros.
* - add POPT_ARG_ARGV, starting with the poptSaveString() method.jbj2008-02-131-15/+26
| | | | - add help for POPT_ARG_LONGLONG.
* - jbj: start using poptArg and poptArgType() where useful.jbj2008-02-121-29/+31
| | | | | - jbj: poptint.h: add a poptArgType define for bitfield type abstraction. - jbj: poptint.h: add a poptArg union for opt->arg access without casts.
* - jbj: include "-- Terminate options" end-of-options msg in poptHelpOptions.jbj2008-02-111-0/+2
|
* - jbj: opt->argDescrip[0] determines "--foo=bar" or "--foo bar".jbj2008-02-111-64/+69
| | | | | - jbj: --long always padded for alignment with/without "-X, ". - jbj: Display shortName iff printable non-space.
* - jbj: POPT_AUTOALIAS: if no popt aliases/execs, don't display the sub-head.jbj2008-02-111-0/+3
|
* - jbj: rescuscitate the splint annotations.jbj2007-11-041-17/+26
|
* - jbj: don't use assert to avoid null clloc(3) return check.jbj2007-11-041-6/+8
|
* - jbj: remove splint bounds/branch annotations, little gain, much pain.jbj2007-11-041-33/+7
| | | | - jbj: revert alloca usage again again.
* - jbj: handle Solaris signed character isspace(3) issues consistently.jbj2007-11-031-3/+0
|
* Make it compile for libc implementations that need <alloca.h> for alloca()bero2007-11-031-0/+5
| | | | Submitted by: bero
* actually use isspace(3) now that the solaris casts are in place.jbj2007-08-251-1/+1
|
* - isspace(3) has i18n encoding signednesss issues on Solaris (#172393).jbj2007-08-251-3/+6
|
* more --help fiddles from bugzilla #178413.jbj2007-08-241-6/+8
|
* - refactor column cursor to a structure, carry maxcols as well.jbj2007-08-151-41/+76
| | | | - use TIOCGWINSZ to determine --help column wrapping.
* - help formatting for POPT_ARG_MAINCALL.jbj2007-08-151-2/+11
|
* - remove N_(...) markings from popt.h, markers in popthelp.c instead.jbj2007-08-141-2/+2
|