<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libgpg-error/src, branch gpgrt-1.54</title>
<subtitle>Error codes used by GnuPG et al.</subtitle>
<id>http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=gpgrt-1.54</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/libgpg-error/atom?h=gpgrt-1.54'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/'/>
<updated>2025-04-17T12:50:42Z</updated>
<entry>
<title>Release 1.54</title>
<updated>2025-04-17T12:50:42Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-17T12:45:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=9d47a0f1f8ae0b9aa4c2d0c230c08c8fbe243f42'/>
<id>urn:sha1:9d47a0f1f8ae0b9aa4c2d0c230c08c8fbe243f42</id>
<content type='text'>
</content>
</entry>
<entry>
<title>w32: Fix extended length path handling for UNC specified files.</title>
<updated>2025-04-16T16:22:46Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-16T16:22:46Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=28ae4ee194ec56e98123d3aceda130161dfd2df8'/>
<id>urn:sha1:28ae4ee194ec56e98123d3aceda130161dfd2df8</id>
<content type='text'>
* src/sysutils.c (_gpgrt_fname_to_wchar): Fix the extended length path
support for UNC file names.  Also add an envvar to disable the entire
extended length path support.
--

GnuPG-bug-id: 5754
Fixes-commit: a4a692fcf1ed128693ec6d64d5e3163775aad10b

With the last fix we fixed the extended length path support but it
also truned outa wrong implementaion of it for UNC.  Before the
previous patch the UNC support was already wrong but it exhibited
itself only when the requested UNC was already long.  The patch then
kicked in the support more often and in particular always if an UNC was
used (due to the new checking for backslashes and not just the
length).

To avoid further surprises we now have an envvar to disable that
support entirely.  But if should be correct now ;-).
</content>
</entry>
<entry>
<title>Add command --fopen to gpg-error to help testing</title>
<updated>2025-04-16T16:13:24Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-16T16:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=3c9beea348cdeaa3f3026a934b40badfb4d4bab2'/>
<id>urn:sha1:3c9beea348cdeaa3f3026a934b40badfb4d4bab2</id>
<content type='text'>
* src/gpg-error.c (main): Implement command --fopen.  Also ignore log
file settings from the Registry.
--

To test estream functions it is useful to have commands to run some of
them.  Here we use gpgrt_fopen (fname, "r,sysopen") for the --fopen
command.
</content>
</entry>
<entry>
<title>Use gpgrt_stream_t for the API of gpgrt_nvc_*.</title>
<updated>2025-04-09T00:25:51Z</updated>
<author>
<name>NIIBE Yutaka</name>
<email>gniibe@fsij.org</email>
</author>
<published>2025-04-09T00:25:51Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=32475a7868f5e2e1c274a65ecc6791375054eaa4'/>
<id>urn:sha1:32475a7868f5e2e1c274a65ecc6791375054eaa4</id>
<content type='text'>
* src/gpg-error.h.in (gpgrt_nvc_parse): Use gpgrt_stream_t.
(gpgrt_nvc_write): Likewise.

--

For applications with no GPGRT_ENABLE_ES_MACROS, it's good not to use
estream_t here.

Fixes-commit: 7ec1f27b60eec95297c5267ab5ebbdb73b263c3f
Signed-off-by: NIIBE Yutaka &lt;gniibe@fsij.org&gt;
</content>
</entry>
<entry>
<title>Release 1.52</title>
<updated>2025-04-08T07:07:39Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-08T07:01:36Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=be471d158e4951f4b17335b0fc9ae2387a786b5b'/>
<id>urn:sha1:be471d158e4951f4b17335b0fc9ae2387a786b5b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>argparse: Make getreg meta command work on Unix.</title>
<updated>2025-04-07T14:27:06Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T14:27:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=9864dd4d66342cca340f8ebe57f46b2fa274bac0'/>
<id>urn:sha1:9864dd4d66342cca340f8ebe57f46b2fa274bac0</id>
<content type='text'>
* src/argparse.c (_gpgrt_argparse_internal_s): Add fields no_registry
and registry.
(initialize): Init them.
(emulated_registry_lookup): New.
(handle_meta_getenv): Use it.
* tests/etc/t-argparse.conf: Add a getreg meta command.
* tests/t-argparse.c (opt): Add a disable-akr command.
* tests/etc/Registry: New.
</content>
</entry>
<entry>
<title>Add a section mode to the name-value functions.</title>
<updated>2025-04-07T12:31:38Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T12:31:38Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=d0b7d33536736ef6f3d41575b6f58b2d3a7c139b'/>
<id>urn:sha1:d0b7d33536736ef6f3d41575b6f58b2d3a7c139b</id>
<content type='text'>
* src/gpg-error.h.in (GPGRT_NVC_SECTION): New.
* src/name-value.c (_gpgrt_name_value_container): Add section_mode.
(_gpgrt_nvc_new): Set it.
(_gpgrt_nvc_get_flag): Return it.
(valid_name): Add arg sectionmode and change callers.
(do_nvc_parse): Parse section names in section mode.
(_gpgrt_nvc_write): Return an error in section mode.
</content>
</entry>
<entry>
<title>Allow name-value lookup w/o a trailing colon for the name.</title>
<updated>2025-04-07T09:20:53Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T09:20:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=afb277e5bdd92c16a4fdbd33b89dab4c03a5ae62'/>
<id>urn:sha1:afb277e5bdd92c16a4fdbd33b89dab4c03a5ae62</id>
<content type='text'>
* src/name-value.c (_gpgrt_name_value_entry): Add field namelen.
(ascii_memcasecmp): New.
(same_name_p): New.
(valid_name): Strip the colon and return the length.
(do_nvc_add): Set namelen.
(_gpgrt_nvc_lookup): Simplify.

* tests/t-name-value.c (test_getting_values): Add some extra tests.
--

The requirement for a colon after the name is too cumbersome.
</content>
</entry>
<entry>
<title>New public API gpgrt_nvc_* and gpgrt_nve_*</title>
<updated>2025-04-07T07:56:39Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T07:56:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=7ec1f27b60eec95297c5267ab5ebbdb73b263c3f'/>
<id>urn:sha1:7ec1f27b60eec95297c5267ab5ebbdb73b263c3f</id>
<content type='text'>
* src/name-value.c: New.
* tests/t-name-value.c: New.
* src/gpg-error.def.in: Add new functions.
* src/gpg-error.h.in: Ditto.
* src/gpg-error.vers: Ditto.
* src/visibility.c: Ditto.
* src/visibility.h: Ditto.
--

These new functions were originally added to GnuPG taken from current
GnuPG master.  The license has been changed from (LGPL-3.0-or-later OR
GPL-2.0-or-later) to LGPL-2.1-or-later: Everything was written by me
or employees/contractors of g10 Code GmbH.  The private key handling
has been removed because that would require Libgcrypt functions.  Some
functions are changed.
</content>
</entry>
<entry>
<title>Update the copyright notice.</title>
<updated>2025-04-07T07:50:37Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2025-04-07T07:50:37Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/libgpg-error/commit/?id=17bb01f86d1d75bb57418a0101c0f08a49bfdd07'/>
<id>urn:sha1:17bb01f86d1d75bb57418a0101c0f08a49bfdd07</id>
<content type='text'>
* configure.ac (GPGRT_STD_COPYRIGHT_LINE): New.
* src/gpg-error.c (my_strusage): Use it here.
</content>
</entry>
</feed>
