1. 22 Mar, 2021 3 commits
  2. 05 Mar, 2021 1 commit
  3. 04 Mar, 2021 1 commit
    • Werner Koch's avatar
      w32: Minor cleanup of w32-gettext · 3bf1de7b
      Werner Koch authored
      * src/w32-gettext.c: Include gpgrt.h instead gpg-error.h.
      (utf8_to_wchar): Use underscored function.
      (_gpg_w32_textdomain): Ditto.
      --
      3bf1de7b
  4. 18 Feb, 2021 1 commit
  5. 16 Feb, 2021 2 commits
  6. 15 Feb, 2021 1 commit
  7. 12 Feb, 2021 1 commit
  8. 10 Feb, 2021 1 commit
  9. 09 Feb, 2021 1 commit
  10. 07 Jan, 2021 1 commit
  11. 05 Jan, 2021 1 commit
  12. 28 Dec, 2020 1 commit
  13. 24 Dec, 2020 1 commit
  14. 21 Dec, 2020 10 commits
  15. 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
  16. 07 Dec, 2020 1 commit
  17. 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
  18. 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
  19. 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
  20. 08 Oct, 2020 1 commit
  21. 25 Aug, 2020 1 commit
  22. 24 Aug, 2020 2 commits
  23. 21 Aug, 2020 2 commits
  24. 17 Aug, 2020 1 commit
  25. 11 Aug, 2020 1 commit