summaryrefslogtreecommitdiffhomepage
path: root/docs
AgeCommit message (Collapse)Author
2022-05-22Rewrote cbits to make it dual: fixed-sized or dynamically sized by adding ↵Tyge Løvset
optional i_len template parameter. Renamed cbits_set_values() to cbits_set_pattern(). Added example bits2.c
2022-05-20Removed cstr_from_replace_all_sv(), Added cstr_replace_first(). Renamed ↵Tyge Løvset
argument names.
2022-05-19Some extra test on template params. Update shape.c example.Tyge Løvset
2022-05-16Changed contructor names in carr2/carr3 to be more consistent with other ↵Tyge Løvset
containers.
2022-05-13Changed csview c_PRIsv macro. Now must be prefixed with "%", to match with ↵Tyge Løvset
PRIxYYY macros from inttypes.h. E.g. printf("%40" c_PRIsv "\n", c_ARGsv(sv)); to specify 40 character right aligned output of sv. Check your usage.
2022-05-13Added cstr_assign_s(), and changed return type to char* for cstr_assign*() ↵Tyge Løvset
and cstr_append*(), i.e. the pointer to the (possible new) string buffer.
2022-05-12i_keyfrom/i_valfrom no longer used with i_key_bind/i_val_bind. Is considered ↵Tyge Løvset
optional for enabling emplace.
2022-05-10Renamed (newish) functions expand_uninitialized to expand_uninit. + some ↵Tyge Lovset
minor changes.
2022-05-06Changed find_if() again. Now 3 iterator variants only.Tyge Løvset
2022-05-06Made cstr_buffer() func. public, and docs for cstr_sv() - convert to csview.Tyge Lovset
2022-05-05Swapped two arguments in c_find_if/c_find_it. Changed c_container_of().Tyge Løvset
2022-05-04Small change in find_if/it macro + doc of index variable.Tyge Løvset
2022-05-04Added c_find_if, c_find_it macros: linear search in containers. Removed ↵Tyge Løvset
c_apply_cnt macro.
2022-05-02More doc fixes on i_keyclone, i_keyfrom and i_valclone, i_valfromTyge Løvset
2022-05-02A few more docs bugs fixed.Tyge Løvset
2022-05-01- Array expansions (insert, reserve, clone) are now checked for malloc ↵Tyge Lovset
nomem, and result can be checked by user in cvec, cdeq, cmap, csmap (cvec/cdeq insert functions now returns pointer, not iter). - Refactoring.
2022-04-29cmap/csmap cleanup incl. docs.Tyge Løvset
2022-04-28Update carc_api.mdTyge Løvset
2022-04-27Docs only update for carc/cbox.Tyge Løvset
2022-04-27Final fixes to carc and cbox; Reverted constructor name to make; (similarity ↵Tyge Løvset
to make_shared/make_unique in c++).
2022-04-27Added cstr_expand_uninitialized().Tyge Løvset
2022-04-27Finally FIXED cloning/to/from scheme to work properly. When using ↵Tyge Løvset
i_key_bind/i_val_bind, a .._clone() function *must* always be defined. Functions .._from and .._toraw is only required when i_keyraw/i_valraw type is defined.
2022-04-26Added cvec_X_expand_uninitialized(). Renamed cvec_X_bsearch() to ↵Tyge Lovset
cvec_X_binary_search().
2022-04-25Removed size argument to `i_hash` template parameter and `c_default_hash`. ↵Tyge Løvset
This was a "design error", and is not worth keeping for backward compability. Please update your code where you use i_hash template parameter (simply remove second argument).
2022-04-25Final cstr_str() docs update..Tyge Løvset
2022-04-24Updated docs to use cstr_str(&s) instead of s.strTyge Løvset
2022-04-24Created VERSION 3.5. See News section in docs for changes.Tyge Løvset
2022-04-23Integrated (and removed) c_hash32 and c_hash64 into c_default_hash, which is ↵Tyge Løvset
improved. Added i_key_ssv and i_val_ssv (cstr with csview as raw-type).
2022-04-22Changed API for c*map_X_push() to take a entry pair (c*map_X_value) argument ↵Tyge Løvset
instead of key + val.
2022-04-22Readded push()/emplace() to all containers missing them. Made _hash function ↵Tyge Løvset
required for i_key_bind, _eq is derived from _cmp.
2022-04-20Final carc / cbox cleanup.Tyge Løvset
2022-04-20Some cleanup after carc / cbox updates.Tyge Løvset
2022-04-20Fix cbox.h docs example.Tyge Lovset
2022-04-19Renamed cbox_new/carc_new to cbox_make/carc_make. Disabled container emplace ↵Tyge Lovset
on arcbox elements.
2022-04-18crandom.h: Renamed *_init(..) functions to *_new(..). Old names are kept but ↵Tyge Løvset
deprecated.
2022-04-18Renamed stc64_random() => crandom(), stc64_srandom(seed) => csrandom(seed). ↵Tyge Løvset
Kept old names for backward comp.
2022-04-18Renamed newly added map function put_r() to put_raw() - alias for ↵Tyge Lovset
emplace_or_assign() for symetri with insert_or_assign()/put(). Experimental, may be removed.
2022-04-18Removed i_drop and i_from template specifiers to reduce redundancies and add ↵Tyge Lovset
clarity (error given if used): use i_valdrop/i_valfrom and i_keydrop/i_keyfrom instead. Added missing at_mut() function to cdeq.
2022-04-17alt/cstr.h (sso string): added cstr_replace_all(). Header examples updated ↵Tyge Løvset
to use cstr_str(&s) instead of s.str. Some docs updates.
2022-04-16Added at_mut() to some containers. Added put_r() to cmap, csmap as alias for ↵Tyge Løvset
emplace_or_assign().
2022-04-15Internal.Tyge Løvset
2022-04-15Updated README.md docs on template args! Reverted to put() as alias for ↵Tyge Løvset
insert_or_assign() for maps. Reverted/added push_back()/emplace_back()/pop_back() to cstack.
2022-04-10Fixed regression bug: cqueue_pop() did pop_back(), fixed to do pop_front().Tyge Løvset
Removed pop() functions in clist and cdeq as they are no standard. push() will push_back() for both.
2022-04-09- Switched from .._put() to .._push() as the "generic" method to add ↵Tyge Løvset
element to any container. - Changed clist_X_insert()/emplace() to clist_X_insert_at()/emplace_at() to make it consistent with cvec/cdeq. - Updated documentation.
2022-04-09Universally added a put() function to all containers.Tyge Løvset
2022-04-08Fix of previous commit (bug in bsearch).Tyge Løvset
2022-04-08Added cvec_X_lower_bound() function for sorted array search.Tyge Løvset
2022-03-26Yet another missing line.Tyge Løvset
2022-03-26Final fix of csview docs.Tyge Løvset
2022-03-26Updated csview API docs.Tyge Løvset