| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-07-31 | VERSION 3.9: API change in c_forrange() with >= 3 args. csview updates. | Tyge Løvset | |
| 2022-07-31 | csview: csview_token(sv, sep, &start): now start > sv.size on last token. ↵ | Tyge Løvset | |
| Removed usage of c_ARGsv() macro in examples => printf formatting ".*s". csview fully inlined. | |||
| 2022-07-30 | Added support for more than 9 capture group replacements, e.g. "$12;". Added ↵ | Tyge Løvset | |
| an inline function cregex_find_sv(). | |||
| 2022-07-28 | VERSION 3.8 RC. Added cregex with "final" API + docs. README.md updated with ↵ | Tyge Løvset | |
| links to cregex, coption. crandom.h: fixed "stc64_with_seq doesn't use seq argument #31" thanks to funny-falcon. Removed deprecated funcs. Added tags for v3.6 and v3.7. | |||
| 2022-07-28 | Added back coption.h and coption_api.md docs. | Tyge Løvset | |
| 2022-07-28 | Simplified cbits.h to only use inline function. Commonly used functions are ↵ | Tyge Løvset | |
| small. | |||
| 2022-07-27 | VERSION 3.8 BETA: Some changes in cstr / csview APIs: replace* / find*, ↵ | Tyge Løvset | |
| *_u8(). . See README.md | |||
| 2022-07-23 | Fixed a few small issues with cregex.c Reverted cregex_match() to ↵ | Tyge Løvset | |
| cregex_find(). Renamed cre_* flags. | |||
| 2022-07-22 | Switched from "\\" as replacement group prefix to '$'. cregex_replace() ↵ | Tyge Løvset | |
| changed: removed the last two args. | |||
| 2022-07-22 | FINAL cregex update for now: optimize/change callback mfun API. Also, ↵ | Tyge Løvset | |
| cstr_printf() cannot take self as print argument. | |||
| 2022-07-22 | Last minor API changes for cregex. Added descriptions in header. Updated RE ↵ | Tyge Løvset | |
| examples. | |||
| 2022-07-22 | Changed / improved cregex API again (as promised). Possible final API. | Tyge Lovset | |
| 2022-07-21 | cregex API change: Added cregex_match_ex() and cregex_match() with string ↵ | Tyge Løvset | |
| pattern input instead of a cregex*, similar to cregex_replace*(). | |||
| 2022-07-21 | Extended regex_replace.c examples. | Tyge Lovset | |
| 2022-07-20 | Cleanups, and renamed cregex_replace_fn() => cregex_replace_ex(). | Tyge Lovset | |
| 2022-07-20 | Added cregex_replace*() [implemented in utf8code.c]. Added ↵ | Tyge Lovset | |
| examples/regex_replace.c. Docs not ready, i.e. API not fixed. Some other refactoring and minor fixes/improvements. cstr_assign_sv() now returns char* like the other cstr_assign*(). | |||
| 2022-07-15 | cmap: No longer uses c_umul128. If `i_size` is defined by user, table is ↵ | Tyge Lovset | |
| power of 2 length and bit-masking used for mapping hash to index. | |||
| 2022-07-11 | Fixed documentation changes for size, capacity, empty. Minor changes in some ↵ | Tyge Lovset | |
| ex. and map shootout. | |||
| 2022-07-06 | Version 3.7. Make sure to check NEWS/Changes in README.md for a few ↵ | Tyge Løvset | |
| code-breaking API changes. | |||
| 2022-06-27 | Fixed bug in csmap.h: begin() on empty map not inited correctly. Moved ↵ | Tyge Løvset | |
| cstr_from_sv() from csview.h to cstr.h | |||
| 2022-06-21 | Renamed expand_uninit() functions to insert_uninit() / append_uninit(). | Tyge Løvset | |
| 2022-06-21 | Renamed cstr_rename_n() => cstr_rename_with_n() as it could be confused to ↵ | Tyge Løvset | |
| replace n instances instead of n bytes. | |||
| 2022-06-20 | Small addition and warning removed in cregex.c. Else refactoring/cleanup. | Tyge Løvset | |
| 2022-06-17 | Various refactoring. Renamed c_apply_arr() => c_apply_array() | Tyge Løvset | |
| 2022-06-12 | Renamed cregex_find89 => cregex_match() | Tyge Løvset | |
| 2022-06-11 | Improving cregex, and minors, e.g. cstr_foldcase=>cstr_casefold. | Tyge Lovset | |
| 2022-06-10 | Revert last. | Tyge Løvset | |
| 2022-06-10 | Small simplifications in cmap.h | Tyge Løvset | |
| 2022-06-10 | removed cstr_length() and csview_length() -> use .._size(). | Tyge Løvset | |
| 2022-06-10 | Changed a few cstr utf8 function names. | Tyge Løvset | |
| 2022-06-10 | utf8 fixes and improvements. Some api changes. | Tyge Løvset | |
| 2022-06-10 | Some changes to utf8 cstr methods. | Tyge Løvset | |
| 2022-06-09 | Added utf8_peek() | Tyge Løvset | |
| 2022-06-08 | Added cstr case folding methods. | Tyge Løvset | |
| 2022-06-08 | Fixed utf8 tables again. Separate casefold, toupper, tolower functions. | Tyge Løvset | |
| 2022-06-02 | updated cstr and csview docs | Tyge Lovset | |
| 2022-06-01 | Change: Split replace into two: cstr_replace(s, search, repl), ↵ | Tyge Løvset | |
| cstr_replace_from(s, pos, search, repl): matches cstr_find() + cstr_find_from(). | |||
| 2022-06-01 | Renamed cstr_replace() => cstr_replace_at(), and cstr_replace_one() => ↵ | Tyge Løvset | |
| cstr_replace(self, start, search, replace). | |||
| 2022-06-01 | Reverted to default static linkage of non-templated symbols (cstr, csview, ↵ | Tyge Løvset | |
| ..), as it gives smaller executables and is convenient for small applications. (no need to define i_implement when functions is used in one translaton unit only). | |||
| 2022-06-01 | Converted all files with DOS line endings to LINUX. | Tyge Løvset | |
| 2022-06-01 | Added src/libstc.c which implements all non-templated functions (e.g. from ↵ | Tyge Løvset | |
| cstr, csview, cbits, crandom), but also clist.h mergesort. - Linking with this object file eliminates the need to define i_implement in one file for these types (or i_extern for non-templated functions in templated container, currently only clist.h) | |||
| 2022-06-01 | Added some docs on utf8. API may change for cstr: to take const cstr* args ↵ | Tyge Løvset | |
| instead of cstr values. | |||
| 2022-05-31 | Added simple utf8 case insensitive wrappers: cstr_iequals(), ↵ | Tyge Løvset | |
| cstr_istarts_with(), and cstr_iends_with(). | |||
| 2022-05-31 | 1) REMOVED files/modules not relevant: makes lib more focused: | Tyge Løvset | |
| - threads.h/threads.c (external lib) - coptions.h - will be kept as a gist. - more will follow, (examples, some benchmarks, etc). 2) Replaced UTF8 decoder with Björn Höhrmann's DFA decoder. | |||
| 2022-05-31 | cleanup of icmp impl. | Tyge Lovset | |
| 2022-05-31 | Generalized utf8_icmp_n() and added cstr_icmp(), csview_icmp(). | Tyge Lovset | |
| 2022-05-30 | Added utf8_icmp_n() case insensitive comparison. | Tyge Lovset | |
| 2022-05-30 | Updated cstr utf8 docs. | Tyge Løvset | |
| 2022-05-30 | Updated benchmarks and renamed utf8utils.c to utf8code.c | Tyge Løvset | |
| 2022-05-30 | Done refactoring: | Tyge Løvset | |
| - Non-templated types (cstr, csview, cbits, crandom) have no longer default static linking. Now i_header is defined, i.e. files are as headers only. ==> Define `i_implement` before file inclusion. Still possible to do static linkage by defining `i_static` before inclusion or global STC_STATIC. - Templated containers still have static linkage by default. - Renamed csview_substr(), csview_slice() to csview_substr_ex(), csview_slice_ex(). Added simpler inlined csview_substr(), csview_slice(). | |||
