| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-06-08 | Fixed case mappings (final). | Tyge Løvset | |
| 2022-06-08 | Fixed utf8 tables again. Separate casefold, toupper, tolower functions. | Tyge Løvset | |
| 2022-06-07 | Added back ASCII char classes, like [[:alpha:]]. | Tyge Løvset | |
| 2022-06-07 | Some improvements in utf8tabs.py | Tyge Løvset | |
| 2022-06-07 | Update/Fix utf8tabs.py/utf8tabs.inc. | Tyge Løvset | |
| 2022-06-07 | Bugfixed / Updated utf8tabs.* and utf8code.c | Tyge Lovset | |
| 2022-06-03 | refactored utf8tabs.py, still has a bug though | Tyge Løvset | |
| 2022-06-02 | Improved namings in utf8tabs.py and removed unicode tables | Tyge Løvset | |
| 2022-06-02 | Update csview_api.md | Tyge Løvset | |
| 2022-06-02 | Update cstr_api.md | 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 | Put back cbox.h in main list. | Tyge Løvset | |
| 2022-06-01 | Update docs on i_implement / shared linking. | Tyge Løvset | |
| 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 | Update .gitignore using a "standard" C config. | Tyge Løvset | |
| 2022-06-01 | Converted all files with DOS line endings to LINUX. | Tyge Løvset | |
| 2022-06-01 | Forgot files from previous commit. NOTE: there may/will be some changes to ↵ | Tyge Løvset | |
| names introduced, e.g. i_extern/STC_EXTERN may change. Also, I recently changed non-templated types to default external linking, *may* revert to default static again. | |||
| 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 | Merge branch 'master' of github.com:tylov/STC | Tyge Løvset | |
| 2022-06-01 | Update docs regarding i_implement for cstr, cview, cbits, ... | Tyge Løvset | |
| 2022-06-01 | Update cbits_api.md | Tyge Løvset | |
| 2022-06-01 | Update cstr_api.md | Tyge Løvset | |
| 2022-06-01 | Removed cbox from main list - may be removed, rarely more useful than ↵ | Tyge Løvset | |
| regular pointers. carc.h is useful - but may change name (maybe csptr like earlier). Comments are welcome. | |||
| 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 | Fixed compiler errors of missing updates. | Tyge Løvset | |
| 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 | added gitignore | Tyge Løvset | |
| 2022-05-30 | Updated benchmarks and renamed utf8utils.c to utf8code.c | Tyge Løvset | |
| 2022-05-30 | Renamed utf8utils.c => 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(). | |||
| 2022-05-30 | Large refactoring on strings / utf8 and some file structure. | Tyge Lovset | |
| 2022-05-30 | Added more utf8 features. Changed linking macros in ccommon.h. | Tyge Lovset | |
| 2022-05-29 | Internal: Changed using i_keyraw to using _cx_raw or _cx_rawkey typedefs: ↵ | Tyge Lovset | |
| avoids problem when i_keyraw is pointer. | |||
| 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-27 | Some changes in utf8.h | Tyge Løvset | |
| 2022-05-27 | Small optimizes in utf8.h | Tyge Løvset | |
| 2022-05-25 | Fixed #25: "behaviour of cstr_clear is suprising": Resets size to 0, while ↵ | Tyge Løvset | |
| keeping current allocation. | |||
| 2022-05-25 | Final reorg of cbits.h. This was really an experiment to make it dual ↵ | Tyge Løvset | |
| fixed-sized and dynamic. | |||
| 2022-05-24 | API change: cbits now uses container pointers args in all member functions, ↵ | Tyge Løvset | |
| except clone() ... for now. All containers may get same treatment! which will be a rather big API change. This was needed after testing fixed size cbits performance with pass-by-value: was very slow for large bitsets: now faster than std::bitset<>. Also reverted previous cbits_set_value(): much faster because it is branchless. | |||
| 2022-05-24 | Changed c_forpair(k, v, Map, map) so that k and v are pointers instead of ↵ | Tyge Løvset | |
| values. This to make it consistent with c_foreach, c_apply, c_apply_arr. | |||
| 2022-05-24 | Reverted back to some older code | Tyge Løvset | |
| 2022-05-23 | Bugfix: cstr_find_s() returned bool. Fix return size_t. | Tyge Løvset | |
| 2022-05-23 | Renamed cstr_find_n(self, search, pos, nmax) => cstr_find_from(self, pos, ↵ | Tyge Løvset | |
| search), and cstr_replace_first(self, search, repl) => cstr_replace_first(self, pos, search, repl). // returns pos after replaced str. | |||
