| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-12-20 | Restructured folders: examples, benchmarks, tests into misc folder. | Tyge Lovset | |
| 2022-12-20 | Minor docs changes. | Tyge Løvset | |
| 2022-12-20 | Renamed (reverted) cstr_new(lit) => cstr_lit(lit). Old name is deprecated ↵ | Tyge Løvset | |
| (supported for now). | |||
| 2022-12-20 | Renamed c_sv() => c_SV() and reverted cstr_new() => cstr_lit(). Old names ↵ | Tyge Løvset | |
| are deprecated (not removed). | |||
| 2022-12-19 | Some "internal" macros in ccommon.h made all caps. | Tyge Løvset | |
| 2022-12-19 | Renames: | 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-14 | cregex: renamed enums to all uppercase and prefixed CREG_ | Tyge Løvset | |
| 2022-12-08 | Changed/simplified cregex_replace*() API. | Tyge Løvset | |
| 2022-12-05 | Minor corrections/changes. | Tyge Løvset | |
| 2022-12-04 | Support 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-27 | Moved c_forfilter macros from ccommon.h to views.h | Tyge Løvset | |
| 2022-11-27 | Removed dependence to STC_CSTR_V1. | Tyge Løvset | |
| 2022-11-21 | Updated shootout_hashmap.cpp, and fixed some unsigned warnings. | Tyge Løvset | |
| 2022-11-15 | More internal cleanup and fixes for cbox and carc. | Tyge Løvset | |
| 2022-11-13 | Simplified csview API and usage. Fixed c++ compilation of csmap. | Tyge Løvset | |
| 2022-11-13 | Reverted 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-10 | updated examples/make.sh | Tyge Lovset | |
| 2022-11-06 | Adding example of clist used as an intrusive list. | Tyge Løvset | |
| 2022-11-06 | Fixed recent minor potential bug in examples/bits.c code. | Tyge Løvset | |
| 2022-11-06 | Added c_autodrop() macro, and removed c_autobuf() which wasn't that useful ↵ | Tyge Løvset | |
| (and was undocumented). | |||
| 2022-11-06 | Updated examples/cpque.c to better explain the i_less_functor template ↵ | Tyge Løvset | |
| parameter. | |||
| 2022-11-05 | Added 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-05 | Fixed examples/make.sh. Also some -Wextra warnings in cstr removed. | Tyge Løvset | |
| 2022-11-04 | csmap: bug fix from previous commit: forgot to init zero-node (1st node in ↵ | Tyge Løvset | |
| array) | |||
| 2022-11-03 | Changed internal representation of csmap. | Tyge Løvset | |
| 2022-11-03 | Renamed forward_CONTAINER(...) => declare_CONTAINER(...), | Tyge Løvset | |
| and c_is_fwd => c_declared, for the i_opt option define. | |||
| 2022-11-02 | Change to c_forwhile: takes start iter, not container. | Tyge Løvset | |
| Other minor updates. | |||
| 2022-11-01 | Various updates. | Tyge Løvset | |
| 2022-11-01 | Modified the not-yet-documented stc/views.h | Tyge Løvset | |
| Renamed listview => clview clview_literal(), and crange_literal() creates compound literal objects. | |||
| 2022-10-28 | Renamed some semi-internal functions which appeared to be macros by their name. | Tyge Løvset | |
| 2022-10-28 | Renamed semi-internal macro (used for c++ compability) c_make => c_init. | Tyge Løvset | |
| 2022-10-27 | Merge branch 'master' of github.com:tylov/STC | Tyge Løvset | |
| 2022-10-27 | Some more tuning of template.h. | Tyge Løvset | |
| Need to specify i_rawclass in order to bind i_keyraw type to _cmp() and _hash() functions, otherwise just specify i_keyraw. | |||
| 2022-10-25 | More and hopefully final fixes of cbox/carc. | Tyge Løvset | |
| API change: _from = _make, _new => _from | |||
| 2022-10-24 | API CHANGE: Renamed input params for naming consisteny and usage: | Tyge Løvset | |
| i_key_class TYPE => i_keyclass TYPE i_val_class TYPE => i_valclass TYPE i_key_arcbox TYPE => i_keyboxed TYPE i_val_arcbox TYPE => i_valboxed TYPE i_key_bind, i_val_bind are removed. | |||
| 2022-10-21 | Swapped two last params in cregex_replace_pattern() and cregex_replace_sv() ↵ | Tyge Løvset | |
| to always have flags at last (sorry for inconveniences). Fixed a small bug in cregex_find_sv(), and added cre_default flag for readability. | |||
| 2022-10-21 | Renamed size_t formatting macro c_zu to c_ZU (for replacing %zu on mingw64). | Tyge Løvset | |
| 2022-10-21 | Fixed wrong formatting of 64bit values various places. | Tyge Løvset | |
| Finialized cbox/carc issues. | |||
| 2022-10-20 | Reverted some of the changes, but works now well. | Tyge Løvset | |
| 2022-10-20 | Fixed previous commit, and city.c example. | Tyge Løvset | |
| 2022-10-20 | Fixed some inconsistencies, and a minor bug in cmap. | Tyge Løvset | |
| 2022-10-20 | Switch from #define i_val_bind to i_val_class and i_key_class. | Tyge Løvset | |
| i_val_bind/i_key_bind is deprecated but available for now. | |||
| 2022-10-19 | Reverted back to c_forrrange from c_forloop. Still available but deprecated. | Tyge Løvset | |
| 2022-10-19 | - Removed deprecated carc_make and cbox_make (replaced by carc_from, cbox_from) | Tyge Løvset | |
| - Some improvements to template.h - Many smaller improvements to examples and docs. | |||
| 2022-10-14 | Replaced PRIuMAX with new c_zu macro in examples. "%zu" is not supported by ↵ | Tyge Løvset | |
| mingw64 and PRIuMAX is not a replacement for "zu". | |||
| 2022-10-07 | Rename c_find_in() to overload c_find_if(). | Tyge Lovset | |
| 2022-10-04 | - Removed deprecated c_forrange() (replaced by c_forloop + crange type) | Tyge Løvset | |
| - Removed csview_new(literal) macro. Use c_sv(literal) instead. - Added stc/views.h: moved crange from ccommon.h and added templated type c_listview. Instantiate by: using_listview(ViewName, ValueType) after #include, does not use #define i_val .... See examples in views.h. | |||
| 2022-09-27 | Missing paranthesis in c_new(). | Tyge Løvset | |
| 2022-09-27 | Renamed c_flt_drop() and c_flt_dropwhile() | Tyge Løvset | |
| to c_flt_skip() and c_flt_skipwhile() This lines up with Rust namings, and does not conflict with the use of drop as destructor. | |||
| 2022-09-26 | Deprecated c_pair() macro. Replaced with c_PAIR(), analogous to c_ARGsv() ↵ | Tyge Løvset | |
| macro which are both unsafe regarding side effects on arg. | |||
