Hi,
I just discovered that overridden has been misspelled in a number of
places throughout ICS where it was written with one d. But in proper
English, it should take two ds. I know that most authors of ICS do not
have English as their native language, and this is not a big deal, but
now that there is SVN it makes it easier to submit patches ;-)
So here it is below.
Cheers
Oliver
////////////////////////////////////////////////////////////////////////////////////////////
Index: OverbyteIcsAvlTrees.pas
===================================================================
--- OverbyteIcsAvlTrees.pas (revision 201)
+++ OverbyteIcsAvlTrees.pas (working copy)
@@ -45,14 +45,14 @@
TBal = -1..1;
- TAvlTreeNode = class // Base node should be overriden!!
+ TAvlTreeNode = class // Base node should be overridden!!
private
Bal : TBal;
Left : TAvlTreeNode;
Right : TAvlTreeNode;
end;
- TAvlTree = class(TObject) // Base tree must be overriden!!
+ TAvlTree = class(TObject) // Base tree must be overridden!!
private
FFoundNode : TAvlTreeNode;
FRoot : TAvlTreeNode;
Index: OverbyteIcsNntpCli.pas
===================================================================
--- OverbyteIcsNntpCli.pas (revision 201)
+++ OverbyteIcsNntpCli.pas (working copy)
@@ -56,7 +56,7 @@
Feb 01, 1999 V1.03 Added nntpConnect to solve connection problem after an
abort. Thanks to Eric Fortier <[EMAIL PROTECTED]>.
Feb 27, 1999 V1.04 Made Connect, Abort and Quit method virtual so that
they
- can be overriden in descending components.
+ can be overridden in descending components.
Checked line length in ParseListLine.
Mar 31, 1999 V1.05 Made all methods virtual.
Aug 14, 1999 V1.06 Implemented MODE READER and XHDR
Index: OverbyteIcsWndControl.pas
===================================================================
--- OverbyteIcsWndControl.pas (revision 201)
+++ OverbyteIcsWndControl.pas (working copy)
@@ -414,9 +414,9 @@
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *}
-// MsgHandlersCount _must_ be overriden in derived classes to adjust
the number
+// MsgHandlersCount _must_ be overridden in derived classes to adjust
the number
// of message handlers needed.
-// The overrident method should looks like this:
+// The overridden method should look like this:
// function TCustomWSocket.MsgHandlersCount : Integer;
// begin
// Result := 7 + // New MsgHandlers count
@@ -429,7 +429,7 @@
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *}
-// AllocateMsgHandlers _must_ be overriden in derived classes to allocate
+// AllocateMsgHandlers _must_ be overridden in derived classes to allocate
// new MsgHandlers. Don't forget to call the inherited one first !
procedure TIcsWndControl.AllocateMsgHandlers;
begin
@@ -438,7 +438,7 @@
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *}
-// FreeMsgHandlers _must_ be overriden in derived classes to free
+// FreeMsgHandlers _must_ be overridden in derived classes to free
// allocated MsgHandlers. Don't forget to call the inherited one first !
procedure TIcsWndControl.FreeMsgHandlers;
begin
@@ -642,7 +642,7 @@
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *}
-// Message handler for all messages. This _must_ be overriden by derived
+// Message handler for all messages. This _must_ be overridden by derived
// component to handle his own messages and call inherited to handle all
// ancestor's messages.
procedure TIcsWndControl.WndProc(var MsgRec: TMessage);
@@ -743,7 +743,7 @@
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *}
procedure TIcsWndControl.AbortComponent;
begin
- // To be overriden in derived classes
+ // To be overridden in derived classes
end;
Index: OverbyteIcsWSocket.pas
===================================================================
--- OverbyteIcsWSocket.pas (revision 201)
+++ OverbyteIcsWSocket.pas (working copy)
@@ -380,7 +380,7 @@
TCustomSocksWSocket calls to inherited triggers of
TriggerSessionConnected and TriggerDataAvailable.
Now, it calls the trigger directly. This solves the problem
- of descendent classes with overriden triggers, not being
+ of descendent classes with overridden triggers, not being
called when a REAL connection was established, and when real
data starts coming in. Special care MUST be taken in such
overridden triggers to ONLY call the inherited trigger AND
@@ -4952,7 +4952,7 @@
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *}
{ This procedure handle all messages for TWSocket. All exceptions must
be }
{ handled or the application will be shutted down
! }
-{ If WndProc is overriden in descendent components, then the same
exception }
+{ If WndProc is overridden in descendent components, then the same
exception}
{ handling *MUST* be setup because descendent component code is
executed }
{ before the base class
code. }
procedure TCustomWSocket.WndProc(var MsgRec: TMessage);
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be