From e203dbed45409111c2e95cb3e4a1d178ee57d2bc Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sat, 9 Aug 2014 14:06:22 -0500 Subject: [PATCH] package for 0.3.0 release --- Doxyfile | 2 +- changelog.md | 2 ++ readme.md | 2 +- websocketpp/close.hpp | 2 +- websocketpp/config/core.hpp | 2 +- websocketpp/config/core_client.hpp | 2 +- websocketpp/config/debug.hpp | 2 +- websocketpp/connection.hpp | 4 ++-- websocketpp/endpoint.hpp | 4 ++-- websocketpp/processors/processor.hpp | 4 ++-- websocketpp/transport/asio/connection.hpp | 4 ++-- websocketpp/transport/asio/endpoint.hpp | 12 ++++++------ websocketpp/transport/asio/security/none.hpp | 2 +- websocketpp/transport/asio/security/tls.hpp | 2 +- websocketpp/transport/iostream/connection.hpp | 2 +- websocketpp/version.hpp | 4 ++-- 16 files changed, 27 insertions(+), 25 deletions(-) diff --git a/Doxyfile b/Doxyfile index f4a39ae7d..353a1fbd6 100644 --- a/Doxyfile +++ b/Doxyfile @@ -33,7 +33,7 @@ PROJECT_NAME = "websocketpp" # if some version control system is used. -PROJECT_NUMBER = "0.4.0-dev" +PROJECT_NUMBER = "0.3.0" # Using the PROJECT_BRIEF tag one can provide an optional one line description diff --git a/changelog.md b/changelog.md index af4152300..78802d758 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,6 @@ HEAD + +0.3.0 - 2014-08-10 - Feature: Adds `start_perpetual` and `stop_perpetual` methods to asio transport These may be used to replace manually managed `asio::io_service::work` objects - Feature: Allow setting pong and handshake timeouts at runtime. diff --git a/readme.md b/readme.md index 4e2600fa3..685562319 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -WebSocket++ (0.3.0-alpha4) +WebSocket++ (0.3.0) ========================== WebSocket++ is a header only C++ library that implements RFC6455 The WebSocket diff --git a/websocketpp/close.hpp b/websocketpp/close.hpp index 9b83e629b..5101e44a2 100644 --- a/websocketpp/close.hpp +++ b/websocketpp/close.hpp @@ -204,7 +204,7 @@ namespace status { /** * See https://tools.ietf.org/html/rfc6455#section-7.4 for more details. * - * @since 0.4.0-beta1 + * @since 0.3.0 * * @param [in] code The code to look up. * @return A human readable interpretation of the code. diff --git a/websocketpp/config/core.hpp b/websocketpp/config/core.hpp index 32ddb3ebe..9616fbf97 100644 --- a/websocketpp/config/core.hpp +++ b/websocketpp/config/core.hpp @@ -223,7 +223,7 @@ struct core { * * The default is 32MB * - * @since 0.4.0-alpha1 + * @since 0.3.0 */ static const size_t max_message_size = 32000000; diff --git a/websocketpp/config/core_client.hpp b/websocketpp/config/core_client.hpp index 1b2fae44a..9824deea5 100644 --- a/websocketpp/config/core_client.hpp +++ b/websocketpp/config/core_client.hpp @@ -232,7 +232,7 @@ struct core_client { * * The default is 32MB * - * @since 0.4.0-alpha1 + * @since 0.3.0 */ static const size_t max_message_size = 32000000; diff --git a/websocketpp/config/debug.hpp b/websocketpp/config/debug.hpp index a708de142..142bf3342 100644 --- a/websocketpp/config/debug.hpp +++ b/websocketpp/config/debug.hpp @@ -224,7 +224,7 @@ struct debug_core { * * The default is 32MB * - * @since 0.4.0-alpha1 + * @since 0.3.0 */ static const size_t max_message_size = 32000000; diff --git a/websocketpp/connection.hpp b/websocketpp/connection.hpp index e2ebcd6ab..37880ce1c 100644 --- a/websocketpp/connection.hpp +++ b/websocketpp/connection.hpp @@ -538,7 +538,7 @@ class connection * * The default is set by the endpoint that creates the connection. * - * @since 0.4.0-alpha1 + * @since 0.3.0 */ size_t get_max_message_size() const { return m_max_message_size; @@ -552,7 +552,7 @@ class connection * * The default is set by the endpoint that creates the connection. * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param new_value The value to set as the maximum message size. */ diff --git a/websocketpp/endpoint.hpp b/websocketpp/endpoint.hpp index 6c08b131e..aacde25ca 100644 --- a/websocketpp/endpoint.hpp +++ b/websocketpp/endpoint.hpp @@ -357,7 +357,7 @@ class endpoint : public config::transport_type, public config::endpoint_base { * * The default is set by the max_message_size value from the template config * - * @since 0.4.0-alpha1 + * @since 0.3.0 */ size_t get_max_message_size() const { return m_max_message_size; @@ -371,7 +371,7 @@ class endpoint : public config::transport_type, public config::endpoint_base { * * The default is set by the max_message_size value from the template config * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param new_value The value to set as the maximum message size. */ diff --git a/websocketpp/processors/processor.hpp b/websocketpp/processors/processor.hpp index 69b9ab186..f379fb4f6 100644 --- a/websocketpp/processors/processor.hpp +++ b/websocketpp/processors/processor.hpp @@ -177,7 +177,7 @@ class processor { * * The default is retrieved from the max_message_size value from the template config * - * @since 0.4.0-alpha1 + * @since 0.3.0 */ size_t get_max_message_size() const { return m_max_message_size; @@ -190,7 +190,7 @@ class processor { * * The default is retrieved from the max_message_size value from the template config * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param new_value The value to set as the maximum message size. */ diff --git a/websocketpp/transport/asio/connection.hpp b/websocketpp/transport/asio/connection.hpp index fa17b7827..f6eb941c5 100644 --- a/websocketpp/transport/asio/connection.hpp +++ b/websocketpp/transport/asio/connection.hpp @@ -116,7 +116,7 @@ class connection : public config::socket_type::socket_con_type { * established but before any additional wrappers (proxy connects, TLS * handshakes, etc) have been performed. * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param h The handler to call on tcp pre init. */ @@ -145,7 +145,7 @@ class connection : public config::socket_type::socket_con_type { * etc have been performed. This is fired before any bytes are read or any * WebSocket specific handshake logic has been performed. * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param h The handler to call on tcp post init. */ diff --git a/websocketpp/transport/asio/endpoint.hpp b/websocketpp/transport/asio/endpoint.hpp index f5a73b689..9ccd402d6 100644 --- a/websocketpp/transport/asio/endpoint.hpp +++ b/websocketpp/transport/asio/endpoint.hpp @@ -231,7 +231,7 @@ class endpoint : public config::socket_type { * established but before any additional wrappers (proxy connects, TLS * handshakes, etc) have been performed. * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param h The handler to call on tcp pre init. */ @@ -260,7 +260,7 @@ class endpoint : public config::socket_type { * etc have been performed. This is fired before any bytes are read or any * WebSocket specific handshake logic has been performed. * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param h The handler to call on tcp post init. */ @@ -283,7 +283,7 @@ class endpoint : public config::socket_type { * A value of zero will use the operating system default. This is the * default value. * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param backlog The maximum length of the queue of pending connections */ @@ -301,7 +301,7 @@ class endpoint : public config::socket_type { * * The default is false. * - * @since 0.4.0-alpha1 + * @since 0.3.0 * * @param value Whether or not to use the SO_REUSEADDR option */ @@ -604,7 +604,7 @@ class endpoint : public config::socket_type { * called either before the endpoint has run out of work or before it was * started * - * @since 0.4.0-alpha1 + * @since 0.3.0 */ void start_perpetual() { m_work.reset(new boost::asio::io_service::work(*m_io_service)); @@ -616,7 +616,7 @@ class endpoint : public config::socket_type { * method to exit normally when it runs out of connections. If there are * currently active connections it will not end until they are complete. * - * @since 0.4.0-alpha1 + * @since 0.3.0 */ void stop_perpetual() { m_work.reset(); diff --git a/websocketpp/transport/asio/security/none.hpp b/websocketpp/transport/asio/security/none.hpp index 48d258fc4..b7e888e80 100644 --- a/websocketpp/transport/asio/security/none.hpp +++ b/websocketpp/transport/asio/security/none.hpp @@ -242,7 +242,7 @@ class connection : public lib::enable_shared_from_this { * not presently provide any additional information so all errors will be * reported as the generic transport pass_through error. * - * @since 0.4.0-beta1 + * @since 0.3.0 * * @param ec The error code to translate_ec * @return The translated error code diff --git a/websocketpp/transport/asio/security/tls.hpp b/websocketpp/transport/asio/security/tls.hpp index 7d69a8842..10a13673e 100644 --- a/websocketpp/transport/asio/security/tls.hpp +++ b/websocketpp/transport/asio/security/tls.hpp @@ -298,7 +298,7 @@ class connection : public lib::enable_shared_from_this { * Non-TLS related errors are returned as the transport generic pass_through * error. * - * @since 0.4.0-beta1 + * @since 0.3.0 * * @param ec The error code to translate_ec * @return The translated error code diff --git a/websocketpp/transport/iostream/connection.hpp b/websocketpp/transport/iostream/connection.hpp index 1cceee0e7..fdca9d2c0 100644 --- a/websocketpp/transport/iostream/connection.hpp +++ b/websocketpp/transport/iostream/connection.hpp @@ -159,7 +159,7 @@ class connection : public lib::enable_shared_from_this< connection > { * it doesn't it indicates that the connection was most likely closed or * is in an error state where it is no longer accepting new input. * - * @since 0.4.0-beta1 + * @since 0.3.0 * * @param buf Char buffer to read into the websocket * @param len Length of buf diff --git a/websocketpp/version.hpp b/websocketpp/version.hpp index e6c9cbf7e..cf2725e48 100644 --- a/websocketpp/version.hpp +++ b/websocketpp/version.hpp @@ -50,10 +50,10 @@ static int const patch_version = 0; * This is a textual flag indicating the type and number for pre-release * versions (dev, alpha, beta, rc). This will be blank for release versions. */ -static char const prerelease_flag[] = "alpha4"; +static char const prerelease_flag[] = ""; /// Default user agent string -static char const user_agent[] = "WebSocket++/0.3.0-alpha4"; +static char const user_agent[] = "WebSocket++/0.3.0"; } // namespace websocketpp