| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-08-10 | Update template.h - also renamed i_cmp_native => i_use_cmp | Tyge Løvset | |
| 2023-07-27 | Added docs for "pull" functions. | tylov | |
| 2023-07-18 | Renamed i_native_cmp => i_cmp_native | tylov | |
| Added c_all_of(), c_any_of(), c_none_of() to algo/filter.h | |||
| 2023-07-15 | Improved warning, and other enhancements in ccommon.h | tylov | |
| 2023-07-12 | Changed docs and examples to use i_key* template parameters instead of ↵ | tylov | |
| i_val* for all non-maps. Renamed c_ASSERT() to c_assert() and added optional message parameter to c_static_assert(). | |||
| 2023-07-12 | Fixed usage of `const i_key` in cvec API, should be `const _cx_value`. ↵ | tylov | |
| Removed cvec_insert(), use cvec_insert_n(). | |||
| 2023-05-19 | Added container equality function to docs _eq(c1, c2). | Tyge Lovset | |
| 2023-05-18 | Huge update: cqueue and cdeq completely rewritten. cvec and cdeq API ↵ | Tyge Lovset | |
| harmonized. Docs update/improved. | |||
| 2023-02-08 | Changed to use lowercase flow-control macros in examples (uppercase will ↵ | Tyge Løvset | |
| still be supported). Improved many examples to use c_make() to init containers. | |||
| 2023-02-01 | Update docs formatting and README.md | Tyge Løvset | |
| 2023-02-01 | Massive update from unsigned sizes and indices to signed. | Tyge Lovset | |
| 2023-01-06 | Removed swap() function from all containers. Use safe c_SWAP() macro instead. | Tyge Løvset | |
| 2022-12-23 | Experimental uppercase macros. | Tyge Løvset | |
| 2022-11-06 | Improved documentation of template parameters for all containers. | Tyge Løvset | |
| 2022-09-25 | Added: crange number generator type. (similar to c++ std::iota). Fixed ↵ | Tyge Løvset | |
| c_forfilter again. Cleanups. Docs added. | |||
| 2022-09-23 | Deprecated c_forarray, c_forarray_p macros - both replaced by c_forlist, and ↵ | Tyge Løvset | |
| is consistent with other c_for* macros. | |||
| 2022-09-22 | Updated _advance() iter methods. Some have signed offsets. | Tyge Løvset | |
| utf8_peek()/utf8_peek_off() added/changed. | |||
| 2022-08-15 | More iterator fixes. Make sure cvec/cdeq find_in() return end() iterator if ↵ | Tyge Løvset | |
| item not found. Small cstr API change to u8_replace*. | |||
| 2022-08-12 | Renamed cdeq/cvec *_range() functions again (revert). Call alloc macros in ↵ | Tyge Løvset | |
| cregex. | |||
| 2022-08-12 | More misc changes carc/cbox, cdeq/cvec. | Tyge Lovset | |
| 2022-08-11 | API Change cvec/cdeq: Return iter from all range operations instead of pointers. | Tyge Lovset | |
| 2022-08-06 | c_apply() deprecated: replaced with c_forarray() macro. Updated and improved ↵ | Tyge Løvset | |
| README.md docs. | |||
| 2022-07-06 | Version 3.7. Make sure to check NEWS/Changes in README.md for a few ↵ | Tyge Løvset | |
| code-breaking API changes. | |||
| 2022-05-22 | Changed c_apply(v, ..) macro to make it more consistent with c_apply_arr(v, ↵ | Tyge Løvset | |
| ..) and c_foreach (i, ..): v changed to a pointer - not value. Note: also c_pair(v) is changed correspondingly, so usage with c_apply(v) is unchanged. | |||
| 2022-05-02 | More doc fixes on i_keyclone, i_keyfrom and i_valclone, i_valfrom | 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-22 | Readded 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-18 | Removed 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-15 | Updated 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-10 | Fixed 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. | |||
| 2021-12-22 | Renamed '_rawvalue\b' to '_raw' | Tyge Løvset | |
| 2021-12-22 | Changed the c_apply() and c_apply_pair() to one new c_apply() API. Added ↵ | Tyge Løvset | |
| c_pair(v) for convenience. | |||
| 2021-12-19 | First 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-11-21 | BREAKING CHANGE: Replaced c_new(T) with c_new(T, ...). This now is similar ↵ | Tyge Løvset | |
| to the c++ new operator. The previous c_new(T) is renamed to c_alloc(T), and c_new_n(T,n) => c_alloc_n(T,n). Old usage of c_new() will fail as it requires additional argument. Sorry for the inconvenience. | |||
| 2021-11-03 | Renamed cnt_X_getmut() to cnt_X_get_mut(). | Tyge Lovset | |
| 2021-11-03 | Update container_X_getmut() for mutable version. | Tyge Løvset | |
| 2021-11-03 | Changed container_X_get() and container_X_at() to return const value* (or ↵ | Tyge Løvset | |
| const mapped*). Added container_X_getmut() for mutable version. Updated docs. | |||
| 2021-10-29 | Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, ↵ | Tyge Løvset | |
| cdeq, cmap, csmap, cslist | |||
| 2021-10-26 | Added some examples and updated docs. Removed cvec_X_erase() and ↵ | Tyge Løvset | |
| cdeq_X_erase() - may be used wrong. Use cvec_X_erase_n() instead. Fixed type-bug in cpque.h (same was in cqueue.h). | |||
| 2021-10-06 | Some while to for changed. Return value for cstack_X_push/emplace. Docs updated. | Tyge Løvset | |
| 2021-10-05 | Changed recommended order of defining template parameters. | Tyge Løvset | |
| 2021-09-23 | Cleanup: Replaced c_emplace() macro with more general ↵ | Tyge Løvset | |
| c_apply()/c_apply_pair() macros, and removed c_var() macro. Removed CX_emplace_items() member functions in containers used by c_emplace(). | |||
| 2021-09-22 | Renamed Value => i_val in documentation. | Tyge Løvset | |
| 2021-09-21 | Added copy(self, other) function to all containers. Fixed some docs. | Tyge Løvset | |
| 2021-09-21 | Fixed input args documentation. Fixed carr2 and carr3 clone functions. | Tyge Løvset | |
| 2021-09-19 | Replaced the two csptr doc examples with a better one. Same as sharedptr.c ↵ | Tyge Løvset | |
| in examples. | |||
| 2021-09-17 | Updated docs. | Tyge Løvset | |
| Added i_key_csptr, i_val_csptr input macros for very easy usage of shared pointers in containers. | |||
| 2021-09-09 | Updated examples in docs. | Tyge Løvset | |
| 2021-08-29 | Replaced cstr_toraw (deprecated) with cstr_str used to convert from cstr to ↵ | Tyge Lovset | |
| const char*. | |||
