summaryrefslogtreecommitdiffhomepage
path: root/include/stc
AgeCommit message (Collapse)Author
2023-01-10Changed value type name of csort algo.Tyge Løvset
2023-01-10Some updates on algo/csort.h and example.Tyge Løvset
2023-01-06Removed swap() function from all containers. Use safe c_SWAP() macro instead.Tyge Løvset
2023-01-05Added parenthesis around user macro argumentsTyge Løvset
2023-01-05Added clist_X_get_node(valptr) to complete the node API.Tyge Løvset
2023-01-04Renamed (half)-internal c_strlen_lit() to crawstr_len().Tyge Lovset
2023-01-04Removed the experimental c_AUTODROP macro.Tyge Lovset
2023-01-04Bump to 2023Tyge Løvset
2023-01-04Improved a few examples.Tyge Løvset
2023-01-03- Removed nomem_error member in csmap and cmap_X_result; test for res.ref == ↵Tyge Løvset
NULL instead! - Corrected handling of malloc/realloc failure in both csmap/cmap.
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-31Moved fmt.h to include/c11 folder. Not used by the lib or examples as lib is ↵Tyge Løvset
c99 only.
2022-12-30Fixed carc and cbox docs. Added cbox_X_assign() : transfer ownership between ↵Tyge Løvset
cboxes.
2022-12-30More restructuring of files and cleanup. Moved carr2.h and carr3.h to ↵Tyge Løvset
misc/include/old/ as it is not among classic containers. Removed stctest.h: Recommending https://github.com/bvdberg/ctest instead.
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.
2022-12-23Experimental uppercase macros.Tyge Løvset
2022-12-20Restructured folders: examples, benchmarks, tests into misc folder.Tyge Lovset
2022-12-20Minor docs changes.Tyge Løvset
2022-12-20Renamed (reverted) cstr_new(lit) => cstr_lit(lit). Old name is deprecated ↵Tyge Løvset
(supported for now).
2022-12-20Renamed c_sv() => c_SV() and reverted cstr_new() => cstr_lit(). Old names ↵Tyge Løvset
are deprecated (not removed).
2022-12-19Some "internal" macros in ccommon.h made all caps.Tyge Løvset
2022-12-19Renames:Tyge Løvset
cstr_null => cstr_NULL csview_null => csview_NULL cstr_npos => c_NPOS csview_npos => c_NPOS c_ARGsv(sv) => c_ARGSV(sv) c_init(x) => c_INIT(x)
2022-12-19Some cleanup in cregex.Tyge Løvset
2022-12-14cregex: renamed enums to all uppercase and prefixed CREG_Tyge Løvset
2022-12-08Changed/simplified cregex_replace*() API.Tyge Løvset
2022-12-05Minor corrections/changes.Tyge Løvset
2022-12-04Fixed BUG in cstr_tocase().Tyge Løvset
2022-12-04Support for linking dependant UTF8 and cstr functions and/or cregex.c by ↵Tyge Løvset
defining i_extern before including <stc/cstr.h> and <stc/cregex.h>. I.e. #define i_extern #define i_implement // define cstr functions as shared symbols (static if not defined). #include <stc/cregex.h> // include cstr.h, utf8code.c, cregex.c, unless already included.
2022-11-27Moved c_forfilter macros from ccommon.h to views.hTyge Løvset
2022-11-27Removed dependence to STC_CSTR_V1.Tyge Løvset
2022-11-27removed csmap_X_value_cmp(): doesn't work with i_cmp_functor, and not needed ↵Tyge Løvset
for now.
2022-11-23Fixed a bug in cdeq after internal data-rep change.Tyge Løvset
2022-11-22Fixes of -Wconversion warnings (not examples).Tyge Løvset
2022-11-21Changed internal representation of cdeq. All containers in STC can now be ↵Tyge Løvset
initialized with {NULL}.
2022-11-21Updated shootout_hashmap.cpp, and fixed some unsigned warnings.Tyge Løvset
2022-11-15More internal cleanup and fixes for cbox and carc.Tyge Løvset
2022-11-14Changed internal rep of cvec. May now be initialized with {NULL} as default.Tyge Løvset
2022-11-14Internal update.Tyge Løvset
2022-11-13Simplified csview API and usage. Fixed c++ compilation of csmap.Tyge Løvset
2022-11-13Reverted forward declaration from c_declare_X back to c_forward_X, and the ↵Tyge Løvset
flag "i_opt c_declared" to "i_opt c_is_forward". Sorry about this, but hopefully not a widely used feature for most yet.
2022-11-06Added c_autodrop() macro, and removed c_autobuf() which wasn't that useful ↵Tyge Løvset
(and was undocumented).
2022-11-06Improved documentation of template parameters for all containers.Tyge Løvset
2022-11-05Added possibility to have per container-instance customizable compare/lookup ↵Tyge Løvset
functions (cmp, less, eq, hash) for priority queue and associative containers. Is achived by embedding the container in a struct along with function pointer(s) which can be accessed through the c_container_of() macro. See the updated cpque.c example in the examples folder.
2022-11-05Fixed examples/make.sh. Also some -Wextra warnings in cstr removed.Tyge Løvset
2022-11-04csmap: bug fix from previous commit: forgot to init zero-node (1st node in ↵Tyge Løvset
array)