Skip to content

Commit 8a8937b

Browse files
author
jan.nijtmans
committed
Eliminate unneeded end-of-line spacing
1 parent 475cd65 commit 8a8937b

27 files changed

+83
-83
lines changed

Diff for: ChangeLog

+18-18
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ https://core.tcl-lang.org/itcl/timeline
6161
tracker.
6262
2014-02-18 Arnulf P. Wiedemann <[email protected]>
6363
* generic/itclResolve.c:
64-
* generic/itclObject.c: fix for upvar problem (SF bug #187) in
64+
* generic/itclObject.c: fix for upvar problem (SF bug #187) in
6565
splitting up the trace handlers for this, win, type, self and selfns.
6666
Also doing traces for linked variables to one of these.
6767
2014-02-16 Arnulf P. Wiedemann <[email protected]>
@@ -291,7 +291,7 @@ https://core.tcl-lang.org/itcl/timeline
291291

292292
* itcl/generic/itcl2TclOO.c (Itcl_NRRunCallbacks):
293293
Tcl's [Patch 3072080] (a saner NRE): TclNRRunCallbacks lost one
294-
argument.
294+
argument.
295295

296296
2010-08-22 Arnulf P.Wiedemann <[email protected]>
297297
* itclInt.h, itclObject.c, itclInfo.c: fix for BiInfoHeritageCmd
@@ -317,7 +317,7 @@ https://core.tcl-lang.org/itcl/timeline
317317
* itcl2Tcloo.h: fix for SF bug #2993648
318318
* itclBuiltin.c: added an empty line for beautifying
319319
* itclCmd.c: in Itcl_IsObjectCmd if in constructor use the correct ioPtr
320-
* itclObject.c: in Itcl_ObjectIsa check for contextIoPtr == NULL
320+
* itclObject.c: in Itcl_ObjectIsa check for contextIoPtr == NULL
321321
to avoid segmentation violation
322322
2010-04-21 Arnulf P.Wiedemann <[email protected]>
323323
* itclCmd.c: Add missing Tcl_DStringFree for [itcl Bug 2983809]
@@ -326,7 +326,7 @@ https://core.tcl-lang.org/itcl/timeline
326326
* itclParse.c:
327327
* itclResolve.c:
328328

329-
* itclParse.c: better error message when using: public mthod ...
329+
* itclParse.c: better error message when using: public mthod ...
330330
instead of public method ...
331331
2010-04-08 Don Porter <[email protected]>
332332
* itclInt.h: Add #ifdef guards to attempt inclusion of
@@ -393,12 +393,12 @@ https://core.tcl-lang.org/itcl/timeline
393393
NRE calling
394394

395395
2009-10-23 Arnulf P. Wiedemann <[email protected]>
396-
* itclMigrate2TclCore.c: added Itcl_GetUplevelCallFrame and
396+
* itclMigrate2TclCore.c: added Itcl_GetUplevelCallFrame and
397397
Itcl_ActivateCallFrame functions
398398
same as in Itcl3.4. They are needed to call
399399
the itk_component command with the suitable
400400
call frame as this is needed for access to the
401-
proc local vars. This was the fix for SF
401+
proc local vars. This was the fix for SF
402402
bug #2840994
403403
* itclStubInit.c:
404404
* itcl.decls:
@@ -478,7 +478,7 @@ https://core.tcl-lang.org/itcl/timeline
478478

479479
2008-02-21 Arnulf P. Wiedemann <[email protected]>
480480
* fix for SF bug 2595708 itclParse.c and itclBuiltin.c
481-
* fix for problem with scope command path reported by
481+
* fix for problem with scope command path reported by
482482
* Harald Krummeck on c.l.t ItclCmd.c
483483
2008-02-02 Arnulf P. Wiedemann <[email protected]>
484484
* generic/itcl.h configure.in:
@@ -504,7 +504,7 @@ https://core.tcl-lang.org/itcl/timeline
504504
here are similar funtions to itclWidget.tcl for
505505
use by ::itcl::extendedclass
506506

507-
* generic/itclUtil.c: malloc.h include now bracketed with
507+
* generic/itclUtil.c: malloc.h include now bracketed with
508508
#ifdef ITCL_PRESERVE_DEBUG as it is only used
509509
for debugging. I have to look for a solution
510510
using memory.h as a portable version, but
@@ -514,18 +514,18 @@ https://core.tcl-lang.org/itcl/timeline
514514
necessary, as im am checking stuff done by
515515
ckalloc and ckfree, so these cannot be used.
516516
2009-01-15 David Gravereaux <[email protected]>
517-
* generic/itcl2TclOO.h: More cleanups changing the last of the
518-
* generic/itclClass.c: 'EXTERN' macros to just be 'extern' as we
519-
* win/.cvsignore: aren't importing the declaration, just
520-
* win/itcl.rc: sharing it internally. This caused warnings
521-
* win/makefile.vc: on windows during the link stage as it was
522-
* win/nmakehlp.c: getting confused about 'why are you
517+
* generic/itcl2TclOO.h: More cleanups changing the last of the
518+
* generic/itclClass.c: 'EXTERN' macros to just be 'extern' as we
519+
* win/.cvsignore: aren't importing the declaration, just
520+
* win/itcl.rc: sharing it internally. This caused warnings
521+
* win/makefile.vc: on windows during the link stage as it was
522+
* win/nmakehlp.c: getting confused about 'why are you
523523
* win/rules.vc: importing an internal function?'
524524
2009-01-15 David Gravereaux <[email protected]>
525525
* generic/itclMigrate2TclCore.h: All build errors squashed
526526
* generic/itclStubLib.c:
527527
* generic/itclTclIntStubFcn.h:
528-
* win/makefile.vc:
528+
* win/makefile.vc:
529529
2009-01-14 David Gravereaux <[email protected]>
530530
* generic/itclBase.c:
531531
* generic/itclBuiltin.c:
@@ -543,7 +543,7 @@ https://core.tcl-lang.org/itcl/timeline
543543
* generic/itclTclIntStubsFcn.c:
544544
* win/makefile.vc:
545545
Changes to allow compiling on windows with
546-
MSVC++. Double declaration of internal
546+
MSVC++. Double declaration of internal
547547
functions not yet repaired. DOESN'T
548548
BUILD YET with makefile.vc.
549549
2009-01-14 Daniel A. Steffen <[email protected]>
@@ -554,8 +554,8 @@ https://core.tcl-lang.org/itcl/timeline
554554
2008-12-11 Arnulf P. Wiedemann <[email protected]>
555555
* itcl-ng first beta release 4.0b1
556556
2008-12-06 Arnulf P. Wiedemann <[email protected]>
557-
* built enhanced functions for chasing memory leaks in adding
558-
* functionality to the functions available in Tcl core
557+
* built enhanced functions for chasing memory leaks in adding
558+
* functionality to the functions available in Tcl core
559559
* and fixed a lot of leaks of that class
560560
2008-11-30 Arnulf P. Wiedemann <[email protected]>
561561
* built functions for chasing memory leaks and fixed a lot of those

Diff for: Makefile.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ shell: binaries libraries
258258
gdb:
259259
$(TCLSH_ENV) $(PKG_ENV) $(GDB) $(TCLSH_PROG) $(SCRIPT)
260260

261-
gdb-test: binaries libraries
261+
gdb-test: binaries libraries
262262
$(TCLSH_ENV) $(PKG_ENV) $(GDB) \
263263
--args $(TCLSH_PROG) `@CYGPATH@ $(srcdir)/tests/all.tcl` \
264264
$(TESTFLAGS) -singleproc 1 -load "$(TESTLOADARG)"

Diff for: README

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This directory contains the source code, documentation, and test scripts
1111
for the itcl extension. This version is the next major release to follow
1212
Itcl 3.4. This version claims to be script level compatible with Itcl 3.4.
1313

14-
Itcl is a freely-available open source package as in the past.
14+
Itcl is a freely-available open source package as in the past.
1515
You can do virtually anything you like with it, such as modifying it,
1616
redistributing it, and selling it either in whole or in part. See the file
1717
"license.terms" for complete information.

Diff for: configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ AC_CHECK_TYPE([intptr_t], [
223223
for tcl_cv_intptr_t in "int" "long" "long long" none; do
224224
if test "$tcl_cv_intptr_t" != none; then
225225
AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],
226-
[[sizeof (void *) <= sizeof ($tcl_cv_intptr_t)]])],
226+
[[sizeof (void *) <= sizeof ($tcl_cv_intptr_t)]])],
227227
[tcl_ok=yes], [tcl_ok=no])
228228
test "$tcl_ok" = yes && break; fi
229229
done])

Diff for: doc/ensemble.n

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'\"
44
'\" See the file "license.terms" for information on usage and redistribution
55
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6-
'\"
6+
'\"
77
.TH ensemble n 3.0 itcl "[incr\ Tcl]"
88
.so man.macros
99
.BS

Diff for: doc/is.n

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Returns 1 if command is a class, and returns 0 otherwise.
3333
.PP
3434
The fully qualified name of the class needs to be given as the \fIcommand\fR
3535
argument. So, if a class resides in a namespace, then the namespace needs to
36-
be specified as well. So, if a class \fBC\fR resides in a namespace \fBN\fR, then
36+
be specified as well. So, if a class \fBC\fR resides in a namespace \fBN\fR, then
3737
the command should be called like:
3838
.PP
3939
.CS

Diff for: doc/itcldelegate.n

+6-6
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ name and possibly add some arguments:
6464
delegate method wagtail to tail as "wag briskly"
6565
.CE
6666
.PP
67-
A method cannot be both locally defined and delegated.
67+
A method cannot be both locally defined and delegated.
6868
.RE
6969
.TP
7070
\fBdelegate method \fImethodName\fR ?\fBto \fIcomponentName\fR? \fBusing \fIpattern\fR
@@ -85,7 +85,7 @@ delegate method wag to tail
8585
delegate method wag to tail using "%c %m"
8686
.CE
8787
.PP
88-
Each element of the list becomes a single element of the delegated command
88+
Each element of the list becomes a single element of the delegated command
8989
--it is never reparsed as a string.
9090
.PP
9191
Substitutions:
@@ -97,7 +97,7 @@ command as an argument, you'd write "%%c".
9797
.TP
9898
\fB%c\fR
9999
.
100-
This is replaced with the named component's command.
100+
This is replaced with the named component's command.
101101
.TP
102102
\fB%j\fR
103103
.
@@ -120,11 +120,11 @@ This is replaced with the name of the instance's private namespace.
120120
.TP
121121
\fB%s\fR
122122
.
123-
This is replaced with the name of the instance command.
123+
This is replaced with the name of the instance command.
124124
.TP
125125
\fB%t\fR
126126
.
127-
This is replaced with the fully qualified type name.
127+
This is replaced with the fully qualified type name.
128128
.TP
129129
\fB%w\fR
130130
.
@@ -150,7 +150,7 @@ delegate method {tail *} to tail
150150
.CE
151151
.PP
152152
This implicitly defines the method tail whose subcommands will be
153-
delegated to the tail component.
153+
delegated to the tail component.
154154
.PP
155155
The definitions for \fBdelegate proc\fR ... are the same as for method,
156156
the only difference being, that this is for procs.

Diff for: doc/itcloption.n

+5-5
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ The option statement may include the following options:
6767
\fB-default\fI defvalue\fR
6868
.
6969
Defines the option's default value; the option's default value will be ""
70-
otherwise.
70+
otherwise.
7171
.TP
7272
\fB-readonly\fR
7373
.
7474
The option is handled read-only -- it can only be set using configure at
75-
creation time, i.e., in the type's constructor.
75+
creation time, i.e., in the type's constructor.
7676
.TP
7777
\fB-cgetmethod\fI methodName\fR
7878
.
@@ -91,7 +91,7 @@ code is equivalent to (though slower than) Itcl's default handling of cget:
9191
}
9292
.CE
9393
.PP
94-
Note that it's possible for any number of options to share a -cgetmethod.
94+
Note that it's possible for any number of options to share a -cgetmethod.
9595
.RE
9696
.TP
9797
\fB-cgetmethodvar\fI varName\fR
@@ -119,7 +119,7 @@ handling of configure:
119119
}
120120
.CE
121121
.PP
122-
Note that it's possible for any number of options to share a single -configuremethod.
122+
Note that it's possible for any number of options to share a single -configuremethod.
123123
.RE
124124
.TP
125125
\fB-configuremethodvar\fI varName\fR
@@ -148,7 +148,7 @@ For example, this code verifies that -flag's value is a valid Boolean value:
148148
}
149149
.CE
150150
.PP
151-
Note that it's possible for any number of options to share a single -validatemethod.
151+
Note that it's possible for any number of options to share a single -validatemethod.
152152
.RE
153153
.TP
154154
\fB-validatemethodvar\fI varName\fR

Diff for: doc/scope.n

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ itcl::scope \- capture the namespace context for a variable
1919
Creates a scoped value for the specified \fIname\fR, which must
2020
be a variable name. If the \fIname\fR is an instance variable,
2121
then the scope command returns a name which will resolve in any
22-
context as an instance variable belonging to \fIobject\fR.
22+
context as an instance variable belonging to \fIobject\fR.
2323
The precise format of this name is an internal detail to Itcl.
2424
Use of such a scoped value makes it possible to use
2525
instance variables in conjunction with widgets. For example, if you

Diff for: generic/itclBase.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Initialize (
396396

397397
#ifdef ITCL_DEBUG_C_INTERFACE
398398
RegisterDebugCFunctions(interp);
399-
#endif
399+
#endif
400400
/*
401401
* Package is now loaded.
402402
*/
@@ -508,7 +508,7 @@ ItclCheckSetItclHull(
508508
return TCL_ERROR;
509509
}
510510

511-
/*
511+
/*
512512
* This is an internal command, and is never called with an
513513
* objectName value other than the empty list. Check that with
514514
* an assertion so alternative handling can be removed.

Diff for: generic/itclBuiltin.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ Itcl_BiInit(
381381
Tcl_DictObjPut(NULL, mapDict, infoPtr->infoVars4Ptr,
382382
Tcl_NewStringObj("::itcl::builtin::Info::vars", -1));
383383
Tcl_SetEnsembleMappingDict(interp, infoCmd, mapDict);
384-
/*
384+
/*
385385
* Note that ItclRestoreInfoVars is called in callback
386386
* if built-in Itcl command info::vars or the ensemble get
387387
* deleted (see ItclInfoInit registering that). */

Diff for: generic/itclClass.c

+8-8
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ ItclDeleteClassMetadata(
120120
Tcl_Namespace *ooNsPtr = Tcl_GetObjectNamespace(oPtr);
121121

122122
if (ooNsPtr != iclsPtr->nsPtr) {
123-
/*
123+
/*
124124
* Itcl's idea of the class namespace is different from that of TclOO.
125125
* Make sure both get torn down and pulled from tables.
126126
*/
@@ -527,7 +527,7 @@ Itcl_CreateClass(
527527
ivPtr->protection = ITCL_PROTECTED; /* always "protected" */
528528
ivPtr->flags |= ITCL_OPTIONS_VAR; /* mark as "itcl_options"
529529
* variable */
530-
530+
531531
hPtr = Tcl_CreateHashEntry(&iclsPtr->variables, (char *)namePtr,
532532
&newEntry);
533533
Tcl_SetHashValue(hPtr, (ClientData)ivPtr);
@@ -546,7 +546,7 @@ Itcl_CreateClass(
546546
ivPtr->protection = ITCL_PROTECTED; /* always "protected" */
547547
ivPtr->flags |= ITCL_OPTION_COMP_VAR; /* mark as "itcl_option_components"
548548
* variable */
549-
549+
550550
hPtr = Tcl_CreateHashEntry(&iclsPtr->variables, (char *)namePtr,
551551
&newEntry);
552552
Tcl_SetHashValue(hPtr, (ClientData)ivPtr);
@@ -562,7 +562,7 @@ Itcl_CreateClass(
562562

563563
ivPtr->protection = ITCL_PROTECTED; /* always "protected" */
564564
ivPtr->flags |= ITCL_THIS_VAR; /* mark as "thiswin" variable */
565-
565+
566566
hPtr = Tcl_CreateHashEntry(&iclsPtr->variables, (char *)namePtr,
567567
&newEntry);
568568
Tcl_SetHashValue(hPtr, (ClientData)ivPtr);
@@ -1421,7 +1421,7 @@ CallCreateObject(
14211421
* ------------------------------------------------------------------------
14221422
* Itcl_HandleClass()
14231423
*
1424-
* first argument is ::itcl::parser::handleClass
1424+
* first argument is ::itcl::parser::handleClass
14251425
* Invoked by Tcl whenever the user issues the command associated with
14261426
* a class name. Handles the following syntax:
14271427
*
@@ -1962,7 +1962,7 @@ Itcl_CreateVariable(
19621962
} else {
19631963
mCodePtr = NULL;
19641964
}
1965-
1965+
19661966

19671967
/*
19681968
* If everything looks good, create the variable definition.
@@ -2057,7 +2057,7 @@ Itcl_CreateOption(
20572057
* Itcl_CreateMethodVariable()
20582058
*
20592059
* Creates a new class methdovariable definition. If this is a public
2060-
* methodvariable,
2060+
* methodvariable,
20612061
*
20622062
* Returns TCL_ERROR along with an error message in the specified
20632063
* interpreter if anything goes wrong. Otherwise, this returns
@@ -2367,7 +2367,7 @@ ItclDeleteOption(
23672367
}
23682368

23692369
if (ioptPtr->codePtr) {
2370-
ItclReleaseMemberCode(ioptPtr->codePtr);
2370+
ItclReleaseMemberCode(ioptPtr->codePtr);
23712371
}
23722372
if (ioptPtr->defaultValuePtr != NULL) {
23732373
Tcl_DecrRefCount(ioptPtr->defaultValuePtr);

Diff for: generic/itclHelpers.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* itclHelpers.c --
33
*
4-
* This file contains the C-implemeted part of
5-
* Itcl
4+
* This file contains the C-implemeted part of
5+
* Itcl
66
*
77
* Copyright (c) 2007 by Arnulf P. Wiedemann
88
*
@@ -162,7 +162,7 @@ ItclCreateArgList(
162162
lastArglistPtr->nextPtr = arglistPtr;
163163
Tcl_AppendToObj(*usagePtr, " ", 1);
164164
}
165-
arglistPtr->namePtr =
165+
arglistPtr->namePtr =
166166
Tcl_NewStringObj(defaultArgv[0], -1);
167167
Tcl_IncrRefCount(arglistPtr->namePtr);
168168
(*maxArgcPtr)++;
@@ -177,7 +177,7 @@ ItclCreateArgList(
177177
Tcl_AppendToObj(*usagePtr, defaultArgv[0], -1);
178178
}
179179
} else {
180-
arglistPtr->defaultValuePtr =
180+
arglistPtr->defaultValuePtr =
181181
Tcl_NewStringObj(defaultArgv[1], -1);
182182
Tcl_IncrRefCount(arglistPtr->defaultValuePtr);
183183
Tcl_AppendToObj(*usagePtr, "?", 1);
@@ -389,7 +389,7 @@ ItclCapitalize(
389389
{
390390
Tcl_Obj *objPtr;
391391
char buf[2];
392-
392+
393393
sprintf(buf, "%c", toupper(UCHAR(*str)));
394394
buf[1] = '\0';
395395
objPtr = Tcl_NewStringObj(buf, -1);

0 commit comments

Comments
 (0)