Skip to content

Commit

Permalink
Updates from v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Nov 23, 2024
1 parent 5946edc commit ccdd78a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
...
Expand All @@ -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/[email protected].1")
CPMAddPackage("gh:upa-url/[email protected].2")
...
target_link_libraries(exe-target PRIVATE upa::url)
```
Expand Down
4 changes: 3 additions & 1 deletion doc/string_input.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<char>`).

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` |
|-|-|-|
Expand Down
4 changes: 2 additions & 2 deletions include/upa/url_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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-*)

Expand Down
2 changes: 1 addition & 1 deletion test/test-str_arg.cpp
Original file line number Diff line number Diff line change
@@ -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.
//
Expand Down

0 comments on commit ccdd78a

Please sign in to comment.