From 7780ab3ae08f9f11bb3becf5c3410fc927b69586 Mon Sep 17 00:00:00 2001 From: martin-osborne Date: Fri, 10 Apr 2015 11:43:49 +0100 Subject: [PATCH] Corrected more spellings. --- Crypto/include/Poco/Crypto/RSADigestEngine.h | 2 +- Crypto/include/Poco/Crypto/X509Certificate.h | 2 +- .../include/Poco/Data/MySQL/MySQLException.h | 2 +- Data/MySQL/include/Poco/Data/MySQL/Utility.h | 2 +- Data/ODBC/include/Poco/Data/ODBC/Binder.h | 2 +- .../ODBC/include/Poco/Data/ODBC/SessionImpl.h | 2 +- Data/ODBC/testsuite/src/ODBCAccessTest.cpp | 2 +- Data/ODBC/testsuite/src/ODBCPostgreSQLTest.h | 2 +- .../include/Poco/Data/SQLite/Notifier.h | 2 +- .../Poco/Data/SQLite/SQLiteStatementImpl.h | 2 +- .../SQLite/include/Poco/Data/SQLite/Utility.h | 12 ++-- Data/include/Poco/Data/AbstractBinder.h | 2 +- Data/include/Poco/Data/RowFilter.h | 2 +- Data/include/Poco/Data/Session.h | 4 +- Data/include/Poco/Data/SessionImpl.h | 2 +- Data/include/Poco/Data/Transaction.h | 2 +- Foundation/include/Poco/DateTime.h | 2 +- Foundation/include/Poco/DateTimeParser.h | 2 +- Foundation/include/Poco/Dynamic/VarHolder.h | 62 +++++++++---------- Foundation/include/Poco/JSONString.h | 2 +- Foundation/include/Poco/LocalDateTime.h | 2 +- Foundation/include/Poco/NumericString.h | 6 +- Net/include/Poco/Net/FTPClientSession.h | 2 +- .../Poco/Net/HTTPRequestHandlerFactory.h | 2 +- Net/include/Poco/Net/MediaType.h | 4 +- Net/include/Poco/Net/StreamSocket.h | 4 +- NetSSL_OpenSSL/include/Poco/Net/Context.h | 4 +- NetSSL_OpenSSL/include/Poco/Net/SSLManager.h | 2 +- PDF/include/Poco/PDF/Page.h | 2 +- Util/include/Poco/Util/LoggingConfigurator.h | 2 +- Util/include/Poco/Util/Option.h | 2 +- XML/include/Poco/DOM/Document.h | 4 +- 32 files changed, 74 insertions(+), 74 deletions(-) diff --git a/Crypto/include/Poco/Crypto/RSADigestEngine.h b/Crypto/include/Poco/Crypto/RSADigestEngine.h index e4e847915..3b63661e2 100644 --- a/Crypto/include/Poco/Crypto/RSADigestEngine.h +++ b/Crypto/include/Poco/Crypto/RSADigestEngine.h @@ -86,7 +86,7 @@ public: 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. diff --git a/Crypto/include/Poco/Crypto/X509Certificate.h b/Crypto/include/Poco/Crypto/X509Certificate.h index 472c53763..72d39ca0c 100644 --- a/Crypto/include/Poco/Crypto/X509Certificate.h +++ b/Crypto/include/Poco/Crypto/X509Certificate.h @@ -128,7 +128,7 @@ public: /// 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. diff --git a/Data/MySQL/include/Poco/Data/MySQL/MySQLException.h b/Data/MySQL/include/Poco/Data/MySQL/MySQLException.h index 6585ceaad..2b5eab6d9 100644 --- a/Data/MySQL/include/Poco/Data/MySQL/MySQLException.h +++ b/Data/MySQL/include/Poco/Data/MySQL/MySQLException.h @@ -93,7 +93,7 @@ private: class TransactionException : public ConnectionException - /// TrabsactionException + /// TransactionException { public: diff --git a/Data/MySQL/include/Poco/Data/MySQL/Utility.h b/Data/MySQL/include/Poco/Data/MySQL/Utility.h index e53ebce22..8274a3c99 100644 --- a/Data/MySQL/include/Poco/Data/MySQL/Utility.h +++ b/Data/MySQL/include/Poco/Data/MySQL/Utility.h @@ -57,7 +57,7 @@ public: /// 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. diff --git a/Data/ODBC/include/Poco/Data/ODBC/Binder.h b/Data/ODBC/include/Poco/Data/ODBC/Binder.h index 66f0084f9..7e0e11e03 100644 --- a/Data/ODBC/include/Poco/Data/ODBC/Binder.h +++ b/Data/ODBC/include/Poco/Data/ODBC/Binder.h @@ -942,7 +942,7 @@ private: /// 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); diff --git a/Data/ODBC/include/Poco/Data/ODBC/SessionImpl.h b/Data/ODBC/include/Poco/Data/ODBC/SessionImpl.h index 2d4c3b161..22a3d6063 100644 --- a/Data/ODBC/include/Poco/Data/ODBC/SessionImpl.h +++ b/Data/ODBC/include/Poco/Data/ODBC/SessionImpl.h @@ -59,7 +59,7 @@ public: 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, diff --git a/Data/ODBC/testsuite/src/ODBCAccessTest.cpp b/Data/ODBC/testsuite/src/ODBCAccessTest.cpp index c93838e97..c09f00bd8 100644 --- a/Data/ODBC/testsuite/src/ODBCAccessTest.cpp +++ b/Data/ODBC/testsuite/src/ODBCAccessTest.cpp @@ -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; diff --git a/Data/ODBC/testsuite/src/ODBCPostgreSQLTest.h b/Data/ODBC/testsuite/src/ODBCPostgreSQLTest.h index 267939cd6..2440bcc1d 100644 --- a/Data/ODBC/testsuite/src/ODBCPostgreSQLTest.h +++ b/Data/ODBC/testsuite/src/ODBCPostgreSQLTest.h @@ -80,7 +80,7 @@ private: /// 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. diff --git a/Data/SQLite/include/Poco/Data/SQLite/Notifier.h b/Data/SQLite/include/Poco/Data/SQLite/Notifier.h index 1a9aa5d00..f53f28bdf 100644 --- a/Data/SQLite/include/Poco/Data/SQLite/Notifier.h +++ b/Data/SQLite/include/Poco/Data/SQLite/Notifier.h @@ -121,7 +121,7 @@ public: 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); diff --git a/Data/SQLite/include/Poco/Data/SQLite/SQLiteStatementImpl.h b/Data/SQLite/include/Poco/Data/SQLite/SQLiteStatementImpl.h index 327ec16d3..5ff43d430 100644 --- a/Data/SQLite/include/Poco/Data/SQLite/SQLiteStatementImpl.h +++ b/Data/SQLite/include/Poco/Data/SQLite/SQLiteStatementImpl.h @@ -78,7 +78,7 @@ protected: 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 diff --git a/Data/SQLite/include/Poco/Data/SQLite/Utility.h b/Data/SQLite/include/Poco/Data/SQLite/Utility.h index 8b785cece..fb9e2e47d 100644 --- a/Data/SQLite/include/Poco/Data/SQLite/Utility.h +++ b/Data/SQLite/include/Poco/Data/SQLite/Utility.h @@ -75,37 +75,37 @@ public: /// 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. diff --git a/Data/include/Poco/Data/AbstractBinder.h b/Data/include/Poco/Data/AbstractBinder.h index 2eca13135..d478b96bb 100644 --- a/Data/include/Poco/Data/AbstractBinder.h +++ b/Data/include/Poco/Data/AbstractBinder.h @@ -172,7 +172,7 @@ public: /// 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& val, Direction dir = PD_IN); /// Binds a long vector. diff --git a/Data/include/Poco/Data/RowFilter.h b/Data/include/Poco/Data/RowFilter.h index 6ce35c55d..d427fe821 100644 --- a/Data/include/Poco/Data/RowFilter.h +++ b/Data/include/Poco/Data/RowFilter.h @@ -125,7 +125,7 @@ public: /// 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. diff --git a/Data/include/Poco/Data/Session.h b/Data/include/Poco/Data/Session.h index f413d2cc8..049922dde 100644 --- a/Data/include/Poco/Data/Session.h +++ b/Data/include/Poco/Data/Session.h @@ -202,7 +202,7 @@ public: /// 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. @@ -262,7 +262,7 @@ public: 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); diff --git a/Data/include/Poco/Data/SessionImpl.h b/Data/include/Poco/Data/SessionImpl.h index 5b201b3ee..d1255cc0c 100644 --- a/Data/include/Poco/Data/SessionImpl.h +++ b/Data/include/Poco/Data/SessionImpl.h @@ -67,7 +67,7 @@ public: /// 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. diff --git a/Data/include/Poco/Data/Transaction.h b/Data/include/Poco/Data/Transaction.h index ddcb00130..c231dbebe 100644 --- a/Data/include/Poco/Data/Transaction.h +++ b/Data/include/Poco/Data/Transaction.h @@ -111,7 +111,7 @@ public: void execute(const std::vector& 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. diff --git a/Foundation/include/Poco/DateTime.h b/Foundation/include/Poco/DateTime.h index c6095b808..8a086470b 100644 --- a/Foundation/include/Poco/DateTime.h +++ b/Foundation/include/Poco/DateTime.h @@ -164,7 +164,7 @@ public: /// 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 diff --git a/Foundation/include/Poco/DateTimeParser.h b/Foundation/include/Poco/DateTimeParser.h index 74e6a2ebd..3a9feb6cf 100644 --- a/Foundation/include/Poco/DateTimeParser.h +++ b/Foundation/include/Poco/DateTimeParser.h @@ -103,7 +103,7 @@ public: 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: diff --git a/Foundation/include/Poco/Dynamic/VarHolder.h b/Foundation/include/Poco/Dynamic/VarHolder.h index a8c4cb6aa..2501f0530 100644 --- a/Foundation/include/Poco/Dynamic/VarHolder.h +++ b/Foundation/include/Poco/Dynamic/VarHolder.h @@ -139,47 +139,47 @@ public: 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 @@ -193,78 +193,78 @@ public: 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. @@ -332,7 +332,7 @@ protected: template 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. @@ -369,7 +369,7 @@ protected: /// 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::is_specialized); poco_static_assert (std::numeric_limits::is_specialized); diff --git a/Foundation/include/Poco/JSONString.h b/Foundation/include/Poco/JSONString.h index f762725f5..80cba92e7 100644 --- a/Foundation/include/Poco/JSONString.h +++ b/Foundation/include/Poco/JSONString.h @@ -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 diff --git a/Foundation/include/Poco/LocalDateTime.h b/Foundation/include/Poco/LocalDateTime.h index 06a55dcf5..f696c18e1 100644 --- a/Foundation/include/Poco/LocalDateTime.h +++ b/Foundation/include/Poco/LocalDateTime.h @@ -175,7 +175,7 @@ public: /// 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 diff --git a/Foundation/include/Poco/NumericString.h b/Foundation/include/Poco/NumericString.h index 4abd8f9c2..a6bd35b39 100644 --- a/Foundation/include/Poco/NumericString.h +++ b/Foundation/include/Poco/NumericString.h @@ -81,7 +81,7 @@ bool strToInt(const char* pStr, I& result, short base, char thSep = ',') /// Converts zero-terminated character array to integer number; /// Thousand separators are recognized for base10 and current locale; /// it is silently skipped but not verified for correct positioning. - /// Function returns true if succesful. If parsing was unsuccesful, + /// Function returns true if successful. If parsing was unsuccessful, /// the return value is false with the result value undetermined. { if (!pStr) return false; @@ -514,7 +514,7 @@ Foundation_API bool strToFloat(const std::string&, float& result, char decSep = /// If decimal separator and/or thousand separator are different from defaults, they should be /// supplied to ensure proper conversion. /// - /// Returns true if succesful, false otherwise. + /// Returns true if successful, false otherwise. Foundation_API double strToDouble(const char* str); @@ -527,7 +527,7 @@ Foundation_API bool strToDouble(const std::string& str, double& result, char dec /// If decimal separator and/or thousand separator are different from defaults, they should be /// supplied to ensure proper conversion. /// - /// Returns true if succesful, false otherwise. + /// Returns true if successful, false otherwise. // // end double-conversion functions declarations diff --git a/Net/include/Poco/Net/FTPClientSession.h b/Net/include/Poco/Net/FTPClientSession.h index 84902ae04..f406aad4c 100644 --- a/Net/include/Poco/Net/FTPClientSession.h +++ b/Net/include/Poco/Net/FTPClientSession.h @@ -160,7 +160,7 @@ public: void cdup(); /// Moves one directory up from the current working directory - /// on teh server. + /// on the server. /// /// Sends a CDUP command to the server. /// diff --git a/Net/include/Poco/Net/HTTPRequestHandlerFactory.h b/Net/include/Poco/Net/HTTPRequestHandlerFactory.h index 6bf9fc9aa..88c1b09fb 100644 --- a/Net/include/Poco/Net/HTTPRequestHandlerFactory.h +++ b/Net/include/Poco/Net/HTTPRequestHandlerFactory.h @@ -49,7 +49,7 @@ public: /// Destroys the HTTPRequestHandlerFactory. virtual HTTPRequestHandler* createRequestHandler(const HTTPServerRequest& request) = 0; - /// Must be overridden by sublasses. + /// Must be overridden by subclasses. /// /// Creates a new request handler for the given HTTP request. diff --git a/Net/include/Poco/Net/MediaType.h b/Net/include/Poco/Net/MediaType.h index a2d7664d1..3a115e580 100644 --- a/Net/include/Poco/Net/MediaType.h +++ b/Net/include/Poco/Net/MediaType.h @@ -109,7 +109,7 @@ public: /// Returns true if the type and subtype match /// the type and subtype of the given media type. /// If the MIME type is a range of types it matches - /// any media type withing the range (e.g. "image/*" matches + /// any media type within the range (e.g. "image/*" matches /// any image media type, "*/*" matches anything). /// Matching is case insensitive. @@ -117,7 +117,7 @@ public: /// Returns true if the type and subtype match /// the given type and subtype. /// If the MIME type is a range of types it matches - /// any media type withing the range (e.g. "image/*" matches + /// any media type within the range (e.g. "image/*" matches /// any image media type, "*/*" matches anything). /// Matching is case insensitive. diff --git a/Net/include/Poco/Net/StreamSocket.h b/Net/include/Poco/Net/StreamSocket.h index 6127b73e1..302fb58bc 100644 --- a/Net/include/Poco/Net/StreamSocket.h +++ b/Net/include/Poco/Net/StreamSocket.h @@ -111,7 +111,7 @@ public: int sendBytes(Poco::FIFOBuffer& buffer); /// Sends the contents of the given buffer through - /// the socket. FIFOBuffer has writable/readable transiton + /// the socket. FIFOBuffer has writable/readable transition /// notifications which may be enabled to notify the caller when /// the buffer transitions between empty, partially full and /// full states. @@ -137,7 +137,7 @@ public: int receiveBytes(Poco::FIFOBuffer& buffer); /// Receives data from the socket and stores it /// in buffer. Up to length bytes are received. FIFOBuffer has - /// writable/readable transiton notifications which may be enabled + /// writable/readable transition notifications which may be enabled /// to notify the caller when the buffer transitions between empty, /// partially full and full states. /// diff --git a/NetSSL_OpenSSL/include/Poco/Net/Context.h b/NetSSL_OpenSSL/include/Poco/Net/Context.h index 6a0988c4c..24a5bc156 100644 --- a/NetSSL_OpenSSL/include/Poco/Net/Context.h +++ b/NetSSL_OpenSSL/include/Poco/Net/Context.h @@ -119,7 +119,7 @@ public: /// * verificationMode specifies whether and how peer certificates are validated. /// * verificationDepth sets the upper limit for verification chain sizes. Verification /// will fail if a certificate chain larger than this is encountered. - /// * loadDefaultCAs specifies wheter the builtin CA certificates from OpenSSL are used. + /// * loadDefaultCAs specifies whether the builtin CA certificates from OpenSSL are used. /// * cipherList specifies the supported ciphers in OpenSSL notation. /// /// Note: If the private key is protected by a passphrase, a PrivateKeyPassphraseHandler @@ -142,7 +142,7 @@ public: /// * verificationMode specifies whether and how peer certificates are validated. /// * verificationDepth sets the upper limit for verification chain sizes. Verification /// will fail if a certificate chain larger than this is encountered. - /// * loadDefaultCAs specifies wheter the builtin CA certificates from OpenSSL are used. + /// * loadDefaultCAs specifies whether the builtin CA certificates from OpenSSL are used. /// * cipherList specifies the supported ciphers in OpenSSL notation. /// /// Note that a private key and/or certificate must be specified with diff --git a/NetSSL_OpenSSL/include/Poco/Net/SSLManager.h b/NetSSL_OpenSSL/include/Poco/Net/SSLManager.h index aa9d137d0..8aa1c8f81 100644 --- a/NetSSL_OpenSSL/include/Poco/Net/SSLManager.h +++ b/NetSSL_OpenSSL/include/Poco/Net/SSLManager.h @@ -112,7 +112,7 @@ class NetSSL_API SSLManager /// the Context class for details). Valid values are none, relaxed, strict, once. /// - verificationDepth (integer, 1-9): Sets the upper limit for verification chain sizes. Verification /// will fail if a certificate chain larger than this is encountered. - /// - loadDefaultCAFile (boolean): Specifies wheter the builtin CA certificates from OpenSSL are used. + /// - loadDefaultCAFile (boolean): Specifies whether the builtin CA certificates from OpenSSL are used. /// - cipherList (string): Specifies the supported ciphers in OpenSSL notation /// (e.g. "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"). /// - privateKeyPassphraseHandler.name (string): The name of the class (subclass of PrivateKeyPassphraseHandler) diff --git a/PDF/include/Poco/PDF/Page.h b/PDF/include/Poco/PDF/Page.h index a59d4f27c..de6dbe6a7 100644 --- a/PDF/include/Poco/PDF/Page.h +++ b/PDF/include/Poco/PDF/Page.h @@ -424,7 +424,7 @@ public: /// Returns current dash mode. void setDashMode(const PatternVec& pattern, int paramNo, int phase) const; - /// Sets teh dash mode. + /// Sets the dash mode. float getFlatness() const; /// Returns the current flatness. diff --git a/Util/include/Poco/Util/LoggingConfigurator.h b/Util/include/Poco/Util/LoggingConfigurator.h index 4ffcaf294..a440468a4 100644 --- a/Util/include/Poco/Util/LoggingConfigurator.h +++ b/Util/include/Poco/Util/LoggingConfigurator.h @@ -38,7 +38,7 @@ class Util_API LoggingConfigurator /// /// The LoggingConfigurator sets up and connects formatters, channels /// and loggers. To accomplish its work, the LoggingConfigurator relies on the - /// functionality provided by the LoggingFactory und LoggingRegistry classes. + /// functionality provided by the LoggingFactory and LoggingRegistry classes. /// /// The LoggingConfigurator expects all configuration data to be under a root /// property named "logging". diff --git a/Util/include/Poco/Util/Option.h b/Util/include/Poco/Util/Option.h index 66c23942d..92cc9584c 100644 --- a/Util/include/Poco/Util/Option.h +++ b/Util/include/Poco/Util/Option.h @@ -60,7 +60,7 @@ class Util_API Option /// /// Option instances are value objects. /// - /// Typcally, after construction, an Option object is immediately + /// Typically, after construction, an Option object is immediately /// passed to an Options object. /// /// An Option object can be created by chaining the constructor diff --git a/XML/include/Poco/DOM/Document.h b/XML/include/Poco/DOM/Document.h index 407b372bf..55a353952 100644 --- a/XML/include/Poco/DOM/Document.h +++ b/XML/include/Poco/DOM/Document.h @@ -90,10 +90,10 @@ public: /// Resumes all events suspended with suspendEvent(); bool eventsSuspended() const; - /// Returns true if events are suspeded. + /// Returns true if events are suspended. bool events() const; - /// Returns true if events are not suspeded. + /// Returns true if events are not suspended. const DocumentType* doctype() const; /// The Document Type Declaration (see DocumentType) associated with this document.