summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2022-06-14 04:03:18 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2022-06-14 04:10:39 -0400
commit248f980a67ac721882465c48d60039ac70d3fa82 (patch)
tree02d853e6bd275b1351f09ad6827fb02bf7cbad95
parent0f77f9f6a8974257a21e5fc0b8327b838c2a4849 (diff)
codespell-fixes
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--configure.ac2
-rw-r--r--man/XtAllocateGC.man4
-rw-r--r--man/XtAppInitialize.man2
-rw-r--r--man/XtAppSetTypeConverter.man2
-rw-r--r--man/XtError.man8
-rw-r--r--man/XtErrorMsg.man8
-rw-r--r--man/XtGetErrorDatabase.man4
-rw-r--r--man/XtGetGC.man4
-rw-r--r--man/XtGetSelectionTimeout.man4
-rw-r--r--man/XtInsertEventTypeHandler.man2
-rw-r--r--man/XtOpenApplication.man2
-rw-r--r--specs/CH09.xml8
-rw-r--r--specs/appB.xml2
-rw-r--r--specs/appC.xml2
-rw-r--r--src/Convert.c2
-rw-r--r--src/Converters.c2
-rw-r--r--src/Event.c14
-rw-r--r--src/Initialize.c6
-rw-r--r--src/Keyboard.c4
-rw-r--r--src/NextEvent.c10
-rw-r--r--src/PassivGrab.c6
-rw-r--r--src/Selection.c2
-rw-r--r--src/TMaction.c2
-rw-r--r--src/TMparse.c2
-rw-r--r--src/TMstate.c2
25 files changed, 53 insertions, 53 deletions
diff --git a/configure.ac b/configure.ac
index 48af605..6233f92 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ XORG_WITH_PERL
# Checks for header files.
AC_CHECK_HEADER([alloca.h], AC_DEFINE(INCLUDE_ALLOCA_H, 1, [Define to 1 if Xalloca.h should include <alloca.h>]))
-# Obtain compiler/linker options for depedencies
+# Obtain compiler/linker options for dependencies
PKG_CHECK_MODULES(XT, sm ice x11 xproto kbproto)
# Set-up variables to use build machine compiler when cross-compiling
diff --git a/man/XtAllocateGC.man b/man/XtAllocateGC.man
index 30eab59..3b4c9f8 100644
--- a/man/XtAllocateGC.man
+++ b/man/XtAllocateGC.man
@@ -35,7 +35,7 @@
.na
.TH XtAllocateGC __libmansuffix__ __xorgversion__ "XT FUNCTIONS"
.SH NAME
-XtAllocateGC \- obtain a sharable GC with modifiable fields
+XtAllocateGC \- obtain a shareable GC with modifiable fields
.SH SYNTAX
#include <X11/Intrinsic.h>
.HP
@@ -58,7 +58,7 @@ Specifies the fields of the GC that will not be needed by the caller.
.SH DESCRIPTION
The
.B XtAllocateGC
-function returns a sharable GC that may be modified by the client.
+function returns a shareable GC that may be modified by the client.
The \fIscreen\fP field of the specified widget or of the nearest
widget ancestor of the specified object and the specified \fIdepth\fP
argument supply the root and drawable depths for which the GC is to
diff --git a/man/XtAppInitialize.man b/man/XtAppInitialize.man
index c4ab2bf..bf88a19 100644
--- a/man/XtAppInitialize.man
+++ b/man/XtAppInitialize.man
@@ -106,7 +106,7 @@ If \fIfallback_resources\fP is non-NULL,
is called with the value prior to calling
.BR XtOpenDisplay .
.LP
-XtAppInitialize and XtVaAppInitialize have been superceded by
+XtAppInitialize and XtVaAppInitialize have been superseded by
.B XtOpenApplication
and
.B XtVaOpenApplication
diff --git a/man/XtAppSetTypeConverter.man b/man/XtAppSetTypeConverter.man
index ee3b7d8..5b2ed5d 100644
--- a/man/XtAppSetTypeConverter.man
+++ b/man/XtAppSetTypeConverter.man
@@ -64,7 +64,7 @@ Specifies the number of additional arguments to the converter or zero.
Specifies the destination type.
.IP \fIcache_type\fP 1i
Specifies whether or not resources produced by this converter are
-sharable or display-specific and when they should be freed.
+shareable or display-specific and when they should be freed.
.IP \fIdestructor\fP 1i
Specifies a destroy procedure for resources produced by this conversion,
or NULL if no additional action is required to deallocate resources
diff --git a/man/XtError.man b/man/XtError.man
index 9dd8d02..d34fe88 100644
--- a/man/XtError.man
+++ b/man/XtError.man
@@ -57,22 +57,22 @@ Specifies the message that is to be reported.
.SH DESCRIPTION
The
.B XtError
-function has been superceded by
+function has been superseded by
.BR XtAppError .
.LP
The
.B XtSetErrorHandler
-function has been superceded by
+function has been superseded by
.BR XtAppSetErrorHandler .
.LP
The
.B XtSetWarningHandler
-function has been superceded by
+function has been superseded by
.BR XtAppSetWarningHandler .
.LP
The
.B XtWarning
-function has been superceded by
+function has been superseded by
.BR XtAppWarning .
.SH "SEE ALSO"
.BR XtAppError (__libmansuffix__)
diff --git a/man/XtErrorMsg.man b/man/XtErrorMsg.man
index e2f745a..b231e91 100644
--- a/man/XtErrorMsg.man
+++ b/man/XtErrorMsg.man
@@ -74,22 +74,22 @@ Specifies a pointer to a list of values to be stored in the message.
.SH DESCRIPTION
The
.B XtErrorMsg
-function has been superceded by
+function has been superseded by
.BR XtAppErrorMsg .
.LP
The
.B XtSetErrorMsgHandler
-function has been superceded by
+function has been superseded by
.BR XtAppSetErrorMsgHandler .
.LP
The
.B XtSetWarningMsgHandler
-function has been superceded by
+function has been superseded by
.BR XtAppSetWarningMsgHandler .
.LP
The
.B XtWarningMsg
-function has been superceded by
+function has been superseded by
.B XtAppWarningMsg
.SH "SEE ALSO"
.BR XtAppErrorMsg (__libmansuffix__)
diff --git a/man/XtGetErrorDatabase.man b/man/XtGetErrorDatabase.man
index e6a3851..34522dc 100644
--- a/man/XtGetErrorDatabase.man
+++ b/man/XtGetErrorDatabase.man
@@ -65,12 +65,12 @@ Specifies the size of the buffer in bytes.
.SH DESCRIPTION
The
.B XtGetErrorDatabase
-function has been superceded by
+function has been superseded by
.BR XtAppGetErrorDatabase .
.LP
The
.B XtGetErrorDatabaseText
-function has been superceded by
+function has been superseded by
.BR XtAppGetErrorDatabaseText .
.SH "SEE ALSO"
.BR XtAppGetErrorDatabase (__libmansuffix__)
diff --git a/man/XtGetGC.man b/man/XtGetGC.man
index 53cb794..6903788 100644
--- a/man/XtGetGC.man
+++ b/man/XtGetGC.man
@@ -36,7 +36,7 @@
.na
.TH XtGetGC __libmansuffix__ __xorgversion__ "XT FUNCTIONS"
.SH NAME
-XtGetGC, XtReleaseGC \- obtain and destroy a sharable GC
+XtGetGC, XtReleaseGC \- obtain and destroy a shareable GC
.SH SYNTAX
#include <X11/Intrinsic.h>
.HP
@@ -56,7 +56,7 @@ Specifies the widget.
.SH DESCRIPTION
The
.B XtGetGC
-function returns a sharable, read-only GC.
+function returns a shareable, read-only GC.
The parameters to this function are the same as those for
.B XCreateGC
except that a widget is passed instead of a display.
diff --git a/man/XtGetSelectionTimeout.man b/man/XtGetSelectionTimeout.man
index e167e81..d2203b7 100644
--- a/man/XtGetSelectionTimeout.man
+++ b/man/XtGetSelectionTimeout.man
@@ -48,12 +48,12 @@ Specifies the selection timeout in milliseconds.
.SH DESCRIPTION
The
.B XtGetSelectionTimeout
-function has been superceded by
+function has been superseded by
.BR XtAppGetSelectionTimeout .
.LP
The
.B XtSetSelectionTimeout
-function has been superceded by
+function has been superseded by
.BR XtAppSetSelectionTimeout .
.SH "SEE ALSO"
.BR XtAppGetSelectionTimeout (__libmansuffix__)
diff --git a/man/XtInsertEventTypeHandler.man b/man/XtInsertEventTypeHandler.man
index cfad446..1ebb321 100644
--- a/man/XtInsertEventTypeHandler.man
+++ b/man/XtInsertEventTypeHandler.man
@@ -173,7 +173,7 @@ restored for the specified type.
In the future, when
.B XtDispatchEvent
is called with an event of \fIevent_type\fP, the specified \fIproc\fP (or
-the default dispatcher) will be invoked to determine a widget ot which
+the default dispatcher) will be invoked to determine a widget at which
to dispatch the event.
.LP
The
diff --git a/man/XtOpenApplication.man b/man/XtOpenApplication.man
index 7c1a1ee..0fa6176 100644
--- a/man/XtOpenApplication.man
+++ b/man/XtOpenApplication.man
@@ -112,7 +112,7 @@ If \fIfallback_resources\fP is non-NULL,
is called with the value prior to calling
.BR XtOpenDisplay .
.LP
-XtAppInitialize and XtVaAppInitialize have been superceded by
+XtAppInitialize and XtVaAppInitialize have been superseded by
.B XtOpenApplication
and
.B XtVaOpenApplication
diff --git a/specs/CH09.xml b/specs/CH09.xml
index 16be36b..afb0c81 100644
--- a/specs/CH09.xml
+++ b/specs/CH09.xml
@@ -1487,7 +1487,7 @@ perform an
<function>XListFonts</function>
using a wildcard font name and use the first
font in the list. This wildcard font name should be as broad as
-possible to maximize the probability of locating a useable font;
+possible to maximize the probability of locating a usable font;
for example, &ldquo;<code>-*-*-*-R-*-*-*-120-*-*-*-*-ISO8859-1</code>&rdquo;.)
</para>
</listitem>
@@ -1527,7 +1527,7 @@ perform an
<function>XCreateFontSet</function>
using a wildcard base font name.
This wildcard base font name should be as broad as
-possible to maximize the probability of locating a useable font;
+possible to maximize the probability of locating a usable font;
for example, &ldquo;<code>-*-*-*-R-*-*-*-120-*-*-*-*</code>&rdquo;.)
</para>
</listitem>
@@ -2371,7 +2371,7 @@ Specifies the number of entries in <emphasis remap='I'>convert_args</emphasis>.
<listitem>
<para>
Specifies whether or not resources produced by this
-converter are sharable or display-specific and when
+converter are shareable or display-specific and when
they should be freed.
</para>
</listitem>
@@ -2473,7 +2473,7 @@ Specifies the number of entries in <emphasis remap='I'>convert_args</emphasis>.
<listitem>
<para>
Specifies whether or not resources produced by this
-converter are sharable or display-specific and when
+converter are shareable or display-specific and when
they should be freed.
</para>
</listitem>
diff --git a/specs/appB.xml b/specs/appB.xml
index 0593746..93a2cf6 100644
--- a/specs/appB.xml
+++ b/specs/appB.xml
@@ -249,7 +249,7 @@ These modifiers and any others: mod1 mod2 &lt;event&gt; detail
<para>
The use of &ldquo;None&rdquo; for a modifier list is identical to the use
-of an exclamation point with no modifers.
+of an exclamation point with no modifiers.
</para>
<informaltable frame='topbot'>
diff --git a/specs/appC.xml b/specs/appC.xml
index 048258d..26d283d 100644
--- a/specs/appC.xml
+++ b/specs/appC.xml
@@ -1354,7 +1354,7 @@ Specifies the shared GC to be deallocated.
</variablelist>
<para>
-References to sharable GCs are counted and a free request is generated to the
+References to shareable GCs are counted and a free request is generated to the
server when the last user of a given GC destroys it.
Note that some earlier versions of
<xref linkend='XtDestroyGC' xrefstyle='select: title'/>
diff --git a/src/Convert.c b/src/Convert.c
index 440d624..17faaa3 100644
--- a/src/Convert.c
+++ b/src/Convert.c
@@ -698,7 +698,7 @@ XtDirectConvert(XtConverter converter,
(*to).addr = NULL;
(*converter) (args, &num_args, from, to);
/* This memory can never be freed since we don't know the Display
- * or app context from which to compute the persistance */
+ * or app context from which to compute the persistence */
{
CacheEnter(&globalHeap, (XtTypeConverter) converter, args, num_args,
from, to, (to->addr != NULL), hash, False, False,
diff --git a/src/Converters.c b/src/Converters.c
index 4c27623..9e80544 100644
--- a/src/Converters.c
+++ b/src/Converters.c
@@ -1697,7 +1697,7 @@ XtCvtStringToCommandArgArray(Display *dpy,
(IsWhitespace(*(src + 1)) || IsNewline(*(src + 1)))) {
len = (int) (src - start);
if (len) {
- /* copy preceeding part of token */
+ /* copy preceding part of token */
memcpy(dst, start, (size_t) len);
dst += len;
}
diff --git a/src/Event.c b/src/Event.c
index dadcede..b423eeb 100644
--- a/src/Event.c
+++ b/src/Event.c
@@ -86,7 +86,7 @@ typedef struct _XtEventRecExt {
#define NonMaskableMask ((EventMask)0x80000000L)
/*
- * These are definitions to make the code that handles exposure compresssion
+ * These are definitions to make the code that handles exposure compression
* easier to read.
*
* COMP_EXPOSE - The compression exposure field of "widget"
@@ -212,7 +212,7 @@ RemoveEventHandler(Widget widget,
/* p->mask specifies count of EXT_SELECT_DATA(p,i)
* search through the list of selection data, if not found
- * dont remove this handler
+ * don't remove this handler
*/
for (i = 0; i < p->mask && select_data != EXT_SELECT_DATA(p, i);)
i++;
@@ -265,9 +265,9 @@ RemoveEventHandler(Widget widget,
* adding the event handlers.
* Arguments: widget - widget to register an event handler for.
* eventMask - events to mask for.
- * other - pass non maskable events to this proceedure.
- * proc - proceedure to register.
- * closure - data to pass to the event hander.
+ * other - pass non maskable events to this procedure.
+ * proc - procedure to register.
+ * closure - data to pass to the event handler.
* position - where to add this event handler.
* force_new_position - If the element is already in the
* list, this will force it to the
@@ -955,7 +955,7 @@ static void AddExposureToRectangularRegion(XEvent *, Region);
/* Function Name: CompressExposures
* Description: Handles all exposure compression
* Arguments: event - the xevent that is to be dispatched
- * widget - the widget that this event occured in.
+ * widget - the widget that this event occurred in.
* Returns: none.
*
* NOTE: Event must be of type Expose or GraphicsExpose.
@@ -1123,7 +1123,7 @@ _XtEventInitialize(void)
* Description: Sets the x, y, width, and height of the event
* to be the clip box of Expose Region.
* Arguments: event - the X Event to mangle; Expose or GraphicsExpose.
- * widget - the widget that this event occured in.
+ * widget - the widget that this event occurred in.
* pd - the per display information for this widget.
* Returns: none.
*/
diff --git a/src/Initialize.c b/src/Initialize.c
index 8ae54b4..8252d59 100644
--- a/src/Initialize.c
+++ b/src/Initialize.c
@@ -203,10 +203,10 @@ _XtInherit(void)
* First it could be used as a generic function and second
* as an absolute address reference, which will be used to
* check the initialisation process of several other libraries.
- * Because of this the symbol must be accessable by all
+ * Because of this the symbol must be accessible by all
* client dll's and applications. In unix environments
* this is no problem, because the used shared libraries
- * format (elf) supports this immediatly. Under Windows
+ * format (elf) supports this immediately. Under Windows
* this isn't true, because a functions address in a dll
* is different from the same function in another dll or
* applications, because the used Portable Executable
@@ -287,7 +287,7 @@ XtToolkitInitialize(void)
XrmInitialize();
_XtResourceListInitialize();
- /* Other intrinsic intialization */
+ /* Other intrinsic initialization */
_XtConvertInitialize();
_XtEventInitialize();
_XtTranslateInitialize();
diff --git a/src/Keyboard.c b/src/Keyboard.c
index da6fa11..71d8d12 100644
--- a/src/Keyboard.c
+++ b/src/Keyboard.c
@@ -226,7 +226,7 @@ IsOutside(XKeyEvent *e, Widget w)
/*
* if the pointer is outside the shell or inside
- * the window try to see if it would recieve the
+ * the window try to see if it would receive the
* focus
*/
XtTranslateCoords(w, 0, 0, &left, &top);
@@ -428,7 +428,7 @@ GetShell(Widget widget)
}
/*
- * Check that widget really has Xt focus due to it having recieved an
+ * Check that widget really has Xt focus due to it having received an
* event
*/
typedef enum { NotActive = 0, IsActive, IsTarget } ActiveType;
diff --git a/src/NextEvent.c b/src/NextEvent.c
index 6999c4f..b4802bf 100644
--- a/src/NextEvent.c
+++ b/src/NextEvent.c
@@ -601,7 +601,7 @@ _XtWaitForSomething(XtAppContext app,
if (app->lock == (ThreadAppProc) NULL)
drop_lock = FALSE;
#else
- drop_lock = drop_lock; /* avoid unsed warning */
+ drop_lock = drop_lock; /* avoid unused warning */
#endif
InitTimes((Boolean) block, howlong, &wt);
@@ -649,14 +649,14 @@ _XtWaitForSomething(XtAppContext app,
nfds = IoWait(&wt, &wf);
if (nfds == -1) {
/*
- * interrupt occured recalculate time value and wait again.
+ * interrupt occurred recalculate time value and wait again.
*/
if (errno == EINTR || errno == EAGAIN) {
if (errno == EAGAIN) {
- errno = 0; /* errno is not self reseting */
+ errno = 0; /* errno is not self resetting */
continue;
}
- errno = 0; /* errno is not self reseting */
+ errno = 0; /* errno is not self resetting */
/* was it interrupted by a signal that we care about? */
if (!ignoreSignals && app->signalQueue != NULL) {
@@ -1002,7 +1002,7 @@ XtNoticeSignal(XtSignalId id)
*
* Lastly, and perhaps most importantly, since POSIX threads
* says that the handling of asynchronous signals in a synchronous
- * threads environment is undefined. Therefor it would be an
+ * threads environment is undefined. Therefore it would be an
* error for both signals and threads to be in use in the same
* program.
*/
diff --git a/src/PassivGrab.c b/src/PassivGrab.c
index 9a2d90b..672c1ef 100644
--- a/src/PassivGrab.c
+++ b/src/PassivGrab.c
@@ -558,7 +558,7 @@ _XtCheckServerGrabsOnWidget(XEvent *event, Widget widget, _XtBoolean isKeyboard)
/*
* if either there is no entry in the context manager or the entry
- * is empty, or the keyboard is grabed, then no work to be done
+ * is empty, or the keyboard is grabbed, then no work to be done
*/
if (!*passiveListPtr)
return (XtServerGrabPtr) NULL;
@@ -859,7 +859,7 @@ XtUngrabButton(Widget widget, unsigned int button, Modifiers modifiers)
}
/*
- * Active grab of Device. clear any client side grabs so we dont lock
+ * Active grab of Device. clear any client side grabs so we don't lock
*/
static int
GrabDevice(Widget widget,
@@ -940,7 +940,7 @@ UngrabDevice(Widget widget, Time time, Boolean isKeyboard)
}
/*
- * Active grab of keyboard. clear any client side grabs so we dont lock
+ * Active grab of keyboard. clear any client side grabs so we don't lock
*/
int
XtGrabKeyboard(Widget widget,
diff --git a/src/Selection.c b/src/Selection.c
index f5df019..a38d5c3 100644
--- a/src/Selection.c
+++ b/src/Selection.c
@@ -979,7 +979,7 @@ OwnSelection(Widget widget,
XtAddCallback(widget, XtNdestroyCallback,
WidgetDestroyed, (XtPointer) ctx);
}
- ctx->widget = widget; /* Selection offically changes hands. */
+ ctx->widget = widget; /* Selection officially changes hands. */
ctx->time = time;
ctx->serial = serial;
}
diff --git a/src/TMaction.c b/src/TMaction.c
index 21e4c35..5e843b5 100644
--- a/src/TMaction.c
+++ b/src/TMaction.c
@@ -906,7 +906,7 @@ _XtPopupInitialize(XtAppContext app)
* The _XtGlobalTM.newMatchSemantics flag determines whether
* we support old or new matching
* behavior. This is mainly an issue of whether subsequent lhs will
- * get pushed up in the match table if a lhs containing thier initial
+ * get pushed up in the match table if a lhs containing this initial
* sequence has already been encountered. Currently inited to False;
*/
#ifdef NEW_TM
diff --git a/src/TMparse.c b/src/TMparse.c
index 62f2940..5beade0 100644
--- a/src/TMparse.c
+++ b/src/TMparse.c
@@ -709,7 +709,7 @@ ParseModifiers(register String str, EventPtr event, Boolean *error)
ScanWhitespace(str);
return str;
}
- else if (Qmod == QAny) { /*backward compatability */
+ else if (Qmod == QAny) { /*backward compatibility */
event->event.modifierMask = 0;
event->event.modifiers = AnyModifier;
ScanWhitespace(str);
diff --git a/src/TMstate.c b/src/TMstate.c
index 897d535..8c7854d 100644
--- a/src/TMstate.c
+++ b/src/TMstate.c
@@ -2036,7 +2036,7 @@ ComposeTranslations(Widget dest,
* If a GetValues is done on a translation resource that contains
* accelerators we need to return the accelerator context in addition
* to the pure translations. Since this means returning memory that
- * the client controlls but we still own, we will track the "headers"
+ * the client controls but we still own, we will track the "headers"
* that we return (via a linked list pointed to from the bindData) and
* free it at destroy time.
*/