Spelling fixes for comments and doc
-- Patch provided by ka7 in dev.gnupg.org Differential D423
This commit is contained in:
parent
1458adaea4
commit
7b5182f288
@ -60,7 +60,7 @@ AC_DEFUN([GNUPG_CHECK_VA_COPY],
|
|||||||
])
|
])
|
||||||
|
|
||||||
dnl LIST_MEMBER()
|
dnl LIST_MEMBER()
|
||||||
dnl Check wether an element ist contained in a list. Set `found' to
|
dnl Check whether an element ist contained in a list. Set `found' to
|
||||||
dnl `1' if the element is found in the list, to `0' otherwise.
|
dnl `1' if the element is found in the list, to `0' otherwise.
|
||||||
AC_DEFUN([LIST_MEMBER],
|
AC_DEFUN([LIST_MEMBER],
|
||||||
[
|
[
|
||||||
|
@ -280,7 +280,7 @@ if test x$fixed_search_path != x ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Note: You need to declare all possible langauges also in
|
# Note: You need to declare all possible languages also in
|
||||||
# lang/Makefile.am's DIST_SUBDIRS.
|
# lang/Makefile.am's DIST_SUBDIRS.
|
||||||
AC_ARG_ENABLE([languages],
|
AC_ARG_ENABLE([languages],
|
||||||
AC_HELP_STRING([--enable-languages=languages],
|
AC_HELP_STRING([--enable-languages=languages],
|
||||||
@ -336,7 +336,7 @@ fi
|
|||||||
# Check that if qt is enabled cpp also is enabled
|
# Check that if qt is enabled cpp also is enabled
|
||||||
LIST_MEMBER("qt", $enabled_languages)
|
LIST_MEMBER("qt", $enabled_languages)
|
||||||
if test "$found" = "1"; then
|
if test "$found" = "1"; then
|
||||||
# We need to ensure that in the langauge order qt comes after cpp
|
# We need to ensure that in the language order qt comes after cpp
|
||||||
# so we remove qt first and explicitly add it as last list member.
|
# so we remove qt first and explicitly add it as last list member.
|
||||||
enabled_languages=$(echo $enabled_languages | sed 's/qt//')
|
enabled_languages=$(echo $enabled_languages | sed 's/qt//')
|
||||||
LIST_MEMBER("cpp", $enabled_languages)
|
LIST_MEMBER("cpp", $enabled_languages)
|
||||||
|
@ -502,13 +502,13 @@ systems. To address offsets in large files, you can either enable
|
|||||||
largefile support add-on. Then a new data type @code{off64_t} is
|
largefile support add-on. Then a new data type @code{off64_t} is
|
||||||
provided, which is 64 bit wide. Or you can replace the existing
|
provided, which is 64 bit wide. Or you can replace the existing
|
||||||
@code{off_t} data type with its 64 bit wide counterpart. All
|
@code{off_t} data type with its 64 bit wide counterpart. All
|
||||||
occurences of @code{off_t} are then automagically replaced.
|
occurrences of @code{off_t} are then automagically replaced.
|
||||||
|
|
||||||
As if matters were not complex enough, there are also two different
|
As if matters were not complex enough, there are also two different
|
||||||
types of file descriptors in such systems. This is important because
|
types of file descriptors in such systems. This is important because
|
||||||
if file descriptors are exchanged between programs that use a
|
if file descriptors are exchanged between programs that use a
|
||||||
different maximum file size, certain errors must be produced on some
|
different maximum file size, certain errors must be produced on some
|
||||||
file descriptors to prevent subtle overflow bugs from occuring.
|
file descriptors to prevent subtle overflow bugs from occurring.
|
||||||
|
|
||||||
As you can see, supporting two different maximum file sizes at the
|
As you can see, supporting two different maximum file sizes at the
|
||||||
same time is not at all an easy task. However, the maximum file size
|
same time is not at all an easy task. However, the maximum file size
|
||||||
@ -733,7 +733,7 @@ Windows.
|
|||||||
|
|
||||||
@item require-gnupg
|
@item require-gnupg
|
||||||
Set the mimimum version of the required GnuPG engine. If that version
|
Set the mimimum version of the required GnuPG engine. If that version
|
||||||
is not met, GPGME fails early instead of trying to use the existant
|
is not met, GPGME fails early instead of trying to use the existent
|
||||||
version. The given version must be a string with major, minor, and
|
version. The given version must be a string with major, minor, and
|
||||||
micro number. Example: "2.1.0".
|
micro number. Example: "2.1.0".
|
||||||
|
|
||||||
@ -1131,7 +1131,7 @@ of the configuration directory for this crypto engine. If
|
|||||||
The new defaults are not applied to already created GPGME contexts.
|
The new defaults are not applied to already created GPGME contexts.
|
||||||
|
|
||||||
This function returns the error code @code{GPG_ERR_NO_ERROR} if
|
This function returns the error code @code{GPG_ERR_NO_ERROR} if
|
||||||
successful, or an eror code on failure.
|
successful, or an error code on failure.
|
||||||
@end deftypefun
|
@end deftypefun
|
||||||
|
|
||||||
The functions @code{gpgme_ctx_get_engine_info} and
|
The functions @code{gpgme_ctx_get_engine_info} and
|
||||||
@ -1568,7 +1568,7 @@ This value indicates success. The value of this error code is
|
|||||||
@code{0}. Also, it is guaranteed that an error value made from the
|
@code{0}. Also, it is guaranteed that an error value made from the
|
||||||
error code @code{0} will be @code{0} itself (as a whole). This means
|
error code @code{0} will be @code{0} itself (as a whole). This means
|
||||||
that the error source information is lost for this error code,
|
that the error source information is lost for this error code,
|
||||||
however, as this error code indicates that no error occured, this is
|
however, as this error code indicates that no error occurred, this is
|
||||||
generally not a problem.
|
generally not a problem.
|
||||||
|
|
||||||
@item GPG_ERR_GENERAL
|
@item GPG_ERR_GENERAL
|
||||||
@ -1642,7 +1642,7 @@ This value indicates that no certificate revocation list is known for
|
|||||||
the certificate.
|
the certificate.
|
||||||
|
|
||||||
@item GPG_ERR_NO_POLICY_MATCH
|
@item GPG_ERR_NO_POLICY_MATCH
|
||||||
This value indicates that a policy issue occured.
|
This value indicates that a policy issue occurred.
|
||||||
|
|
||||||
@item GPG_ERR_NO_SECKEY
|
@item GPG_ERR_NO_SECKEY
|
||||||
This value indicates that no secret key for the user ID is available.
|
This value indicates that no secret key for the user ID is available.
|
||||||
@ -2498,7 +2498,7 @@ if the function is called after starting the first operation on the
|
|||||||
context @var{ctx}.
|
context @var{ctx}.
|
||||||
|
|
||||||
This function returns the error code @code{GPG_ERR_NO_ERROR} if
|
This function returns the error code @code{GPG_ERR_NO_ERROR} if
|
||||||
successful, or an eror code on failure.
|
successful, or an error code on failure.
|
||||||
@end deftypefun
|
@end deftypefun
|
||||||
|
|
||||||
|
|
||||||
@ -2761,7 +2761,7 @@ is the default.
|
|||||||
@item GPGME_KEYLIST_MODE_EXTERN
|
@item GPGME_KEYLIST_MODE_EXTERN
|
||||||
The @code{GPGME_KEYLIST_MODE_EXTERN} symbol specifies that an external
|
The @code{GPGME_KEYLIST_MODE_EXTERN} symbol specifies that an external
|
||||||
source should be searched for keys in the keylisting operation. The
|
source should be searched for keys in the keylisting operation. The
|
||||||
type of external source is dependant on the crypto engine used and
|
type of external source is dependent on the crypto engine used and
|
||||||
whether it is combined with @code{GPGME_KEYLIST_MODE_LOCAL}. For
|
whether it is combined with @code{GPGME_KEYLIST_MODE_LOCAL}. For
|
||||||
example, it can be a remote keyserver or LDAP certificate server.
|
example, it can be a remote keyserver or LDAP certificate server.
|
||||||
|
|
||||||
@ -6399,7 +6399,7 @@ If this flag is set the given @code{name} is not known.
|
|||||||
If this flag is set the available information is not fresh enough.
|
If this flag is set the available information is not fresh enough.
|
||||||
|
|
||||||
@item error
|
@item error
|
||||||
If this flag is set some other error has occured.
|
If this flag is set some other error has occurred.
|
||||||
|
|
||||||
@item version
|
@item version
|
||||||
The version string of the latest released version.
|
The version string of the latest released version.
|
||||||
@ -6435,7 +6435,7 @@ current gpgme version is checked. @var{reserved} must be set to 0.
|
|||||||
The function @code{gpgme_op_query_swdb_result} returns a
|
The function @code{gpgme_op_query_swdb_result} returns a
|
||||||
@code{gpgme_query_swdb_result_t} pointer to a structure holding the
|
@code{gpgme_query_swdb_result_t} pointer to a structure holding the
|
||||||
result of a @code{gpgme_op_query_swdb} operation. The pointer is only
|
result of a @code{gpgme_op_query_swdb} operation. The pointer is only
|
||||||
valid if the last operation on the context was a sucessful call to
|
valid if the last operation on the context was a successful call to
|
||||||
@code{gpgme_op_query_swdb}. If that call failed, the result might
|
@code{gpgme_op_query_swdb}. If that call failed, the result might
|
||||||
be a @code{NULL} pointer. The returned pointer is only valid until
|
be a @code{NULL} pointer. The returned pointer is only valid until
|
||||||
the next operation is started on the context @var{ctx}.
|
the next operation is started on the context @var{ctx}.
|
||||||
@ -6693,9 +6693,9 @@ in a context which has I/O callback functions registered by the user.
|
|||||||
@code{gpgme_event_io_cb_t} function with @acronym{GPGME} and will always be
|
@code{gpgme_event_io_cb_t} function with @acronym{GPGME} and will always be
|
||||||
passed as the first argument when registering a callback function.
|
passed as the first argument when registering a callback function.
|
||||||
For example, the user can use this to determine the context in which
|
For example, the user can use this to determine the context in which
|
||||||
this event has occured.
|
this event has occurred.
|
||||||
|
|
||||||
@var{type} will specify the type of event that has occured.
|
@var{type} will specify the type of event that has occurred.
|
||||||
@var{type_data} specifies the event further, as described in the above
|
@var{type_data} specifies the event further, as described in the above
|
||||||
list of possible @code{gpgme_event_io_t} types.
|
list of possible @code{gpgme_event_io_t} types.
|
||||||
|
|
||||||
@ -6733,7 +6733,7 @@ must be processed.
|
|||||||
@item void *event_priv
|
@item void *event_priv
|
||||||
This is passed as the first argument to the @code{event} function when
|
This is passed as the first argument to the @code{event} function when
|
||||||
it is called by @acronym{GPGME}. For example, it can be used to
|
it is called by @acronym{GPGME}. For example, it can be used to
|
||||||
determine the context in which the event has occured.
|
determine the context in which the event has occurred.
|
||||||
@end table
|
@end table
|
||||||
@end deftp
|
@end deftp
|
||||||
|
|
||||||
|
@ -460,7 +460,7 @@
|
|||||||
\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm}
|
\def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm}
|
||||||
\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm}
|
\def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm}
|
||||||
|
|
||||||
% Each occurence of `\^^M' or `<space>\^^M' is replaced by a single space.
|
% Each occurrence of `\^^M' or `<space>\^^M' is replaced by a single space.
|
||||||
%
|
%
|
||||||
% \argremovec might leave us with trailing space, e.g.,
|
% \argremovec might leave us with trailing space, e.g.,
|
||||||
% @end itemize @c foo
|
% @end itemize @c foo
|
||||||
@ -485,7 +485,7 @@
|
|||||||
% to get _exactly_ the rest of the line, we had to prevent such situation.
|
% to get _exactly_ the rest of the line, we had to prevent such situation.
|
||||||
% We prepended an \empty token at the very beginning and we expand it now,
|
% We prepended an \empty token at the very beginning and we expand it now,
|
||||||
% just before passing the control to \argtorun.
|
% just before passing the control to \argtorun.
|
||||||
% (Similarily, we have to think about #3 of \argcheckspacesY above: it is
|
% (Similarly, we have to think about #3 of \argcheckspacesY above: it is
|
||||||
% either the null string, or it ends with \^^M---thus there is no danger
|
% either the null string, or it ends with \^^M---thus there is no danger
|
||||||
% that a pair of braces would be stripped.
|
% that a pair of braces would be stripped.
|
||||||
%
|
%
|
||||||
@ -542,7 +542,7 @@
|
|||||||
% used to check whether the current environment is the one expected.
|
% used to check whether the current environment is the one expected.
|
||||||
%
|
%
|
||||||
% Non-false conditionals (@iftex, @ifset) don't fit into this, so they
|
% Non-false conditionals (@iftex, @ifset) don't fit into this, so they
|
||||||
% are not treated as enviroments; they don't open a group. (The
|
% are not treated as environments; they don't open a group. (The
|
||||||
% implementation of @end takes care not to call \endgroup in this
|
% implementation of @end takes care not to call \endgroup in this
|
||||||
% special case.)
|
% special case.)
|
||||||
|
|
||||||
@ -565,7 +565,7 @@
|
|||||||
\fi
|
\fi
|
||||||
}
|
}
|
||||||
|
|
||||||
% Evironment mismatch, #1 expected:
|
% Environment mismatch, #1 expected:
|
||||||
\def\badenverr{%
|
\def\badenverr{%
|
||||||
\errhelp = \EMsimple
|
\errhelp = \EMsimple
|
||||||
\errmessage{This command can appear only \inenvironment\temp,
|
\errmessage{This command can appear only \inenvironment\temp,
|
||||||
@ -7317,7 +7317,7 @@ end
|
|||||||
% In case a @footnote appears in a vbox, save the footnote text and create
|
% In case a @footnote appears in a vbox, save the footnote text and create
|
||||||
% the real \insert just after the vbox finished. Otherwise, the insertion
|
% the real \insert just after the vbox finished. Otherwise, the insertion
|
||||||
% would be lost.
|
% would be lost.
|
||||||
% Similarily, if a @footnote appears inside an alignment, save the footnote
|
% Similarly, if a @footnote appears inside an alignment, save the footnote
|
||||||
% text to a box and make the \insert when a row of the table is finished.
|
% text to a box and make the \insert when a row of the table is finished.
|
||||||
% And the same can be done for other insert classes. --kasal, 16nov03.
|
% And the same can be done for other insert classes. --kasal, 16nov03.
|
||||||
|
|
||||||
|
@ -484,7 +484,7 @@ First, the input files need to be specified by one or more
|
|||||||
@code{FILE} commands. Afterwards, the actual operation is requested:
|
@code{FILE} commands. Afterwards, the actual operation is requested:
|
||||||
|
|
||||||
@deffn Command CHECKSUM_CREATE_FILES --nohup
|
@deffn Command CHECKSUM_CREATE_FILES --nohup
|
||||||
Request that checksums are created for the files specifed by
|
Request that checksums are created for the files specified by
|
||||||
@code{FILE}. The choice of checksum algorithm and the destination
|
@code{FILE}. The choice of checksum algorithm and the destination
|
||||||
storage and format for the created checksums depend on the preferences
|
storage and format for the created checksums depend on the preferences
|
||||||
of the user and the functionality provided by the UI server. For
|
of the user and the functionality provided by the UI server. For
|
||||||
@ -499,7 +499,7 @@ promptly, and completes the operation asynchronously.
|
|||||||
|
|
||||||
|
|
||||||
@deffn Command CHECKSUM_VERIFY_FILES --nohup
|
@deffn Command CHECKSUM_VERIFY_FILES --nohup
|
||||||
Request that checksums are created for the files specifed by
|
Request that checksums are created for the files specified by
|
||||||
@code{FILE} and verified against previously created and stored
|
@code{FILE} and verified against previously created and stored
|
||||||
checksums. The choice of checksum algorithm and the source storage
|
checksums. The choice of checksum algorithm and the source storage
|
||||||
and format for previously created checksums depend on the preferences
|
and format for previously created checksums depend on the preferences
|
||||||
|
@ -62,7 +62,7 @@ Example to set the ownertrust of a key:
|
|||||||
Data data;
|
Data data;
|
||||||
/* Start the edit on some key previously obtained. */
|
/* Start the edit on some key previously obtained. */
|
||||||
Error e = ctx->edit(key, std::unique_ptr<EditInteractor>(ei), data);
|
Error e = ctx->edit(key, std::unique_ptr<EditInteractor>(ei), data);
|
||||||
/* Errors provide boolean comparision */
|
/* Errors provide boolean comparison */
|
||||||
if (!e)
|
if (!e)
|
||||||
...
|
...
|
||||||
/* Delete the context */
|
/* Delete the context */
|
||||||
|
@ -87,7 +87,7 @@ public:
|
|||||||
/* The time the online info was retrieved. */
|
/* The time the online info was retrieved. */
|
||||||
unsigned long retrieved() const;
|
unsigned long retrieved() const;
|
||||||
|
|
||||||
/* This bit is set if an error occured or some of the information
|
/* This bit is set if an error occurred or some of the information
|
||||||
* in this structure may not be set. */
|
* in this structure may not be set. */
|
||||||
bool warning() const;
|
bool warning() const;
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ with gpg.Context(armor=True) as c, gpg.Data() as expkey:
|
|||||||
# of them.
|
# of them.
|
||||||
with gpg.Context() as c:
|
with gpg.Context() as c:
|
||||||
# Note: We must not modify the key store during iteration,
|
# Note: We must not modify the key store during iteration,
|
||||||
# therfore, we explicitly make a list.
|
# therefore, we explicitly make a list.
|
||||||
keys = list(c.keylist(user))
|
keys = list(c.keylist(user))
|
||||||
|
|
||||||
for k in keys:
|
for k in keys:
|
||||||
|
@ -38,7 +38,7 @@ with QObject::deleteLater so they can be started without
|
|||||||
result handlers.
|
result handlers.
|
||||||
|
|
||||||
The result signal provides a tuple of objects with the
|
The result signal provides a tuple of objects with the
|
||||||
appropiate result information for this job. For historic
|
appropriate result information for this job. For historic
|
||||||
reasons each result signal also includes an AuditLog
|
reasons each result signal also includes an AuditLog
|
||||||
and an AuditLog Error. These are only useful for
|
and an AuditLog Error. These are only useful for
|
||||||
S/MIME signature validation but are part of other jobs
|
S/MIME signature validation but are part of other jobs
|
||||||
@ -72,7 +72,7 @@ Async usage:
|
|||||||
job->start(keys, inptr, outptr, Context::AlwaysTrust);
|
job->start(keys, inptr, outptr, Context::AlwaysTrust);
|
||||||
/* Do not delete the job as it is autodeleted. */
|
/* Do not delete the job as it is autodeleted. */
|
||||||
|
|
||||||
Syncronus usage:
|
Synchronous usage:
|
||||||
|
|
||||||
/* Create a job */
|
/* Create a job */
|
||||||
KeyListJob *listjob = openpgp()->keyListJob(false, false, false);
|
KeyListJob *listjob = openpgp()->keyListJob(false, false, false);
|
||||||
|
@ -222,7 +222,7 @@ debug_init (void)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* This should be called as soon as the locks are intialized. It is
|
/* This should be called as soon as the locks are initialized. It is
|
||||||
required so that the assuan logging gets conncted to the gpgme log
|
required so that the assuan logging gets conncted to the gpgme log
|
||||||
stream as early as possible. */
|
stream as early as possible. */
|
||||||
void
|
void
|
||||||
|
@ -194,7 +194,7 @@ gpgme_op_interact (gpgme_ctx_t ctx, gpgme_key_t key, unsigned int flags,
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* The deprectated interface. */
|
/* The deprecated interface. */
|
||||||
static gpgme_error_t
|
static gpgme_error_t
|
||||||
edit_start (gpgme_ctx_t ctx, int synchronous, int type, gpgme_key_t key,
|
edit_start (gpgme_ctx_t ctx, int synchronous, int type, gpgme_key_t key,
|
||||||
gpgme_edit_cb_t fnc, void *fnc_value, gpgme_data_t out)
|
gpgme_edit_cb_t fnc, void *fnc_value, gpgme_data_t out)
|
||||||
|
@ -650,7 +650,7 @@ gpgme_op_set_uid_flag_start (gpgme_ctx_t ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* See set_uid_flag. Thsi is the synchronous variant. */
|
/* See set_uid_flag. This is the synchronous variant. */
|
||||||
gpgme_error_t
|
gpgme_error_t
|
||||||
gpgme_op_set_uid_flag (gpgme_ctx_t ctx,
|
gpgme_op_set_uid_flag (gpgme_ctx_t ctx,
|
||||||
gpgme_key_t key, const char *userid,
|
gpgme_key_t key, const char *userid,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* parsetlv.h - TLV functions defintions
|
/* parsetlv.h - TLV functions definitions
|
||||||
* Copyright (C) 2012 g10 Code GmbH
|
* Copyright (C) 2012 g10 Code GmbH
|
||||||
*
|
*
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
|
@ -66,7 +66,7 @@ trustlist_status_handler (void *priv, gpgme_status_code_t code, char *args)
|
|||||||
K for a key
|
K for a key
|
||||||
The RECNO is either the one of the dir record or the one of the uid
|
The RECNO is either the one of the dir record or the one of the uid
|
||||||
record. OT is the the usual trust letter and only availabel on K
|
record. OT is the the usual trust letter and only availabel on K
|
||||||
lines. VAL is the calcualted validity MC is the marginal trust
|
lines. VAL is the calculated validity MC is the marginal trust
|
||||||
counter and only available on U lines CC is the same for the
|
counter and only available on U lines CC is the same for the
|
||||||
complete count NAME ist the username and only printed on U
|
complete count NAME ist the username and only printed on U
|
||||||
lines. */
|
lines. */
|
||||||
|
@ -237,7 +237,7 @@
|
|||||||
* gpg/t-keylist.c: Reordered list to match new demo keyring. Add
|
* gpg/t-keylist.c: Reordered list to match new demo keyring. Add
|
||||||
arg for number of subkeys and for extra checking function.
|
arg for number of subkeys and for extra checking function.
|
||||||
(main): Enhanced a few error outputs. Changed subkey
|
(main): Enhanced a few error outputs. Changed subkey
|
||||||
counting. Call extra checking fucntion.
|
counting. Call extra checking function.
|
||||||
(check_whisky): New.
|
(check_whisky): New.
|
||||||
|
|
||||||
2005-10-07 Marcus Brinkmann <marcus@g10code.de>
|
2005-10-07 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
Loading…
Reference in New Issue
Block a user