This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG-autil.txt
154 lines (140 loc) · 6.46 KB
/
CHANGELOG-autil.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
v2.0.0 - 2024-01-22
--------------------------------
+ Replace autil_string_split* functions with a single autil_string_split.
+ Remove autil_sipool and associated functions.
+ Remove AUTIL_ALIGNOF
v1.0.2 - 2022-06-03
--------------------------------
+ Fix potential index out-of-bounds in autil_bigint_mul.
v1.0.1 - 2022-04-13
--------------------------------
+ Fix incorrect sizeof expression in autil_freezer_new.
v0.11.0 - 2022-01-05
--------------------------------
+ Add type autil_freezer and associated functions: autil_freezer_new,
autil_freezer_del, and autil_freezer_register.
+ Add autil_bitarr_freeze.
+ Add autil_bigint_freeze.
+ Add autil_string_freeze.
+ Add autil_sbuf_freeze.
+ Add autil_vec_freeze.
+ Add autil_map_freeze.
v0.10.0 - 2021-05-23
--------------------------------
+ Add autil_memset.
+ Add AUTIL_MEMZERO.
+ Add autil_cstr_new_fmt.
+ Add type autil_sipool and associated functions: autil_sipool_new,
autil_sipool_del, autil_sipool_intern, and autil_sipool_intern_cstr.
v0.9.0 - 2021-03-14
--------------------------------
+ Add autil_cstr_new, autil_cstr_new_cstr, autil_cstr_starts_with,
and autil_cstr_ends_with.
+ Add autil_sbuf and autil_sbuf_const declaration macros.
+ Add type autil_bitarr and associated functions: autil_bitarr_new,
autil_bitarr_del, autil_bitarr_count, autil_bitarr_set, autil_bitarr_get,
autil_bitarr_assign, autil_bitarr_compl, autil_bitarr_shiftl,
autil_bitarr_shiftr, autil_bitarr_and, autil_bitarr_xor, and autil_bitarr_or.
+ Add autil_string_new_fmt, autil_string_append, autil_string_append_cstr,
autil_string_append_fmt, and autil_string_append_vfmt.
+ Add autil_vec_next and autil_vec_next_const.
+ Rename AUTIL_CSTR_COUNT to AUTIL_STR_LITERAL_COUNT.
+ Rename AUTIL_VSTR_INIT_LITERAL to AUTIL_VSTR_INIT_STR_LITERAL.
+ Rename AUTIL_VSTR_LOCAL_PTR_LITERAL to AUTIL_VSTR_LOCAL_PTR_STR_LITERAL.
+ Rename autil_arr* functions and macros to autil_sbuf*.
+ Rename autil_bigint_new_utf8 to autil_bigint_new_text.
+ Rename autil_bigint_shiftl to autil_bigint_magnitude_shiftl.
+ Rename autil_bigint_shiftr to autil_bigint_magnitude_shiftr.
+ Rename autil_bigint_bit_count to autil_bigint_magnitude_bit_count.
+ Rename autil_bigint_bit_set to autil_bigint_magnitude_bit_set.
+ Rename autil_bigint_bit_get to autil_bigint_magnitude_bit_get.
+ Rename autil_bigint_negate to autil_bigint_neg and update the function to more
closely resemble GMP's mpz_neg.
+ Update autil_bigint_abs to more closely resemble GMP's mpz_abs.
+ The functions autil_bigint_new* and autil_bigint_to_new_cstr can now parse
and stringify octal numbers (prefixed with "0o").
+ The macros autil_sbuf_reserve, autil_sbuf_resize, and autil_sbuf_push may now
be used with second arguments containing commas that would otherwise be
rejected by the preprocessor (e.g. struct literals).
v0.8.0 - 2021-02-21
--------------------------------
+ Add autil_bigint_shiftl, autil_bigint_shiftr, autil_bigint_bit_count,
autil_bigint_bit_get, and autil_bigint_bit_set.
+ Improved performance of autil_bigint_mul by switching to Knuth's "Algorithm M"
+ Improved performance of autil_bigint_divrem by switching from long division
with repeated subtraction to binary long division.
v0.7.0 - 2021-02-15
--------------------------------
+ Add AUTIL_VSTR_LOCAL_PTR_LITERAL.
+ Add autil_vstr_starts_with and autil_vstr_ends_with.
+ Add autil_string_split_to_vec_on_vstr.
+ Fix UB when applying zero offset to null pointer in autil_vec_ref and
autil_vec_ref_const.
+ Rename autil_bigint_to_cstr to autil_bigint_to_new_cstr.
v0.6.1 - 2021-01-18
--------------------------------
+ Remove AUTIL_BIT.
+ Replace AUTIL_VSTR_LITERAL and AUTIL_VSTR_LITERAL_INIT with
AUTIL_VSTR_INIT_LITERAL.
v0.6.0 - 2020-12-28
--------------------------------
+ Add type autil_vstr and associated macros/functions:
AUTIL_VSTR_LOCAL_PTR, AUTIL_VSTR_LITERAL, AUTIL_VSTR_LITERAL_INIT,
autil_vstr_cmp, and autil_vstr_vpcmp.
v0.5.0 - 2020-12-13
--------------------------------
+ Add AUTIL_ALIGNOF and AUTIL_STATIC_ASSERT
+ Add autil_max_align_type typedef.
+ Add autil_memcmp and autil_memmove.
+ Add autil_string_split_to_vec_on and autil_string_split_to_vec_on_cstr.
+ Add autil_arr macros: autil_arr_fini, autil_arr_count, autil_arr_capacity,
autil_arr_reserve, autil_arr_resize, autil_arr_push, and autil_arr_pop.
+ Rename autil_str_vpcmp to autil_cstr_vpcmp.
+ Rename autil_string_split to autil_string_split_to_vec.
v0.4.0 - 2020-11-25
--------------------------------
+ Add autil_isbdigit and autil_isodigit.
+ Add autil_stream_read and autil_stream_read_line.
+ Add AUTIL_BIT.
+ Add type autil_bigint and associated functions: autil_bigint_new,
autil_bigint_new_cstr, autil_bigint_new_utf8,autil_bigint_del,
autil_bigint_cmp, autil_bigint_vpcmp, autil_bigint_assign,
autil_bigint_negate, autil_bigint_abs, autil_bigint_add, autil_bigint_sub,
autil_bigint_mul, autil_bigint_divrem, and autil_bigint_to_cstr.
+ Add type autil_string and associated functions: autil_string_new,
autil_string_new_cstr, autil_string_del, autil_string_start,
autil_string_count, autil_string_resize, autil_string_ref,
autil_string_ref_const, autil_string_insert, autil_string_remove,
autil_string_trim, and autil_string_split.
+ Add autil_vec_ref_const and make autil_ref_get* const correct.
+ Add autil_map_lookup_const and make autil_map_lookup* const correct.
+ Rename autil_vec_get to autil_vec_ref.
+ Rename autil_vec_data to autil_vec_start and make const correct.
v0.3.0 - 2020-10-29
--------------------------------
+ Namespace library with AUTIL_ and autil_.
+ Add AUTIL_FMT_COUNT.
+ Add safe ctype functions: autil_isalnum, autil_isalpha, autil_isblank,
autil_iscntrl, autil_isdigit, autil_isgraph, autil_islower, autil_isprint,
autil_ispunct, autil_isspace, autil_isupper, autil_isxdigit, autil_tolower,
and autil_toupper.
+ Add autil_vec_elemsize.
v0.2.0 - 2020-09-16
--------------------------------
+ Add infof.
+ Add ARRAY_COUNT.
+ Add CSTR_COUNT.
+ Fix missing const qualifier for vec_get parameter self.
v0.1.0 - 2020-07-30
--------------------------------
+ Initial release.
+ Add type vpcmp_fn and associated functions str_vpcmp and int_vpcmp.
+ Add LOCAL_PTR and DEREF_PTR.
+ Add errorf and fatalf.
+ Add xalloc, xallocn, and XALLOC_FREE.
+ Add file_read and file_write.
+ Add type vec and associated functions: vec_new, vec_del, vec_count,
vec_capacity, vec_reserve, vec_resize, vec_set, vec_get, vec_insert, and
vec_remove.
+ Add type map and associated functions: map_new, map_del, map_count, map_keys,
map_vals, map_lookup, map_insert, and map_remove.