| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-05-29 | Renamed cstr_replace_first() => cstr_replace_one(). | Tyge Lovset | |
| cstr.h now #include "utf8.h". Added iterator (utf8) to cstr and other utf8 functions postfixed by _u8(). Also renamed some utf8 functions in csview to better names. | |||
| 2022-05-20 | Removed cstr_from_replace_all_sv(), Added cstr_replace_first(). Renamed ↵ | Tyge Løvset | |
| argument names. | |||
| 2022-05-13 | Changed csview c_PRIsv macro. Now must be prefixed with "%", to match with ↵ | Tyge Løvset | |
| PRIxYYY macros from inttypes.h. E.g. printf("%40" c_PRIsv "\n", c_ARGsv(sv)); to specify 40 character right aligned output of sv. Check your usage. | |||
| 2022-05-13 | Added cstr_assign_s(), and changed return type to char* for cstr_assign*() ↵ | Tyge Løvset | |
| and cstr_append*(), i.e. the pointer to the (possible new) string buffer. | |||
| 2022-04-25 | Removed size argument to `i_hash` template parameter and `c_default_hash`. ↵ | Tyge Løvset | |
| This was a "design error", and is not worth keeping for backward compability. Please update your code where you use i_hash template parameter (simply remove second argument). | |||
| 2022-04-24 | Updated docs to use cstr_str(&s) instead of s.str | Tyge Løvset | |
| 2022-04-24 | Created VERSION 3.5. See News section in docs for changes. | Tyge Løvset | |
| 2022-03-26 | Yet another missing line. | Tyge Løvset | |
| 2022-03-26 | Final fix of csview docs. | Tyge Løvset | |
| 2022-03-26 | Updated csview API docs. | Tyge Løvset | |
| 2022-01-30 | Replaced utf8_decode() and friends code. | Tyge Løvset | |
| 2022-01-14 | Final utf8 api, and docs. | Tyge Løvset | |
| 2022-01-14 | Renamed *_v() methods to *_sv(). Note: this breaks API, hopefully not too ↵ | Tyge Løvset | |
| intrusive. The change was needed to be consistent in using 'sv' as a shorthand for "string view" everywhere, and is easier to understand than _v(). | |||
| 2022-01-09 | Removed strings.h. | Tyge Løvset | |
| 2022-01-08 | Moved utf8 from cregex.h to separate file. Splitted csview.h into another ↵ | Tyge Løvset | |
| file strings.h. | |||
| 2021-12-29 | Fixed and simplified csview tokensizer call. | Tyge Løvset | |
| 2021-12-19 | Global rename of `_equ\b` => `_eq`. In practice `i_equ` must renamed to ↵ | Tyge Løvset | |
| `i_eq` in user code if used. | |||
| 2021-12-19 | First commit for Version 3 of STC. Main changes are consistent rename of ↵ | Tyge Løvset | |
| '_del' to '_drop' and '_compare' to '_cmp'. Also i_key_ref (earlier i_key_sptr) and i_val_ref replaced by more general i_key_bind/i_val_bind. | |||
| 2021-12-14 | Added and renamed some examples. | Tyge Løvset | |
| 2021-12-13 | Renamed constructor *cstr_lit()* to `cstr_new(lit)`. | Tyge Løvset | |
| Renamed *cstr_assign_fmt()* to `cstr_printf()`. Renamed cbits_from_str() to cbits_from(). | |||
| 2021-10-30 | Fixed docs alignments. | Tyge Løvset | |
| 2021-10-29 | Swapped .._equals() and _equalto() functions for consistency | Tyge Løvset | |
| 2021-10-29 | Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, ↵ | Tyge Løvset | |
| cdeq, cmap, csmap, cslist | |||
| 2021-09-20 | Renamed macros: breaking changes for Version 2.0! | Tyge Lovset | |
| c_forvar => c_autovar c_forscope => c_autoscope c_forauto => c_auto Removed: c_fordefer(x); use c_forscope(0, x) instead. Added: c_exitauto; // continue | |||
| 2021-09-11 | Fixed docs for newstyle. | Tyge Løvset | |
| 2021-08-28 | Breaking 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-25 | BREAKING CHANGE: c_forvar_initdel() macro renamed to c_forauto(). | tylo | |
| Updated doc and improved csmap_erase.c example. | |||
| 2021-06-18 | Simplified and removed unneeded stuff from csview.h | Tyge Løvset | |
| 2021-06-15 | Fixed 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-11 | Improve 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-10 | Renamed cstr/csview begin_with() to starts_with() : following c++ std namings. | Tyge Løvset | |
| 2021-06-05 | Renamed predefined using_cmap_sv*() using_csmap_sv*() macros to ↵ | Tyge Løvset | |
| using_cmap_strv*(), ... | |||
| 2021-05-28 | Merge branch 'master' of https://github.com/tylov/STC | Tyge Løvset | |
| 2021-05-28 | Changed the csview front() and back() API. Added csview_npos constant. | Tyge Løvset | |
| 2021-05-27 | Update csview_api.md examples. | Tyge Løvset | |
| 2021-05-27 | Made substr() and slice() only returning csview. Added Both cstr and csview ↵ | Tyge Løvset | |
| input argument variants. Changed def of cstr_npos. | |||
| 2021-05-26 | Removed cstr_trim, csview_trim, Changed cstr_substr to mutable. Allow ↵ | Tyge Løvset | |
| negative pos on cstr_substr, csview_substr. Added cstr_slice, csview_slice. | |||
| 2021-05-25 | Replaced csview cstr_trimmed(cstr s, left, right) with: cstr* ↵ | Tyge Løvset | |
| cstr_trim(cstr* self, left, right); | |||
| 2021-05-24 | Added splitstr.c example. Renamed macro csview_ARG() to csview_arg(): ↵ | Tyge Løvset | |
| special for printing csviews with "%.*s" format. | |||
| 2021-05-24 | Split c_fordefer() into c_forvar() and c_fordefer() macros. | Tyge Løvset | |
| 2021-05-24 | Renamed c_with => c_fordefer, and removed c_withvar. Macros were too ↵ | Tyge Løvset | |
| deceiving and hid the fact that it was for-loops. Now it is more explicit. | |||
| 2021-05-23 | Added csmap_find.c example. | Tyge Løvset | |
| 2021-05-21 | Added substr() and cleanup of trimmed() API. | Tyge Løvset | |
| 2021-05-21 | Update csview_api.md | Tyge Løvset | |
| 2021-05-21 | Update csview_api.md | Tyge Løvset | |
| 2021-05-21 | Updated string split / tokenizer example in csview docs. | Tyge Løvset | |
| 2021-05-20 | Merge branch 'master' of https://github.com/tylo-work/C99Containers into master | Tyge Løvset | |
| 2021-05-20 | Updated links to header files in docs. | Tyge Løvset | |
| 2021-05-20 | Updated csview tokenizer docs. | Tyge Løvset | |
| 2021-05-20 | Added csview tokenizer (split string). | Tyge Løvset | |
