summaryrefslogtreecommitdiffhomepage
path: root/examples
AgeCommit message (Expand)Author
2022-09-26Added .count to c_forfilter() algorithm. Updated prime.c example, and added f...Tyge Løvset
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' as...Tyge Løvset
2022-09-25Added: crange number generator type. (similar to c++ std::iota). Fixed c_forf...Tyge Løvset
2022-09-24Removed deprecated c_forarray, c_autovar, c_autoscope, c_autodefer.Tyge Løvset
2022-09-23- Finished c_forfilter() functionality.Tyge Løvset
2022-09-23Reverted c_forrange() macro with 3 or more args: swapped 1st and 2nd arg again.Tyge Løvset
2022-09-23Renamed c_forloop* macros to more descriptive c_forwhile*.Tyge Løvset
2022-09-23Deprecated c_forarray, c_forarray_p macros - both replaced by c_forlist, and ...Tyge Løvset
2022-09-22Renamed .idx => .index in c_forfilter() macroTyge Løvset
2022-09-22Updated _advance() iter methods. Some have signed offsets.Tyge Løvset
2022-09-22Renamed c_forfiltered() back to c_forfilter(), and iter member .count => .takenTyge Løvset
2022-09-21Added cstr_push(), cstr_pop() - push/pop one utf8 char.Tyge Løvset
2022-09-21Recent macro renames:Tyge Løvset
2022-09-16Maintenance update.Tyge Løvset
2022-09-11Changed cregex API:Tyge Løvset
2022-09-10Renamed template parameter i_cap => i_capacityTyge Løvset
2022-09-10Internal renamings to discourage use of private struct fields.Tyge Løvset
2022-09-06- Added c_foreach_token(it, ...) macro in csview.h.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, i_le...Tyge Løvset
2022-09-02Removed cstack_X_push_back(), cstack_X_emplace_back(), cstack_X_pop_back().Tyge Løvset
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 i...Tyge Løvset
2022-08-15Improved docs/ex. Fix range bug when container is empty cvec/cdeq.Tyge Lovset
2022-08-13Experimental: Renamed c_autovar => c_with, c_autoscope => c_scope, c_autodefe...Tyge Løvset
2022-08-12cstr V4: Changed cstr functions to take pointers to self, not values. This is...Tyge Løvset
2022-08-12More misc changes carc/cbox, cdeq/cvec.Tyge Lovset
2022-08-11find_if, find_in changed.Tyge Lovset
2022-08-11Added cmp, eq, hash to carc/cbox.Tyge Lovset
2022-08-11Fixed issue with cbox / carc. Minor update some examples.Tyge Løvset
2022-08-10Fixed cdeq_begin(). Optimized c_foreach: only use one iter.Tyge Løvset
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
2022-08-08Changed *cstr_tolower*/*cstr_toupper* arg from `const cstr*` to `csview`.Tyge Løvset
2022-08-08Reverted a minor change in template.hTyge Løvset
2022-08-07Refined template.h when specifying i_key_bind (and i_val_bind): i_keyclone b...Tyge Løvset
2022-08-06c_apply() deprecated: replaced with c_forarray() macro. Updated and improved ...Tyge Løvset
2022-08-05Reduce usage of c_apply() macro.Tyge Løvset
2022-08-02Removed mflags parameter in cregex_is_match(input, re).Tyge Løvset
2022-08-02Improved the cregex_iter type and c_foreach_match() macro.Tyge Løvset
2022-08-02Changed c_foreach_match (m, re, input) to take pointer: cregex* re.Tyge Løvset
2022-08-01fixed up last commitTyge Løvset
2022-08-01start dev on v4, mainly improving APITyge Løvset
2022-07-31VERSION 3.9: API change in c_forrange() with >= 3 args. csview updates.Tyge Løvset
2022-07-31csview: csview_token(sv, sep, &start): now start > sv.size on last token. Rem...Tyge Løvset
2022-07-28VERSION 3.8 RC. Added cregex with "final" API + docs. README.md updated with ...Tyge Løvset
2022-07-28Added back coption.h and coption_api.md docs.Tyge Løvset
2022-07-27VERSION 3.8 BETA: Some changes in cstr / csview APIs: replace* / find*, *_u8(...Tyge Løvset