summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2022-08-08Improved carc example in docs.Tyge Løvset
2022-08-08Reverted `{{` to `{ {` in documentation as markdown treats it special.Tyge Løvset
2022-08-08Merge pull request #32 from tylov/v4_devTyge Løvset
V4.0 BETA
2022-08-08Prepared v4.0 BETA.Tyge Løvset
2022-08-07Refined template.h when specifying i_key_bind (and i_val_bind): i_keyclone ↵Tyge Løvset
becomes defined `c_derived_keyclone` when i_keyfrom is defined, i.e. you don't have to define both, but you can. Improved cmap docs.
2022-08-07Internal: moved some functions in csview/cstr to implementation sections.Tyge Løvset
2022-08-06c_apply() deprecated: replaced with c_forarray() macro. Updated and improved ↵Tyge Løvset
README.md docs.
2022-08-05Removed c_apply() in README.mdTyge 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-02Updated cregex docs.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-31Changed cmap struct internal rep. so that load-factor is first: useful for ↵Tyge Løvset
global initialization of maps. This changes ABI, but so far STC has no stable ABI guarantees.
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. ↵Tyge Løvset
Removed usage of c_ARGsv() macro in examples => printf formatting ".*s". csview fully inlined.
2022-07-30Added support for more than 9 capture group replacements, e.g. "$12;". Added ↵Tyge Løvset
an inline function cregex_find_sv().
2022-07-28Some minor cregex documentation fixes.Tyge Løvset
2022-07-28VERSION 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-28Added back coption.h and coption_api.md docs.Tyge Løvset
2022-07-28Simplified cbits.h to only use inline function. Commonly used functions are ↵Tyge Løvset
small.
2022-07-27VERSION 3.8 BETA: Some changes in cstr / csview APIs: replace* / find*, ↵Tyge Løvset
*_u8(). . See README.md
2022-07-23Fixed a few small issues with cregex.c Reverted cregex_match() to ↵Tyge Løvset
cregex_find(). Renamed cre_* flags.
2022-07-22Switched from "\\" as replacement group prefix to '$'. cregex_replace() ↵Tyge Løvset
changed: removed the last two args.
2022-07-22FINAL cregex update for now: optimize/change callback mfun API. Also, ↵Tyge Løvset
cstr_printf() cannot take self as print argument.
2022-07-22Last minor API changes for cregex. Added descriptions in header. Updated RE ↵Tyge Løvset
examples.
2022-07-22Changed / improved cregex API again (as promised). Possible final API.Tyge Lovset
2022-07-21cregex 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-21Moved cregex_replace*() implementation to src/cregex.cTyge Løvset
2022-07-21Extended regex_replace.c examples.Tyge Lovset
2022-07-20Cleanups, and renamed cregex_replace_fn() => cregex_replace_ex().Tyge Lovset
2022-07-20Added 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-17Tuned benchmark shootout_hashmaps.cpp and updated two external c++ hash ↵Tyge Løvset
tables to newest. Updated benchmarks/build_all.sh
2022-07-15Added shootout_hashmaps.cpp to build_all.sh and fixed warnings.Tyge Løvset
2022-07-15cmap: 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-11Fixed documentation changes for size, capacity, empty. Minor changes in some ↵Tyge Lovset
ex. and map shootout.
2022-07-07Merge pull request #29 from ktprime/patch-1Tyge Løvset
add emhash to benchmark
2022-07-07Added emhash by ktprime to external benchmarks. Very fast iteration and lookups.Tyge Løvset
2022-07-07Added missing file: unordered_dense.h. Added -Wall -pedantic to benchmarks ↵Tyge Løvset
and fixed warnings. Thanks to ktprime for reporting.
2022-07-07add emhash to benchmarkhyb
2022-07-06Version 3.7. Make sure to check NEWS/Changes in README.md for a few ↵Tyge Løvset
code-breaking API changes.
2022-06-27Fixed 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-21Renamed expand_uninit() functions to insert_uninit() / append_uninit().Tyge Løvset
2022-06-21Renamed 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-20Small addition and warning removed in cregex.c. Else refactoring/cleanup.Tyge Løvset
2022-06-17Various refactoring. Renamed c_apply_arr() => c_apply_array()Tyge Løvset
2022-06-15Update carc_api.mdTyge Løvset
2022-06-12Renamed cregex_find89 => cregex_match()Tyge Løvset