|
1 |
| -/* auto-generated on 2023-05-19 00:02:33 -0400. Do not edit! */ |
| 1 | +/* auto-generated on 2023-05-25 16:09:25 -0400. Do not edit! */ |
2 | 2 | /* begin file include/ada.h */
|
3 | 3 | /**
|
4 | 4 | * @file ada.h
|
@@ -425,7 +425,7 @@ namespace ada {
|
425 | 425 | #define ADA_DEVELOPMENT_CHECKS 1
|
426 | 426 | #endif // __OPTIMIZE__
|
427 | 427 | #endif // _MSC_VER
|
428 |
| -#endif // SIMDJSON_DEVELOPMENT_CHECKS |
| 428 | +#endif // ADA_DEVELOPMENT_CHECKS |
429 | 429 |
|
430 | 430 | #define ADA_STR(x) #x
|
431 | 431 |
|
@@ -949,7 +949,7 @@ ada_really_inline bool bit_at(const uint8_t a[], const uint8_t i) {
|
949 | 949 | namespace ada::checkers {
|
950 | 950 |
|
951 | 951 | inline bool has_hex_prefix_unsafe(std::string_view input) {
|
952 |
| - // This is actualy efficient code, see has_hex_prefix for the assembly. |
| 952 | + // This is actually efficient code, see has_hex_prefix for the assembly. |
953 | 953 | uint32_t value_one = 1;
|
954 | 954 | bool is_little_endian = (reinterpret_cast<char*>(&value_one)[0] == 1);
|
955 | 955 | uint16_t word0x{};
|
@@ -2895,7 +2895,7 @@ struct default_constructor_tag {
|
2895 | 2895 | };
|
2896 | 2896 |
|
2897 | 2897 | // expected_default_ctor_base will ensure that expected has a deleted default
|
2898 |
| -// consturctor if T is not default constructible. |
| 2898 | +// constructor if T is not default constructible. |
2899 | 2899 | // This specialization is for when T is default constructible
|
2900 | 2900 | template <class T, class E,
|
2901 | 2901 | bool Enable =
|
@@ -4359,7 +4359,7 @@ contains_forbidden_domain_code_point_or_upper(const char* input,
|
4359 | 4359 | size_t length) noexcept;
|
4360 | 4360 |
|
4361 | 4361 | /**
|
4362 |
| - * Checks if the input is a forbidden doamin code point. |
| 4362 | + * Checks if the input is a forbidden domain code point. |
4363 | 4363 | * @see https://url.spec.whatwg.org/#forbidden-domain-code-point
|
4364 | 4364 | */
|
4365 | 4365 | ada_really_inline constexpr bool is_forbidden_domain_code_point(
|
@@ -4586,7 +4586,7 @@ struct url_aggregator : url_base {
|
4586 | 4586 | */
|
4587 | 4587 | [[nodiscard]] std::string_view get_pathname() const noexcept;
|
4588 | 4588 | /**
|
4589 |
| - * Compute the pathname length in bytes witout instantiating a view or a |
| 4589 | + * Compute the pathname length in bytes without instantiating a view or a |
4590 | 4590 | * string.
|
4591 | 4591 | * @return size of the pathname in bytes
|
4592 | 4592 | * @see https://url.spec.whatwg.org/#dom-url-pathname
|
@@ -5031,7 +5031,7 @@ struct url : url_base {
|
5031 | 5031 | [[nodiscard]] const std::string_view get_pathname() const noexcept;
|
5032 | 5032 |
|
5033 | 5033 | /**
|
5034 |
| - * Compute the pathname length in bytes witout instantiating a view or a |
| 5034 | + * Compute the pathname length in bytes without instantiating a view or a |
5035 | 5035 | * string.
|
5036 | 5036 | * @return size of the pathname in bytes
|
5037 | 5037 | * @see https://url.spec.whatwg.org/#dom-url-pathname
|
@@ -6318,7 +6318,7 @@ inline void ada::url_aggregator::add_authority_slashes_if_needed() noexcept {
|
6318 | 6318 | ADA_ASSERT_TRUE(validate());
|
6319 | 6319 | // Protocol setter will insert `http:` to the URL. It is up to hostname setter
|
6320 | 6320 | // to insert
|
6321 |
| - // `//` initially to the buffer, since it depends on the hostname existance. |
| 6321 | + // `//` initially to the buffer, since it depends on the hostname existence. |
6322 | 6322 | if (has_authority()) {
|
6323 | 6323 | return;
|
6324 | 6324 | }
|
@@ -6485,14 +6485,14 @@ inline std::ostream &operator<<(std::ostream &out,
|
6485 | 6485 | #ifndef ADA_ADA_VERSION_H
|
6486 | 6486 | #define ADA_ADA_VERSION_H
|
6487 | 6487 |
|
6488 |
| -#define ADA_VERSION "2.4.2" |
| 6488 | +#define ADA_VERSION "2.5.0" |
6489 | 6489 |
|
6490 | 6490 | namespace ada {
|
6491 | 6491 |
|
6492 | 6492 | enum {
|
6493 | 6493 | ADA_VERSION_MAJOR = 2,
|
6494 |
| - ADA_VERSION_MINOR = 4, |
6495 |
| - ADA_VERSION_REVISION = 2, |
| 6494 | + ADA_VERSION_MINOR = 5, |
| 6495 | + ADA_VERSION_REVISION = 0, |
6496 | 6496 | };
|
6497 | 6497 |
|
6498 | 6498 | } // namespace ada
|
|
0 commit comments