| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-06 | Added c_autodrop() macro, and removed c_autobuf() which wasn't that useful ↵ | Tyge Løvset | |
| (and was undocumented). | |||
| 2022-11-06 | Improved documentation of template parameters for all containers. | Tyge Løvset | |
| 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 | Made 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-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-31 | Anorter minor fix in clist_X_erase_range() | Tyge Løvset | |
| 2022-10-31 | Fixed bug in clist_X_erase_range(). | Tyge Løvset | |
| 2022-10-31 | Minor internal refactoring. | Tyge Løvset | |
| 2022-10-31 | Minor adjustment. | Tyge Løvset | |
| 2022-10-31 | Improved typesafe c_container_of() macro. | Tyge Løvset | |
| 2022-10-31 | Added clist_X_reverse() and node API functions ++. NB! needs a bit more testing. | Tyge Løvset | |
| 2022-10-29 | Small adjustments in template.h | Tyge Løvset | |
| 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-28 | Changed internal rep. for cstr to support 22 bytes small string instead of ↵ | Tyge Løvset | |
| 23, in order to have 0-initialized strings to be valid empty strings. | |||
| 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 | Fix in cbox/carc. | Tyge Løvset | |
| 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-24 | Generalized i_key_class and i_key_arcbox scheme. | Tyge Løvset | |
| 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-18 | Internal renamings only. | Tyge Løvset | |
| 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-14 | Update sso_bench.cpp benchmark, and some internal improvements. | Tyge Løvset | |
| 2022-10-12 | Minor change in cbits print to str. | Tyge Løvset | |
| 2022-10-07 | Merge branch 'master' of github.com:tylov/STC | Tyge Løvset | |
| 2022-10-07 | Fixed a bug in csmap.h regarding #ifndef _i_emplace. | Tyge Løvset | |
| Updated a few external maps for benchmarks. | |||
| 2022-10-07 | Rename c_find_in() to overload c_find_if(). | Tyge Lovset | |
| 2022-10-05 | Internals. | Tyge Løvset | |
| 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-28 | Changed c_RANGE() to c_range(). Returns an lvalue object, which is accepted ↵ | Tyge Løvset | |
| by c_forfilter(). | |||
| 2022-09-28 | Added a convenience macro: c_RANGE(), to mainly be used with c_forfilter(). | Tyge Løvset | |
| 2022-09-28 | Fixed bug in crange. Could only be iterated once. | Tyge Løvset | |
| 2022-09-27 | Missing paranthesis in c_new(). | Tyge Løvset | |
