summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2022-12-16Fixed another cregex regression and simplified.Tyge Løvset
2022-12-16Fixed regression in cregex handing of escaped \t, \n, etc.Tyge Løvset
2022-12-16Rewrote cregex _nextc() to use for-loop instead of goto.Tyge Løvset
2022-12-15Minor change.Tyge Løvset
2022-12-15More refactoring of cregex _nextc() and _lex().Tyge Løvset
2022-12-15More cregex refactoring, no functional change.Tyge Løvset
2022-12-14cregex optimizations.Tyge Løvset
2022-12-14cregex: renamed enums to all uppercase and prefixed CREG_Tyge Løvset
2022-12-11Merge branch 'master' of github.com:tylov/STCTyge Løvset
2022-12-11FIXED broken cregex caseless matching. The fixed code has also better ↵Tyge Løvset
performance.
2022-12-08Changed/simplified cregex_replace*() API.Tyge Løvset
2022-12-05Minor corrections/changes.Tyge Løvset
2022-12-04Merge branch 'master' of github.com:tylov/STCTyge 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-29Fixed bug in utf8 case convertion.Tyge Lovset
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-20some changes to hashmap benchmarking again.Tyge Løvset
2022-11-20Added benchmark comparison with boost::unordered_flat_map in ↵Tyge Løvset
shootout_hashmaps.cpp. Enabled with -DHAVE_BOOST compiler flag.
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-13Updated docs according to last commit.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-10updated examples/make.shTyge Lovset
2022-11-06Adding example of clist used as an intrusive list.Tyge Løvset
2022-11-06Fixed recent minor potential bug in examples/bits.c code.Tyge Løvset
2022-11-06Added c_autodrop() macro, and removed c_autobuf() which wasn't that useful ↵Tyge Løvset
(and was undocumented).
2022-11-06Updated examples/cpque.c to better explain the i_less_functor template ↵Tyge Løvset
parameter.
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)
2022-11-03Changed internal representation of csmap.Tyge Løvset
2022-11-03Made cmap i_max_load_factor a compile time template parameter instead of ↵Tyge Løvset
runtime. Enables cmap to be NULL initialized. Currently only cvec/cdeq and csmap cannot be NULL initialized, but eventually they will.
2022-11-03Renamed forward_CONTAINER(...) => declare_CONTAINER(...),Tyge Løvset
and c_is_fwd => c_declared, for the i_opt option define.
2022-11-02Change to c_forwhile: takes start iter, not container.Tyge Løvset
Other minor updates.
2022-11-01Various updates.Tyge Løvset
2022-11-01Modified the not-yet-documented stc/views.hTyge Løvset
Renamed listview => clview clview_literal(), and crange_literal() creates compound literal objects.
2022-10-31Anorter minor fix in clist_X_erase_range()Tyge Løvset
2022-10-31Fixed bug in clist_X_erase_range().Tyge Løvset
2022-10-31Minor internal refactoring.Tyge Løvset
2022-10-31Minor adjustment.Tyge Løvset