summaryrefslogtreecommitdiffhomepage
path: root/docs
AgeCommit message (Collapse)Author
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-14Replaced 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-14Update sso_bench.cpp benchmark, and some internal improvements.Tyge Løvset
2022-10-12Minor change in cbits print to str.Tyge Løvset
2022-10-07Rename 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-28A few docs changes.Tyge Løvset
2022-09-27Merge branch 'master' of github.com:tylov/STCTyge Løvset
2022-09-27Added index, count vars to c_erase_if() + improved docs.Tyge Løvset
2022-09-27Update ccommon_api.mdTyge Løvset
2022-09-27Renamed 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-26Deprecated c_pair() macro. Replaced with c_PAIR(), analogous to c_ARGsv() ↵Tyge Løvset
macro which are both unsafe regarding side effects on arg.
2022-09-26Added .count to c_forfilter() algorithm. Updated prime.c example, and added ↵Tyge Løvset
forloops.c example.
2022-09-26Added c_flt_takewhile() filter to c_forfilter() macro.Tyge Løvset
2022-09-26DEPRECATED: c_forrange(): replaced with c_forloop(). This uses 'long long' ↵Tyge Løvset
as iter type, i.e. "%lld" printf format. crange_from() renamed to crange_make(). More docs.
2022-09-25Added i.size to c_forlist() macro + example.Tyge Løvset
2022-09-25Fixed docs example in ccommon.h.Tyge Løvset
2022-09-25Change crange_value from intmax_t to 'long long' - enables usage of "%lld" ↵Tyge Løvset
format.
2022-09-25Fixed markdown error in docs.Tyge Løvset
2022-09-25Added: crange number generator type. (similar to c++ std::iota). Fixed ↵Tyge Løvset
c_forfilter again. Cleanups. Docs added.
2022-09-23Reverted c_forrange() macro with 3 or more args: swapped 1st and 2nd arg again.Tyge Løvset
2022-09-23Deprecated c_forarray, c_forarray_p macros - both replaced by c_forlist, and ↵Tyge Løvset
is consistent with other c_for* macros.
2022-09-22Updated _advance() iter methods. Some have signed offsets.Tyge Løvset
utf8_peek()/utf8_peek_off() added/changed.
2022-09-21Added cstr_push(), cstr_pop() - push/pop one utf8 char.Tyge Løvset
Renamed c_forpred() to c_forloop() - used by c_forfiltered().
2022-09-21Recent macro renames:Tyge Løvset
c_foreach_token() => c_fortoken() c_foreach_match() => c_formatch() Added: c_forfiltered() c_forpred()
2022-09-11Changed cregex API:Tyge Løvset
1) Renamed: cregex_find_pt() -> cregex_find_pattern() cregex_replace_pe() -> cregex_replace_pattern() cregex_replace_ex() -> cregex_replace_sv() 2) Removed: cregex_replace_pt() 3) Moved cregex* (or pattern) to be first parameter.
2022-09-06Update csview_api.mdTyge Løvset
2022-09-06Update csview_api.mdTyge Løvset
2022-09-06Updated docs for cregex and csview.Tyge Lovset
2022-09-05Fixed some cstr doc mistakes.Tyge Løvset
2022-09-05Added cstr_append_fmt().Tyge Løvset
2022-09-02Change: carc and cbox defaults to pointer comparison when none of i_cmp, ↵Tyge Løvset
i_less or i_eq is specified. This removes annoying requirement.
2022-09-02Removed cstack_X_push_back(), cstack_X_emplace_back(), cstack_X_pop_back().Tyge Løvset
Added a simple c_erase_if(). Removed deprecated c_apply() macro.
2022-08-18Added cstr_u8_erase(). Renamed cstr_erase_n() => cstr_erase().Tyge Lovset
2022-08-18Some API updates cstr, csview with utf8. Added front()/back() to cstack.Tyge Lovset
2022-08-15More iterator fixes. Make sure cvec/cdeq find_in() return end() iterator if ↵Tyge Løvset
item not found. Small cstr API change to u8_replace*.
2022-08-13Experimental: Renamed c_autovar => c_with, c_autoscope => c_scope, ↵Tyge Løvset
c_autodefer => c_defer. May or may not be reverted before V4.0 release.
2022-08-12cstr V4: Changed cstr functions to take pointers to self, not values. This ↵Tyge Løvset
is consistent with the rest of the containers. csview will still use values, as it is designed to be passed by value.
2022-08-12Renamed cdeq/cvec *_range() functions again (revert). Call alloc macros in ↵Tyge Løvset
cregex.
2022-08-12More misc changes carc/cbox, cdeq/cvec.Tyge Lovset
2022-08-11find_if, find_in changed.Tyge Lovset
2022-08-11Update cbox/carc docs.Tyge Lovset
2022-08-11Fixed issue with cbox / carc. Minor update some examples.Tyge Løvset
2022-08-11API Change cvec/cdeq: Return iter from all range operations instead of pointers.Tyge Lovset
2022-08-09Experiment with other type of iterator. Does not compile.Tyge Løvset
2022-08-09Small API change for V4.0:Tyge Løvset
Renamed cregex_find_p() => cregex_find_pt() // pattern Renamed cregex_replace_p() => cregex_replace_pt() // pattern
2022-08-08docs fix.Tyge Løvset
2022-08-08Fix docs syntax error.Tyge Løvset
2022-08-08Finalized toupper/tolower.Tyge Løvset
2022-08-08Changed *cstr_tolower*/*cstr_toupper* arg from `const cstr*` to `csview`.Tyge Løvset