summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2023-08-30Smaller updates.Tyge Løvset
2023-08-17Renamed "internal" csview member .str => .buf, as it is not null terminated ↵Tyge Lovset
like crawstr .str member.
2023-08-15Fixed c_i2u() didn't trigger -Wsign-conversion warning.tylov
2023-08-14Reverted csubstr => csview. Sorry about that!Tyge Løvset
Added crawstr to become the null-terminated string view.
2023-08-13API CHANGES:tylov
Changed csview: becomes a null-terminated string view. Added csubview: a null-terminated string view/span, like previous csview. Note that csview works like a csubview, so not much compability issues should arise. However, some functions have changed from _sv suffix to _ss.
2023-08-13Removed csview_null - use csview_init().tylov
2023-08-06Improved Installation section in README.mdtylov
2023-07-23Updated singleheader.py/singleupdate.sh scripts to update stcsingle repository.tylov
2023-07-10Renamed input enum flags for cregex functions.tylov
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-07Updated and renamed c11/print.h to c11/fmt.h. Added fmt_tm() to print ↵Tyge Løvset
time/date from a struct tm.
2023-05-21NB! 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-20Fixed two minor things.Tyge Lovset
2023-05-20Bug fix (NB!): cregex_captures() now returns num of cap. group *excluding* ↵Tyge Lovset
the full match group (0).
2023-05-18Huge update: cqueue and cdeq completely rewritten. cvec and cdeq API ↵Tyge Lovset
harmonized. Docs update/improved.
2023-05-01Remove warnings when using -Wextra.Tyge Løvset
2023-04-14tuning of hash function. Adjusted benchmark balance.Tyge Løvset
2023-04-09Added "Run this code" in Compiler Explorer a few places. New example in ↵Tyge Lovset
csmap_api.md
2023-03-27Some missing files.Tyge Løvset
2023-03-26Remove more c_with, c_autoTyge Løvset
2023-03-12Safer state machine in coroutine.h (internal).Tyge Løvset
Removed c_forwhile() macro. Redundant, use c_forfilter(). Removed find and eq in cspan (use general c_find_if() instead for search).
2023-02-15Cleaned up in size-types. API always uses intptr_t as default for all ↵Tyge Løvset
containers.
2023-02-08Removed uppercases in checkauto.lTyge Løvset
2023-02-08Changed 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-06Fixed error in cregex_test.c itself.Tyge Løvset
2023-02-05Try to fix cregex leak.Tyge Løvset
2023-02-05- Updated cspan.h to allow for compiling some functions as shared symbols.Tyge Løvset
- Fixed issue #45 warning -Wunused-parameter in clist.h - Fixed some issues with the singleheader.py generator.
2023-02-01Massive update from unsigned sizes and indices to signed.Tyge Lovset
2023-01-31Converted all containers but the maps and examples to signed sizes and indices.Tyge Løvset
2023-01-31Reverted c_MALLOC, c_CALLOC, c_REALLOC and c_FREE to lowercase.Tyge Løvset
2023-01-26Updated API for cregex.Tyge Løvset
2023-01-25Updates on cspan ++.Tyge Løvset
2023-01-24Added python single-header generator + fixed include mistake.Tyge Løvset
2023-01-12docs and utf8 updates.Tyge Løvset
2023-01-12Fixed Devanaga => Devanagari Hindi text name.Tyge Løvset
2023-01-11cregex/utf8: Added some language char classes.Tyge Lovset
2023-01-05Added clist_X_get_node(valptr) to complete the node API.Tyge Løvset
2023-01-04Removed the experimental c_AUTODROP macro.Tyge Lovset
2023-01-04Bump to 2023Tyge Løvset
2023-01-03Minor improvement to word boundaries \b \B.Tyge Løvset
2023-01-03Fix compilation error in utf8code.c due to predeclaring a static array with ↵Tyge Løvset
unspecified size.
2023-01-02Replaced c_STATIC_ASSERT() which works for C99 (also multiple on same line).Tyge Løvset
Some regex updates.
2023-01-02Finish regex updates.Tyge Løvset
2023-01-02Fixes prev. commit.Tyge Løvset
2023-01-02Added selected unicode character classes.Tyge Lovset
2022-12-31Internally renamed ccommon.h macros to uppercase. Lowercase macros are still ↵Tyge Løvset
supported via include/stc/priv/lowcase.h.
2022-12-29Restructuring of some headers into include/algo folder. Some API changes ↵Tyge Løvset
*_replace*() functions have been renamed, and a few minor API changes.