1. 03 Nov, 2021 5 commits
  2. 31 Oct, 2021 1 commit
    • Werner Koch's avatar
      argparse: Add support to read values from the Windows Registry. · b1790f4c
      Werner Koch authored
      
      
      * src/argparse.c (struct variable_s): New.
      (struct _gpgrt_argparse_internal_s): New fields expand, if_cond,
      if_active and vartbl.
      (deinitialize): Free vartbl.
      (initialize): Clear new vars.
      (get_var): New.
      (substitute_vars): New.
      (set_variable): New.
      (handle_meta_if): New.
      (handle_meta_let): New.
      (handle_meta_getenv): New.
      (handle_meta_echo): Re-implement in terms of variabale substitution.
      (handle_meta_expand): New.
      (handle_metacmd): Add new meta commands.
      (_gpgrt_argparse): Expand values if enabled.
      (_gpgrt_argparse): Take care of conditions.
      (_gpgrt_argparser): Reset some state at the end of a file.
      
      * tests/etc/t-argparse.conf: Adjust for changed system variables.
      * tests/t-argparse.c (my_strusage): Add a value for a version test.
      (main): Add new option "street".
      * tests/t-argparse.conf: A couple if additions for the new conditions.
      --
      
      The whole thing is actually only for here for doing this
      
      [let tkey HKLM\Foo\Bar\GnuPG:trusted-key-1]
      [if $tkey]
        trusted-key $tkey
      [fi]
      
      But we are hackers and tend to make things more complicated^Wflexible.
      Documentation will be done eventually.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      b1790f4c
  3. 22 Oct, 2021 1 commit
  4. 27 Sep, 2021 1 commit
  5. 10 Sep, 2021 1 commit
  6. 26 Aug, 2021 1 commit
  7. 06 Aug, 2021 3 commits
  8. 05 Aug, 2021 2 commits
  9. 21 Jun, 2021 1 commit
  10. 08 Jun, 2021 1 commit
  11. 21 May, 2021 1 commit
  12. 20 May, 2021 1 commit
  13. 12 Apr, 2021 1 commit
  14. 08 Apr, 2021 1 commit
  15. 07 Apr, 2021 1 commit
  16. 31 Mar, 2021 2 commits
  17. 26 Mar, 2021 1 commit
  18. 22 Mar, 2021 4 commits
  19. 05 Mar, 2021 1 commit
  20. 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
  21. 18 Feb, 2021 1 commit
  22. 16 Feb, 2021 2 commits
  23. 15 Feb, 2021 1 commit
  24. 12 Feb, 2021 1 commit
  25. 10 Feb, 2021 1 commit
  26. 09 Feb, 2021 1 commit
  27. 07 Jan, 2021 1 commit
  28. 05 Jan, 2021 1 commit