[Pkg-gnupg-commit] [libgpg-error] 03/32: Add error WINDOW_TOO_SMALL, WINDOW_TOO_LARGE, and MISSING_ENVVAR.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Nov 16 01:31:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch master
in repository libgpg-error.

commit bc3e817bd7e671975f94bae20cbbf9a91fe3353b
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Sep 1 09:47:38 2016 +0200

    Add error WINDOW_TOO_SMALL, WINDOW_TOO_LARGE, and MISSING_ENVVAR.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 NEWS               |  5 ++++-
 doc/errorref.txt   | 39 +++++++++++++++++++++++++++++++++++++++
 src/err-codes.h.in |  6 +++++-
 3 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 31b2b75..f7e1af6 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,10 @@ Noteworthy changes in version 1.25 (unreleased) [C19/A19/R_)
 
  * Interface changes relative to the 1.23 release:
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- GPG_ERR_ENGINE_TOO_OLD           NEW.
+ GPG_ERR_ENGINE_TOO_OLD	          NEW.
+ GPG_ERR_WINDOW_TOO_SMALL         NEW.
+ GPG_ERR_WINDOW_TOO_LARGE         NEW.
+ GPG_ERR_MISSING_ENVVAR	          NEW.
 
 
 Noteworthy changes in version 1.24 (2016-07-14) [C19/A19/R1)
diff --git a/doc/errorref.txt b/doc/errorref.txt
index 5044572..b943c67 100644
--- a/doc/errorref.txt
+++ b/doc/errorref.txt
@@ -805,6 +805,45 @@ GPG_ERR_FALSE			False
 
     Used to return the boolean value False.
 
+
+GPG_ERR_ASS_GENERAL (257)            General IPC error
+GPG_ERR_ASS_ACCEPT_FAILED (258)      IPC accept call failed
+GPG_ERR_ASS_CONNECT_FAILED (259)     IPC connect call failed
+GPG_ERR_ASS_INV_RESPONSE (260)       Invalid IPC response
+GPG_ERR_ASS_INV_VALUE (261)          Invalid value passed to IPC
+GPG_ERR_ASS_INCOMPLETE_LINE (262)    Incomplete line passed to IPC
+GPG_ERR_ASS_LINE_TOO_LONG (263)      Line passed to IPC too long
+GPG_ERR_ASS_NESTED_COMMANDS (264)    Nested IPC commands
+GPG_ERR_ASS_NO_DATA_CB (265)         No data callback in IPC
+GPG_ERR_ASS_NO_INQUIRE_CB (266)      No inquire callback in IPC
+GPG_ERR_ASS_NOT_A_SERVER (267)       Not an IPC server
+GPG_ERR_ASS_NOT_A_CLIENT (268)       Not an IPC client
+GPG_ERR_ASS_SERVER_START (269)       Problem starting IPC server
+GPG_ERR_ASS_READ_ERROR (270)         IPC read error
+GPG_ERR_ASS_WRITE_ERROR	(271)        IPC write error
+GPG_ERR_ASS_TOO_MUCH_DATA  (273)     Too much data for IPC layer
+GPG_ERR_ASS_UNEXPECTED_CMD (274)     Unexpected IPC command
+GPG_ERR_ASS_UNKNOWN_CMD	(275)        Unknown IPC command
+GPG_ERR_ASS_SYNTAX (276)             IPC syntax error
+GPG_ERR_ASS_CANCELED (277)           IPC call has been cancelled
+GPG_ERR_ASS_NO_INPUT (278)           No input source for IPC
+GPG_ERR_ASS_NO_OUTPUT (279)          No output source for IPC
+GPG_ERR_ASS_PARAMETER (280)          IPC parameter error
+GPG_ERR_ASS_UNKNOWN_INQUIRE (281)    Unknown IPC inquire
+
+
+GPG_ERR_ENGINE_TOO_OLD (300)	Crypto engine too old
+
+GPG_ERR_WINDOW_TOO_SMALL(301)	Screen or window too small
+
+    Pinentry: - The size of the screen is too small.
+
+GPG_ERR_WINDOW_TOO_LARGE (302)	Screen or window too large
+
+GPG_ERR_MISSING_ENVVAR (303)	Required environment variable not set
+
+    Pinentry: - The size of the screen can't be determined.
+
 GPG_ERR_LDAP_GENERAL		LDAP General error
 
    Catch all error for LDAP.  Use if if can't map an erro rocde to an
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index b44ac3f..dcbc0a3 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -320,7 +320,11 @@
 # 282 to 299 are reserved for future assuan codes.
 
 300	GPG_ERR_ENGINE_TOO_OLD		Crypto engine too old
-# 301 to 720 are free to be used.
+301	GPG_ERR_WINDOW_TOO_SMALL	Screen or window too small
+302	GPG_ERR_WINDOW_TOO_LARGE	Screen or window too large
+303	GPG_ERR_MISSING_ENVVAR		Required environment variable not set
+
+# This range is free for use.
 
 #
 # Mapping of LDAP error codes

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libgpg-error.git



More information about the Pkg-gnupg-commit mailing list