1. 14 Jan, 2021 2 commits
  2. 21 Dec, 2020 9 commits
  3. 18 Dec, 2020 1 commit
    • Werner Koch's avatar
      core: Fix the "ignore" meta command of the argparser. · 4b09c8c2
      Werner Koch authored
      
      
      * src/argparse.c (_gpgrt_argparse): Factor some code out to ...
      (prepare_arg_return): new.
      (_gpgrt_argparse): No missing arg error in ignore sections.
      --
      
      Options in an [ignore] section do not anymore lead to an error if an
      argument is missing.  However, if the option is also in a force
      section the error is thrown.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      4b09c8c2
  4. 08 Dec, 2020 1 commit
  5. 07 Dec, 2020 1 commit
  6. 17 Nov, 2020 2 commits
    • NIIBE Yutaka's avatar
      m4: Update with newer autoconf constructs. · 8047ca99
      NIIBE Yutaka authored
      
      
      * src/gpg-error.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
      
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      8047ca99
    • NIIBE Yutaka's avatar
      build: Update to new autoconf constructs. · 41d753e2
      NIIBE Yutaka authored
      
      
      * configure.ac Replace AC_GNU_SOURCE to Use AC_USE_SYSTEM_EXTENSIONS.
      Replace AC_HELP_STRING to AS_HELP_STRING.
      * m4/estream.m4: Replace AC_TRY_LINK to AC_LINK_IFELSE.
      * m4/gnupg-misc.m4: Replace AC_TRY_COMPILE to AC_COMPILE_IFELSE.
      * m4/libtool.m4: Use AC_LANG_PUSH/AC_LANG_POP instead of
      AC_LANG_SAVE/AC_LANG_RESTORE.
      * m4/readline.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
      Fix quote for _combo.
      * m4/threadlib.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
      
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      41d753e2
  7. 19 Oct, 2020 1 commit
    • Werner Koch's avatar
      New public function gpgrt_access. · 4764c5a3
      Werner Koch authored
      * src/gpg-error.h.in (gpgrt_access): New.
      * src/gpg-error.vers. src/gpg-error.def.in: Add new function.
      * src/sysutils.c (any8bitchar): New.
      (_gpgrt_access): New.
      * src/visibility.c (gpgrt_access): New.
      
      * src/spawn-w32.c (_gpgrt_spawn_process_detached): Use it.
      * src/argparse.c (try_versioned_conffile): Use it.
      * tests/t-stringutils.c (check_access): New simple test.
      --
      
      This is basically a wrapper to allow handling of utf8 encoded file
      names on Windows.  This also fixes the case for versioned config files
      in directories with non-ascii characters.
      
      The new test needs to be run manually on Windows using a directory
      with Unicode characters.
      
      GnuPG-bug-id: 5098
      4764c5a3
  8. 09 Oct, 2020 1 commit
    • Werner Koch's avatar
      w32: Support utf8 also for getcwd. · dbedf190
      Werner Koch authored
      * src/sysutils.c (_gpgrt_getcwd) [W32]: Implement utf-8 support.
      * src/w32-gettext.c (wchar_to_native): Factor some code out to ..
      (wchar_to_cp): new.
      (_gpgrt_wchar_to_utf8): New.
      * tests/t-stringutils.c: Include windows.h.
      (utf8_to_wchar): New.
      (wchar_to_utf8): New.
      (mygetcwd): Use wchar version for Windows.
      (main): New option --pwd.
      dbedf190
  9. 08 Oct, 2020 1 commit
  10. 25 Aug, 2020 1 commit
  11. 24 Aug, 2020 2 commits
  12. 21 Aug, 2020 2 commits
  13. 17 Aug, 2020 1 commit
  14. 11 Aug, 2020 1 commit
  15. 05 Aug, 2020 1 commit
  16. 03 Aug, 2020 1 commit
  17. 15 Jul, 2020 1 commit
  18. 26 Jun, 2020 1 commit
    • Werner Koch's avatar
      estream: Add gpgrt_fcancel · 3413489d
      Werner Koch authored
      
      
      * src/estream.c (do_close): Add arg 'cancel_mode' and chnage all
      callers.
      (_gpgrt_fcancel): New.
      * src/gpg-error.def.in, src/gpg-error.vers: Add function.
      * src/visibility.c (gpgrt_fcancel): New.
      * src/gpg-error.h.in (gpgrt_fcancel): New.
      --
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      3413489d
  19. 15 Jun, 2020 1 commit
  20. 11 Jun, 2020 2 commits
  21. 03 Jun, 2020 1 commit
  22. 29 May, 2020 6 commits