| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
* configure.ac (--with-libtool-modification): New.
--
GnuPG-bug-id: 6619
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
* build-aux/ltmain.sh: Fix reverting mistake.
* build-aux/libtool.patch: Regenerate and fix whitespace mistake.
* configure.ac [x86_64-*mingw32*] (libtool-patch): Exit when failed.
--
Fixes-commit: c1d3f5952f621a553c122cee7a20e990d982a715
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
* src/mkheader.c (include_file): Only emit the notification when
invoked with --verbose.
(main): Add --verbose handling.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* build-aux/libtool.patch: New.
* build-aux/ltmain.sh: Revert our local change to original.
* configure.ac [x86_64-*mingw32*] (libtool-patch): Introduce a
construct with AC_CONFIG_COMMANDS to apply build-aux/libtool.patch
after libtool generation.
--
GnuPG-bug-id: 6619
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
| |
* doc/yat2m.c (proc_texi_buffer): Add 'break' in switch.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
* ltmain.sh: Prefix the SO number for W64 with a "6".
--
Forward port our local change of commit:
ca46b9a7bccb2eab085fc45722ffca1210f48223
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* build-aux/compile, build-aux/depcomp, build-aux/ltmain.sh: Update.
* m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4: Update.
* m4/ltversion.m4, m4/lt~obsolete.m4: Update.
--
This is a breaking change because we have been maintaining local
changes. It is going to be fixed by the following commit.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
| |
* m4/autobuild.m4: Update.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gpgscm/scheme.c [__GNUC__] (type_to_string): Use
__builtin_unreachable for GCC.
* gpgscm/ffi.c (do_get_temp_path): Remove the last backslash.
* gpgscm/ffi.c (do_chdir): Use gpg_error_from_syserror.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
| |
* doc/yat2m.c (mystpcpy): New. Use instead of stpcpy.
--
Fixes-commit: 43dcdbff50fa33728ab4717cacdf8ff600aea3b9
|
|
|
|
|
|
|
| |
* src/estream.c (map_w32_to_errno): Add a mapping.
--
We see this error sometimes when writing to an USB connected disk.
|
| |
|
|
|
|
|
|
|
|
| |
* doc/yat2m.c: Lots of changes for option --html.
--
One of the remaining problem is that we do not insert <p>...</p>
Might me better done on the final HTML with a second pass.
|
|
|
|
| |
--
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Cross compile should work well for
GNU system.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
| |
--
This supports the x86_64-pc-gnu triplet
Signed-off-by: Samuel Thibault <[email protected]>
|
|
|
|
|
|
|
| |
* src/estream.c (X_SEQUENTIAL): New.
(func_file_create_w32): Add arg flags_and_attrs,
(parse_mode): Parse the new "sequenial" flag.
(_gpgrt_fopen): Use the sequenial flag in sysopen mode under Windows.
|
|
|
|
|
|
|
|
|
| |
* src/sysutils.c (_gpgrt_setenv): Use _putenv_s when the macro
_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES is defined.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
| |
* tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
| |
--
|
|
|
|
|
|
|
|
| |
* src/gpgrt-config.in (determine_gpgrt_libdir): Merge the two cases.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
| |
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
| |
--
|
| |
|
|
|
|
| |
--
|
|
|
|
|
| |
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add
with --install-gpg-error-config.
|
|
|
|
|
|
|
|
| |
* src/err-codes.h.in (GPG_ERR_BAD_PUK): New
(GPG_ERR_NO_RESET_CODE, GPG_ERR_BAD_RESET_CODE): New.
--
Also updated the German translation
|
|
|
|
|
|
|
|
| |
* src/err-sources.h.in (GPG_ERR_SOURCE_TKD): New.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.m4 (_AM_PATH_GPGRT_CONFIG): Set the variable
gpg_error_config_version on error with gpgrt-config.
--
When detecting older gpgrt-config (<= 1.35), make sure to set
the variable.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.m4: Try $possible_libdir1 for gpgrt_libdir.
--
GnuPG-bug-id: 6388
Reported-by: Andrew Collier <[email protected]>
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
| |
* src/logging.c (fun_writer): Protect calling socket_dir_cb if not
set.
--
If no callback has been registered the use of the "socket://" shortcut
caused a segv.
|
|
|
|
| |
* autogen.sh: Introduce a 3rd matchstr and simplify rules.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/argparse.c (show_help): Do not translate the empty string.
--
PO files use the empty string for meta information. However, to mark
the end of the heder group we also use an empty string and that one
gets translated - boom. Example of this error:
[...]
-u, --local-user USER-ID [...]
Project-Id-Version: gnupg-2.3.0
Report-Msgid-Bugs-To: [email protected]
PO-Revision-Date: 2022-10-07 09:52+0200
Last-Translator: Werner Koch <[email protected]>
Language-Team: German <[email protected]>
Language: de
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Plural-Forms: nplurals=2; plural=n != 1;
:
(Auf der "man"-Seite ist eine volls[...]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/t-printf.c (check_fwrite): New.
(main): Add check_fwrite.
* tests/t-strerror.c (main): Add three more cases to LIST.
--
The string in check_fwrite is from the Gateless Gate, for
people who want to discuss "Niente". --- gniibe
Co-authored-by: NIIBE Yutaka <[email protected]>
Signed-off-by: "pengyi" <[email protected]>
|
|
|
|
|
|
|
|
|
| |
* src/strerror.c (system_strerror_r): Make sure to fill the buffer.
--
Suggested-by: John Scott <[email protected]>
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
| |
* src/gpgrt-config.in (determine_gpgrt_libdir): New.
--
GnuPG-bug-id: 6288
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Makefile.am (myman_pages): Add gpgrt-config.1.
* doc/gpgrt.texi: Add gpgrt-config.1.
--
GnuPG-bug-id: 6288
Co-authored-by: Andreas Metzler <[email protected]>
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.m4 (_AM_PATH_POSSIBLE_GPG_ERROR_CONFIG): New.
(_AM_PATH_GPGRT_CONFIG): New.
(AM_PATH_GPG_ERROR): Use _AM_PATH_POSSIBLE_GPG_ERROR_CONFIG
and _AM_PATH_GPGRT_CONFIG.
--
GnuPG-bug-id: 6273
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 43c1e85fe29a52a9debc068d97c5860a4694b821.
--
It's a bit early to expose these functions.
GnuPG-bug-id: 6249
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (AC_FUNC_FORK): No use.
* src/gpg-error.h.in (@define:gpgrt_process_t@): New.
(@define:pid_t@): Remove.
(gpgrt_spawn_process, gpgrt_spawn_process_fd): Use gpgrt_process_t.
(gpgrt_wait_process, gpgrt_wait_processes): Likewise.
(gpgrt_kill_process, gpgrt_release_process): Likewise.
* src/gpgrt-int.h (_gpgrt_spawn_process): Likewise.
(_gpgrt_spawn_process_fd): Likewise.
(_gpgrt_wait_process, _gpgrt_wait_processes): Likewise.
(_gpgrt_kill_process, _gpgrt_release_process): Likewise.
* src/mkheader.c (write_special): Handle @define:gpgrt_process_t@.
Remove handling of @define:pid_t@.
* src/spawn-posix.c (_gpgrt_spawn_process): Use gpgrt_process_t.
(_gpgrt_spawn_process_fd): Likewise.
(_gpgrt_wait_process, _gpgrt_wait_processes): Likewise.
(_gpgrt_kill_process, _gpgrt_release_process): Likewise.
* src/spawn-w32.c (_gpgrt_spawn_process): Use gpgrt_process_t.
(_gpgrt_spawn_process_fd): Likewise.
(_gpgrt_wait_process, _gpgrt_wait_processes): Likewise.
(_gpgrt_kill_process, _gpgrt_release_process): Likewise.
--
GnuPG-bug-id: 6249
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.def.in (gpgrt_close_all_fds): New.
* src/gpg-error.vers (gpgrt_close_all_fds): New.
* src/gpg-error.h.in (GPGRT_SPAWN_INHERIT_FILE): New.
(gpgrt_spawn_process_fd): SPAWN_CB having return value.
* src/gpgrt-int.h (_gpgrt_spawn_process_fd): SPAWN_CB change.
* src/spawn-posix.c (_gpgrt_close_all_fds): Rename from close_all_fds,
and export it.
(do_exec): Support the case not closing fds.
(_gpgrt_spawn_process_fd): Handle return value of SPAWN_CB to
determine closing all fds or not.
* src/spawn-w32.c (_gpgrt_spawn_process_fd): Run SPAWN_CB.
(_gpgrt_close_all_fds): New.
* src/visibility.c (gpgrt_close_all_fds): New.
* src/visibility.h (gpgrt_close_all_fds): New.
--
Now, we have the API of gpgrt_spawn_process_fd for POSIX and Windows.
Giving portable semantics for spawning a process is difficult, and it
is still difficult for users to writing a function for SPAWN_CB with
portability, but gpgrt_spawn_process_fd gives the feature of spawning
a process.
GnuPG-bug-id: 6249
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.def.in: Update.
* src/gpg-error.vers: Update.
* src/gpg-error.h.in: Add declarations.
* src/visibility.c: Add implementations.
* src/visibility.h: Expose them.
--
GnuPG-bug-id: 6249
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
| |
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.h.in (gpgrt_spawn_process): Remove PREEXEC argument.
(gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG.
* src/gpgrt-int.h (_gpgrt_spawn_process): Remove PREEXEC argument.
(_gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG.
* src/spawn-posix.c (do_exec): Remove PREEXEC argument.
(_gpgrt_spawn_process): Remove PREEXEC argument.
(_gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG.
(_gpgrt_spawn_process_detached): Follow the change of do_exec.
* src/spawn-w32.c (_gpgrt_spawn_process): Remove PREEXEC argument.
(_gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG.
* src/visibility.c (gpgrt_spawn_process): Remove PREEXEC argument.
(gpgrt_spawn_process_fd): Add AFTER_FORK_CB and AFTER_FORK_CB_ARG.
--
GnuPG-bug-id: 6249
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.h.in (GPGRT_SPAWN_KEEP_STDIN): New.
(GPGRT_SPAWN_KEEP_STDOUT, GPGRT_SPAWN_KEEP_STDERR): New.
* src/gpgrt-int.h: Add comment.
* src/spawn-posix.c (do_exec): Add the argument FLAGS.
(_gpgrt_spawn_process): Add FLAGS.
(_gpgrt_spawn_process_fd): Follow the change.
(_gpgrt_spawn_process_detached): Likewise.
* src/spawn-w32.c (_gpgrt_spawn_process): Handle FLAGS.
--
This commit imports GnuPG master commit of:
6d6438a361d25f3b269f702e017f5e39fd1f5c38
GnuPG-bug-id: 6249
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
* potomo: Remove.
--
It was used when some po files were not in UTF-8. Now, we use
msgfmt, and it was removed form EXTRA_DIST already.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
|
|
| |
--
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.m4 (GPGRT_CONFIG): Handle the case where none of the
system lib directories contain a pkgconfig subdirectory.
--
When we look for gpgrt_libdir, there's a corner case if we had been able
to obtain system libdirs (using `cc -print-search-dirs`) *but* none of
those system libdirs happen to contain a valid pkgconfig subdirectory
(which may be unlikely but can and does happen when cross-compiling).
We do test for the case where we have not obtained any system libdir at
all, in which case we fallback to `${gpgrt_prefix}/lib`
(`possible_libdir1`), but we do not test if the list of libdir
candidates is reduced to nothing after we have eliminated all the
libdirs that do not contain a pkgconfig subdirectory.
This patch adds a test for this precise case.
Signed-off-by: Damien Goutte-Gattat <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/Makefile.am (myman_pages): Rename man page to gpg-error-config.1
and only install if gpg-error-config itself is installed.
--
The man page embedded within doc/gpgrt.texi has recently been renamed
from gpgrt-config.1 to gpg-error-config.1, but the Makefile.am was still
referring to the old name, resulting in a `make install` failure.
Also make the man page installation conditional on
--enable-install-gpg-error-config, as there is no point in having the
man page if the corresponding tool is not installed.
Signed-off-by: Damien Goutte-Gattat <[email protected]>
|