summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-25Add missing newlines and end-of-filesHEAD31masterGabriel Jensen
2023-07-23Update comments; Fix u8c_decode_utf8_length not validating; Add attribute ↵30Gabriel Jensen
u8c_DEPRECATED; Deprecate u8c_encode_utf16 and u8c_encode_utf16_length as they're untested (this is not permanent);
2023-07-23Rename source directory: src => source; Make changelog plain-text; Update ↵29Gabriel Jensen
CMake style; Rewrite in C99; Use separate CMake lists; Update copyright and license notices; Use header identifiers instead of keys for include guards; Use ifdef/ifndef; Remove top 'u8c' header (keep uninm); License under the LGPL; Bump required CMake version; Rename misc header to u8c; Remove assert; Remove attributes:; - u8c_attr_abitag; - u8c_attr_allocsz; - u8c_attr_artif; - u8c_attr_cold; - u8c_attr_fmt; - u8c_attr_malloc; - u8c_attr_hot; - u8c_attr_pure; - u8c_attr_retnonnull; - u8c_attr_sect; - u8c_attr_used; - u8c_attr_noderef; - u8c_attr_noesc; - u8c_attr_dup; Remove type constant macros; Remove our types; Remove endian-related facilities; Remove memory functions; Remove bytesz and dbg; Fix version number; Remove fmt header; Add new header 'format'; Add new header 'character'; Replace utf header with new 'format' and 'character' headers; Remove math header; Remove impl header; Remove cstr header; Remove arr header; Make functions non-constexpr; Update naming convention; Implement UTF-16 conversions; Split cnv into multiple functions:; - encode_utf8 (UTF-32 to UTF-8); - decode_utf8 (UTF-8 to UTF-32); - encode_utf16 (UTF-32 to UTF-16); - decode_utf16 (UTF-16 to UTF-32); Use caller-provided buffer in conversion functions; Rename u8c::isupper to u8c_is_majuscule; Rename u8c::islower to u8c_is_minuscule; Update code style; Change type of version constant (now uint_least32_t); Use Git tagging for versioning; Don't throw exceptions; Update warning flags; Update optimisation flags; Rename u8c::unimax to u8c_MAX_CODE_POINT; Remove u8c::uniblk; Clean up code; Don't define functions in headers; Rename u8c::isspace to u8c_is_whitespace; Add more characters to u8c_is_whitespace; Rename u8c::ispunct to u8c_is_punctuation; Add more characters to u8c_is_punctuation; Remove u8c::isalnum; Rename u8c::uninm to u8c_unicode_name; Use caller-provided buffer in u8c_unicode_name; Add constant for the maximum length of a Unicode identifier: u8c_MAXIMUM_NAME_LENGTH; Add functions for determening the length of encodings and decodings:; - u8c_decode_utf8_length; - u8c_encode_utf8_length; - u8c_encode_utf16_length; - u8c_decode_utf16_length; Rename u8c_attr_const to u8c_UNSEQUENCED; Rename u8c_attr_inline to u8c_ALWAYS_INLINE; Add new attribute u8c_NO_DISCARD; Validate encodings; Rework readme; Rename u8c::isdigit and u8x::isxdigit to is_numeric and is_hexadecimal_numeric; Rename u8c::isalpha to u8c_is_alphabetic; Rename u8c::iscntrl to u8c_is_control; Rename u8c::issurro to u8c_is_surrogate; Optimise code; Update gitignore;
2021-09-15Version 24.Gabriel Jensen
2021-09-14Version 23.Gabriel Jensen
2021-07-04Version 22.Gabriel Jensen
2021-06-22Version 21.Gabriel Jensen
2021-06-21Version 20.Gabriel Jensen
2021-06-19Version 1↋.Gabriel Jensen
2021-06-18Version 1↊.Gabriel Jensen
2021-06-18Version 19.Gabriel Jensen
2021-06-16Version 18.Gabriel Jensen
2021-06-15Version 17.Gabriel Jensen
2021-06-15Version 16.Gabriel Jensen
2021-06-04Version 15.Gabriel Jensen
2021-06-04Version 14.Gabriel Jensen
2021-06-01Version 13.Gabriel Jensen
2021-06-01Version 12.Gabriel Jensen
2021-06-01Version 11.Gabriel Jensen
2021-06-01Version 10.Gabriel Jensen
2021-05-30Version ↋.Gabriel Jensen
2021-05-30Version ↊.Gabriel Jensen
2021-05-29Version 9.Gabriel Jensen
2021-05-29Version 8.Gabriel Jensen
2021-05-29Version 7.Gabriel Jensen
2021-05-28Version 6.Gabriel Jensen
2021-05-28Version 5.Gabriel Jensen
2021-05-27Version 4.Gabriel Jensen
2021-05-27Version 3.Gabriel Jensen
2021-05-27Version 2.Gabriel Jensen
2021-05-13Version 1.Gabriel Jensen
2021-05-13Version 0.Gabriel Jensen