summaryrefslogtreecommitdiffhomepage
path: root/include/stc
AgeCommit message (Collapse)Author
2022-09-26Another internal.Tyge Løvset
2022-09-26Internal refactor.Tyge Løvset
2022-09-26DEPRECATED: c_forrange(): replaced with c_forloop(). This uses 'long long' ↵Tyge Løvset
as iter type, i.e. "%lld" printf format. crange_from() renamed to crange_make(). More docs.
2022-09-25Added i.size to c_forlist() macro + example.Tyge Løvset
2022-09-25Change crange_value from intmax_t to 'long long' - enables usage of "%lld" ↵Tyge Løvset
format.
2022-09-25Fixed potential bug in c_forwhile/c_forfilter.Tyge Løvset
2022-09-25Added: crange number generator type. (similar to c++ std::iota). Fixed ↵Tyge Løvset
c_forfilter again. Cleanups. Docs added.
2022-09-24Fixes for csview and cstr sub-types (_value and _iter).Tyge Løvset
2022-09-24Removed deprecated c_forarray, c_autovar, c_autoscope, c_autodefer.Tyge Løvset
Finalized and improved loops.
2022-09-23- Finished c_forfilter() functionality.Tyge Løvset
- Added c_forloop(), similar to c_forrange(), but same access to elements as other c_for-loops, i.e. *i.ref (but also i.val works).
2022-09-23Reverted c_forrange() macro with 3 or more args: swapped 1st and 2nd arg again.Tyge Løvset
2022-09-23Added assert() checks in pop-functions.Tyge Løvset
2022-09-23Enabled iteration on cqueue (like with cstack).Tyge Løvset
2022-09-23Renamed c_forloop* macros to more descriptive c_forwhile*.Tyge Løvset
2022-09-23Deprecated c_forarray, c_forarray_p macros - both replaced by c_forlist, and ↵Tyge Løvset
is consistent with other c_for* macros.
2022-09-22mendTyge Løvset
2022-09-22Updated _advance() iter methods. Some have signed offsets.Tyge Løvset
utf8_peek()/utf8_peek_off() added/changed.
2022-09-22Added c_forfilter_s() and c_forloop_s() intermediate macros, supports start ↵Tyge Løvset
iter instead of *_begin().
2022-09-22Renamed c_forfiltered() back to c_forfilter(), and iter member .count => .takenTyge Løvset
2022-09-21Added cstr_push(), cstr_pop() - push/pop one utf8 char.Tyge Løvset
Renamed c_forpred() to c_forloop() - used by c_forfiltered().
2022-09-21Recent macro renames:Tyge Løvset
c_foreach_token() => c_fortoken() c_foreach_match() => c_formatch() Added: c_forfiltered() c_forpred()
2022-09-21Added c_forfilter() macro(s) - easy filtering of elements.Tyge Løvset
2022-09-20Minor API change for fixed size cstack and cbits only.Tyge Løvset
2022-09-16Maintenance update.Tyge Løvset
2022-09-11Changed cregex API:Tyge Løvset
1) Renamed: cregex_find_pt() -> cregex_find_pattern() cregex_replace_pe() -> cregex_replace_pattern() cregex_replace_ex() -> cregex_replace_sv() 2) Removed: cregex_replace_pt() 3) Moved cregex* (or pattern) to be first parameter.
2022-09-10Renamed template parameter i_cap => i_capacityTyge Løvset
2022-09-10Internal renamings to discourage use of private struct fields.Tyge Løvset
2022-09-07Internal.Tyge Lovset
2022-09-06Updated docs for cregex and csview.Tyge Lovset
2022-09-06- Added c_foreach_token(it, ...) macro in csview.h.Tyge Løvset
- Changed c_foreach_match(it, ...): to access matches, use it.match[j] - splitstr.c now shows usages of both the above.
2022-09-05Added cstr_append_fmt().Tyge Løvset
2022-09-02Change: carc and cbox defaults to pointer comparison when none of i_cmp, ↵Tyge Løvset
i_less or i_eq is specified. This removes annoying requirement.
2022-09-02Removed cstack_X_push_back(), cstack_X_emplace_back(), cstack_X_pop_back().Tyge Løvset
Added a simple c_erase_if(). Removed deprecated c_apply() macro.
2022-08-23Minor tuning in stctest.hTyge Lovset
2022-08-20Reduced precision threshold for floatsTyge Lovset
2022-08-19Some polishing in test framework only.Tyge Løvset
2022-08-19Some more fix to float comparison in stctest.Tyge Løvset
2022-08-19Minor update.Tyge Løvset
2022-08-19Fixed float/double comparisons.Tyge Løvset
2022-08-18Removed math.h dep.Tyge Løvset
2022-08-18Last updates on stctest.Tyge Løvset
2022-08-18Internal rename.Tyge Løvset
2022-08-18Renamed c11ut.h to stctest.h, and made a few changes.Tyge Løvset
2022-08-18Minor adjustments in c11ut.Tyge Løvset
2022-08-18Updated Test FrameworkTyge Løvset
2022-08-18Added simple Unit Testing framework: NB: requires C11.Tyge Løvset
2022-08-18Added cstr_u8_erase(). Renamed cstr_erase_n() => cstr_erase().Tyge Lovset
2022-08-18Merge pull request #35 from tylov/iter_exp_dont_useTyge Løvset
Some API updates cstr, csview with utf8. Added front()/back() to cstack.
2022-08-18Some API updates cstr, csview with utf8. Added front()/back() to cstack.Tyge Lovset
2022-08-17Fix another potensial iter-bug in cvec binary search.Tyge Løvset