1. 11 Jan, 2022 4 commits
  2. 19 Dec, 2021 3 commits
  3. 03 Nov, 2021 5 commits
  4. 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
  5. 22 Oct, 2021 1 commit
  6. 27 Sep, 2021 1 commit
  7. 10 Sep, 2021 1 commit
  8. 26 Aug, 2021 1 commit
  9. 22 Aug, 2021 2 commits
  10. 20 Aug, 2021 2 commits
  11. 19 Aug, 2021 2 commits
  12. 06 Aug, 2021 3 commits
  13. 05 Aug, 2021 2 commits
  14. 21 Jun, 2021 1 commit
  15. 08 Jun, 2021 1 commit
  16. 21 May, 2021 1 commit
  17. 20 May, 2021 1 commit
  18. 04 May, 2021 7 commits
  19. 12 Apr, 2021 1 commit