From 37ffe69b10ae29e8f91de6ef647d06804b9d159b Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 16 Sep 2011 22:13:37 -0700 Subject: Strip trailing whitespace Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith --- specs/CH1.xml | 4 ++-- specs/CH2.xml | 2 +- specs/CH7.xml | 6 +++--- specs/Dialog.xml | 14 +++++++------- specs/Form.xml | 16 ++++++++-------- specs/Makefile.am | 2 +- specs/Porthole.xml | 6 +++--- specs/SmeBSB.xml | 2 +- specs/TextFuncs.xml | 4 ++-- specs/libXaw.xml | 30 +++++++++++++++--------------- 10 files changed, 43 insertions(+), 43 deletions(-) (limited to 'specs') diff --git a/specs/CH1.xml b/specs/CH1.xml index a4fb08c..3363723 100644 --- a/specs/CH1.xml +++ b/specs/CH1.xml @@ -130,7 +130,7 @@ Format of the Widget Reference Chapters -In addition to the terms already defined for X programming (see +In addition to the terms already defined for X programming (see Xlib - C Language Interface), the following terms are specific to the Intrinsics and Athena widget set and used throughout this document. @@ -716,7 +716,7 @@ resource defaults to False in the Intrinsics, but is redefi default to True when an application is using the Athena widget set. An application programmer may override this default and set the resource back to False if the application does not need the window -manager to give it the input focus. See the +manager to give it the input focus. See the X Toolkit Intrinsics - C Language Interface for details on the input resource. diff --git a/specs/CH2.xml b/specs/CH2.xml index cea1515..5cc8410 100644 --- a/specs/CH2.xml +++ b/specs/CH2.xml @@ -126,7 +126,7 @@ first letter of the application name. For example, the application named Specifies how to parse the command line for any application-specific resources. The options argument is passed as a parameter to -XrmParseCommand . +XrmParseCommand . For further information, see Xlib - C Language Interface. diff --git a/specs/CH7.xml b/specs/CH7.xml index 4c49170..62d23bb 100644 --- a/specs/CH7.xml +++ b/specs/CH7.xml @@ -4,7 +4,7 @@ Although the task of creating a new widget may at first appear a little daunting, there is a basic simple pattern that all widgets follow. The Athena Widget library contains a special widget called the -Template widget that is intended to assist +Template widget that is intended to assist the novice widget programmer in writing a custom widget. @@ -111,10 +111,10 @@ un-necessarily waste many resources. In this section, an outline will be given of the procedure to follow to construct a special-purpose widget to address the items listed above. -The reader should refer to the appropriate sections of the +The reader should refer to the appropriate sections of the X Toolkit Intrinsics - C Language Interface for complete details of the material outlined here. Section 1.4 of -the Intrinsics should be read in +the Intrinsics should be read in conjunction with this section. diff --git a/specs/Dialog.xml b/specs/Dialog.xml index ab09dba..c779d76 100644 --- a/specs/Dialog.xml +++ b/specs/Dialog.xml @@ -431,7 +431,7 @@ tics. One is used when initially laying out the children. The other is used when the Dialog is resized. -The first layout method uses the fromVert mand fromHoriz +The first layout method uses the fromVert mand fromHoriz resources to place the children of the Dialog. A single pass is made through the Dialog widget's children in the order that they were created. Each child is then placed in @@ -450,17 +450,17 @@ The second layout method is used when the Dialog is resized. It does not matter what causes this resize, and it is possi- ble for a resize to happen before the widget becomes visible (due to constraints imposed by the parent of the Dialog). -This layout method uses the bottom , -top , left , and -right +This layout method uses the bottom , +top , left , and +right resources. These resources are used to determine what will happen to each edge of the child when the Dialog is resized. -If a value of XawChain +If a value of XawChain <something> is specified, the the edge of the child will remain a fixed distance from the chain -edge of the Dialog. For example if XawChainLeft -mis specified for the right mresource of a child +edge of the Dialog. For example if XawChainLeft +mis specified for the right mresource of a child then the right edge of that child will remain a fixed distance from the left edge of the Dialog widget. If a value of XawRubber mis spec- diff --git a/specs/Form.xml b/specs/Form.xml index cd41ef9..4b02bde 100644 --- a/specs/Form.xml +++ b/specs/Form.xml @@ -380,16 +380,16 @@ One is used when initially laying out the children. The other is used when the Form is resized. -The first layout method uses the fromVert -and fromHoriz +The first layout method uses the fromVert +and fromHoriz resources to place the children of the Form. A single pass is made through the Form widget's children in the order that they were created. Each child is then placed in the Form widget below or to the right of the widget specified by the -fromVert and fromHoriz +fromVert and fromHoriz resources. The distance the new child is placed from its left or upper neighbor is deter- -mined by the horizDistance and +mined by the horizDistance and vertDistance resources. This implies some things about how the order of creation affects the possible placement of the children. The Form widget @@ -401,14 +401,14 @@ The second layout method is used when the Form is resized. It does not matter what causes this resize, and it is possi- ble for a resize to happen before the widget becomes visible (due to constraints imposed by the parent of the Form). -This layout method uses the bottom, -top, left, and +This layout method uses the bottom, +top, left, and right resources. These resources are used to determine what will happen to each edge of the child when the Form is resized. -If a value of XawChain +If a value of XawChain <something> is specified, the the edge -of the child will remain a fixed distance from the +of the child will remain a fixed distance from the chain edge of the Form. For example if XawChainLeft is specified for the right resource of a child then the right edge of diff --git a/specs/Makefile.am b/specs/Makefile.am index ff0fcfa..8663da2 100644 --- a/specs/Makefile.am +++ b/specs/Makefile.am @@ -2,7 +2,7 @@ if ENABLE_SPECS # Main DocBook/XML files (DOCTYPE book) -docbook = libXaw.xml +docbook = libXaw.xml # Included chapters, appendix, images chapters = \ diff --git a/specs/Porthole.xml b/specs/Porthole.xml index a0a87c1..2a90815 100644 --- a/specs/Porthole.xml +++ b/specs/Porthole.xml @@ -281,7 +281,7 @@ the managed child changes size or position: Specifies the Porthole widget. - + client_data @@ -290,7 +290,7 @@ Specifies the Porthole widget. Specifies the client data. - + report @@ -300,7 +300,7 @@ Specifies a pointer to an XawPannerReport structure contain the location and size of the slider and the size of the canvas. - + diff --git a/specs/SmeBSB.xml b/specs/SmeBSB.xml index 539bdcb..68c6fa0 100644 --- a/specs/SmeBSB.xml +++ b/specs/SmeBSB.xml @@ -189,7 +189,7 @@ All callback functions on this list are called when the SimpleMenu notifies this entry that the user has selected it. - + font diff --git a/specs/TextFuncs.xml b/specs/TextFuncs.xml index 9057c33..758b114 100644 --- a/specs/TextFuncs.xml +++ b/specs/TextFuncs.xml @@ -152,7 +152,7 @@ Specifies the character position at which the selection ends. -See section 5.4 for a description of XawTextPosition. +See section 5.4 for a description of XawTextPosition. If redisplay is enabled, this function highlights the text and makes it the PRIMARY selection. This function does not have any effect on CUT_BUFFER0. @@ -239,7 +239,7 @@ Returns the end of the text selection. -See section 5.4 for a description of XawTextPosition. +See section 5.4 for a description of XawTextPosition. If the returned values are equal, no text is currently selected. diff --git a/specs/libXaw.xml b/specs/libXaw.xml index c8ad9d0..39bf7c8 100644 --- a/specs/libXaw.xml +++ b/specs/libXaw.xml @@ -29,33 +29,33 @@ -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files -(the “Software”), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to permit -persons to whom the Software is furnished to do so, subject to the following +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files +(the “Software”), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to permit +persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -Except as contained in this notice, the name of the X Consortium shall not -be used in advertising or otherwise to promote the sale, use or other dealings +Except as contained in this notice, the name of the X Consortium shall not +be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. -- cgit v1.2.1