summaryrefslogtreecommitdiffhomepage
path: root/include
AgeCommit message (Collapse)Author
2023-07-27Added docs for "pull" functions.tylov
2023-07-26Added cmap_emplace_key() / csmap_emplace_key()tylov
More docs.
2023-07-24Updated and fixed benchmarks and performance graphs.tylov
2023-07-24Improved an issue with cspan.tylov
2023-07-23- algo/sort.h: Use plural form of i_key (or i_val) to define default name ↵tylov
for sort, like: <i_key>s_sort_n(data, n). - Updated some examples.
2023-07-23Internal: Reorganized cqueue and cdeq: spliced out header and impl in ↵tylov
cqueue.h to priv/cqueue_hdr.h and priv/cqueue_imp.h.
2023-07-21Renamed crange_make(...) => crange_init(...), deprecated crange_make().tylov
2023-07-21Removed c_foreach_rv() - only worked for cvec, so not general.tylov
2023-07-21NB! Changed some coroutine API for consistency/simplicity: Added full task ↵tylov
support.
2023-07-21Renamed badly abbreviated names in crand.h.tylov
Moved coroutine.h from algo subfolder to stc. Updated coroutine.h and docs.
2023-07-20Added Task-object to coroutines and true stackless execution.tylov
2023-07-18Renamed i_native_cmp => i_cmp_nativetylov
Added c_all_of(), c_any_of(), c_none_of() to algo/filter.h
2023-07-16Moved _cspan_next2() to header section in cspan.h to allow optimizations.tylov
2023-07-15Improved warning, and other enhancements in ccommon.htylov
2023-07-15Reverted to cspan_submdX() without output span type as first argument. ↵tylov
Type/argument safety is still present.
2023-07-13Moved c_defer() macro from raii.h to ccommon.h. Some changes in cspan.tylov
2023-07-12Changed 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-12Fixed usage of `const i_key` in cvec API, should be `const _cx_value`. ↵tylov
Removed cvec_insert(), use cvec_insert_n().
2023-07-12template.h: i_valclone and i_valfrom are considered the same when only one ↵tylov
is defined and i_valraw is not defined (directly or via valclass/valboxed/val_str). Also applies to key. Some adjustments for benchmarking.
2023-07-11Fixed an issue in template.htylov
Reverted to cspan_md() and cspan_md_left() for column-major. Changed cspan_submdX(): add OutputSpanType as first parameter - aligns with cspan_slice() and adds type safety.
2023-07-11Internal updates and doc reorg.tylov
2023-07-10Renamed input enum flags for cregex functions.tylov
2023-07-10Reverted from crange_init() to crange_make() again. Added to changelog for v4.3tylov
2023-07-10- Fixed meta-programming bug in carc and cbox hash function def (regression).tylov
- Reverted to allow static linking of cstr and csview. Still defaults to shared linking + inlines.
2023-07-09Several minor fixes in cspan.h.tylov
2023-07-08Fixes from 32-bit raspberry pi testing.tylov
2023-07-08Fixed some internal renaming bugs in cspan.htylov
2023-07-08Added support for column-major md cspan.tylov
API change: the create function cspan_md(order, array, d1, d2, ...) has the new first argument order, which must be either 'C' or 'F' (C: row-major or Fortran: column-major). The representation of strides was changed.
2023-07-07Issue #62: Fixed wrong printf format specifiers. Changed cbits.h to use long ↵Tyge Løvset
long (guaranteed at least 64-bit) instead of int64_t for easier print. Second part of #62 is due to a clang compiler bug, can be avoided by using c_foreach instead of c_forpair.
2023-07-07Issue #60: fixed compiler compability.Tyge Løvset
2023-07-04Removed cco_switch; won't work without state.Tyge Løvset
2023-07-03Simplified extend.h a bit.Tyge Løvset
2023-07-02Update in coroutine API. cco_yield, cco_await, cco_await_on, cco_block_on ↵Tyge Løvset
has changed. cco_final: renamed => cco_cleanup: Reverted i_retain template param back to => i_more.
2023-06-29Usage change: comparison is no longer enabled when specifying i_val for ↵Tyge Lovset
cvec, cdeq and clist (like cstack and cqueue). Comparison functions are still required when specifying i_valclass. For fundamental/native types like integers, floats etc., define i_native_cmp along with i_val instead of i_less/i_cmp/i_eq.
2023-06-21Fix cbox carc default cmp and eq.Tyge Løvset
2023-06-21Update of cstr_append_uninit().Tyge Løvset
2023-06-21Fixed cco_switch: emulation of switch inside coroutines.Tyge Lovset
2023-06-21Minor fix.Tyge Lovset
2023-06-21Added cco_switch(x) {}, cco_case(val) {}, and cco_default {} to use inside ↵Tyge Lovset
coroutines.
2023-06-20Added some more to coroutine.hTyge Løvset
2023-06-20Renamed `i_more` => `i_retain` (avoids undef of template parameters on next ↵Tyge Løvset
STC container inclusion).
2023-06-20Internal only:Tyge Løvset
Renamed _cx_memb() macro to _cx_MEMB() Renamed _cx_self macro to _cx_Self
2023-06-20Minor internals.Tyge Løvset
2023-06-14Fixed a bug in cco_await_on(), and added _pull() function to random access ↵Tyge Løvset
containers (moves element out of container, ie no drop).
2023-06-13Added cco_closue(Ret, Closure) to define coroutine closure.Tyge Løvset
Added back cco_await_on(child) calls.
2023-06-11Added priv/linkage.h and renamed priv/template2.h => priv/template_undef.h.Tyge Løvset
Make all examples c++ compatible, except those using cspan.h Removed: crange_obj() Renamed: crange_make() => crange_init() Renamed: cspan_make() => cspan_init() Renamed: cstr_NULL => cstr_null Renamed: csview_NULL => csview_null
2023-06-11More internal structuringTyge Løvset
2023-06-09Rename i_extern template flag to i_import. i_extern still available, but ↵Tyge Løvset
deprecated.
2023-06-09Fixed issues with linking params i_implement, i_extern.Tyge Løvset
2023-06-08More small adjustments.Tyge Lovset