aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* yat2m: Fix HTML output for backslash.NIIBE Yutaka2023-11-161-1/+1
| | | | | | | | * doc/yat2m.c (proc_texi_buffer): Use &bsol. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Implement @item handling with @table item specification.NIIBE Yutaka2023-11-151-2/+61
| | | | | | | | | | | | | * doc/yat2m.c (MAX_TABLE_NESTING): New. (table_item_stack): New. (proc_texi_cmd): Add @gcctabopt and @gnupgtabopt. Add handling of @item argument with proc_texi_buffer. Add handling of @table argument, push to table_item_stack. -- GnuPG-bug-id: 6674 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Also handle @file treating '-' as minus.NIIBE Yutaka2023-11-151-1/+1
| | | | | | | | * doc/yat2m.c (proc_texi_cmd): It's minus for @file. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Output \- for @samp, @kbd, and @env, too.NIIBE Yutaka2023-11-141-3/+3
| | | | | | | | * doc/yat2m.c (proc_texi_cmd): Support more commands. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Generate \- for roff for some commands.NIIBE Yutaka2023-11-091-36/+57
| | | | | | | | | | | | * doc/yat2m.c (proc_texi_cmd): New flag to enable generating \- for roff for @command, @code, @url and @option for their argument, and @example and @smallexample until their @end. (proc_texi_buffer): Emit \- when enabled. -- GnuPG-bug-id: 6674 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Add support of @minus{} command.NIIBE Yutaka2023-11-071-0/+1
| | | | | | | | | * doc/yat2m.c (proc_texi_cmd): Support @minus. -- GnuPG-bug-id: 6674 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Use \fP to return previous font.NIIBE Yutaka2023-11-071-10/+10
| | | | | | | | | | | | | | * doc/yat2m.c (proc_texi_cmd): Use \fP instead of \fR. -- This can fix the output of following input (in gpg.texi): @item --list-filter @{select=@var{expr}@} The last right brace is in bold font. Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Fix backslash output in man.NIIBE Yutaka2023-11-071-1/+1
| | | | | | | | * doc/yat2m.c (proc_texi_buffer): Use \[rs] for backslash. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Parse @dots{} to show ellipsis in HTML mode.Ben Kibbey2023-11-071-0/+1
| | | | | | | * doc/yat2m.c (proc_texi_cmd): Add "dots" to comamnd table and output "..." in manpages and ellipsis in HTML mode. Signed-off-by: Ben Kibbey <[email protected]>
* yat2m: No en-dash and em-dash for @item line.NIIBE Yutaka2023-11-061-6/+14
| | | | | | | | | | * doc/yat2m.c (proc_texi_cmd): Disable parsing for dashes for @item. -- GnuPG-bug-id: 6746 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Interpret -- and --- verbatimly in @example.NIIBE Yutaka2023-11-021-3/+10
| | | | | | | | | | | * doc/yat2m.c (example_cmd_active): New. (proc_texi_cmd): Don't apply the processing for en-dash and em-dash when it's in @example/@smallexample. -- GnuPG-bug-id: 6746 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Support Texinfo input -- and ---.NIIBE Yutaka2023-11-021-0/+18
| | | | | | | | | * doc/yat2m.c (proc_texi_buffer): Handle en-dash and em-dash. -- GnuPG-bug-id: 6746 Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Minor style fix.NIIBE Yutaka2023-10-051-3/+3
| | | | Signed-off-by: NIIBE Yutaka <[email protected]>
* estream: String filter should NOT be called with non-nul string.NIIBE Yutaka2023-09-271-3/+8
| | | | | | | | | | * src/estream-printf.c (pr_string): Call the string filter function SF conditionally to avoid possible SEGV. -- GnuPG-bug-id: 6737 Signed-off-by: NIIBE Yutaka <[email protected]>
* Fix the previous commit.NIIBE Yutaka2023-09-011-1/+1
| | | | Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Change the default for --with-libtool-modification.NIIBE Yutaka2023-09-011-1/+1
| | | | | | | | | * configure.ac (--with-libtool-modification): default=never. -- GnuPG-bug-id: 6619 Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Update libtool-patch.sed.NIIBE Yutaka2023-08-091-17/+51
| | | | | | | | | * build-aux/libtool-patch.sed: Fail with exit code 1, when it doesn't go well. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Use sed for --with-libtool-modification.NIIBE Yutaka2023-08-083-2/+37
| | | | | | | | | | | | * configure.ac (--with-libtool-modification): Use sed. -- I crafted a sed script so that it can work well against multiple versions of libtool. Tested with 2.4.2 and 2.4.7. GnuPG-bug-id: 6619 Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Add build-aux/libtool.patch in the tarball.NIIBE Yutaka2023-08-042-2/+3
| | | | | | * Makefile.am (EXTRA_DIST): build-aux/libtool.patch. Signed-off-by: NIIBE Yutaka <[email protected]>
* build: New configure option --with-libtool-modification.NIIBE Yutaka2023-08-021-2/+26
| | | | | | | | | * configure.ac (--with-libtool-modification): New. -- GnuPG-bug-id: 6619 Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Fix libtool modification.NIIBE Yutaka2023-07-283-13/+13
| | | | | | | | | | | * 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]>
* build: Support --verbose option for mkheader.NIIBE Yutaka2023-07-281-4/+15
| | | | | | | | | | * 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: Apply libtool.patch at the last stage of configure.NIIBE Yutaka2023-07-273-13/+58
| | | | | | | | | | | | | * 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]>
* yat2m: No additional newline after the end of subsection.NIIBE Yutaka2023-07-271-0/+2
| | | | | | | | * doc/yat2m.c (proc_texi_buffer): Add 'break' in switch. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Recover the local change for libtool.NIIBE Yutaka2023-07-271-1/+13
| | | | | | | | | | | * 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: Update libtool from version 2.4.7.NIIBE Yutaka2023-07-278-3256/+5485
| | | | | | | | | | | | | * 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]>
* build: Update autobuild.m4 from autobuild 5.3.NIIBE Yutaka2023-07-271-28/+34
| | | | | | | | * m4/autobuild.m4: Update. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* gpgscm: Incorporate changes from GnuPG.NIIBE Yutaka2023-07-172-2/+11
| | | | | | | | | | | | | * 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]>
* yat2m: Fix Windows buildWerner Koch2023-06-121-1/+12
| | | | | | | * doc/yat2m.c (mystpcpy): New. Use instead of stpcpy. -- Fixes-commit: 43dcdbff50fa33728ab4717cacdf8ff600aea3b9
* w32: Map ERROR_FILE_INVALID to EIO.Werner Koch2023-06-091-0/+3
| | | | | | | * src/estream.c (map_w32_to_errno): Add a mapping. -- We see this error sometimes when writing to an USB connected disk.
* yat2m: Add option --gnupgorgWerner Koch2023-06-091-3/+62
|
* yat2m: Some basic HTML formatting works now.Werner Koch2023-06-011-37/+398
| | | | | | | | * 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.
* doc: Typo fixWerner Koch2023-05-261-1/+1
| | | | --
* Add GNU system support for cross compilation.NIIBE Yutaka2023-05-261-1/+1
| | | | | | | | | * configure.ac: Cross compile should work well for GNU system. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* core: Add hurd-amd64 supportSamuel Thibault2023-05-243-0/+27
| | | | | | | -- This supports the x86_64-pc-gnu triplet Signed-off-by: Samuel Thibault <[email protected]>
* core: New mode flag "sequential" for gpgrt_fopen.Werner Koch2023-05-241-3/+24
| | | | | | | * 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.
* w32: Use _putenv_s when available.NIIBE Yutaka2023-05-171-4/+28
| | | | | | | | | * 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: Use -no-fast-install LDFLAGS for Windows.NIIBE Yutaka2023-05-111-0/+4
| | | | | | | | * tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* Update autogen.sh to better support gpg4winWerner Koch2023-04-131-6/+15
| | | | --
* gpgrt-config: Simplify to set gpgrt_libdir.NIIBE Yutaka2023-04-101-6/+3
| | | | | | | | * src/gpgrt-config.in (determine_gpgrt_libdir): Merge the two cases. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* po: Update Japanese Translation.NIIBE Yutaka2023-04-071-11/+7
| | | | | | -- Signed-off-by: NIIBE Yutaka <[email protected]>
* Post release updatesWerner Koch2023-04-062-1/+8
| | | | --
* Release 1.47libgpg-error-1.47gpgrt-1.47Werner Koch2023-04-065-8/+8
|
* po: Auto updateWerner Koch2023-04-0620-0/+320
| | | | --
* build: Make distcheck work againWerner Koch2023-04-062-1/+16
| | | | | * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add with --install-gpg-error-config.
* core: New error codes for PUKs and reset codes.Werner Koch2023-04-064-2/+28
| | | | | | | | * 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
* core: Add GPG_ERR_SOURCE_TKD.NIIBE Yutaka2023-04-042-1/+6
| | | | | | | | * src/err-sources.h.in (GPG_ERR_SOURCE_TKD): New. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* m4: Fix behavior with older gpg-error-config and gpgrt-config.NIIBE Yutaka2023-04-011-1/+2
| | | | | | | | | | | | * 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]>
* m4: Fallback to $possible_libdir1, when not found with $CC.NIIBE Yutaka2023-03-231-7/+4
| | | | | | | | | | * 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]>
* Avoid segv in logging with improper use of the "socket://" .Werner Koch2023-03-212-2/+6
| | | | | | | | | * 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.