- 14 Jan, 2021 2 commits
-
-
Andreas Metzler authored
-
Andreas Metzler authored
-
- 21 Dec, 2020 9 commits
-
-
Werner Koch authored
-
Werner Koch authored
* src/argparse.c (_gpgrt_argparse): Entirely skip ignored sysconf commands. Fix state transitions in the ignore case.
-
Werner Koch authored
--
-
Werner Koch authored
--
-
Werner Koch authored
* configure.ac: Bump LT version to C31/A31/R0.
-
Werner Koch authored
--
-
Werner Koch authored
--
-
Jakub Bogusz authored
--
-
Werner Koch authored
* src/sysutils.c (_gpgrt_getusername) [W32]: Use GetUserNameW. -- This is used by argparse for user specific parts. Tested using the echo meta-command. Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 18 Dec, 2020 1 commit
-
-
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:Werner Koch <wk@gnupg.org>
-
- 08 Dec, 2020 1 commit
-
-
Andreas Metzler authored
-
- 07 Dec, 2020 1 commit
-
-
NIIBE Yutaka authored
* configure.ac (CROSS_HOST_OBJDUMP): Remove, but use AC_CHECK_TOOL. -- Co-authored-by: John Ericson Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org>
-
- 17 Nov, 2020 2 commits
-
-
NIIBE Yutaka authored
* src/gpg-error.m4: Replace AC_HELP_STRING to AS_HELP_STRING. Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org> -
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 <gniibe@fsij.org>
-
- 19 Oct, 2020 1 commit
-
-
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
-
- 09 Oct, 2020 1 commit
-
-
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.
-
- 08 Oct, 2020 1 commit
-
-
Werner Koch authored
--
-
- 25 Aug, 2020 1 commit
-
-
NIIBE Yutaka authored
-- Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org>
-
- 24 Aug, 2020 2 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
-
- 21 Aug, 2020 2 commits
-
-
Werner Koch authored
* src/protos.h: New. * src/Makefile.am (libgpg_error_la_SOURCES): Add file. * src/gpgrt-int.h: Include protos.h. * src/sysutils.c (_gpgrt_mkdir) [W32]: Make UTF-8 aware. (_gpgrt_chdir) [W32]: Ditto. * src/w32-gettext.c: Include protos.h. (utf8_to_wchar): Allow for strings. (_gpgrt_utf8_to_wchar): New. (_gpgrt_free_wchar): New. * src/estream.c (map_w32_to_errno): Add more error codes. (_gpgrt_w32_set_errno): New. (any8bitchar) [W32]: New helper. (func_file_create) [W32]: Convert file name and use _wopen. -- GnuPG-bug-id: 4083 Signed-off-by:Werner Koch <wk@gnupg.org>
-
NIIBE Yutaka authored
* src/argparse.c (arg_parse): Avoid null dereference when ARGC is wrong. Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org>
-
- 17 Aug, 2020 1 commit
-
-
Werner Koch authored
* src/argparse.c (ARGPARSE_FLAG__INITIALIZED): Make sure it is an unsigned int. -- GnuPG-bug-id: 5026
-
- 11 Aug, 2020 1 commit
-
-
Werner Koch authored
* src/w32-estream.c (_gpgrt_w32_poll): Sleep if there are no handles to wait for. -- This better matches the semantics of poll and select and avoid busy waitins. We had this problem for example in the LDAP helper process reaper of GnuPG's Dirmngr. Signed-off-by:Werner Koch <wk@gnupg.org>
-
- 05 Aug, 2020 1 commit
-
-
Werner Koch authored
* src/gpg-error.c (main): Add printing code. -- This was lost while changing to the included option parser back in 2018. The new code also does some prettying of the output. Fixes-commit: 11ce9bc3 Signed-off-by:
Werner Koch <wk@gnupg.org>
-
- 03 Aug, 2020 1 commit
-
-
NIIBE Yutaka authored
* src/gpgrt-config.in (get_attr_l): New. (all_required_config_files): Use get_attr_l. -- GnuPG-bug-id: 5010 Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org>
-
- 15 Jul, 2020 1 commit
-
-
NIIBE Yutaka authored
* src/gpg-error.def.in (gpgrt_fcancel): Add. Fixes-commit: 3413489d Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org>
-
- 26 Jun, 2020 1 commit
-
-
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:Werner Koch <wk@gnupg.org>
-
- 15 Jun, 2020 1 commit
-
-
NIIBE Yutaka authored
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_SYSROOT_DIR. GnuPG-bug-id: 4973 Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org>
-
- 11 Jun, 2020 2 commits
-
-
NIIBE Yutaka authored
* configure.ac: Mistake, then, fix it. Fixes-commit: ce97528f Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org> -
NIIBE Yutaka authored
* configure.ac [*-*-linux*] (CROSS_HOST_OBJDUMP): New. -- To support widely, we could also use objdump configured for multiple archs which supports host's format (instead of $host_alias-objdump), like objdump in binutils-multiarch of Debian, but it's not that easy to maintain the code to determine format name from $host_alias. Or we could use eu-size in elfutils. GnuPG-bug-id: 4973 Signed-off-by:
NIIBE Yutaka <gniibe@fsij.org>
-
- 03 Jun, 2020 1 commit
-
-
* configure.ac: Create the src directory before writing into it. * src/Makefile.am (EXTRA_DIST): Add gen-lock-obj.sh. -- Signed-off-by:David Michael <fedora.dm0@gmail.com>
-
- 29 May, 2020 6 commits
-
-
Daniel Kahn Gillmor authored
-
Werner Koch authored
--
-
Werner Koch authored
-
Werner Koch authored
--
-
Yuri Chornoivan authored
-
Ineiev authored
-