| 1 |
Fix spelling errors in comments and man pages |
| 2 |
--- a/pTk/mTk/win/tkWinFont.c |
| 3 |
+++ b/pTk/mTk/win/tkWinFont.c |
| 4 |
@@ -250,7 +250,7 @@ |
| 5 |
if (TkWinGetPlatformId() == VER_PLATFORM_WIN32_NT) { |
| 6 |
/* |
| 7 |
* If running NT, then we will be calling some Unicode functions |
| 8 |
- * explictly. So, even if the Tcl system encoding isn't Unicode, |
| 9 |
+ * explicitly. So, even if the Tcl system encoding isn't Unicode, |
| 10 |
* make sure we convert to/from the Unicode char set. |
| 11 |
*/ |
| 12 |
|
| 13 |
--- a/pod/tixWm.pod |
| 14 |
+++ b/pod/tixWm.pod |
| 15 |
@@ -27,7 +27,7 @@ |
| 16 |
widget. Normally this command is called to convert a L<Toplevel|Tk::Toplevel> widget |
| 17 |
into a L<Frame|Tk::Frame> widget. The newly-converted frame widget is |
| 18 |
un-mapped from the screen. To make it appear inside its parent, you |
| 19 |
-must call a geometry manager (e.g. grid or pack) explictly. |
| 20 |
+must call a geometry manager (e.g. grid or pack) explicitly. |
| 21 |
|
| 22 |
=item I<$widget>-E<gt>B<wmRelease> |
| 23 |
|
| 24 |
--- a/pod/mega.pod |
| 25 |
+++ b/pod/mega.pod |
| 26 |
@@ -345,7 +345,7 @@ |
| 27 |
method with this name. Therefore one can't ``I<delegate>'' |
| 28 |
any of the methods listed in L<Tk::Widget|Tk::Widget>. |
| 29 |
A common problematic method is B<bind>. In this case |
| 30 |
-one as to explicitely redirect the method. |
| 31 |
+one as to explicitly redirect the method. |
| 32 |
|
| 33 |
sub bind { |
| 34 |
my $self = shift; |
| 35 |
--- a/pod/UserGuide.pod |
| 36 |
+++ b/pod/UserGuide.pod |
| 37 |
@@ -504,7 +504,7 @@ |
| 38 |
Semantically nothing changes, as the series of codepoints stays the |
| 39 |
same, but things will change when variables with high-bit iso-8859-1 |
| 40 |
characters will be passed to the "outer" world. In this case you have |
| 41 |
-to explicitely mark the encoding of your output stream if using IO, or |
| 42 |
+to explicitly mark the encoding of your output stream if using IO, or |
| 43 |
encode the variables using L<Encode> for other style of communication. |
| 44 |
|
| 45 |
This is the theory, now some examples. |
| 46 |
--- a/PNG/zlib/as400/readme.txt |
| 47 |
+++ b/PNG/zlib/as400/readme.txt |
| 48 |
@@ -106,6 +106,6 @@ |
| 49 |
|
| 50 |
Remember that most foreign textual data are ASCII coded: this |
| 51 |
implementation does not handle conversion from/to ASCII, so |
| 52 |
- text data code conversions must be done explicitely. |
| 53 |
+ text data code conversions must be done explicitly. |
| 54 |
|
| 55 |
Always open zipped files in binary mode. |
| 56 |
--- a/pod/after.pod |
| 57 |
+++ b/pod/after.pod |
| 58 |
@@ -62,7 +62,7 @@ |
| 59 |
|
| 60 |
=head1 Changing a B<repeat> timer interval |
| 61 |
|
| 62 |
-It's posible to change a B<repeat> timer's delay value, or even cancel |
| 63 |
+It's possible to change a B<repeat> timer's delay value, or even cancel |
| 64 |
any timer, using the B<time> method. If I<delay> is specified and |
| 65 |
non-zero, a new timer delay is established. If I<delay> is zero the |
| 66 |
timer event is canceled just as if I<$id>-E<gt>B<cancel> were invoked. |
| 67 |
--- a/pod/TODO |
| 68 |
+++ b/pod/TODO |
| 69 |
@@ -510,7 +510,7 @@ |
| 70 |
o Describe how emulate bind in your callback handling |
| 71 |
o Ev() example/explanations better moved to Tk::bind ? |
| 72 |
o BUGS entry?: Missing is a -callback switch that treats |
| 73 |
- callbacks as bind does automaticly |
| 74 |
+ callbacks as bind does automatically |
| 75 |
|
| 76 |
configspec: |
| 77 |
|
| 78 |
--- a/ptksh |
| 79 |
+++ b/ptksh |
| 80 |
@@ -57,7 +57,7 @@ |
| 81 |
|
| 82 |
ptksh is a perl/Tk shell to enter perl commands |
| 83 |
interactively. When one starts ptksh a L<MainWindow|Tk::MainWindow> |
| 84 |
-is automaticly created, along with a ptksh command window. |
| 85 |
+is automatically created, along with a ptksh command window. |
| 86 |
One can access the main window by typing commands using the |
| 87 |
variable $mw at the 'ptksh> ' prompt of the command window. |
| 88 |
|
| 89 |
--- a/pod/X11Font.pod |
| 90 |
+++ b/pod/X11Font.pod |
| 91 |
@@ -21,7 +21,7 @@ |
| 92 |
=head1 DESCRIPTION |
| 93 |
|
| 94 |
This module can be use to interrogate the X server what fonts are |
| 95 |
- avaliable. |
| 96 |
+ available. |
| 97 |
|
| 98 |
=head1 METHODS |
| 99 |
|
| 100 |
--- a/pod/Wm.pod |
| 101 |
+++ b/pod/Wm.pod |
| 102 |
@@ -268,7 +268,7 @@ |
| 103 |
display rubbish in their transparent parts. |
| 104 |
|
| 105 |
The sizes of images that can be used as icons in this manner are platform |
| 106 |
-dependant. On Win32 this sets the "large" icon, which should be 32x32, it |
| 107 |
+dependent. On Win32 this sets the "large" icon, which should be 32x32, it |
| 108 |
will automatically be scaled down to 16x16 for use as a small icon. |
| 109 |
|
| 110 |
=item I<$toplevel>-E<gt>B<iconmask>(?I<bitmap>?) |
| 111 |
@@ -559,7 +559,7 @@ |
| 112 |
=head1 ICON SIZES |
| 113 |
|
| 114 |
The sizes of bitmaps/images that can be used as icons in this manner are platform |
| 115 |
-and window manager dependant. Unix window managers are typically more tolerant |
| 116 |
+and window manager dependent. Unix window managers are typically more tolerant |
| 117 |
than Win32. It is possible that coloured C<iconimage> icons may cause problems |
| 118 |
on some X window managers. |
| 119 |
|
| 120 |
--- a/pod/Text.pod |
| 121 |
+++ b/pod/Text.pod |
| 122 |
@@ -47,7 +47,7 @@ |
| 123 |
using any of the standard forms for screen distances. |
| 124 |
If a line wraps, this option only applies to the first line |
| 125 |
on the display. |
| 126 |
-This option may be overriden with B<-spacing1> options in |
| 127 |
+This option may be overridden with B<-spacing1> options in |
| 128 |
tags. |
| 129 |
|
| 130 |
=item Name: B<spacing2> |
| 131 |
@@ -60,7 +60,7 @@ |
| 132 |
display) this option specifies additional space to provide between |
| 133 |
the display lines that represent a single line of text. |
| 134 |
The value may have any of the standard forms for screen distances. |
| 135 |
-This option may be overriden with B<-spacing2> options in |
| 136 |
+This option may be overridden with B<-spacing2> options in |
| 137 |
tags. |
| 138 |
|
| 139 |
=item Name: B<spacing3> |
| 140 |
@@ -73,7 +73,7 @@ |
| 141 |
using any of the standard forms for screen distances. |
| 142 |
If a line wraps, this option only applies to the last line |
| 143 |
on the display. |
| 144 |
-This option may be overriden with B<-spacing3> options in |
| 145 |
+This option may be overridden with B<-spacing3> options in |
| 146 |
tags. |
| 147 |
|
| 148 |
=item Name: B<state> |
| 149 |
--- a/pod/Canvas.pod |
| 150 |
+++ b/pod/Canvas.pod |
| 151 |
@@ -82,8 +82,8 @@ |
| 152 |
state option, which overrides the default state. Many options can take |
| 153 |
separate specifications such that the appearance of the item can be different |
| 154 |
in different situations. The options that start with "active" control the |
| 155 |
-appearence when the mouse pointer is over it, while the option starting |
| 156 |
-with "disabled" controls the appearence when the state is disabled. |
| 157 |
+appearance when the mouse pointer is over it, while the option starting |
| 158 |
+with "disabled" controls the appearance when the state is disabled. |
| 159 |
|
| 160 |
=item Name: B<width> |
| 161 |
|
| 162 |
--- a/pod/Font.pod |
| 163 |
+++ b/pod/Font.pod |
| 164 |
@@ -350,7 +350,7 @@ |
| 165 |
on all platforms (as it did on Win32), while previously on X systems it returned |
| 166 |
a list of fonts that matched an under-specified pattern. |
| 167 |
|
| 168 |
-Briefly the methods supported for compatibilty are as follows: |
| 169 |
+Briefly the methods supported for compatibility are as follows: |
| 170 |
|
| 171 |
=over 4 |
| 172 |
|
| 173 |
--- a/pTk/tcl.h |
| 174 |
+++ b/pTk/tcl.h |
| 175 |
@@ -2303,7 +2303,7 @@ |
| 176 |
|
| 177 |
/* |
| 178 |
* These function have been renamed. The old names are deprecated, but we |
| 179 |
- * define these macros for backwards compatibilty. |
| 180 |
+ * define these macros for backwards compatibility. |
| 181 |
*/ |
| 182 |
#define Tcl_Ckalloc Tcl_Alloc |
| 183 |
#define Tcl_Ckfree Tcl_Free |
| 184 |
--- a/pTk/mTk/tclGeneric/tcl.h |
| 185 |
+++ b/pTk/mTk/tclGeneric/tcl.h |
| 186 |
@@ -1627,7 +1627,7 @@ |
| 187 |
|
| 188 |
/* |
| 189 |
* These function have been renamed. The old names are deprecated, but we |
| 190 |
- * define these macros for backwards compatibilty. |
| 191 |
+ * define these macros for backwards compatibility. |
| 192 |
*/ |
| 193 |
|
| 194 |
#define Tcl_Ckalloc Tcl_Alloc |
| 195 |
--- a/pTk/mTk/tclGeneric/tclCmdIL.c |
| 196 |
+++ b/pTk/mTk/tclGeneric/tclCmdIL.c |
| 197 |
@@ -1625,7 +1625,7 @@ |
| 198 |
/* |
| 199 |
* If "info procs" worked like "info commands", returning the |
| 200 |
* commands also seen in the global namespace, then you would |
| 201 |
- * include this code. As this could break backwards compatibilty |
| 202 |
+ * include this code. As this could break backwards compatibility |
| 203 |
* with 8.0-8.2, we decided not to "fix" it in 8.3, leaving the |
| 204 |
* behavior slightly different. |
| 205 |
*/ |
| 206 |
--- a/Tixish/NoteBook.pm |
| 207 |
+++ b/Tixish/NoteBook.pm |
| 208 |
@@ -28,7 +28,7 @@ |
| 209 |
{ |
| 210 |
my ($class,$mw) = @_; |
| 211 |
# class binding does not work right due to extra level of |
| 212 |
- # widget hierachy |
| 213 |
+ # widget hierarchy |
| 214 |
$mw->bind($class,'<ButtonPress-1>', ['MouseDown',Ev('x'),Ev('y')]); |
| 215 |
$mw->bind($class,'<ButtonRelease-1>', ['MouseUp',Ev('x'),Ev('y')]); |
| 216 |
|
| 217 |
--- a/Tk/Adjuster.pm |
| 218 |
+++ b/Tk/Adjuster.pm |
| 219 |
@@ -10,7 +10,7 @@ |
| 220 |
# Construct Tk::Widget 'packAdjust'; |
| 221 |
|
| 222 |
# because if managed object is Derived (e.g. a Scrolled) then our 'new' |
| 223 |
-# will be delegated and hierachy gets turned inside-out |
| 224 |
+# will be delegated and hierarchy gets turned inside-out |
| 225 |
# So packAdjust is autoloaded in Widget.pm |
| 226 |
|
| 227 |
|
| 228 |
--- a/Tk/Widget.pm |
| 229 |
+++ b/Tk/Widget.pm |
| 230 |
@@ -568,7 +568,7 @@ |
| 231 |
|
| 232 |
# walk and descendants adapted from Stephen's composite |
| 233 |
# versions as they only use core features they can go here. |
| 234 |
-# hierachy is reversed in that descendants calls walk rather |
| 235 |
+# hierarchy is reversed in that descendants calls walk rather |
| 236 |
# than vice versa as this avoids building a list. |
| 237 |
# Walk should possibly be enhanced so allow early termination |
| 238 |
# like '-prune' of find. |
| 239 |
--- a/pod/HList.pod |
| 240 |
+++ b/pod/HList.pod |
| 241 |
@@ -245,7 +245,7 @@ |
| 242 |
The HList widget can be used to display any data that have a |
| 243 |
hierarchical structure, for example, file system directory trees. The |
| 244 |
list entries are indented and connected by branch lines according to |
| 245 |
-their places in the hierachy. |
| 246 |
+their places in the hierarchy. |
| 247 |
|
| 248 |
Each list entry is identified by an B<entryPath>. The entryPath is a |
| 249 |
sequence of B<entry names> separated by the separator charactor |
| 250 |
--- a/pod/Widget.pod |
| 251 |
+++ b/pod/Widget.pod |
| 252 |
@@ -50,7 +50,7 @@ |
| 253 |
capitals are assumed to be classes; as a result, Tk may not |
| 254 |
be able to find some options for the application. |
| 255 |
If sends have been disabled by deleting the B<send> command, |
| 256 |
-this command will reenable them and recreate the B<send> |
| 257 |
+this command will re-enable them and recreate the B<send> |
| 258 |
command. |
| 259 |
|
| 260 |
=item I<$widget>-E<gt>B<atom>(I<name>) |
| 261 |
@@ -448,7 +448,7 @@ |
| 262 |
but it can be changed at any time. Measurements made |
| 263 |
after the scaling factor is changed will use the new scaling factor, but it |
| 264 |
is undefined whether existing widgets will resize themselves dynamically to |
| 265 |
-accomodate the new scaling factor. |
| 266 |
+accommodate the new scaling factor. |
| 267 |
|
| 268 |
=item I<$widget>-E<gt>B<screen> |
| 269 |
|
| 270 |
@@ -667,7 +667,7 @@ |
| 271 |
|
| 272 |
=head1 CAVEATS |
| 273 |
|
| 274 |
-The above documentaion on generic methods is incomplete. |
| 275 |
+The above documentation on generic methods is incomplete. |
| 276 |
|
| 277 |
=head1 KEYWORDS |
| 278 |
|
| 279 |
--- a/pod/LabFrame.pod |
| 280 |
+++ b/pod/LabFrame.pod |
| 281 |
@@ -15,7 +15,7 @@ |
| 282 |
|
| 283 |
=head1 DESCRIPTION |
| 284 |
|
| 285 |
-B<LabFrame> is exactly like B<Frame> and additionaly allows to |
| 286 |
+B<LabFrame> is exactly like B<Frame> and additionally allows one to |
| 287 |
add a label to the frame. |
| 288 |
|
| 289 |
=head1 WIDGET-OPTIONS |
| 290 |
--- a/pod/Listbox.pod |
| 291 |
+++ b/pod/Listbox.pod |
| 292 |
@@ -734,7 +734,7 @@ |
| 293 |
|
| 294 |
this will return the currently selected elements, in this case "b". |
| 295 |
|
| 296 |
-However, if the "ReturnType" arguement is passed when tying the Listbox to the |
| 297 |
+However, if the "ReturnType" argument is passed when tying the Listbox to the |
| 298 |
scalar with value "index" then the indices of the selected elements will be |
| 299 |
returned instead of the elements themselves, ie in this case "1". This can be |
| 300 |
useful when manipulating both contents and selected elements in the Listbox at |
| 301 |
--- a/pod/Menu.pod |
| 302 |
+++ b/pod/Menu.pod |
| 303 |
@@ -733,7 +733,7 @@ |
| 304 |
|
| 305 |
=item B<Pulldown Menus in Menu Buttons> |
| 306 |
|
| 307 |
-This is the compatable way to do menu bars. You create one menubutton |
| 308 |
+This is the compatible way to do menu bars. You create one menubutton |
| 309 |
widget for each top-level menu, and typically you arrange a series of |
| 310 |
menubuttons in a row in a menubar window. You also create the top-level menus |
| 311 |
and any cascaded submenus, and tie them together with B<-menu> |
| 312 |
--- a/Event/pTkCallback.c |
| 313 |
+++ b/Event/pTkCallback.c |
| 314 |
@@ -22,7 +22,7 @@ |
| 315 |
- Simple case of ref to CV |
| 316 |
- A ref to an AV, 1st element is "method" rest are |
| 317 |
args to be passed on EACH call (before/after any Tk args ?) |
| 318 |
- Akin to fact that TCL/TK evals an arbitary string |
| 319 |
+ Akin to fact that TCL/TK evals an arbitrary string |
| 320 |
(Perl code could pre-scan args and convert Malcolm's |
| 321 |
-method/-slave into this form.) |
| 322 |
- Special case of a "window" reference, treat 1st arg |
| 323 |
--- a/Tk/Pane.pm |
| 324 |
+++ b/Tk/Pane.pm |
| 325 |
@@ -453,7 +453,7 @@ |
| 326 |
|
| 327 |
=item I<$pane>-E<gt>B<see>(I<$widget> ?,I<options>?) |
| 328 |
|
| 329 |
-Adjusts the view so that I<$widget> is visable. Aditional parameters in |
| 330 |
+Adjusts the view so that I<$widget> is visable. Additional parameters in |
| 331 |
I<options-value> pairs can be passed, each I<option-value> pair must be |
| 332 |
one of the following |
| 333 |
|
| 334 |
--- a/pTk/mTk/generic/tkText.h |
| 335 |
+++ b/pTk/mTk/generic/tkText.h |
| 336 |
@@ -393,7 +393,7 @@ |
| 337 |
int affectsDisplay; /* Non-zero means that this tag affects the |
| 338 |
* way information is displayed on the screen |
| 339 |
* (so need to redisplay if tag changes). */ |
| 340 |
- Tcl_Obj * userData; /* arbitary user data */ |
| 341 |
+ Tcl_Obj * userData; /* arbitrary user data */ |
| 342 |
} TkTextTag; |
| 343 |
|
| 344 |
#define TK_TAG_AFFECTS_DISPLAY 0x1 |
| 345 |
--- a/pod/Scrollbar.pod |
| 346 |
+++ b/pod/Scrollbar.pod |
| 347 |
@@ -225,7 +225,7 @@ |
| 348 |
The scrollbar makes the notification by evaluating a callback |
| 349 |
specified as the scrollbar's B<-command> option. |
| 350 |
The callback may take several forms. |
| 351 |
-In each case, the intial arguments passed are those |
| 352 |
+In each case, the initial arguments passed are those |
| 353 |
specified in the B<-command> callback itself, |
| 354 |
which usually has a form like [B<yview> =E<gt> I<$widget>]. |
| 355 |
(Which will invoke I<$widget>-E<gt>B<yview>(...) where |
| 356 |
--- a/pod/Table.pod |
| 357 |
+++ b/pod/Table.pod |
| 358 |
@@ -35,7 +35,7 @@ |
| 359 |
=head1 DESCRIPTION |
| 360 |
|
| 361 |
Tk::Table is an all-perl widget/geometry manager which allows a two dimensional |
| 362 |
-table of arbitary perl/Tk widgets to be displayed. |
| 363 |
+table of arbitrary perl/Tk widgets to be displayed. |
| 364 |
|
| 365 |
Entries in the Table are simply ordinary perl/Tk widgets. They should |
| 366 |
be created with the Table as their parent. Widgets are positioned in the |
| 367 |
--- a/pTk/mTk/tclUnix/tclLoadShl.c |
| 368 |
+++ b/pTk/mTk/tclUnix/tclLoadShl.c |
| 369 |
@@ -64,7 +64,7 @@ |
| 370 |
* The flags below used to be BIND_IMMEDIATE; they were changed at |
| 371 |
* the suggestion of Wolfgang Kechel ([email protected]): "This |
| 372 |
* enables verbosity for missing symbols when loading a shared lib |
| 373 |
- * and allows to load libtk8.0.sl into tclsh8.0 without problems. |
| 374 |
+ * and allows one to load libtk8.0.sl into tclsh8.0 without problems. |
| 375 |
* In general, this delays resolving symbols until they are actually |
| 376 |
* needed. Shared libs do no longer need all libraries linked in |
| 377 |
* when they are build." |