aboutsummaryrefslogtreecommitdiffstats
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* yat2m: Release the memory after the use.NIIBE Yutaka11 days1-3/+19
| | | | | | | | | * doc/yat2m.c (add_content): Fix the type of LINE. (finish_page): Clean up. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* Time for a new error code; this time GPG_ERR_UNEXPECTED_PACKETWerner Koch2025-05-161-0/+5
| | | | | | | | | | -- We already have _tag which is used for ASN.1, _MSG which is used by protocols like WKS and TLS, and the GPG_ERR_UNEXPECTED which is unrelated the former one and means just that an error was not expected. OpenPGP also has some cases where a packet is not expected. A dedicated error code thus makes sense.
* yat2m: Improve html output.Werner Koch2024-04-251-5/+25
| | | | --
* 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]>
* 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]>
* yat2m: Fix Windows buildWerner Koch2023-06-121-1/+12
| | | | | | | * doc/yat2m.c (mystpcpy): New. Use instead of stpcpy. -- Fixes-commit: 43dcdbff50fa33728ab4717cacdf8ff600aea3b9
* 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.
* core: New error codes for PUKs and reset codes.Werner Koch2023-04-061-0/+11
| | | | | | | | * 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
* doc: Add man page of gpgrt-config.NIIBE Yutaka2022-11-292-2/+69
| | | | | | | | | | | * 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]>
* build: Fix installation of gpg-error-config.1.Damien Goutte-Gattat via Gnupg-devel2022-09-191-1/+5
| | | | | | | | | | | | | | | | * 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]>
* yat2m: Use __noreturn__ attribute.NIIBE Yutaka2022-09-151-1/+1
| | | | | | | | | * doc/yat2m.c (ATTR_NR_PRINTF): Use __noreturn__. -- GnuPG-bug-id: 4002 Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Update gpgrt.texi for old gpg-error-config script.NIIBE Yutaka2022-07-221-44/+47
| | | | | | | | | | | | | * doc/gpgrt.texi: Address pkg-config. Manual entry is for gpg-error-config. gpgrt-config is an internal command for gpg-error.m4. -- Remove about variable gpg_config_script_warn, which is only relevant to a use case of old gpg-error-config. Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Only emit a message of the page with --verbose option.NIIBE Yutaka2022-03-281-1/+2
| | | | | | | | * doc/yat2m.c (finish_page): Conditionalize the output with VERBOSE. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: New option --html and some basic html rendering.Werner Koch2021-01-071-43/+272
| | | | | | -- Not yet finished.
* doc: Add a description for GPG_ERR_USE_CONDITIONS.Werner Koch2021-01-051-0/+8
| | | | --
* New error codes for SQLiteWerner Koch2019-12-131-1/+70
| | | | | | | * src/err-codes.h.in: Add GPG_ERR_SQL_ codes. * src/gpg-error.h.in (gpg_err_code_from_sqlite): New. Signed-off-by: Werner Koch <[email protected]>
* New error codes NO_KEYBOXD, KEYBOXD, NO_SERVICE, and SERVICE.Werner Koch2019-08-051-1/+19
| | | | --
* build: Use {CFLAGS,CPPFLAGS, LDFLAGS}_FOR_BUILD for helper programsdkg-fix-T4643Daniel Kahn Gillmor2019-07-181-1/+2
| | | | | | | | | | | * doc/Makefile.am: add CPPFLAGS_FOR_BUILD for yat2m-for-build (other flags were already present). * src/Makefile.am: add {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for mkhelper, mkw32errmap, and mkerrcodes. Debian-bug-id: 932213 GnuPG-bug-id: 4643 Signed-off-by: Daniel Kahn Gillmor <[email protected]>
* yat2m: Change style for @samp and add @kbd.Werner Koch2019-04-041-3/+4
| | | | | | -- Also a few comment typo fixes.
* estream: Increase buffer size for Windows.Werner Koch2019-03-191-0/+1
| | | | | | | | * src/gpgrt-int.h (BUFFER_BLOCK_SIZE) [W32]: Increase from 512 to 8k. * src/w32-estream.c (READBUF_SIZE, WRITEBUF_SIZE): Increase from 4k to 8k. Signed-off-by: Werner Koch <[email protected]>
* New error codes NO_AUTH and BAD_AUTHWerner Koch2019-02-111-0/+9
| | | | | | | | | -- In particular for PIV cards ithe use of BAD_PIN sounds worong, thus we now use dedicated codes. Signed-off-by: Werner Koch <[email protected]>
* build: Fix regression in make distcheckWerner Koch2019-01-161-1/+1
| | | | | | | | * doc/Makefile.am (errorref.txt.x): -- Fixes-commit: fd6f64f1897e00b1d9711463ebb6ec7d099e1995 Signed-off-by: Werner Koch <[email protected]>
* build: Fix for BSD make.NIIBE Yutaka2019-01-151-1/+1
| | | | | | | | | | * doc/Makefile.am (errorref.txt.x): Don't use $<. -- Variable $< is only valid for suffix rules in BSD make. Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Describe some causes for GPG_ERR_NO_NAME.Werner Koch2019-01-091-5/+10
| | | | --
* Release 1.33.libgpg-error-1.33gpgrt-1.33Werner Koch2018-12-071-1/+1
| | | | | | | * configure.ac: Set LT version to C25/A25/R0. GnuPG-bug-id: 4205 Signed-off-by: Werner Koch <[email protected]>
* doc: Replace gpg-error-config by gpgrt-config.Werner Koch2018-12-071-24/+18
| | | | | | -- Signed-off-by: Werner Koch <[email protected]>
* yat2m: Avoid compiler warnings.NIIBE Yutaka2018-10-221-1/+1
| | | | | | * doc/yat2m.c (isodatestring): Prepare enough buffer. Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Use AX_CC_FOR_BUILD and EXEEXT.NIIBE Yutaka2018-07-111-12/+7
| | | | | | | | | | | | | | * configure.ac (AX_CC_FOR_BUILD): New. * doc/Makefile.am: Use EXEEXT and EXEEXT_FOR_BUILD. * m4/ac_prog_cc_for_build.m4: Remove. * m4/ax_cc_for_build.m4: New. -- Suggested-by: Michael Haubenwallner <[email protected]> Fixes-commit: 6eb80abcde5ad776379069871e4156b28ef69712 Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Now, yat2m is a standard tool.NIIBE Yutaka2018-07-111-5/+0
| | | | | | | | | | | | * configure.ac (YAT2M, HAVE_YAT2M): Remove. * doc/Makefile.am: Always use yat2m which comes with this source. -- Suggested-by: Michael Haubenwallner <[email protected]> Fixes-commit: 4dc6d4d2067c726cdb13593bf151637319ff65e6 Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Fix yat2m name for native w32 buildAndre Heinecke2018-05-031-0/+5
| | | | | | | * doc/Makefile.am: Handle not cross compiling but building for windows. Signed-off-by: Andre Heinecke <[email protected]>
* doc: Fix yat2m build for cross compilation.NIIBE Yutaka2018-04-131-1/+1
| | | | | | | | | | * doc/Makefile.am: Fix target of yat2m-for-build. -- GnuPG-bug-id: 3901 Fixes-commit: efc4769339d42a4a399c040c146cf4a29c02ea4f Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Make sure version.texi is generated in time.Damien Goutte-Gattat via Gnupg-devel2018-04-111-1/+1
| | | | | | | | | | | | | | | [[PGP Signed Part:Good signature from AA4373E6C82C78AD Damien Goutte-Gattat <[email protected]> (trust undefined) created at 2018-04-11T17:05:27+0200 using RSA]] [1. text/plain] * doc/Makefile.am (yat2m-stamp): Depend on version.texi. -- When building from a cloned Git repository and with `make -j 3` (or higher), the version.texi file may not have been generated yet when yat2m is called to generate the man page, resulting in a build failure. Signed-off-by: Damien Goutte-Gattat <[email protected]>
* doc: Fix previous commit.NIIBE Yutaka2018-03-271-4/+4
| | | | | | | -- Fixes-commit: efc4769339d42a4a399c040c146cf4a29c02ea4f Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Support cross compilation for yat2m.NIIBE Yutaka2018-03-271-2/+19
| | | | | | | | | | | | * configure.ac (HAVE_YAT2M): New. * doc/Makefile.am [CROSS_COMPILING]: Supported. -- Makefile portability is also improved. Fixes-commit: 4dc6d4d2067c726cdb13593bf151637319ff65e6 Signed-off-by: NIIBE Yutaka <[email protected]>
* yat2m: Avoid compiler warningsWerner Koch2018-03-221-5/+10
| | | | | | | * doc/yat2m.c (evaluate_conditions): Mark args unused (proc_texi_cmd): Avoid shadowing warning. Signed-off-by: Werner Koch <[email protected]>
* doc: Fix build and installation of yat2m.NIIBE Yutaka2018-03-221-23/+8
| | | | | | | | | | | | | * configure.ac (YAT2M): Require it when cross compiling. * doc/Makefile.am (bin_PROGRAMS): Add yat2m. -- Before 1.28, yat2m used to be an internal tool. Now, it's a standard tool. For native build, it is built and used for initial installation. For cross build, it is required on the build system. Signed-off-by: NIIBE Yutaka <[email protected]>
* build: Document how to use git send-email.Werner Koch2018-02-211-4/+10
| | | | | | | | | | * autogen.rc: Add patches_to. * autogen.sh: Run git config sendemail.to. * doc/HACKING: Describe use of git send-email. -- Co-authored-by: Todd Zullinger Signed-off-by: Werner Koch <[email protected]>