From ccdd78aeacd829a0ba5e155b906599d16a70196b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rimas=20Misevi=C4=8Dius?= Date: Thu, 21 Nov 2024 23:24:19 +0200 Subject: [PATCH] Updates from v1.0.2 --- README.md | 4 ++-- doc/string_input.md | 4 +++- include/upa/url_version.h | 4 ++-- test/test-str_arg.cpp | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c21da27..044a5cb 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ include(FetchContent) FetchContent_Declare(upa GIT_REPOSITORY https://github.com/upa-url/upa.git GIT_SHALLOW TRUE - GIT_TAG v1.0.1 + GIT_TAG v1.0.2 ) FetchContent_MakeAvailable(upa) ... @@ -77,7 +77,7 @@ target_link_libraries(exe-target PRIVATE upa::url) If you are using the [CPM.cmake script](https://github.com/cpm-cmake/CPM.cmake) and have included it in your `CMakeLists.txt`, then: ```cmake -CPMAddPackage("gh:upa-url/upa@1.0.1") +CPMAddPackage("gh:upa-url/upa@1.0.2") ... target_link_libraries(exe-target PRIVATE upa::url) ``` diff --git a/doc/string_input.md b/doc/string_input.md index f5d56c7..9acf632 100644 --- a/doc/string_input.md +++ b/doc/string_input.md @@ -2,7 +2,9 @@ For string input, the library supports UTF-8, UTF-16, UTF-32 encodings and several string types, including `std::basic_string`, `std::basic_string_view`, null-terminated strings of any char type: `char`, `char8_t`, `char16_t`, `char32_t`, or `wchar_t`. -The ATL/MFC and Qt library string types are also supported. To use them you need to include the header files listed in the table below instead of `url.h`: +Other classes that have a `data()` function that returns a pointer to one of the char types listed above and a `size()` function that has an integer return type are also supported (e.g. `std::vector`). + +The ATL/MFC and Qt library string types are supported. To use them you need to include the header files listed in the table below instead of `url.h`: | Library | Supported string types | Include instead of `url.h` | |-|-|-| diff --git a/include/upa/url_version.h b/include/upa/url_version.h index 0da0fb5..066488d 100644 --- a/include/upa/url_version.h +++ b/include/upa/url_version.h @@ -10,9 +10,9 @@ #define UPA_URL_VERSION_MAJOR 1 #define UPA_URL_VERSION_MINOR 0 -#define UPA_URL_VERSION_PATCH 1 +#define UPA_URL_VERSION_PATCH 2 -#define UPA_URL_VERSION "1.0.1" +#define UPA_URL_VERSION "1.0.2" // NOLINTEND(*-macro-*) diff --git a/test/test-str_arg.cpp b/test/test-str_arg.cpp index 3886c09..5af0d92 100644 --- a/test/test-str_arg.cpp +++ b/test/test-str_arg.cpp @@ -1,4 +1,4 @@ -// Copyright 2016-2023 Rimas Misevičius +// Copyright 2016-2024 Rimas Misevičius // Distributed under the BSD-style license that can be // found in the LICENSE file. //