| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-07-15 | Reverted to cspan_submdX() without output span type as first argument. ↵ | tylov | |
| Type/argument safety is still present. | |||
| 2023-07-13 | Moved c_defer() macro from raii.h to ccommon.h. Some changes in cspan. | 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 | template.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-11 | Fixed an issue in template.h | tylov | |
| 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-11 | Internal updates and doc reorg. | tylov | |
| 2023-07-10 | Backport from dev43: Bugfixes on 4.2 from raspberry pi 32-bit testing. Fixes ↵ | tylov | |
| issue #61: too small int used in example. | |||
| 2023-07-10 | Renamed input enum flags for cregex functions. | tylov | |
| 2023-07-10 | Reverted from crange_init() to crange_make() again. Added to changelog for v4.3 | tylov | |
| 2023-07-08 | Fixes from 32-bit raspberry pi testing. | tylov | |
| 2023-07-08 | Added 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-07 | Backported fixes on issues #60 and #62 to STC 4.2. Note that cbits now uses ↵ | Tyge Løvset | |
| long long for indices and sizes in the API, which is easier to print with "%lld", and is at least 64 bits. | |||
| 2023-07-07 | Issue #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-07 | Issue #60: fixed compiler compability. | Tyge Løvset | |
| 2023-07-03 | Simplified extend.h a bit. | Tyge Løvset | |
| 2023-07-02 | Update 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-29 | better variable names in list example. | Tyge Lovset | |
| 2023-06-29 | Usage 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-21 | Added cco_switch(x) {}, cco_case(val) {}, and cco_default {} to use inside ↵ | Tyge Lovset | |
| coroutines. | |||
| 2023-06-20 | Added some more to coroutine.h | Tyge Løvset | |
| 2023-06-20 | Renamed `i_more` => `i_retain` (avoids undef of template parameters on next ↵ | Tyge Løvset | |
| STC container inclusion). | |||
| 2023-06-14 | Fixed 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-13 | Missed an update | Tyge Løvset | |
| 2023-06-13 | Added cco_closue(Ret, Closure) to define coroutine closure. | Tyge Løvset | |
| Added back cco_await_on(child) calls. | |||
| 2023-06-11 | Added 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-09 | Rename i_extern template flag to i_import. i_extern still available, but ↵ | Tyge Løvset | |
| deprecated. | |||
| 2023-06-09 | Fixed issues with linking params i_implement, i_extern. | Tyge Løvset | |
| 2023-06-08 | More small adjustments. | Tyge Lovset | |
| 2023-06-07 | cco: Minor internal cleanup + added cco_timer_elapsed(). | Tyge Løvset | |
| 2023-06-06 | Switched to double for times in cco_timer and cco_time, etc. | Tyge Løvset | |
| Reverted to just use Sleep on win32 - same effect. | |||
| 2023-06-05 | Updated timers and time functions to microseconds (from milli). | Tyge Løvset | |
| 2023-06-04 | Added dining_philosophers.c coroutine example. | Tyge Løvset | |
| Fixed cco_stop() when in state 0. Renamed cco_timer_with(msec) => cco_timer_from(msec) Renamed cco_sem_with(val) => cco_sem_from(val) | |||
| 2023-05-31 | Simplified coroutine API. Removed unneeded cco_await_coro() and ↵ | Tyge Løvset | |
| cco_yield_coro(). | |||
| 2023-05-29 | Update extern benchmark maps. | Tyge Løvset | |
| Removed i_expandby in cmap. Always expand by 2 i.e 2^n buckets.. | |||
| 2023-05-26 | Minor addition to coroutine API. | Tyge Løvset | |
| 2023-05-24 | More coro adjustments. | Tyge Løvset | |
| 2023-05-24 | coroutine.h: | Tyge Løvset | |
| - Renamed Liigo's coroutine macro cco(x) => cco_routine(x). - Removed cco_begin(x), cco_end() macros. Replaced by cco_routine(x). - Replaced csleep_ms() with csleep_us(), using select() which is portable. - Updated all coroutine examples. | |||
| 2023-05-24 | Merge pull request #57 from liigo/dev43 | Tyge Løvset | |
| add `cco` macro, block style coroutine definition | |||
| 2023-05-24 | Fixes for clang compiler. | Tyge Løvset | |
| 2023-05-23 | Updated docs to reflect changes in cstr linking shared. | Tyge Lovset | |
| 2023-05-21 | NB! Made cstr.h header-only by default. Now requires #define i_static, ↵ | Tyge Lovset | |
| i_implement or i_extern (includes utf8code.c) to implement non-inline functions (or link with libstc). | |||
| 2023-05-20 | Rename c_make() macro to c_init(). c_make still available, but deprecated. | Tyge Løvset | |
| 2023-05-19 | Added container equality function to docs _eq(c1, c2). | Tyge Lovset | |
| 2023-05-18 | Renamed template param i_con => i_base in stc/extend.h. Also the macro ↵ | Tyge Løvset | |
| c_getcon(self) => c_extend(self). | |||
| 2023-05-18 | Huge update: cqueue and cdeq completely rewritten. cvec and cdeq API ↵ | Tyge Lovset | |
| harmonized. Docs update/improved. | |||
| 2023-05-18 | add `cco` macro, block style coroutine definition, to replace cco_begin(co) ↵ | Liigo Zhuang | |
| && cco_end() | |||
| 2023-05-13 | File priv/raii.h no longer included by stc/ccommon.h, instead moved to ↵ | Tyge Løvset | |
| stc/algo/raii.h and included by stc/calgo.h | |||
| 2023-05-09 | Renaming. | Tyge Lovset | |
| 2023-05-09 | reverted cco_await_done => cco_await_at. | Tyge Lovset | |
| 2023-05-08 | coroutine cco_await_* and cco_yield_* changes. | Tyge Løvset | |
