diff --git a/CHANGELOG.md b/CHANGELOG.md index d2c0eeb9..361bc2c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 184: * Remove extraneous function +* Fix some typos -------------------------------------------------------------------------------- @@ -1316,7 +1317,7 @@ Actions Required: take the logical NOT of the return value. * Modify instances of user-defined BodyReader and BodyWriter - types to perfrom two-phase initialization, as per the + types to perform two-phase initialization, as per the updated documented type requirements. -------------------------------------------------------------------------------- @@ -2410,7 +2411,7 @@ The message class hierarchy is refactored (breaking change): * Fix integer warnings in Windows builds * Add 32 and 64 bit Windows build support * Update README for build instructions and more -* Add repository and documention banners +* Add repository and documentation banners -------------------------------------------------------------------------------- diff --git a/doc/docca/include/docca/doxygen.xsl b/doc/docca/include/docca/doxygen.xsl index a3537c7f..dbd8ed1b 100644 --- a/doc/docca/include/docca/doxygen.xsl +++ b/doc/docca/include/docca/doxygen.xsl @@ -441,7 +441,7 @@ + introducing extra newlines from formatting para --> diff --git a/doc/qbk/03_core/6_detect_ssl.qbk b/doc/qbk/03_core/6_detect_ssl.qbk index 39f10575..595255d5 100644 --- a/doc/qbk/03_core/6_detect_ssl.qbk +++ b/doc/qbk/03_core/6_detect_ssl.qbk @@ -12,7 +12,7 @@ In this example we will build a simple function to detect the presence of the SSL handshake given an input buffer sequence. Then we build on the example by adding a synchronous stream algorithm. Finally, we -implemement an asynchronous detection function using a composed operation. +implement an asynchronous detection function using a composed operation. This SSL detector may be used to allow a server to accept both SSL/TLS and unencrypted connections at the same port. diff --git a/doc/qbk/07_concepts/File.qbk b/doc/qbk/07_concepts/File.qbk index 8bfd6cbd..cce5ad40 100644 --- a/doc/qbk/07_concepts/File.qbk +++ b/doc/qbk/07_concepts/File.qbk @@ -61,7 +61,7 @@ In this table: [`f.close(ec)`] [] [ - If `f` refers to an open file, thie function attempts to + If `f` refers to an open file, this function attempts to close the file. Regardless of whether an error occurs or not, a subsequent call to `f.is_open()` will return `false`. diff --git a/example/common/detect_ssl.hpp b/example/common/detect_ssl.hpp index 8be32a99..ee3e7dfb 100644 --- a/example/common/detect_ssl.hpp +++ b/example/common/detect_ssl.hpp @@ -248,7 +248,7 @@ template< class Handler> class detect_ssl_op; -// Here is the implementation of the asynchronous initation function +// Here is the implementation of the asynchronous initiation function template< class AsyncReadStream, class DynamicBuffer, @@ -337,7 +337,7 @@ public: // The state for this operation is cheap to copy. detect_ssl_op(detect_ssl_op const&) = default; - // The constructor just keeps references the callers varaibles. + // The constructor just keeps references the callers variables. // template detect_ssl_op( diff --git a/example/doc/http_examples.hpp b/example/doc/http_examples.hpp index 7e10e26f..b946d68c 100644 --- a/example/doc/http_examples.hpp +++ b/example/doc/http_examples.hpp @@ -294,7 +294,7 @@ void do_server_head( "SyncStream requirements not met"); static_assert( boost::asio::is_dynamic_buffer::value, - "DynamicBuffer requirments not met"); + "DynamicBuffer requirements not met"); // We deliver this payload for all GET requests static std::string const payload = "Hello, world!"; @@ -388,7 +388,7 @@ do_head_request( "SyncStream requirements not met"); static_assert( boost::asio::is_dynamic_buffer::value, - "DynamicBuffer requirments not met"); + "DynamicBuffer requirements not met"); // The interfaces we are using are low level and do not // perform any checking of arguments; so we do it here. @@ -505,7 +505,7 @@ relay( if(ec) return; - // Apply the caller's header tranformation + // Apply the caller's header transformation transform(p.get(), ec); if(ec) return; diff --git a/include/boost/beast/core/impl/static_buffer.ipp b/include/boost/beast/core/impl/static_buffer.ipp index 9615fb2d..bd498c97 100644 --- a/include/boost/beast/core/impl/static_buffer.ipp +++ b/include/boost/beast/core/impl/static_buffer.ipp @@ -119,7 +119,7 @@ consume(std::size_t size) else { // rewind the offset, so the next call to prepare - // can have a longer continguous segment. this helps + // can have a longer contiguous segment. this helps // algorithms optimized for larger buffesr. in_off_ = 0; in_size_ = 0; diff --git a/include/boost/beast/core/static_buffer.hpp b/include/boost/beast/core/static_buffer.hpp index 86f06b1e..fa59638b 100644 --- a/include/boost/beast/core/static_buffer.hpp +++ b/include/boost/beast/core/static_buffer.hpp @@ -110,7 +110,7 @@ public: /** Move bytes from the output sequence to the input sequence. - @param size The nubmer of bytes to commit. If this is greater + @param size The number of bytes to commit. If this is greater than the size of the output sequence, the entire output sequence is committed. */ diff --git a/include/boost/beast/http/basic_file_body.hpp b/include/boost/beast/http/basic_file_body.hpp index 6d1de9a3..7dd104d4 100644 --- a/include/boost/beast/http/basic_file_body.hpp +++ b/include/boost/beast/http/basic_file_body.hpp @@ -428,7 +428,7 @@ public: // This function is called when writing is complete. // It is an opportunity to perform any final actions // which might fail, in order to return an error code. - // Operations that might fail should not be attemped in + // Operations that might fail should not be attempted in // destructors, since an exception thrown from there // would terminate the program. // diff --git a/include/boost/beast/http/span_body.hpp b/include/boost/beast/http/span_body.hpp index 4688dc87..f2048116 100644 --- a/include/boost/beast/http/span_body.hpp +++ b/include/boost/beast/http/span_body.hpp @@ -24,7 +24,7 @@ namespace http { This body uses @ref span as a memory-based container for holding message payloads. The container represents a - non-owning reference to a continguous area of memory. + non-owning reference to a contiguous area of memory. Messages using this body type may be serialized and parsed. diff --git a/include/boost/beast/websocket/stream.hpp b/include/boost/beast/websocket/stream.hpp index 315a23d6..cb8a00fc 100644 --- a/include/boost/beast/websocket/stream.hpp +++ b/include/boost/beast/websocket/stream.hpp @@ -571,7 +571,7 @@ public: ); @endcode The implementation type-erases the callback which may require - a dynamic allocation. To prevent the possiblity of a dynamic + a dynamic allocation. To prevent the possibility of a dynamic allocation, use `std::ref` to wrap the callback. If the read operation which receives the control frame is an asynchronous operation, the callback will be invoked using diff --git a/subtree/unit_test/include/boost/beast/unit_test/runner.hpp b/subtree/unit_test/include/boost/beast/unit_test/runner.hpp index da849376..580b0dbc 100644 --- a/subtree/unit_test/include/boost/beast/unit_test/runner.hpp +++ b/subtree/unit_test/include/boost/beast/unit_test/runner.hpp @@ -43,7 +43,7 @@ public: The argument string is available to suites and allows for customization of the test. Each suite - defines its own syntax for the argumnet string. + defines its own syntax for the argument string. The same argument is passed to all suites. */ void diff --git a/test/beast/zlib/zlib.cpp b/test/beast/zlib/zlib.cpp index 4c300cdb..eefa6887 100644 --- a/test/beast/zlib/zlib.cpp +++ b/test/beast/zlib/zlib.cpp @@ -7,6 +7,6 @@ // Official repository: https://github.com/boostorg/beast // -// Make sure symbols don't confict with ZLib +// Make sure symbols don't conflict with ZLib #include "zlib-1.2.11/zlib.h" #include