summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2023-01-28Generalized cspan_slice(), and improved usage/ergonomics.Tyge Lovset
2023-01-28Fix two minor blips.Tyge Lovset
2023-01-28Added flat iteration over a sliced cspan.Tyge Lovset
2023-01-27Added cspan_slice() function.Tyge Løvset
2023-01-27add cspan_test.cTyge Løvset
2023-01-27Removed branch in cvec_lower_bound().Tyge Løvset
2023-01-27(Reverted) c_COMPOUND() to c_LITERAL().Tyge Løvset
2023-01-27Added stride to cspan (md), prepared for cspan_slice() function.Tyge Løvset
2023-01-26update cregex_test.c. Rename using_... to use_...Tyge Lovset
2023-01-26Removed cregex args in examples which are now defaulted.Tyge Løvset
2023-01-26Updated API for cregex.Tyge Løvset
2023-01-25Updates on cspan ++.Tyge Løvset
2023-01-25Reverted cspan_subdim*() to cspan_at*(). Added cspan_flatten() constructor.Tyge Løvset
2023-01-24Added python single-header generator + fixed include mistake.Tyge Løvset
2023-01-24Small ctest enhancementsTyge Løvset
2023-01-23Changed c_OVERLOADMACRO() internally.Tyge Løvset
2023-01-23Renamed c_init() to c_make().Tyge Løvset
2023-01-22More renamings in ctest.Tyge Løvset
2023-01-22Added cspan_init() for static initializing and a minor fix. Added cregex ↵Tyge Løvset
replace tests.
2023-01-21ASSERT_WSUBSTR() => ASSERT_SUBWSTR()Tyge Løvset
2023-01-21Corrected the names of float/double ctest functions to match GoogleTestTyge Løvset
2023-01-21GoogleTest-ified ctest.h (more compatible). Added original ctest example ↵Tyge Løvset
file mytest.c.txt
2023-01-21Added modified ctest from https://github.com/bvdberg/ctest, and used on ↵Tyge Løvset
cregex_test.c. Will modify furter to make more like GoogleTest
2023-01-20Renamed cspan_at2 .. at4 to cspan_subdim2 .. Improved cspan docs.Tyge Løvset
2023-01-20Renamed macro function c_initialize() to c_init().Tyge Løvset
Minor internal improvements.
2023-01-19Finish last commit. Most safe function macros are now preferred lowercase, ↵Tyge Løvset
whereas flow control macros (c_FOREACH, ..) are preferred uppercase.
2023-01-19Add a from_n() method to containers (and put_n() to maps), to support new ↵Tyge Løvset
initialization.
2023-01-18Improved messages.Tyge Løvset
2023-01-18Improved error messages.Tyge Løvset
2023-01-18Added cspan (1D) example.Tyge Løvset
2023-01-18fix bug in cspan_begin().Tyge Løvset
2023-01-18Reverted to use self pointers instead of values, as cspan is not a pure ↵Tyge Løvset
view, but can modify its elements.
2023-01-18using_cspanN(S, T, R) now defines S, S1, S2.. (not S1)Tyge Løvset
2023-01-17Fixed fmt_println(): now works also for empty args after fmt, and fmt need ↵Tyge Løvset
not be string literal. Only for stdout.
2023-01-16Final cspan API changes: cspan_XtoY() => cspan_atX(). Docs updated.Tyge Løvset
2023-01-16cspan API change: Switched to passing spans as value instead of pointer ↵Tyge Løvset
(except resize).
2023-01-16Final cspan code update.Tyge Løvset
2023-01-16cspan docs fixes constness and formatting.Tyge Løvset
2023-01-16Final cspan API change: cspan_reshape() => cspan_resize().Tyge Løvset
2023-01-15Two more cspan docs fixes.Tyge Løvset
2023-01-15some cspan docs fixes.Tyge Løvset
2023-01-15some cspan docs fixes.Tyge Løvset
2023-01-15Large commit:Tyge Løvset
- Moved stc/algo/cspan.h to stc/cspan.h - its a data view type similar to csview. +Many updates. Added docs/cspan_api.md page! - Update c11/fmt.h to VER 2.0: NEW API, see test. NOTE: fmt.h is not officially part of STC, as it is C11, and STC is C99. - Renamed crange_LITERAL() back to crange_literal(), and cspan_LITERAL() to cspan_literal(). These returns a compound literal (lvalue) that can be passed to a c_FOR*-iterator.
2023-01-14Merged cmspan into cspan. cspan is now multi-dimensional array view (also ↵Tyge Løvset
1-dimensional).
2023-01-13Added algo/cmspan.h: multi-dim span, similar to c++23 mdspan. May get some ↵Tyge Løvset
API changes. Changed cspan.h, these may merge.
2023-01-12docs and utf8 updates.Tyge Løvset
2023-01-12Fixed Devanaga => Devanagari Hindi text name.Tyge Løvset
2023-01-12Made csort max recursion depth < log2(n).Tyge Løvset
2023-01-11cregex/utf8: Added some language char classes.Tyge Lovset
2023-01-11Minor adjustments.Tyge Løvset