1. 08 Jul, 2019 1 commit
  2. 13 Jun, 2019 4 commits
  3. 06 Jun, 2019 4 commits
  4. 05 Jun, 2019 7 commits
  5. 04 Jun, 2019 5 commits
  6. 03 Jun, 2019 1 commit
  7. 06 May, 2019 3 commits
  8. 03 May, 2019 7 commits
  9. 02 May, 2019 1 commit
  10. 24 Apr, 2019 1 commit
  11. 19 Apr, 2019 2 commits
  12. 09 Apr, 2019 4 commits
    • Andre Heinecke's avatar
      core,w32: Fix minor potential memleak · 140d694e
      Andre Heinecke authored
      * src/w32-util.c (_gpgme_create_process_utf8): Free converted
      startup info strings.
      140d694e
    • Andre Heinecke's avatar
      core,w32: Fix new w32-util functions · ecbba12b
      Andre Heinecke authored
      * src/w32-util.c (_gpgme_access): Respect mode parameter.
      (_gpgme_create_process_utf8): Convert startupinfo, too.
      
      --
      This both did not show up in testing as we only use
      mode F_OK and STARTUPINFOA is basically the same as
      STARTUPINFOW.
      
      Fixes commit: a82e3a0a
      
      GnuPG-Bug-Id: T4453
      ecbba12b
    • Andre Heinecke's avatar
      core,w32: Improve handling of Unicode paths · a82e3a0a
      Andre Heinecke authored
      * src/dirinfo.c (get_gpgconf_item): Use _gpgme_access.
      * src/posix-util.c (_gpgme_access): Add forward to normal access.
      * src/sys-util.h (_gpgme_access): New for posix and w32.
      * src/w32-io.c (_gpgme_io_spawn): Use _gpgme_crate_process_utf8.
      * src/w32-util.c (utf8_to_wchar, utf8_to_wchar0): The usual w32 conv.
      (find_program_in_dir): Use _gpgme_access.
      (find_program_at_standard_place): Use wchar API and convert to UTF-8.
      (_gpgme_access): Convert UTF-8 to wchar and use wchar API.
      (_gpgme_create_process_utf8): Convert UTF-8 to wchar and use wchar API.
      
      --
      While we should not say that we have full support for unicode path
      installations of GnuPG, this ensures that GPGME works if GPGME
      itself is installed in a unicode path. e.g.: Libreoffice supports
      this.
      
      GnuPG-Bug-Id: T4453
      
      Based on a patch provided by Egor Pugin. Thanks.
      a82e3a0a
    • Andre Heinecke's avatar
      core,w32: Show w32-spawn warning only once · 937adfdc
      Andre Heinecke authored
      * src/w32-io.c (_gpgme_io_spawn): Show MessageBox only once.
      
      --
      This prevents multiple message boxes from showing when
      the GPGME installation is unworkable.
      
      GnuPG-Bug-Id: T4453
      937adfdc