summaryrefslogtreecommitdiffhomepage
path: root/docs
AgeCommit message (Collapse)Author
2022-03-16Bugfix: carc and cbox cmp functions had bug.Tyge Løvset
Renamed: i_key_sptr / i_val_sptr to i_key_arcbox / i_val_arcbox. Other smaller updates.
2022-03-15Some docs update, ++.Tyge Løvset
2022-03-04Replaced c_strlit type with c_strlen_lit(lit) macro and its usage.Tyge Løvset
2022-03-04Updated printf formatting to portable code. This was also to use ↵Tyge Løvset
http://winlibs.com gcc+clang with ucrt runtime-libs without warnings.
2022-03-01Fixed two minor bugs in cmap_api.md docs examples.Tyge Løvset
2022-02-13Refactored crandom. Removed 32-bit version. Made normal dist inline - does ↵Tyge Løvset
not require math lib if not used. Added stc64_randomf()
2022-02-06Misc improvements.Tyge Løvset
2022-01-30Replaced utf8_decode() and friends code.Tyge Løvset
2022-01-14Final utf8 api, and docs.Tyge Løvset
2022-01-14Renamed *_v() methods to *_sv(). Note: this breaks API, hopefully not too ↵Tyge Løvset
intrusive. The change was needed to be consistent in using 'sv' as a shorthand for "string view" everywhere, and is easier to understand than _v().
2022-01-14Removed cstr iter; => csview iter is now utf8 iter. See utf8.h example.Tyge Løvset
2022-01-12Docs update, mmap.c example update.Tyge Løvset
2022-01-09Removed strings.h.Tyge Løvset
2022-01-08Moved utf8 from cregex.h to separate file. Splitted csview.h into another ↵Tyge Løvset
file strings.h.
2022-01-06Merge branch 'master' of github.com:tylov/STC into masterTyge Løvset
2022-01-06Modified c_autovar() macro to accept var of incomplete pointer type.Tyge Løvset
2022-01-06Update cbox_api.mdTyge Løvset
2022-01-06Update cbox_api.mdTyge Løvset
2022-01-06Update cbox_api.mdTyge Løvset
2022-01-05Added docs on checkauto util program. Renamed (mainly internal) c_rawstr ↵Tyge Løvset
type to crawstr.
2021-12-31Added alias functions push_back and pop_back to cstack + docs update.Tyge Løvset
2021-12-30Renamed c_default_clone to c_default_from (mostly used internally).Tyge Løvset
2021-12-30Update docs and impl. of cpque.hTyge Løvset
2021-12-29Fixed minors in map docs.Tyge Løvset
2021-12-29Some more docs.Tyge Løvset
2021-12-29Fixed and simplified csview tokensizer call.Tyge Løvset
2021-12-28Some renaming of new features in previous commit.Tyge Løvset
2021-12-22Forgot csptr_api.md rename.Tyge Løvset
2021-12-22Renamed csptr to carc. i_key/val_ref renamed to i_key/val_sptr. Change ↵Tyge Løvset
inspired by Rust Arc/Rc. cbox name is taken from Rust Box type.
2021-12-22Renamed '_rawvalue\b' to '_raw'Tyge Løvset
2021-12-22Changed the c_apply() and c_apply_pair() to one new c_apply() API. Added ↵Tyge Løvset
c_pair(v) for convenience.
2021-12-20Update cmap_api.mdTyge Løvset
2021-12-20Some small addition to constness in API. Updated docs.Tyge Løvset
2021-12-19Global rename of `_equ\b` => `_eq`. In practice `i_equ` must renamed to ↵Tyge Løvset
`i_eq` in user code if used.
2021-12-19More docs, small example updates.Tyge Løvset
2021-12-19First commit for Version 3 of STC. Main changes are consistent rename of ↵Tyge Løvset
'_del' to '_drop' and '_compare' to '_cmp'. Also i_key_ref (earlier i_key_sptr) and i_val_ref replaced by more general i_key_bind/i_val_bind.
2021-12-15Some improvements in cvec and cpque.Tyge Løvset
2021-12-14Fixed docs build issue.Tyge Løvset
2021-12-14Some more docs updates and new csptr examples.Tyge Løvset
2021-12-14Fixed silly bug in cpque_X_pop(). Thanks to matthieugras. Added ↵Tyge Løvset
cpque_X_shrink_to_fit(). Fixed memory leak in example box2.c
2021-12-14Added and renamed some examples.Tyge Løvset
2021-12-14cstr_printf() now returns int like printf(). Minor updates in sharedptr.c ↵Tyge Løvset
example.
2021-12-13Renamed constructor *cstr_lit()* to `cstr_new(lit)`.Tyge Løvset
Renamed *cstr_assign_fmt()* to `cstr_printf()`. Renamed cbits_from_str() to cbits_from().
2021-12-12Update csptr_api.mdTyge Løvset
2021-12-12Try fix ptr_elems.c. Some more docs for cbox. Temporarily comment out ↵Tyge Løvset
benchmark Action
2021-12-12Merge branch 'master' of github.com:tylov/STC into masterTyge Løvset
2021-12-12- Added **cbox** type: container of one element: similar to std::unique_ptr ↵Tyge Løvset
/ Rust Box. - Replaced example for **csptr** in docs. - Added [**c_forpair**](docs/ccommon_api.md) macro: for-loop with "structural binding" as in c++. - Deprecated *csptr_X_make()*. Renamed to *csptr_X_new()*. Corresponding **cbox** method is *cbox_X_new()*. - Deprecated *c_default_fromraw(raw)*. Renamed to *c_default_clone(raw)*. - Deprecated `i_key_csptr` / `i_val_csptr`. Use `i_key_ref` / `i_val_ref` when specifying containers with **csptr** or **cbox** elements. - Deprecated `i_cnt`. Use `i_type` instead to define the full container type name. - Bugfixes and docs updates.
2021-12-02Update cmap_api.mdTyge Løvset
2021-12-02Breaking changes for i_fwd and i_cmp_none:Tyge Løvset
- Removed: i_cmp_none and i_fwd (replaced by c_no_compare and c_is_fwd args to i_opt). - Added compile-time disabling of clonable and comparable container elements, controlled by i_opt (c_no_clone | c_no_compare) - Added i_opt: can define multiple compile-time options: c_no_compare, c_no_clone, c_no_atomic, c_is_fwd: may be combined with | separator. - Except for csptr, when i_del / i_valdel / i_keydel is defined, also i_from / i_keyfrom / i_valfrom must be defined or i_opt c_no_clone. - For struct elements, either i_cmp must be defined (as before), or define i_opt c_no_compare for non-associative containers.
2021-11-23Renamed c_default_hash32/64 to c_hash32/64. Old are deprecated (still ↵Tyge Løvset
available).