summaryrefslogtreecommitdiffhomepage
path: root/include/stc
AgeCommit message (Collapse)Author
2021-09-08Updated cpque and cstack.Tyge Løvset
2021-09-07Added cstack and cpque (priority queue) + test.Tyge Løvset
2021-09-07Added cdeq.h + test. Unsure if the rest should be kept as oldstyle (using).Tyge Løvset
2021-09-07Minor: changed linkage of a few functions.Tyge Løvset
2021-09-07Added csmap.h and csset.h + test.Tyge Løvset
2021-09-07Fixed a few difficult bugs. including VC compability.Tyge Løvset
2021-09-07Minor formatting and header example change.Tyge Løvset
2021-09-07Switched to lowercase input define symbols, e.g. i_KEY => i_key, etc.Tyge Løvset
2021-09-06Removed some old memcpy not needed anymore.Tyge Løvset
2021-09-06cmap: put() and at() was accidentally deleted. Restored.Tyge Løvset
2021-09-06Added support for cmap and cset.Tyge Løvset
2021-09-06Added clist.h + list_test_new.c as working along with cvec.tylo
2021-09-06Forgot two: added here temporarily.Tyge Løvset
2021-09-06Some more additions.Tyge Løvset
2021-09-06More refinementsTyge Løvset
2021-09-05New usage style. only cvec is functional. see vec_test_new.cTyge Løvset
2021-08-31Maintenance cleanup.Tyge Løvset
2021-08-29Replaced cstr_toraw (deprecated) with cstr_str used to convert from cstr to ↵Tyge Lovset
const char*.
2021-08-28Breaking change cstr and csview renames in order to improve consistency:Tyge Løvset
cstr_equals() => cstr_equalto() cstr_compare_ref() => cstr_compare() cstr_equals_ref() => cstr_equals() cstr_hash_ref() => cstr_hash()
2021-08-25BREAKING CHANGE: c_forvar_initdel() macro renamed to c_forauto().tylo
Updated doc and improved csmap_erase.c example.
2021-08-19Maintenance update. Added stc32_rand() to crandom.h, doc fixes and cqueue.h ↵Tyge Løvset
updated to have its own size counter.
2021-07-17More refactoring. Added others/sstr.h - future short string optimized (SSO) ↵Tyge Løvset
string.
2021-07-17Some refactoring.Tyge Lovset
2021-07-05Some small updates.Tyge Løvset
2021-06-19Changed stc64. Similar to sfc64, but a different output functions and 320 ↵Tyge Løvset
bit state (256 mutable). This is equally fast as the previous, but likely better quality because the 16-bit version is good, opposed to previous which failed PractRand.
2021-06-18Simplified and removed unneeded stuff from csview.hTyge Løvset
2021-06-16A fix in cstr_icontains() and some minor improvementsTyge Løvset
2021-06-15Fix bug in predefined using_csmap_strv() macro.Tyge Løvset
2021-06-15Fixed c_strnstrn() and cstr_find_n() bugs. when find string is empty.Tyge Løvset
Added cstr_from_replace_all() and cstr_replace_all_v() to do replace-all from csview inputs.
2021-06-11Improve naming of c_sv() and c_lit() in csview.h: Rename c_sv(cstr) => ↵Tyge Løvset
cstr_sv(cstr), and c_lit(string literal) => c_sv(string literal). Hopefully not too much used yet, as they are fairly new.
2021-06-11Added missing csptr_X_init() and csptr_X_use_count().Tyge Løvset
2021-06-10Renamed cstr/csview begin_with() to starts_with() : following c++ std namings.Tyge Løvset
2021-06-09Revert to csptr_X_reset_with() to keep API, also better name.Tyge Løvset
2021-06-09Update to csptr docs.Tyge Løvset
2021-06-09Updated API and docs.Tyge Løvset
2021-06-09Updated header example.Tyge Løvset
2021-06-08Merge branch 'master' of https://github.com/tylo-work/C99Containers into masterTyge Løvset
2021-06-08Cleanup on atomics ops.Tyge Løvset
2021-06-07Improved csptr: cstr_make() as fast as std::shared_ptr::make_shared (single ↵Tyge Løvset
malloc). Added assign(), copy().
2021-06-06Added support for forward_cmap() and forward_cset(). Added support for ↵Tyge Løvset
forward_csmap() and forward_csset(). Not yet documented.
2021-06-05Renamed predefined using_cmap_sv*() using_csmap_sv*() macros to ↵Tyge Løvset
using_cmap_strv*(), ...
2021-06-03Renamed c_forinitdel() macro to c_forvar_initdel().Tyge Løvset
2021-06-02Removed key constness in cmap/csmap - more annoyance than protection. Made ↵Tyge Løvset
cdeq and clist forwardable. Note: forwardable parameter is currently last (c_true/c_false). May be moved ahead to after _del parameter, maybe..
2021-06-02- Backported csmap_v1.h (with malloced nodes) to match csmap.Tyge Løvset
- Updated csmap/cmap to separate out types in order to later have incomplete values support. - Added incomplete value support to csptr. I question the need because recursive structures should not use shared_ptr. - Added c_forinitdel() macro, support up to 3 variables.
2021-06-01Merge branch 'master' of https://github.com/tylo-work/C99Containers into masterTyge Løvset
2021-06-011. Added c_forscope() macro. Similar to c_forvar() and c_fordefer().Tyge Løvset
2. Added *experimental* forward declare for cvec: No API changes: typedef struct person Person; // forward declare cvec_prs forward_cvec(prs, Person); ... // complete definition: specify c_false as very last parameter. using_cvec(prs, Person, c_no_compare, person_del, person_clone, c_default_toraw, Person, c_false);
2021-05-28Changed the csview front() and back() API. Added csview_npos constant.Tyge Løvset
2021-05-27csview_substr() and csview_slice() should be 100% robust now.Tyge Løvset
2021-05-27Minor: removed redundant test.Tyge Løvset
2021-05-27Fix: Allow csview_substr() and csview_slice() to take larger negative ↵Tyge Løvset
position than size of view.