diff options
Diffstat (limited to 'db/mork/src')
-rw-r--r-- | db/mork/src/morkAtomSpace.h | 2 | ||||
-rw-r--r-- | db/mork/src/morkHandle.h | 2 | ||||
-rw-r--r-- | db/mork/src/morkNode.cpp | 2 | ||||
-rw-r--r-- | db/mork/src/morkParser.h | 2 | ||||
-rw-r--r-- | db/mork/src/morkPool.h | 2 | ||||
-rw-r--r-- | db/mork/src/morkStore.cpp | 2 | ||||
-rw-r--r-- | db/mork/src/morkStore.h | 4 | ||||
-rw-r--r-- | db/mork/src/morkStream.cpp | 4 | ||||
-rw-r--r-- | db/mork/src/morkTable.cpp | 2 | ||||
-rw-r--r-- | db/mork/src/morkTable.h | 2 | ||||
-rw-r--r-- | db/mork/src/morkWriter.h | 2 | ||||
-rw-r--r-- | db/mork/src/morkZone.h | 2 |
12 files changed, 14 insertions, 14 deletions
diff --git a/db/mork/src/morkAtomSpace.h b/db/mork/src/morkAtomSpace.h index b72a59401..6048261c5 100644 --- a/db/mork/src/morkAtomSpace.h +++ b/db/mork/src/morkAtomSpace.h @@ -45,7 +45,7 @@ **| so that we care less whether the shortest hex representation is used. **| So we start all IDs for 'over' category tokens at a value range that **| needs at least four hex digits, so we can reserve three hex digits and -**| shorter for more commonly occuring tokens in the 'under' category. +**| shorter for more commonly occurring tokens in the 'under' category. |*/ #define morkAtomSpace_kMinOverId 0x1000 /* using at least four hex bytes */ diff --git a/db/mork/src/morkHandle.h b/db/mork/src/morkHandle.h index 2065b0b9f..8ef7e9057 100644 --- a/db/mork/src/morkHandle.h +++ b/db/mork/src/morkHandle.h @@ -146,7 +146,7 @@ public: // typesafe refcounting inlines calling inherited morkNode methods **| linked list, and following slots to provide extra footprint that might **| be needed by any morkHandle subclasses that include very little extra **| space (by virtue of the fact that each morkHandle subclass is expected -**| to multiply inherit from another base class that has only abstact methods +**| to multiply inherit from another base class that has only abstract methods **| for space overhead related only to some vtable representation). |*/ class morkHandleFrame { diff --git a/db/mork/src/morkNode.cpp b/db/mork/src/morkNode.cpp index 823ce475b..4e95eed37 100644 --- a/db/mork/src/morkNode.cpp +++ b/db/mork/src/morkNode.cpp @@ -221,7 +221,7 @@ nsresult morkNode::CloseMdbObject(morkEnv *ev) /*public virtual*/ morkNode::~morkNode() // assert that CloseNode() executed earlier { - MORK_ASSERT(this->IsShutNode() || IsDeadNode()); // sometimes we call destructor explictly w/o freeing object. + MORK_ASSERT(this->IsShutNode() || IsDeadNode()); // sometimes we call destructor explicitly w/o freeing object. mNode_Access = morkAccess_kDead; mNode_Usage = morkUsage_kNone; } diff --git a/db/mork/src/morkParser.h b/db/mork/src/morkParser.h index 9ddfd7731..ce1fd8943 100644 --- a/db/mork/src/morkParser.h +++ b/db/mork/src/morkParser.h @@ -185,7 +185,7 @@ public: // inlines #define morkParser_kTag /*i*/ 0x70417253 /* ascii 'pArS' */ // These are states for the simple parsing virtual machine. Needless to say, -// these must be distinct, and preferrably in a contiguous integer range. +// these must be distinct, and preferably in a contiguous integer range. // Don't change these constants without looking at switch statements in code. #define morkParser_kCellState 0 /* cell is tightest scope */ #define morkParser_kMetaState 1 /* meta is tightest scope */ diff --git a/db/mork/src/morkPool.h b/db/mork/src/morkPool.h index 4cf9a4e04..b2b349347 100644 --- a/db/mork/src/morkPool.h +++ b/db/mork/src/morkPool.h @@ -30,7 +30,7 @@ class morkFarBookAtom; /*| morkPool: a place to manage pools of non-node objects that are memory **| managed out of large chunks of space, so that per-object management -**| space overhead has no signficant cost. +**| space overhead has no significant cost. |*/ class morkPool : public morkNode { diff --git a/db/mork/src/morkStore.cpp b/db/mork/src/morkStore.cpp index 47f145c83..4f689d410 100644 --- a/db/mork/src/morkStore.cpp +++ b/db/mork/src/morkStore.cpp @@ -2091,7 +2091,7 @@ morkStore::NewRow(nsIMdbEnv* mev, // new row with db assigned oid mdb_scope inRowScope, // row scope for row ids nsIMdbRow** acqRow) // create new row // Note this row must be added to some table or cell child before the -// store is closed in order to make this row persist across sesssions. +// store is closed in order to make this row persist across sessions. { nsresult outErr = NS_OK; nsIMdbRow* outRow = 0; diff --git a/db/mork/src/morkStore.h b/db/mork/src/morkStore.h index f0471ff15..fe548245e 100644 --- a/db/mork/src/morkStore.h +++ b/db/mork/src/morkStore.h @@ -412,7 +412,7 @@ public: // other port methods mdb_scope inRowScope, // row scope for row ids nsIMdbRow** acqRow) override; // create new row // Note this row must be added to some table or cell child before the - // store is closed in order to make this row persist across sesssions. + // store is closed in order to make this row persist across sessions. // } ----- end row methods ----- @@ -645,7 +645,7 @@ public: // typing static void NilStoreFileError(morkEnv* ev); static void CannotAutoAssignAtomIdentityError(morkEnv* ev); -public: // store utilties +public: // store utilities morkAtom* YarnToAtom(morkEnv* ev, const mdbYarn* inYarn, bool createIfMissing = true); morkAtom* AddAlias(morkEnv* ev, const morkMid& inMid, diff --git a/db/mork/src/morkStream.cpp b/db/mork/src/morkStream.cpp index 26c6f443e..64cd1011e 100644 --- a/db/mork/src/morkStream.cpp +++ b/db/mork/src/morkStream.cpp @@ -410,10 +410,10 @@ void morkStream::NewNullStreamBufferError(morkEnv* ev) const { ev->NewError("null stream buffer"); } void morkStream::NewCantReadSinkError(morkEnv* ev) const -{ ev->NewError("cant read stream sink"); } +{ ev->NewError("can not read stream sink"); } void morkStream::NewCantWriteSourceError(morkEnv* ev) const -{ ev->NewError("cant write stream source"); } +{ ev->NewError("can not write stream source"); } void morkStream::NewPosBeyondEofError(morkEnv* ev) const { ev->NewError("stream pos beyond eof"); } diff --git a/db/mork/src/morkTable.cpp b/db/mork/src/morkTable.cpp index aaa4bd50e..ba92f222c 100644 --- a/db/mork/src/morkTable.cpp +++ b/db/mork/src/morkTable.cpp @@ -797,7 +797,7 @@ morkTable::SetSearchSorting( // use this sorting in FindRowMatches() // the column which is actually sorted by ioSorting. This method // is most useful in conjunction with nsIMdbSorting::SetCompare(), // because otherwise a caller would not be able to override the - // comparison ordering method used during searchs. Note that some + // comparison ordering method used during searches. Note that some // database implementations might be unable to use an arbitrarily // specified sort order, either due to schema or runtime interface // constraints, in which case ioSorting might not actually be used. diff --git a/db/mork/src/morkTable.h b/db/mork/src/morkTable.h index c9428fd96..196eeb8a6 100644 --- a/db/mork/src/morkTable.h +++ b/db/mork/src/morkTable.h @@ -332,7 +332,7 @@ public: // state is public because the entire Mork system is private // the column which is actually sorted by ioSorting. This method // is most useful in conjunction with nsIMdbSorting::SetCompare(), // because otherwise a caller would not be able to override the - // comparison ordering method used during searchs. Note that some + // comparison ordering method used during searches. Note that some // database implementations might be unable to use an arbitrarily // specified sort order, either due to schema or runtime interface // constraints, in which case ioSorting might not actually be used. diff --git a/db/mork/src/morkWriter.h b/db/mork/src/morkWriter.h index dea0ced83..1610d47c7 100644 --- a/db/mork/src/morkWriter.h +++ b/db/mork/src/morkWriter.h @@ -66,7 +66,7 @@ #define morkWriter_kPhaseRowSpaceRows 10 /*mWriter_RowSpaceRowsIter*/ #define morkWriter_kPhaseContentDone 11 /* all content written */ -#define morkWriter_kPhaseWritingDone 12 /* everthing has been done */ +#define morkWriter_kPhaseWritingDone 12 /* everything has been done */ #define morkWriter_kCountNumberOfPhases 13 /* part of mWrite_TotalCount */ diff --git a/db/mork/src/morkZone.h b/db/mork/src/morkZone.h index 9e5ffc54c..807424949 100644 --- a/db/mork/src/morkZone.h +++ b/db/mork/src/morkZone.h @@ -168,7 +168,7 @@ public: // typing & errors **| of accumulating too much unused, fragmented free space. This should be a **| small multiple of kNewHunkSize, say about two to four times as great, to **| allow for no more free hunk space than fits in a handful of new hunks. -**| This strategy will let us usefuly accumulate "some" free space in the +**| This strategy will let us usefully accumulate "some" free space in the **| free hunk list, but without accumulating "too much" free space that way. |*/ #define morkZone_kMaxFreeVolume (morkZone_kNewHunkSize * 3) |