Skip to content

Commit

Permalink
Corrected more spellings.
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-osborne committed Apr 10, 2015
1 parent 4cf45ea commit 7780ab3
Show file tree
Hide file tree
Showing 32 changed files with 74 additions and 74 deletions.
2 changes: 1 addition & 1 deletion Crypto/include/Poco/Crypto/RSADigestEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Crypto_API RSADigestEngine: public Poco::DigestEngine

const DigestEngine::Digest& signature();
/// Signs the digest using the RSA algorithm
/// and the private key (teh first time it's
/// and the private key (the first time it's
/// called) and returns the result.
///
/// Can be called multiple times.
Expand Down
2 changes: 1 addition & 1 deletion Crypto/include/Poco/Crypto/X509Certificate.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Crypto_API X509Certificate
/// certificate.
///
/// Returns true if verification against the issuer certificate
/// was successfull, false otherwise.
/// was successful, false otherwise.

const X509* certificate() const;
/// Returns the underlying OpenSSL certificate.
Expand Down
2 changes: 1 addition & 1 deletion Data/MySQL/include/Poco/Data/MySQL/MySQLException.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class ConnectionException : public MySQLException


class TransactionException : public ConnectionException
/// TrabsactionException
/// TransactionException
{
public:

Expand Down
2 changes: 1 addition & 1 deletion Data/MySQL/include/Poco/Data/MySQL/Utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class MySQL_API Utility
/// Returns host info.

static bool hasMicrosecond();
/// Returns true if microseconds are suported.
/// Returns true if microseconds are supported.

static MYSQL* handle(Poco::Data::Session& session);
/// Returns native MySQL handle for the session.
Expand Down
2 changes: 1 addition & 1 deletion Data/ODBC/include/Poco/Data/ODBC/Binder.h
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ class ODBC_API Binder: public Poco::Data::AbstractBinder
/// This function runs for query and stored procedure parameters (in and
/// out-bound). Some drivers, however, do not care about knowing this
/// information to start with. For that reason, after all the attempts
/// to discover the required values are unsuccesfully exhausted, the values
/// to discover the required values are unsuccessfully exhausted, the values
/// are both set to zero and no exception is thrown.

void setParamSetSize(std::size_t length);
Expand Down
2 changes: 1 addition & 1 deletion Data/ODBC/include/Poco/Data/ODBC/SessionImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ODBC_API SessionImpl: public Poco::Data::AbstractSessionImpl<SessionImpl>
bool autoBind = true,
bool autoExtract = true);
/// Creates the SessionImpl. Opens a connection to the database.
/// Throws NotConnectedException if connection was not succesful.
/// Throws NotConnectedException if connection was not successful.

//@ deprecated
SessionImpl(const std::string& connect,
Expand Down
2 changes: 1 addition & 1 deletion Data/ODBC/testsuite/src/ODBCAccessTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ bool ODBCAccessTest::init(const std::string& driver, const std::string& dsn)
return false;
}

//N.B. Access driver does not suport check for connection.
//N.B. Access driver does not support check for connection.
std::cout << "*** Connected to [" << driver << "] test database." << std::endl;

return true;
Expand Down
2 changes: 1 addition & 1 deletion Data/ODBC/testsuite/src/ODBCPostgreSQLTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ODBCPostgreSQLTest: public ODBCTest
/// Alternative is direct database configuration for PL/pgSQL usage.

static const std::string _libDir;
/// Varible determining the location of the library directory
/// Variable determining the location of the library directory
/// on the database installation system.
/// Used to enable PLpgSQL language programmatically when
/// it is not enabled.
Expand Down
2 changes: 1 addition & 1 deletion Data/SQLite/include/Poco/Data/SQLite/Notifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class SQLite_API Notifier
static int sqliteCommitCallbackFn(void* pVal);
/// Commit callback event dispatcher. If an exception occurs, it is caught inside this function,
/// non-zero value is returned, which causes SQLite engine to turn commit into a rollback.
/// Therefore, callers should check for return value - if it is zero, callback completed succesfuly
/// Therefore, callers should check for return value - if it is zero, callback completed successfuly
/// and transaction was committed.

static void sqliteRollbackCallbackFn(void* pVal);
Expand Down
2 changes: 1 addition & 1 deletion Data/SQLite/include/Poco/Data/SQLite/SQLiteStatementImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class SQLite_API SQLiteStatementImpl: public Poco::Data::StatementImpl

void compileImpl();
/// Compiles the statement, doesn't bind yet.
/// Returns true if the statement was succesfully compiled.
/// Returns true if the statement was successfully compiled.
/// The way SQLite handles batches of statements is by compiling
/// one at a time and returning a pointer to the next one.
/// The remainder of the statement is kept in a string
Expand Down
12 changes: 6 additions & 6 deletions Data/SQLite/include/Poco/Data/SQLite/Utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,37 +75,37 @@ class SQLite_API Utility
/// Loads the contents of a database file on disk into an opened
/// database in memory.
///
/// Returns true if succesful.
/// Returns true if successful.

static bool fileToMemory(const Session& session, const std::string& fileName);
/// Loads the contents of a database file on disk into an opened
/// database in memory.
///
/// Returns true if succesful.
/// Returns true if successful.

static bool memoryToFile(const std::string& fileName, sqlite3* pInMemory);
/// Saves the contents of an opened database in memory to the
/// database on disk.
///
/// Returns true if succesful.
/// Returns true if successful.

static bool memoryToFile(const std::string& fileName, const Session& session);
/// Saves the contents of an opened database in memory to the
/// database on disk.
///
/// Returns true if succesful.
/// Returns true if successful.

static bool isThreadSafe();
/// Returns true if SQLite was compiled in multi-thread or serialized mode.
/// See http://www.sqlite.org/c3ref/threadsafe.html for details.
///
/// Returns true if succesful
/// Returns true if successful

static bool setThreadMode(int mode);
/// Sets the threading mode to single, multi or serialized.
/// See http://www.sqlite.org/threadsafe.html for details.
///
/// Returns true if succesful
/// Returns true if successful

static int getThreadMode();
/// Returns the thread mode.
Expand Down
2 changes: 1 addition & 1 deletion Data/include/Poco/Data/AbstractBinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class Data_API AbstractBinder
/// Binds a long.

virtual void bind(std::size_t pos, const unsigned long& val, Direction dir = PD_IN) = 0;
/// Binds an unsiged long.
/// Binds an unsigned long.

virtual void bind(std::size_t pos, const std::vector<long>& val, Direction dir = PD_IN);
/// Binds a long vector.
Expand Down
2 changes: 1 addition & 1 deletion Data/include/Poco/Data/RowFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class Data_API RowFilter: public RefCountedObject
/// Returns the number of comparisons removed.

void toggleNot();
/// Togless the NOT operator for this filter;
/// Toggles the NOT operator for this filter;

bool isNot() const;
/// Returns true if filter is NOT-ed, false otherwise.
Expand Down
4 changes: 2 additions & 2 deletions Data/include/Poco/Data/Session.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class Data_API Session
/// reconnect a disconnected session.
/// If the connection is not established,
/// a ConnectionFailedException is thrown.
/// Zero timout means indefinite
/// Zero timeout means indefinite

void close();
/// Closes the session.
Expand Down Expand Up @@ -262,7 +262,7 @@ class Data_API Session

static std::string uri(const std::string& connector,
const std::string& connectionString);
/// Utility function that teturns the URI formatted from supplied
/// Utility function that returns the URI formatted from supplied
/// arguments as "connector:///connectionString".

void setFeature(const std::string& name, bool state);
Expand Down
2 changes: 1 addition & 1 deletion Data/include/Poco/Data/SessionImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Data_API SessionImpl: public Poco::RefCountedObject
/// a disconnected session.
/// If the connection is not established within requested timeout
/// (specified in seconds), a ConnectionFailedException is thrown.
/// Zero timout means indefinite
/// Zero timeout means indefinite

virtual void close() = 0;
/// Closes the connection.
Expand Down
2 changes: 1 addition & 1 deletion Data/include/Poco/Data/Transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Data_API Transaction

void execute(const std::vector<std::string>& sql);
/// Executes all the SQL statements supplied in the vector and, after the last
/// one is sucesfully executed, commits the transaction.
/// one is successfully executed, commits the transaction.
/// If an error occurs during execution, transaction is rolled back.
/// Passing true value for commit disables rollback during destruction
/// of this Transaction object.
Expand Down
2 changes: 1 addition & 1 deletion Foundation/include/Poco/DateTime.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class Foundation_API DateTime
/// There will be no week 0 in 2007.

int day() const;
/// Returns the day witin the month (1 to 31).
/// Returns the day within the month (1 to 31).

int dayOfWeek() const;
/// Returns the weekday (0 to 6, where
Expand Down
2 changes: 1 addition & 1 deletion Foundation/include/Poco/DateTimeParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class Foundation_API DateTimeParser
static int parseDayOfWeek(std::string::const_iterator& it, const std::string::const_iterator& end);
/// Tries to interpret the given range as a weekday name. The range must be at least
/// three characters long.
/// Returns the weekday number (0 .. 6, where 0 = Synday, 1 = Monday, etc.) if the
/// Returns the weekday number (0 .. 6, where 0 = Sunday, 1 = Monday, etc.) if the
/// weekday name is valid. Otherwise throws a SyntaxException.

protected:
Expand Down
62 changes: 31 additions & 31 deletions Foundation/include/Poco/Dynamic/VarHolder.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,47 +139,47 @@ class Foundation_API VarHolder

virtual void convert(Int8& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(Int16& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(Int32& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(Int64& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(UInt8& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(UInt16& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(UInt32& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(UInt64& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(DateTime& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(LocalDateTime& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(Timestamp& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

#ifndef POCO_LONG_IS_64_BIT

Expand All @@ -193,78 +193,78 @@ class Foundation_API VarHolder

virtual void convert(bool& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(float& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(double& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(char& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(std::string& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual void convert(Poco::UTF16String& val) const;
/// Throws BadCastException. Must be overriden in a type
/// specialization in order to suport the conversion.
/// specialization in order to support the conversion.

virtual bool isArray() const;
/// Returns true.

virtual bool isVector() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isList() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isDeque() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isStruct() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isInteger() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isSigned() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isNumeric() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isBoolean() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isString() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isDate() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isTime() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual bool isDateTime() const;
/// Returns false. Must be properly overriden in a type
/// specialization in order to suport the diagnostic.
/// specialization in order to support the diagnostic.

virtual std::size_t size() const;
/// Returns 1 iff Var is not empty or this function overriden.
Expand Down Expand Up @@ -332,7 +332,7 @@ class Foundation_API VarHolder
template <typename F, typename T>
void convertToSmallerUnsigned(const F& from, T& to) const
/// This function is meant for converting unsigned integral data types,
/// from larger to smaller type. Since lower limit is always 0 for unigned types,
/// from larger to smaller type. Since lower limit is always 0 for unsigned types,
/// only the upper limit is checked, thus saving some cycles compared to the signed
/// version of the function. If the value to be converted is smaller than
/// the maximum value for the target type, the conversion is performed.
Expand Down Expand Up @@ -369,7 +369,7 @@ class Foundation_API VarHolder
/// This function is meant for converting floating point data types to
/// unsigned integral data types. Negative values can not be converted and if one is
/// encountered, RangeException is thrown.
/// If uper limit is within the target data type limits, the conversion is performed.
/// If upper limit is within the target data type limits, the conversion is performed.
{
poco_static_assert (std::numeric_limits<F>::is_specialized);
poco_static_assert (std::numeric_limits<T>::is_specialized);
Expand Down
2 changes: 1 addition & 1 deletion Foundation/include/Poco/JSONString.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ std::string Foundation_API toJSON(char c);


void Foundation_API toJSON(const std::string& value, std::ostream& out, bool wrap = true);
/// Formats string value into the suplied output stream by
/// Formats string value into the supplied output stream by
/// escaping control characters.
/// If wrap is true, the resulting string is enclosed in double quotes

Expand Down
2 changes: 1 addition & 1 deletion Foundation/include/Poco/LocalDateTime.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class Foundation_API LocalDateTime
/// There will be no week 0 in 2007.

int day() const;
/// Returns the day witin the month (1 to 31).
/// Returns the day within the month (1 to 31).

int dayOfWeek() const;
/// Returns the weekday (0 to 6, where
Expand Down
Loading

0 comments on commit 7780ab3

Please sign in to comment.