1. 02 May, 2018 1 commit
  2. 01 May, 2018 3 commits
  3. 30 Apr, 2018 4 commits
  4. 23 Apr, 2018 1 commit
  5. 13 Apr, 2018 1 commit
  6. 12 Apr, 2018 1 commit
    • NIIBE Yutaka's avatar
      build: Check -lsocket -lnsl for Solaris. · e3574902
      NIIBE Yutaka authored
      
      
      * configure.ac: Check inet_addr for -lnsl, and socket for -lsocket.
      
      --
      
      Once I used LIB_SOCKET_NSL for the variable name, but it is already
      used by AX_LIB_SOCKET_NSL in autoconf-archive as an alias of the
      macro.  So, I changed the variable name.
      
      GnuPG-bug-id: 3869
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      e3574902
  7. 11 Apr, 2018 5 commits
    • Damien Goutte-Gattat via Gnupg-devel's avatar
      build: Make sure version.texi is generated in time. · 8ef76d93
      Damien Goutte-Gattat via Gnupg-devel authored
      
      
      [[PGP Signed Part:Good signature from AA4373E6C82C78AD Damien Goutte-Gattat <dgouttegattat@incenp.org> (trust undefined) created at 2018-04-11T17:05:27+0200 using RSA]]
      [1. text/plain]
      
      * doc/Makefile.am (yat2m-stamp): Depend on version.texi.
      --
      
      When building from a cloned Git repository and with `make -j 3`
      (or higher), the version.texi file may not have been generated
      yet when yat2m is called to generate the man page, resulting in
      a build failure.
      
      Signed-off-by: default avatarDamien Goutte-Gattat <dgouttegattat@incenp.org>
      8ef76d93
    • Werner Koch's avatar
      Post release updates · 253ca177
      Werner Koch authored
      --
      253ca177
    • Werner Koch's avatar
      Release 1.29 · c3825327
      Werner Koch authored
      
      
      * configure.ac: Bump LT version to C24/A24/R0.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      c3825327
    • Werner Koch's avatar
      doc: Beautify comments in gpg-error.h. · f4c4592a
      Werner Koch authored
      
      
      --
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      f4c4592a
    • Werner Koch's avatar
      core: Finalize the API for argparse. · e901c9fb
      Werner Koch authored
      
      
      * src/gpg-error.h.in (ARGPARSE_end): Simplify.
      * src/argparse.c (_gpgrt_argparse_internal_s): Add field opts.
      (deinitialize): Release new field.
      (initialize): Add arg opts and create a copy of the option list.  Add
      the internal options.
      (_gpgrt_argparse): Rename arg opts to opts_orig and set new local var
      opts.  Adjust all references to opts.
      (find_long_option): Adjust for chnaged type of OPTS.  Re-indent.
      (arg_parse): Remove internal option assignment.  Rename arg opts to
      opts_orig and set new local var opts.  Adjust all references to opts.
      (show_help): Adjust all references to opts.
      --
      
      The old ARGPARSE_end maro was a bit cumbersome and does not allow to
      chnage the number of internal options.  Thus this somewhat larger
      chnage to keep the internal options out of the API.
      
      Note that with this change the internal options now also work in a
      option file and not just on the command line; that does not make much
      sense but is probably less surprising.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      e901c9fb
  8. 27 Mar, 2018 2 commits
  9. 22 Mar, 2018 14 commits
  10. 21 Mar, 2018 6 commits
    • Werner Koch's avatar
      po: Update one fuzzy in all translations. · 5b963d2f
      Werner Koch authored
      
      
      --
      
      This was due to the removal of the "%s: " used for the prefix in a
      printf.  It is now printed with log_error which prints the prefix on
      its own.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      5b963d2f
    • Werner Koch's avatar
      po: Merge GnuPG's strings from argparse.c · e492e0a0
      Werner Koch authored
      
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      e492e0a0
    • Werner Koch's avatar
      tools: Use gpgrt_argparse for the gpg-error tool. · 11ce9bc3
      Werner Koch authored
      
      
      * src/gpg-error.c (show_usage): Remove.
      (my_strusage): New.
      (main): Change to use argparse.  Also use log_error.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      11ce9bc3
    • Werner Koch's avatar
      core: Add public function gpgrt_usage. · ed78ef7f
      Werner Koch authored
      
      
      * src/visibility.c (gpgrt_usage): New.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      ed78ef7f
    • Werner Koch's avatar
      core: Add the group of argparse functions. · 13d6fbfd
      Werner Koch authored
      
      
      * src/visibility.c (gpgrt_argparse): New.
      (gpgrt_strusage): New.
      (gpgrt_set_strusage): New.
      (gpgrt_set_usage_outfnc): New.
      (gpgrt_set_fixed_string_mapper): New.
      * src/gpg-error.def.in, src/gpg-error.vers: Add new functions.
      * src/gpg-error.h.in: Add ARGPARSE macros from the former argparse.h.
      (gpgrt_argparse_t): New.
      (gpgrt_opt_t): New.
      * configure.ac (AH_BOTTOM): Request argparse macros.
      * src/Makefile.am (libgpg_error_la_SOURCES): Add argparse.c.
      * src/argparse.h: Remove.
      * src/argparse.c: Revamp to fit into libgpg-error.
      (_gpgrt_argparse): New.
      (_gpgrt_usage): Rename from usage.
      (_gpgrt_strusage): Rename from strusage.  Define two new levels and
      templates for three common licenses.
      (_gpgrt_set_strusage): Rename from set_strusage.
      (_gpgrt_set_usage_outfnc): New.
      (_gpgrt_set_fixed_string_mapper): New.
      
      * tests/t-argparse.c: New.
      --
      
      These functions are in use by GnuPG and other software for 20 years
      and it makes sense to have them always available instead of copying
      and maintaing the source in several projects.  Note that there are
      minor changes in the API compared to GnuPG.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      13d6fbfd
    • Werner Koch's avatar
      core: Import argparse code from gnupg master · 1beb22fc
      Werner Koch authored
      --
      1beb22fc
  11. 18 Mar, 2018 1 commit
  12. 14 Mar, 2018 1 commit
    • Werner Koch's avatar
      core: Fix building on W64 · c36a6068
      Werner Koch authored
      * src/w32-add.h: Remove hack to define pid_t.
      * src/gpg-error.h.in: Eval macro to define pid_t.
      * src/mkheader.c (have_sys_types_h, sys_types_h_included): New.
      (parse_config_h): Test for sys/types.h.
      (write_special): Protect inclusion of sys/types.h.  Define new macro
      'define:pid_t'.
      --
      
      Regression-due-to: 1865c0ba
      
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      c36a6068