aboutsummaryrefslogtreecommitdiffstats
path: root/common/argparse.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-3/+3
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
2012-03-27Print warning for arguments not considered an option.Werner Koch1-1/+2
GnuPG requires that options are given before other arguments. This can sometimes be confusing. We now print a warning if we found an argument looking alike a long option without being preceded by the stop option. This is bug#1343. * common/argparse.h (ARGPARSE_FLAG_STOP_SEEN): New. * common/argparse.c (arg_parse): Set new flag. * g10/gpg.c (main): Print the warning. * agent/gpg-agent.c (main): Ditto. * dirmngr/dirmngr.c (main): Ditto. * g13/g13.c (main): Ditto. * scd/scdaemon.c (main): Ditto. * sm/gpgsm.c (main): Ditto. * tools/gpg-connect-agent.c (main): Ditto. * tools/gpgconf.c (main): Ditto.
2011-09-30Change JNLIB license to LGPLv3+ or GPLv2+.Werner Koch1-7/+18
This is to allow the use of this code with code under GPLv2(only).
2011-02-03Update copyright yearWerner Koch1-62/+62
Nuked some trailing spaces.
2010-07-26Some work on the dirmngrWerner Koch1-1/+1
2010-05-30Print --version etc via estreamWerner Koch1-50/+135
2010-03-22More chnages to use estream. Add a way to replace the standardWerner Koch1-0/+2
descriptors.
2010-03-10Merged jnlib into common.Werner Koch1-0/+0
2010-01-08Add dummu option --passwd for gpg.Werner Koch1-1/+1
Collected changes.
2009-03-03Argg again: Remove cruft from a test.Werner Koch1-1/+1
2009-03-03Add --reload command to gpgconf.Werner Koch1-1/+1
Fix a problem in exechelp.c Get ready for a release.
2009-01-08Update spanish translation.Werner Koch1-1/+1
Cleanups. Allow utf-8 in email addresses.
2008-11-20Fix last change.Werner Koch1-3/+3
2008-11-12Made arg_parse more readable.Werner Koch1-304/+385
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-0/+5
2008-09-29Remove hacks which are not anymore needed since we now require Libgcrypt 1.4Werner Koch1-181/+252
2008-05-27Fixed segv in gpg-agent (command marktrusted).Werner Koch1-1/+6
Replaced almost all free by xfree. Translation fixes.
2008-02-22Add some tests.Werner Koch1-2/+2
2007-08-29Extended the --check-program output: Error messages are now inlcued in anWerner Koch1-53/+59
easy parsable format.
2007-08-10Implemented the chain model for X.509 validation.Werner Koch1-1/+14
2007-07-04Changed to GPLv3.Werner Koch1-7/+5
Removed intl/.
2007-07-04A bunch of minor changes for Windows.Werner Koch1-49/+57
2007-05-04UTF-8 FixesWerner Koch1-16/+33
2007-03-07The Cherry XX44 keyboard's PINpad does now work.Werner Koch1-1/+1
DINSIG and NKS card applications are now also PIN pad aware.
2006-10-02Fix for bug 537Werner Koch1-14/+14
2006-06-20Updated FSF's address.Werner Koch1-14/+16
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-1/+1
char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
2005-02-22(stream_read_string): Removed call to abort onWerner Koch1-1/+1
memory error because the CVS version of libgcrypt makes sure that ERRNO gets always set on error even with a faulty user supplied function.
2004-01-16* argparse.c (strusage): Changed default copyright year to 2004.Werner Koch1-1/+1
2003-12-17(initialize): Replaced use of non-literal formaWerner Koch1-15/+17
args. Suggested by Florian Weimer.
2003-01-09Updated from NewPGWerner Koch1-0/+997
2002-06-29Removed files for CVS reorganizationDavid Shaw1-994/+0
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-2/+2
2000-01-24Add files to new directory.Werner Koch1-0/+994
This is mainly stuff moved from ../util to here.